/* ============================================================
   FORMARA — design system
   Palette: warm paper, ink, brass. Type: Cormorant Garamond
   (display) + Inter (text). Decoration: hairlines, grain,
   index numerals, generous white space.
   ============================================================ */

:root {
    --ink: #1a1712;
    --ink-soft: #2c2721;
    --paper: #f4f0e8;
    --paper-2: #ece6d9;
    --stone: #d9d1c1;
    --brass: #9d7439;
    --brass-soft: #c4a468;
    --muted: #6f6659;
    --line: rgba(26, 23, 18, 0.16);
    --line-light: rgba(244, 240, 232, 0.22);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    --container: 1360px;
    --gutter: clamp(20px, 4vw, 56px);
    --section: clamp(72px, 11vw, 148px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* film grain over everything */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection { background: var(--brass); color: var(--paper); }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.08;
    margin: 0;
    letter-spacing: 0.005em;
}

em { font-style: italic; }

p { margin: 0 0 1em; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 18px;
    z-index: 3000;
}
.skip-link:focus { left: 12px; top: 12px; }

.muted { color: var(--muted); }

/* ---------- reveal animation ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].revealed {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- kickers, titles, buttons ---------- */
.kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 22px;
}
.kicker-line {
    width: 44px;
    height: 1px;
    background: var(--brass);
    flex: none;
}

.section { padding: var(--section) 0; }
.section-tint { background: var(--paper-2); }
.section-dark {
    background: var(--ink);
    color: var(--paper);
}
.section-dark .section-title,
.section-dark .card-title a { color: var(--paper); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.section-title {
    font-size: clamp(34px, 4.6vw, 60px);
    max-width: 16ch;
}
.section-title em { color: var(--brass); }
.section-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
    transition: color 0.3s, border-color 0.3s;
}
.section-link:hover { color: var(--brass); border-color: var(--brass); }
.section-link .arrow { display: inline-block; margin-left: 8px; transition: transform 0.3s var(--ease); }
.section-link:hover .arrow { transform: translateX(6px); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 18px 34px;
    border: 1px solid var(--ink);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
    background: transparent;
    color: var(--ink);
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s var(--ease);
    z-index: -1;
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--paper); }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid::before { background: var(--brass); }
.btn-solid:hover { border-color: var(--brass); }

.btn-ghost-light { border-color: var(--line-light); color: var(--paper); }
.btn-ghost-light::before { background: var(--paper); }
.btn-ghost-light:hover { color: var(--ink); border-color: var(--paper); }

.btn-small { padding: 12px 22px; font-size: 11px; }
.btn-outline { border-color: currentColor; }

.arrow { font-family: var(--sans); }

