/* dataart.ai.kr site (Strata). Page styles only; the engine stays untouched.
   Sub pages: reuse the dawn-ridge background with
     <div class="landscape" data-landscape="sub"></div> inside a position:relative host,
     plus landscape.css / landscape.js. Details in COMPONENTS.md.
   Tokens first: six colours, two faces, one accent. */
:root {
  --sc-canvas:     #0B1626;
  --sc-surface:    #12213A;
  --sc-ink:        #EEF2F8;
  --sc-ink-soft:   #A9B6CA;
  --sc-accent:     #78A6FF;   /* brand #1A5CE8 lifted for dark grounds */
  --sc-accent-ink: #081221;
  --sc-font-display: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --sc-font-text:    "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --sc-font-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sc-shadow-color: 218 60% 4%;

  /* strata grounds, top to bedrock. Never #000. */
  --g-hero:    #0B1626;
  --g-quiet:   #08111D;
  --g-method:  #0C1828;
  --g-product: #0F2230;
  --g-case:    #0C1C2B;
  --g-course:  #10202F;
  --g-field:   #0D1B28;
  --g-bed:     #091420;

  --line: color-mix(in oklab, var(--sc-ink) 13%, transparent);
  --line-strong: color-mix(in oklab, var(--sc-ink) 24%, transparent);
  --nav-h: 64px;
  --sc-maxw: 68rem;          /* ~1088px section container */
  --read: 40rem;             /* ~640px reading measure */
  --r: 12px;
}

html { scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  background: var(--g-hero);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.7;
  letter-spacing: -0.003em;
}
h1, h2, h3 { word-break: keep-all; }
.mono { font-family: var(--sc-font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--sc-accent); color: var(--sc-accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Korean display: Hangul needs more leading than Latin display metrics. */
.h-display { font-family: var(--sc-font-display); font-weight: 650; letter-spacing: -0.03em; line-height: 1.16; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 3.1rem); }
.h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
.lede { font-size: var(--sc-t-lg); line-height: 1.6; color: var(--sc-ink-soft); margin: 0; max-width: min(var(--read), 100%); text-wrap: pretty; }
.note { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); margin: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sc-font-mono); font-size: 0.75rem; letter-spacing: 0.02em;
  color: var(--sc-ink-soft); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 2px 10px; line-height: 1.6; white-space: nowrap;
}
.tag--live { color: var(--sc-ink); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--ghost { background: transparent; color: var(--sc-ink); border-color: var(--line-strong); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover:not(:disabled) { background: #93B8FF; }
  .btn--ghost:hover:not(:disabled) { border-color: var(--sc-ink-soft); background: color-mix(in oklab, var(--sc-ink) 6%, transparent); }
}

/* ----------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  transition: opacity 240ms var(--sc-ease-out), background-color 240ms var(--sc-ease-out);
}
.nav__in { width: 100%; max-width: var(--sc-maxw); margin: 0 auto; padding-inline: var(--sc-gutter); display: flex; align-items: center; gap: 28px; }
.mark { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--sc-ink); font-weight: 700; letter-spacing: -0.01em; font-size: 1.06rem; }
.mark img { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--sc-ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out); }
.nav__links a[aria-current] { color: var(--sc-ink); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 7%, transparent); } }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.nav__menu { display: none; }
/* the bar sinks into the landscape once the hero is behind you */
/* rev5: at the top only a shallow fade (the landscape shows through); once
   scrolled a navy-tinted, blurred bar. No opacity on the bar itself, so the
   logo and links never dim and big headings never show through them. */
/* rev10: the header is its own strip (reference: AIS). A solid bar with a
   hairline under it at every scroll position; the hero starts below it, and the
   sky never shows through the logo or the links. */
.nav, .nav.is-solid, .nav.is-sunk {
  background: #0A1424; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* --------------------------------------------------------- strata edges */
.stratum { position: relative; }
.edge { position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(36px, 5vw, 72px); pointer-events: none; z-index: 2; }
.edge svg { width: 100%; height: 100%; display: block; }

/* ================================================================ HERO */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: clip; background: var(--g-hero); isolation: isolate; }
/* sky, stars and ridges: landscape.css (component) */

.hero__copy {
  position: absolute; z-index: 7; left: 0; right: 0; margin-inline: auto; top: calc(var(--nav-h) + clamp(24px, 5vh, 56px));
  width: min(52rem, calc(100% - 2 * var(--sc-gutter)));
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hero__copy h1 { font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.7rem); }
.hero__copy p { margin: 0; color: #C4CEDD; font-size: var(--sc-t-lg); line-height: 1.55; max-width: 34ch; text-wrap: balance; }
.hero__copy .btn { margin-top: 8px; }



/* ------------------------------------------------- the product window */
.win {
  background: #0F1C2F; border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--sc-edge), 0 30px 60px -20px hsl(var(--sc-shadow-color) / 0.7), 0 8px 18px hsl(var(--sc-shadow-color) / 0.4);
  overflow: hidden; color: var(--sc-ink);
}
.win__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0C1828; }
.win__name { font-weight: 650; font-size: 0.92rem; white-space: nowrap; }
.win__tabs { display: flex; gap: 4px; margin-left: auto; }
.win__tab {
  appearance: none; border: 1px solid transparent; background: transparent; color: var(--sc-ink-soft);
  min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 0.86rem; font-weight: 500; cursor: pointer;
  transition: color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.win__tab[aria-selected="true"] { color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 9%, transparent); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .win__tab:hover { color: var(--sc-ink); } }
.win__body { min-height: 440px; }
.win__panel[hidden] { display: none; }

/* desk demo */
.desk { display: grid; grid-template-columns: 1fr 280px; }
.desk__main { padding: 16px 18px 20px; }
.desk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.desk__head h3 { margin: 0; font-size: 1rem; font-weight: 650; }
.desk__rows { list-style: none; margin: 0; padding: 0; }
.desk__row { display: grid; grid-template-columns: 1fr 88px 64px 92px; align-items: center; gap: 10px; min-height: 48px; border-top: 1px solid var(--line); font-size: 0.93rem; }
.desk__row .rep { color: var(--sc-ink-soft); font-size: 0.85rem; }
.desk__row .min { color: var(--sc-ink-soft); text-align: right; }
.toggle {
  appearance: none; min-height: 34px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--sc-ink); font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.toggle[aria-pressed="true"] { background: color-mix(in oklab, var(--sc-accent) 22%, transparent); border-color: color-mix(in oklab, var(--sc-accent) 60%, transparent); color: #DCE7FF; }
.toggle:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .toggle:hover { border-color: var(--sc-ink-soft); } }
.desk__side { border-left: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; background: #0D192A; }
.stat span { display: block; font-size: 0.8rem; color: var(--sc-ink-soft); }
.stat b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.stat--agent b { color: #B9CEFF; }
.minibar { position: relative; height: 34px; border-radius: 6px; background: color-mix(in oklab, var(--sc-ink) 5%, transparent); overflow: hidden; }
.minibar i { position: absolute; top: 5px; bottom: 5px; left: calc(var(--s) * 100%); width: calc(var(--d) * 100%); border-radius: 3px; background: #4A5B78; transition: background-color 200ms var(--sc-ease-out); }
.minibar i.is-agent { background: var(--sc-accent); }
.minibar__axis { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--sc-ink-soft); }

/* hub demo */
.hub { padding: 16px 18px 20px; }
.hub__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.hub__list li { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0D192A; }
.hub__list img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hub__list p { margin: 0; padding: 10px 12px 12px; font-size: 0.86rem; line-height: 1.45; font-weight: 550; }
.hub__list small { display: block; color: var(--sc-ink-soft); font-weight: 400; font-size: 0.75rem; margin-bottom: 2px; }

/* image window */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { padding: 10px 16px 14px; font-size: 0.82rem; color: var(--sc-ink-soft); border-top: 1px solid var(--line); }

/* ========================================================== PROBLEM */
.problem { background: var(--g-quiet); height: 160vh; }
.problem__stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.problem__text { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.8rem); line-height: 1.6; letter-spacing: -0.015em; font-weight: 600; max-width: var(--read); margin: 0; text-wrap: pretty; }
.problem__text .w { opacity: 0.2; transition: opacity 260ms var(--sc-ease-out); }
.problem__text .w.on { opacity: 1; }
.problem__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; opacity: 0; transition: opacity 600ms var(--sc-ease-out); }
.problem__floor.on { opacity: 1; }
.problem__floor svg { width: 100%; height: 100%; display: block; }

/* =========================================================== METHOD (peak) */
.method { background: var(--g-method); }
.method [data-sc-stage] { display: grid; grid-template-columns: minmax(16rem, 0.34fr) 1fr; gap: clamp(24px, 4vw, 56px); padding: calc(var(--nav-h) + 28px) var(--sc-gutter) 40px; max-width: 76rem; margin: 0 auto; }
.method__copy { align-self: start; display: flex; flex-direction: column; gap: 16px; padding-top: 4vh; }
.method__legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.method__legend li { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.method__legend b { display: block; font-size: 1rem; }
.method__legend span { font-size: 0.9rem; color: var(--sc-ink-soft); line-height: 1.55; display: block; }
.method__close { font-size: var(--sc-t-xl); font-weight: 650; letter-spacing: -0.02em; line-height: 1.35; margin: 8px 0 0; max-width: 18em; }
.field { position: relative; min-height: 0; }
.band { position: absolute; left: 0; right: 0; }
.band { border-top: 1px dashed var(--line); }
.band__fill { position: absolute; left: 0; right: 0; bottom: 0; top: 0; transform-origin: 50% 100%; transform: scaleY(var(--fill, 0.3)); }
.band__fill svg { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 18px; display: block; }
.band__label { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding-left: 14px; z-index: 1; }
.band__label b { display: block; font-size: 1.02rem; font-weight: 650; }
.band__label span { font-size: 0.78rem; color: var(--sc-ink-soft); }
.chips { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  padding: 7px 13px; border-radius: 8px; font-size: 0.9rem; font-weight: 550;
  background: #172842; border: 1px solid var(--line-strong); color: var(--sc-ink);
  box-shadow: 0 6px 14px -6px hsl(var(--sc-shadow-color) / 0.8);
  will-change: transform; transition: border-color 260ms var(--sc-ease-out), background-color 260ms var(--sc-ease-out);
}
.chip.is-set { background: #1A2E4C; border-color: color-mix(in oklab, var(--sc-accent) 45%, transparent); box-shadow: none; }

/* ========================================================= PRODUCTS */
.products { background: var(--g-product); padding: clamp(4rem, 7vw, 7rem) 0 clamp(4rem, 7vw, 7rem); }
.products__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(2.5rem, 4vw, 4rem); max-width: 40rem; }
.prod { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.prod + .prod { margin-top: clamp(3rem, 6vw, 6rem); }
.prod--flip { grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr); }
.prod--flip .prod__text { order: 2; }
.prod__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.prod__text p { margin: 0; color: var(--sc-ink-soft); max-width: 34ch; }
.prod .win__body { min-height: 0; }
.prod .desk { grid-template-columns: 1fr; }
.prod .desk__side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; }
.prod .desk__side > div:last-child { flex: 1 1 200px; }
.prod .desk__row { grid-template-columns: 1fr 76px 56px 84px; }
.prod .hub__list { grid-template-columns: repeat(3, 1fr); }

/* ============================================================ CASE */
.case { background: var(--g-case); }
.case [data-sc-stage] { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: calc(var(--nav-h) + 16px) var(--sc-gutter) 32px; max-width: var(--sc-maxw); margin: 0 auto; }
.case__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.case__caps { position: relative; min-height: 2.2em; }
.case__caps p { position: absolute; inset: 0 auto auto 0; margin: 0; font-size: var(--sc-t-lg); font-weight: 600; letter-spacing: -0.015em; }
.tl { --lane-gap: 76px; position: relative; padding-left: 92px; }
.tl__axis { position: relative; height: 22px; font-size: 0.75rem; color: var(--sc-ink-soft); }
.tl__axis span { position: absolute; left: calc(var(--s) * 100%); transform: translateX(-50%); }
.tl__lanes { position: relative; height: calc(var(--lane-gap) * 2); }
.tl__lane { position: absolute; left: 0; right: 0; height: 60px; border-top: 1px solid var(--line); }
.tl__lane--me { top: 0; }
.tl__lane--ai { top: var(--lane-gap); }
.tl__lane-name { position: absolute; right: calc(100% + 14px); top: 18px; font-size: 0.85rem; color: var(--sc-ink-soft); white-space: nowrap; }
.tl__blk {
  position: absolute; top: 8px; height: 52px; left: calc(var(--s) * 100%); width: calc(var(--d) * 100% - 4px);
  border-radius: 6px; overflow: hidden; background: color-mix(in oklab, var(--sc-ink) 6%, transparent);
  transform: translate3d(0, calc(var(--m, 0) * var(--lane-gap)), 0); will-change: transform;
}
.tl__blk--fixed { background: transparent; border: 1px dashed var(--line-strong); }
.tl__fill { position: absolute; inset: 0; background: #3E4F6C; transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.tl__blk.is-agent .tl__fill { background: color-mix(in oklab, var(--sc-accent) 70%, #0F2230); }
.tl__blk b { position: relative; display: block; padding: 7px 8px 0; font-size: 0.8rem; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl__blk small { position: relative; display: block; padding: 0 8px; font-size: 0.7rem; color: #C2CCDB; }
.tl__gap { position: absolute; top: 8px; height: 52px; left: calc(var(--s) * 100%); width: calc(var(--d) * 100% - 4px); border-radius: 6px; border: 1px solid color-mix(in oklab, var(--sc-accent) 55%, transparent); opacity: 0; display: grid; place-items: center; font-size: 0.78rem; color: #CFE0FF; font-weight: 600; }
.tl__clock { position: absolute; left: calc(var(--c, 0) * 100%); top: -6px; bottom: -6px; width: 2px; pointer-events: none; }  /* rev12: positioned by left, not a full-width box translated 100% (that added 604px of page width at --c:1 in reduced) */
.tl__clock::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--sc-ink); opacity: 0.8; }
.case__sum { display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.case__sum div span { display: block; font-size: 0.85rem; color: var(--sc-ink-soft); }
.case__sum div b { font-size: 1.6rem; font-weight: 600; }
.case__sum .is-gap b { color: #B9CEFF; }

/* ========================================================== COURSES */
.courses { background: var(--g-course); }
.courses [data-sc-stage] { display: flex; align-items: center; }
.rail { gap: clamp(16px, 2vw, 28px); padding: calc(var(--nav-h) + 12px) var(--sc-gutter) 24px; align-items: stretch; }
.rail > * { flex: none; }
.rail__lead { width: min(26rem, 80vw); display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-right: 2vw; }
.course { width: clamp(17rem, 27vw, 25rem); display: flex; flex-direction: column; gap: 12px; }
.course__frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0C1828; }
.course__frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.course h3 { font-size: 1.12rem; line-height: 1.45; font-weight: 650; letter-spacing: -0.015em; margin: 0; }
.course p { margin: 0; color: var(--sc-ink-soft); font-size: 0.93rem; line-height: 1.6; }
.course small { font-family: var(--sc-font-mono); font-size: 0.74rem; color: var(--sc-ink-soft); }
.rail__end { width: min(20rem, 76vw); display: flex; flex-direction: column; justify-content: center; gap: 16px; align-items: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .course { opacity: calc(0.55 + 0.45 * var(--settle, 1)); transform: translate3d(0, calc((1 - var(--settle, 1)) * 18px), 0); }
}

/* ============================================================ FIELD + FAQ */
.fieldnotes { background: var(--g-field); padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem); }  /* follows a pinned act: reduced top padding */
.photos { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(2rem, 4vw, 3.5rem); }
.photos figure { margin: 0; }
.photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.photos .p1 { grid-row: span 2; }
.photos .p1 img { aspect-ratio: auto; height: 100%; min-height: 420px; }
.photos .p2 img, .photos .p3 img { aspect-ratio: 16 / 10; height: auto; }
.photos figcaption { font-size: 0.82rem; color: var(--sc-ink-soft); margin-top: 8px; }
.faq { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr); gap: clamp(24px, 4vw, 64px); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; padding: 14px 4px; font-weight: 600; font-size: 1.04rem; border-radius: 6px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--sc-font-mono); color: var(--sc-ink-soft); font-size: 1.2rem; transition: transform 200ms var(--sc-ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { margin: 0 4px 18px; color: var(--sc-ink-soft); max-width: 56ch; }
@media (hover: hover) and (pointer: fine) { .faq__list summary:hover { color: #fff; } }

/* ======================================================= BEDROCK: pricing + form */
.bedrock { background: var(--g-bed); padding: clamp(5rem, 9vw, 8rem) 0 0; }
.bedrock__texture { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(176deg, transparent 0 46px, color-mix(in oklab, var(--sc-ink) 3%, transparent) 46px 47px); }
.pricing { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(2rem, 4vw, 3rem); }
.tier { border: 1px solid var(--line); border-radius: var(--r); background: #0F1D2D; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sc-edge); }
.tier--main { grid-row: span 2; background: #12233A; border-color: color-mix(in oklab, var(--sc-accent) 38%, transparent); }
.tier h3 { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
/* rev9: the price line is a quiet note under the name, not the headline of the card */
.tier__price { align-self: flex-start; margin: 0; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.82rem; font-weight: 550; letter-spacing: 0; line-height: 1.5; color: var(--sc-ink-soft); }
.tier .tag { align-self: flex-start; }
.tier p { margin: 0; color: var(--sc-ink-soft); }
.tier ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tier li { padding-left: 18px; position: relative; font-size: 0.95rem; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 1px; background: var(--sc-ink-soft); }
.tier .btn { margin-top: auto; align-self: flex-start; }
.tier--main .btn { margin-top: 12px; }

.apply { position: relative; display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.apply__intro { display: flex; flex-direction: column; gap: 16px; }
.steps { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.steps li { position: relative; padding: 0 0 18px 28px; color: var(--sc-ink-soft); }
.steps li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 11px; height: 11px; border-radius: 50%; background: var(--g-bed); border: 1px solid var(--sc-ink-soft); }
.steps li:first-child::before { background: var(--sc-accent); border-color: var(--sc-accent); }
.steps b { display: block; color: var(--sc-ink); font-weight: 600; }

.form { border: 1px solid var(--line); border-radius: var(--r); background: #0E1B2B; padding: clamp(20px, 2.6vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f--wide { grid-column: 1 / -1; }
.f label, .f legend { font-size: 0.9rem; font-weight: 600; }
.f .opt { color: var(--sc-ink-soft); font-weight: 400; }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #0A1624; color: var(--sc-ink); font-size: 1rem;
  transition: border-color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.f textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.f input::placeholder, .f textarea::placeholder { color: #7D8BA1; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: var(--sc-ink-soft); }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 1px; border-color: transparent; }
.f [aria-invalid="true"] { border-color: #FF8A80; }
.err { margin: 0; min-height: 0; font-size: 0.84rem; color: #FFB3AB; }
.err:empty { display: none; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--sc-accent); }
.consent input[aria-invalid="true"] { outline: 2px solid #FF8A80; outline-offset: 2px; }
.consent small { display: block; color: var(--sc-ink-soft); font-size: 0.82rem; margin-top: 4px; }
.consent a { color: #B9CEFF; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 0.95rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #0A1624; }
.form__status:empty { display: none; }
.form__status[data-tone="draft"] { border-color: #E2B862; color: #F3D9A0; }
.form__status[data-tone="ok"] { border-color: #6FD3A0; color: #BDF0D4; }

.foot { position: relative; border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 0.86rem; color: var(--sc-ink-soft); }
.foot__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot p { margin: 0; line-height: 1.8; }
.foot a { color: var(--sc-ink); }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px 18px; flex-wrap: wrap; }
.foot nav a { display: inline-flex; align-items: center; min-height: 32px; }  /* rev13: click area (was 16px tall text) */

/* ======================================================= reduced motion */
@media (prefers-reduced-motion: reduce) {
  .problem { height: auto; }
  .problem__stick { position: relative; height: auto; padding: clamp(6rem, 12vw, 10rem) 0; }
  .problem__text .w { opacity: 1; }
  .problem__floor { position: relative; opacity: 1; height: 14vh; }
}
html.is-reduced .method [data-sc-stage], html.is-reduced .case [data-sc-stage] { position: relative; height: auto; min-height: 100svh; }
html.is-reduced .method__close { opacity: 1 !important; }

/* ================================================================ MOBILE */
@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .nav__in { gap: 12px; }
  .nav__links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--g-quiet); border-bottom: 1px solid var(--line); padding: 8px var(--sc-gutter) 14px;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open { background: var(--g-quiet); }
  .nav__links a { min-height: 48px; padding: 0 4px; font-size: 1.02rem; }
  .nav__menu { display: inline-flex; margin-left: auto; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--sc-ink); font-size: 0.92rem; font-weight: 600; align-items: center; cursor: pointer; }
  .nav .btn { padding: 0 14px; font-size: 0.9rem; }

  .hero { min-height: 600px; }
  .hero__copy { top: calc(var(--nav-h) + 22px); gap: 12px; }
  .hero__copy h1 { font-size: clamp(2rem, 1.2rem + 4.6vw, 2.6rem); }
  .hero__copy p { font-size: 1rem; max-width: 26ch; }
  .win__bar { flex-wrap: wrap; gap: 6px 10px; padding: 8px 10px; }
  .win__tabs { margin-left: 0; width: 100%; overflow-x: auto; }
  .win__tab { flex: none; padding: 0 10px; font-size: 0.82rem; }
  .win__body { min-height: 0; }
  .desk { grid-template-columns: 1fr; }
  .desk__side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; gap: 6px 18px; padding: 10px 12px; }
  .desk__side .minibar, .desk__side .minibar__axis { display: none; }
  .stat b { font-size: 1.1rem; }
  .desk__main { padding: 8px 12px 12px; }
  .desk__head { display: none; }
  .desk__row { grid-template-columns: 1fr 52px 76px; min-height: 46px; font-size: 0.9rem; }
  .desk__row .rep { display: none; }
  .hub__list { grid-template-columns: 1fr 1fr; gap: 10px; }

  .problem__text { font-size: 1.22rem; }

  .method [data-sc-stage] { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; padding: calc(var(--nav-h) + 10px) var(--sc-gutter) 18px; }
  .method__copy { padding-top: 0; gap: 8px; }
  .method__copy .h2 { font-size: 1.55rem; }
  .method__copy .lede { font-size: 0.95rem; }
  .method__legend { display: none; }
  .method__close { font-size: 1.08rem; margin-top: 2px; }
  .chip { font-size: 0.78rem; padding: 5px 9px; }
  .band__label { top: 8px; transform: none; padding-left: 10px; }
  .band__label b { font-size: 0.86rem; display: inline; margin-right: 6px; }
  .band__label span { font-size: 0.72rem; }

  .prod { grid-template-columns: 1fr; gap: 22px; }
  .prod--flip .prod__text { order: 0; }

  .case [data-sc-stage] { justify-content: flex-start; gap: 12px; padding-top: calc(var(--nav-h) + 12px); }
  .case__caps p { font-size: 1rem; }
  .tl { --lane-gap: 46%; padding-left: 44px; height: calc(100svh - var(--nav-h) - 250px); min-height: 280px; }
  .tl__axis { position: absolute; left: 0; top: 0; bottom: 0; width: 40px; height: auto; }
  .tl__axis span { left: 0; top: calc(var(--s) * 100%); transform: translateY(-50%); }
  .tl__lanes { height: 100%; }
  .tl__lane { top: 0; bottom: 0; height: auto; width: 44%; border-top: 0; border-left: 1px solid var(--line); }
  .tl__lane--me { left: 0; }
  .tl__lane--ai { left: 50%; top: 0; }
  .tl__lane-name { right: auto; left: 8px; top: -22px; font-size: 0.75rem; }
  .tl__blk, .tl__gap { top: calc(var(--s) * 100%); height: calc(var(--d) * 100% - 3px); left: 6px; width: calc(44% - 10px); }
  .tl__blk { transform: translate3d(calc(var(--m, 0) * (50vw - var(--sc-gutter) - 22px)), 0, 0); }
  .tl__blk b { font-size: 0.72rem; padding: 4px 6px 0; }
  .tl__blk small { display: none; }
  .tl__fill { transform-origin: 50% 0; transform: scaleY(var(--f, 0)); }
  .tl__clock { left: 0; right: 0; width: auto; top: calc(var(--c, 0) * 100%); bottom: auto; height: 2px; }
  .tl__clock::before { top: 0; left: 0; right: 0; bottom: auto; width: auto; height: 2px; }
  .case__sum div b { font-size: 1.2rem; }
  .case__sum { gap: 16px; }

  .course { width: 78vw; }
  .rail__lead { width: 82vw; }

  .photos { grid-template-columns: 1fr; }
  .photos .p1 { grid-row: auto; }
  .photos .p1 img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .faq { grid-template-columns: 1fr; }

  .pricing { grid-template-columns: 1fr; }
  .tier--main { grid-row: auto; }
  .apply { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .prod .desk__row { grid-template-columns: 1fr 52px 76px; }
  .prod .desk__side > div:last-child { display: none; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .hero__copy { top: calc(var(--nav-h) + 14px); gap: 10px; }
  .hero__copy h1 { font-size: 1.9rem; }
  .hero__copy p { font-size: 0.92rem; line-height: 1.5; }
  .hero__copy .btn { margin-top: 2px; min-height: 44px; }
  .method__copy .lede { display: none; }
}
@media (max-width: 380px) {
  .nav .btn { display: none; }
}


/* ======================================================== HERO v2 (rev2) ==
   Sky and ridges come from the landscape component; this block styles the
   subject (product window) that sits in its z-4 slot. */
.hero__copy { z-index: 8; }

.hero__win {
  position: absolute; z-index: 4; left: 50%; top: clamp(452px, 53vh, 520px);
  width: min(980px, 76vw); margin-left: calc(min(980px, 76vw) / -2);
  will-change: transform;
}
.win--hero { display: grid; grid-template-columns: 236px 1fr; height: 430px; background: #0D1828; }
.side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: #0B1523; }
.side__brand { display: flex; align-items: center; gap: 8px; padding: 2px 10px 14px; font-weight: 700; font-size: 0.92rem; }
.side__brand img { width: 20px; height: 20px; }
.side__tab {
  appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  min-height: 42px; padding: 0 12px; border-radius: 9px; border: 1px solid transparent; background: transparent;
  color: var(--sc-ink-soft); font-size: 0.92rem; font-weight: 550; cursor: pointer;
  transition: color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out);
}
.side__tab::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; flex: none; }
.side__tab[aria-selected="true"], .side__tab[aria-current="true"] { color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 9%, transparent); border-color: var(--line); }
.side__tab[aria-selected="true"]::before, .side__tab[aria-current="true"]::before { background: var(--sc-accent); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .side__tab:hover { color: var(--sc-ink); } }

/* one focused scene with a soft blue light that drifts and follows the pointer */
.scene { position: relative; overflow: hidden; isolation: isolate; background: #0E1A2D; }
.glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.glow i {
  position: absolute; left: 50%; top: 32%; width: 120%; aspect-ratio: 1; margin-left: -60%; margin-top: -60%;
  background: radial-gradient(closest-side, rgba(110, 160, 255, 0.40), rgba(80, 125, 220, 0.16) 46%, rgba(60, 100, 200, 0.05) 70%, transparent 100%);
  animation: glowdrift 14s var(--sc-ease-in-out) infinite alternate; will-change: transform;
}
@keyframes glowdrift { 0% { transform: translate3d(-6%, -2%, 0) scale(1); } 50% { transform: translate3d(4%, 3%, 0) scale(1.05); } 100% { transform: translate3d(7%, -3%, 0) scale(0.97); } }
.scene__panel { height: 100%; }
.scene__panel[hidden] { display: none; }
.scene__body { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 36px 28px 0; }
/* mark: plain white variant, no disc, outline, shadow or glow; clear space >= half its height */
.scene__mark { display: block; padding: 4px 0 14px; }
.scene__mark img { width: 48px; height: 48px; }
.scene__name { margin: 8px 0 0; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: #F4F7FC; }
.scene__line { margin: 0; color: #E3E9F3; font-size: 0.98rem; font-weight: 500; }
.scene__body .tag { color: #D5DEEB; border-color: color-mix(in oklab, #fff 30%, transparent); }
.btn--white { background: #F2F5FA; color: #0B1626; min-height: 44px; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .btn--white:hover { background: #fff; } }

/* ============================================= CLOSING highlight (rev2) == */
.closing { position: relative; overflow: clip; background: var(--g-bed); padding: clamp(5rem, 9vw, 8rem) 0 0; isolation: isolate; }
.closing__sky { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #0D1B28 0%, #121F38 40%, #24264A 64%, #3B3354 76%, #1A2036 92%); }
.closing__in { position: relative; display: grid; grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(6rem, 10vw, 9rem); }
.closing__copy { position: relative; z-index: 4; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 12px; }
.closing__win { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 90px); }
.closing__win .win { height: 360px; }
.scene--card { height: 100%; }
.scene--card .scene__body { padding-top: 40px; }
.closing__ridge { position: absolute; left: -4%; right: -4%; bottom: 0; aspect-ratio: 1600 / 600; z-index: 3; pointer-events: none; }
.closing__ridge svg { width: 100%; height: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  .glow i { animation: none; }
}
@media (hover: none), (pointer: coarse) { .glow i { animation: none; } }

@media (max-width: 860px) {
  .hero__win { width: 92vw; margin-left: -46vw; top: 43svh; }
  .win--hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 38svh; min-height: 230px; }
  .side { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; overflow-x: auto; gap: 4px; }
  .side__brand { display: none; }
  .side__tab { width: auto; flex: none; min-height: 38px; font-size: 0.82rem; padding: 0 10px; }
  .side__tab::before { display: none; }
  .scene__body { padding-top: 22px; gap: 6px; }
  .scene__mark { padding: 0 0 10px; }
  .scene__mark img { width: 32px; height: 32px; }
  .scene__name { font-size: 1.2rem; margin-top: 4px; }
  .scene__line { font-size: 0.88rem; }
  .hero .btn--white { display: none; }
  .closing__in { grid-template-columns: 1fr; padding-bottom: 22vw; }
  .closing__win { margin-top: 8px; }
  .closing__win .win { height: 280px; }
  .closing__ridge { left: -40%; right: -40%; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .hero__win { top: 47svh; }
  .win--hero { height: 37svh; min-height: 200px; }
  .scene__body { padding-top: 14px; }
  .scene__body .tag { display: none; }
}

.side__list { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 860px) { .side__list { flex-direction: row; } }

/* light field (rev2): blurred colour blobs on a canvas inside the screen.
   scale(1.12) keeps the blurred edge from showing a dark rim. */
.lightfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; filter: blur(26px) saturate(1.05); transform: scale(1.12); }
.scene { background: #0B1730; }

.foot__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px !important; color: var(--sc-ink); font-weight: 700; }
.foot__brand img { width: 24px; height: 24px; }
.side__brand { gap: 10px; }

/* halo behind the large brand marks (hero scene, closing card only). A separate
   element: the mark itself keeps no recolour, outline, glow or shadow. */
.scene__mark { position: relative; isolation: isolate; }
.halo { position: absolute; left: 50%; top: calc(50% - 5px); width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, #0B1626 0, #0B1626 56%, rgba(120, 166, 255, 0.22) 64%, rgba(120, 166, 255, 0.08) 80%, transparent 100%); }
@media (max-width: 860px) { .halo { width: 60px; height: 60px; margin: -30px 0 0 -30px; top: calc(50% - 5px); } }

/* brand name next to the mark: one value (COPY.brandName), one colour, Pretendard */
.brand-name { font-family: var(--sc-font-text); font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; text-transform: none; color: inherit; }
.mark .brand-name { font-size: 1.06rem; }

/* section badge (user-requested exception to "no eyebrow above every heading").
   Sits in the same block as its heading, 10px above it. No numbers, no glow. */
.badge { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #111F33; color: #D6DEEA; font-size: 0.8rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent); flex: none; }
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.problem .badge { margin-bottom: 18px; }
.case__head { flex-direction: column; align-items: flex-start; gap: 10px; }

/* problem: the paragraph starts near the top so the hero hands over within one scroll */
.problem { margin-top: 0; background: linear-gradient(180deg, #070F1A 0, #08111D 30vh); }  /* rev7: no overlap with the hero. The old -12vh margin put a dark veil over the window's last rows (회사 소개) and started the paragraph too early */  /* overlaps the hero's dark ridge foot so the hand-over is short; the top 12vh fades in over the misty ridge foot instead of starting with a hard line */
@media (prefers-reduced-motion: no-preference) {
  .problem__stick { justify-content: flex-start; padding-top: calc(var(--nav-h) + 5vh); }
  .problem { height: 150vh; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 860px) {
  .problem__stick { padding-top: calc(var(--nav-h) + 4vh); }
  .problem { height: 140vh; }
}

/* ================================= hero window balance (rev2, round 3) ==
   Sidebar ~23% of the window: brand, products, rule, about, then the apply
   link pinned to the bottom. Line icons in one colour. */
.win--hero { grid-template-columns: 23% 1fr; }
.side { gap: 0; padding: 16px 10px 14px; }
.side__list { gap: 2px; }
.side__tab, .side__apply { min-height: 46px; gap: 11px; padding: 0 12px; font-size: 0.9rem; }
.side__tab::before { display: none; }
.side__ic { width: 18px; height: 18px; flex: none; opacity: 0.85; }
.side__tab[aria-selected="true"] .side__ic, .side__tab[aria-current="true"] .side__ic { color: var(--sc-accent); opacity: 1; }
.side__rule { display: block; height: 1px; background: var(--line); margin: 10px 8px; }
.side__apply { margin-top: auto; display: flex; align-items: center; border-radius: 9px; color: #DCE7FF; text-decoration: none; font-weight: 600; border: 1px solid color-mix(in oklab, var(--sc-accent) 40%, transparent); }
@media (hover: hover) and (pointer: fine) { .side__apply:hover { background: color-mix(in oklab, var(--sc-accent) 14%, transparent); } }

/* scene: text block + one small preview, all in the uncovered upper ~60% */
.scene__body { flex-direction: row; align-items: flex-start; justify-content: center; text-align: left; gap: clamp(20px, 3vw, 44px); padding: 26px 32px 0; }
.scene__text .scene__name { font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.65rem); margin-top: 0; }
.scene__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.scene__body--center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.scene__body .tag { margin-top: 4px; }
/* mark disc: the mark at ~53% of a 68px ink disc, halo as a separate element outside */
.scene__mark { display: block; position: relative; isolation: isolate; padding: 0; margin-bottom: 18px; width: 64px; height: 64px; }
.disc { position: absolute; inset: 0; border-radius: 50%; background: #0B1626; display: grid; place-items: center; }
.disc img { width: 34px; height: 34px; display: block; transform: translateY(-1px); }
.halo { left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(120, 166, 255, 0.20), rgba(120, 166, 255, 0.07) 60%, transparent 100%); }
.pv { flex: none; width: clamp(190px, 26%, 260px); margin-top: 6px; border-radius: 10px; border: 1px solid color-mix(in oklab, #fff 18%, transparent); background: rgba(8, 16, 30, 0.72); overflow: hidden; }
.pv--desk { padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.pv--desk i { display: flex; align-items: center; gap: 10px; height: 14px; }
.pv--desk i::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #9DB8F0; flex: none; }
.pv--desk i::after { content: ""; height: 6px; border-radius: 3px; background: #4C628A; flex: 1; }
.pv--desk i:nth-child(1)::after { flex: 0 0 82%; } .pv--desk i:nth-child(2)::after { flex: 0 0 64%; } .pv--desk i:nth-child(3)::after { flex: 0 0 74%; }
.pv--desk i:nth-child(odd)::before { background: var(--sc-accent); border-color: var(--sc-accent); }
.pv--hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; }
.pv--hub img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; }
.pv--img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.scene--card .scene__body { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

/* ================================================ ABOUT (rev2) == */
.about { background: #0C1A27; padding: clamp(4rem, 7vw, 7rem) 0; }
.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__lede { margin: 22px 0 0; max-width: 36em; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.7; color: var(--sc-ink); font-weight: 500; text-wrap: pretty; }
.about__steps { list-style: none; margin: 32px 0 0; padding: 0; max-width: 36em; display: flex; flex-direction: column; }
.about__steps li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.about__steps li:last-child { border-bottom: 1px solid var(--line); }
.about__steps b { font-weight: 650; }
.about__steps span { color: var(--sc-ink-soft); }
.about__facts { margin: 6px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #0F1D2D; display: flex; flex-direction: column; gap: 14px; font-size: 0.92rem; }
.about__facts dt { color: var(--sc-ink-soft); font-size: 0.8rem; margin-bottom: 2px; }
.about__facts dd { margin: 0; }
.about__facts a { color: #B9CEFF; }
.faqsec { background: var(--g-field); padding: 0 0 clamp(4rem, 7vw, 6rem); }
.faqsec .faq { margin-top: 0; padding-top: clamp(4rem, 7vw, 6rem); }

@media (max-width: 860px) {
  .win--hero { grid-template-columns: 1fr; }
  .side { padding: 6px; }
  .side__apply, .side__rule { display: none; }
  .side__tab { min-height: 38px; padding: 0 10px; font-size: 0.82rem; gap: 6px; }
  .side__ic { display: none; }
  .scene__body { flex-direction: column; align-items: center; text-align: center; padding: 20px 18px 0; gap: 6px; }
  .scene__text { align-items: center; gap: 6px; }
  .pv { display: none; }
  .scene__mark { width: 52px; height: 52px; margin-bottom: 14px; }
  .disc img { width: 28px; height: 28px; }
  .halo { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
  .about__in { grid-template-columns: 1fr; }
  .about__steps li { grid-template-columns: 4.5rem 1fr; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .scene__body { padding-top: 12px; }
  .scene__mark { width: 44px; height: 44px; margin-bottom: 10px; }
  .disc img { width: 24px; height: 24px; }
}
/* decorative pill where a brand row would be (one mark per window: the scene mark) */
.side__pill { display: flex; align-items: center; justify-content: space-between; height: 34px; margin: 0 4px 14px; padding: 0 12px; border-radius: 999px; background: color-mix(in oklab, var(--sc-ink) 7%, transparent); color: var(--sc-ink-soft); }
.side__pill i { display: block; width: 46%; height: 8px; border-radius: 4px; background: color-mix(in oklab, var(--sc-ink) 14%, transparent); }
.side__pill svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .side__pill { display: none; } }
/* hand-over from the Monday stage: the rail starts near the top so the two stages never leave half a screen empty */
@media (min-width: 861px) {
  .courses [data-sc-stage] { align-items: flex-start; }
  .rail { padding-top: calc(var(--nav-h) + 6vh); }
}
/* the Monday timeline fills its stage on desktop (taller lanes) so the hand-over to the rail is short */
@media (min-width: 861px) {
  .tl { --lane-gap: 116px; }
  .tl__lane { height: 100px; }
  .tl__blk, .tl__gap { height: 88px; top: 8px; }
  .tl__blk b { font-size: 0.86rem; padding-top: 10px; }
  .tl__blk small { font-size: 0.74rem; }
  .tl__lane-name { top: 34px; }
  .case [data-sc-stage] { gap: 28px; }
}

/* ============================== product windows: rules sheet + review card ==
   Same surfaces as the desk (win, desk__head, toggle, tag). One accent. */
@media (min-width: 861px) { .side__tab { min-height: 42px; } }   /* five products + about fit the 430px hero window */
.rl, .bf { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.rl__head { display: flex; margin-bottom: 0; flex-wrap: wrap; }   /* the desk hides its head on mobile; these windows keep theirs */
.rl__head h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rl__sub { margin: 4px 0 0; font-size: 0.8rem; font-weight: 600; color: var(--sc-ink-soft); letter-spacing: 0; }
.rl__src { margin: 0; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 10px; background: #0D192A; min-width: 0; }
.rl__src legend { padding: 0 6px; font-size: 0.8rem; font-weight: 600; color: var(--sc-ink-soft); }
.rl__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.rl__in { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rl__in label { font-size: 0.78rem; color: var(--sc-ink-soft); }
.rl__in input, .rl__in textarea {
  width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 8px; font-size: 0.9rem;
  border: 1px solid var(--line-strong); background: #0A1624; color: var(--sc-ink);
  transition: border-color 160ms var(--sc-ease-out);
}
.rl__in textarea { min-height: 76px; resize: vertical; line-height: 1.55; }
.rl__in textarea::placeholder { color: #7D8BA1; }
.rl__in input:focus-visible, .rl__in textarea:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 1px; border-color: transparent; }
.rl__reset { margin-top: 10px; padding: 0 12px; }
.rl__outs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rl__out { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 12px; background: #0D192A; min-width: 0; transition: border-color 500ms var(--sc-ease-out); }
.rl__out.is-fresh { border-color: color-mix(in oklab, var(--sc-accent) 70%, transparent); transition-duration: 80ms; }
.rl__out-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.rl__out-head b { font-size: 0.86rem; font-weight: 650; }
.rl__out-head span { font-size: 0.72rem; color: var(--sc-ink-soft); white-space: nowrap; }
.rl__out p { margin: 0; font-size: 0.82rem; line-height: 1.55; color: #D3DBE7; overflow-wrap: anywhere; }
.rl__out .rl__l0 { font-weight: 600; color: var(--sc-ink); }
.rl__out--print { text-align: center; }
.rl__out--print .rl__l0 { font-size: 1.02rem; letter-spacing: -0.01em; margin-bottom: 2px; }
.rl__out--print .rl__out-head { text-align: left; }
.rl__out--chat p { background: #13233A; border-radius: 8px; padding: 6px 9px; }
.rl__v.is-hit { color: #B9CEFF; }
.rl__miss { color: var(--sc-ink-soft); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 0 4px; font-weight: 400; }
.rl__tablewrap { min-width: 0; }
.rl__table { width: 100%; border-collapse: collapse; font-size: 0.8rem; table-layout: fixed; }
.rl__table th, .rl__table td { text-align: left; padding: 7px 8px 7px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.rl__table thead th { color: var(--sc-ink-soft); font-weight: 500; border-top: 0; padding-top: 0; }
.rl__table tbody th { font-weight: 600; }
.rl__table td { color: #D3DBE7; }
.rl__table td.is-empty, .bf__sum dd.is-empty { color: var(--sc-ink-soft); }

/* review card */
.bf__seg { display: flex; gap: 6px; }
.bf__seg .toggle { padding: 0 12px; }
.bf__table th:first-child { width: 6.2rem; }
.bf__table th:last-child { width: 6.4rem; }
.bf__st { display: inline-block; font-size: 0.74rem; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--sc-ink-soft); white-space: nowrap; }
.bf__st--empty { border-style: dashed; }
.bf__st--check { border-color: color-mix(in oklab, var(--sc-accent) 60%, transparent); color: #DCE7FF; }
.bf__qs { margin: 0; padding-left: 1.2rem; font-size: 0.86rem; display: flex; flex-direction: column; gap: 3px; }
.bf__blank { margin: 0; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 0.86rem; color: #D3DBE7; }
.bf__foot { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; align-items: start; margin-top: 4px; }
.bf__out { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 12px; background: #0D192A; min-width: 0; }
.bf__out .rl__sub { margin: 0 0 6px; }
.bf__sum { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; }
.bf__sum dt { color: var(--sc-ink-soft); font-size: 0.74rem; }
.bf__sum dd { margin: 0; overflow-wrap: anywhere; }
.bf__sum ul { margin: 0; padding-left: 1rem; }
.bf__decide { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--sc-ink-soft); }

/* hero previews for the two windows */
.pv--rules { padding: 14px; display: grid; grid-template-columns: 0.8fr 1fr; grid-template-rows: repeat(3, 14px); gap: 10px 12px; }
.pv--rules i { display: block; border-radius: 3px; background: #4C628A; height: 6px; align-self: center; }
.pv--rules .pv__src { grid-row: 1 / span 3; height: auto; align-self: stretch; border-radius: 5px; background: transparent; border: 1.5px solid var(--sc-accent); }
.pv--brief { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.pv--brief i { display: flex; align-items: center; gap: 10px; height: 12px; }
.pv--brief i::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; border: 1.5px solid #9DB8F0; }
.pv--brief i::after { content: ""; height: 6px; border-radius: 3px; background: #4C628A; flex: 0 0 70%; }
.pv--brief i.is-ok::before { background: #9DB8F0; }
.pv--brief i.is-empty::before { border-style: dashed; }
.pv--brief i.is-check::before { border-color: var(--sc-accent); background: var(--sc-accent); }

@media (prefers-reduced-motion: reduce) { .rl__out, .rl__out.is-fresh { transition: none; } }
@media (max-width: 860px) {
  .rl, .bf { padding: 10px 12px 14px; }
  .bf__foot { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .rl__inputs, .rl__outs { grid-template-columns: 1fr; }
  .rl__table { font-size: 0.74rem; }
  .bf__table th:first-child { width: 4.6rem; }
  .bf__table th:last-child { width: 5.2rem; }
}

/* ================================================ rev4: hero sidebar peek ==
   The near ridge should cut the sidebar list the way the reference does: the
   first three products whole, the fourth row half under the ridge. The window
   follows the ridge (near1 crosses the sidebar at about 79% - 3vw of the hero)
   but never rises into the headline and CTA. */
@media (min-width: 861px) {
  .hero__win { top: max(calc(388px + 5vh), calc(79% - 3.03vw - 194px)); }
  .side { padding-top: 12px; }
  .side__pill { margin-bottom: 8px; }
}
/* mobile: the sidebar stays a vertical column (not a tab strip), so the
   product names are never clipped sideways and the list runs under the ridge */
@media (max-width: 860px) {
  .win--hero { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); grid-template-rows: none; }
  .side { flex-direction: column; border-right: 1px solid var(--line); border-bottom: 0; padding: 16px 6px 8px; overflow: hidden; }
  .side__pill { display: flex; height: 30px; margin: 0 2px 12px; padding: 0 10px; }
  .side__list { flex-direction: column; gap: 2px; }
  .side__tab { width: 100%; min-height: 52px; padding: 0 8px; font-size: 0.8rem; }
  .side__tab span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side__rule { display: block; margin: 6px; }
  .scene__body { padding: 18px 12px 0; }
  .scene__name { font-size: 1.05rem; }
  .scene__line { font-size: 0.8rem; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .side { padding-top: 8px; }
  .side__pill { display: none; }
  .side__tab { min-height: 44px; }
  .scene__body { padding-top: 12px; }
}

/* ============================================ rev4: closing highlight ==
   Reference: big line + CTA on the left, a large window on the right (about
   55-60% of the section) whose lower part sinks behind the curved ridge, which
   runs on to the bottom of the screen. */
@media (min-width: 861px) {
  .closing { padding-top: clamp(4rem, 7vw, 6rem); }
  .closing__in { max-width: 80rem; grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr); gap: clamp(32px, 4vw, 56px); padding-bottom: 0; }
  .closing__copy { padding-top: clamp(16px, 3vh, 40px); }
  .closing__win { margin-top: 0; margin-right: calc(-1 * min(0.9 * var(--sc-gutter), var(--sc-gutter) + max(0px, (100vw - 80rem) / 2) - 24px)); }  /* bleeds right, but keeps 24px off the viewport edge */
  .closing__win .win { height: clamp(480px, 66vh, 640px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  /* window runs to the section floor; a lower ridge covers its bottom third and keeps clear of the CTA */
  .closing__ridge { aspect-ratio: auto; height: clamp(260px, 38vh, 380px); }
  .scene--card .scene__body { justify-content: flex-start; padding-top: clamp(56px, 10vh, 96px); gap: 10px; }
  .scene--card .scene__mark { width: 84px; height: 84px; margin-bottom: 22px; }
  .scene--card .disc img { width: 44px; height: 44px; }
  .scene--card .halo { width: 168px; height: 168px; margin: -84px 0 0 -84px; }
  .scene--card .scene__name { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); }
  .scene--card .scene__line { font-size: 1.05rem; }
}
@media (max-width: 860px) {
  .closing__in { padding-bottom: 28px; }
  .closing__win .win { height: clamp(340px, 96vw, 420px); }
  .scene--card .scene__body { justify-content: flex-start; padding-top: 40px; }
}

/* ================================================ rev5: open hero ==
   The near ridges cover at most ~1/3 of the product window, and they move
   slower than the window on scroll, so the window rises out of the ridges
   instead of sinking into them (reference: AIS). One set of variables on
   .hero ties the window, the ridges, the sky glow and the mist bands together:
     --win-top  window top, % of the hero (same formula as the rev4 peek)
     --win-h    window height: 430px, shorter on low screens so 2/3 stays visible
     --ls-y     the page scroll inside the hero, rebuilt from the engine's --sc-p
                (p = (scrollY + vh) / (heroH + vh) for the first flow act). */
.hero { --ls-y: calc(var(--sc-p, 0.5) * (max(100svh, 660px) + 100vh) - 100vh); }
@media (min-width: 861px) {
  .hero {
    --win-top: max(calc(388px + 5vh), calc(79% - 3.03vw - 194px));
    --win-h: min(430px, max(300px, calc((100% - 36px - var(--win-top)) / 0.76)));
  }
  .hero__win { top: var(--win-top); height: var(--win-h); }
  .hero__win .win--hero { height: 100%; }
  /* near ridges: fixed heights (flatter curve over the window), placed from the
     window bottom. near1 dip = 24% of the window, near2 dip = 8%. Dip depth in
     the art: near1 334/600, near2 396/600. */
  .hero .landscape--home .ls-near1 { aspect-ratio: auto; }
  /* the light far ridge starts at the window top, so it never sits behind the
     subline or CTA (keeps the copy at 4.5:1); it shows on both sides only */
  .hero .landscape--home .ls-far1 { top: calc(var(--win-top) - 70px); bottom: 0; height: auto; }
  .hero .landscape--home .ls-near1 { --nh: clamp(220px, 33vh, 300px); height: var(--nh); top: calc(var(--win-top) + var(--win-h) * 0.84 - 0.5567 * var(--nh)); }  /* rev9: dip at 84% of the window (was 76%) so the last menu row, 회사 소개, is not under the ridge */
  /* low screens: the scene keeps title, line, chip and preview in the visible part */
  @media (max-height: 800px) {
    .hero .scene__body { padding-top: 18px; }
    .hero .scene__mark { width: 54px; height: 54px; margin-bottom: 12px; }
    .hero .disc img { width: 29px; height: 29px; }
    .hero .side { padding-top: 8px; }
    .hero .side__pill { margin-bottom: 6px; }
    .hero .side__tab { min-height: 40px; }
  }
}
@media (max-width: 860px) {
  .hero { --ls-y: calc(var(--sc-p, 0.5) * (max(100svh, 600px) + 100vh) - 100vh); --win-top: 43svh; }
}
@media (max-width: 860px) and (max-height: 720px) { .hero { --win-top: 47svh; } }
/* tall phones: window and ridges sit ~30px lower and the window is a little
   taller, so the dark foot below it is shorter. The ridge still cuts the 4th
   product row about in half (tab rows are top-anchored, so both move together). */
@media (max-width: 860px) and (min-height: 721px) {
  .hero { --win-top: 46svh; }
  .hero__win { top: 46svh; }
  .win--hero { height: 40svh; }
  .hero .landscape--home .ls-near1 { top: calc(73.8% - 45.4vw); }
}
/* the dark foot: a faint curved haze (radial, so it never reads as a line) */
.hero .landscape--home .ls-near1::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 50vh; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 46% 34% at 50% 18%, rgba(120, 146, 192, 0.10), rgba(120, 146, 192, 0.04) 55%, transparent 100%);
}
@media (max-width: 860px) {
  .hero .landscape--home .ls-near1::before { background: radial-gradient(ellipse 30% 30% at 50% 22%, rgba(120, 146, 192, 0.15), rgba(120, 146, 192, 0.05) 60%, transparent 100%); }
}

/* rev15: the near ridge closes over the window (reference: AIS, measured from refs/ais-scroll-*).
   landscape.js writes transform with near1 rate -0.18 (rising); `translate` composes with it.
   --near-k is the extra translate, so the ridge's net rate against the page flow is
   (-0.18 + near-k) and its screen speed 1 - that. --win-k delays the window the same way
   (screen speed 1 - win-k). Window ~0.8x, ridge ~1.3x: the ridge climbs over the window and
   the dark foot hands over to the problem section. Reduced motion: nothing moves. */
.hero { --near-k: -0.12; --win-k: 0.20; }
.hero .landscape--home .ls-near1::after { height: 140vh; }  /* the foot rides the ridge at ~1.3x; it must stay below the hero's bottom edge for the whole scroll (was 80vh: a faint band showed) */
.hero .landscape--home .ls-near1::before { display: none; }  /* the soft glow under the ridge showed as a lit strip once the ridge climbs over the window */
@media (max-width: 860px) { .hero { --near-k: -0.07; --win-k: 0.18; } }   /* phone: the window is shorter, so the same relative speed would close it in about half the scroll; measured, see lab/rev15 */
@media (prefers-reduced-motion: no-preference) {
  .hero .landscape--home .ls-near1 { translate: 0 calc(var(--ls-y) * var(--near-k)); }
  .hero__win { translate: 0 calc(var(--ls-y) * var(--win-k)); }
}
}

/* sky (rev6): sky.js paints one canvas from the reference palette (teal,
   magenta, coral at the horizon; navy behind the copy). This coarse ground
   shows only before the canvas is drawn, or when JS is off; `.is-drawn`
   replaces it with plain navy so the canvas is the only sky. */
.hero .landscape--home .ls-sky {
  background:
    radial-gradient(ellipse 60% 30% at 82% calc(var(--win-top) + 30px), #e39282, transparent 70%),
    radial-gradient(ellipse 40% 35% at 2% calc(var(--win-top) + 30px), #016e94, transparent 70%),
    linear-gradient(180deg, #0B1626 0, #111a30 40%, #44315a calc(var(--win-top) - 20px), #b172a5 calc(var(--win-top) + 60px));
}
.hero .landscape--home .ls-sky.is-drawn { background: #0B1626; }

/* static sidebar (no buttons, no tabs): same look as before, no hover change */
.side--static .side__tab { cursor: default; font-family: inherit; letter-spacing: inherit; text-align: left; display: flex; align-items: center; min-width: 0; box-sizing: border-box; }
/* rev7: names wrap (2 lines max by length) instead of being cut with an ellipsis */
.side--static .side__tab { height: auto; padding-block: 8px; }
.side--static .side__tab span { min-width: 0; overflow: visible; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) {
  .side--static .side__tab:hover { color: var(--sc-ink-soft); }
  .side--static .side__tab[aria-current="true"]:hover { color: var(--sc-ink); }
}

/* rev8 field: two wide frames + a strip of small, slightly soft frames (people
   stay unidentifiable; the strip is texture, not evidence) */
.fieldpair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); margin-top: clamp(1.25rem, 2.5vw, 2.25rem); }
.fieldpair figure { margin: 0; }
.fieldpair img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 10px; border: 1px solid var(--line); }
.fieldpair img.is-portrait { object-position: 50% 42%; }  /* the speaker sits at about 40% height of the tall frame */
.fieldpair figcaption { font-size: 0.82rem; color: var(--sc-ink-soft); margin-top: 8px; }
/* one tone for every field photo, so seven different cameras and rooms read as one set:
   less saturated, a cool navy cast (sepia + hue turn), slightly darker. No blur. */
:root { --photo-filter: sepia(0.22) saturate(1.08) contrast(0.98) brightness(1.1); }  /* rev15 "warm": Crema-leaning but lighter so slides keep their text (was a dim sepia). Swap this one line to change every field photo */
.photos img, .fieldpair img { filter: var(--photo-filter); }
@media (max-width: 860px) {
  .fieldpair { grid-template-columns: 1fr; }
}

/* ============================================ rev8: product deck ==
   Three demos = three slides of one card deck. A pinned stage holds the cards;
   as the page scrolls, the next card rises over the previous one (the covered
   card sinks and dims). --y (1 = below the stage, 0 = in place) and --d (how
   far the card is covered) are written by app.js render(). Phone and reduced
   motion: no pin, the cards are ordinary stacked cards. */
.pdeck__stage { display: grid; gap: 28px; }
.pdeck__dots { display: none; }
.pcard { background: #0E1B2C; border: 1px solid var(--line-strong); border-radius: 20px; padding: clamp(18px, 2.4vw, 36px);
  box-shadow: 0 30px 60px -28px rgba(3, 8, 15, 0.7); }
.pdeck + .prod { margin-top: clamp(3rem, 6vw, 6rem); }
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .pdeck { height: calc(100svh + (var(--n) - 1) * 85svh + 20svh); }
  .pdeck__stick { position: sticky; top: 0; height: 100svh; padding-top: calc(var(--nav-h) + 12px); padding-bottom: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
  .pdeck__stick { overflow: clip; }
  .pdeck__stage { position: relative; display: block; height: min(calc(100svh - var(--nav-h) - 96px), 720px); }
  .pcard { position: absolute; inset: 0; margin: 0; overflow: hidden; align-items: stretch; grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    transform: translate3d(0, calc(var(--y, 0) * 112%), 0) scale(calc(1 - var(--d, 0) * 0.05));
    filter: brightness(calc(1 - var(--d, 0) * 0.5)); will-change: transform; }
  .pcard + .pcard { margin-top: 0; }
  .pcard .prod__text { justify-content: center; }
  .pcard .win { display: flex; flex-direction: column; min-height: 0; max-height: 100%; }
  .pcard .win__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: auto; }
  .pdeck__dots { display: flex; gap: 8px; justify-content: center; }
  .pdeck__dots i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in oklab, var(--sc-ink) 28%, transparent); transition: background-color 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
  .pdeck__dots i.on { background: var(--sc-accent); transform: scale(1.25); }
}
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .pcard + .pcard { margin-top: 0; }
}

/* ================================================ rev7: window = product ==
   The hero window is a product screen, not a second headline. Reference: the
   scene content is one small mark + name low in the screen (above the ridge
   cut), the upper area stays quiet light. Desktop only; the phone scene keeps
   its stacked layout. Applies to .hero (the closing card is not touched). */
@media (min-width: 861px) {
  .hero .win--hero { grid-template-columns: max(25%, 204px) 1fr; }  /* wide enough that a name stays on one line at 940px+ */
  /* rev9: a tighter list so all six rows, 회사 소개 included, sit above the ridge */
  .hero .side { padding: 10px 10px 8px; }
  .hero .side__pill { height: 30px; margin-bottom: 6px; }
  .hero .side__tab { min-height: 38px; font-size: 0.86rem; gap: 10px; }
  .hero .side__rule { margin: 6px 8px; }
  /* short screens (about 700-800px tall): drop the decorative search pill, rows a little tighter */
  @media (max-height: 800px) {
    .hero .side { padding-top: 8px; }
    .hero .side__pill { display: none; }
    .hero .side__tab { min-height: 34px; font-size: 0.84rem; padding-block: 5px; }
    .hero .side__rule { margin: 4px 8px; }
  }
  .hero .lightfield { opacity: 0.9; }   /* rev11: was 0.72 (pressed the field dark) */
  /* rev11: teal light from the upper left, same hue as the sky, fades to the dark right (desktop only) */
  .hero .scene::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 72% 78% at 18% 8%, rgba(0, 150, 196, 0.42), rgba(0, 110, 160, 0.18) 48%, transparent 78%); }
  .hero .scene__body {
    position: relative; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
    padding: 0 32px calc(var(--win-h) * 0.34 + 14px); gap: 0;
  }
  .hero .scene__text { align-items: center; gap: 6px; }
  .hero .scene__mark { width: 48px; height: 48px; margin-bottom: 8px; }
  .hero .disc img { width: 26px; height: 26px; }
  /* mark ring (reference: a crisp dark disc, a hairline light edge, a tight cool glow a few px wide).
     The wide .halo element is off here; the glow is the disc's own shadow so the edge stays sharp. */
  .hero .halo { display: none; }
  .hero .disc { box-shadow: 0 0 0 1px rgba(236, 244, 255, 0.22), 0 0 10px 1px rgba(110, 180, 235, 0.42); }
  .hero .scene__join { min-height: 44px; padding: 0 26px; margin-top: 12px; font-size: 0.98rem; }
  .hero .scene__text .scene__name { font-size: 1.25rem; font-weight: 650; }
  .hero .scene__line { font-size: 0.92rem; font-weight: 500; color: #C3CEDF; }
  .hero .scene__body .tag { margin-top: 6px; }
  .hero .pv { position: absolute; top: 22px; right: 28px; margin: 0; width: clamp(160px, 22%, 210px); }
}

/* ================================================ rev14: deck demos fit the card ==
   rules and brief overflowed the pinned card (372px / 162px at 1440x900). The card height is
   capped by the viewport, so the demos are tightened here and whatever still overflows scrolls
   inside the window with a bottom fade (scroll-linked, gone at the end). Deck only. */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  #prod-rules .rl, #prod-brief .bf { padding: 12px 16px 28px; gap: 8px; }
  #prod-rules .rl__src { padding: 8px 12px 10px; }
  #prod-rules .rl__inputs { gap: 6px 12px; }
  #prod-rules .rl__reset { margin-top: 6px; }
  #prod-rules .rl__outs { gap: 8px; }
  #prod-rules .rl__out { padding: 8px 10px 9px; }
  #prod-rules .rl__out-head { margin-bottom: 4px; }
  #prod-rules .rl__out p { line-height: 1.45; }
  #prod-rules .rl__table th, #prod-rules .rl__table td { padding-block: 5px; }
  #prod-brief .rl__table th, #prod-brief .rl__table td { padding-block: 4px; }
  #prod-brief .bf { gap: 6px; }
  #prod-brief .bf__qs { gap: 1px; }
  #prod-brief .bf__foot { margin-top: 0; }
  #prod-brief .rl__in textarea { min-height: 54px; }
  #prod-brief .bf__out { padding: 8px 10px 9px; }
  #prod-brief .bf__sum { gap: 5px; }
  #prod-brief .bf__decide { margin-top: 6px; padding-top: 6px; }
  /* de-dup: these repeat what is already on screen (size/tone sit in each output head; the questions are
     listed again in the 정리본 box), so the deck drops them and the demo keeps its point */
  #prod-rules .rl__tablewrap, #prod-rules .rl__sub:has(+ .rl__tablewrap) { display: none; }
  #prod-brief [data-bf-body] > .bf__qs, #prod-brief [data-bf-body] > .rl__sub:has(+ .bf__qs) { display: none; }
  /* bottom fade: sticky, zero flow height, tells the reader the window continues */
  #prod-rules .win__body::after, #prod-brief .win__body::after {
    content: ""; display: block; position: sticky; bottom: 0; height: 44px; margin-top: -44px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(15, 28, 47, 0), #0F1C2F 85%);
  }
}
@supports (animation-timeline: scroll()) {
  @media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
    #prod-rules .win__body::after, #prod-brief .win__body::after { animation: pfade linear both; animation-timeline: scroll(nearest block); }
    @keyframes pfade { 0%, 82% { opacity: 1; } 100% { opacity: 0; } }
  }
}
