/* ───────────────────────────────────────────────────────────────────────────
   pgkl.net — stylesheet
   Carries the company profile's design language onto the web.

   Rules held throughout, taken from the profile:
     · Graphite and cream alternate. Brass is the only accent and appears once
       or twice a section, never as an edge stripe.
     · No card borders, no icon sets, no decorative rules under titles.
     · The repeating device is the SPECIFICATION LINE — a claim followed by its
       spec in small type. It is content, so it cannot read as decoration.
     · Facts of different kinds get different weight. One figure per section at
       most is set large; the rest are stated.
     · Duotone photographs appear as full-bleed plates, never as decoration.

   No webfont is loaded. The system stack gives SF Pro on Apple devices and
   Segoe on Windows, with the platform's own Korean face alongside — which
   renders Korean better on every device than any single webfont would, and
   costs no third-party request.
   ─────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }

:root {
  /* The logo is a yellow-to-orange gradient, #FFDD58 → #FF944E, carrying black
     type. Those values are far too light to set type in on a pale ground, so
     they are used the way the logo uses them — as a field. On graphite the
     mid-orange works as accent type; on stone a darkened member of the same
     hue family does the job. */
  --graphite: #191613;
  --cream:    #DFD6C4;
  --paper:    #F6F1E7;
  --ink:      #17140F;

  --brand-y:  #FFDD58;
  --brand-o:  #FF944E;
  --brand-m:  #FFB753;

  --brass:    #8A4A10;   /* accent on stone — 4.61 on the sand panel;
                            #A85A14 read 3.42 and failed at every size */
  --brass-lt: #FFB753;   /* accent on graphite */

  --mute-d:   #8E8779;
  --mute-l:   #605A4E;   /* 4.60 on sand; #766E60 read 3.39 */
  --hair-d:   #302A24;
  --hair-l:   #C8BFAB;

  --on-dark:  #EDE7DA;

  --gutter: clamp(20px, 5.2vw, 96px);
  --measure: 1320px;

  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI',
          'Helvetica Neue', Helvetica, Arial,
          'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }

body {
  font-family: var(--sans);
  background: var(--graphite);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

/* Korean breaks mid-word if left at the default, so whole words are kept
   together wherever Korean can appear. */
:lang(ko) body, html[lang='ko'] body { word-break: keep-all; overflow-wrap: break-word }

img { display: block; max-width: 100% }
a { color: inherit }

::selection { background: var(--brand-m); color: var(--ink) }


/* ── sections ───────────────────────────────────────────────────────────── */

.s { position: relative; isolation: isolate }
.s > .in {
  position: relative; z-index: 2;
  max-width: var(--measure); margin: 0 auto;
  padding: clamp(68px, 9vw, 132px) var(--gutter);
}

/* The grain that the printed profile carries. Plain opacity, never a blend
   mode — a blend mode here forces the whole page to rasterise. */
.s::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background-image: url('img/grain.png');
  background-size: 128px 128px;
}
.s-dark  { background: var(--graphite); color: var(--on-dark) }
.s-light { background: var(--cream);    color: var(--ink) }
.s-paper { background: var(--paper);    color: var(--ink) }
.s-dark::after  { opacity: .045 }
.s-light::after { opacity: .030 }
.s-paper::after { opacity: .026 }

.s-flood {
  background: linear-gradient(104deg, var(--brand-y) 0%, var(--brand-o) 100%);
  color: var(--ink);
}
.s-flood::after { opacity: .040 }


