/* ============================================================================
   HearDesk — editorial-tech dark theme. Fraunces display + Hanken Grotesk body.
   Accent: sodium amber. Bold, asymmetric, voice-forward.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --ink: #f4efe6; /* warm off-white */
  --ink-dim: #a39e94;
  --ink-faint: #6b675f;
  --line: rgba(244, 239, 230, 0.1);
  --line-2: rgba(244, 239, 230, 0.16);
  --amber: #ffb02e; /* sodium amber accent */
  --amber-2: #ff8a1e;
  --amber-glow: rgba(255, 176, 46, 0.22);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--amber);
  color: #1a1200;
}

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

/* ── Overlays: grain + atmospheric glow ──────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: fixed;
  top: -22vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 90vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 70% 8%, var(--amber-glow), transparent 70%), radial-gradient(45% 45% at 18% 0%, rgba(255, 138, 30, 0.1), transparent 70%);
  filter: blur(8px);
}

/* ── Layout helpers ──────────────────────────────────────────────────────── */
main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

main > section,
.site-footer {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Header bar spans full viewport; its content stays aligned to the content column. */
.site-header {
  width: 100%;
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2));
}

main > section {
  padding-block: clamp(72px, 12vh, 160px);
}

.eyebrow,
.section-index {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}
.section-index {
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
em {
  font-style: italic;
  color: var(--amber);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10000;
  background: var(--amber);
  color: #1a1200;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --bx: 1.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.92em var(--bx);
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  color: var(--ink);
  transition:
    transform 0.35s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--amber);
  color: #1a1200;
  box-shadow: 0 0 0 0 var(--amber-glow);
}
.btn--primary:hover {
  background: #ffbe52;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px var(--amber-glow);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}
.btn--small {
  padding: 0.6em 1.1em;
  font-size: 0.9rem;
  background: var(--ink);
  color: var(--bg);
}
.btn--small:hover {
  background: var(--amber);
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn__pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 var(--amber);
  animation: pulse 2s infinite var(--ease);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 176, 46, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 176, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 176, 46, 0);
  }
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.4) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.site-header.is-stuck {
  border-color: var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.wordmark__text {
  color: var(--ink);
}
.wordmark__accent {
  color: var(--amber);
}
.wordmark__bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 1.1em;
}
.wordmark__bars i {
  width: 3px;
  border-radius: 3px;
  background: var(--amber);
  display: block;
  height: 40%;
  animation: bar 1.4s var(--ease) infinite;
}
.wordmark__bars i:nth-child(1) {
  animation-delay: 0s;
  height: 35%;
}
.wordmark__bars i:nth-child(2) {
  animation-delay: 0.15s;
  height: 70%;
}
.wordmark__bars i:nth-child(3) {
  animation-delay: 0.3s;
  height: 100%;
}
.wordmark__bars i:nth-child(4) {
  animation-delay: 0.45s;
  height: 70%;
}
.wordmark__bars i:nth-child(5) {
  animation-delay: 0.6s;
  height: 35%;
}
@keyframes bar {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.site-nav a {
  font-size: 0.95rem;
  color: var(--ink-dim);
  transition: color 0.25s;
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav .btn--small {
  color: var(--bg);
}
.site-nav .btn--small:hover {
  color: #1a1200;
}
@media (max-width: 720px) {
  .site-nav a:not(.btn) {
    display: none;
  }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(40px, 8vh, 90px) !important;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.9rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.hero__title span {
  display: block;
}
.hero__title em {
  font-style: italic;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--ink-dim);
  max-width: 46ch;
  margin-bottom: 2.2rem;
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 1.6rem;
}
.hero__meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* Hero waveform visual */
.hero__viz {
  display: grid;
  place-items: center;
}
.wavewrap {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
/* soft amber bloom behind the dial */
.wavewrap::before {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(255, 176, 46, 0.18), rgba(255, 138, 30, 0.05) 45%, transparent 70%);
  filter: blur(14px);
}
.wavewrap__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  box-shadow:
    inset 0 0 90px rgba(255, 176, 46, 0.05),
    0 0 0 1px rgba(255, 176, 46, 0.04);
}
/* inner hairline ring for depth */
.wavewrap__ring::before {
  content: '';
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px solid var(--line);
}
/* the sweeping amber arc */
.wavewrap__ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--amber);
  border-right-color: rgba(255, 176, 46, 0.25);
  filter: drop-shadow(0 0 6px rgba(255, 176, 46, 0.45));
  animation: spin 7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#wave {
  width: 100%;
  height: 100%;
  display: block;
}
.wavewrap__label {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.82rem;
  color: var(--ink);
  white-space: nowrap;
  background: rgba(16, 16, 18, 0.78);
  backdrop-filter: blur(8px);
  padding: 0.55em 1.05em;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.6);
}
.wavewrap__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46d17a;
  box-shadow: 0 0 0 0 #46d17a;
  animation: pulse-g 2s infinite;
}
@keyframes pulse-g {
  0% {
    box-shadow: 0 0 0 0 rgba(70, 209, 122, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(70, 209, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(70, 209, 122, 0);
  }
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__viz {
    order: -1;
  }
  .wavewrap {
    width: min(72vw, 320px);
  }
  .hero__sub {
    max-width: 38ch;
  }
}
@media (max-width: 600px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
  }
}

/* ── Problem ─────────────────────────────────────────────────────────────── */
.problem {
  border-top: 1px solid var(--line);
}
.problem__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: 2.4rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.problem__title .figure {
  color: var(--amber);
  font-style: italic;
}
.strike {
  position: relative;
  white-space: nowrap;
}
.strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}
.is-in .strike::after {
  transform: scaleX(1);
}
.problem__cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink);
}
.lead strong {
  color: var(--amber);
  font-weight: 600;
}
.problem__list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
.problem__list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.1rem;
}
.problem__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
}
.problem__list span {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 720px) {
  .problem__cols {
    grid-template-columns: 1fr;
  }
}

