/* ============================================
   MEANINGFUL MARKETING — Stylesheet (2026 refresh)
   Warm paper, logo peach, espresso ink.
   One motif: the arch (a window onto people).
   ============================================ */

/* ---------- Tokens ---------- */
:root {
    /* Palette, anchored on the logo peach */
    --peach:       #F0BA93;
    --peach-soft:  #F6D3B6;
    --peach-pale:  #FBEBDD;
    --paper:       #FDF9F4;
    --paper-deep:  #F5EADF;
    --sand:        #E2C9B0;
    --clay:        #C77A4C;
    --clay-deep:   #A85F35;
    --espresso:    #2A1B12;
    --cocoa:       #52392A;
    --mocha:       #7A5E4B;
    --mist:        #978472;
    --sage:        #8FA487;
    --rose:        #C96B6B;

    /* Roles */
    --bg:          var(--paper);
    --bg-alt:      var(--paper-deep);
    --ink:         var(--espresso);
    --ink-soft:    var(--cocoa);
    --ink-muted:   var(--mocha);
    --line:        var(--sand);

    /* Type */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-text:    'Jost', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Rhythm */
    --section:   clamp(4.5rem, 9vw, 8rem);
    --gutter:    clamp(1rem, 4vw, 2rem);
    --measure:   62ch;

    /* Shape */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --arch:      999px 999px 18px 18px;

    /* Motion */
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);
    --fast:      0.18s;
    --normal:    0.35s;

    /* Depth */
    --shadow-soft: 0 10px 40px rgba(42, 27, 18, 0.08);
    --shadow-lift: 0 18px 50px rgba(42, 27, 18, 0.14);

    --admin-bar-h: 44px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--clay-deep); text-decoration: none; transition: color var(--fast) var(--ease); }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.5rem; font-weight: 500; }

.accent {
    font-style: italic;
    color: var(--clay-deep);
}
.nowrap { white-space: nowrap; }

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

.container {
    width: min(1180px, 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: 0.6em 1em;
    background: var(--espresso);
    color: var(--peach-pale);
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.75em 1.7em;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
                border-color var(--fast) var(--ease), transform var(--fast) var(--ease),
                box-shadow var(--normal) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--espresso); color: var(--peach-pale); }
.btn-primary:hover { background: var(--cocoa); color: #fff; box-shadow: 0 10px 28px rgba(42, 27, 18, 0.22); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--sand); }
.btn-ghost:hover { background: var(--peach-pale); border-color: var(--peach); color: var(--ink); }

.btn-dark { background: var(--espresso); color: var(--peach-pale); }
.btn-dark:hover { background: #1b110b; color: #fff; }

.btn-lg { font-size: 1.05rem; padding: 0.95em 2.2em; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

/* ---------- Section heads ---------- */
.section-kicker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--clay-deep);
    margin-bottom: 1rem;
}
.section-kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--peach);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-lede {
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: var(--measure);
}

.section-head-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: 2rem 4rem;
    align-items: end;
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split .section-lede { padding-bottom: 0.4rem; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background var(--normal) var(--ease), padding var(--normal) var(--ease),
                box-shadow var(--normal) var(--ease), top var(--normal) var(--ease);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(253, 249, 244, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(226, 201, 176, 0.6);
}

.nav-inner {
    width: min(1180px, 100% - 2 * var(--gutter));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink);
}
.nav-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav-wordmark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.nav-wordmark em { font-style: italic; font-weight: 300; color: var(--mocha); margin-left: 0.18em; }

.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a {
    position: relative;
    font-size: 0.92rem;
    color: var(--ink-soft);
    padding: 0.3em 0;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--peach);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--normal) var(--ease);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-cta,
