/* =========================================================================
   법무법인 청헌 — Cheong Heon
   Design tokens transcribed from analysis.json (measured at 1440×900).
   ========================================================================= */

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ----------------------------------------------------------------- tokens */
:root {
  /* colours — designSystem.colors */
  --black:  #000000;
  --white:  #ffffff;
  --ink:    #000000;
  --muted:  #8a8a8a;          /* breadcrumb / secondary label            */
  --muted-2:#5f5f5f;
  --line:   #e7e7e7;          /* card hairline, measured rgb(231,231,231) */
  --rule:   #000000;          /* section hairline, measured rgb(2,2,2)    */
  --bg:     #ffffff;
  --bg-alt: #f1f1f1;          /* identity page ground, measured rgb(241)  */

  /* grid — designSystem.grid (container 1424, 12 cols, 6px gutter) */
  --container: 1424px;
  --pad: 15px;
  --gutter: 6px;
  --cols: 12;

  /* typography — designSystem.typography */
  --font-sans: "Lato", "Gowun Dodum", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Malgun Gothic", Arial, Helvetica, sans-serif;
  --font-display: "Lato", "Gowun Dodum", -apple-system, BlinkMacSystemFont,
                  "Apple SD Gothic Neo", "Malgun Gothic", Arial, Helvetica, sans-serif;

  /* type scale — every step kept inside the 16px floor / 50px ceiling.
     Ratios follow the measured scale, remapped into that band. */
  --fs-display-xl: clamp(32px, 3.47222vw, 50px);   /* 50px @1440 */
  --fs-display-l:  clamp(28px, 2.91667vw, 42px);   /* 42px @1440 */
  --fs-h1:         clamp(26px, 2.50000vw, 36px);   /* 36px @1440 */
  --fs-lead:       clamp(20px, 2.08333vw, 30px);   /* 30px @1440 */
  --fs-h4:         clamp(19px, 1.80556vw, 26px);   /* 26px @1440 */
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-sm: 16px;
  --fs-xs: 16px;
  --fs-fine: 16px;
  --fs-input: 16px;
  --fs-btn: 16px;

  --lh-display: 1.14;
  --lh-body: 1.5;
  --ls-display: -0.02em;

  --w-regular: 400;
  --w-medium: 700;

  /* motion — designSystem.motion */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --dur: 0.5s;                /* defaultTransition */
  --dur-link: 0.3s;           /* logoTransition / a */
  --hdr-h: 64px;
}

/* ------------------------------------------------------------------- base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-body);
  letter-spacing: normal;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

a { transition: color var(--dur-link) ease, opacity var(--dur-link) ease; }

::selection { background: #000; color: #fff; }

/* --------------------------------------------------------------- utilities */
.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.bleed { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.grid12 {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gutter);
}

/* ------------------------------------------------------------ typography */
.display, .h1, .h2, .h4 { font-weight: var(--w-regular); }

.h1, .ser, .marquee__item, .ftr__tag-kr, .stat__n, .logo-mock__mark, .hdr__logo, .ftr__logo,
.transition-screen__mark {
  font-synthesis-weight: auto;
  font-synthesis-style: none;
  font-synthesis: weight;
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  font-style: italic;
}
.h1 em, .h1 i { font-style: italic; }