/* ── How it works ────────────────────────────────────────────────────────── */
.how {
  border-top: 1px solid var(--line);
}
.how__head h2,
.features__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 18ch;
}
.how__head {
  margin-bottom: clamp(40px, 6vh, 72px);
}
.steps {
  list-style: none;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.step {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: clamp(16px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 13vw, 10rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink-faint);
  letter-spacing: -0.04em;
  transition:
    -webkit-text-stroke-color 0.5s var(--ease),
    color 0.5s var(--ease);
}
.step.is-in .step__num {
  -webkit-text-stroke-color: var(--amber);
}
.step__body h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 0.7rem;
}
.step__body p {
  color: var(--ink-dim);
  max-width: 52ch;
}
@media (max-width: 640px) {
  .step {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .step__num {
    font-size: 5rem;
  }
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features {
  border-top: 1px solid var(--line);
}
.features__head {
  margin-bottom: clamp(36px, 5vh, 60px);
}
.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: clamp(22px, 2.6vw, 34px);
  transition: background 0.4s var(--ease);
}
.feature:hover {
  background: var(--bg-2);
}
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature h3::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 1rem;
  transition: width 0.4s var(--ease);
}
.feature:hover h3::before {
  width: 40px;
}
.feature p {
  color: var(--ink-dim);
  font-size: 0.96rem;
}
.feature--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem 3rem;
  align-items: center;
}
.feature--wide h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}
@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature--wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature--wide {
    grid-column: span 1;
  }
}

/* ── ROI ─────────────────────────────────────────────────────────────────── */
.roi {
  border-top: 1px solid var(--line);
  text-align: left;
}
.roi h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: clamp(36px, 5vh, 56px);
}
.roi__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: stretch;
}
.roi__card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.roi__card--muted {
  color: var(--ink-dim);
}
.roi__card--accent {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(255, 176, 46, 0.08), transparent);
  box-shadow: 0 30px 80px -40px var(--amber-glow);
}
.roi__tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.roi__card--accent .roi__tag {
  color: var(--amber);
}
.roi__big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.roi__big span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.roi__note {
  color: var(--ink-dim);
  font-size: 0.98rem;
  margin-top: auto;
}
.roi__vs {
  align-self: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1.4rem;
}
@media (max-width: 760px) {
  .roi__compare {
    grid-template-columns: 1fr;
  }
  .roi__vs {
    justify-self: center;
  }
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact__intro h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 14ch;
  margin-bottom: 1.4rem;
}
.contact__lead {
  color: var(--ink-dim);
  font-size: 1.1rem;
  max-width: 34ch;
  margin-bottom: 1.6rem;
}
.contact__direct {
  color: var(--ink-faint);
  font-size: 0.95rem;
}
.contact__direct a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.85rem;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.req {
  color: var(--amber);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.85em 1em;
  resize: vertical;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: #131316;
  box-shadow: 0 0 0 4px rgba(255, 176, 46, 0.12);
}
.field input:user-invalid {
  border-color: #e0533f;
}

