/* Lagom — one-page site
   Tokens match the Claude Design draft (Lagom.dc.html / design-system.md). */

:root {
  --paper: #E6DDCD;
  --paper-2: #DCD0BC;
  --paper-3: #CFC2AB;
  --ink: #2A251F;
  --ink-soft: #5E5549;
  --cream: #F6EFE3;
  --green: #1F5A45;
  --tangerine: #D2643A;
  --sky: #B8CEDA;
  --rose: #D9A99D;
  --mustard: #C99A3A;
  --slate: #56627A;
  --sage: #A8BBA3;
  --muted-dark: #BDB6AC;
  --line: rgba(42, 37, 31, 0.2);
  --display: 'Instrument Sans', 'Noto Sans KR', sans-serif;
  --track: 0.12em;
  --gutter: max(16px, 4vw);
  --header-h: 69px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="ko"] { --track: 0.04em; }

/* ---------- language switching: only the active language is shown ---------- */
html[lang="en"] .l-ko,
html[lang="ko"] .l-en { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Instrument Sans', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[lang="ko"] body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Instrument Sans', sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 400px)), 1fr)); }
.soft { color: var(--ink-soft); }
.lead { margin: 0; font-size: clamp(18px, 1.5vw, 20px); text-wrap: pretty; }
.fine { margin: 20px 0 0; font-size: 13px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; color: var(--cream); }

/* film grain */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27180%27%20height%3D%27180%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%27.9%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200.16%200%200%200%200%200.14%200%200%200%200%200.12%200%200%200%20.55%200%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27%2F%3E%3C%2Fsvg%3E");
}

/* ---------- type ---------- */
.label {
  display: flex; align-items: center; gap: 0.6em;
  font-size: 13px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase;
  margin: 0 0 22px;
}
.label::before { content: ""; width: 0.7em; height: 0.7em; background: currentColor; flex: none; }
.mini { margin: 0 0 11px; font-size: 13px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }

.d-en { display: block; font-family: var(--display); font-weight: 600; font-stretch: 82%; letter-spacing: -0.045em; line-height: 0.9; }
.d-en i { font-weight: 500; }
.d-ko { display: block; font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }
.d-en > span, .d-ko > span { display: block; }