.nav-menu a.nav-cta {
    background: var(--peach);
    color: var(--ink);
    padding: 0.6em 1.2em;
    border-radius: 999px;
    font-weight: 500;
}
.nav-menu a.nav-cta::after { display: none; }
.nav-menu a.nav-cta:hover { background: var(--espresso); color: var(--peach-pale); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    z-index: 1002;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    margin-inline: auto;
    background: var(--ink);
    transition: transform var(--normal) var(--ease), opacity var(--fast);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.nav-overlay { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: calc(6.5rem + 2vw) 0 var(--section);
    background:
        radial-gradient(60% 55% at 85% 10%, rgba(240, 186, 147, 0.35), transparent 70%),
        radial-gradient(45% 40% at 10% 90%, rgba(246, 211, 182, 0.35), transparent 70%),
        var(--paper);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    min-height: calc(100vh - 8rem);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--mocha);
    margin-bottom: 1.5rem;
    animation: rise 0.7s var(--ease) both;
}
.hero-badge::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--peach);
    box-shadow: 0 0 0 4px rgba(240, 186, 147, 0.3);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.hero-line {
    display: block;
    animation: rise 0.9s var(--ease) both;
}
.hero-line:nth-child(2) { animation-delay: 0.12s; }

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--ink-muted);
    max-width: 52ch;
    margin-bottom: 2rem;
    animation: rise 0.9s var(--ease) 0.22s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: rise 0.9s var(--ease) 0.3s both;
}

.hero-tagline {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sand);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--mocha);
    max-width: 44ch;
    animation: rise 0.9s var(--ease) 0.4s both;
}

.hero-figure {
    position: relative;
    justify-self: end;
    width: min(100%, 440px);
    animation: settle 1.1s var(--ease) 0.15s both;
}

.arch {
    display: block;
    overflow: hidden;
    border-radius: var(--arch);
    background: var(--peach-pale);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.arch-hero { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); }

.hero-figure figcaption {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--mist);
    text-align: right;
}

.hero-stamp {
    position: absolute;
    left: -36px;
    bottom: 64px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 6px 24px rgba(42, 27, 18, 0.12);
}
.hero-stamp svg {
    width: 100%;
    height: 100%;
    animation: spin 28s linear infinite;
}
.hero-stamp text {
    font-family: var(--font-text);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    fill: var(--ink);
}
.hero-stamp circle { fill: var(--peach); }

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
@keyframes settle {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to   { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- What we do ---------- */
.what-we-do {
    padding: var(--section) 0;
    background: var(--bg-alt);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}
.pillar {
    padding-left: 1.5rem;
    border-left: 1px solid var(--sand);
}
.pillar h3 { margin-bottom: 0.6rem; max-width: 20ch; }
.pillar p { font-size: 0.97rem; color: var(--ink-muted); }

/* ---------- Who we work with ---------- */
.who { padding: var(--section) 0; }
.who-quote {
    max-width: 880px;
    margin-inline: auto;
    text-align: center;
}
.who-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    line-height: 1.35;
    color: var(--ink);
}
.who-quote::before,
.who-quote::after {
    content: '';
    display: block;
    width: 1px;
    height: 48px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(to bottom, transparent, var(--peach));
}
.who-quote::after { margin: 1.5rem auto 0; background: linear-gradient(to top, transparent, var(--peach)); }

/* ---------- Services ---------- */
.services { padding: 0 0 var(--section); }

.service-list { border-top: 1px solid var(--sand); }
.service-row { border-bottom: 1px solid var(--sand); }

.service-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 44px;
    gap: 1.5rem 2.5rem;
    align-items: center;
    width: 100%;
    padding: 1.6rem 1rem;
    text-align: left;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--fast) var(--ease);
}
.service-link:hover,
.service-link:focus-visible { background: var(--peach-pale); outline-offset: -2px; }

.service-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    transition: color var(--fast);
}
.service-link:hover .service-title { color: var(--clay-deep); }
.service-text { font-size: 0.97rem; color: var(--ink-muted); }

.service-go {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--sand);
    transition: background var(--fast), border-color var(--fast), transform var(--normal) var(--ease);
}
.service-go::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 9px; height: 9px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translate(-60%, -50%) rotate(45deg);
    color: var(--ink);
}
.service-link:hover .service-go { background: var(--espresso); border-color: var(--espresso); transform: translateX(4px); }
.service-link:hover .service-go::before { color: var(--peach-pale); }

