/* Halden art-direction layer: loaded after halden.css. Owns the hero, type scale and signature motifs. */

:root {
  --radius-xl: 32px;
  --shadow-card: 0 1px 0 rgba(15, 42, 36, 0.04), 0 18px 40px -18px rgba(15, 42, 36, 0.28);
}

body { font-size: 17px; }

h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.accent { letter-spacing: -0.01em; }

/* Eyebrow becomes a queue-ticket chip: "Now seeing 01" */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--ink); background: var(--surface); border: 1px dashed var(--ink);
  padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 1rem;
}
.section--mint .eyebrow, .section--sky .eyebrow { background: rgba(255, 255, 255, 0.7); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(255, 91, 58, 0.18); }

/* Hero */
.hero { background: var(--mint); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 34ch; color: var(--muted); margin: 1.2rem 0 1.8rem; }
.hero-facts { list-style: none; margin: 2.2rem 0 0; padding: 1.2rem 0 0; border-top: 1px dashed var(--ink); display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.95rem; color: var(--muted); }
.hero-facts b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 1.35rem; color: var(--ink); }

.hero-visual { position: relative; padding-bottom: 5.5rem; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.hero-chip {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
  background: var(--ink); color: var(--surface); font-family: var(--font-mono); font-size: 0.8rem;
  padding: 0.45rem 0.8rem; border-radius: 999px;
}
.hero-ticket {
  position: absolute; left: clamp(-3rem, -4vw, -1rem); bottom: 0; width: min(460px, 100%); z-index: 3;
  background: var(--surface); border-radius: 22px; padding: 1rem; box-shadow: var(--shadow-card);
  transform: rotate(-2.5deg); border: 1px solid var(--line);
}
.hero-ticket .ticket-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6rem; }
.hero-ticket .ticket-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
.hero-ticket label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.hero-ticket select { font-size: 0.8rem; padding: 0.55rem 1.4rem 0.55rem 0.5rem; min-height: 44px; width: 100%; text-overflow: ellipsis; }
.hero-ticket .ticket-fields { grid-template-columns: 1.15fr 1.15fr 0.9fr; }
.hero-ticket .appt-card { margin-top: 0.7rem; box-shadow: none; }

/* Appointment card: bigger stub, perforation, slide-out on load */
.appt-card { --stub-width: 112px; box-shadow: var(--shadow-card); }
.appt-main { border-right: 2px dashed var(--line); }
.appt-time { font-size: 1.05rem; font-weight: 500; }
.appt-stub { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.appt-stub strong { font-size: 2.1rem; font-weight: 500; letter-spacing: -0.02em; margin-top: 0.2rem; }
@keyframes slot-out { from { transform: translateY(18px) rotate(-2.5deg); opacity: 0; } to { transform: translateY(0) rotate(-2.5deg); opacity: 1; } }
.js .hero-ticket { animation: slot-out 0.7s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Buttons */
.btn { min-height: 52px; padding: 0 1.4rem; border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; }
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--surface); }
.btn--ghost { border: 1.5px solid var(--ink); background: transparent; }

/* Trust bar: big mono numbers on ink */
[data-section="trust-bar"] { background: var(--ink); color: var(--surface); padding: 2.2rem 0; }
[data-section="trust-bar"] .metric { background: transparent; border: 0; border-left: 1px dashed rgba(255, 255, 255, 0.35); border-radius: 0; padding: 0.2rem 0 0.2rem 1.3rem; }
[data-section="trust-bar"] .metric strong { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; }
[data-section="trust-bar"] .metric .muted { color: rgba(255, 255, 255, 0.72); }

/* Cards */
.card, .list-card { border-radius: 24px; padding: 1.4rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover, .list-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; margin-top: 0.4rem; }

/* Clinician tiles: portrait crops on sky */
.card img, .list-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%; border-radius: 18px; background: var(--sky); margin-bottom: 0.9rem; }

/* Final CTA + footer */
[data-section="final-cta"] .cta-band, .cta-band { background: var(--signal); color: var(--ink); border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 4rem); }
.cta-band .btn--primary { background: var(--ink); color: var(--surface); }
.footer { background: var(--ink); color: var(--surface); }
.footer .muted, .footer p { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 810px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding-bottom: 0; }
  .hero-media img { aspect-ratio: 5 / 4; max-height: 420px; }
  .hero-ticket { position: relative; left: auto; width: 100%; margin-top: -3rem; transform: none; }
  .js .hero-ticket { animation: none; }
  [data-section="trust-bar"] .trust-bar { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 390px) {
  .hero-ticket .ticket-fields { grid-template-columns: 1fr; }
  .hero-facts { gap: 0.8rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-ticket { animation: none; }
  .card:hover, .list-card:hover { transform: none; }
}

/* Tap targets >= 44px for footer links and brand */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.35rem; }