/* ── type ───────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.06 }

.display-xl { font-size: clamp(44px, 7.4vw, 104px); letter-spacing: -0.035em; line-height: 1.02 }
.display-l  { font-size: clamp(32px, 4.4vw, 58px);  letter-spacing: -0.028em; line-height: 1.06 }
.display-m  { font-size: clamp(22px, 2.3vw, 30px);  letter-spacing: -0.02em;  line-height: 1.18 }

html[lang='ko'] .display-xl { letter-spacing: -0.028em; line-height: 1.18 }
html[lang='ko'] .display-l  { letter-spacing: -0.022em; line-height: 1.28 }
html[lang='ko'] .display-m  { letter-spacing: -0.016em; line-height: 1.38 }

/* The clamp floors above stop scaling at 595px, so a 280px cover screen gets
   the same 44px headline as a 430px phone. Korean sets `word-break: keep-all`,
   so a six-character word at 44px is a 249px atom that will not break — wider
   than the 240px a folded Galaxy Fold leaves between the gutters, which pushed
   the page sideways. One step down below 330px; no current mainstream phone is
   narrower than that, so nothing else moves. */
@media (max-width: 330px) {
  .display-xl { font-size: 38px }
  .display-l  { font-size: 29px }
}

.body  { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.72 }
.small { font-size: 14.5px; line-height: 1.66 }
html[lang='ko'] .body  { font-size: clamp(15.5px, 1.1vw, 17px); line-height: 1.82;
                         letter-spacing: -0.012em }
html[lang='ko'] .small { line-height: 1.78; letter-spacing: -0.01em }