.hero-en { font-size: clamp(2.6rem, 5vw, 5.2rem); }
.hero-ko { font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: 1.16; }
.h2-en { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.h2-ko { font-size: clamp(1.9rem, 4.4vw, 3.6rem); }
.h3-en { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 0.92; }
.h3-ko { font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.2; }
.band-en { font-size: clamp(2rem, 5vw, 4.3rem); line-height: 0.95; }
.band-ko { font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.25; }
/* inline spans inside an h2 (e.g. "to your report") stay inline */
.h2-en > span { display: inline; }

.tbd {
  background: var(--mustard); color: var(--ink); padding: 0 5px; border-radius: 3px; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- buttons ---------- */
/* The hover colour wipes in from the left as a background-image layer. */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 15px 24px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; cursor: pointer;
  background-repeat: no-repeat; background-position: left center; background-size: 0% 100%;
  transition: background-size 0.55s var(--ease), color 0.35s ease, border-color 0.35s ease;
}
.btn:hover, .btn:focus-visible { background-size: 100% 100%; }
.btn > [aria-hidden] { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover > [aria-hidden] { transform: translateX(4px); }
.btn-dark { background-color: var(--ink); background-image: linear-gradient(var(--green), var(--green)); color: var(--cream); }
.btn-dark:hover { border-color: var(--green); color: var(--cream); }
.btn-outline { background-color: transparent; background-image: linear-gradient(var(--ink), var(--ink)); color: var(--ink); }
.btn-outline:hover { color: var(--cream); }
.btn-light, .btn-cream { background-color: var(--cream); background-image: linear-gradient(var(--rose), var(--rose)); color: var(--ink); border-color: var(--cream); }
.btn-light:hover, .btn-cream:hover { border-color: var(--rose); color: var(--ink); }
.btn-ghost-light { background-color: transparent; background-image: linear-gradient(var(--cream), var(--cream)); color: var(--cream); border-color: var(--cream); }
.btn-ghost-light:hover { color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; color: var(--ink); top: 0; z-index: 50;
  background: rgba(230, 221, 205, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand b { font-family: var(--display); font-weight: 700; font-stretch: 78%; font-size: 22px; letter-spacing: -0.04em; white-space: nowrap; }
.brand i { font-weight: 500; }
.nav {
  flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: 0 26px; height: 26px; overflow: hidden; font-size: 15px; font-weight: 500;
}
.nav a { text-decoration: none; line-height: 26px; }
.lang-switch { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; flex: none; }
.lang-switch button, .lang-switch a {
  font: 600 13px/1 'Instrument Sans', sans-serif; letter-spacing: 0.04em;
  border: 0; border-radius: 999px; padding: 0 12px; min-height: 40px; cursor: pointer; background: transparent; color: var(--ink);
}
.lang-switch button[lang="ko"], .lang-switch a[lang="ko"] { font-family: 'Noto Sans KR', sans-serif; letter-spacing: 0; }
.lang-switch button[aria-pressed="true"], .lang-switch a[aria-current="page"] { background: var(--ink); color: var(--cream); }
/* sliding indicator (added by main.js) */
.lang-switch { position: relative; transition: border-color 0.45s ease; }
.lang-switch.has-ind button, .lang-switch.has-ind a { position: relative; z-index: 1; background: transparent; transition: color 0.35s ease; }
.lang-switch.has-ind button[aria-pressed="true"], .lang-switch.has-ind a[aria-current="page"] { color: var(--cream); }
.lang-ind {
  position: absolute; top: 2px; bottom: 2px; left: 0; width: var(--w, 0px); border-radius: 999px;
  background: var(--ink); transform: translateX(var(--x, 0px));
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), background-color 0.45s ease;
}
.pill-book {
  display: inline-flex; align-items: center; padding: 0 20px; min-height: 44px; font-size: 14px; font-weight: 600; line-height: 1;
  border-radius: 999px; background-color: var(--ink); color: var(--cream); text-decoration: none; flex: none;
  background-image: linear-gradient(var(--green), var(--green)); background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size 0.55s var(--ease), background-color 0.45s ease, color 0.45s ease;
}
.pill-book:hover { background-size: 100% 100%; color: var(--cream); }

.site-header { transition: background-color 0.45s ease, border-color 0.45s ease, color 0.45s ease, backdrop-filter 0.45s ease, -webkit-backdrop-filter 0.45s ease; }
.site-header.is-clear {
  background-color: transparent; border-bottom-color: rgba(246, 239, 227, 0.25); color: var(--cream);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header.is-clear a:hover { color: var(--rose); }
.site-header.is-clear .lang-switch { border-color: var(--cream); }
.site-header.is-clear .lang-switch button, .site-header.is-clear .lang-switch a { color: var(--cream); }
.site-header.is-clear .lang-switch button[aria-pressed="true"], .site-header.is-clear .lang-switch a[aria-current="page"] { color: var(--ink); }
.site-header.is-clear .lang-ind { background-color: var(--cream); }
.site-header.is-clear .pill-book { background-color: var(--cream); color: var(--ink); }
.site-header.is-clear .pill-book:hover { color: var(--cream); }
@media (max-width: 440px) {
  .header-inner { gap: 10px; }
  .lang-switch button, .lang-switch a { padding: 0 9px; }
  .pill-book { padding: 0 14px; }
}

/* ---------- hero (photo) ---------- */
.hero {
  margin-top: calc(-1 * var(--header-h));
  position: relative; overflow: hidden; color: var(--cream); background: var(--ink-soft);
  height: min(100vh, 980px); min-height: 720px;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; display: block; filter: sepia(0.1) saturate(0.95) contrast(0.98); }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(42,37,31,0.62) 0%, rgba(42,37,31,0.4) 32%, rgba(42,37,31,0.12) 46%, rgba(42,37,31,0) 58%),
    linear-gradient(0deg, rgba(42,37,31,0.66) 0%, rgba(42,37,31,0.2) 30%, rgba(42,37,31,0) 48%),
    linear-gradient(180deg, rgba(42,37,31,0.48) 0%, rgba(42,37,31,0.18) 12%, rgba(42,37,31,0) 26%);
}
.hero-inner {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(32px, 4.5vw, 64px);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.tag { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 14px; }
h1.hero-tags { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.hero-display { margin: clamp(24px, 3.5vw, 48px) 0 0; }
.hero-spacer { flex: 1; min-height: 24px; }
.hero-lead { display: grid; gap: 22px; max-width: min(100%, 420px); }
.hero-lead p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; text-wrap: pretty; }
/* Narrow screens: the photo gets the top of the screen, and the headline,
   intro and buttons sit together as one block at the bottom. */
@media (max-width: 820px) {
  .hero { height: 100vh; height: 100svh; min-height: 640px; max-height: 900px; }
  .hero-img { object-position: 62% 18%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(42,37,31,0.5) 0%, rgba(42,37,31,0.15) 14%, rgba(42,37,31,0) 26%, rgba(42,37,31,0) 36%, rgba(42,37,31,0.55) 58%, rgba(42,37,31,0.86) 100%);
  }
  .hero-spacer { order: 1; }
  .hero-display { order: 2; margin: 0 0 20px; }
  .hero-lead { order: 3; gap: 20px; max-width: 34em; }
}
@media (max-width: 480px) {
  .hero-en { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .hero-lead p { font-size: 15.5px; line-height: 1.55; }
  .hero .btns { gap: 10px; }
  .hero .btn { padding: 13px 18px; font-size: 15px; }
}

.founding-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.founding-strip-inner { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.founding-strip p { margin: 0; flex: 1 1 320px; font-size: 16px; line-height: 1.45; }
.founding-strip b { font-weight: 700; margin-right: 10px; }
.founding-strip a > [aria-hidden] { display: inline-block; transition: transform 0.4s var(--ease); }
.founding-strip a:hover > [aria-hidden] { transform: translateX(4px); }
.founding-strip a { padding: 10px 0; display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); flex: none; }
.founding-strip a:hover { color: var(--green); }
.swatch-grid { display: grid; grid-template-columns: repeat(2, 12px); gap: 3px; flex: none; }
.swatch-grid span { width: 12px; height: 12px; }

/* ---------- approach band ---------- */
.approach { background: var(--sage); color: var(--ink); }
.approach-h { max-width: 1100px; text-wrap: balance; }
.stages { margin: clamp(48px, 6vw, 80px) 0 0; }
.stages figcaption { margin-bottom: clamp(48px, 5vw, 64px); }
.stages figcaption::before { display: none; }
.stage-bars { display: flex; align-items: flex-end; gap: 6px; height: clamp(240px, 26vw, 320px); }
.stage {
  min-width: 0; position: relative; isolation: isolate; color: var(--ink); padding: clamp(10px, 1.4vw, 18px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); transform-origin: bottom; }
.stage-ico { position: absolute; bottom: 100%; left: clamp(10px, 1.4vw, 18px); font-size: clamp(8px, 1vw, 12px); }
.stage-age { font-family: var(--display); font-size: clamp(22px, 3.4vw, 46px); font-weight: 600; font-stretch: 82%; letter-spacing: -0.04em; line-height: 0.9; white-space: nowrap; }
.stage-name { font-size: clamp(12px, 1.3vw, 14px); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.stage-axis { display: flex; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stage-axis > span { min-width: 0; border-left: 1.5px solid rgba(246, 239, 227, 0.7); padding-left: 7px; }
.axis-last { display: flex; justify-content: space-between; }
.axis-end { border-right: 1.5px solid rgba(246, 239, 227, 0.7); padding-right: 7px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 32px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.facts > div { border-top: 1px solid rgba(246, 239, 227, 0.35); padding-top: 16px; }
.facts dt { font-size: 13px; letter-spacing: var(--track); text-transform: uppercase; margin-bottom: 5px; }
.facts dd { margin: 0; font-size: 19px; font-weight: 500; }

/* ---------- programs ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.pcards { display: grid; gap: clamp(24px, 3vw, 40px); }
.pcard { display: flex; flex-wrap: wrap; background: var(--cream); border-radius: 4px; overflow: hidden; }
.pc-side {
  flex: 5 1 300px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px; min-height: clamp(240px, 28vw, 352px); padding: clamp(22px, 3vw, 36px);
}
.pc-art { position: absolute; font-size: clamp(9px, 1.1vw, 13px); }
.pc-kicker { position: relative; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; max-width: 16em; }
.pc-age {
  position: relative; margin: 0; font-family: var(--display); font-size: clamp(4rem, 9vw, 7.8rem); font-weight: 600;
  font-stretch: 82%; letter-spacing: -0.045em; line-height: 0.9; white-space: nowrap;
}
.pc-age .l-en small { font-size: 0.38em; font-weight: 500; letter-spacing: -0.02em; }
.pc-age .l-ko small { font-size: 0.34em; font-weight: 700; letter-spacing: -0.02em; }
.pc-body { flex: 7 1 440px; min-width: 0; padding: clamp(22px, 3vw, 42px); display: grid; gap: 26px; align-content: start; }
.pc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; align-items: flex-start; }
.pc-title { flex: 1 1 280px; }
.pc-title h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 8px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.pc-title p { margin: 0; max-width: 34em; }
.pc-price { flex: none; font-variant-numeric: tabular-nums; }
.price { display: block; font-family: var(--display); font-size: 35px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price small { font-size: 0.45em; font-weight: 500; letter-spacing: 0; margin-left: 3px; color: var(--ink-soft); }
.price-f { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 7px; white-space: nowrap; }
.price-f b { color: var(--ink); }
.pc-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.inc, .rep { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 16px; }
.inc li { display: flex; gap: 10px; }
.inc .sq { width: 7px; height: 7px; background: var(--ink); flex: none; margin-top: 10px; }
.rep li { display: grid; grid-template-columns: 30px 1fr; }
.rep .num { color: var(--ink-soft); font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.pc-note { margin: 0; font-size: 14px; color: var(--ink-soft); border-top: 1px dashed rgba(42, 37, 31, 0.25); padding-top: 14px; }

.glance { margin-top: clamp(48px, 6vw, 80px); }
.glance .mini { margin-bottom: 16px; }
.table-scroll { overflow-x: auto; }
.glance table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.glance th, .glance td { text-align: left; vertical-align: top; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); }
.glance thead th, .glance thead td { border-bottom: 1.5px solid var(--ink); font-weight: 600; }
.glance tbody th { font-weight: 500; color: var(--ink-soft); width: 16%; }
.dot { display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.45em; }

/* ---------- founding families ---------- */
.founding { background: var(--rose); }
.founding .two-col { align-items: start; }
.spots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 32px 0 14px; max-width: 420px; }
.spot { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; font-size: 12px; font-weight: 600; }
.spot b { font-family: var(--display); font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.fd-status { font-size: 13px; font-weight: 600; margin: 0; }
.fd-rows { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1.5px solid var(--ink); }
.fd-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(42, 37, 31, 0.25); font-variant-numeric: tabular-nums; }
.fd-who { font-weight: 500; }
.fd-price { display: flex; align-items: baseline; gap: 10px; }
.fd-price s { font-size: 15px; }
.fd-price > span { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.04em; }

/* ---------- photo band ---------- */
.photo-band { position: relative; height: clamp(320px, 42vw, 620px); background: var(--ink-soft); overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(0.3) saturate(0.72) contrast(0.94) brightness(1.03); }
/* warm wash so the cooler photo sits with the rest of the page */
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(210, 100, 58, 0.08); mix-blend-mode: multiply; pointer-events: none; }

/* ---------- how it works ---------- */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.how li { position: relative; padding-top: 19px; display: grid; gap: 10px; align-content: start; }
.how li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--ink); transform-origin: left; }
.how-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.how-n { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -0.05em; line-height: 0.9; }
.how-ico { position: relative; flex: none; display: block; }
.how h3 { margin: 5px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.how p { margin: 0; font-size: 16px; }

/* ---------- about ---------- */
.about { background: var(--paper-2); }
.word { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; max-width: 30em; }
.word-w { font-family: 'Instrument Sans', sans-serif; font-style: italic; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.word-tag { font-size: 13px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-soft); }
.word-def { flex-basis: 100%; font-size: 16px; color: var(--ink-soft); }
.principles { list-style: none; margin: 36px 0 0; padding: 0; }
.principles li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.principles b { display: block; font-weight: 600; }
.principles p { margin: 3px 0 0; font-size: 16px; }
.pr-ico { width: 26px; height: 26px; margin-top: 3px; }
.about-right { display: grid; gap: 20px; align-content: start; }
.about-big { margin: 0; max-width: 34em; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; letter-spacing: -0.01em; text-wrap: pretty; }
.founder { background: var(--cream); display: flex; flex-wrap: wrap; margin-top: 12px; border-radius: 4px; overflow: hidden; }
.founder img { display: block; flex: 1 1 180px; min-width: 0; max-width: 260px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; filter: sepia(0.12) saturate(0.9); }
.founder-txt { flex: 1 1 240px; min-width: 0; padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 10px; align-content: end; }
.founder-name { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.founder-name .tbd { padding: 0 6px; font-weight: 600; }
.gallery-wrap { margin-top: clamp(64px, 8vw, 112px); border-top: 1.5px solid var(--ink); padding-top: clamp(28px, 3vw, 40px); }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 12px; }
/* five photos: three on the first row, two wider ones on the second */
.gallery figure { grid-column: span 2; }
.gallery figure:nth-child(n+4) { grid-column: span 3; }
.gallery figure { margin: 0; min-width: 0; display: grid; gap: 9px; }
.gallery img {
  display: block; width: 100%; height: clamp(220px, 24vw, 340px); object-fit: cover; border-radius: 2px;
  filter: sepia(0.16) saturate(0.86) contrast(0.95) brightness(1.02);
}
.gallery figcaption { font-size: 13px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 21px 0;
  cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .sign { flex: none; position: relative; width: 18px; height: 18px; }
.faq .sign::before, .faq .sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform 0.45s var(--ease); }
.faq .sign::after { transform: rotate(90deg); }
.faq details[open] .sign::after { transform: rotate(0deg); }
.faq summary:hover .sign::before { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq details p { margin: 0; padding: 0 40px 22px 0; color: var(--ink-soft); max-width: 40em; }

/* ---------- booking ---------- */
.book { background: var(--ink); color: var(--cream); }
.book a:hover { color: var(--rose); }
.book-intro { display: grid; gap: 24px; align-content: start; }
.book-intro .label { margin: 0; }
.muted { color: var(--muted-dark); }
.privacy { margin: 0; font-size: 15px; border-top: 1px solid rgba(246, 239, 227, 0.28); padding-top: 19px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 20px; align-content: start; }
.full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-size: 13px; font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }
.fld .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted-dark); }
.fld input, .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--cream);
  background: rgba(246, 239, 227, 0.06); border: 1px solid rgba(246, 239, 227, 0.28); border-radius: 3px;
  padding: 13px 14px; color-scheme: dark; outline: none; transition: border-color 0.15s, background 0.15s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--rose); background: rgba(246, 239, 227, 0.1); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 2px; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(246, 239, 227, 0.6); }