/* ---------- header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
    color: var(--ink);
}
.has-hero .site-header:not(.scrolled) { color: var(--paper); }
.site-header.scrolled {
    background: rgba(244, 240, 232, 0.92);
    backdrop-filter: blur(14px);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    height: 84px;
    transition: height 0.4s var(--ease);
}
.site-header.scrolled .site-header-inner { height: 68px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.34em;
}
.brand-sub {
    font-size: 9px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    opacity: 0.62;
    margin-top: 5px;
}
.custom-logo-link img { max-height: 44px; width: auto; }

.menu {
    display: flex;
    gap: clamp(14px, 1.7vw, 26px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu > li { position: relative; }
.menu > li > a {
    display: block;
    padding: 10px 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
}
.menu > li > a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 4px;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
}
.menu > li > a:hover::after,
.menu > li.current-menu-item > a::after,
.menu > li.current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }

.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -22px;
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 14px 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(26, 23, 18, 0.16);
    border-top: 2px solid var(--brass);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.sub-menu a {
    display: block;
    padding: 9px 22px;
    font-size: 13px;
    transition: color 0.25s, padding-left 0.25s var(--ease);
}
.sub-menu a:hover { color: var(--brass); padding-left: 28px; }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-cta { border-color: currentColor; white-space: nowrap; }
.site-header.scrolled .header-cta { border-color: var(--ink); }
.has-hero .site-header:not(.scrolled) .header-cta { border-color: var(--paper); }
.header-cta::before { background: var(--brass); }
.header-cta:hover { border-color: var(--brass); color: var(--paper); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle span {
    width: 26px; height: 1.5px;
    background: currentColor;
    transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: var(--paper);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media .media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: hero-drift 18s var(--ease) forwards;
}
@keyframes hero-drift { to { transform: scale(1); } }
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 17, 12, 0.82) 0%, rgba(20, 17, 12, 0.28) 46%, rgba(20, 17, 12, 0.34) 100%);
}
.hero-inner {
    position: relative;
    width: 100%;
    padding-bottom: clamp(72px, 10vh, 130px);
    padding-top: 140px;
}
.hero-title {
    font-size: clamp(44px, 7.4vw, 108px);
    max-width: 13ch;
    font-weight: 500;
}
.hero-title em { color: var(--brass-soft); }
.hero-lede {
    max-width: 46ch;
    font-size: clamp(15px, 1.4vw, 18px);
    color: rgba(244, 240, 232, 0.82);
    margin: 26px 0 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .kicker { color: var(--brass-soft); }
.hero .kicker-line { background: var(--brass-soft); }

.hero-meta {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(72px, 10vh, 130px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(244, 240, 232, 0.6);
    writing-mode: vertical-rl;
}
.scroll-cue {
    width: 1px;
    height: 72px;
    background: rgba(244, 240, 232, 0.35);
    position: relative;
    overflow: hidden;
}
.scroll-cue::after {
    content: '';
    position: absolute;
    left: 0; top: -40%;
    width: 100%; height: 40%;
    background: var(--paper);
    animation: scroll-cue 2.2s var(--ease) infinite;
}
@keyframes scroll-cue { to { top: 110%; } }

/* page hero (interior) */
.hero-page { min-height: 62svh; }
.hero-page .hero-title { font-size: clamp(40px, 6vw, 84px); }

/* ---------- cost strip under hero ---------- */
.cost-strip {
    background: var(--ink);
    color: var(--paper);
}
.cost-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 34px 0;
}
.cost-strip-figure {
    font-family: var(--serif);
    font-size: clamp(30px, 3.4vw, 46px);
    color: var(--brass-soft);
    white-space: nowrap;
}
.cost-strip-text {
    max-width: 58ch;
    font-size: 14px;
    color: rgba(244, 240, 232, 0.75);
    margin: 0;
}

/* ---------- marquee ---------- */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 18px 0;
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 42px;
    width: max-content;
    animation: marquee 36s linear infinite;
}
.marquee-item {
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
    color: var(--muted);
    white-space: nowrap;
}
.marquee-dot {
    width: 5px; height: 5px;
    background: var(--brass);
    border-radius: 50%;
    flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- product line panels ---------- */
.line-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.line-panel {
    position: relative;
    background: var(--paper);
    padding: clamp(36px, 4vw, 60px);
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: background 0.5s var(--ease);
}
.line-panel:hover { background: var(--paper-2); }
.line-panel-index {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--brass);
    letter-spacing: 0.2em;
}
.line-panel-title {
    font-size: clamp(28px, 2.6vw, 38px);
    margin: 18px 0 14px;
}
.line-panel-text { color: var(--muted); font-size: 14px; max-width: 34ch; }
.line-panel-media {
    margin: 30px calc(-1 * clamp(36px, 4vw, 60px)) calc(-1 * clamp(36px, 4vw, 60px));
    height: 220px;
    overflow: hidden;
}
.line-panel-media .media-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.line-panel:hover .line-panel-media .media-img { transform: scale(1.06); }
.line-panel-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ---------- cards ---------- */
.card-grid {
    display: grid;
    gap: clamp(20px, 2.6vw, 36px);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { position: relative; }
.card-media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--stone);
}
.card-media .media-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.card:hover .card-media .media-img { transform: scale(1.07); }
.card-body { padding-top: 20px; }
.card-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 8px;
}
.card-title { font-size: 24px; }
.card-title a { transition: color 0.3s; }
.card-title a:hover { color: var(--brass); }
.card-meta { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.wide-cards .card-media { aspect-ratio: 16 / 10; }

/* ---------- capability cards (home) ---------- */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.6vw, 36px);
}
.cap-media { aspect-ratio: 1 / 1; }

