/* Shortlist Korea, sample site. Static CSS, no build step. Mobile first.
   A guide product, modelled on the Blue Ribbon Survey home page: charcoal bar, search card, chips, tiles,
   grey link cards, listing cards, charcoal footer. One sans (Schibsted Grotesk, the logo face) with Noto Sans KR
   for Hangul. Violet is the one accent. Yellow marks every placeholder. Photo spaces are empty tone blocks
   by the owner's decision (19 Nov). See LOOK-NOTES.md. */

:root {
  --brand: #5B4CC4;
  --brand-deep: #3B3192;
  --ink: #1F2027;
  --title: #2E2F3A;
  --text-2: #4A4B55;
  --grey: #686973;
  --line: #E2E2E7;
  --line-strong: #8E8F99;
  --tone: #E9E9ED;        /* every photo space */
  --card: #F1F1F3;        /* grey cards */
  --bar: #2B2C31;
  --paper: #FFFFFF;
  --mark: #FFF1A6;
  --error: #A01B14;

  --sans: "Schibsted Grotesk", "Noto Sans KR", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --bar-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand); color: #fff; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--title); }
p { margin: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.2em; }
p a { color: var(--brand-deep); font-weight: 600; }
p a:hover { color: var(--brand); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 6px;
  font-weight: 700; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ko { font-family: "Noto Sans KR", var(--sans); font-weight: 500; font-size: 0.9em; letter-spacing: 0; color: var(--grey); }
.dot { margin: 0 0.45em; color: var(--grey); }
.ic { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Placeholder marker. Everything that is sample content carries this yellow. */
.sample {
  display: inline-block; padding: 1px 6px 2px; border-radius: 3px;
  background: var(--mark); color: var(--ink);
  font: 600 0.8125rem/1.35 var(--sans); letter-spacing: 0; white-space: nowrap;
}

/* Photo space: one tone behind every photo, the same crop per kind of slot, one light grade on all of them.
   A slot with no photo yet (the doctor portraits) stays an empty tone block with a tiny label. */
.slot { position: relative; display: block; background: var(--tone); border-radius: var(--radius); overflow: hidden; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.slot__label { position: absolute; left: 12px; bottom: 9px; font: 500 0.75rem/1 var(--sans); letter-spacing: 0.02em; color: var(--text-2); }
.slot > .sample { position: absolute; left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 11px 22px;
  border: 1.5px solid var(--ink); border-radius: 8px;
  background: var(--ink); color: #fff;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn--primary { background: var(--brand); border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn--ink:hover { background: #3A3B43; border-color: #3A3B43; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------- Sample strip + charcoal bar ---------- */
.strip { background: var(--mark); color: var(--ink); }
.strip p { padding-block: 6px; font: 500 0.8125rem/1.4 var(--sans); text-align: center; }
.strip strong { font-weight: 700; }

.bar { position: sticky; top: 0; z-index: 50; background: var(--bar); color: #fff; }
.bar :focus-visible { outline-color: #fff; }
.bar__inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: var(--bar-h); }
.bar__logo { display: block; padding: 6px 4px; }
.bar__logo img { width: auto; height: 26px; }
.menu-btn {
  position: absolute; right: calc(var(--gutter) - 10px); top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 8px; background: none; color: #fff; cursor: pointer;
}
.menu-btn:hover { background: rgba(255, 255, 255, .1); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -8px; }
.menu-btn__bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-8px) rotate(-45deg); }

.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #33343A; border-top: 1px solid #45464E; box-shadow: 0 14px 24px rgba(0, 0, 0, .22); }
.nav.is-open { display: block; }
.nav__list { display: grid; padding-block: 8px 16px; }
.nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid #45464E; color: #fff; font: 600 1.0625rem/1.3 var(--sans); text-decoration: none; }
.nav__list li:last-child a { border-bottom: 0; }
.nav__list a:hover, .nav__list a[aria-current] { color: #D9D4FF; }

@media (min-width: 760px) {
  :root { --bar-h: 68px; }
  .bar__logo img { height: 30px; }
  .nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; padding-block: 12px 20px; }
  .nav__list li:nth-last-child(2) a { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .nav__list { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 28px; }
  .nav__list a { border-bottom: 0; padding: 10px 0; font-size: 1rem; }
}

/* ---------- Hero: tone band + search card ---------- */
.hero { position: relative; padding-bottom: 4px; overflow-x: clip; }
.hero__photo { position: relative; height: 168px; overflow: hidden; background: var(--tone); }
.hero__photo img { position: absolute; left: -16px; top: -16px; width: calc(100% + 32px); max-width: none; height: calc(100% + 32px); object-fit: cover; object-position: 50% 60%; filter: blur(7px) saturate(0.9) brightness(1.02); }
.finder {
  position: relative; margin-top: -72px;
  display: grid; gap: 18px; padding: 22px 20px 20px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 1px 2px rgba(31, 32, 39, .06), 0 10px 30px rgba(31, 32, 39, .1);
}
/* The 2027 sticker, stuck on the corner of the card where it meets the photo. It sits clear of the
   greeting and the search controls at every width. The file is referenced, so a new logo swaps in. */
.finder__stamp {
  position: absolute; z-index: 2; right: -4px; top: -54px; width: 94px; height: auto;
  transform: rotate(-11deg);
  filter: drop-shadow(0 1px 1px rgba(30, 24, 80, .3)) drop-shadow(0 8px 14px rgba(30, 24, 80, .2));
  pointer-events: none;
}
.finder__hello { font-size: 1.3125rem; font-weight: 400; line-height: 1.4; letter-spacing: -0.01em; color: var(--text-2); }
.finder__hello strong { font-weight: 700; color: var(--title); }

.finder__modes { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.mode {
  min-height: 44px; padding: 8px 14px 9px; margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font: 500 0.9375rem/1.2 var(--sans); color: var(--grey);
}
.mode:hover { color: var(--ink); }
.mode[aria-pressed="true"] { border-bottom-color: var(--brand); color: var(--brand-deep); font-weight: 700; }

.picker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 8px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 2px 10px rgba(31, 32, 39, .08);
}
.picker__icon { display: none; margin-left: 8px; color: var(--grey); }
.picker__fields { flex: 1 1 100%; display: grid; gap: 8px; min-width: 0; }
.picker select, .picker input {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 0; border-radius: 10px; background-color: var(--card);
  font: 500 1rem/1.3 var(--sans); color: var(--ink);
}
.picker select {
  -webkit-appearance: none; appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%231F2027' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}
.picker input::placeholder { color: var(--grey); opacity: 1; }
.picker__go {
  flex: 1 1 100%; min-height: 46px; padding: 10px 22px;
  border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer;
  font: 700 1rem/1.2 var(--sans);
}
.picker__go:hover { background: var(--brand-deep); }
.finder__promise { display: flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 0.875rem/1.3 var(--sans); color: var(--text-2); }
.finder__promise img { width: 20px; height: 20px; flex: 0 0 auto; }

@media (min-width: 620px) {
  .finder__stamp { right: -6px; top: -70px; width: 120px; }
  .picker { flex-wrap: nowrap; padding: 6px 6px 6px 8px; border-radius: 999px; }
  .picker__icon { display: block; }
  .picker__fields { flex: 1 1 auto; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; }
  .picker__fields[data-for="name"] { grid-template-columns: 1fr; }
  .picker select, .picker input { background-color: transparent; border-radius: 999px; padding-left: 10px; text-overflow: ellipsis; }
  .picker select { padding-right: 28px; background-position: right 10px center; }
  .picker #picker-area { border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; }
  .picker__go { flex: 0 0 auto; border-radius: 999px; }
}
@media (min-width: 900px) {
  .hero__photo { height: 300px; }
  .finder {
    grid-template-columns: max-content 1px minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 44px); align-items: center;
    max-width: 1080px; margin: -128px auto 0; padding: 36px clamp(28px, 3.4vw, 44px) 34px; border-radius: 24px;
  }
  .finder::before { content: ""; grid-column: 2; grid-row: 1; align-self: stretch; background: var(--line); }
  .finder__stamp { right: -16px; top: -112px; width: 160px; }
  .finder__hello { grid-column: 1; grid-row: 1; font-size: clamp(1.375rem, 1.9vw, 1.625rem); line-height: 1.45; }
  .finder__search { grid-column: 3; grid-row: 1; min-width: 0; }
}

/* ---------- Section rows ---------- */
.row { padding: clamp(40px, 6vw, 72px) 0 0; overflow-x: clip; }
.row__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: clamp(16px, 2.4vw, 26px); }
.row__head h2, .ask__intro h2, .forclinics h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); letter-spacing: -0.02em; }
.row__note { font: 400 0.9375rem/1.45 var(--sans); color: var(--grey); }
.more { padding: 6px 0; font: 500 0.875rem/1.2 var(--sans); color: var(--grey); text-decoration: underline; }
.more:hover { color: var(--brand-deep); }

/* Sideways rows: they run to the page edge on small screens, like the model. */
.scroller {
  display: flex; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 14px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > li { flex: 0 0 auto; scroll-snap-align: start; }

/* Area chips */
.chip {
  display: grid; place-content: center; justify-items: center; gap: 2px;
  width: 96px; height: 96px; padding: 6px;
  border: 1px solid #DAD6F3; border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(91, 76, 196, .07);
  text-align: center;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.chip__name { font: 700 0.9375rem/1.15 var(--sans); color: var(--brand-deep); }
.chip .ko { font-size: 0.8125rem; line-height: 1.2; }
.chip .ic { width: 18px; height: 18px; color: var(--brand); }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { border: 2px solid var(--brand); box-shadow: 0 0 0 4px rgba(91, 76, 196, .14); }
@media (min-width: 900px) {
  .chips { gap: 22px; }
  .chip { width: 108px; height: 108px; }
  .chip__name { font-size: 1rem; }
}

/* Treatment tiles */
.tile { display: block; width: 172px; text-decoration: none; }
.tile__photo { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; }
.tile__photo img { object-position: 50% 30%; }
.tile__label {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 4px 12px 10px; text-align: right;
  background-color: rgba(20, 20, 26, .8); color: #fff;
  font: 700 1.0625rem/1.15 var(--sans); letter-spacing: -0.01em;
}
.tile__label::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; background: linear-gradient(to top, rgba(20, 20, 26, .8), rgba(20, 20, 26, 0)); }
.tile__note { display: block; margin-top: 9px; font: 400 0.8125rem/1.4 var(--sans); color: var(--grey); }
.tile:hover .tile__label { text-decoration: underline; }
.tile[aria-current="true"] .tile__photo { outline: 3px solid var(--brand); outline-offset: 2px; }
.tile--ask .tile__photo { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tile--ask .tile__label { background: none; color: var(--brand-deep); }
.tile--ask .tile__label::before { content: none; }
@media (min-width: 900px) {
  .tiles { gap: 20px; }
  .tile { width: 190px; }
}

/* Three grey link cards */
.links { padding-top: clamp(28px, 4vw, 48px); }
.links__grid { display: grid; gap: 10px; }
.linkcard {
  position: relative; display: grid; gap: 2px; padding: 16px 48px 18px 18px;
  background: var(--card); border-radius: var(--radius); text-decoration: none;
  transition: background-color .15s var(--ease);
}
.linkcard:hover { background: #E8E8EC; }
.linkcard img { width: 34px; height: 34px; margin-bottom: 6px; }
.linkcard__title { font: 700 1.0625rem/1.25 var(--sans); color: var(--title); }
.linkcard__sub { font: 400 0.875rem/1.4 var(--sans); color: var(--text-2); }
.linkcard__next { position: absolute; right: 16px; top: 50%; margin-top: -10px; color: var(--text-2); }
@media (min-width: 760px) {
  .links__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .linkcard { padding: 20px 48px 22px 22px; }
}

/* Curation cards */
.pick { position: relative; display: block; width: 256px; border-radius: 12px; overflow: hidden; text-decoration: none; }
.pick__photo { aspect-ratio: 3 / 2; border-radius: 12px; }
.pick__title {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; place-items: center; min-height: 52px; padding: 9px 14px;
  background: rgba(31, 32, 39, .82); color: #fff; text-align: center;
  font: 600 0.9375rem/1.25 var(--sans);
}
.pick:hover .pick__title { background: var(--brand-deep); }
@media (min-width: 900px) {
  .picks { gap: 20px; }
  .pick { width: 296px; }
}

/* Partner banners */
.partners { padding-top: clamp(28px, 4vw, 52px); }
.banners { display: grid; gap: 10px; }
.banner { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 12px 18px; border-radius: var(--radius); }
.banner img { width: 64px; height: 64px; flex: 0 0 auto; }
.banner p { display: grid; gap: 4px; min-width: 0; }
.banner__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 500 0.875rem/1.3 var(--sans); }
.banner strong { font: 700 1.125rem/1.2 var(--sans); letter-spacing: -0.01em; }
.banner--violet { background: var(--brand); color: #fff; }
.banner--violet img { filter: drop-shadow(0 2px 4px rgba(20, 12, 70, .35)); }
.banner--line { background: #fff; color: var(--brand-deep); box-shadow: inset 0 0 0 2px var(--brand-deep); }
.banner--grey { background: var(--card); color: var(--title); }
@media (min-width: 900px) {
  .banners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .banner { min-height: 108px; }
}

/* Guide articles */
.article { display: grid; align-content: start; width: 264px; padding-bottom: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.article__photo { aspect-ratio: 16 / 9; }
.article__cat { margin-top: 12px; font: 500 0.8125rem/1.3 var(--sans); color: var(--text-2); }
.article__title { margin-top: 6px; font: 700 1.0625rem/1.3 var(--sans); letter-spacing: -0.01em; color: var(--title); }
.article:hover .article__title { color: var(--brand-deep); text-decoration: underline; }
.article__excerpt {
  margin-top: 8px; font: 400 0.875rem/1.5 var(--sans); color: var(--grey);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article__date { margin-top: 10px; font: 400 0.8125rem/1.3 var(--sans); color: var(--grey); }
@media (min-width: 1100px) {
  .articles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .article { width: auto; }
}

/* ---------- The list ---------- */
.listbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; margin-bottom: -1px; }
.tab {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 8px 14px 9px;
  border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font: 500 1rem/1.2 var(--sans); color: var(--grey);
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { border-bottom-color: var(--brand); color: var(--brand-deep); font-weight: 700; }
.tab__count { font: 500 0.8125rem/1 var(--sans); color: var(--grey); font-variant-numeric: tabular-nums; }
.filter-status { margin-left: auto; padding: 8px 0; font: 400 0.875rem/1.4 var(--sans); color: var(--text-2); }
.filter-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 4px 0; }
.filter-state__what { padding: 4px 10px; border-radius: 999px; background: #EFEDFB; color: var(--brand-deep); font: 600 0.875rem/1.3 var(--sans); }
.filter-clear { min-height: 32px; padding: 4px 2px; border: 0; background: none; cursor: pointer; font: 600 0.875rem/1.2 var(--sans); color: var(--ink); text-decoration: underline; }

.cards { display: grid; gap: 26px 22px; }
.card { display: grid; align-content: start; height: 100%; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card__photo { aspect-ratio: 16 / 9; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 14px; }
.clinic__name { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; }
.clinic__name a { text-decoration: none; }
.clinic__name a:hover { color: var(--brand-deep); text-decoration: underline; }
.save {
  flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; margin: -6px -8px 0 0; padding: 0;
  border: 0; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer;
}
.save:hover { background: var(--card); color: var(--ink); }
.save[aria-pressed="true"] { color: var(--brand); }
.save[aria-pressed="true"] .ic { fill: currentColor; }
.card__tags { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; font: 500 0.875rem/1.5 var(--sans); color: var(--brand-deep); }
.card__lines { display: grid; gap: 7px; margin-top: 12px; }
.card__lines li { display: flex; align-items: flex-start; gap: 9px; font: 400 0.9375rem/1.4 var(--sans); color: var(--text-2); }
.card__lines .ic { width: 18px; height: 18px; margin-top: 1px; color: var(--grey); }
.card__lines .ic--mark { border-radius: 4px; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; font: 400 0.875rem/1.4 var(--sans); }
.card__more { padding: 4px 0; font-weight: 700; color: var(--brand-deep); }
.card__soon { color: var(--grey); }
.empty { padding: 28px 20px; border-radius: var(--radius); background: var(--card); font: 400 1rem/1.5 var(--sans); color: var(--text-2); }
.fineprint { margin-top: 18px; font: 400 0.875rem/1.5 var(--sans); color: var(--grey); }
@media (min-width: 620px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
}

/* Reviews */
.reviews { display: grid; gap: 12px; }
.review { display: grid; align-content: space-between; gap: 14px; padding: 20px 20px 18px; border-radius: var(--radius); background: var(--card); }
.review blockquote { font: 400 1rem/1.5 var(--sans); color: var(--ink); }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review__who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 400 0.875rem/1.4 var(--sans); color: var(--text-2); }
.review__who strong { color: var(--ink); }
@media (min-width: 900px) {
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

/* ---------- Service blocks: concierge, how a clinic gets listed ---------- */
.service { padding: clamp(40px, 6vw, 72px) 0 0; }
.service--grey { margin-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); background: #F7F7F9; }
.service__lede { max-width: 54em; font: 400 1.0625rem/1.55 var(--sans); color: var(--text-2); }
.service__lede strong { color: var(--ink); }

.steps { display: grid; gap: 10px; margin-top: 22px; }
.step { padding: 18px 18px 20px; border-radius: var(--radius); background: var(--card); }
.step h3, .checks h3 { font-size: 1.0625rem; line-height: 1.3; }
.step p, .checks p { margin-top: 6px; font: 400 0.9375rem/1.5 var(--sans); color: var(--text-2); }
@media (min-width: 620px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

.ask { display: grid; gap: 22px; margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 16px; }
.ask__intro p { margin-top: 10px; font: 400 1rem/1.55 var(--sans); color: var(--text-2); }
.ask__intro h3 { margin-top: 22px; font-size: 1rem; }
.ask__next { margin-top: 8px; padding-left: 1.1em; font: 400 0.9375rem/1.5 var(--sans); color: var(--text-2); }
.ask__next li { padding: 2px 0; }
@media (min-width: 960px) {
  .ask { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
}

.checks { display: grid; gap: 18px 28px; margin-top: 24px; }
@media (min-width: 620px) {
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; }
}

.forclinics { display: grid; gap: 20px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(20px, 3.4vw, 40px); border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.forclinics__sticker { width: 132px; filter: drop-shadow(0 1px 1px rgba(30, 24, 80, .22)) drop-shadow(0 8px 16px rgba(30, 24, 80, .12)); }
.forclinics__copy > p { margin-top: 10px; max-width: 46em; font: 400 1rem/1.55 var(--sans); color: var(--text-2); }
.points { display: grid; gap: 8px; margin: 16px 0 22px; padding-left: 1.1em; max-width: 48em; font: 400 0.9375rem/1.5 var(--sans); color: var(--text-2); }
.points strong { color: var(--ink); }
.apply { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 640px; }
.apply__form { display: grid; gap: 16px; }
.apply__submit, .form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.apply__note, .form__note { font: 400 0.875rem/1.4 var(--sans); color: var(--text-2); }
@media (min-width: 560px) {
  .apply__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .forclinics { grid-template-columns: 168px minmax(0, 1fr); gap: 40px; align-items: start; }
  .forclinics__sticker { width: 168px; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .dates legend { display: block; margin-bottom: 6px; padding: 0; font: 600 0.875rem/1.3 var(--sans); color: var(--ink); }
.field__opt { font-weight: 400; color: var(--grey); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%231F2027' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field ::placeholder { color: var(--grey); opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field__error { margin-top: 6px; font: 600 0.875rem/1.35 var(--sans); color: var(--error); }
.dates__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dates__row label { font-weight: 400; color: var(--text-2); }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--brand); }
.consent label { margin: 0; font: 400 0.9375rem/1.45 var(--sans); color: var(--text-2); }
.consent .field__error { grid-column: 2; margin-top: 2px; }
@media (min-width: 560px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}

.thanks { padding: clamp(22px, 3vw, 36px); border-radius: 12px; background: var(--card); }
.thanks:focus-visible { outline: none; }
.thanks img { width: 80px; height: 80px; }
.thanks h3 { margin-top: 16px; font-size: 1.5rem; letter-spacing: -0.02em; }
.thanks p { margin-top: 10px; max-width: 34em; font: 400 1rem/1.5 var(--sans); color: var(--text-2); }
.thanks .btn { margin-top: 20px; }
.thanks--small { padding: 16px 18px; }
.thanks--small p { margin: 0; max-width: none; }
.thanks--small strong { color: var(--ink); }

/* ---------- Questions ---------- */
.faq { border-top: 1px solid var(--title); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative; display: block; padding: 17px 44px 17px 2px; cursor: pointer; list-style: none;
  font: 600 1.0625rem/1.35 var(--sans); color: var(--title);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:hover { color: var(--brand-deep); }
.qa__body { padding: 0 44px 20px 2px; max-width: 60em; font: 400 1rem/1.6 var(--sans); color: var(--text-2); }
.row--last { padding-bottom: clamp(48px, 7vw, 88px); }

/* ---------- Footer: charcoal, centred, company details the Korean way ---------- */
.footer { background: var(--bar); color: #C7C8D0; padding: 36px 0 30px; text-align: center; }
.footer :focus-visible { outline-color: #fff; }
.footer__seal { width: 64px; height: 64px; margin: 0 auto 18px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
.footer__links li { display: flex; align-items: center; }
.footer__links a { display: block; padding: 8px 10px; color: #fff; font: 600 0.875rem/1.3 var(--sans); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__company { display: grid; gap: 5px; margin-top: 14px; font: 400 0.8125rem/1.6 var(--sans); color: #B4B5BE; }
.footer__company .sample { margin: 0 1px; }
.fi { display: block; }
@media (min-width: 760px) {
  .footer__links { gap: 0; }
  .footer__links li + li::before { content: ""; width: 1px; height: 12px; background: #5A5B64; }
  .footer__links a { padding: 8px 14px; }
  .fi { display: inline-block; }
  .fi + .fi::before { content: "|"; margin: 0 10px; color: #6C6D77; }
}
.footer__credit { margin-top: 14px; font: 400 0.8125rem/1.5 var(--sans); color: #B4B5BE; }
.footer__credit a { color: #fff; font-weight: 600; }
.footer__copy { margin-top: 6px; font: 400 0.8125rem/1.5 var(--sans); color: #A9AAB3; }

/* ==========================================================================
   Clinic page
   ========================================================================== */
.crumbs { padding-top: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; font: 400 0.875rem/1.4 var(--sans); color: var(--grey); }
.crumbs li + li::before { content: "\203A"; margin: 0 9px; color: var(--grey); }
.crumbs a { display: inline-block; padding: 6px 0; text-decoration: underline; }
.crumbs a:hover { color: var(--brand-deep); }
.crumbs [aria-current] { display: inline-block; padding: 6px 0; color: var(--ink); font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gallery .slot { aspect-ratio: 4 / 3; }
.gallery .slot:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; aspect-ratio: 16 / 5; }
  .gallery .slot { aspect-ratio: auto; }
  .gallery .slot:first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
}

.detail { display: grid; gap: 28px; padding-top: 22px; padding-bottom: clamp(48px, 7vw, 88px); }
.detail__head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.detail__title h1 { font-size: clamp(1.75rem, 4.6vw, 2.375rem); letter-spacing: -0.025em; line-height: 1.15; }
.detail__title .save { width: 44px; height: 44px; margin: -2px -8px 0 0; }
.detail__title .save .ic { width: 24px; height: 24px; }
.detail__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; font: 500 0.9375rem/1.5 var(--sans); color: var(--brand-deep); }
.detail__lede { margin-top: 14px; max-width: 46em; font: 400 1.0625rem/1.55 var(--sans); color: var(--text-2); }
.detail__lines { display: grid; gap: 8px; margin-top: 16px; }
.detail__lines li { display: flex; align-items: flex-start; gap: 10px; font: 400 1rem/1.45 var(--sans); color: var(--text-2); }
.detail__lines .ic { margin-top: 1px; color: var(--grey); }
.detail__lines .ic--mark { border-radius: 4px; }
.detail__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 20px; }
.detail__cta .asidecard__link { justify-self: auto; }
@media (min-width: 1000px) {
  .detail__cta { display: none; }
}

.block { padding-top: 32px; }
.block h2 { font-size: clamp(1.3125rem, 2.6vw, 1.625rem); letter-spacing: -0.02em; }
.block__note { margin-top: 8px; max-width: 48em; font: 400 0.9375rem/1.55 var(--sans); color: var(--text-2); }
.block__lead { margin-top: 10px; font: 600 1.0625rem/1.45 var(--sans); color: var(--title); }
.block .faq { margin-top: 14px; }

.table { margin-top: 14px; border-top: 1px solid var(--title); list-style: none; }
.table > div, .table > li { display: grid; gap: 2px 20px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.table dt, .table h3, .table .table__key { font: 600 0.9375rem/1.4 var(--sans); letter-spacing: 0; color: var(--title); }
.table dd, .table p { font: 400 0.9375rem/1.5 var(--sans); color: var(--text-2); }
@media (min-width: 620px) {
  .table > div, .table > li { grid-template-columns: minmax(0, 15em) minmax(0, 1fr); }
  .table--plan > li { grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); }
}
.table--plan .table__key { color: var(--brand-deep); }
.table--plan h3 + p { margin-top: 2px; }

.doctors { display: grid; gap: 16px; margin-top: 16px; }
.doctor { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.doctor .slot { aspect-ratio: 4 / 5; }
.doctor h3 { font-size: 1.125rem; }
.doctor__role { margin-top: 2px; font: 500 0.9375rem/1.4 var(--sans); color: var(--text-2); }
.doctor ul { margin-top: 8px; padding-left: 1.1em; font: 400 0.9375rem/1.5 var(--sans); color: var(--text-2); }
@media (min-width: 620px) {
  .doctors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .doctor { grid-template-columns: 112px minmax(0, 1fr); }
}

.connection { margin-top: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); }
.connection__label { font: 600 0.875rem/1.3 var(--sans); color: var(--text-2); }
.connection__value { margin-top: 2px; font: 700 1.5rem/1.2 var(--sans); letter-spacing: -0.02em; color: var(--title); }
.connection__text { margin-top: 10px; max-width: 50em; font: 400 0.9375rem/1.55 var(--sans); color: var(--text-2); }

.aside { align-self: start; }
.asidecard { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.asidecard__top { display: flex; align-items: center; gap: 16px; }
.asidecard__top img { width: 84px; height: 84px; flex: 0 0 auto; filter: drop-shadow(0 1px 1px rgba(30, 24, 80, .22)) drop-shadow(0 6px 12px rgba(30, 24, 80, .12)); }
.asidecard__top p { font: 600 1rem/1.35 var(--sans); color: var(--title); }
.asidecard__top span { display: block; margin-top: 2px; font: 400 0.875rem/1.4 var(--sans); color: var(--text-2); }
.asidecard .btn { width: 100%; }
.asidecard__link { justify-self: center; padding: 4px 0; font: 600 0.9375rem/1.3 var(--sans); color: var(--brand-deep); }
.asidecard__fine { font: 400 0.8125rem/1.5 var(--sans); color: var(--grey); }
.asidecard__stamp { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 0.875rem/1.35 var(--sans); color: var(--brand-deep); }
.asidecard__stamp img { width: 52px; height: 52px; flex: 0 0 auto; }

@media (min-width: 1000px) {
  .detail { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 56px; }
  .aside { position: sticky; top: calc(var(--bar-h) + 20px); }
}

@media (min-width: 1200px) {
  .finder__stamp { right: -34px; top: -116px; width: 172px; }
}

@media (prefers-reduced-motion: no-preference) {
  .finder__stamp { animation: stamp-in .7s var(--ease) .15s both; }
  @keyframes stamp-in { from { opacity: 0; transform: rotate(-19deg) translateY(-12px) scale(1.08); } }
  .clinic { animation: row-in .28s var(--ease) both; }
  @keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
