/* ==========================================================================
   OX by InfiniOX · Light design system (v3)
   Fonts: Fraunces (display) + Manrope (text)
   ========================================================================== */
:root {
  --paper: #FBF8F3;
  --paper-2: #F3EDE2;
  --surface: #FFFFFF;
  --ink: #1C1915;
  --ink-2: #3B342C;
  --muted: #6F655A;
  --wood: #8B5E34;
  --wood-deep: #5A3A1E;
  --teal: #1F6F78;
  --teal-deep: #16535A;
  --accent: #9A6B1F;
  --line: rgba(28, 25, 21, .12);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1220px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 21, .06);
  --shadow: 0 1px 2px rgba(28, 25, 21, .05), 0 22px 44px -26px rgba(28, 25, 21, .30);
  --head: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 560;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.8vw, 5rem); font-weight: 520; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-family: var(--body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: rgba(31, 111, 120, .18); }

.container { width: min(var(--max), 92vw); margin-inline: auto; }
.container.narrow { width: min(860px, 92vw); }
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section--light { background: var(--surface); }
.section--sand { background: var(--paper-2); }
.section-head { margin-bottom: clamp(40px, 5.5vw, 64px); max-width: 740px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .2em; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 96px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .74rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 60ch; line-height: 1.65; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }
.tag {
  display: inline-block; font: 700 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(31, 111, 120, .09); padding: 7px 11px; border-radius: 999px; margin-bottom: 14px;
}
.index { display: inline-block; font-family: var(--head); font-size: 1.05rem; color: var(--accent); margin-bottom: 12px; font-weight: 600; }
.fine { font-size: .83rem; color: var(--muted); margin-top: .6em; line-height: 1.55; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  background: var(--teal); color: #fff;
  font: 700 .93rem/1 var(--body); letter-spacing: .01em;
  box-shadow: 0 10px 24px -12px rgba(22, 83, 90, .6);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { background: var(--teal-deep); box-shadow: 0 16px 32px -14px rgba(22, 83, 90, .7); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-small { padding: 11px 18px; font-size: .84rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link-arrow { color: var(--teal-deep); font-weight: 700; position: relative; display: inline-block; }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(251, 248, 243, .0); transition: background .5s, box-shadow .5s; }
.site-header.scrolled { background: rgba(251, 248, 243, .92); box-shadow: 0 1px 0 var(--line); }
@media (min-width: 961px) {
  .site-header.scrolled { backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.site-header.scrolled .nav-wrap { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font: 600 1.75rem/1 var(--head); letter-spacing: .02em; color: var(--paper);
  background: var(--wood-deep); padding: 6px 11px 8px; border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: .95rem; }
.brand-text small { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { font-size: .88rem; font-weight: 600; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); border-radius: 2px; }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--teal-deep); }
.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-5px) rotate(-45deg); }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--wood)); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 110px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 620px at 88% 14%, rgba(31, 111, 120, .14), transparent 62%),
    radial-gradient(820px 520px at 4% 100%, rgba(139, 94, 52, .16), transparent 60%),
    var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; opacity: .6;
  background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(139, 94, 52, .035) 70px 71px);
  animation: sheen 26s linear infinite alternate;
}
@keyframes sheen { to { transform: translate3d(-4%, 3%, 0) rotate(2deg); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; position: relative; }
.hero-title { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.hero-art { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.02) translate(-2%, -1%); } }
.hero-orb { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px dashed rgba(31, 111, 120, .4); right: -120px; top: -90px; animation: spin 42s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); padding: 14px 18px; border-radius: 16px; font-size: .85rem; box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}
.hero-badge span { color: var(--muted); font-size: .78rem; }
@keyframes float { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font: 700 .66rem/1 var(--body); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 40px; margin: 10px auto 0; background: linear-gradient(var(--teal), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Split-word headline reveal */
.split .w { display: inline-block; opacity: 0; translate: 0 .5em; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.split.is-in .w { opacity: 1; translate: 0 0; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: var(--surface); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; font-family: var(--head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-style: italic; color: var(--wood-deep); }
.marquee-track span { white-space: nowrap; padding-right: 56px; }
.marquee-track span::after { content: "✦"; color: var(--teal); margin-left: 56px; font-style: normal; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero ---------- */
.page-hero {
  padding: 170px 0 90px; position: relative; overflow: hidden;
  background: radial-gradient(900px 480px at 88% 0%, rgba(31, 111, 120, .12), transparent 62%), var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); max-width: 18ch; }
.page-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.page-art { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--paper-2); }
.page-art img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--teal-deep); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .25s ease-out;
  will-change: transform;
}
.card:hover { border-color: rgba(31, 111, 120, .35); box-shadow: var(--shadow); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 111, 120, .08), transparent 45%);
  transition: opacity .5s;
}
.card:hover::before { opacity: 1; }
.card-body { padding: clamp(22px, 2.4vw, 32px); position: relative; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card p { font-size: .95rem; }
.section--sand .card { background: var(--surface); }
.card .index { color: var(--accent); }

.product .product-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.product .product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 24px; position: relative; }
.product-body h3 { font-size: 1.4rem; }
.product-body p { font-size: .92rem; min-height: 3.2em; color: var(--ink-2); }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font-weight: 800; color: var(--ink); font-size: .95rem; }

