/* ============ DRS Performance — Editorial Premium ============ */

:root {
  /* Brand colors from manual */
  --coral: #F3978F;
  --sand: #F0D486;
  --ink: #0A0A0A;
  --paper: #FAF7F2;   /* cream, warmer than pure white */
  --paper-2: #F2EEE6; /* slightly deeper cream for alt sections */
  --paper-3: #E8E2D5; /* rule / subtle divider */
  --muted: #6B6862;   /* warm neutral text */
  --muted-2: #9A968E;

  /* Type */
  --ff-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --ff-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-soft: 0 1px 2px rgba(10,10,10,.04), 0 8px 24px rgba(10,10,10,.06);
  --shadow-lift: 0 2px 4px rgba(10,10,10,.06), 0 24px 60px rgba(10,10,10,.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ Typography ============ */

.display {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-variation-settings: "opsz" 96;
}
.display .it {
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.045em;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.num {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 62ch;
}

/* ============ Layout ============ */

.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .shell { padding: 0 22px; }
}

.rule {
  height: 1px;
  background: var(--paper-3);
  border: 0;
  margin: 0;
}
.rule-ink { background: rgba(10,10,10,.12); }

/* ============ Nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--paper-3); }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right .3s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang-toggle button {
  padding: 6px 8px;
  color: var(--muted-2);
  transition: color .2s ease;
  border-radius: 4px;
}
.lang-toggle button.active { color: var(--ink); }
.lang-toggle .divider { color: var(--paper-3); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: #222; transform: translateY(-1px); }
.btn-arrow { transition: transform .3s ease; }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.nav-hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; }
.nav-hamburger span::before,
.nav-hamburger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--ink);
}
.nav-hamburger span::before { top: -6px; }
.nav-hamburger span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
}

/* Mobile menu */
.mob-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mob-menu.open { transform: translateX(0); }
.mob-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mob-menu-close { font-size: 28px; padding: 8px; }
.mob-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
}
.mob-menu-links a {
  font-family: var(--ff-display);
  font-size: 40px;
  line-height: 1.1;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-3);
}

/* ============ Hero ============ */

.hero {
  padding: 90px 0 60px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero-eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(56px, 10vw, 168px);
  letter-spacing: -0.035em;
}
.hero-title .it { font-style: normal; font-weight: 300; letter-spacing: -0.045em; }
.hero-title .coral { color: var(--coral); }
.hero-title .sand { color: var(--sand); background: var(--ink); padding: 0 .12em; }

.hero-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: end;
}
@media (max-width: 820px) {
  .hero-sub { grid-template-columns: 1fr; gap: 28px; }
}
.hero-sub-left .lead { max-width: 38ch; }
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-self: end;
  text-align: right;
}
@media (max-width: 820px) {
  .hero-meta { justify-self: start; text-align: left; }
}
.hero-meta-item { font-size: 13px; color: var(--muted); }
.hero-meta-item strong { color: var(--ink); font-weight: 500; }