.display {
  font-family: var(--font-sans);
  font-size: var(--fs-display-xl);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
}
.display--l { font-size: var(--fs-display-l); }
/* the signature move: roman sans + serif italic inside one headline */
.display .ser,
.lead .ser,
.h4 .ser {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.lead {
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.h4, h4 {
  font-size: var(--fs-h4);
  line-height: 1.3;
  letter-spacing: var(--ls-display);
}

.h3, h3 { font-size: var(--fs-h3); line-height: 1.4; font-weight: var(--w-regular); }

.body   { font-size: var(--fs-body); line-height: 1.6; }
.body p + p { margin-top: 1.1em; }
.small  { font-size: var(--fs-sm); line-height: 1.55; }
.xs     { font-size: var(--fs-xs); line-height: 1.5; }
.fine   { font-size: var(--fs-fine); line-height: 1.5; letter-spacing: -0.005em; }
.muted  { color: var(--muted); }
.upper  { text-transform: uppercase; letter-spacing: 0.06em; }
.ser    { font-family: var(--font-display); font-style: italic; }

/* ==========================================================================
   TRANSITION SCREEN  (div.transition-screen — 861px, rgb(255,255,255))
   ========================================================================== */
.transition-screen {
  position: fixed; inset: 0;
  z-index: 900;
  background: var(--white);
  display: grid; place-items: center;
  transform: translate3d(0, 0, 0);
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
  pointer-events: none;
}
.transition-screen__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}
.transition-screen.is-in .transition-screen__mark { opacity: 1; transform: none; }
.transition-screen.is-out { transform: translate3d(0, -100%, 0); }
.transition-screen.is-cover { transform: translate3d(0, 0, 0); }
.transition-screen.is-hidden { display: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 700;
  color: var(--ink);
  transition: all var(--dur) var(--ease);
}
.hdr__inner {
  position: relative;
  display: flex; align-items: flex-start; gap: 24px;
  height: var(--hdr-h);
  padding-top: 14px;
}
.hdr__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: opacity var(--dur-link) ease;
  flex: 0 0 auto;
}
.hdr__logo:hover { opacity: 0.55; }

.hdr__nav { display: flex; gap: 46px; margin-left: 68px; flex: 0 0 auto; }
.hdr__navbtn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-body); line-height: 22.4px;
  transition: opacity var(--dur-link) ease;
  padding-top: 3px;
}
.hdr__navbtn:hover { opacity: 0.55; }
.hdr__navbtn .x {
  display: inline-block; width: 11px; height: 11px; position: relative;
  transition: transform var(--dur) var(--ease);
}
.hdr__navbtn .x::before, .hdr__navbtn .x::after {
  content: ""; position: absolute; background: currentColor;
  left: 0; top: 5px; width: 11px; height: 1px;
}
.hdr__navbtn .x::after { transform: rotate(90deg); }
.hdr__navbtn.is-open .x { transform: rotate(135deg); }

.hdr__mid { flex: 1 1 auto; }
/* anchored to the header box, not to the leftover flex space, so the group sits
   on the page centre line instead of drifting right as the window widens */
.hdr__midbox { position: absolute; left: 50%; top: 14px; width: 0; height: 26px; }
.hdr__links, .hdr__pill {
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
}
.hdr__links {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, 0);
  display: flex; flex-direction: column; gap: 1px; align-items: flex-start;
  white-space: nowrap;
}
.hdr__links a { font-size: var(--fs-body); line-height: 22.4px; }
.hdr__links a:hover { opacity: 0.55; }
.hdr__pill {
  position: absolute; left: 50%; top: -3px;
  transform: translate(-50%, -8px);
  opacity: 0; visibility: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  border-radius: 999px; padding: 8px 20px 8px 16px;
  font-size: var(--fs-body); line-height: 1;
  white-space: nowrap;
}
.hdr__pill .bars { display: inline-block; width: 16px; height: 8px; position: relative; }
.hdr__pill .bars::before, .hdr__pill .bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: currentColor; transition: transform var(--dur) var(--ease);
}
.hdr__pill .bars::before { top: 0; }
.hdr__pill .bars::after  { top: 6px; }
.hdr__pill:hover .bars::before { transform: translateY(1px); }
.hdr__pill:hover .bars::after  { transform: translateY(-1px); }

.hdr.is-collapsed .hdr__links { opacity: 0; visibility: hidden; transform: translate(-50%, -8px); }
.hdr.is-collapsed .hdr__pill  { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.hdr__act { display: flex; align-items: center; gap: 34px; flex: 0 0 auto; padding-top: 2px; }
.hdr__actbtn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-body); line-height: 22.4px;
  transition: opacity var(--dur-link) ease;
}
.hdr__actbtn:hover { opacity: 0.55; }
.hdr__social { display: flex; align-items: center; gap: 14px; }
.hdr__social a { opacity: 1; transition: opacity var(--dur-link) ease; }
.hdr__social a:hover { opacity: 0.5; }
.hdr__burger { display: none; }