.highlights .card-body h3 { font-size: 1.45rem; }
.checks { gap: 14px; }
.checks li {
  position: relative; padding: 18px 20px 18px 56px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.checks li::before {
  content: "✓"; position: absolute; left: 18px; top: 50%; translate: 0 -50%;
  width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%;
  background: rgba(31, 111, 120, .12); color: var(--teal-deep); font-weight: 800; font-size: .8rem;
}

/* Process steps */
.steps { counter-reset: s; }
.step { position: relative; padding: 70px 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 22px; top: 18px; font-family: var(--head); font-size: 2.2rem; line-height: 1; color: var(--wood); font-weight: 500; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .92rem; }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { padding: 26px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.45; }
.stat { font-family: var(--head); font-size: clamp(2.6rem, 4.6vw, 4rem); color: var(--teal-deep); line-height: 1; margin-bottom: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.admin-stats .stat { font-size: 3rem; }

/* Studio band */
.studio-band { background: var(--paper-2); border-block: 1px solid var(--line); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(120deg, #E6F0EF 0%, #F6EEE2 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 52ch; }

/* Kit visual */
.kit-visual { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper-2); }
.kit-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Projects filter */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0 0 3rem; }
.chip { padding: 11px 19px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; font: 700 .84rem var(--body); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.chip:hover { border-color: var(--teal); color: var(--teal-deep); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
[data-filter-item].is-hidden { display: none; }

/* Accordion */
.accordion { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 28px; box-shadow: var(--shadow-sm); }
.accordion details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.accordion details:last-child { border-bottom: 0; }
.accordion summary { cursor: pointer; list-style: none; font-family: var(--head); font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 560; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--teal-deep); transition: transform .5s var(--ease); flex: none; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding-top: 14px; max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.contact-info h3 { font-size: 1.3rem; margin-top: 1.6em; }
.contact-info h3:first-child { margin-top: 0; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.5vw, 46px); box-shadow: var(--shadow); position: relative; }
.form-panel h3 { margin-bottom: .5em; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form--single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: 1px solid rgba(28, 25, 21, .16); color: var(--ink);
  border-radius: 14px; padding: 14px 16px; font: 500 16px/1.4 var(--body);
  transition: border-color .3s, box-shadow .3s, background .3s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: var(--surface); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(28, 25, 21, .3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 111, 120, .15); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: #A39A8F; }
.field input[type="tel"] { letter-spacing: .03em; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.form .btn { width: 100%; }
@media (min-width: 761px) { .form .field.full .btn { width: auto; } }

.alert { padding: 16px 20px; border-radius: 16px; margin-bottom: 24px; border: 1px solid; font-size: .95rem; }
.alert-ok { border-color: rgba(31, 111, 120, .4); background: rgba(31, 111, 120, .08); color: var(--teal-deep); }
.alert-err { border-color: rgba(164, 73, 59, .4); background: rgba(164, 73, 59, .07); color: #8A3327; }

/* Estimator */
.estimator { display: grid; gap: 22px; }
.estimator .field input { font-size: 1.1rem; }
.est-result { display: grid; gap: 6px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #E9F2F1, #F7F0E4); border: 1px solid var(--line); }
.est-out { font-family: var(--head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ink); line-height: 1.1; font-weight: 560; font-variant-numeric: tabular-nums; }
.est-result .muted { font-size: .85rem; }
.est-result .fine { margin-top: 0; }

.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 200;
  translate: -50% 180%; background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 14px;
  box-shadow: 0 20px 50px -14px rgba(28, 25, 21, .5); font-weight: 600; max-width: min(92vw, 520px); text-align: center;
  transition: translate .7s var(--ease);
}
.toast.show { translate: -50% 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--accent); }
.footer-grid a { display: block; color: var(--ink-2); padding: 4px 0; font-size: .94rem; transition: color .3s, translate .4s var(--ease); }
.footer-grid a:hover { color: var(--teal-deep); translate: 5px 0; }
.footer-note { margin-top: 20px; max-width: 38ch; font-size: .9rem; color: var(--muted); }
.footer-address { font-size: .92rem; color: var(--ink-2); margin-bottom: 10px; line-height: 1.6; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--muted); }

/* ---------- Motion primitives ---------- */
.reveal { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.cursor-glow { position: fixed; top: 0; left: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(31, 111, 120, .08), transparent 62%); will-change: transform; }

/* ---------- Admin ---------- */
.admin-wrap { padding: 60px 0 100px; }
.admin-wrap .login { max-width: 460px; margin: 80px auto; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 24px; background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 900px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); }
.table td.msg { max-width: 320px; color: var(--ink-2); }
.table tr:hover td { background: var(--paper); }
.table a { color: var(--teal-deep); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--paper); flex-direction: column; justify-content: center;
    gap: 22px; padding: 2rem; transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform .7s var(--ease), opacity .45s var(--ease);
  }
  .nav a:not(.btn) { font-family: var(--head); font-size: 2rem; color: var(--ink); font-weight: 500; }
  .nav .btn { margin-top: 12px; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }
  .hero-grid, .page-grid, .split-2, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16 / 11; max-width: 720px; width: 100%; }
  .page-art { aspect-ratio: 16 / 10; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-orb { width: 240px; height: 240px; }
  .stat-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .cta-row .btn { flex: 1 1 100%; }
  .page-hero { padding: 140px 0 70px; }
  .cursor-glow { display: none; }
  .accordion { padding: 4px 18px; }
}
@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-badge { left: 10px; right: 10px; bottom: 10px; }
  .btn { width: 100%; }
  .btn-small { width: auto; }
  .nav-cta { display: none; }
}
@media (hover: none) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w { opacity: 1; translate: none; }
}

/* ---------- v4: consent, legal pages ---------- */
.consent { margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--teal); }
.check a { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal a { display: inline; padding: 0; }
.legal a:hover { translate: none; }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.2em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { color: var(--ink-2); margin-bottom: .4em; }
.prose a { color: var(--teal-deep); font-weight: 700; }
.draft-note { border-left: 3px solid var(--accent); background: #FBF3E4; padding: 14px 18px; border-radius: 12px; font-size: .9rem; color: var(--ink-2); }
