/* ==========================================================================
   Vizonomy — shared styles (home + contact)
   ========================================================================== */

:root {
  --bg: #f4f1ea;
  --bg-soft: #ebe8e0;
  --bg-dots: #f1eee6;
  --paper: #fffdf8;
  --field: #f9f7f2;
  --ink: #1d1b17;
  --ink-2: #2a2722;
  --ink-3: #3d3a33;
  --muted: #6b665c;
  --muted-2: #7a7468;
  --muted-3: #8d877b;
  --line: #ddd8cc;
  --line-2: #cfc9bc;
  --line-3: #ece7dc;
  --accent: #a8501d;
  --accent-soft: #f1d9c6;
  --accent-light: #e28a52;
  --hot: #ff7a2e;
  --error: #b3401a;
  --dark-text: #d3cdc1;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --max: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
button, input, textarea { font: inherit; }

/* ---------- Shared primitives ---------- */

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { border-top: 1px solid var(--line); }
.section > .container { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-wrap: balance;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.42;
  margin: 0 0 20px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lede--lg { font-size: clamp(21px, 2vw, 30px); line-height: 1.4; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  padding: 10px 18px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--dark { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; padding: 11px 20px; }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--lg { padding: 18px 30px; font-size: 18px; }

.num { font-family: var(--mono); color: var(--accent); }

/* ---------- Status bar + header ---------- */

.top { position: sticky; top: 0; z-index: 20; }

.statusbar {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  white-space: nowrap;
}
.statusbar div { display: flex; gap: 28px; }
.statusbar .k { color: var(--muted-3); }

.header { background: rgba(244, 241, 234, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); flex-wrap: wrap; font-size: 16px; }
.nav a { text-decoration: none; }
.nav__ctas { display: flex; gap: 10px; }

.header__mobile { display: none; align-items: center; gap: 8px; margin-left: auto; }
.header__mobile .btn--dark { padding: 12px 14px; font-size: 14px; }

.burger {
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  font-size: 20px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.mobile-nav a { text-decoration: none; padding: 12px 0; }

@media (max-width: 759px) {
  .statusbar { display: none; }
  .header__inner { gap: 12px; }
  .logo { font-size: 26px; }
  .header .nav { display: none; }
  .header__mobile { display: flex; }
  .header.is-open .mobile-nav { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--gutter) 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: center;
}
.hero .eyebrow { margin-bottom: 28px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 104px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  text-wrap: balance;
  min-height: 3em;
}
.hero__text {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0 0 44px;
  max-width: 620px;
  min-height: 3em;
  text-wrap: pretty;
}
.hl { background: var(--accent-soft); padding: 0 6px; border-radius: 3px; }
.hero__title, .hero__text { transition: opacity .35s ease; }
.is-swapping .hero__title, .is-swapping .hero__text { opacity: 0; }

.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.dots { display: flex; gap: 14px; margin-top: 64px; align-items: center; }
.dot { border: 0; padding: 0; cursor: pointer; height: 6px; width: 6px; border-radius: 3px; background: #c4beb1; transition: width .3s, background-color .3s; }
.dot.is-active { width: 28px; background: var(--ink); }

.hero__visual { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: end; }
.hero__visual > img,
.hero__layer { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 6px; }
.hero__visual > img { object-fit: cover; background: #f3f0e8; pointer-events: none; transition: opacity .7s ease; }
.hero__visual > img.contain { object-fit: contain; }
.hero__layer { pointer-events: none; transition: opacity .7s ease; }
.hero__layer--clip { overflow: hidden; }
.is-hidden { opacity: 0 !important; }

.hero-card {
  position: absolute;
  top: 28px;
  left: -8px;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(40, 30, 15, .16);
  padding: 22px 24px;
  width: 300px;
  max-width: 80%;
  transition: opacity .5s ease;
}
.hero-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 6px; }
.hero-card__title { font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.hero-card__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding: 6px 0; border-top: 1px solid var(--line-3); }
.hero-card__row span:first-child { color: var(--muted-2); }

/* ---------- Animated overlay primitives ---------- */

.abs { position: absolute; }
.pin { position: absolute; width: 0; height: 0; }
.pulse {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  border: 3px solid var(--hot);
  background: rgba(255, 122, 46, .12);
  box-shadow: 0 0 0 2px rgba(255, 253, 248, .7), 0 0 18px rgba(255, 122, 46, .6);
  opacity: 0;
  animation: vzPulse 3.3s ease-out infinite;
}
.pin__core {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hot);
  border: 3px solid var(--paper);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.ask {
  position: absolute;
  width: 236px;
  max-width: 70%;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(40, 30, 15, .24);
  padding: 12px 14px 13px;
  opacity: 0;
}
.ask__dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--hot);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 6px rgba(255, 122, 46, .25), 0 2px 6px rgba(0, 0, 0, .3);
  opacity: 0;
}
.ask__head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.ask__ai { width: 18px; height: 18px; border-radius: 4px; background: var(--ink); color: var(--bg); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ask__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--accent); }
.ask__q { font-size: 14px; line-height: 1.4; color: var(--ink); text-wrap: pretty; }

.tip {
  position: absolute;
  width: 190px;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(40, 30, 15, .22);
  padding: 12px 14px;
  animation: vzBob 5s ease-in-out infinite;
}
.tip__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--accent); margin-bottom: 3px; }
.tip__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.tip__title { font-weight: 600; font-size: 14px; }
.tip__value { font-size: 13px; color: var(--muted); }
.tip__bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; border-bottom: 1px solid #e3ddd0; }
.tip__bars div { flex: 1; background: #2f5d7c; border-radius: 2px 2px 0 0; transform-origin: bottom; animation: vzBar 4.5s cubic-bezier(.3, 0, .2, 1) infinite; }
.tip__bars div.hot { background: var(--hot); }
.tip svg { display: block; border-bottom: 1px solid #e3ddd0; }
.tip svg path { stroke-dasharray: 220; animation: vzDraw 5s ease-in-out .6s infinite; }

/* ---------- Logos ---------- */

.logos { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px var(--gutter); }
.logos__label { text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 36px; }
.logos__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 40px; align-items: center; }
.logos__grid div { height: 60px; display: flex; align-items: center; justify-content: center; }
.logos__grid img { width: auto; max-width: 100%; object-fit: contain; display: block; }

/* ---------- Story / dashboard frame ---------- */

.story { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.story .h2 { font-size: clamp(38px, 4.6vw, 72px); max-width: 1000px; margin-bottom: 36px; }
.story .lede { max-width: 960px; margin-bottom: 64px; }

.browser { background: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 70px rgba(40, 30, 15, .22); }
.browser__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; color: #e9e4d8; font-size: 15px; border-bottom: 1px solid #34312b; }
.browser__bar > div { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.browser__name { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.browser__crumb { color: var(--muted-2); }
.browser__live { background: var(--accent); color: #fff; border-radius: 4px; padding: 6px 14px; font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; }
.browser__live:hover { color: #fff; background: #8f4318; }

.shot { position: relative; overflow: hidden; }
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot__fx { position: absolute; inset: 0; pointer-events: none; }
.shot--inflow { aspect-ratio: 3010 / 1468; background: #26231e; }
.shot--services { aspect-ratio: 3006 / 1646; border-radius: 6px; box-shadow: 0 24px 60px rgba(40, 30, 15, .18); background: #fff; }
.shot--carto { aspect-ratio: 1040 / 1000; border-radius: 6px; }

/* dashboard tour overlay */
.tour-card { position: absolute; width: 16.8%; height: 37.6%; border-radius: 12px; border: 3px solid var(--hot); box-shadow: 0 0 0 4px rgba(255, 122, 46, .22), 0 10px 30px rgba(0, 0, 0, .18); transition: all .9s cubic-bezier(.65, 0, .35, 1); }
.tour-pin { transition: all .9s cubic-bezier(.65, 0, .35, 1); }
.tour-pin .pulse { width: 120px; height: 120px; animation-duration: 2.4s; box-shadow: 0 0 0 2px rgba(255, 253, 248, .7); }
.tour-pin .pin__core { width: 14px; height: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.tour-cursor { position: absolute; transition: all 1.1s cubic-bezier(.65, 0, .35, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }

/* services shot overlay */
.reveal { position: absolute; background: #fff; transform-origin: top; animation: vzGrow 7s cubic-bezier(.3, 0, .2, 1) infinite; }
.twinkle { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #c8463b; box-shadow: 0 0 0 3px rgba(200, 70, 59, .25); opacity: 0; animation: vzTwinkle 4.9s ease-in-out infinite; }

/* carto overlay */
.carto-row { position: absolute; left: 10.5%; width: 48.5%; background: rgba(255, 0, 230, .12); border-left: 3px solid #ff2ad4; border-radius: 3px; transition: all .8s cubic-bezier(.65, 0, .35, 1); }
.carto-pin { transition: all .8s cubic-bezier(.65, 0, .35, 1); }
.carto-pin .pulse { width: 130px; height: 130px; border: 2.5px solid #ff4fe0; background: none; box-shadow: 0 0 14px rgba(255, 79, 224, .7); animation-duration: 2.4s; }
.carto-pin .pin__core { width: 14px; height: 14px; background: #ff4fe0; border-color: #fff; box-shadow: 0 0 10px rgba(255, 79, 224, .9); }
.caret { position: absolute; left: 10.4%; top: 90.2%; width: 2px; height: 2.4%; background: var(--ink); animation: vzBlink 1s steps(2) infinite; }

/* ---------- Lists (sources / services / requests / industries) ---------- */

.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 48px; align-content: start; }
.sources div { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding: 24px 0; font-family: var(--mono); font-size: 15px; letter-spacing: 0.1em; }
.sources .num { font-size: 12px; }

.services__intro { margin-bottom: 88px; }
.services__more { font-size: 20px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); column-gap: 40px; }
.cols--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.col-item { display: block; border-top: 1px solid var(--line-2); padding: 28px 0 40px; text-decoration: none; }
.col-item .num { font-size: 14px; margin-bottom: 24px; display: block; }
.col-item__title { font-weight: 600; font-size: 22px; margin-bottom: 12px; }
.col-item__body { font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cols--wide .col-item { padding: 24px 0 30px; }
.cols--wide .col-item__title { font-size: 21px; margin-bottom: 8px; }
a.col-item:hover .col-item__title { color: var(--accent); }

.requests__label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; }
.requests div { display: flex; gap: 16px; border-top: 1px solid var(--line); padding: 14px 0; font-size: 17px; }
.requests .num { font-size: 13px; padding-top: 3px; }

.dash-detail { aspect-ratio: 4 / 5; max-height: 720px; border-radius: 6px; overflow: hidden; }
.dash-detail img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; display: block; }

/* ---------- CARTO ---------- */

.partner { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter) var(--section-y); }
.partner__box {
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  padding: clamp(36px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 56px;
  align-items: center;
  box-shadow: 0 30px 70px rgba(40, 30, 15, .2);
}
.partner .eyebrow { color: var(--accent-light); }
.partner .h2 { font-size: clamp(36px, 4.2vw, 62px); line-height: 1.06; margin-bottom: 28px; }
.partner p { font-size: 19px; line-height: 1.6; color: var(--dark-text); margin: 0 0 28px; text-wrap: pretty; }
.partner a { color: var(--bg); font-size: 19px; }
.partner a:hover { color: var(--accent-light); }

/* ---------- AR phones ---------- */

.phones { display: flex; gap: 24px; justify-content: center; }
.phone { width: min(46%, 280px); aspect-ratio: 9 / 19; border-radius: 36px; border: 10px solid #3b3832; overflow: hidden; box-shadow: 0 24px 50px rgba(40, 30, 15, .2); }
.phone + .phone { margin-top: 56px; }
.phone__screen { width: 100%; height: 100%; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.phone__screen::-webkit-scrollbar { display: none; }
.phone__screen img { display: block; width: 100%; height: auto; }

/* ---------- Work ---------- */

.work .h2 { max-width: 1000px; margin-bottom: 36px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.chip {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.work__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 56px 36px; }
.work__item[hidden] { display: none; }
.work__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.work__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.work__frame img.contain { object-fit: contain; }
.work__frame:hover img { animation-play-state: paused; }
.anim-zoom { animation: vzZoom 18s ease-in-out infinite; }
.anim-zoom-slow { animation: vzZoom 20s ease-in-out infinite; }
.anim-pan { animation: vzPan 18s ease-in-out infinite; }
.anim-steps { animation: vzSteps 30s ease-in-out infinite; }
.work__meta { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 10px; }
.work__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0 0 10px; }
.work__body { font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.work__frame--lens { cursor: none; }
.lens { position: absolute; left: 30%; top: 40%; width: 0; height: 0; pointer-events: none; }
.lens__handle { position: absolute; left: 26px; top: 26px; width: 8px; height: 35px; background: #3b3832; border-radius: 3px; transform: rotate(-45deg); transform-origin: top center; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.lens__glass {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #3b3832;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .5);
  background-color: #fff;
  background-image: url(../assets/work-who-hpv.webp);
  background-repeat: no-repeat;
}

/* ---------- CTA ---------- */

.cta { border-top: 1px solid var(--line); background-color: var(--bg-dots); background-image: radial-gradient(#d9d4c6 1.4px, transparent 1.6px); background-size: 14px 14px; }
.cta__inner { max-width: 1000px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); text-align: center; }
.cta__box { display: inline-block; max-width: 100%; background: var(--bg-dots); padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px); border-radius: 8px; }
.cta .h2 { font-size: clamp(44px, 6vw, 92px); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 28px; }
.cta p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-3); margin: 0 0 40px; }
.cta .ctas { justify-content: center; }
.cta .btn:not(.btn--dark) { background: var(--bg); }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--dark-text); }
.footer__grid { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 48px; }
.footer__brand { grid-column: span 2; min-width: 0; }
.footer__logo { font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -0.03em; color: var(--bg); margin-bottom: 10px; }
.footer__tag { font-size: 18px; margin-bottom: 28px; }
.address { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; line-height: 1.9; color: #a39d90; }
.footer__head { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; color: var(--muted-3); margin-bottom: 22px; }
.footer__links { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.footer__links a { color: #e9e4d8; text-decoration: none; }
.footer__links a:hover { color: var(--accent-light); }
.footer__legal { max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter); border-top: 1px solid #34312b; font-size: 14px; color: var(--muted-3); }
@media (max-width: 759px) { .footer__brand { grid-column: auto; } }

/* ==========================================================================
   Contact page
   ========================================================================== */

.page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-header { border-bottom: 1px solid var(--line); }

.contact {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__intro { position: sticky; top: 32px; }
.contact__intro .eyebrow { margin-bottom: 24px; }
.contact__title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 92px); line-height: 1; letter-spacing: -0.025em; margin: 0 0 32px; text-wrap: balance; }
.contact__intro .lede { font-size: clamp(20px, 1.8vw, 26px); max-width: 560px; margin-bottom: 28px; }
.contact__intro .address { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 40px; color: var(--muted); }
@media (max-width: 900px) { .contact__intro { position: static; } }

.card { background: var(--paper); border: 1px solid #e3ddd0; border-radius: 8px; box-shadow: 0 24px 60px rgba(40, 30, 15, .10); padding: clamp(24px, 4vw, 48px); }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.input {
  border: 1px solid var(--line);
  background: var(--field);
  border-radius: 4px;
  padding: 14px;
  font-size: 17px;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .15s, background-color .15s;
}
.input:focus { border-color: var(--ink); background: #fff; }
textarea.input { line-height: 1.5; resize: vertical; min-height: 150px; }
.field.has-error .input { border-color: var(--error); }
.field__error { font-size: 13px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }

.group { display: flex; flex-direction: column; gap: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  cursor: pointer;
  font-size: 15px;
  padding: 9px 14px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  transition: background-color .15s, color .15s, border-color .15s;
}
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.consent { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-3); padding-top: 20px; }
.consent p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }
.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }

.form__submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__submit .btn--dark { border: 0; padding: 18px 32px; font-size: 18px; }
.form__submit .btn--dark:disabled { opacity: .6; cursor: progress; }
.form__note { font-size: 14px; color: var(--muted-3); }


.success { padding: 48px 0; text-align: center; }
.success__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 24px; }
.success h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; margin: 0 0 16px; }
.success p { font-size: 18px; line-height: 1.5; color: var(--ink-3); margin: 0 0 32px; }

.footer--slim .footer__bar { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #a39d90; align-items: center; }
.footer--slim .footer__logo { font-size: 22px; margin: 0; }

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes vzGrow { 0%, 8% { transform: scaleY(1); } 30%, 100% { transform: scaleY(0); } }
@keyframes vzTwinkle { 0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes vzBar { 0% { transform: scaleY(0); } 30%, 80% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes vzDraw { 0% { stroke-dashoffset: 220; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 220; } }
@keyframes vzBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes vzAsk { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 7%, 24% { opacity: 1; transform: translateY(0) scale(1); } 30%, 100% { opacity: 0; transform: translateY(-4px) scale(.98); } }
@keyframes vzBlink { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes vzPan { 0%, 10% { object-position: 50% 0%; } 45%, 60% { object-position: 50% 100%; } 95%, 100% { object-position: 50% 0%; } }
@keyframes vzSteps { 0%, 10% { object-position: 50% 0%; } 17%, 32% { object-position: 50% 34%; } 39%, 54% { object-position: 50% 68%; } 61%, 80% { object-position: 50% 100%; } 90%, 100% { object-position: 50% 0%; } }
@keyframes vzZoom { 0%, 100% { transform: scale(1); transform-origin: 30% 40%; } 50% { transform: scale(1.08); transform-origin: 60% 55%; } }
@keyframes vzPulse { 0% { transform: translate(-50%, -50%) scale(.15); opacity: 1; } 60% { opacity: .7; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
