/* MedMinix marketing site — "the sentence is the layout", black on mustard
   (the colours of an Indian clinic signboard and a Mumbai taxi). */
@font-face { font-family: 'Big Shoulders'; src: url(/assets/fonts/big-shoulders-800-latin.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url(/assets/fonts/public-sans-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #e1ac10; --surface: #cd9d0f; --ink: #0b0b0b; --muted: #3f3208; --accent: #24338f; --accent-ink: #ffffff;
  --field-ink: #0b0b0b; --paper: #dfe4ea;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-giant: clamp(4.2rem, 1rem + 11.6vw, 12.5rem);
  --m: clamp(20px, 2.4vw, 32px);
  --step-big: clamp(3rem, 0.9rem + 7.4vw, 8.25rem);
  --step-statement: clamp(1.5rem, 0.6rem + 2.6vw, 2.25rem);
  --gap: clamp(120px, 14vw, 220px);
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --text: 'Public Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
.wrap { padding-left: var(--m); padding-right: var(--m); }
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.88; margin: 0; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 0; background: var(--accent); color: var(--accent-ink); font: 600 var(--step-body)/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .18s; }
.btn:hover { background: #1b2878; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ink { background: var(--ink); color: var(--bg); }
.btn.ink:hover { background: #2a2a2a; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 12px; position: relative; z-index: 3; }
.nav .mark { font-family: var(--display); font-weight: 800; font-size: var(--step-lead); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.nav ul { display: flex; gap: clamp(14px, 2.2vw, 36px); list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; font-weight: 600; }
.nav ul a:hover, .nav ul a[aria-current=page] { text-decoration: underline; }
.nav .btn { min-height: 44px; font-size: 15px; padding: 0 16px; }
@media (max-width: 760px) { .nav ul li:not(.keep) { display: none; } .nav .btn { display: none; } }

/* ---------- hero: the sentence ---------- */
.hero { min-height: auto; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(40px, 8vh, 96px); padding-bottom: 32px; }
.hero h1 { font-size: var(--step-giant); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.18em; row-gap: 0.04em; }
.hero h1 .w { display: inline-block; }
.slot { display: inline-block; position: relative; width: 1.55em; height: 0.74em; overflow: hidden; background: var(--ink); vertical-align: baseline; align-self: baseline; transform: translateY(0.02em); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .9s var(--ease); }
.slot img.on { opacity: 1; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-top: 48px; }
.hero-foot .lede { grid-column: 1 / span 6; font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; }
.hero-foot .acts { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-foot .acts a.more { font-weight: 600; }
@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: 28px; }
  .hero h1 { font-size: 14vw; line-height: 0.9; flex-direction: column; align-items: flex-start; }
  .slot { width: 100%; height: auto; aspect-ratio: 3 / 2; margin: 0.08em 0 0.1em; }
  .hero-foot { grid-template-columns: 1fr; margin-top: 28px; }
  .hero-foot .lede, .hero-foot .acts { grid-column: 1; align-items: stretch; }
  .hero-foot .acts .btn { width: 100%; }
}

/* ---------- section rhythm ---------- */
section { padding-top: var(--gap); }
.sec-head { font-size: var(--step-head); max-width: 24ch; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }

/* ---------- showcase: type your clinic ---------- */
.try h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: .9; max-width: 20ch; }
.try .line { display: flex; align-items: center; margin-top: 36px; background: var(--surface); }
.try input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-big); line-height: 1.05; padding: 0.06em 0.12em; caret-color: var(--accent); }
.try input:focus { outline: none; }
.try .line:focus-within { outline: 4px solid var(--accent); outline-offset: -4px; }
.try .answer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.try .addr { font-size: var(--step-lead); font-weight: 600; word-break: break-all; }
.try .addr span { background: var(--ink); color: var(--bg); padding: 0 .2em; }
.try .note { margin-top: 10px; }
.board { background: var(--ink); color: var(--bg); padding: 22px 24px; }
.board .bname { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: .9; word-break: break-word; }
.board .bline { margin-top: 10px; font-size: var(--step-body); color: #f7dc8a; }
.board .brow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.board .brow span { background: var(--bg); color: var(--ink); padding: 6px 12px; font-weight: 600; font-size: 15px; }
.try .examples { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; }
.try .examples button { background: none; border: 0; padding: 6px 0; font: 600 var(--step-body)/1.2 var(--text); color: var(--ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.try .examples button:hover { text-decoration-thickness: 3px; }
@media (max-width: 1000px) { .try .answer { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; } }
@media (max-width: 760px) {
  .try .examples button { background: var(--surface); padding: 0 14px; min-height: 44px; text-decoration: none; }
}

/* ---------- sample sites (pictures) ---------- */
.made .grid12 { margin-top: 56px; row-gap: 56px; align-items: end; }
.made figure { margin: 0; }
.made figure img { width: 100%; background: var(--surface); }
.made figcaption { margin-top: 12px; font-size: var(--step-body); max-width: 46ch; }
.made .a { grid-column: 1 / span 7; }
.made .b { grid-column: 9 / span 4; }
.made .c { grid-column: 2 / span 4; }
.made .d { grid-column: 7 / span 6; }
.made .intro { grid-column: 1 / span 6; }
.made .intro p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.35; }
@media (max-width: 900px) { .made .a, .made .b, .made .c, .made .d, .made .intro { grid-column: 1 / -1; } }

/* ---------- features: sentences with switches ---------- */
.switches { margin-top: 56px; }
.band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; min-height: 20vh; padding: 26px var(--m); transition: background-color .35s var(--ease); }
.band .s { font-size: var(--step-statement); font-weight: 600; line-height: 1.1; color: var(--muted); transition: color .3s; }
.band .c { font-size: var(--step-body); margin-top: 10px; max-width: 60ch; color: var(--ink); }
.band[data-on="false"] .c { display: none; }
.band[data-on="true"] .s { color: var(--ink); }
.band[data-on="true"]:nth-child(5n+1) { background: #dfe4ea; }
.band[data-on="true"]:nth-child(5n+2) { background: #9fc2e8; }
.band[data-on="true"]:nth-child(5n+3) { background: #e9c65a; }
.band[data-on="true"]:nth-child(5n+4) { background: #c9dfb4; }
.band[data-on="true"]:nth-child(5n+5) { background: #f0b4a3; }
.toggle { position: relative; width: 2.4em; height: 1.2em; border-radius: 999px; border: 0; background: var(--ink); cursor: pointer; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); padding: 0; flex: none; }
.toggle::after { content: ''; position: absolute; top: .14em; left: .14em; width: .92em; height: .92em; border-radius: 50%; background: var(--bg); transition: transform .25s var(--ease); }
.toggle[aria-checked="true"] { background: var(--accent); }
.toggle[aria-checked="true"]::after { transform: translateX(1.2em); background: #fff; }
@media (max-width: 760px) { .band { min-height: 132px; } }

/* ---------- how it works: staircase ---------- */
.steps { margin-top: 0; }
.steps li { list-style: none; margin-top: 56px; }
.steps li:first-child { margin-top: 0; }
.steps .l { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-big); line-height: 1; display: block; }
.steps .d { display: block; margin-top: 12px; max-width: 38ch; font-size: var(--step-body); }
.steps ol { padding: 0; margin: 0; }
.steps li:nth-child(1) { margin-left: 0; }
.steps li:nth-child(2) { margin-left: calc(100% / 12 * 2); }
.steps li:nth-child(3) { margin-left: calc(100% / 12 * 4); }
.steps li:nth-child(4) { margin-left: calc(100% / 12 * 6); }
.steps li:last-child .l { color: var(--accent); }
@media (max-width: 1000px) { .steps li:nth-child(2) { margin-left: 6vw; } .steps li:nth-child(3) { margin-left: 12vw; } .steps li:nth-child(4) { margin-left: 18vw; } .steps li { margin-top: 40px; } .steps .l { font-size: 9.6vw; } }

/* ---------- pricing sentence ---------- */
.price-field { background: var(--ink); color: var(--bg); margin-top: var(--gap); padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.price-field h2 { font-size: var(--step-big); color: var(--bg); }
.price-field .fig { background: var(--accent); color: #fff; padding: 0 .15em; }
.price-field .row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 64px; align-items: end; }
.price-field .row p { grid-column: 1 / span 6; font-size: var(--step-lead); color: #f7e3a6; max-width: 46ch; }
.price-field .row .acts { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.price-field a.more { color: var(--bg); font-weight: 600; }
.price-field .btn { background: var(--bg); color: var(--ink); }
.price-field .btn:hover { background: #f3c844; }
@media (max-width: 760px) { .price-field .row { grid-template-columns: 1fr; } .price-field .row p, .price-field .row .acts { grid-column: 1; align-items: stretch; } .price-field .btn { width: 100%; } }

/* ---------- FAQ table ---------- */
.faq .row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 80px; }
.faq .row:first-child { margin-top: 0; }
.faq .q { grid-column: 1 / span 6; font-size: var(--step-statement); font-weight: 600; line-height: 1.1; max-width: 22ch; }
.faq .a { grid-column: 8 / span 5; max-width: 42ch; font-size: var(--step-body); line-height: 1.55; }
.faq .row.head .q { color: var(--muted); }
@media (max-width: 760px) { .faq .row { grid-template-columns: 1fr; gap: 12px; margin-top: 56px; } .faq .q, .faq .a { grid-column: 1; } .faq .q { font-size: var(--step-lead); } }

/* ---------- CTA sentence with a blank ---------- */
.cta form { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 1.05; }
.cta .lbl { display: inline; }
.cta input { font: inherit; text-transform: none; width: 7.5em; max-width: 100%; height: 1.05em; border: 0; background: var(--surface); color: var(--ink); padding: 0 .18em; vertical-align: baseline; border-radius: 0; }
.cta input::placeholder { color: var(--muted); text-transform: uppercase; }
.cta button { font: inherit; text-transform: uppercase; height: 1.05em; border: 0; background: var(--accent); color: #fff; padding: 0 .2em; cursor: pointer; vertical-align: baseline; transition: transform .18s var(--ease); }
.cta button:hover { transform: translateY(-3px); }
.cta .after { margin-top: 24px; font-size: var(--step-body); max-width: 60ch; }
@media (max-width: 760px) { .cta input { display: block; width: 100%; margin: .12em 0; } }

/* ---------- footer ---------- */
.foot { background: var(--accent); color: #fff; margin-top: var(--gap); min-height: 90svh; display: flex; flex-direction: column; padding-top: 40px; padding-bottom: 28px; }
.foot .top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; font-size: 15px; }
.foot .top .notes { grid-column: 1 / span 7; display: flex; gap: 32px; flex-wrap: wrap; }
.foot .top .notes strong { font-family: var(--display); font-size: var(--step-lead); text-transform: uppercase; display: block; }
.foot .top .up { grid-column: 12; text-align: right; }
.foot .contact { margin-top: auto; padding-top: 80px; }
.foot .contact h2 { font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.foot .contact a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-big); line-height: .9; text-decoration: none; display: inline-block; }
.foot .contact a:hover { text-decoration: underline; text-decoration-thickness: .06em; }
.foot .meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; margin-top: 40px; font-size: 15px; }
.foot .meta nav a { margin-right: 18px; }
.foot .meta .cr { text-align: center; }
.foot .meta .place { text-align: right; }
@media (max-width: 760px) { .foot .meta { grid-template-columns: 1fr; font-size: 15px; } .foot .meta .cr, .foot .meta .place { text-align: left; } .foot .top .up { grid-column: 1 / -1; text-align: left; } .foot .top .notes { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-hero { padding-top: clamp(40px, 8vh, 96px); }
.page-hero h1 { font-size: var(--step-big); max-width: 14ch; }
.page-hero p.lede { margin-top: 36px; font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.split .l { grid-column: 1 / span 4; }
.look .split { align-items: center; }
.look .split .l { grid-column: 1 / span 5; }
.look .split .r { grid-column: 7 / span 6; }
.split .r { grid-column: 6 / span 7; }
.split h2 { font-size: var(--step-head); }
.split .l p { margin-top: 20px; max-width: 44ch; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 18px 0; font-size: var(--step-body); }
.list li + li { border-top: 0; }
.list li strong { display: block; font-size: var(--step-lead); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; }
.plan { padding: 28px 24px 32px; background: var(--surface); }
.plan:nth-child(2) { background: #dfe4ea; }
.plan:nth-child(3) { background: var(--ink); color: var(--bg); }
.plan:nth-child(4) { background: #9fc2e8; }
.plan h2 { font-family: var(--display); font-size: 40px; text-transform: uppercase; line-height: .9; }
.plan .p { font-family: var(--display); font-size: 64px; line-height: .9; margin-top: 18px; }
.plan .p small { font-family: var(--text); font-size: var(--step-body); font-weight: 600; }
.plan ul { padding-left: 20px; margin: 18px 0 24px; font-size: var(--step-body); line-height: 1.7; }
.plan .btn { width: 100%; }
.plan:nth-child(3) .btn { background: var(--bg); color: var(--ink); }
.note-strip { margin-top: 28px; font-size: var(--step-body); max-width: 70ch; }
.addons { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.addons div strong { display: block; font-size: var(--step-lead); }
@media (max-width: 1000px) { .plans, .addons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .split .l, .split .r { grid-column: 1 / -1; } .split .r { margin-top: 32px; } .plans, .addons { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.shot img, .shot video { display: block; width: 100%; height: auto; background: var(--surface); }
.shot figcaption { margin-top: 10px; font-size: var(--step-body); }
.phone-shot { max-width: 360px; }
.tour-step { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.tour-step .t { grid-column: 1 / span 4; }
.tour-step .t h2 { font-size: var(--step-head); }
.tour-step .t p { margin-top: 18px; max-width: 40ch; }
.tour-step .i { grid-column: 6 / span 7; }
.tour-step.flip .t { grid-column: 9 / span 4; order: 2; }
.tour-step.flip .i { grid-column: 1 / span 7; order: 1; }
@media (max-width: 900px) { .tour-step .t, .tour-step .i, .tour-step.flip .t, .tour-step.flip .i { grid-column: 1 / -1; order: 0; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-lead); margin-top: 48px; font-family: var(--text); text-transform: none; font-weight: 700; }
.prose p, .prose li { margin-top: 14px; }
.draft-flag { background: var(--ink); color: var(--bg); padding: 14px 18px; margin-top: 32px; max-width: 70ch; }
.spec-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin-top: 40px; }
.spec-links a { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-statement); line-height: 1.1; padding: 10px 0; text-decoration: none; }
.spec-links a:hover { text-decoration: underline; }
@media (max-width: 760px) { .spec-links { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
.reveal > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in > * { opacity: 1; transform: none; }
.reveal.in > *:nth-child(2) { transition-delay: .08s; } .reveal.in > *:nth-child(3) { transition-delay: .16s; } .reveal.in > *:nth-child(4) { transition-delay: .24s; } .reveal.in > *:nth-child(5) { transition-delay: .32s; }
.no-js .reveal > * { opacity: 1; transform: none; }
.shutter { clip-path: inset(0 100% 0 0); animation: shutter 1.1s var(--ease) .25s forwards; }
.shutter img { transform: scale(1.12); animation: settle 1.4s var(--ease) .25s forwards; }
@keyframes shutter { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: scale(1); } }
.drift img { transition: transform .8s var(--ease); }
.drift:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .reveal > * { opacity: 1; transform: none; transition: none; }
  .shutter { clip-path: none; animation: none; } .shutter img { transform: none; animation: none; }
  .slot img { transition: none; }
  * { scroll-behavior: auto; }
}

@media (min-width: 1000px) { .hero { min-height: min(calc(100svh - 80px), 820px); } .slot { width: 2.1em; height: 0.82em; } }


@media (max-width: 760px) { .look .split .l, .look .split .r { grid-column: 1 / -1; } .look .split .r { margin-top: 32px; } }

.mt8 { margin-top: 8px; } .mt14 { margin-top: 14px; } .mt24 { margin-top: 24px; }
section.tight { padding-top: 56px; }

.ph-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.ph-text { grid-column: 1 / span 6; }
.ph-pic { grid-column: 7 / span 6; margin: 0; }
.ph-pic img { width: 100%; }
.page-hero h1 { font-size: var(--step-head); max-width: 14ch; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.tour-step .t { grid-column: 1 / span 5; }
.tour-step.flip .t { grid-column: 8 / span 5; }
.split .l { grid-column: 1 / span 5; }
.plan .p small { display: block; margin-top: 6px; }
@media (max-width: 1000px) { .strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .ph-text, .ph-pic { grid-column: 1 / -1; } .ph-pic { margin-top: 32px; } .strip { grid-template-columns: 1fr; } .plan { margin-bottom: 24px; } }

@media (max-width: 1000px) { .ph-text, .ph-pic { grid-column: 1 / -1; } .ph-pic { margin-top: 32px; } .plans { gap: 24px; } }
@media (max-width: 760px) { .tour-step .t h2, .split h2 { font-size: 8.6vw; } }
@media (max-width: 900px) { .tour-step .t, .tour-step.flip .t, .tour-step .i, .tour-step.flip .i { grid-column: 1 / -1; order: 0; } }