/* ---------- Projects ---------- */
.projects {
    padding: var(--section) 0;
    background: var(--espresso);
    color: var(--peach-pale);
}
.projects h2 { color: var(--peach-pale); }
.projects .accent { color: var(--peach); }
.projects .section-kicker { color: var(--peach); }
.projects .section-lede { color: rgba(251, 235, 221, 0.7); }

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    min-height: 190px;
    padding: 1.4rem 1.4rem 1.5rem;
    border: 1px solid rgba(240, 186, 147, 0.22);
    border-radius: var(--radius-md);
    color: var(--peach-pale);
    transition: background var(--normal) var(--ease), color var(--normal) var(--ease),
                border-color var(--normal) var(--ease), transform var(--normal) var(--ease);
}
a.project-card:hover {
    background: var(--peach);
    border-color: var(--peach);
    color: var(--espresso);
    transform: translateY(-3px);
}
a.project-card:hover .project-meta { color: rgba(42, 27, 18, 0.7); }

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(251, 235, 221, 0.6);
    transition: color var(--normal);
}
.project-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.15;
}
div.project-card { border-style: dashed; }

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--section) 0;
    background: var(--bg-alt);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.4rem 1.9rem 1.9rem;
    background: var(--paper);
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
}
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 0.3rem;
    left: 1.4rem;
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--peach);
}
.testimonial blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.28rem;
    line-height: 1.45;
    color: var(--ink);
}
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--peach);
    color: var(--espresso);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.who-said { display: flex; flex-direction: column; line-height: 1.35; }
.who-said strong { font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.who-said span { font-size: 0.82rem; color: var(--mist); }
.testimonial figcaption { flex-wrap: wrap; }
.who-said { flex: 1 1 0; min-width: 0; }
.review-link {
    flex-basis: 100%;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    text-align: right;
    color: var(--clay-deep);
    white-space: nowrap;
}
.review-link::after { content: ' \2197'; }
.review-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Blog: teaser, listing, article ---------- */
.text-link {
    color: var(--clay-deep);
    border-bottom: 1px solid var(--peach);
    white-space: nowrap;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }

.blog { padding: var(--section) 0; }
.blog[hidden] { display: none; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}
.post-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--ink-soft);
}
.post-cover {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--peach-pale);
    margin-bottom: 0.35rem;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.03); }
.post-cover-empty {
    background:
        radial-gradient(circle at 70% 30%, rgba(240, 186, 147, 0.7), transparent 55%),
        linear-gradient(160deg, var(--peach-pale), var(--paper-deep));
}
.post-meta { font-size: 0.82rem; color: var(--mist); }
.post-card h3 { font-size: 1.5rem; line-height: 1.2; transition: color var(--fast); }
.post-card:hover h3 { color: var(--clay-deep); }
.post-card p { font-size: 0.95rem; color: var(--ink-muted); }
.post-more { font-size: 0.85rem; color: var(--clay-deep); margin-top: auto; }

.page-head {
    padding: calc(7rem + 2vw) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(60% 55% at 85% 10%, rgba(240, 186, 147, 0.35), transparent 70%),
        var(--paper);
}
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 0.9rem; max-width: 20ch; }
.page-head .section-lede { max-width: 52ch; }
.page-404 { min-height: 70vh; }
.page-404 .hero-actions { margin-top: 2rem; }
.blog-list { padding: 1rem 0 var(--section); }
.empty-posts { padding: 4rem 1rem; text-align: center; color: var(--mist); }
.empty-posts strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }

.article { padding: calc(7rem + 2vw) 0 var(--section); }
.article-inner { max-width: 74ch; margin-inline: auto; }
.article-back { display: inline-block; font-size: 0.9rem; margin-bottom: 1.5rem; color: var(--clay-deep); }
.article-back::before { content: '\2190\00a0'; }
.article h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0.6rem 0 1rem; }
.article-lede { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--mocha); margin-bottom: 1.5rem; }
.article-cover { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); margin: 1.75rem 0 2.5rem; background: var(--peach-pale); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sand);
    font-size: 0.95rem;
}