/* ---------- homepage carousel ---------- */
.carousel { position: relative; }
.carousel-track {
    display: flex;
    gap: clamp(20px, 2.6vw, 36px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 var(--gutter) 12px;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-cell {
    flex: 0 0 clamp(280px, 30vw, 440px);
    scroll-snap-align: start;
}
.carousel-cell .card-media { aspect-ratio: 16 / 10; }
.carousel-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}
.carousel-nav button {
    width: 48px; height: 48px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-nav button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- product line link chips ---------- */
.line-panel-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.line-panel-links a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: 7px 14px;
    transition: all 0.3s;
}
.line-panel-links a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- certification row (home trust band) ---------- */
.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: clamp(28px, 3.4vw, 44px) 0;
    padding: 0;
}
.cert-cell {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass-soft);
    border: 1px solid var(--line-light);
    padding: 12px 22px;
}

/* ---------- image placeholder ---------- */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background:
        repeating-linear-gradient(135deg, rgba(26,23,18,0.045) 0 1px, transparent 1px 14px),
        linear-gradient(150deg, var(--paper-2), var(--stone));
    text-align: center;
    padding: 20px;
}
.img-placeholder-mark {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    color: var(--muted);
}
.img-placeholder-note {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass);
}

.sample-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass);
    border: 1px solid var(--brass);
    background: rgba(244, 240, 232, 0.88);
    padding: 5px 10px;
}

/* ---------- logo wall ---------- */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
}
.logo-cell {
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    min-height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.4s var(--ease);
}
.logo-cell:hover { background: rgba(244, 240, 232, 0.05); }
.logo-cell-name {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}
.logo-cell-note {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass-soft);
    opacity: 0.6;
}

/* ---------- stats band ---------- */
.stats-band { border-top: 1px solid var(--line-light); }
.stats-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}
.stat {
    padding: clamp(28px, 3.4vw, 52px) clamp(18px, 2.4vw, 40px);
    border-right: 1px solid var(--line-light);
}
.stat:last-child { border-right: 0; }
.stat-number {
    display: block;
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    color: var(--brass-soft);
}
.stat-label {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(244, 240, 232, 0.66);
}
.stats-note {
    padding: 0 clamp(18px, 2.4vw, 40px) 30px;
    font-size: 12px;
    color: rgba(244, 240, 232, 0.5);
    margin: 0;
}

/* ---------- factory band on home ---------- */
.split-band {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(36px, 5vw, 84px);
    align-items: center;
}
.split-band-media { position: relative; overflow: hidden; }
.split-band-media .media-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-band-copy .section-title { margin-bottom: 24px; }
.split-band-copy p { color: var(--muted); max-width: 52ch; }
.section-dark .split-band-copy p { color: rgba(244, 240, 232, 0.72); }

/* ---------- process preview ---------- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}
.step {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: clamp(20px, 3vw, 48px);
    padding: clamp(26px, 3vw, 42px) 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-index {
    font-family: var(--serif);
    font-size: clamp(30px, 3.4vw, 48px);
    font-style: italic;
    color: var(--brass);
}
.step-title { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.step-desc { color: var(--muted); max-width: 68ch; margin: 0; }
.section-dark .step { border-color: var(--line-light); }
.section-dark .step-desc { color: rgba(244, 240, 232, 0.7); }

/* ---------- materials mosaic ---------- */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 1.8vw, 26px);
}
.mosaic .card-media { aspect-ratio: 1 / 1; }