/* white variant over dark hero */
.hdr--onDark { color: var(--white); }
.hdr--onDark .hdr__pill { background: var(--white); color: var(--black); }
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,0));
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.hdr--onDark::before { opacity: 1; }
.hdr--onDark.is-solid { background: var(--white); color: var(--ink); }
.hdr--onDark.is-solid::before { opacity: 0; }
.hdr--onDark.is-solid .hdr__pill { background: var(--black); color: var(--white); }
.hdr.is-solid { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.06); }

/* a full-width panel is open behind the header — switch to ink on white */
.hdr.is-panel { color: var(--ink); }
.hdr.is-panel::before { opacity: 0; }
.hdr.is-panel .hdr__pill { background: var(--black); color: var(--white); }

/* ---------------------------------------------------------- header modals */
.hdr-modal {
  position: fixed; left: 0; right: 0; top: 0;
  z-index: 690;
  background: var(--white);
  color: var(--ink);
  padding: calc(var(--hdr-h) + 34px) 0 54px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.hdr-modal.is-open { transform: translateY(0); visibility: visible; }
.hdr-modal__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gutter); }
.hdr-modal__col { padding-right: 40px; }
.hdr-modal__head { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 22px; }
.hdr-modal__list li + li { margin-top: 10px; }
.hdr-modal__list a {
  display: inline-block; font-size: 19px; line-height: 1.4;
  transition: opacity var(--dur-link) ease, transform var(--dur-link) ease;
}
.hdr-modal__list a:hover { opacity: 0.5; transform: translateX(4px); }
.hdr-overlay {
  position: fixed; inset: 0; z-index: 680; background: rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.hdr-overlay.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- search */
.hdr-search {
  position: fixed; left: 0; right: 0; top: 0; z-index: 720;
  background: var(--white); padding: 26px 0 34px;
  transform: translateY(-101%); visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.hdr-search.is-open { transform: translateY(0); visibility: visible; }
.hdr-search__row { display: flex; align-items: center; gap: 18px; }
.hdr-search__form { flex: 1 1 auto; display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--black); padding-bottom: 10px; }
.hdr-search__form input {
  flex: 1 1 auto; border: 0; outline: 0; background: none;
  font-family: var(--font-sans);
  font-size: var(--fs-input); line-height: 1.4;
}
.hdr-search__close { font-size: var(--fs-btn); }

/* ------------------------------------------------------------ burger panel */
.burger {
  position: fixed; inset: 0 0 0 auto; width: min(440px, 100%);
  background: var(--white); z-index: 740;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  display: flex; flex-direction: column; padding: 22px var(--pad) 30px;
  overflow-y: auto;
}
.burger.is-open { transform: translateX(0); visibility: visible; }
.burger__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.burger__menus { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.burger__nav-list li + li { margin-top: 14px; }
.burger__nav-list a { font-size: 22px; letter-spacing: -0.02em; }
.burger__contacts { margin-top: 34px; display: grid; gap: 6px; font-size: var(--fs-body); }
.burger__media { margin-top: 22px; display: flex; gap: 16px; }
.burger__sub { margin-top: auto; padding-top: 26px; color: var(--muted); }

/* ==========================================================================
   BUTTONS / PILLS
   ========================================================================== */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 999px; padding: 14px 26px;
  font-size: var(--fs-body); line-height: 1; white-space: nowrap;
  border: 1px solid var(--black); background: transparent; color: var(--black);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.pill:hover { background: var(--black); color: var(--white); }
.pill--solid { background: var(--black); color: var(--white); }
.pill--solid:hover { background: transparent; color: var(--black); }
.pill--white { background: var(--white); color: var(--black); border-color: var(--white); }
.pill--white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.pill--sm { padding: 10px 18px; font-size: var(--fs-sm); }
.pill--lg { padding: 18px 34px; }
.pill .ico { width: 14px; height: 14px; flex: none; }

.linkline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-body);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: opacity var(--dur-link) ease, gap var(--dur) var(--ease);
}
.linkline:hover { opacity: .55; gap: 16px; }