.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin-top: 2em; color: var(--ink); }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4, .prose h5 { font-family: var(--font-text); font-size: 1.05rem; font-weight: 600; }
.prose a { color: var(--clay-deep); text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.35em; }
.prose blockquote {
    margin: 1.75em 0;
    padding: 0.5rem 0 0.5rem 1.4rem;
    border-left: 3px solid var(--peach);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.45;
    color: var(--ink);
}
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; padding: 0.1em 0.4em; background: var(--paper-deep); border-radius: 6px; }
.prose hr { border: 0; height: 1px; background: var(--sand); margin: 2.5em 0; }
.post-figure { margin: 2em 0; }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius-md); }
.post-figure figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--mist); text-align: center; }

/* ---------- About / team ---------- */
.about { padding: var(--section) 0; }

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.about-copy h2 { margin-bottom: 1.25rem; }
.about-text { font-size: 1.05rem; color: var(--ink-muted); margin-bottom: 2rem; max-width: var(--measure); }

.how-we-work {
    padding: 1.4rem 1.5rem;
    background: var(--peach-pale);
    border-left: 3px solid var(--peach);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.how-we-work h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.how-we-work p { font-size: 0.97rem; color: var(--ink-muted); }

.team {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
}
.arch-member {
    aspect-ratio: 4 / 5;
    margin-bottom: 1.1rem;
    transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease);
}
.arch-member img { transition: transform 0.8s var(--ease); }
.arch-member:hover { box-shadow: var(--shadow-soft); }
.arch-member:hover img { transform: scale(1.03); }
.member h3 { font-size: 1.5rem; margin-bottom: 0.15rem; }
.member h3 a { color: var(--ink); }
.member h3 a:hover { color: var(--clay-deep); }
.member-role { font-size: 0.85rem; color: var(--clay-deep); margin-bottom: 0.6rem; }
.member-bio { font-size: 0.94rem; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--peach);
    color: var(--espresso);
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cta-band h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    max-width: 24ch;
    color: var(--espresso);
}

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; }

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy .section-lede { margin-bottom: 2.25rem; }

.contact-list { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.contact-list dt { font-size: 0.8rem; color: var(--mist); margin-bottom: 0.1rem; }
.contact-list dd,
.contact-list dd a {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.contact-list dd a:hover { color: var(--clay-deep); }

.social-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.45em 1em;
    font-size: 0.88rem;
    color: var(--ink-soft);
    border: 1px solid var(--sand);
    border-radius: 999px;
    transition: background var(--fast), border-color var(--fast), color var(--fast);
}
.pill:hover { background: var(--peach); border-color: var(--peach); color: var(--ink); }

.contact-form {
    padding: clamp(1.4rem, 3vw, 2.25rem);
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}
.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.field-wide { grid-column: 1 / -1; }
.field label {
    display: block;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.78rem 0.95rem;
    font: inherit;
    font-size: 0.97rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--fast), box-shadow var(--fast);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--mist); opacity: 0.8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(240, 186, 147, 0.35);
}
.field textarea { resize: vertical; min-height: 92px; }
.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%237A5E4B' stroke-width='1.5' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.field.invalid input { border-color: var(--rose); }

