/* ────────────────────────────────────────────
    FONTS
──────────────────────────────────────────── */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.woff2") format("woff2-variations"),
       url("../assets/fonts/Fraunces-VariableFont_SOFT,WONK,opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.woff2") format("woff2-variations"),
       url("../assets/fonts/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/Nunito-VariableFont_wght.woff2") format("woff2-variations"),
       url("../assets/fonts/Nunito-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/JetBrainsMono[wght].woff2") format("woff2-variations"),
       url("../assets/fonts/JetBrainsMono[wght].woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ────────────────────────────────────────────
    DESIGN TOKENS
──────────────────────────────────────────── */
:root {
    --cream: #f4efe3;
    --cream-soft: #ece6d6;
    --cream-warm: #e8e0cc;
    --ink: #1a211c;
    --ink-soft: #3f4a42;
    --ink-quiet: #6b756e;
    --sage: #4c9170;
    --sage-deep: #3a7058;
    --forest: #1f3a2d;
    --clay: #c97b5c;
    --mustard: #d4a574;
    --line: rgba(26, 33, 28, 0.14);
    --line-strong: rgba(26, 33, 28, 0.28);

    --serif: "Fraunces", "Times New Roman", serif;
    --sans: "Nunito", system-ui, -apple-system, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;

    --max: 1240px;
    --gutter: 56px;
    --radius: 4px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* subtle paper grain */
    background-image: radial-gradient(rgba(31, 58, 45, 0.022) 1px, transparent 1px), radial-gradient(rgba(201, 123, 92, 0.018) 1px, transparent 1px);
    background-size:
        3px 3px,
        5px 5px;
    background-position:
        0 0,
        1px 1px;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ────────────────────────────────────────────
     A11Y & FOCUS
──────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--ink);
    color: var(--cream);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--sage);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ────────────────────────────────────────────
     LAYOUT
──────────────────────────────────────────── */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section {
    padding: 140px 0;
    position: relative;
}

/* Lens motif used as a section marker */
.section-mark {
    width: 32px;
    height: 16px;
    background: var(--sage);
    border-radius: 50%;
    margin-bottom: 32px;
    transform: rotate(-8deg);
}

.section-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--sage);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

/* ────────────────────────────────────────────
     TOP UTILITY STRIP
──────────────────────────────────────────── */
.topbar {
    background: var(--forest);
    color: var(--cream);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: sticky;
    z-index: 99;
}

.topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.topbar .live,
.topbar .offline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.live .dot,
.offline .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: pulse 2.4s ease-in-out infinite;
}

.live .dot {
    background: var(--sage);
}

.live .text {
    color: var(--sage);
}

.offline .dot {
    background: var(--clay);
}

.offline .text {
    color: var(--clay);
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.topbar a {
    color: var(--cream);
}
.topbar a:hover {
    color: var(--clay);
}

/* ────────────────────────────────────────────
     PRIMARY NAV
──────────────────────────────────────────── */
.primary-nav {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(244, 239, 227, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-variation-settings:
        "opsz" 36,
        "SOFT" 70;
}

.brand-mark {
    width: 32px;
    height: 32px;
    color: var(--sage);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a {
    color: var(--ink-soft);
    position: relative;
}
.nav-links a:hover {
    color: var(--ink);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

.nav-cta:hover {
    color: var(--sage-deep);
}

.nav-cta::after {
    content: "→";
    font-family: var(--sans);
    transition: transform 0.2s ease;
}

.nav-cta:hover::after {
    transform: translateX(4px);
}

.nav-cta-mobile {
    color: var(--sage);
    font-weight: 600;
    border: none;
    margin-top: 1.25rem;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}
.nav-toggle:hover {
    background: var(--cream-soft);
}

.burger {
    width: 22px;
    height: 14px;
    position: relative;
}
.burger::before,
.burger::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ink);
    transition:
        transform 0.25s ease,
        top 0.25s ease;
}
.burger::before {
    top: 2px;
}
.burger::after {
    top: 10px;
}

/* Mobile nav (Datastar) */
.mobile-nav {
    border-top: 1px solid var(--line);
    padding: 24px var(--gutter) 32px;
    background: var(--cream);
}
.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    border-bottom: 1px solid var(--line);
    font-variation-settings:
        "opsz" 36,
        "SOFT" 60;
}
.mobile-nav .nav-cta {
    margin-top: 24px;
    align-self: flex-start;
    width: fit-content;
}

/* ────────────────────────────────────────────
     HERO
──────────────────────────────────────────── */
.hero {
    padding: 120px 0 160px;
    position: relative;
    overflow: hidden;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--sage);
    display: inline-block;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(52px, 10vw, 100px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 50;
    max-width: 13ch;
    color: var(--ink);
}

.hero-headline em {
    font-style: italic;
    color: var(--sage);
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    margin-top: 80px;
    align-items: end;
}

.hero-lede {
    font-size: 20px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 42ch;
}
.hero-lede strong {
    color: var(--ink);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--sage);
    color: var(--cream);
    padding: 18px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}