.fld option { color: var(--ink); background: var(--cream); }
.fld textarea { min-height: 120px; resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--rose); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--rose); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 8px; }
.form-status { margin: 0; font-size: 15px; }
.form-status[data-tone="ok"] { color: var(--sky); }
.form-status[data-tone="err"] { color: var(--rose); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid rgba(246, 239, 227, 0.28); padding: 48px 0 40px; }
.foot-mark {
  font-family: var(--display); font-weight: 700; font-stretch: 75%; font-size: clamp(3.4rem, 15.5vw, 15rem);
  letter-spacing: -0.055em; line-height: 0.82; margin: 0 0 32px; white-space: nowrap;
}
.foot-mark i { font-weight: 500; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 13px; color: var(--muted-dark); }
.foot-row p { margin: 0; }

/* ---------- small screens ---------- */
html[lang="ko"] .stage-age { white-space: normal; line-height: 1.05; }
@media (max-width: 640px) {
  .nav { visibility: hidden; }
}

/* ---------- hover details ---------- */
.gallery img { transition: filter 0.9s ease, transform 1.4s var(--ease); }
.pc-art { transition: transform 0.8s var(--ease), background-position 0.9s var(--ease); }
@media (hover: hover) {
  .gallery figure:hover img { filter: none; }
  .pcard:hover .art-arch { transform: translateY(-12px); }
  .pcard:hover .art-dots { background-position: 1.5em 0; }
  .pcard:hover .art-stairs { transform: translateY(-1em); }
}