/* ── International phone input ────────────────────────────────────────────── */
.phone {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.phone:focus-within {
  border-color: var(--amber);
  background: #131316;
  box-shadow: 0 0 0 4px rgba(255, 176, 46, 0.12);
}
.phone__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0 0.85em 0 1em;
  border: 0;
  border-right: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 12px 0 0 12px;
  transition: background 0.2s var(--ease);
}
.phone__toggle:hover {
  background: rgba(255, 255, 255, 0.03);
}
.phone__toggle:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}
.phone__flag {
  font-size: 1.15em;
  line-height: 1;
}
.phone__dial {
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.phone__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-faint);
  transition: transform 0.25s var(--ease);
}
.phone__toggle[aria-expanded='true'] .phone__caret {
  transform: rotate(180deg);
}
.phone input[type='tel'] {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0 12px 12px 0;
  padding: 0.85em 1em;
}
.phone input[type='tel']:focus {
  outline: none;
  box-shadow: none;
}
.phone input[type='tel']::placeholder {
  color: var(--ink-faint);
}

.phone__menu[hidden] {
  display: none;
}
.phone__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  width: min(340px, 86vw);
  max-height: 320px;
  display: flex;
  flex-direction: column;
  background: #141417;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 176, 46, 0.04);
  overflow: hidden;
  animation: phone-pop 0.18s var(--ease);
}
@keyframes phone-pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.phone__search {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.phone__search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 0.6em 0.8em;
}
.phone__search input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 176, 46, 0.12);
}
.phone__search input::placeholder {
  color: var(--ink-faint);
}
.phone__list {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.phone__list li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.6em 0.7em;
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.95rem;
}
.phone__list li .pl-flag {
  font-size: 1.2em;
  line-height: 1;
  width: 1.4em;
  text-align: center;
}
.phone__list li .pl-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone__list li .pl-dial {
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.phone__list li:hover,
.phone__list li.is-active {
  background: rgba(255, 176, 46, 0.1);
}
.phone__list li.is-selected {
  color: var(--amber);
}
.phone__list li.is-selected .pl-dial {
  color: var(--amber);
}
.phone__empty {
  padding: 1.2em;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.4rem;
}
.form__status {
  font-size: 0.95rem;
  min-height: 1.2em;
}
.form__status.is-ok {
  color: #46d17a;
}
.form__status.is-err {
  color: #e0533f;
}
.btn.is-loading {
  position: relative;
  color: transparent;
}
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(26, 18, 0, 0.35);
  border-top-color: #1a1200;
  animation: spin 0.7s linear infinite;
}
@media (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 6vh, 72px);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.wordmark--sm {
  font-size: 1.15rem;
}
.site-footer__tag {
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  flex: 1 1 240px;
}
.site-footer__mail {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  color: var(--ink-faint);
  font-size: 0.9rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.site-footer__legal a {
  color: var(--ink-dim);
  transition: color 0.25s var(--ease);
}
.site-footer__legal a:hover {
  color: var(--amber);
}

/* ── Legal pages (privacy / terms) ───────────────────────────────────────── */
.legal {
  max-width: 760px;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  color: var(--ink-dim);
  margin-bottom: 2.4rem;
  transition: color 0.25s var(--ease);
}
.legal__back:hover {
  color: var(--amber);
}
.legal__back::before {
  content: '←';
  color: var(--amber);
}
.legal h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.8rem;
}
.legal__meta {
  color: var(--ink-faint);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 2.6rem;
}
.legal__intro {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line);
}
.legal section {
  margin-bottom: 2.4rem;
}
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.legal h2 .legal__n {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.legal p {
  color: var(--ink-dim);
  margin-bottom: 1rem;
  max-width: 66ch;
}
.legal ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
  max-width: 66ch;
}
.legal li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-dim);
}
.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.7;
}
.legal a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Reveal animations ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .wordmark__bars i,
  .wavewrap__ring::after,
  .btn__pulse,
  .wavewrap__dot {
    animation: none !important;
  }
}
