/* Site-wide styles for the Excelsior Classical Christian Community site.
   Single source of truth: index.html, about.html, board.html and resources.html all link this file. */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --ink: #575757;
    --ink-mid: #6E6E6E;
    --parchment: #F6F1E8;
    --parchment-dark: #EAE0CB;
    --gold: #B8893A;
    --gold-light: #D4A85C;
    --slate: #3E4C5E;
    --body-text: #2A3444;
    --white: #FFFFFF;

    --font-display: 'EB Garamond', serif;
    --font-ui: 'Inter', sans-serif;

    --nav-height: 68px;
    --content-width: 1120px;
    --reading-width: 860px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    color: var(--body-text);
    background: var(--parchment);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

/* Keeps hash-linked targets clear of the fixed navigation bar. */
[id] {
    scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(87, 87, 87, 0.97);
    border-bottom: 1px solid rgba(184, 137, 58, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    height: var(--nav-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.nav-logo-mark {
    width: auto;
    height: 38px;
}

.nav-wordmark {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.nav-wordmark small {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.18s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-apply {
    background: var(--gold);
    color: var(--ink);
    padding: 0.48rem 1.2rem;
    border-radius: 2px;
    font-weight: 500;
}

.nav-apply:hover,
.nav-apply.active {
    background: var(--gold-light);
    color: var(--ink);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    align-items: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-outline {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.btn-primary {
    font-weight: 500;
    background: var(--gold);
    color: var(--ink);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline {
    font-weight: 400;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* Outline button on a light background. */
.btn-outline-dark {
    color: var(--ink);
    border-color: var(--parchment-dark);
}

.btn-outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section {
    padding: 5.5rem 3rem;
}

.section-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.section-light {
    background: var(--white);
}

.section-parchment {
    background: var(--parchment);
}

.section-dark {
    background: var(--ink);
}

.eyebrow {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.55rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
}

.rule {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 1.1rem 0;
}

.section-text {
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--slate);
}

.section-text + .section-text {
    margin-top: 1.2rem;
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-text {
    color: rgba(255, 255, 255, 0.5);
}

/* Constrains a lead paragraph to a comfortable measure. */
.lead {
    max-width: 680px;
}

.stack-top {
    margin-top: 2rem;
}

/* Caps body copy to a comfortable reading measure when a photo below runs full width. */
.copy-measure {
    max-width: var(--reading-width);
}

/* Full-width photo sitting below a copy block, rather than squeezed into a side column. */
.photo-banner {
    margin-top: 3rem;
}

/* Row of side-by-side calls to action. */
.btn-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Wider right-hand column, used for the contact form. */
.grid-2-offset {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 5rem;
    align-items: start;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.v {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   IMAGE PLACEHOLDERS
   Drop an <img> inside a .ph to replace the placeholder label.
   ============================================================ */
.ph {
    position: relative;
    background: var(--ink-mid);
    border: 1px solid rgba(184, 137, 58, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ph::after {
    content: attr(data-label);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(212, 168, 92, 0.6);
    text-align: center;
    padding: 1rem;
}

.ph:has(img)::after {
    content: none;
}

.ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ph-wide {
    aspect-ratio: 16 / 9;
}

.ph-square {
    aspect-ratio: 1 / 1;
}

.ph-portrait {
    aspect-ratio: 3 / 4;
}

.photo-caption {
    background: var(--parchment);
    border-left: 3px solid var(--gold);
    padding: 1.1rem 1.3rem;
    margin-top: 1rem;
}

.photo-caption p {
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--slate);
}

/* A standalone photo shown at its own natural aspect ratio: no frame, no background, no letterbox. */
.photo-natural {
    display: block;
    width: 100%;
    height: auto;
}

/* Stacks multiple standalone photos (not a slideshow) with breathing room between them. */
.photo-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ============================================================
   SLIDESHOW
   Drop N .slideshow-slide elements (each wrapping one <img>) inside
   .slideshow-slides. main.js cross-fades between them, builds the
   dots, and wires the arrow buttons. Images are never cropped:
   object-fit: contain letterboxes on the .ph-style background.
   ============================================================ */
.slideshow {
    position: relative;
    background: var(--ink-mid);
    border: 1px solid rgba(184, 137, 58, 0.28);
    overflow: hidden;
}

.slideshow-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.slideshow-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(87, 87, 87, 0.55);
    border: 1px solid rgba(184, 137, 58, 0.4);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.slideshow-arrow:hover {
    background: rgba(184, 137, 58, 0.85);
}

.slideshow-arrow-prev {
    left: 0.75rem;
}

.slideshow-arrow-next {
    right: 0.75rem;
}

.slideshow-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
}

.slideshow-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.slideshow-dot.is-active {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* ============================================================
   PULL QUOTES
   ============================================================ */
.pull-quote {
    font-family: var(--fd);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.5;
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin: 1.8rem 0;
}
.pull-quote-lg {
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 720px;
}

/* ============================================================
   HERO (index)
   ============================================================ */
.hero {
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 5rem;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(184, 137, 58, 0.7);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    max-width: 820px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.6rem auto;
    opacity: 0.6;
}

.hero-sub {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.52);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 2.6rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    border-top: 1px solid rgba(184, 137, 58, 0.18);
    padding-top: 2rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.28rem;
}

/* ============================================================
   PAGE HEADER (about, board, resources)
   ============================================================ */
.page-header {
    background: var(--ink);
    padding: 9rem 3rem 5rem;
    text-align: center;
}

.page-header .eyebrow {
    font-weight: 400;
    letter-spacing: 0.22em;
    color: rgba(184, 137, 58, 0.7);
    margin-bottom: 1.2rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
}

.page-header p {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.48);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.header-rule {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 1.4rem auto;
    opacity: 0.6;
}

/* ============================================================
   MISSION GOALS & STATEMENT OF FAITH (about)
   ============================================================ */
.goal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.goal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--slate);
}

.goal-list li::before {
    content: '–';
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.faith-box {
    background: var(--parchment);
    border: 1px solid var(--parchment-dark);
    border-left: 3px solid var(--gold);
    padding: 1.5rem 1.6rem;
    margin-top: 1.2rem;
}

.faith-box p {
    font-size: 0.98rem;
    line-height: 1.85;
    color: var(--slate);
}

/* ============================================================
   TRIVIUM STAGES (index)
   ============================================================ */
.stage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 3rem;
    background: rgba(184, 137, 58, 0.15);
}

.stage-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.4rem;
    transition: background 0.25s;
}

.stage-card:hover {
    background: rgba(255, 255, 255, 0.065);
}

.stage-grades {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(184, 137, 58, 0.65);
    margin-bottom: 0.4rem;
}

.stage-latin {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-light);
}

.stage-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(184, 137, 58, 0.18);
    padding-bottom: 0.85rem;
}

.stage-body {
    font-size: 0.97rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.52);
}

/* ============================================================
   BOARD MEMBERS (board)
   ============================================================ */
.board-hero {
    max-width: var(--content-width);
    margin: 0 auto;
}

.member {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 3rem 0;
    border-top: 1px solid var(--parchment-dark);
}

.member:first-of-type {
    border-top: none;
    padding-top: 0;
}

.member-photo {
    flex: 0 0 300px;
}

.member-body {
    flex: 1;
}

.member:nth-of-type(even) .member-photo {
    order: 2;
}

.member-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
}

.member-role {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.3rem;
}

.member-words {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.75;
    border-left: 3px solid var(--gold);
    padding-left: 1.4rem;
    margin: 1.4rem 0;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate);
}

/* Marks copy the co-op still needs to supply. Remove the class once real text lands. */
.placeholder-note {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--parchment);
    border: 1px dashed var(--gold);
    padding: 0.3rem 0.6rem;
    display: block;
    width: max-content;
    max-width: 100%;
    margin-bottom: 0.9rem;
}

/* ============================================================
   ADMISSIONS & CONTACT (index)
   ============================================================ */
.price-card {
    background: var(--white);
    border: 1px solid var(--parchment-dark);
    border-top: 3px solid var(--gold);
    padding: 2.25rem;
    margin-top: 1.5rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}

.price-amount sup {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--slate);
    vertical-align: super;
}

.price-period {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0.2rem 0 1.4rem;
}

.price-note {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate);
}