/* ---------- mobile sticky CTA ---------- */
.m-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; gap: 12px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  /* solid background: a blur on a fixed bar repaints badly while iPhone Safari scrolls */
  background: var(--paper);
  border-top: 1px solid var(--line);
  transform: translate3d(0, 110%, 0); visibility: hidden; will-change: transform;
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.m-cta.show { transform: none; visibility: visible; transition: transform 0.5s var(--ease); }
.m-cta p { margin: 0; flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
.m-cta .btn { padding: 12px 18px; font-size: 15px; flex: none; }
@media (min-width: 701px) { .m-cta { display: none; } }

/* ==========================================================================
   Motion
   One easing curve, 0.5–1s, 70ms steps between siblings.
   Hero intro is pure CSS; scroll reveals only apply once main.js adds
   .js-motion, so content is never hidden without JavaScript.
   Everything is skipped for people who ask for reduced motion.
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 28px)); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoom-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes widen { from { font-stretch: 96%; } to { font-stretch: 82%; } }
@keyframes settle { from { opacity: 0; transform: translateY(-0.2em) rotate(-12deg); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* hero intro */
  .hero-img { animation: zoom-settle 1.8s var(--ease) both; }
  .hero-shade { animation: fade 1.2s ease both; }
  .hero-tags { animation: rise 0.9s var(--ease) 0.15s both; }
  .hero-display .ln { --rise: 0.45em; animation: rise 1s var(--ease) calc(0.3s + var(--i) * 0.09s) both; }
  .hero-en { animation: widen 1.6s var(--ease) 0.3s both; }
  .hero-display i { display: inline-block; animation: settle 1.1s var(--ease) calc(0.8s + var(--i) * 0.09s) both; }
  .hero-lead { animation: rise 1s var(--ease) 1s both; }
  .founding-strip-inner { animation: fade 1s ease 1.2s both; }

  /* scroll reveals */
  .js-motion .rv { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
  .js-motion .rv:not(.in) { opacity: 0; transform: translateY(24px); }
  .js-motion .spot.rv:not(.in) { transform: scale(0.86); }

  /* headings settle into their narrow width as they appear */
  .js-motion .rv .d-en { transition: font-stretch 1.3s var(--ease) var(--d, 0ms); }
  .js-motion .rv:not(.in) .d-en { font-stretch: 98%; }

  /* how it works: rule draws left to right */
  .js-motion .how li::before { transition: transform 1s var(--ease) var(--d, 0ms); }
  .js-motion .how li.rv:not(.in)::before { transform: scaleX(0); }

  /* approach: bars grow in turn, then labels, then the small block drops on top */
  .js-motion .stages.rv:not(.in) { opacity: 1; transform: none; }
  .js-motion .stage::before { transition: transform 1s var(--ease) calc(var(--i) * 0.13s); }
  .js-motion .stage > .stage-age, .js-motion .stage > .stage-name { transition: opacity 0.6s ease calc(0.45s + var(--i) * 0.13s), transform 0.8s var(--ease) calc(0.45s + var(--i) * 0.13s); }
  .js-motion .stage-ico { transition: opacity 0.4s ease calc(0.8s + var(--i) * 0.13s), transform 0.8s var(--ease) calc(0.8s + var(--i) * 0.13s); }
  .js-motion .stage-axis { transition: opacity 0.8s ease 0.6s; }
  .js-motion .stages:not(.in) .stage::before { transform: scaleY(0); }
  .js-motion .stages:not(.in) .stage > .stage-age,
  .js-motion .stages:not(.in) .stage > .stage-name { opacity: 0; transform: translateY(10px); }
  .js-motion .stages:not(.in) .stage-ico { opacity: 0; transform: translateY(-28px); }
  .js-motion .stages:not(.in) .stage-axis { opacity: 0; }

  /* footer wordmark: letters rise one by one */
  .js-motion .foot-mark.rv:not(.in) { opacity: 1; transform: none; }
  .js-motion .foot-mark .ch { display: inline-block; transition: opacity 0.9s var(--ease) calc(var(--i) * 0.07s), transform 1s var(--ease) calc(var(--i) * 0.07s); }
  .js-motion .foot-mark:not(.in) .ch { opacity: 0; transform: translateY(0.35em); }
}

/* ---------- program cards stack like blocks (desktop, when each card fits on screen) ---------- */
.pcards.is-stacked .pcard {
  position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 18px);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--cover, 0) * 0.05));
  filter: brightness(calc(1 - var(--cover, 0) * 0.07));
  box-shadow: 0 -14px 32px -22px rgba(42, 37, 31, 0.35);
}