.btn-primary:hover {
    background: var(--sage-deep);
    transform: translateY(-1px);
}
.btn-primary::after {
    content: "→";
    font-family: var(--sans);
    font-size: 18px;
    transition: transform 0.2s ease;
}
.btn-primary:hover::after {
    transform: translateX(4px);
}

.btn-quiet {
    font-size: 15px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 4px;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}
.btn-quiet:hover {
    color: var(--ink);
    border-color: var(--ink);
}

/* The big mark sits in the corner */
.hero-mark {
    position: absolute;
    top: 60px;
    right: -120px;
    width: 580px;
    height: 580px;
    color: var(--sage);
    opacity: 0.08;
    pointer-events: none;
}

.hero-meta {
    margin-top: 120px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-quiet);
}
.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ────────────────────────────────────────────
     PROOF / STATS BAR
──────────────────────────────────────────── */
.proof {
    background: var(--forest);
    color: var(--cream);
    padding: 100px 0;
    margin-top: 0;
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat {
    padding: 12px 36px 12px 0;
    border-left: 1px solid rgba(244, 239, 227, 0.18);
    padding-left: 36px;
}
.stat:first-child {
    border-left: none;
    padding-left: 0;
}
.stat-num {
    font-family: var(--serif);
    font-size: clamp(48px, 5.5vw, 76px);
    line-height: 1;
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 30;
    letter-spacing: -0.03em;
    color: var(--cream);
    margin-bottom: 16px;
}
.stat-num em {
    font-style: italic;
    color: var(--mustard);
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
}

.stat-num-with-icon {
    display: flex;
}

.stat-num-with-icon svg {
    width: clamp(38px, 5.5vw, 64px);
    height: clamp(38px, 5.5vw, 64px);
    align-self: end;
    color: var(--mustard);
}

.stat-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(244, 239, 227, 0.7);
}

/* ────────────────────────────────────────────
     SERVICES
──────────────────────────────────────────── */
.services-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 100px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(40px, 5.5vw, 84px);
    line-height: 0.92;
    letter-spacing: -0.03em;
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 40;
}
.section-title em {
    font-style: italic;
    color: var(--sage);
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
}

.services-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 50ch;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.service {
    padding: 48px 36px 48px 0;
    border-right: 1px solid var(--line);
    position: relative;
    transition: background 0.25s ease;
}
.service:last-child {
    border-right: none;
    padding-right: 0;
}
.service:not(:last-child) {
    padding-right: 36px;
}
.service:not(:first-child) {
    padding-left: 36px;
}

.service-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--clay);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--sage);
    margin-bottom: 24px;
}

.service h3 {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 20px;
    font-variation-settings:
        "opsz" 72,
        "SOFT" 60;
    letter-spacing: -0.015em;
}

.service-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 32px;
}

