/* ============================================================
   STUDIO TECNICO ZANROSSI — design system
   palette: ink blue · ivory · copper accent
   typography: Fraunces (display) · Manrope (body) · JetBrains Mono (technical)
   ============================================================ */

:root {
  /* color */
  --bg:        #F4F1EA;
  --bg-alt:    #EBE6DA;
  --bg-deep:   #0E1A2B;
  --ink:       #0E1A2B;
  --ink-soft:  #2C3A4F;
  --slate:     #5A6779;
  --slate-2:   #8B95A3;
  --rule:      rgba(14, 26, 43, 0.14);
  --rule-soft: rgba(14, 26, 43, 0.07);
  --accent:    #B8742A;
  --accent-2:  #8C5320;
  --paper:     #FFFCF6;

  /* type */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* layout */
  --max:    1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* selection */
::selection { background: var(--accent); color: var(--paper); }

/* container */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* technical mono labels reused throughout the site */
.label-mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink);
}

/* serif headlines */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 92px); font-variation-settings: "opsz" 144, "SOFT" 0; }
h2 { font-size: clamp(32px, 4.6vw, 60px); font-variation-settings: "opsz" 96, "SOFT" 0; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-variation-settings: "opsz" 24, "SOFT" 0; line-height: 1.15; }
h4 { font-size: 17px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }

p  { margin: 0; }

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

/* utility text colors */
.muted { color: var(--slate); }
.ink   { color: var(--ink); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--slate);
}
.topbar a:hover { color: var(--ink); }
.topbar-info { display: flex; gap: 28px; }
.topbar-info span::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent);
}
.topbar-meta { color: var(--slate-2); }

@media (max-width: 720px) {
  .topbar-info { gap: 16px; }
  .topbar-meta { display: none; }
  .topbar { font-size: 10px; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(244, 241, 234, 0.94);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.brand-mark::before { top: 4px; left: 4px; width: 4px; height: 1px; }
.brand-mark::after  { bottom: 4px; right: 4px; width: 4px; height: 1px; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name .pre {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.brand-name .nm {
  font-family: var(--f-display);
  font-size: 18px;
  font-variation-settings: "opsz" 24, "SOFT" 0;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a:not(.btn) {
  font-size: 14.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  width: 42px;
  height: 38px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 1px;
  background: var(--ink);
  transition: all .25s ease;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span    { top: 18px; }
.nav-toggle::after  { top: 23px; }
.nav-toggle.is-open::before { top: 18px; transform: rotate(45deg); }
.nav-toggle.is-open span    { opacity: 0; }
.nav-toggle.is-open::after  { top: 18px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 0;
    top: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 80px var(--gutter);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.6,.2,.2,1);
    z-index: 90;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a:not(.btn) { font-size: 24px; font-family: var(--f-display); }
  .nav .btn { font-size: 14px; font-family: var(--f-body); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 11vw, 140px);
  overflow: hidden;
}

/* technical blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14,26,43,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,26,43,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 116, 42, 0.18);
}

.hero-title {
  /* big serif headline */
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 360;
}
.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 320;
  color: var(--accent-2);
}

.hero-sub {
  margin-top: 32px;
  max-width: 56ch;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* technical specs panel */
.specs {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  position: relative;
}
.specs::before {
  content: "FIG. 01";
  position: absolute;
  top: -10px; left: 20px;
  background: var(--bg);
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
}
.specs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
  gap: 20px;
}
.specs-row:last-child { border-bottom: none; }
.specs-row .k {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  font-size: 10.5px;
  flex-shrink: 0;
}
.specs-row .v {
  text-align: right;
  color: var(--ink);
  font-size: 12px;
}
.specs-title {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
  font-variation-settings: "opsz" 36;
}
.specs-title small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}

/* compass mark in specs (decorative, engineered feel) */
.specs-mark {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.specs-mark .ord {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
}
.specs-mark svg { display: block; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .specs { max-width: 480px; }
}

/* ============================================================
   MARQUEE / CAPABILITY STRIP
   ============================================================ */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.strip-inner {
  display: flex;
  gap: 56px;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.strip-item {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.strip-item::before {
  content: "§";
  color: var(--accent);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--bg);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: clamp(48px, 7vw, 84px);
  align-items: end;
}
.section-head h2 { max-width: 18ch; }
.section-head p {
  color: var(--ink-soft);
  max-width: 50ch;
  font-size: 16.5px;
  line-height: 1.65;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.svc-grid > * {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.svc-grid > *:nth-child(3n) { border-right: none; }

@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid > *:nth-child(3n) { border-right: 1px solid var(--rule); }
  .svc-grid > *:nth-child(2n) { border-right: none; }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid > * { border-right: none !important; }
}

.svc {
  padding: 40px 32px 44px;
  position: relative;
  background: var(--bg);
  transition: background .35s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.svc:hover { background: var(--paper); }

.svc-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
}
.svc-num .tag { color: var(--accent); }

.svc-title {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36, "SOFT" 0, "wght" 420;
  margin-bottom: 16px;
  color: var(--ink);
}
.svc-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}
.svc-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-tags span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 4px 8px;
  border: 1px solid var(--rule);
}

.svc::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.6,.2,.2,1);
}
.svc:hover::after { transform: scaleX(1); }

/* ============================================================
   METHOD / APPROCCIO
   ============================================================ */
.method {
  background: var(--bg-deep);
  color: var(--paper);
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.method .section-tag { color: rgba(255,252,246,0.55); }
.method .section-tag::before { background: var(--accent); }
.method h2 { color: var(--paper); }
.method .section-head p { color: rgba(255,252,246,0.7); }

.method-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,252,246,0.18);
}
.method-step {
  padding: 36px 28px 32px;
  border-right: 1px solid rgba(255,252,246,0.12);
  position: relative;
}
.method-step:last-child { border-right: none; }
.method-step .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.method-step .n::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(184,116,42,0.4);
}
.method-step h3 {
  color: var(--paper);
  font-size: 24px;
  font-variation-settings: "opsz" 36, "SOFT" 30, "wght" 380;
  margin-bottom: 14px;
}
.method-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,252,246,0.72);
}
.method-step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