.s-dark  .body, .s-dark  .small { color: #B6B1A6 }
.s-light .body, .s-light .small { color: #4E4D49 }
.s-paper .body, .s-paper .small { color: #4E4D49 }
.s-flood .body, .s-flood .small { color: #4A3A1E }

/* The specification line. A claim, then its spec in small caps. */
.spec {
  font-size: 12.5px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600;
}
.s-dark  .spec { color: var(--brass-lt) }
.s-light .spec, .s-paper .spec { color: var(--brass) }
.s-flood .spec { color: #6E4405 }
.spec em { font-style: normal; font-weight: 400 }
.s-dark  .spec em { color: #7E7769 }
.s-light .spec em, .s-paper .spec em { color: #9B9A94 }

/* Running head — the section number and name */
.rh {
  font-size: 11px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; margin-bottom: clamp(26px, 3.4vw, 44px);
}
.s-dark  .rh { color: var(--brass-lt) }
.s-light .rh, .s-paper .rh { color: var(--brass) }
.s-flood .rh { color: #6E4405 }

.lede { max-width: 54ch; margin-top: clamp(20px, 2.4vw, 30px) }
.head-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.head-row .lede { margin-top: 6px }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr } }


/* ── navigation ─────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(25, 22, 19, .86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--hair-d);
}
.nav-in {
  max-width: var(--measure); margin: 0 auto;
  padding: 0 var(--gutter); height: 100px;
  display: flex; align-items: center; gap: 28px;
}
/* The mark and its strapline are one lockup, so they stack rather than sit
   side by side: the line belongs to the logo, not to the navigation. */
.brand { display: flex; flex-direction: column; align-items: flex-start;
         gap: 6px; text-decoration: none; flex: none }
.brand img { height: 44px; width: auto }
/* Both lines are ranged to the width of the mark above them, so the strapline
   ends where the ™ ends. letter-spacing adds a gap after every character, the
   last one included, so each line is solved on (characters - 1): the inked edge
   lands on the mark's edge rather than the box edge. The two lines therefore
   carry different tracking — that is the cost of the alignment, and it reads as
   justified type rather than as an error. Capitals are what make the figures
   bearable: set in mixed case the same alignment needed 0.25em and 0.41em,
   which is tracking applied to lower-case, and it showed. Re-solve if the logo
   changes, or if the strapline's wording does. */
.brand-line {
  display: block; font-size: 10px; text-transform: uppercase;
  color: #ADA79D; line-height: 1.5; transition: color .18s;
}
.brand-line span { display: block; white-space: nowrap }
.brand-line span:first-child { letter-spacing: 0.1326em }
.brand-line span:last-child  { letter-spacing: 0.2678em }
.brand:hover .brand-line { color: #A8A29A }
.nav-sp { flex: 1 }

.nav-links { display: flex; align-items: center; gap: 30px }
.nav-links a {
  text-decoration: none; font-size: 16px; letter-spacing: -0.008em;
  color: #A8A29A; transition: color .18s;
}
.nav-links a:hover, .nav-links a.on { color: var(--on-dark) }
.nav-links a.on { font-weight: 600 }

.lang { display: flex; align-items: center; gap: 2px; font-size: 14px; letter-spacing: .08em }
/* The inactive side of the switch read 3.32 on graphite — too faint for
   something a visitor uses to change language. #868076 reads 4.61. */
.lang a { text-decoration: none; color: #868076; padding: 4px 6px }
.lang a.on { color: var(--brass-lt); font-weight: 700 }
.lang i { font-style: normal; color: #3C3832 }

.burger {
  display: none; width: 40px; height: 40px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 9px; right: 9px; height: 1.5px;
  background: var(--on-dark); transition: transform .24s, opacity .18s;
}
.burger span:nth-child(1) { top: 14px }
.burger span:nth-child(2) { top: 19.5px }
.burger span:nth-child(3) { top: 25px }
.nav.open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg) }
.nav.open .burger span:nth-child(2) { opacity: 0 }
.nav.open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg) }

@media (max-width: 1040px) {
  .burger { display: block }
  /* max-height alone does not close this panel: padding and the border are
     outside the content box, so a shut menu still stood 31px tall and the top
     of the first link showed through below the bar. Everything that adds
     height is zeroed in the closed state. */
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--graphite); border-bottom: 0 solid var(--hair-d);
    padding: 0 var(--gutter);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav.open .nav-links {
    max-height: 70vh; overflow-y: auto;
    border-bottom-width: 1px; padding: 8px var(--gutter) 22px;
  }
  .nav-links a { padding: 15px 0; font-size: 17px; width: 100% }
  .nav-links .lang { padding-top: 14px }
}


/* ── buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; font-size: 14.5px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn .ar { transition: transform .22s }
.btn:hover .ar { transform: translateX(4px) }

.btn-fill {
  background: linear-gradient(104deg, var(--brand-y) 0%, var(--brand-o) 100%);
  color: var(--ink);
}
.btn-fill:hover { filter: brightness(1.06) }

.s-dark .btn-line  { border-color: #4A443C; color: var(--on-dark) }
.s-dark .btn-line:hover { border-color: var(--brass-lt); color: var(--brass-lt) }
.s-light .btn-line, .s-paper .btn-line { border-color: #B6AC97; color: var(--ink) }
.s-light .btn-line:hover, .s-paper .btn-line:hover { border-color: var(--brass); color: var(--brass) }
.s-flood .btn-line { border-color: rgba(23,20,15,.42); color: var(--ink) }
.s-flood .btn-line:hover { border-color: var(--ink); background: rgba(23,20,15,.07) }

.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 3.6vw, 44px) }


/* ── hero ───────────────────────────────────────────────────────────────── */

.hero > .in { padding-top: clamp(76px, 11vw, 150px); padding-bottom: clamp(60px, 7vw, 104px) }
.hero h1 { max-width: 20ch }
.hero .lede { max-width: 58ch }
.hero-spec {
  margin-top: clamp(44px, 5.6vw, 76px);
  padding-top: 26px; border-top: 1px solid var(--hair-d);
  display: flex; flex-wrap: wrap; gap: 14px 44px;
}


/* ── specification sheet ────────────────────────────────────────────────── */

.sheet { margin-top: clamp(34px, 4.4vw, 56px) }
.sr {
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 46px); padding: 25px 0; align-items: baseline;
}
.s-light .sr, .s-paper .sr { border-top: 1px solid var(--hair-l) }
.s-dark  .sr { border-top: 1px solid var(--hair-d) }
.s-light .sr:last-child, .s-paper .sr:last-child { border-bottom: 1px solid var(--hair-l) }
.s-dark  .sr:last-child { border-bottom: 1px solid var(--hair-d) }

.sr .k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.s-light .sr .k, .s-paper .sr .k { color: var(--brass) }
.s-dark  .sr .k { color: var(--brass-lt) }
.sr .v { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; letter-spacing: -0.01em }
.sr .v .dim { color: var(--mute-l) }
.s-dark .sr .v .dim { color: #8C867A }

/* the one figure per section that is allowed to be large */
.sr.big .v {
  font-size: clamp(42px, 5.2vw, 62px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
}
.s-light .sr.big .v, .s-paper .sr.big .v { color: var(--brass) }
.s-dark  .sr.big .v { color: var(--brass-lt) }
.sr.big .v small {
  display: block; margin-top: 12px;
  font-size: 16px; font-weight: 400; letter-spacing: -0.01em;
}
.s-light .sr.big .v small, .s-paper .sr.big .v small { color: var(--mute-l) }
.s-dark  .sr.big .v small { color: #8C867A }

@media (max-width: 680px) {
  .sr { grid-template-columns: 1fr; gap: 12px; padding: 22px 0 }
}


/* ── numbered columns ───────────────────────────────────────────────────── */

.cols {
  margin-top: clamp(36px, 4.6vw, 62px);
  display: grid; gap: clamp(34px, 4.2vw, 56px);
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
}
.col .n {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; margin-bottom: 18px;
}
.s-light .col .n, .s-paper .col .n { color: var(--brass) }
.s-dark  .col .n { color: var(--brass-lt) }
.s-flood .col .n { color: #6E4405 }
.col .t { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700;
          letter-spacing: -0.02em; margin-bottom: 12px }
.col .d { font-size: 15px; line-height: 1.7 }
.s-light .col .d, .s-paper .col .d { color: var(--mute-l) }
.s-dark  .col .d { color: #9A948A }
.s-flood .col .d { color: #4A3A1E }

@media (max-width: 1000px) { .cols { --n: 2 !important } }
@media (max-width: 620px)  { .cols { --n: 1 !important; gap: 30px } }


/* ── catalogue rows ─────────────────────────────────────────────────────── */

.cat { margin-top: clamp(34px, 4.4vw, 56px) }
.cr {
  display: grid; gap: clamp(14px, 2.6vw, 36px); padding: 20px 0;
  align-items: baseline;
  grid-template-columns: 168px minmax(0, 1.1fr) minmax(0, 1.7fr) 190px;
}
/* Accreditation rows carry a narrower first and last column than the generic
   catalogue row. This used to be an inline style on each row, which outranked
   the phone rules below and kept four fixed-ish columns on every phone: the
   150px + 130px floor plus gaps needed 334px, so below ~364px the lines ran
   off the right edge. As a class it loses to the media query, as intended. */
.cat-cred .cr { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.6fr) 130px }

.s-light .cr, .s-paper .cr { border-top: 1px solid var(--hair-l) }
.s-dark  .cr { border-top: 1px solid var(--hair-d) }
.s-light .cr:last-of-type, .s-paper .cr:last-of-type { border-bottom: 1px solid var(--hair-l) }
.s-dark  .cr:last-of-type { border-bottom: 1px solid var(--hair-d) }

.cr .sect { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em;
            text-transform: uppercase }
.s-light .cr .sect, .s-paper .cr .sect { color: var(--mute-l) }
.s-dark  .cr .sect { color: #868077 }   /* 4.61; #78726A read 3.79 */
.cr .nm { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -0.025em }
.cr .ds { font-size: 14px; line-height: 1.6 }
.s-light .cr .ds, .s-paper .cr .ds { color: var(--mute-l) }
.s-dark  .cr .ds { color: #9A948A }
.cr .mt { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
          text-align: right; font-weight: 600 }
.s-light .cr .mt, .s-paper .cr .mt { color: var(--brass) }
.s-dark  .cr .mt { color: var(--brass-lt) }

@media (max-width: 980px) {
  .cr, .cat-cred .cr { grid-template-columns: 1fr auto; gap: 6px 18px; padding: 22px 0 }
  .cr .sect { grid-column: 1; order: 1 }
  .cr .mt   { grid-column: 2; order: 2; text-align: right }
  .cr .nm   { grid-column: 1 / -1; order: 3; margin-top: 4px }
  .cr .ds   { grid-column: 1 / -1; order: 4; margin-top: 4px }
}


/* ── full-bleed duotone plate ───────────────────────────────────────────── */

.plate { position: relative; background: var(--graphite); color: var(--on-dark) }
.plate .shot { position: relative; height: clamp(260px, 42vw, 520px) }
.plate .shot img { width: 100%; height: 100%; object-fit: cover }
.plate .shot::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(25,22,19,0), var(--graphite));
}
.plate .cap-wrap {
  position: relative; z-index: 2;
  max-width: var(--measure); margin: 0 auto;
  padding: clamp(30px, 4vw, 54px) var(--gutter) clamp(60px, 7vw, 100px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px); align-items: start;
}
.kv { display: flex; justify-content: space-between; gap: 20px;
      padding: 14px 0; border-bottom: 1px solid var(--hair-d); font-size: 14px }
.kv span:first-child { color: #78726A; letter-spacing: 0.14em;
                       text-transform: uppercase; font-size: 11.5px; flex: none }
.kv span:last-child { color: var(--on-dark); font-weight: 500; text-align: right }
@media (max-width: 860px) { .plate .cap-wrap { grid-template-columns: 1fr } }


/* ── image grid ─────────────────────────────────────────────────────────── */

.gal {
  margin-top: clamp(34px, 4.4vw, 56px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 32px) clamp(16px, 1.8vw, 24px);
}
.gi img { width: 100%; height: clamp(120px, 13vw, 168px); object-fit: cover }
.gi .nm { margin-top: 13px; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em }
.gi .mt { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.14em;
          text-transform: uppercase; font-weight: 600 }
.s-dark  .gi .mt { color: var(--brass-lt) }
.s-light .gi .mt, .s-paper .gi .mt { color: var(--brass) }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)) } }


/* ── statement (gradient flood) ─────────────────────────────────────────── */

.stmt > .in { padding-top: clamp(76px, 9vw, 128px); padding-bottom: clamp(76px, 9vw, 128px) }
.stmt .q {
  font-size: clamp(32px, 5.4vw, 76px); font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.08; max-width: 24ch;
}
html[lang='ko'] .stmt .q { letter-spacing: -0.028em; line-height: 1.26 }
.stmt .by { margin-top: clamp(32px, 4vw, 52px); max-width: 60ch }
.stmt .mk { font-size: 12.5px; font-weight: 700; letter-spacing: 0.28em;
            text-transform: uppercase; color: #CD7F09; margin-bottom: 30px }
            /* #6E4405 read 2.14 on this panel — dark brass on dark ground.
               Same hue, lifted until it passes at 4.6. */


/* ── closing call ───────────────────────────────────────────────────────── */

.close h2 { max-width: 22ch }


/* ── footer ─────────────────────────────────────────────────────────────── */

footer { background: #110F0D; color: #9A948A; border-top: 1px solid var(--hair-d) }
.f-in { max-width: var(--measure); margin: 0 auto; padding: clamp(50px, 6vw, 80px) var(--gutter) 34px }
.f-grid {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}
/* Matched to the navigation lockup optically, not numerically: the footer
   paragraph is 14px on 22.4px, so 4.2px of half-leading already sits above its
   first line. The margin carries only the remainder of the 10.8px the
   navigation holds between the mark and its strapline. */
.f-grid img { height: 34px; width: auto; margin-bottom: 3px }
.f-grid .f-h {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-lt); margin-bottom: 18px;
}
.f-grid ul { list-style: none }
.f-grid li { margin-bottom: 11px }
.f-grid a, .f-grid li { font-size: 14px; line-height: 1.55 }
/* A footer link's own box was 17px tall, under the 24px minimum target.
   Padding gives the thumb something to land on without moving the type. */
.f-grid a { display: inline-block; padding: 4px 0 }
.f-grid li { margin-bottom: 7px }
.f-grid a { text-decoration: none; transition: color .18s }
.f-grid a:hover { color: var(--on-dark) }
.f-bar {
  margin-top: clamp(44px, 5vw, 64px); padding-top: 26px;
  border-top: 1px solid var(--hair-d);
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between;
  font-size: 12.5px; line-height: 1.7; color: #878077;  /* 4.60; #716B63 read 3.63 */
}
@media (max-width: 900px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .f-grid { grid-template-columns: 1fr } }


/* ── reveal ─────────────────────────────────────────────────────────────── */

.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease }
.rv.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none }
}

:focus-visible { outline: 2px solid var(--brand-m); outline-offset: 3px }


/* ── contact form ───────────────────────────────────────────────────────── */

.contact-grid {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px); align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr } }

.field { margin-bottom: 22px }
.field label {
  display: block; margin-bottom: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hair-l); border-radius: 0;
  transition: border-color .18s, background .18s;
  -webkit-appearance: none; appearance: none;
}
.s-paper .field input, .s-paper .field select, .s-paper .field textarea { background: #FFFDF8 }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6 }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mute-l) 50%),
                    linear-gradient(135deg, var(--mute-l) 50%, transparent 50%);
  background-position: right 19px center, right 13px center;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); background: #FFFDF8;
}
.field input::placeholder, .field textarea::placeholder { color: #A39A86 }

.form-ok { padding: 34px 30px; background: var(--graphite); color: var(--on-dark) }
.form-ok .t { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px }
.form-ok .d { font-size: 14.5px; line-height: 1.65; color: #9A948A }


/* ── legal pages ────────────────────────────────────────────────────────── */

/* Measured, not assumed: 78ch rendered as 97–109 characters a line in this
   face, well past the 55–85 that reads comfortably — and these are the longest
   documents on the site. 36em lands English at 70–80. Korean sets wider per
   character and wants a shorter line of its own, so it takes 33em and lands at
   43–48. Both widths were read off the rendered page, not calculated. */
.legal { max-width: 36em; font-size: 15.5px; line-height: 1.66; color: #4E4D49 }
html[lang='ko'] .legal { max-width: 33em; line-height: 1.74; letter-spacing: -0.012em }

.legal h2 {
  /* 56px before every numbered clause left the page feeling gappier than it
     reads; a numbered heading already announces itself */
  margin: clamp(22px, 2.1vw, 28px) 0 8px;
  font-size: clamp(19px, 1.75vw, 23px); font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.24; color: var(--ink);
}
.legal h2:first-child { margin-top: 0 }
.legal p { margin-bottom: 12px }
.legal ul, .legal ol { margin: 0 0 14px 1.15em }
.legal li { margin-bottom: 6px }
.legal strong { color: var(--ink); font-weight: 600 }
.legal a { color: var(--brass); text-decoration: none; border-bottom: 1px solid currentColor }
.legal a:hover { color: var(--ink) }

.legal .legal-updated {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 30px;
}
.legal .legal-intro { font-size: 16.5px; line-height: 1.62; margin-bottom: 26px }

.legal .legal-summary, .legal .legal-toc {
  background: #FFFDF8; border: 1px solid var(--hair-l);
  padding: clamp(18px, 2.1vw, 26px); margin-bottom: 26px;
}
.legal .legal-summary-h, .legal .legal-toc-h {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 16px;
}
.legal .legal-summary ul, .legal .legal-toc ol, .legal .legal-toc ul { margin-bottom: 0 }
.legal .legal-toc a { border-bottom: 0 }
.legal .legal-toc a:hover { border-bottom: 1px solid currentColor }

.legal .legal-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px }
.legal .legal-table th, .legal .legal-table td {
  text-align: left; padding: 10px 13px; border: 1px solid var(--hair-l); vertical-align: top;
}
.legal .legal-table th {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass); background: #FFFDF8;
}
.legal .legal-contact {
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--hair-l);
  /* an address block is a stack of short lines, not running prose, so it sits
     tighter than the policy text above it */
  font-size: 14.5px; line-height: 1.58;
}
html[lang='ko'] .legal .legal-contact { line-height: 1.66 }
@media (max-width: 560px) {
  .legal .legal-table, .legal .legal-table tbody, .legal .legal-table tr,
  .legal .legal-table td, .legal .legal-table th { display: block; width: 100% }
  .legal .legal-table thead { display: none }
  .legal .legal-table tr { margin-bottom: 14px; border: 1px solid var(--hair-l) }
  .legal .legal-table td { border: 0; border-bottom: 1px solid var(--hair-l) }
  .legal .legal-table td:last-child { border-bottom: 0 }
}