.iconbtn {
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--white);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.iconbtn:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: scale(1.06); }

/* ==========================================================================
   PAGE FURNITURE
   ========================================================================== */
.page { padding-top: var(--hdr-h); }
.page--dark { background: var(--black); color: var(--white); }

.crumbs { display: flex; gap: 10px; align-items: center; padding-block: 22px 0; font-size: var(--fs-xs); }
.crumbs li { opacity: .5; transition: opacity var(--dur) var(--ease); }
.crumbs li.is-in { opacity: 1; }
.crumbs li:not(:last-child) { color: var(--muted); }
.crumbs .sep { opacity: .35; }

.page-head { padding-block: 22px 64px; }
.page-head .h1 { margin-top: 6px; }

.section { padding-block: 0 96px; }
.section--tight { padding-bottom: 56px; }

/* label-left / content-right rows separated by 1px rules */
.rows { border-bottom: 1px solid var(--rule); }
.row {
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter);
  padding: 26px 0 62px;
}
.row__label { grid-column: 1 / span 6; }
.row__body  { grid-column: 7 / span 6; }
.row__body--split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; }
.row--compact { padding: 22px 0 22px; align-items: center; }
.row--compact .row__label,
.row--compact .row__body { align-self: center; }

.bullets li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; }
.bullets li + li { margin-top: 18px; }
.bullets li::before { content: ""; width: 6px; height: 6px; background: currentColor; margin-top: 8px; }

/* ==========================================================================
   MEDIA / REVEAL
   ========================================================================== */
.figure { position: relative; overflow: hidden; background: #0b0b0b; }
.figure img { width: 100%; height: 100%; object-fit: cover; }

/* mask-wipe + zoom reveal (animation.notes: images reveal as masks lift) */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img img {
  transform: scale(1.14);
  transition: transform 1.4s var(--ease);
  will-change: transform;
}
.reveal-img::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: translate3d(0, 0, 0);
  transition: transform 1.1s var(--ease);
}
.page--dark .reveal-img::after { background: var(--black); }
.reveal-img.is-in img { transform: scale(1); }
.reveal-img.is-in::after { transform: translate3d(0, -101%, 0); }

/* generic rise-in reveal */
.reveal { opacity: 0; transform: translate3d(0, 34px, 0); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.reveal[data-d="1"].is-in { transition-delay: .09s; }
.reveal[data-d="2"].is-in { transition-delay: .18s; }
.reveal[data-d="3"].is-in { transition-delay: .27s; }
.reveal[data-d="4"].is-in { transition-delay: .36s; }
.reveal[data-d="5"].is-in { transition-delay: .45s; }

/* per-word rise for display headlines */
.split .w {
  display: inline-block; overflow: clip; overflow-clip-margin: .06em; vertical-align: top;
  padding-block: .2em; margin-block: -.2em;
}
.split .w > span {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.05s var(--ease);
}
.split.is-in .w > span { transform: none; }

/* scroll-linked parallax (picture.picture translateY 0 → 363px observed) */
.picture { will-change: transform; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: -12% 0 -12% 0; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { opacity: .78; }
/* the home hero runs a daylight clip — it carries more of its own brightness
   than the darker stills do, so it is held back far less */
.hero__video { display: block; opacity: .92; background: var(--black); }
/* Two layers: a vertical ramp that keeps the airy middle of the frame open and
   sinks only where the headline and footer sit, plus a soft left wash so the
   type column never has to fight a blown-out highlight behind it. */
.hero__scrim { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.10) 34%, rgba(0,0,0,.30) 66%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 58%); }
.hero__inner { position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; padding-block: calc(var(--hdr-h) + 40px) 46px; }
.hero__title { max-width: 15ch; }
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter);
  align-items: end; margin-top: 46px; }
.hero__foot .col-a { grid-column: 1 / span 5; }
.hero__foot .col-b { grid-column: 7 / span 6; }