/* marquee status bar under hero */
.status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 72px;
  padding: 14px 0;
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2a9d5f;
  box-shadow: 0 0 0 0 rgba(42,157,95,.5);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42,157,95,.5); }
  70% { box-shadow: 0 0 0 8px rgba(42,157,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(42,157,95,0); }
}
.status-items {
  display: flex;
  gap: 40px;
  animation: scroll-left 40s linear infinite;
  flex-shrink: 0;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.status-items span { display: inline-flex; align-items: center; gap: 10px; }
.status-items .sep { color: var(--paper-3); }

/* ============ Section shell ============ */

.section {
  padding: 120px 0;
  position: relative;
}
.section-tight { padding: 80px 0; }
.section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .eyebrow { color: var(--paper-3); }
.section-dark .rule { background: rgba(250,247,242,.14); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: baseline;
  margin-bottom: 64px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
}
.section-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.section-title {
  font-size: clamp(36px, 5.2vw, 84px);
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.section-title .it { font-style: normal; font-weight: 300; color: var(--muted); letter-spacing: -0.045em; }
.section-kicker {
  font-size: 13px;
  color: var(--muted);
  max-width: 26ch;
  justify-self: end;
}
@media (max-width: 820px) {
  .section-kicker { justify-self: start; }
}

/* ============ Clients marquee ============ */

.clients {
  padding: 28px 0;
  background: var(--paper);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  overflow: hidden;
}
.clients-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 40px 18px;
}
.clients-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 120px, black calc(100% - 120px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 120px, black calc(100% - 120px), transparent 100%);
}
.clients-track {
  display: flex;
  gap: 72px;
  width: max-content;
  animation: scroll-left 50s linear infinite;
  align-items: center;
  padding: 12px 0;
}
.clients:hover .clients-track { animation-play-state: paused; }
.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 160px;
  padding: 0 8px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity .3s ease, filter .3s ease;
  flex-shrink: 0;
}
.client-item img {
  max-height: 56px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.client-item:hover { opacity: 1; filter: grayscale(0%); }

/* ============ Services ============ */

.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10,10,10,.12);
}
.service-row {
  display: grid;
  grid-template-columns: 80px minmax(260px, 1.1fr) minmax(0, 1.6fr) auto;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(10,10,10,.12);
  align-items: start;
  cursor: pointer;
  transition: padding .35s ease;
  position: relative;
}
.service-row:hover { padding: 48px 16px; }
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
  border-radius: 4px;
}
.service-row:hover::before { opacity: 0.03; }
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .service-row:hover { padding: 32px 0; }
}
.service-num { font-family: var(--ff-mono); font-size: 13px; color: var(--muted); padding-top: 12px; }
.service-name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  padding-top: 4px;
}
.service-name .it { font-style: normal; font-weight: 300; color: var(--muted); letter-spacing: -0.035em; }
.service-desc {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
  padding-top: 14px;
  max-width: 52ch;
}
.service-arrow {
  padding-top: 14px;
  font-size: 20px;
  transition: transform .35s ease;
}
.service-row:hover .service-arrow { transform: translate(4px, -4px); }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  grid-column: 2 / 4;
}
@media (max-width: 900px) {
  .service-tags { grid-column: auto; }
}
.tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border: 1px solid rgba(10,10,10,.18);
  border-radius: 999px;
  color: var(--muted);
}