.service-list {
    list-style: none;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.service-list li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.service-list li::before {
    content: "";
    width: 12px;
    height: 6px;
    background: var(--sage);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    transform: rotate(-8deg);
}

/* ────────────────────────────────────────────
     APPROACH / PHILOSOPHY
──────────────────────────────────────────── */
.approach {
    background: var(--cream-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.approach-quote {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 70;
    margin-bottom: 80px;
    max-width: 18ch;
}
.approach-quote em {
    font-style: italic;
    color: var(--sage);
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
}

.principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.principle {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: start;
}
.principle:nth-child(odd) {
    padding-right: 48px;
    border-right: 1px solid var(--line);
}
.principle:nth-child(even) {
    padding-left: 48px;
}
.principle:nth-last-child(-n + 2) {
    border-bottom: none;
}

.principle-num {
    font-family: var(--serif);
    font-size: 56px;
    line-height: 0.85;
    color: var(--sage);
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 70;
    font-style: italic;
}

.principle h3 {
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 14px;
    font-variation-settings:
        "opsz" 36,
        "SOFT" 60;
    letter-spacing: -0.015em;
}
.principle p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}

/* ────────────────────────────────────────────
     TESTIMONIAL
──────────────────────────────────────────── */
.testimonial {
    padding: 180px 0;
    text-align: left;
    background: var(--cream-soft);
}

.testimonial-mark {
    font-family: var(--serif);
    font-size: 200px;
    line-height: 0.6;
    color: var(--sage);
    font-style: italic;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
    margin-bottom: -40px;
    margin-left: -12px;
}

.testimonial-quote {
    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.18;
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 60;
    letter-spacing: -0.02em;
    max-width: 28ch;
    margin-bottom: 56px;
}
.testimonial-quote em {
    font-style: italic;
    color: var(--sage);
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
}

.testimonial-attr {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    max-width: 420px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    font-variation-settings:
        "opsz" 36,
        "SOFT" 80;
    flex-shrink: 0;
}
.testimonial-name {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 4px;
    font-variation-settings:
        "opsz" 36,
        "SOFT" 60;
}
.testimonial-role {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-quiet);
}

/* ────────────────────────────────────────────
     FAQ (native details/summary)
──────────────────────────────────────────── */
.faq {
    border-top: 1px solid var(--line);
    padding: 140px 0;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}
.faq-list {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
    font-variation-settings:
        "opsz" 36,
        "SOFT" 60;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary:hover {
    color: var(--sage-deep);
}
.faq summary::after {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--ink);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M12 5v14M5 12h14' stroke='currentColor' stroke-width='2'/></svg>")
        no-repeat center;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M12 5v14M5 12h14' stroke='currentColor' stroke-width='2'/></svg>")
        no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
    flex-shrink: 0;
}
.faq details[open] summary {
    color: var(--sage-deep);
}
.faq details[open] summary::after {
    transform: rotate(45deg);
    background: var(--sage);
}
.faq-answer {
    padding: 0 0 28px;
    max-width: 60ch;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
}
.faq-answer p + p {
    margin-top: 12px;
}

/* ────────────────────────────────────────────
     CONTACT FORM (Datastar reactivity)
──────────────────────────────────────────── */
.contact {
    background: var(--ink);
    color: var(--cream);
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 145, 112, 0.18), transparent 70%);
    pointer-events: none;
}
.contact::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 123, 92, 0.12), transparent 70%);
    pointer-events: none;
}

.contact .section-num {
    color: var(--mustard);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    position: relative;
    z-index: 2;
}

.contact-headline {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    font-weight: 400;
    font-variation-settings:
        "opsz" 144,
        "SOFT" 50;
    margin-bottom: 32px;
    max-width: 12ch;
}
.contact-headline em {
    font-style: italic;
    color: var(--sage);
    font-variation-settings:
        "opsz" 144,
        "SOFT" 100;
}

.contact-lede {
    margin-top: 48px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(244, 239, 227, 0.78);
    max-width: 39ch;
    margin-bottom: 32px;
}

.contact-direct {
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-row .label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--mustard);
    width: 56px;
}
.contact-row a {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--cream);
    font-variation-settings:
        "opsz" 36,
        "SOFT" 70;
    border-bottom: 1px solid rgba(244, 239, 227, 0.3);
    padding-bottom: 2px;
}
.contact-row a:hover {
    border-color: var(--sage);
    color: var(--sage);
}