/* ---------- header CTA wording ---------- */
.cta-short { display: none; }
@media (max-width: 480px) {
  .pill-book .cta-long { display: none; }
  .pill-book .cta-short { display: inline; }
}

/* ---------- founder proof and CV ---------- */
.founder-name { color: var(--ink); }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 16px 24px; margin: 8px 0 0; }
.proof > div { border-top: 1.5px solid var(--ink); padding-top: 12px; min-width: 0; }
.proof dt { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; font-stretch: 82%; letter-spacing: -0.04em; line-height: 1; }
html[lang="ko"] .proof dt { font-family: 'Noto Sans KR', sans-serif; font-weight: 700; letter-spacing: -0.03em; font-size: clamp(24px, 2.2vw, 30px); }
.proof dd { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.cv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.cv-certs, .cv-time { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; line-height: 1.45; }
.cv-certs li { display: flex; gap: 10px; }
.cv-certs li::before { content: ""; width: 7px; height: 7px; background: var(--ink); flex: none; margin-top: 8px; }
.cv-time li { display: grid; grid-template-columns: 46px 1fr; gap: 8px; }
.cv-time .yr { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-soft); }
.cv-time b { display: block; font-weight: 600; }
.cv-time li > span:last-child { color: var(--ink-soft); }
.cv-time b { color: var(--ink); }