/* a hero with no buttons should not leave their margin behind */
.hero .btns:empty { display: none; margin: 0 }

/* The company profile is the one thing a visitor most often comes for, so it
   sits in the navigation rather than only at the foot of the page. */
.nav-links .nav-dl { color: var(--brass-lt); font-weight: 600 }
.nav-links .nav-dl:hover { color: var(--brand-y) }
@media (min-width: 1041px) { .nav-links { gap: 26px } }

/* The bar carries a big mark on a desktop and a smaller one on a phone, so a
   fixed height cannot serve both. */
@media (max-width: 1040px) {
  .nav-in { height: 76px }
  .brand img { height: 36px }
  .brand { gap: 5px }
  .brand-line { font-size: 8.5px; line-height: 1.5 }
  .brand-line span:first-child { letter-spacing: 0.1040em }
  .brand-line span:last-child  { letter-spacing: 0.2337em }
}

/* ── hero photograph ────────────────────────────────────────────────────
   A rack, blurred on purpose. The blur is doing three jobs at once: it puts
   the frame behind the headline instead of beside it, it removes anything
   that could identify a client's site, and it hides that the only source
   frame available is 1000px wide. */
.hero .shot { position: absolute; inset: 0; z-index: 0; overflow: hidden }
.hero .shot img { width: 100%; height: 100%; object-fit: cover; display: block }
.hero .shot::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(25,22,19,.93) 0%, rgba(25,22,19,.74) 34%,
                            rgba(25,22,19,.24) 72%, rgba(25,22,19,.12) 100%),
    linear-gradient(to bottom, rgba(25,22,19,.30) 0%, rgba(25,22,19,0) 22%,
                               rgba(25,22,19,0) 62%, rgba(25,22,19,.96) 100%);
}
.hero > .in { position: relative; z-index: 2 }

