/***********/
/*@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");*/
/*@import url("Garamond/EBGaramond12-Regular.woff");*/
@import url("reset.css");
@font-face {
    font-family: "eb-garamond";
    src: url("Garamond/EBGaramond-Regular.woff2") format("woff2");
    font-weight: 400;
}
@font-face {
    font-family: "eb-garamond";
    src: url("Garamond/EBGaramond-Medium.woff2") format("woff2");
    font-weight: 500;
}
@font-face {
    font-family: "eb-garamond";
    src: url("Garamond/EBGaramond-SemiBold.woff2") format("woff2");
    font-weight: 600;
}
@font-face {
    font-family: "eb-garamond";
    src: url("Garamond/EBGaramond-Italic.woff2") format("woff2");
    font-style: italic;
}
@import url("reset.css");

html {
    font-size: 16pt;
}
body {
    hyphens: auto;
    text-align: justify;
    font-family: "eb-garamond", "Garamond", serif;
    font-optical-sizing: auto;
    /*font-weight: <weight>;*/
    font-style: normal;
    line-height: 1.5;
    background-color: oklch(0.9644 0.0013 286.38);
}

#topbanner {
    text-align: center;
    border-bottom: 1px solid black;
    line-height: 2;
}
.highlighted {
    font-size: 1.25rem;
}

#container {
    width: 90%;
    max-width: 66ch;
    margin: 0 auto 1em auto;
}

/*
#container .hero {
    width: 100%;
    height: auto;
    display: block;
}*/

#container .hero {
    width: 100%;
    margin-top: 1em;
    height: auto;
    display: block;
    /*box-shadow:
        -25vw 0 0 0 black,
        25vw 0 0 0 black;*/
    /*box-shadow: 0px 0px 10px 00px #000000;*/
    position: relative;
    /*image-rendering: pixelated;*/
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        width: 100%; /* Full width on mobile */
        padding: 15px;
    }
}

h1,
h2,
h3,
h4 {
    text-align: left;
}
h1 {
    font-size: 2.5rem;
    margin-top: 1em;
    line-height: 1;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.5rem;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 600;
}

h3 {
    font-size: 1rem;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    font-style: italic;
}

p {
    font-variant-numeric: oldstyle-nums;
}
p + p {
    text-indent: 4ch;
}

a {
    color: oklch(0.2 0.8 180);
    /*text-decoration-style: dashed;*/
}

.epigraph p::first-letter {
    float: left;
    font-style: normal;
    font-size: 6rem;
    line-height: 0.65;
    margin: 0.1em 0.1em 0.1em 0;
}
.epigraph {
    font-style: italic;
    font-size: 0.86rem;
    margin-top: 2em;
}

/*
#main-signup {
    display: grid;
    grid-template: 1fr 40ch 30ch 1fr;
}
#main-signup input {
    display: grid;
    grid-template-columns: 1fr 40ch 30ch 1fr;
}*/
#main-signup::before {
    content: "❧";
    font-size: 1.5em;
    margin-right: 1ch;
}
#main-signup::after {
    content: "☙";
    font-size: 1.5em;
    margin-left: 1ch;
}
#main-signup {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.5;
}
#main-signup input {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    #main-signup::before,
    #main-signup::after {
        display: block;
        margin: 0;
    }
    #main-signup::after {
        margin-top: -0.25em; /* why?! */
    }
}

address {
    text-align: center;
    font-size: 0.86rem;
    font-style: italic;
    font-variant-numeric: oldstyle-nums;
    margin-top: 1em;
}

.credits {
    padding: 0;
    display: grid;
    grid-template-columns: 0.5fr max-content 1fr;
    font-size: 0.86rem;
}

.credits.masthead,
.credits.advisory {
    grid-template-columns: 0.5fr max-content 1fr;
}
.credits .role {
    font-style: italic;
}
.credits .name {
    font-weight: 500;
}

.credits li {
    list-style-type: none;
    width: 100%;
    display: grid;
    grid-template-columns: subgrid;
    grid-column-start: 1;
    grid-column-end: 4;
}

.credits .left {
    text-align: right;
    padding-right: 1ch;
    grid-column: 1;
}

.credits li::after {
    content: "·";
    grid-column: 2;
    grid-row: 1;
}

.credits .right {
    text-align: left;
    grid-column: 3;
    padding-left: 1ch;
}

/*.credits.advisory .left {
    width: 60%;
    }*/

@media (max-width: 768px) {
    .credits.masthead,
    .credits.advisory {
        grid-template-columns: 1fr max-content 1fr;
    }
}

/*
.separator::before {
    content: "❈ ❈ ❈";
    margin: 1em 0 1em 0;
    text-align: center;
    display: block;
    font-style: normal;
    font-size: 1rem;
}*/

.separator::before {
    content: "";
    display: block;
    height: 1rem;
    width: 100%;
    background-image: url("../orbital-studies-lens.svg");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
    background-position: center;
    margin: 1em 0 1em 0;
    /* Create 3 repeated instances */
    background-image:
        url("../orbital-lens-p17.svg"), url("../orbital-lens-p17.svg"),
        url("../orbital-lens-p17.svg");
    background-position:
        calc(50% - 1.25rem) center,
        center center,
        calc(50% + 1.25rem) center;
}

#footer {
    font-size: 0.75rem;
    text-align: center;
}

/* Non home-page styles */
.quote-container {
    margin: 2em 0em 2em 0em;
}
blockquote {
    font-style: italic;
}
.quote-source {
    margin-top: 1em;
}

.inline-icon {
    /* Make it inline with text */
    display: inline-block;

    /* Align with text baseline */
    vertical-align: baseline;
    /* Or use: vertical-align: middle; for centered alignment */

    /* Size relative to font */
    width: 1em;
    height: 1em;

    /* Inherit text color */
    fill: currentColor;

    /* Optional: adjust positioning */
    position: relative;
    top: 0.125em; /* Fine-tune vertical position */
}

/* If there's a hero we don't need as much margin */

#pattern-signup {
    max-width: 500px;
    margin: 2em 0;
}

#pattern-signup .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.25em;
}

#pattern-signup label {
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

#pattern-signup input[type="email"],
#pattern-signup input[type="text"],
#pattern-signup input:not([type="checkbox"]):not([type="submit"]) {
    flex: 1;
    padding: 0.25em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#pattern-signup .checkbox-row {
    margin: 1.5em 0;
}

#pattern-signup input[type="checkbox"] {
    margin-right: 0.5em;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#pattern-signup .checkbox-label {
    width: auto;
    cursor: pointer;
    font-weight: normal;
}

#pattern-signup .submit-row {
    margin-top: 1.5em;
}

/*#pattern-signup .bd-submit {
    padding: 0.75em 2em;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}*/

#pattern-signup .bd-submit:hover {
    background-color: #555;
}

.workshop h3 {
    margin-bottom: 0.5em;
}

.workshop h2 {
    margin-top: 1.5em;
}

.workshop-image {
    margin-top: 1em;
}

.center-highlight {
    margin: 1em 0 1em 0;
    text-align: center;
    font-size: 1.5rem;
    text-indent: 0ch;
}

.patterns::before {
    content: "{ Patterns:";
    font-weight: bold;
    font-size: 0.75rem;
}
.patterns {
    font-size: 0.75rem;
}
.patterns::after {
    content: "}";
    font-size: 0.75rem;
    font-weight: bold;
}