/* ---------- report list: always open on wide screens, a tap-to-open list on phones ---------- */
.rep-d > summary { list-style: none; display: flex; align-items: center; gap: 10px; margin: 0 0 11px; }
.rep-d > summary::-webkit-details-marker { display: none; }
.rep-d .rep-count, .rep-d .sign { display: none; }
@media (min-width: 701px) { .rep-d > summary { pointer-events: none; } }
@media (max-width: 700px) {
  .rep-d { border-top: 1px solid var(--line); }
  .rep-d > summary { cursor: pointer; min-height: 48px; margin: 0; }
  .rep-d .rep-count { display: inline; margin-left: auto; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-size: 14px; }
  .rep-d .sign { display: block; position: relative; width: 16px; height: 16px; flex: none; }
  .rep-d .sign::before, .rep-d .sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform 0.45s var(--ease); }
  .rep-d .sign::after { transform: rotate(90deg); }
  .rep-d[open] .sign::after { transform: rotate(0deg); }
  .rep-d[open] .rep { padding-bottom: 6px; }
}

/* ---------- phones: compare table hidden (cards already say the same), gallery swipes ---------- */
@media (max-width: 700px) {
  .glance .mini, .glance .table-scroll { display: none; }
  .glance { margin-top: 24px; }
  .gallery {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    padding-bottom: 6px; scrollbar-width: thin;
  }
  .gallery figure { flex: 0 0 78%; scroll-snap-align: start; }
  .gallery img { height: 300px; }
}