/* Form */
.form-card {
    background: rgba(244, 239, 227, 0.04);
    border: 1px solid rgba(244, 239, 227, 0.14);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.form-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.field {
    margin-bottom: 24px;
}
.field label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(244, 239, 227, 0.7);
    margin-bottom: 10px;
}
.field-input,
.field textarea,
.field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(244, 239, 227, 0.22);
    color: var(--cream);
    font: inherit;
    font-size: 16px;
    padding: 10px 0;
    transition: border-color 0.2s ease;
    font-family: var(--sans);
}
.field textarea {
    resize: vertical;
    min-height: 90px;
    font-family: var(--sans);
}
.field-input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--sage);
}
.field-input::placeholder,
.field textarea::placeholder {
    color: rgba(244, 239, 227, 0.3);
}

.field-help {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(244, 239, 227, 0.55);
    font-family: var(--mono);
    letter-spacing: 0.04em;
    min-height: 16px;
    transition: color 0.2s ease;
}
.field-help.error {
    color: var(--clay);
}
.field-help.ok {
    color: var(--sage);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit {
    margin-top: 24px;
    width: 100%;
    background: var(--sage);
    color: var(--cream);
    padding: 18px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.form-submit:hover:not(:disabled) {
    background: var(--cream);
    color: var(--ink);
}
.form-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.form-submit::after {
    content: "→";
    font-family: var(--sans);
}

.form-meta {
    margin-top: 20px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(244, 239, 227, 0.5);
    text-align: center;
}

.message-received > p:first-child {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.2;
    font-variation-settings:
        "opsz" 72,
        "SOFT" 80;
    margin-bottom: 20px;
}

.message-received a {
    color: var(--sage);
    text-decoration: underline;
}

.message-received a:hover {
    color: var(--mustard);
}

/* ────────────────────────────────────────────
     FOOTER
──────────────────────────────────────────── */
footer {
    background: var(--cream);
    padding: 100px 0 48px;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}
.footer-brand .brand {
    margin-bottom: 24px;
}
.footer-tag {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.25;
    font-style: italic;
    color: var(--ink-soft);
    font-variation-settings:
        "opsz" 36,
        "SOFT" 100;
    max-width: 28ch;
}
.footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--sage);
    font-weight: 500;
    margin-bottom: 24px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    font-size: 15px;
    color: var(--ink-soft);
}
.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-quiet);
}

.footer-bottom a:hover {
    color: var(--ink);
}

.footer-province-subheading {
    font-weight: 800;
    color: var(--sage);
}

.footer-contact-cta {
    font-weight: 800;
    color: var(--forest);
    text-decoration: underline;
}

.footer-contact-cta:hover {
    color: var(--forest);
}

.in-canada-parent {
    min-width: 39ch;
}

.in-canada {
    display: inline-block;
    min-width: 7.5ch;
    text-align: left;
}

/* ────────────────────────────────────────────
     RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --gutter: 36px;
    }
    section {
        padding: 100px 0;
    }
    .hero {
        padding: 80px 0 100px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .services-header {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 48px 0 !important;
    }
    .service:last-child {
        border-bottom: none;
    }
    .principles {
        grid-template-columns: 1fr;
    }
    .principle:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }
    .principle:nth-child(even) {
        padding-left: 0;
    }
    .principle:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    .stat:nth-child(3) {
        border-left: none;
        padding-left: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .testimonial {
        padding: 100px 0;
    }
    .testimonial-mark {
        font-size: 140px;
        margin-bottom: -28px;
    }
}

@media (max-width: 720px) {
    :root {
        --gutter: 24px;
    }
    .nav-links,
    .nav-cta {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .hero-mark {
        width: 320px;
        height: 320px;
        right: -100px;
        top: 100px;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .principle {
        grid-template-columns: 60px 1fr;
        gap: 16px;
    }
    .principle-num {
        font-size: 40px;
    }
    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Burger transform when nav open */
[data-ns-nav-open] .burger::before {
    top: 6px;
    transform: rotate(45deg);
}

[data-ns-nav-open] .burger::after {
    top: 6px;
    transform: rotate(-45deg);
}

#overlay {
    display: none;
    transition: 1s ease;
}

#overlay[data-ns-nav-open] {
    display: block;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 95;
    left: 0;
    top: 0;
    background-color: #1a211c;
    background-color: #1a211c99;
    overflow-x: hidden;
}

body[data-ns-nav-open] {
    overflow: hidden;
}

.position-absolute {
    position: absolute;
}

.nowrap {
    text-wrap: nowrap;
}