.price-note + .price-note {
    margin-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.info-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--parchment-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.info-text {
    font-family: var(--font-display);
    font-size: 0.97rem;
    color: var(--ink);
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 2rem;
}

.contact-form label {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate);
    display: block;
    margin-bottom: 0.32rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: var(--font-display);
    font-size: 0.97rem;
    color: var(--body-text);
    background: var(--parchment);
    border: 1px solid var(--parchment-dark);
    padding: 0.7rem 0.95rem;
    width: 100%;
    outline: none;
    border-radius: 0;
    transition: border-color 0.18s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    resize: vertical;
    min-height: 105px;
}

.contact-form button {
    align-self: flex-start;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

/* ============================================================
   RESOURCE LINKS (resources)
   ============================================================ */
.content {
    max-width: var(--reading-width);
    margin: 0 auto;
    padding: 5rem 3rem 6rem;
}

.resource-section {
    margin-bottom: 4rem;
}

.resource-section:last-child {
    margin-bottom: 0;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--parchment-dark);
    border: 1px solid var(--parchment-dark);
}

.link-card {
    background: var(--white);
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    text-decoration: none;
    transition: background 0.18s;
}

.link-card:hover {
    background: var(--parchment);
}

.link-card:hover .link-arrow {
    transform: translateX(3px);
}

.link-icon {
    width: 40px;
    height: 40px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.link-body {
    flex: 1;
}

.link-name {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.link-url {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.link-desc {
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-style: italic;
    color: var(--slate);
    line-height: 1.65;
}

.link-arrow {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: transform 0.18s;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    padding: 4rem 3rem 2.25rem;
}

.footer-in {
    max-width: var(--content-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.75rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.footer-sub {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.footer-desc {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.32);
}

.footer-col-t {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-family: var(--font-display);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    transition: color 0.18s;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-div {
    border: none;
    border-top: 1px solid rgba(184, 137, 58, 0.13);
    margin-bottom: 1.75rem;
}

.footer-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.2);
}

.footer-est {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {

    .grid-2,
    .grid-2-offset,
    .stage-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nav {
        padding: 0 1.5rem;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(87, 87, 87, 0.98);
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(184, 137, 58, 0.2);
        z-index: 199;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .page-header {
        padding: 7rem 1.5rem 3.5rem;
    }

    .content {
        padding: 3.5rem 1.5rem 4rem;
    }

    .member {
        flex-direction: column;
        gap: 1.75rem;
    }

    .member-photo {
        flex-basis: auto;
        width: 100%;
    }

    .member:nth-of-type(even) .member-photo {
        order: 0;
    }
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
}