/* ============ Metrics ============ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid rgba(250,247,242,.15);
}
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
.metric {
  padding: 40px 32px;
  border-right: 1px solid rgba(250,247,242,.15);
  border-bottom: 1px solid rgba(250,247,242,.15);
  border-top: 1px solid rgba(250,247,242,.15);
  position: relative;
  overflow: hidden;
}
.metric-num {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.metric-num .suffix {
  font-size: 0.32em;
  color: var(--muted-2);
  font-family: var(--ff-mono);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
  align-self: center;
  line-height: 1;
}
.metric-label {
  font-size: 13px;
  color: var(--paper-3);
  max-width: 22ch;
  margin-top: 20px;
  line-height: 1.4;
}
.metric-marker {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

/* ============ Process ============ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--paper-3);
  border: 1px solid var(--paper-3);
}
@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step {
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: background .3s ease;
  position: relative;
}
.process-step:hover { background: var(--paper-2); }
.process-step .top { display: flex; justify-content: space-between; align-items: baseline; }
.process-step .step-num {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 42px;
  color: var(--coral);
  line-height: 1;
  letter-spacing: -0.04em;
}
.process-step:nth-child(2) .step-num { color: var(--sand); }
.process-step:nth-child(3) .step-num { color: var(--coral); }
.process-step:nth-child(4) .step-num { color: var(--sand); }
.process-step:nth-child(5) .step-num { color: var(--coral); }
.process-step .step-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.process-step h3 {
  font-family: var(--ff-display);
  font-size: 32px;
  line-height: 1.05;
  margin: 30px 0 14px;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ============ Stack (martech) ============ */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(10,10,10,.1);
  border: 1px solid rgba(10,10,10,.1);
}
@media (max-width: 820px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
.stack-item {
  background: var(--paper);
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: background .25s ease;
  position: relative;
}
.stack-item:hover { background: var(--paper-2); }
.stack-item img {
  max-height: 48px;
  max-width: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter .3s ease, opacity .3s ease;
}
.stack-item:hover img { filter: grayscale(0%); opacity: 1; }
.stack-item .name {
  font-family: var(--ff-display);
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stack-item .cat {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* ============ Industries ============ */

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
}
.industry-pill {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--paper-3);
  background: var(--paper);
  color: var(--ink);
  letter-spacing: -0.03em;
  transition: all .3s ease;
  cursor: default;
}
.industry-pill.solid-coral { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.industry-pill.solid-sand { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.industry-pill.solid-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.industry-pill.it { font-weight: 300; letter-spacing: -0.035em; }
.industry-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ============ FAQ ============ */

.faq-list { border-top: 1px solid rgba(10,10,10,.12); }
.faq-item {
  border-bottom: 1px solid rgba(10,10,10,.12);
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  text-align: left;
  transition: padding .25s ease;
}
.faq-q:hover { padding-left: 8px; }
.faq-q-num { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }
.faq-q-text {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.faq-q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 24px;
}
.faq-a-content {
  grid-column: 2;
  max-width: 60ch;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 28px; }

/* ============ Form ============ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
}
.form-left h2 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 24px;
  font-weight: 500;
}
.form-left h2 .it { font-weight: 300; color: var(--muted); letter-spacing: -0.045em; }
.form-contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.form-contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(10,10,10,.12);
  font-size: 14px;
  align-items: baseline;
}
.form-contact-row:last-child { border-bottom: 1px solid rgba(10,10,10,.12); }
.form-contact-row .k {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Form fields */
.form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.field {
  position: relative;
  border-bottom: 1px solid rgba(10,10,10,.2);
  padding: 22px 0 14px;
  transition: border-color .25s ease;
}
.field:focus-within { border-color: var(--ink); }
.field label {
  position: absolute;
  top: 22px;
  left: 0;
  font-size: 16px;
  color: var(--muted);
  pointer-events: none;
  transition: all .25s ease;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 0;
  outline: none;
  resize: none;
}
.field textarea { min-height: 90px; line-height: 1.5; }
.field.filled label,
.field:focus-within label {
  top: 0;
  font-size: 11px;
  font-family: var(--ff-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.service-select {
  padding: 22px 0;
  border-bottom: 1px solid rgba(10,10,10,.2);
}
.service-select-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border: 1px solid rgba(10,10,10,.2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  transition: all .2s ease;
  cursor: pointer;
  background: transparent;
}
.chip:hover { border-color: var(--ink); }
.chip.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.form-consent { font-size: 12px; color: var(--muted); max-width: 34ch; }

.form-success {
  padding: 40px;
  background: var(--paper-2);
  border-radius: 8px;
  text-align: center;
}
.form-success h3 {
  font-family: var(--ff-display);
  font-size: 40px;
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.form-success p { color: var(--muted); max-width: 40ch; margin: 0 auto; }

/* ============ Footer ============ */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 32px;
}
.footer-big {
  font-family: var(--ff-display);
  font-size: clamp(60px, 14vw, 220px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0 0 40px;
  display: flex;
  align-items: baseline;
  gap: .1em;
  flex-wrap: wrap;
}
.footer-big .it { font-weight: 300; letter-spacing: -0.055em; }
.footer-big .coral { color: var(--coral); }
.footer-big .sand { color: var(--sand); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(250,247,242,.18);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a { display: block; padding: 6px 0; font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--coral); }
.footer-col p { font-size: 14px; color: var(--paper-3); margin: 0; line-height: 1.6; max-width: 30ch; }

.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,242,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.footer-socials a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(250,247,242,.12);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ Reveal on scroll ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Tweaks panel ============ */

.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: 12px;
  padding: 18px;
  width: 280px;
  box-shadow: var(--shadow-lift);
  font-family: var(--ff-sans);
  max-height: 70vh;
  overflow-y: auto;
}
.tweaks-panel h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 500;
}
.tweaks-panel .group { margin-bottom: 20px; }
.tweaks-panel .group:last-child { margin-bottom: 0; }
.tweaks-panel label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.tweaks-swatches { display: flex; gap: 6px; }
.tweaks-swatch {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease;
}
.tweaks-swatch:hover { transform: scale(1.1); }
.tweaks-swatch.active { border-color: var(--ink); }
.tweaks-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tweaks-opt {
  padding: 8px 10px;
  border: 1px solid var(--paper-3);
  border-radius: 6px;
  font-size: 12px;
  text-align: left;
  transition: all .2s ease;
}
.tweaks-opt.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