@media (max-width: 860px) {
  /* the type runs the full width on a phone, so the frame cannot be left
     bright down one side — it goes behind everything instead */
  .hero .shot::after {
    background: linear-gradient(to bottom, rgba(25,22,19,.78) 0%,
                                           rgba(25,22,19,.88) 52%,
                                           rgba(25,22,19,.98) 100%);
  }
}

/* Body copy sits on the photograph only here, so it is lifted a step; the
   measured contrast on a phone was 3.30 against the frame, under the 4.5 a
   paragraph needs. */
.s-dark.hero .body { color: #D6D0C4 }

/* Columns share their row tracks, so a title that wraps to two lines pushes
   every body in that row down together instead of only its own. */
@supports (grid-template-rows: subgrid) {
  .cols { grid-auto-rows: auto }
  .col {
    display: grid; grid-row: span 3; grid-template-rows: subgrid;
    align-content: start;
    /* the parent's gap separates the columns, not the number, title and body
       inside one — those keep their own margins */
    row-gap: 0;
  }
}
/* Where subgrid is missing, two lines of title height keeps the same effect
   for any title up to two lines — which is every one on the site. */
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 621px) {
    .col .t { min-height: 2.36em }
  }
}

/* The legal pages carry a table of contents, and the bar at the top is
   sticky: without this, jumping to a clause parks its heading underneath
   the bar. The value tracks the bar's height at each breakpoint. */