.scroll-cue {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid currentColor;
  display: grid; place-items: center; opacity: .8;
  animation: cue-bob 2.4s var(--ease) infinite;
}
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* full-bleed statement band with overlaid display italic */
.band { position: relative; overflow: hidden; color: var(--white); background: #000; }
.band__media { position: absolute; inset: -14% 0; }
.band__media img, .band__media video { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.34) 42%, rgba(0,0,0,.68) 100%);
}
.band__inner { position: relative; z-index: 1; padding-block: 150px; }
.band--tall .band__inner { padding-block: 230px; }

/* ==========================================================================
   CARDS / LISTS
   ========================================================================== */
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gutter); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gutter); }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gutter); }
.card { border: 1px solid var(--line); padding: 22px 18px 26px; position: relative;
  transition: border-color var(--dur) var(--ease); }
.card:hover { border-color: var(--black); }
.card__meta { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.card__figure { margin: 34px 0 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__figure img { width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease); }
.card:hover .card__figure img { transform: scale(1.05); }
.card__go { position: absolute; right: 18px; bottom: 20px; }

/* media tile with centred pill (gallery / documentation) */
.tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.28) 62%, rgba(0,0,0,.78) 100%);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.045); }
.tile__pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 2; }
.tile__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 2; }

/* row list with hover invert (blog) */
.rowlist { border-bottom: 1px solid var(--rule); }
.rowlist__item { border-top: 1px solid var(--rule); }
.rowlist__link {
  display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter);
  align-items: center; padding: 26px 0;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              padding-inline var(--dur) var(--ease);
}
.rowlist__link:hover { background: var(--black); color: var(--white); padding-inline: 18px; }
.rowlist__date { grid-column: 1 / span 2; font-size: var(--fs-body); }
.rowlist__title { grid-column: 3 / span 8; font-size: var(--fs-body); font-weight: var(--w-medium); }
.rowlist__go { grid-column: 12 / span 1; justify-self: end; display: inline-flex; align-items: center; gap: 10px; }
.rowlist__go span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* filter pills */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters .pill.is-active { background: var(--black); color: var(--white); }
.filters .pill.is-active:hover { background: var(--black); color: var(--white); }