@media (max-width: 980px) {
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-step:nth-child(2) { border-right: none; }
  .method-step:nth-child(3),
  .method-step:nth-child(4) { border-top: 1px solid rgba(255,252,246,0.12); }
}
@media (max-width: 600px) {
  .method-steps { grid-template-columns: 1fr; }
  .method-step { border-right: none; border-top: 1px solid rgba(255,252,246,0.12); }
  .method-step:first-child { border-top: none; }
}

/* ============================================================
   STUDIO / CHI SONO
   ============================================================ */
.studio {
  padding: clamp(80px, 11vw, 140px) 0;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.studio-lead {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.32;
  font-variation-settings: "opsz" 60, "SOFT" 30, "wght" 360;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.studio-lead em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 60, "SOFT" 100, "wght" 360;
}
.studio-body {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}
.studio-body p + p { margin-top: 16px; }

.facts {
  border-top: 1px solid var(--ink);
}
.facts dt, .facts dd { margin: 0; }
.facts > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.facts dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.facts dd {
  font-family: var(--f-display);
  font-size: 19px;
  font-variation-settings: "opsz" 24, "SOFT" 0, "wght" 380;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.facts dd small {
  display: block;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--slate);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0;
}

@media (max-width: 880px) {
  .studio-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--bg-alt);
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(14,26,43,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.contact .wrap { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-head h2 {
  margin-bottom: 24px;
}
.contact-head h2 em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 320;
}
.contact-head p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 40px;
}

.contact-list {
  border-top: 1px solid var(--ink);
}
.contact-list a, .contact-list span {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink);
  align-items: center;
  transition: padding-left .25s ease, color .25s ease;
}
.contact-list a:hover {
  padding-left: 8px;
  color: var(--accent-2);
}
.contact-list .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-list .v {
  font-family: var(--f-display);
  font-size: 18px;
  font-variation-settings: "opsz" 24, "SOFT" 0, "wght" 380;
}
.contact-list .arrow {
  font-family: var(--f-mono);
  color: var(--slate);
  transition: transform .3s ease, color .25s ease;
}
.contact-list a:hover .arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* form */
.form-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(28px, 3.6vw, 44px);
  position: relative;
}
.form-card::before {
  content: "MOD. 02 / RICHIESTA INFORMAZIONI";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--bg-alt);
  padding: 0 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
}

.form-row { margin-bottom: 22px; }
.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 540px) {
  .form-row.split { grid-template-columns: 1fr; }
}

.form-row label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.form-row label .req { color: var(--accent); margin-left: 4px; }

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.input:focus,
.textarea:focus,
.select:focus {
  border-bottom-color: var(--accent);
}
.textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235A6779' stroke-width='1.5'><path d='M1 1.5L6 6.5L11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 11px;
  padding-right: 24px;
  cursor: pointer;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 28px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.consent input {
  margin-top: 4px;
  accent-color: var(--accent);
}
.consent a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.consent a:hover { text-decoration-color: var(--accent); }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 18px;
}

.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(184,116,42,0.06);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: none;
}
.form-status.is-visible { display: block; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  color: rgba(255,252,246,0.7);
  padding: clamp(56px, 7vw, 84px) 0 28px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,252,246,0.12);
}
.footer .brand-mark {
  border-color: rgba(255,252,246,0.4);
  color: var(--paper);
}
.footer .brand-mark::before, .footer .brand-mark::after {
  background: rgba(255,252,246,0.6);
}
.footer .brand-name .pre { color: rgba(255,252,246,0.5); }
.footer .brand-name .nm  { color: var(--paper); }

.foot-blurb {
  margin-top: 24px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,252,246,0.6);
}
.foot-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,252,246,0.5);
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  color: rgba(255,252,246,0.78);
  font-size: 14.5px;
  transition: color .2s;
}
.foot-col a:hover { color: var(--accent); }

.foot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,252,246,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-meta a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   ANIMATIONS — fade up on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
.reveal[data-d="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-inner { animation: none; }
  html { scroll-behavior: auto; }
}