/* ---------- journal / posts ---------- */
.post-row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    transition: padding-left 0.35s var(--ease);
}
.post-row:hover { padding-left: 14px; }
.post-row:last-of-type { border-bottom: 1px solid var(--line); }
.post-row-date {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}
.post-row-title { font-size: clamp(20px, 2vw, 27px); }
.post-row-title a:hover { color: var(--brass); }
.post-row .arrow { color: var(--brass); font-size: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 90% at 85% 20%, rgba(157, 116, 57, 0.24), transparent 60%);
}
.cta-band-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: clamp(64px, 8vw, 120px) var(--gutter);
}
.cta-title { font-size: clamp(34px, 4.6vw, 64px); max-width: 14ch; }
.cta-title em { color: var(--brass-soft); }
.cta-text { color: rgba(244, 240, 232, 0.7); max-width: 46ch; margin: 18px 0 0; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; flex: none; }

/* ---------- footer ---------- */
.site-footer {
    background: #14110d;
    color: rgba(244, 240, 232, 0.78);
    padding-top: clamp(56px, 7vw, 96px);
}
.footer-cta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: clamp(40px, 5vw, 72px);
    border-bottom: 1px solid var(--line-light);
    flex-wrap: wrap;
}
.footer-cta-kicker {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass-soft);
    margin: 0;
}
.footer-cta-link {
    font-family: var(--serif);
    font-size: clamp(34px, 4.6vw, 60px);
    font-style: italic;
    color: var(--paper);
    display: inline-flex;
    align-items: baseline;
    gap: 18px;
    transition: color 0.3s;
}
.footer-cta-link:hover { color: var(--brass-soft); }
.footer-cta-link .arrow { font-style: normal; font-size: 0.7em; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: clamp(32px, 4vw, 64px);
    padding: clamp(44px, 5vw, 72px) 0;
}
.footer-word {
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: 0.3em;
    color: var(--paper);
    margin: 0 0 14px;
}
.footer-tagline { font-size: 14px; max-width: 36ch; }
.footer-col h3 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brass-soft);
    margin: 0 0 20px;
}
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.25s, padding-left 0.25s var(--ease);
}
.footer-menu a:hover { color: var(--brass-soft); padding-left: 8px; }
.footer-contact { font-style: normal; font-size: 14px; }
.footer-contact a { color: var(--paper); border-bottom: 1px solid var(--line-light); }

.newsletter { margin-top: 26px; }
.newsletter label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 240, 232, 0.5);
    margin-bottom: 10px;
}
.newsletter-row { display: flex; gap: 10px; }
.newsletter .wpcf7-form p { margin: 0 0 12px; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.newsletter .wpcf7-form input[name='your-email'] {
    flex: 1;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-light);
    color: var(--paper);
    padding: 10px 0;
    font-size: 14px;
    font-family: var(--sans);
    border-radius: 0;
}
.newsletter .wpcf7-form input:focus { outline: none; border-color: var(--brass-soft); }
.newsletter .wpcf7-form .wpcf7-submit {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--paper);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 11px 22px;
    cursor: pointer;
    transition: all 0.3s;
}
.newsletter .wpcf7-form .wpcf7-submit:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
.newsletter .wpcf7-response-output {
    background: transparent !important;
    border: 1px solid var(--line-light) !important;
    color: rgba(244, 240, 232, 0.8);
    margin: 12px 0 0 !important;
    padding: 10px 14px !important;
    font-size: 13px;
}
.hidden-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.footer-landing {
    border-top: 1px solid var(--line-light);
    padding: 26px 0;
}
.footer-landing-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-landing-menu a {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 240, 232, 0.45);
    transition: color 0.25s;
}
.footer-landing-menu a:hover { color: var(--brass-soft); }

.footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line-light);
    padding: 24px 0 30px;
    font-size: 12px;
    color: rgba(244, 240, 232, 0.45);
    flex-wrap: wrap;
}
.footer-base p { margin: 0; }
.footer-legal a:hover { color: var(--brass-soft); }
.to-top {
    background: none;
    border: 1px solid var(--line-light);
    color: var(--paper);
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.to-top:hover { border-color: var(--brass-soft); color: var(--brass-soft); transform: translateY(-4px); }

.whatsapp-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 900;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(20, 17, 13, 0.35);
    transition: background 0.3s, transform 0.3s var(--ease);
}
.whatsapp-float:hover { background: var(--brass); transform: translateY(-4px); }

/* ---------- interior page body ---------- */
.page-lede {
    font-family: var(--serif);
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.4;
    max-width: 34ch;
}
.page-lede em { color: var(--brass); }
.prose { max-width: 72ch; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: clamp(26px, 3vw, 38px); margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--brass); border-bottom: 1px solid currentColor; }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 84px);
    align-items: start;
}

/* ---------- spec table ---------- */
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.spec-row dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
}
.spec-row dd { margin: 0; font-size: 15px; }

/* ---------- line list ---------- */
.line-list { list-style: none; margin: 0; padding: 0; }
.line-list li {
    padding: 13px 0 13px 30px;
    border-bottom: 1px solid var(--line);
    position: relative;
    font-size: 15px;
}
.line-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 22px;
    width: 12px; height: 1px;
    background: var(--brass);
}

/* ---------- download card ---------- */
.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--line);
    padding: 22px 26px;
    transition: border-color 0.3s, background 0.3s;
}
.download-card:hover { border-color: var(--brass); background: var(--paper-2); }
.download-card-title { font-family: var(--serif); font-size: 20px; margin: 0; }
.download-card-note { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.download-card .arrow { color: var(--brass); font-size: 22px; }

/* ---------- gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 2vw, 28px);
}
.gallery-item { margin: 0; overflow: hidden; }
.gallery-item .media-img { width: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 0.8s var(--ease); }
.gallery-item:hover .media-img { transform: scale(1.05); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    font-family: var(--serif);
    font-size: clamp(19px, 2vw, 24px);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--brass); }
.faq-icon {
    position: relative;
    width: 18px; height: 18px;
    flex: none;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--brass);
    transition: transform 0.35s var(--ease);
}
.faq-icon::before { left: 0; top: 8px; width: 18px; height: 1.5px; }
.faq-icon::after { left: 8px; top: 0; width: 1.5px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-a { padding: 0 0 26px; max-width: 70ch; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- forms (CF7 + native) ---------- */
.form-shell {
    background: var(--paper-2);
    border: 1px solid var(--line);
    padding: clamp(28px, 4vw, 56px);
}
.wpcf7-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.wpcf7-form p { margin: 0 0 22px; }
.wpcf7-form input[type='text'],
.wpcf7-form input[type='email'],
.wpcf7-form input[type='tel'],
.wpcf7-form input[type='url'],
.wpcf7-form input[type='number'],
.wpcf7-form select,
.wpcf7-form textarea,
.form-shell input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.form-shell select,
.form-shell textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    border-radius: 0;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.form-shell input:focus,
.form-shell textarea:focus {
    outline: none;
    border-color: var(--brass);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form input[type='file'] {
    width: 100%;
    font-size: 13px;
    padding: 14px;
    border: 1px dashed var(--line);
    background: var(--paper);
}
.wpcf7-form .wpcf7-submit {
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 18px 40px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--brass); border-color: var(--brass); }
.wpcf7-response-output {
    border: 1px solid var(--brass) !important;
    margin: 24px 0 0 !important;
    padding: 14px 18px !important;
    font-size: 14px;
}
.wpcf7-not-valid-tip { font-size: 12px; color: #a33; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- taxonomy filter bar ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(36px, 5vw, 60px);
}
.filter-bar a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--line);
    transition: all 0.3s;
}
.filter-bar a:hover,
.filter-bar a.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