/* ---------- form: required marks and messages under each field ---------- */
.req { color: var(--rose); font-weight: 700; }
.req-note { margin: 0 0 -4px; font-size: 14px; color: var(--muted-dark); }
.req-note span { color: var(--rose); font-weight: 700; }
.fld-err { margin: 0; font-size: 14px; line-height: 1.4; color: var(--rose); }
.check + .fld-err { grid-column: 1 / -1; margin-top: -10px; padding-left: 34px; }

/* founder stats (left) and CV (right) share one full-width row under the About columns */
.about-more {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 80px;
  margin-top: clamp(40px, 5vw, 64px); align-items: start;
}
.about-more .proof { margin: 0; }
.about-more .cv { margin: 0; border-top: 0; padding-top: 0; }

/* spam trap for bots (Netlify honeypot), never shown */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* language links: centre the label like the buttons */
.lang-switch a { display: inline-flex; align-items: center; text-decoration: none; font: 600 13px/1 'Instrument Sans', sans-serif; letter-spacing: 0.04em; border-radius: 999px; }
.lang-switch a[lang="ko"] { font-family: 'Noto Sans KR', sans-serif; letter-spacing: 0; }

/* contact email in the booking section */
.mail { color: var(--cream); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.book a.mail:hover { color: var(--rose); }