/* overlaid filter stack (gallery) */
.filters--stack { position: absolute; left: 18px; bottom: 22px; flex-direction: column; align-items: flex-start; z-index: 2; }
.filters--stack .pill {
  background: rgba(255,255,255,.28); color: #fff; border-color: transparent;
  backdrop-filter: blur(6px);
}
.filters--stack .pill.is-active { background: #fff; color: #000; }
.filters--stack .pill:hover { background: #fff; color: #000; }

/* select (native, underlined) */
.field-select { position: relative; display: inline-flex; align-items: center;
  border-bottom: 1px solid var(--black); min-width: 190px; }
.field-select select { appearance: none; border: 0; background: none; padding: 8px 26px 8px 0;
  width: 100%; font-size: var(--fs-body); outline: 0; }
.field-select .chev { position: absolute; right: 2px; pointer-events: none; }

/* ==========================================================================
   FORM
   ========================================================================== */
.form { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 22px; }
.form .field { position: relative; }
.form .field--wide { grid-column: 1 / -1; }
.form label { display: block; font-size: var(--fs-body); color: var(--ink); margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(0,0,0,.25);
  background: none; padding: 6px 0 12px; outline: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-input); line-height: 1.4;
  transition: border-color var(--dur) var(--ease);
}
.form textarea { line-height: 1.5; resize: vertical; min-height: 40px; }
.form input:focus, .form textarea:focus { border-color: var(--black); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.check { display: inline-flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { width: 16px; height: 16px; border: 1px solid rgba(0,0,0,.3); flex: none; margin-top: 2px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.check input:checked + .box { background: var(--black); border-color: var(--black); }
.check .box::after { content: ""; display: block; width: 100%; height: 100%;
  background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3.2L11 1.4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity var(--dur) var(--ease); }
.check input:checked + .box::after { opacity: 1; }
.form__note { font-size: var(--fs-fine); line-height: 17.8px; color: var(--muted); }

/* ==========================================================================
   MARQUEE / SPINNER / POPUP  (keyframes transcribed from analysis)
   ========================================================================== */
@keyframes marquee-left  { 0% { transform: translateZ(0px); } 100% { transform: translate3d(-100%, 0px, 0px); } }
@keyframes marquee-right { 0% { transform: translate3d(-100%, 0px, 0px); } 100% { transform: translateZ(0px); } }
@keyframes spinner       { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes control-popup-show-animation {
  0% { margin-top: 0px; opacity: 0; transform: scale(0.1, 0.1); }
  100% { margin-top: 13px; opacity: 1; transform: scale(1, 1); }
}
@keyframes control-popup-hide-animation {
  0% { margin-top: 13px; opacity: 1; }
  100% { margin-top: 0px; opacity: 0; transform: scale(0.1, 0.1); }
}
@keyframes control-popup-show-animation-fullscreen {
  0% { margin-top: -30px; opacity: 0; } 100% { margin-top: 0px; opacity: 1; }
}
@keyframes control-popup-hide-animation-fullscreen {
  0% { margin-top: 0px; opacity: 1; } 100% { margin-top: -30px; opacity: 0; }
}

.marquee { overflow: hidden; display: flex; white-space: nowrap; user-select: none; }
.marquee__track { display: flex; flex: none; }
.marquee--rev .marquee__item { animation-name: marquee-right; }
.marquee:hover .marquee__item { animation-play-state: paused; }
.marquee__item { flex: none; animation: marquee-left 34s linear infinite;
  display: inline-flex; align-items: center; gap: 34px; padding-right: 34px;
  font-family: var(--font-display); font-style: italic; font-size: 18px; }
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }

.spinner { width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.28); border-top-color: #fff;
  animation: spinner .9s linear infinite; }
.spinner--dark { border-color: rgba(0,0,0,.2); border-top-color: #000; }

.popup {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  background: var(--bg-alt); border-radius: 14px; padding: 20px 22px 18px; width: min(320px, calc(100vw - 44px));
  transform-origin: 90% 100%;
  animation: control-popup-show-animation .45s var(--ease) both;
}
.popup.is-hiding { animation: control-popup-hide-animation .35s var(--ease) both; }
.popup__text { font-size: var(--fs-fine); line-height: 17.8px; color: var(--muted-2); }
.popup__text a { color: var(--ink); font-weight: var(--w-medium); }
.popup .pill { width: 100%; justify-content: center; margin-top: 16px; background: #fff; border-color: #fff; }
.popup .pill:hover { background: var(--black); color: #fff; border-color: var(--black); }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 810;
  background: var(--black); color: var(--white); border-radius: 999px;
  padding: 12px 24px; font-size: var(--fs-sm);
  animation: control-popup-show-animation-fullscreen .4s var(--ease) both;
}
.toast.is-hiding { animation: control-popup-hide-animation-fullscreen .4s var(--ease) both; }

/* ==========================================================================
   FLOATING PICTURE CARDS (strategy hero)
   ========================================================================== */
.stage { position: relative; min-height: 100svh; overflow: hidden; background: #000; }
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 34%, rgba(0,0,0,.82) 100%);
}
.picture-card { position: absolute; }
.picture-card__in { width: 100%; height: 100%; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.picture-card img { width: 100%; height: 100%; object-fit: cover; }
.floating-img { animation: float-y 9s ease-in-out infinite; }
.floating-img--b { animation-duration: 11s; animation-delay: -3s; }
.floating-img--c { animation-duration: 13s; animation-delay: -6s; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

/* ==========================================================================
   MAP (hand-drawn SVG, no third-party map service)
   ========================================================================== */
.mapwrap { position: relative; background: var(--bg-alt); aspect-ratio: 16 / 11; overflow: hidden; }
.mapwrap svg { width: 100%; height: 100%; }
.map-pin { cursor: pointer; }
.map-pin rect, .map-pin circle { transition: fill var(--dur) var(--ease); }
.map-pin:hover rect, .map-pin.is-active rect { fill: #000; }
.map-pin.is-active circle { r: 6; fill: #000; }
.map-pin text { font-family: var(--font-sans); font-size: 16px; fill: #fff; }

.officelist { border-top: 1px solid var(--rule); max-height: 620px; overflow-y: auto; }
.officelist__item { border-bottom: 1px solid var(--line); padding: 20px 16px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); cursor: pointer; }
.officelist__item:hover, .officelist__item.is-active { background: var(--black); color: var(--white); }
.officelist__item.is-active .muted, .officelist__item:hover .muted { color: rgba(255,255,255,.6); }

.acc { overflow: hidden; transition: height var(--dur) var(--ease); }
.rowlist__link .ico { transition: transform var(--dur) var(--ease); }
.rowlist__link.is-open .ico { transform: rotate(90deg); }
.acc__body { padding: 0 0 30px; }
body.is-alt { background: var(--bg-alt); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { background: var(--black); color: var(--white); padding: 84px 0 26px; }
.ftr__top { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter); }
.ftr__brand { grid-column: 1 / span 6; }
.ftr__logo { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.ftr__tag { margin-top: 8px; font-size: var(--fs-fine); line-height: 17.8px; letter-spacing: .04em; }
.ftr__tag-kr { font-family: var(--font-display); font-style: italic; font-size: var(--fs-fine); line-height: 17.8px; opacity: .75; }
.ftr__contact { margin-top: 62px; display: grid; gap: 2px; font-size: var(--fs-body); }
.ftr__contact a:hover { opacity: .6; }
.ftr__media { margin-top: 34px; display: flex; gap: 20px; align-items: center; }
.ftr__media a { opacity: .9; transition: opacity var(--dur-link) ease; }
.ftr__media a:hover { opacity: .5; }
.ftr__col { grid-column: span 2; }
.ftr__col-h { font-size: var(--fs-body); font-weight: var(--w-medium); margin-bottom: 30px; }
.ftr__col li + li { margin-top: 12px; }
.ftr__col a { font-size: var(--fs-body); font-weight: var(--w-medium); }
.ftr__col a:hover { opacity: .55; }
.ftr__gap { height: 26px; }
.ftr__bot { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gutter);
  margin-top: 74px; align-items: end; }
.ftr__copy { grid-column: 1 / span 6; font-size: var(--fs-fine); line-height: 17.8px; opacity: .6; }
.ftr__legal { grid-column: 7 / span 6; display: grid; gap: 6px; font-size: var(--fs-fine); line-height: 17.8px; }
.ftr__legal a:hover { opacity: .6; }

/* ==========================================================================
   MISC PAGE PIECES
   ========================================================================== */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gutter); }
.stat__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.47vw, 50px); line-height: 1.05; letter-spacing: -0.02em; }
.stat__l { margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }

.member { position: relative; }
.member__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-alt); }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03);
  transition: transform 1.1s var(--ease), filter var(--dur) var(--ease); }