.legal h2 { scroll-margin-top: 124px }
@media (max-width: 1040px) { .legal h2 { scroll-margin-top: 100px } }

/* ── hero film ──────────────────────────────────────────────────────────
   The footage is a bright office; the headline is cream. The veil is
   therefore much heavier than the one over the still photographs, and the
   frame itself is pulled toward the palette so the yellow helmets sit with
   the brass rather than against it. */
.hero .shot-film video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.55) brightness(0.78) contrast(1.06);
}
.hero .shot-film::after {
  background:
    linear-gradient(100deg, rgba(25,22,19,.95) 0%, rgba(25,22,19,.86) 32%,
                            rgba(25,22,19,.58) 70%, rgba(25,22,19,.46) 100%),
    linear-gradient(to bottom, rgba(25,22,19,.42) 0%, rgba(25,22,19,.20) 22%,
                               rgba(25,22,19,.28) 60%, rgba(25,22,19,.97) 100%);
}
/* On a phone the headline runs the full width, so there is no quiet side to
   put it on: veiling the film enough for the type left almost none of the
   film. It stops being a backdrop and becomes a band of its own, with the
   words underneath on solid ground. */
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column }
  /* A flex item refuses to shrink below its own min-content width unless told
     to. On the enquiry page the widest <option> gave the form a 249px floor,
     which with the 20px gutters pushed a 280px cover screen 9px wide. */
  .hero > * { min-width: 0 }
  .hero .shot-film {
    position: relative; inset: auto; z-index: 0;
    height: 42vh; min-height: 240px; max-height: 400px;
  }
  /* Matched to the desktop reading on contrast, not on average brightness.
     Averages alone were misleading: an earlier pass hit the same mean as the
     desktop (47 against 46) and still looked murky, because the desktop veil
     is a horizontal gradient that leaves one bright side, while a vertical one
     dims everything evenly. Lifting the highlight is what carries it — desktop
     reads 23 in shadow and 80 in highlight, and this lands at 22 and 83, a
     touch brighter on purpose since a phone is usually held in daylight.
     No blur: it was costing local contrast for no gain, and the film sits
     above the words here rather than behind them, so nothing needs softening. */
  .hero .shot-film video {
    filter: saturate(0.56) brightness(0.88) contrast(1.22);
  }
  .hero .shot-film::after {
    background: linear-gradient(to bottom, rgba(25,22,19,.70) 0%,
                                           rgba(25,22,19,.62) 32%,
                                           rgba(25,22,19,.67) 60%,
                                           var(--graphite) 100%);
  }
  .hero > .in { padding-top: clamp(24px, 5vw, 40px) }
}