.form-error { color: var(--rose); font-size: 0.88rem; margin-bottom: 1rem; }
.form-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--mist); text-align: center; }
.contact-form.sent .btn-primary { background: var(--sage); color: #fff; }

/* ---------- Footer ---------- */
.footer {
    background: var(--espresso);
    color: rgba(251, 235, 221, 0.7);
    padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer .nav-logo { color: var(--peach-pale); margin-bottom: 0.9rem; }
.footer .nav-wordmark em { color: var(--peach); }
.footer-brand p { font-size: 0.95rem; max-width: 30ch; }
.footer-col h4 {
    font-family: var(--font-text);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--peach-soft);
    margin-bottom: 0.9rem;
}
.footer-col li { margin-bottom: 0.45rem; font-size: 0.92rem; }
.footer-col a { color: rgba(251, 235, 221, 0.7); }
.footer-col a:hover { color: var(--peach); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 4rem 0 0;
    border-top: 1px solid rgba(240, 186, 147, 0.18);
    font-size: 0.85rem;
    color: rgba(251, 235, 221, 0.5);
}
.footer-admin {
    font-size: 0.8rem;
    color: rgba(251, 235, 221, 0.45);
    padding: 0.4em 0.6em;
    border-radius: 6px;
}
.footer-admin:hover { color: var(--peach); background: rgba(240, 186, 147, 0.1); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 900;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--peach-pale);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--normal), transform var(--normal) var(--ease), visibility var(--normal), background var(--fast);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--clay-deep); }

/* ---------- Scroll reveal (quiet: opacity only) ---------- */
.reveal { opacity: 0; transition: opacity 0.7s var(--ease); }
.reveal.visible { opacity: 1; }

/* ---------- Admin-mode offsets ---------- */
body.is-admin .navbar { top: var(--admin-bar-h); }
body.is-admin .hero { padding-top: calc(6.5rem + 2vw + var(--admin-bar-h)); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
    .footer-grid .footer-col:last-child ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
}

@media (max-width: 900px) {
    .hero { padding-top: 6.5rem; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 3rem; }
    .hero-title { max-width: none; }
    .hero-figure { justify-self: start; width: min(100%, 380px); }
    .hero-stamp { left: auto; right: -20px; bottom: 50px; width: 110px; height: 110px; }
    .hero-figure figcaption { text-align: left; }

    .section-head-split { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
    .section-head-split .section-lede { padding-bottom: 0; }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .post-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(42, 27, 18, 0.45);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--normal), visibility var(--normal);
    }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    .nav-menu {
        position: fixed;
        top: 0; right: 0;
        z-index: 999;
        width: min(84vw, 340px);
        height: 100dvh;
        padding: 5.5rem 1.75rem 2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        box-shadow: var(--shadow-lift);
        transform: translateX(100%);
        transition: transform var(--normal) var(--ease);
        overflow-y: auto;
    }
    .nav-menu.active { transform: none; }
    .nav-menu li { border-bottom: 1px solid var(--peach-pale); }
    .nav-menu li.nav-cta-item { border: 0; margin-top: 1.25rem; }
    .nav-menu a { display: flex; align-items: center; min-height: 48px; font-size: 1.1rem; padding: 0.6em 0; }
    .nav-menu a::after { display: none; }
    .nav-menu a.nav-cta { justify-content: center; }
}

@media (max-width: 768px) {
    .pillars { grid-template-columns: 1fr; gap: 1.75rem; }
    .service-link { grid-template-columns: minmax(0, 1fr) 44px; gap: 0.5rem 1rem; padding: 1.25rem 0.75rem; }
    .service-text { grid-column: 1; }
    .service-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-card { min-height: 160px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .field-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .back-to-top { right: 1rem; bottom: 1rem; }
}

@media (max-width: 560px) {
    .team { grid-template-columns: 1fr; }
    .arch-member { max-width: 300px; }
    .post-grid { grid-template-columns: 1fr; }
    .prose { font-size: 1.02rem; }
    .project-grid { grid-template-columns: 1fr; }
    .project-card { min-height: 0; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .field input, .field select, .field textarea { font-size: 16px; }
}

/* ---------- Touch ---------- */
@media (hover: none) and (pointer: coarse) {
    a.project-card:hover, .arch-member:hover img { transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; }
    .hero-stamp svg { animation: none; }
}

/* ---------- Print ---------- */
@media print {
    .navbar, .back-to-top, .nav-overlay, .hero-stamp, .admin-bar, .footer-admin { display: none !important; }
    .reveal { opacity: 1; }
    body { background: #fff; color: #000; }
    .projects, .footer { background: #fff; color: #000; }
}