.member:hover .member__img img { transform: scale(1.04); filter: grayscale(0); }
/* three rows of credentials scrolling endlessly across the bottom of the portrait */
.member__img { position: relative; }
.member__ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 0 14px;
  display: grid; gap: 2px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.86) 100%);
}
.tickerline { overflow: hidden; display: flex; white-space: nowrap; }
.tickerline > span {
  flex: none; display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-size: 20px; line-height: 1.45; letter-spacing: -0.01em;
  animation: marquee-left 22s linear infinite;
  will-change: transform;
}
.tickerline--rev > span { animation-name: marquee-right; }
.tickerline--slow > span { animation-duration: 30s; }
.member:hover .tickerline > span { animation-play-state: paused; }
.tickerline i { font-style: normal; opacity: .55; }
.reveal-img::after { z-index: 4; }

.member__name { margin-top: 18px; font-size: 22px; letter-spacing: -0.02em; }
.member__role { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); }

.docmock { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 26px; }
.docmock__inner { width: 100%; height: 100%; border: 1px solid var(--line); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; }
.docmock__line { height: 6px; background: var(--bg-alt); }
.docmock__seal { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); margin-top: auto; }

.logo-mock { aspect-ratio: 16 / 9; background: #fff; display: grid; place-items: center;
  border: 1px solid var(--line); }