/* ---------- archive intro ---------- */
.archive-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-top: clamp(150px, 20vh, 220px);
    margin-bottom: clamp(40px, 6vw, 72px);
}
.archive-count {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    color: var(--muted);
    white-space: nowrap;
}

/* ---------- credits (project) ---------- */
.credit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}
.credit-cell { background: var(--paper); padding: 26px; }
.credit-cell h4 {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 10px;
}
.credit-cell p { margin: 0; font-size: 15px; }

/* ---------- challenge / solution ---------- */
.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
}
.challenge-cell { background: var(--paper); padding: clamp(28px, 3.4vw, 48px); }
.challenge-cell h3 {
    font-size: 13px;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 16px;
}
.challenge-cell p { margin: 0; color: var(--ink-soft); }

/* ---------- empty note ---------- */
.empty-note {
    border: 1px dashed var(--line);
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    font-family: var(--serif);
    font-size: 19px;
}
.empty-note p { margin: 0; }

/* ---------- 404 / search ---------- */
.search-shell { padding-top: clamp(150px, 20vh, 220px); }
.search-form { display: flex; gap: 12px; max-width: 560px; }
.search-form input {
    flex: 1;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    font-size: 16px;
    font-family: var(--sans);
}
.search-form input:focus { outline: none; border-color: var(--brass); }

/* ---------- pagination ---------- */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: clamp(40px, 6vw, 72px);
}
.pagination .page-numbers {
    min-width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-size: 13px;
    transition: all 0.3s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

/* ---------- post single ---------- */
.post-hero { padding-top: clamp(150px, 20vh, 220px); }
.post-hero-title { font-size: clamp(34px, 4.6vw, 62px); max-width: 20ch; }
.post-hero-meta {
    display: flex;
    gap: 26px;
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}
.post-featured { margin: clamp(36px, 5vw, 64px) 0; overflow: hidden; }
.post-featured .media-img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .grid-4, .mosaic { grid-template-columns: repeat(3, 1fr); }
    .logo-wall { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .primary-nav {
        position: fixed;
        inset: 0;
        background: var(--ink);
        color: var(--paper);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease), visibility 0.4s;
        z-index: -1;
    }
    .nav-open .primary-nav { opacity: 1; visibility: visible; z-index: 999; }
    .primary-nav .menu { flex-direction: column; text-align: center; gap: 18px; }
    .primary-nav .menu > li > a { font-size: 20px; font-family: var(--serif); text-transform: none; letter-spacing: 0.04em; }
    .menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        color: inherit;
        box-shadow: none;
        border: 0;
        text-align: center;
        padding: 0;
    }
    .sub-menu a { font-size: 15px; color: rgba(244, 240, 232, 0.7); }
    .nav-toggle { display: flex; z-index: 1001; position: relative; }
    .line-panels { grid-template-columns: 1fr; }
    .line-panel { min-height: 0; }
    .split-band, .two-col, .challenge-grid { grid-template-columns: 1fr; }
    .stats-list { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat { border-bottom: 1px solid var(--line-light); }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .cta-actions { flex-direction: row; flex-wrap: wrap; }
    .cost-strip-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero-meta { display: none; }
    .grid-3, .grid-4, .mosaic { grid-template-columns: repeat(2, 1fr); }
    .post-row { grid-template-columns: 1fr; gap: 8px; }
    .spec-row { grid-template-columns: 1fr; gap: 4px; }
    .step { grid-template-columns: 64px 1fr; }
    .credit-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .grid-3, .grid-4, .grid-2, .mosaic, .gallery, .cap-grid { grid-template-columns: 1fr; }
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .header-cta { display: none; }
    .hero-title { font-size: clamp(38px, 11vw, 56px); }
}