/* A phone held sideways is short, not narrow: the rules above still apply,
   but the 240px floor on the film band then eats most of the screen — 61% of
   an iPhone in landscape, half of a folded iPhone Duo — and the headline
   starts below the fold. The band gives way to the words when height is the
   scarce dimension. */
@media (max-width: 860px) and (max-height: 520px) {
  .hero .shot-film { height: 38vh; min-height: 148px; max-height: 220px }
}

/* ── film band ──────────────────────────────────────────────────────────
   The film gets its own section rather than sitting under the headline:
   veiled enough to read type over, only half of it survived, and nobody
   watches a fourteen-second story in a hero anyway. */
.film-band { padding: 0 }
.film-band .band-film { position: relative; width: 100%; overflow: hidden;
  height: clamp(240px, 44vw, 600px); background: var(--graphite) }
.film-band .band-film video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.82) contrast(1.02);
}
/* only the lower edge is darkened, so the caption has ground to sit on */
.film-band .band-film::after {
  content: ''; position: absolute; inset: auto 0 0; height: 32%;
  background: linear-gradient(to bottom, rgba(25,22,19,0), var(--graphite));
}
.film-band .band-cap {
  padding-top: clamp(26px, 3vw, 40px);
  padding-bottom: clamp(48px, 6vw, 84px);
  max-width: var(--measure); margin: 0 auto;
}
.film-band .band-cap .body { max-width: 62ch; margin-top: 12px }
.film-band .band-note { margin-top: 18px; color: #78726A; font-size: 12.5px }