.logo-mock__mark { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.logo-mock--inv { background: #000; color: #fff; border-color: #000; }

.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 46px 0 16px; }
.legal h3 { font-size: var(--fs-h3); margin: 30px 0 10px; }
.legal p, .legal li { font-size: var(--fs-body); line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ol { counter-reset: n; }
.legal ol > li { counter-increment: n; padding-left: 24px; position: relative; margin-top: 8px; }
.legal ol > li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--muted); }
.legal ul > li { padding-left: 16px; position: relative; margin-top: 8px; }
.legal ul > li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; background: currentColor; }

.empty { padding-block: 120px 160px; text-align: left; }

/* ==========================================================================
   RESPONSIVE — breakpoints derived from the 1424px container
   xs 390 · sm 600 · md 768 · lg 1024 · xl 1280 · container 1424
   ========================================================================== */
@media (max-width: 1279px) {
  .hdr__nav { margin-left: 34px; gap: 28px; }
  .hdr__act { gap: 22px; }
  .hdr__social { display: none; }
}

@media (max-width: 1023px) {
  :root { --hdr-h: 58px; }
  .hdr__nav, .hdr__mid, .hdr__act .hdr__actbtn span { display: none; }
  .hdr__inner { align-items: center; justify-content: space-between; padding-top: 0; gap: 12px; }
  .hdr__logo { font-size: 26px; }
  .hdr__act { gap: 18px; padding-top: 0; }
  .hdr__burger { display: inline-flex; width: 26px; height: 14px; position: relative; }
  .hdr__burger::before, .hdr__burger::after {
    content: ""; position: absolute; left: 0; width: 26px; height: 1.5px; background: currentColor;
    transition: transform var(--dur) var(--ease);
  }
  .hdr__burger::before { top: 2px; } .hdr__burger::after { top: 10px; }
  .hdr-modal { display: none; }

  .row { grid-template-columns: 1fr; padding: 22px 0 44px; }
  .row__label, .row__body { grid-column: 1 / -1; }
  .row__body { margin-top: 22px; }
  .row__body--split { grid-template-columns: 1fr; gap: 22px; }

  .hero__foot { grid-template-columns: 1fr; }
  .hero__foot .col-a, .hero__foot .col-b { grid-column: 1 / -1; }
  .hero__foot .col-b { margin-top: 26px; }

  .ftr__brand { grid-column: 1 / -1; margin-bottom: 54px; }
  .ftr__col { grid-column: span 4; }
  .ftr__bot { grid-template-columns: 1fr; gap: 22px; }
  .ftr__copy, .ftr__legal { grid-column: 1 / -1; }

  .form { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px var(--gutter); }
  .cards3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cards4 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 767px) {
  :root { --pad: 16px; }
  .page-head { padding-bottom: 42px; }
  .section { padding-bottom: 64px; }
  .cards2, .cards3 { grid-template-columns: 1fr; gap: 18px; }
  .cards4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: flex-start; gap: 26px; }
  .rowlist__link { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .rowlist__date, .rowlist__title, .rowlist__go { grid-column: 1 / -1; justify-self: start; }
  .rowlist__link:hover { padding-inline: 12px; }
  .ftr { padding-top: 60px; }
  .ftr__col { grid-column: span 6; margin-bottom: 34px; }
  .ftr__logo { font-size: 38px; }
  .band__inner { padding-block: 96px; }
  .band--tall .band__inner { padding-block: 130px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .filters--stack { left: 12px; bottom: 14px; }
  .filters--stack .pill { font-size: 16px; padding: 8px 14px; }
  .officelist { max-height: none; }
}

@media (max-width: 599px) {
  .stat-row { grid-template-columns: 1fr; gap: 30px; }
  .cards4 { grid-template-columns: 1fr; }
  .hero__inner { min-height: 86svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .split .w > span, .reveal-img img { opacity: 1 !important; transform: none !important; }
  .reveal-img::after { display: none; }
}
