/* ============================================
   PHILMEDIS — dark industrial B2B
   Cipher-like canvas metal-plate hero
   Deep charcoal bands · scroll-driven motion
   ============================================ */

:root {
  --black: #070708;
  --charcoal: #0E0E10;
  --charcoal-elevated: #16161A;
  --charcoal-card: #1A1A1F;
  --charcoal-line: rgba(255, 255, 255, 0.08);
  --white: #FFFFFF;
  --white-92: rgba(255, 255, 255, 0.92);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-72: rgba(255, 255, 255, 0.72);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-28: rgba(255, 255, 255, 0.28);
  --white-14: rgba(255, 255, 255, 0.14);
  --white-08: rgba(255, 255, 255, 0.08);
  --ink: #F2F2F3;
  --ink-muted: #9A9BA3;
  --surface: #0E0E10;
  --rule: rgba(255, 255, 255, 0.09);
  --accent: #C4A35A;
  --accent-soft: rgba(196, 163, 90, 0.35);

  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Roboto Mono", Menlo, Consolas,
    ui-monospace, monospace;

  --header-h: 72px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-duration: 0.9s;

  --header-progress: 0;
  --header-blur: calc(6px + var(--header-progress) * 20px);
  --header-bg-alpha: calc(0.4 + var(--header-progress) * 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background-color 0.25s var(--ease), opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.35em;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: inherit;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 72px, var(--container));
  }
}

.hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .hide-sm {
    display: inline;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease), -webkit-backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 8, var(--header-bg-alpha));
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
  border-bottom-color: rgba(255, 255, 255, calc(0.06 + var(--header-progress) * 0.1));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo:hover { color: inherit; opacity: 0.92; }

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(220px, 46vw);
  object-fit: contain;
}

/* White logo artwork → dark mark on light header (if applicable) */
body.on-light .site-header .logo-img {
  filter: invert(1);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--black);
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  visibility: hidden;
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--white-72);
  border-bottom: 1px solid var(--white-08);
}

.nav-list a:hover,
.nav-list a.nav-cta {
  color: var(--white);
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    background: transparent;
    padding: 0;
    transform: none;
    visibility: visible;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .nav-list a {
    padding: 0;
    border: 0;
    font-size: 13px;
  }

  .nav-list a.nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--white-28);
    color: var(--white);
  }

  .nav-list a.nav-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-tiles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Strong left vignette — headline stays readable */
.hero-tiles-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 7, 8, 0.72) 0%,
      rgba(7, 7, 8, 0.42) 28%,
      rgba(7, 7, 8, 0.08) 48%,
      rgba(7, 7, 8, 0) 62%,
      rgba(7, 7, 8, 0.06) 100%
    ),
    radial-gradient(
      ellipse 55% 50% at 16% 80%,
      rgba(7, 7, 8, 0.1) 0%,
      rgba(7, 7, 8, 0.28) 55%,
      rgba(7, 7, 8, 0.45) 100%
    );
  z-index: 1;
}

.hero-tiles-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 7, 8, 0.98) 0%,
    rgba(7, 7, 8, 0.7) 18%,
    transparent 46%
  );
  z-index: 1;
}

.hero-ambient {
  position: absolute;
  inset: -8% -4%;
  z-index: 1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
}

.hero-glow--a {
  width: min(70vw, 720px);
  height: min(50vw, 520px);
  top: -8%;
  right: -5%;
  background: radial-gradient(
    ellipse at center,
    rgba(210, 172, 98, 0.15) 0%,
    rgba(196, 163, 90, 0.042) 45%,
    transparent 70%
  );
  animation: glow-drift-a 18s ease-in-out infinite alternate;
}

.hero-glow--b {
  width: min(55vw, 480px);
  height: min(45vw, 400px);
  bottom: 10%;
  left: -8%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.035) 0%,
    rgba(255, 255, 255, 0.01) 50%,
    transparent 70%
  );
  animation: glow-drift-b 22s ease-in-out infinite alternate;
}

@keyframes glow-drift-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4%, 6%) scale(1.08); }
}

@keyframes glow-drift-b {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6%, -5%) scale(1.1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  max-width: 980px;
}

@media (min-width: 768px) {
  .hero {
    padding-bottom: 96px;
  }

  .hero-inner {
    width: min(100% - 72px, var(--container));
  }
}

.hero-eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 2px 16px rgba(7, 7, 8, 0.95);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.85rem, 10.5vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--white);
  text-shadow:
    0 2px 4px rgba(7, 7, 8, 0.9),
    0 8px 32px rgba(7, 7, 8, 0.8),
    0 0 60px rgba(7, 7, 8, 0.55);
}

.hero-line {
  display: block;
}

.hero-word {
  display: inline-block;
  margin-right: 0.2em;
}

.hero-word:last-child {
  margin-right: 0;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(1.25em);
  filter: blur(8px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out),
    filter 0.95s var(--ease-out);
  transition-delay: calc(var(--hero-order, 0) * 100ms + 140ms);
  will-change: opacity, transform, filter;
}

.hero.is-ready .hero-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-sub {
  margin: 0 0 36px;
  max-width: 36ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--white-80);
  text-shadow: 0 2px 18px rgba(7, 7, 8, 0.98);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  border-radius: 2px;
  transition:
    color 0.28s var(--ease),
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.btn-primary {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(196, 163, 90, 0.32);
}

.btn-primary--light {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn-primary--light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(196, 163, 90, 0.28);
}

/* Secondary CTA — high-contrast outline on dark tiles */
.btn-secondary,
.btn-ghost {
  color: var(--white);
  background: rgba(7, 7, 8, 0.35);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .hero-actions .btn {
    min-height: 60px;
    padding: 0 36px;
    font-size: 16px;
  }
}

/* ---------- Sections (dark) ---------- */
.section {
  padding: 104px 0;
  background: var(--charcoal);
  color: var(--ink);
}

@media (min-width: 768px) {
  .section {
    padding: 140px 0;
  }
}

.section-intro {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-intro--about,
.section-intro--services {
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .section-intro {
    margin-bottom: 80px;
  }

  .section-intro--about,
  .section-intro--services {
    margin-bottom: 88px;
  }
}

.section-label {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label--on-dark {
  color: var(--accent);
}

.section-intro h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--white);
}

.section-lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

/* ABOUT intro: larger, higher-contrast lead (scoped to ABOUT only) */
.section-intro--about {
  max-width: 820px;
}

.section-intro--about .section-label {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.28em;
}

.section-intro--about h2 {
  margin-bottom: 28px;
}

.about-lead {
  max-width: 41em;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #CFCBC2; /* warm off-white, still below the heading */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.about-lead .nw {
  white-space: nowrap;
}

.about-lead .br-desk {
  display: none;
}

.about-lead .lead-em {
  font-weight: 600;
  color: #E6D3A3; /* soft gold tint */
}

@media (min-width: 768px) {
  .about-lead {
    font-size: 19px;
    line-height: 1.8;
  }

  .about-lead .br-desk {
    display: inline;
  }
}

/* Sliding section titles */
.slide-title {
  opacity: 0;
  transform: translateX(-48px);
  filter: blur(4px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out),
    filter 0.95s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.slide-title.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- About ---------- */
.about {
  background: var(--charcoal);
  border-top: 1px solid var(--white-08);
}

.about-panel {
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}

.about-meaning-header {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  max-width: none;
}

.about-meaning-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px; /* matches the ABOUT eyebrow */
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-meaning-pitch .nw,
#about-heading .nw {
  white-space: nowrap;
}

.about-meaning-pitch {
  margin: 0;
  font-size: clamp(1.0625rem, 4.4vw, 1.375rem); /* 17px mobile → 22px desktop */
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
  word-break: keep-all;
  color: var(--white-92);
}

/* Name-meaning panel: single brass/gold palette (premium, restrained) */
.about-meaning {
  position: relative;
  isolation: isolate;
  --gold-hi: #EBD7A4;
  --gold: #C9A961;
  --gold-lo: #9C7A3C;
  --gold-label: rgba(201, 169, 97, 0.72);
}

.about-meaning > *:not(.meaning-glow) {
  position: relative;
  z-index: 1;
}

/* Large soft spotlight following the cursor (transform-only) */
.meaning-glow {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 180, 112, 0.09) 0%,
    rgba(196, 163, 90, 0.035) 38%,
    rgba(196, 163, 90, 0) 68%
  );
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--lx, -9999px), var(--ly, -9999px), 0);
  transition: opacity 0.6s var(--ease);
  will-change: transform, opacity;
}

.about-meaning.is-lit .meaning-glow {
  opacity: 1;
}

/* Wordmark assembled from the four cells — one metallic gold */
.meaning-mark {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  margin: 10px 0 38px;
  padding-bottom: 16px;
  font-size: clamp(2.6rem, 10vw, 5.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  user-select: none;
}

.mark-part {
  position: relative;
  display: inline-block;
  color: var(--gold);
  background: linear-gradient(
    180deg,
    var(--gold-hi) 0%,
    #D9BC7C 34%,
    var(--gold) 58%,
    var(--gold-lo) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform-origin: 0 0;
  will-change: transform, opacity;
}

/* One hairline under the whole word, drawn after assembly */
.meaning-mark::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(201, 169, 97, 0) 0%,
    rgba(201, 169, 97, 0.85) 18%,
    rgba(235, 215, 164, 0.95) 50%,
    rgba(201, 169, 97, 0.85) 82%,
    rgba(201, 169, 97, 0) 100%
  );
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) 0.35s;
}

.meaning-mark.is-armed .mark-part {
  opacity: 0;
}

.meaning-mark.is-armed::after,
.meaning-mark.is-playing::after {
  transform: scaleX(0);
  transition-delay: 0s;
}

/* Grid: 1px gaps act as borders and let the border light glow through */
.meaning-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: rgba(201, 169, 97, 0.14);
  margin-bottom: 28px;
  overflow: hidden;
}

.meaning-grid::before,
.meaning-grid::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--gx, -9999px), var(--gy, -9999px), 0);
  transition: opacity 0.45s var(--ease);
  will-change: transform, opacity;
}

/* Border light: shows only through the 1px gaps */
.meaning-grid::before {
  z-index: 0;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  background: radial-gradient(
    circle,
    rgba(240, 214, 158, 0.75) 0%,
    rgba(201, 169, 97, 0.32) 32%,
    rgba(196, 163, 90, 0) 66%
  );
}

/* Face light: lifts the cells and their text under the cursor */
.meaning-grid::after {
  z-index: 3;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  background: radial-gradient(
    circle,
    rgba(240, 214, 158, 0.1) 0%,
    rgba(201, 169, 97, 0.035) 40%,
    rgba(196, 163, 90, 0) 70%
  );
  mix-blend-mode: screen;
}

.meaning-grid.is-lit::before,
.meaning-grid.is-lit::after {
  opacity: 1;
}

.meaning-grid li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 30px 24px 28px;
  background: linear-gradient(180deg, #151518 0%, #111114 100%);
  overflow: hidden;
  transition: background-color 0.35s var(--ease);
}

.meaning-grid li.is-tilting {
  z-index: 2;
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

/* Hairline gold edge on top of each cell */
.meaning-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(201, 169, 97, 0.7) 0%,
    rgba(201, 169, 97, 0.18) 70%,
    rgba(201, 169, 97, 0) 100%
  );
  opacity: 0.8;
  transform-origin: left center;
  pointer-events: none;
}

/* Specular sheen sliding across the tilted cell (like the hero plates) */
.meaning-sheen {
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    115deg,
    rgba(240, 214, 158, 0) 40%,
    rgba(240, 214, 158, 0.07) 48%,
    rgba(250, 236, 204, 0.12) 50%,
    rgba(240, 214, 158, 0.07) 52%,
    rgba(240, 214, 158, 0) 60%
  );
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--sx, 0%), var(--sy, 0%), 0);
  transition: opacity 0.35s var(--ease);
}

.meaning-grid li.is-tilting .meaning-sheen {
  opacity: 1;
}

/* Thin-line gold icons */
.meaning-icon {
  display: block;
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  padding: 9px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 169, 97, 0.26);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(201, 169, 97, 0.07), rgba(201, 169, 97, 0) 70%);
  color: var(--gold);
  overflow: visible;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.meaning-icon * {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.25s linear;
}

.meaning-cell[data-part="1"] .meaning-icon * { transition-delay: 0.12s; }
.meaning-cell[data-part="2"] .meaning-icon * { transition-delay: 0.24s; }
.meaning-cell[data-part="3"] .meaning-icon * { transition-delay: 0.36s; }

.meaning-grid.is-armed .meaning-icon * {
  stroke-dashoffset: 1;
  opacity: 0; /* hides round-cap dots before the stroke starts drawing */
  transition: none;
}

.meaning-grid li:hover .meaning-icon {
  color: var(--gold-hi);
  border-color: rgba(201, 169, 97, 0.55);
  box-shadow: 0 0 22px rgba(201, 169, 97, 0.12), inset 0 0 12px rgba(201, 169, 97, 0.08);
}

.meaning-en {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold-label);
  font-weight: 500;
  text-transform: uppercase;
}

.meaning-ko {
  font-size: 1.4375rem; /* 23px */
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white-92);
}

.about-meaning-note {
  margin: 0;
  max-width: 41em;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #CFCBC2; /* warm off-white, matches the ABOUT lead */
  word-break: keep-all;
  text-wrap: balance; /* avoids a lone "합니다." on narrow screens */
}

@media (min-width: 768px) {
  .about-meaning-note {
    font-size: 19px;
    line-height: 1.8;
  }

  .meaning-en {
    font-size: 14px;
  }
}

@media (min-width: 700px) {
  .meaning-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .meaning-icon {
    width: 64px;
    height: 64px;
    padding: 10px;
  }

  .about-panel {
    padding-top: 56px;
  }
}

/* ---------- Services ---------- */
.services {
  background: var(--black);
  border-top: 1px solid var(--white-08);
  --sv-gold-hi: #EBD7A4;
  --sv-gold: #C9A961;
  --sv-gold-label: rgba(201, 169, 97, 0.72);
  --sv-body: #CFCBC2;
  --sv-plate-text: #D8D3C9;
}

/* Intro: eyebrow + lead matched to ABOUT (scoped to Services) */
.section-intro--services .section-label {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.28em;
}

.section-intro--services h2 {
  margin-bottom: 28px;
  word-break: keep-all;
}

.section-intro--services h2 .nw {
  white-space: nowrap;
}

.section-intro--services .section-lead {
  max-width: 41em;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: var(--sv-body);
  word-break: keep-all;
}

/* Four row cards stacked top to bottom — everything visible at once */
.services-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Metal plate cards — matched to the hero's dark anodized tiles:
   graphite steel, fine horizontal brushing, warm top-left bevel,
   dark bottom-right edge, outer thickness shadow and corner bolts. */
.service-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 30px 26px 32px;
  border: 1px solid #050506;
  border-radius: 3px;
  overflow: hidden;
  background:
    /* broad key light from the top-left, falling off to the bottom-right */
    linear-gradient(128deg,
      rgba(255, 236, 200, 0.075) 0%,
      rgba(255, 236, 200, 0.02) 30%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.28) 100%),
    /* anisotropic brushed look: soft horizontal light band */
    linear-gradient(90deg,
      rgba(255, 240, 214, 0) 0%,
      rgba(255, 240, 214, 0.025) 22%,
      rgba(255, 240, 214, 0) 48%,
      rgba(255, 240, 214, 0.018) 76%,
      rgba(255, 240, 214, 0) 100%),
    /* fine brushed grain: overlapping prime-period streaks read as random */
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0.014) 0 1px,
      rgba(255, 255, 255, 0) 1px 3px),
    repeating-linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0 1px,
      rgba(0, 0, 0, 0) 1px 7px),
    repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0 5px,
      rgba(255, 255, 255, 0.018) 5px 6px,
      rgba(255, 255, 255, 0) 6px 13px),
    repeating-linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0 9px,
      rgba(0, 0, 0, 0.06) 9px 10px,
      rgba(0, 0, 0, 0) 10px 19px),
    /* graphite steel base with a faint bronze warmth */
    linear-gradient(180deg, #25242a 0%, #1c1b20 48%, #151418 100%);
  box-shadow:
    /* bevel: warm highlight on top/left, dark on bottom/right */
    inset 0 1px 0 rgba(255, 238, 210, 0.16),
    inset 1px 0 0 rgba(255, 238, 210, 0.07),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55),
    inset -1px 0 0 rgba(0, 0, 0, 0.45),
    inset 0 0 0 4px rgba(0, 0, 0, 0.06),
    /* plate thickness + cast shadow */
    0 1px 0 #0b0b0d,
    0 3px 0 #060607,
    0 16px 30px -12px rgba(0, 0, 0, 0.95);
}

/* Card 01: slightly warmer, brighter bevel */
.service-card--feature {
  border-color: #0a0907;
  box-shadow:
    inset 0 1px 0 rgba(235, 215, 164, 0.5),
    inset 1px 0 0 rgba(235, 215, 164, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55),
    inset -1px 0 0 rgba(0, 0, 0, 0.45),
    inset 0 0 0 4px rgba(0, 0, 0, 0.06),
    inset 0 0 48px rgba(201, 169, 97, 0.06),
    0 1px 0 #0b0b0d,
    0 3px 0 #060607,
    0 16px 30px -12px rgba(0, 0, 0, 0.95);
}

.service-card > *:not(.plate-sheen):not(.plate-bolts):not(.plate-trace) {
  position: relative;
  z-index: 2;
}

/* Specular sheen: one soft pass across the plate as it scrolls into view */
.plate-sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 60%;
  background: linear-gradient(100deg,
    rgba(255, 240, 214, 0) 0%,
    rgba(255, 240, 214, 0.035) 35%,
    rgba(255, 244, 224, 0.085) 50%,
    rgba(255, 240, 214, 0.035) 65%,
    rgba(255, 240, 214, 0) 100%);
  transform: translate3d(-110%, 0, 0);
  pointer-events: none;
}

/* Corner bolts (cross-slot, like the hero tiles) */
.plate-bolts {
  position: absolute;
  inset: 11px;
  z-index: 1;
  pointer-events: none;
}

.plate-bolts i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%,
    rgba(255, 240, 214, 0.32) 0 14%,
    #34333a 32%,
    #18181c 64%,
    #08080a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.75),
    0 1px 0 1px rgba(255, 238, 210, 0.07);
}

.plate-bolts i::before,
.plate-bolts i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
}

.plate-bolts i::before { width: 5px; height: 1px; }
.plate-bolts i::after { width: 1px; height: 5px; }

.plate-bolts i:nth-child(1) { left: 0; top: 0; }
.plate-bolts i:nth-child(2) { right: 0; top: 0; }
.plate-bolts i:nth-child(3) { right: 0; bottom: 0; }
.plate-bolts i:nth-child(4) { left: 0; bottom: 0; }

@media (max-width: 699px) {
  .plate-bolts { inset: 9px; }
  .plate-bolts i { width: 7px; height: 7px; }
  .plate-bolts i::before { width: 4px; }
  .plate-bolts i::after { height: 4px; }
}

/* Hover (fine pointers, motion allowed): only a tiny lift */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    translate: 0 -2px;
  }
}

/* Border trace: thin gold light that travels once around the plate
   (injected by script.js only when the sequence plays) */
.plate-trace {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  fill: none;
  opacity: 0;
}

.plate-trace .trace-run {
  stroke: #e9cf94;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 88;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 3px rgba(233, 207, 148, 0.75));
}

.plate-trace .trace-edge {
  stroke: rgba(212, 180, 112, 0.5);
  stroke-width: 2;
  opacity: 0;
}

/* ---------- Scroll-triggered sequence (once per card, per load) ----------
   0.00s  plate fades/rises in (transition on .service-enter)
   0.25s  soft light sweep crosses the plate (1.6s)
   0.35s  gold icon strokes draw (0.9s)
   0.50s  left screws glint, ~1.05s right screws glint as the sweep passes
   0.55s  gold light runs once around the border, then settles (1.45s)   */
@media (prefers-reduced-motion: no-preference) {
  .service-card.fx-play .plate-sheen {
    animation: plate-sweep 1.6s cubic-bezier(0.45, 0, 0.4, 1) calc(var(--fx-d, 0ms) + 0.25s) both;
  }

  .service-card.fx-play .service-icon :is(path, circle, rect, line, polyline, polygon, ellipse) {
    animation: icon-draw 0.9s cubic-bezier(0.55, 0.1, 0.3, 1) calc(var(--fx-d, 0ms) + 0.35s) both;
  }

  .service-card.fx-play .plate-bolts i {
    animation: bolt-glint 0.7s ease-out calc(var(--fx-d, 0ms) + 0.5s) both;
  }

  .service-card.fx-play .plate-bolts i:nth-child(2),
  .service-card.fx-play .plate-bolts i:nth-child(3) {
    animation-delay: calc(var(--fx-d, 0ms) + 1.05s);
  }

  .service-card.fx-play .plate-trace {
    animation: trace-fade 1.45s linear calc(var(--fx-d, 0ms) + 0.55s) both;
  }

  .service-card.fx-play .plate-trace .trace-run {
    animation: trace-run 1.45s cubic-bezier(0.4, 0, 0.3, 1) calc(var(--fx-d, 0ms) + 0.55s) both;
  }

  .service-card.fx-play .plate-trace .trace-edge {
    animation: trace-edge 1.45s ease-out calc(var(--fx-d, 0ms) + 0.55s) both;
  }
}

@keyframes plate-sweep {
  from { transform: translate3d(-110%, 0, 0); }
  to   { transform: translate3d(190%, 0, 0); }
}

@keyframes icon-draw {
  0%   { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
  8%   { opacity: 1; }
  100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; }
}

@keyframes bolt-glint {
  0%   { filter: brightness(1); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 1px 0 1px rgba(255, 238, 210, 0.07); }
  35%  { filter: brightness(2.1) sepia(0.5); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 7px 1px rgba(233, 207, 148, 0.45); }
  100% { filter: brightness(1); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 1px 0 1px rgba(255, 238, 210, 0.07); }
}

@keyframes trace-fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes trace-run {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -100; }
}

@keyframes trace-edge {
  0%, 62% { opacity: 0; }
  80%     { opacity: 0.55; }
  100%    { opacity: 0; }
}

.service-lead {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}


.service-icon {
  display: block;
  box-sizing: border-box;
  flex: none;
  width: 56px;
  height: 56px;
  padding: 9px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 50%;
  /* recessed into the plate */
  background: radial-gradient(circle at 50% 40%, #121215 0%, #0c0c0e 70%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.7),
    0 1px 0 rgba(255, 238, 210, 0.09);
  color: var(--sv-gold);
  overflow: visible;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}

.service-card:hover .service-icon,
.service-card--feature .service-icon {
  color: var(--sv-gold-hi);
  border-color: rgba(201, 169, 97, 0.5);
}

.service-card h3 {
  margin: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
  color: var(--white);
  word-break: keep-all;
}

.service-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.015em;
  color: var(--sv-plate-text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  word-break: keep-all;
}

.service-card p .nw {
  white-space: nowrap;
}

/* AI 프로그램 개발 — sub-item of card 01 */
.service-ai {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 238, 210, 0.07);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 26px;
  padding: 0 11px 0 12px;
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--sv-gold-hi);
  background: rgba(201, 169, 97, 0.08);
}

/* tag sits inline with the AI title at every width */
.service-ai-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.service-ai h4 {
  margin: 0;
  font-size: 1.3125rem; /* 21px mobile — matches card titles */
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--sv-gold-hi);
  word-break: keep-all;
}

.service-ai p {
  font-size: 17px;
  line-height: 1.7;
}

/* Staggered entrance: rows rise in one by one, top to bottom (once per load) */
.service-enter {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.5s var(--ease);
  /* stagger offset (--fx-d) is set by script.js (chained 01→02→03→04) */
  transition-delay: var(--fx-d, 0ms), var(--fx-d, 0ms), 0ms;
}

.service-enter.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .section-intro--services .section-lead {
    font-size: 19px;
    line-height: 1.8;
  }
}

/* 2×2 plate grid (01 02 / 03 04) from 700px; equal height per row */
@media (min-width: 700px) {
  /* all four plates share one height: equal rows + stretch */
  .services-list {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 22px;
  }

  .service-card {
    align-content: start;
    gap: 12px;
    padding: 34px 40px 56px;
  }

  .service-lead {
    margin-bottom: 4px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    padding: 8px;
  }

  /* compact AI block: tag inline with its title */
  .service-ai {
    margin-top: 12px;
    padding-top: 12px;
  }

  .service-ai h4 {
    font-size: 1.375rem;
  }

  /* thin engraved line anchors the bottom of every plate */
  .service-card::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 28px;
    z-index: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 0 rgba(255, 238, 210, 0.07);
    pointer-events: none;
  }
}

@media (min-width: 1100px) {
  .service-card {
    padding: 34px 48px 56px;
  }

  .service-card::after {
    left: 48px;
    right: 48px;
    bottom: 28px;
  }

  .service-card h3 {
    font-size: 1.4375rem;
  }

  .service-card > .service-more > p,
  .service-ai p {
    font-size: 18px;
  }

  .service-ai h4 {
    font-size: 1.4375rem; /* 23px — same as card titles */
  }
}

/* ---------- Leadership ---------- */
.leadership {
  background: var(--charcoal);
  border-top: 1px solid var(--white-08);
}

/* One unified block: eyebrow / name + intro (left) / career list (right) */
.leader-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "photo"
    "label"
    "identity"
    "cv";
}

/* Portrait: understated, fades into the dark section, gold corner accents */
.leader-photo {
  grid-area: photo;
  position: relative;
  margin: 0 0 40px;
  aspect-ratio: 1 / 1;
  background: #141210;
  isolation: isolate;
  /* own entrance (script.js, ~40% visible): fade-up, then B&W → colour */
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
}

.leader-photo.is-visible {
  opacity: 1;
  transform: none;
}

.leader-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  /* starts black-and-white, slightly dimmer; same function list as the
     final grade so the filter interpolates smoothly */
  filter: grayscale(1) saturate(0.92) sepia(0) contrast(0.96) brightness(0.88);
  transform: scale(1.045);
  transform-origin: 50% 35%;
  transition:
    transform 1.8s var(--ease-out),
    filter 2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s;
}

.leader-photo.is-visible img {
  transform: none;
  /* tiny warm grade to sit with the gold accents (vignette/corners untouched) */
  filter: grayscale(0) saturate(0.92) sepia(0.06) contrast(1.02) brightness(1);
}

/* dark fade on the lower edge + soft vignette so it melts into the page */
.leader-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0) 58%, rgba(14, 14, 16, 0.55) 86%, #0E0E10 100%),
    radial-gradient(120% 95% at 55% 35%, rgba(14, 14, 16, 0) 55%, rgba(14, 14, 16, 0.45) 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, 0.14);
}

.leader-photo-corner {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.leader-photo-corner--tl {
  top: -8px;
  left: -8px;
  border-top: 1px solid rgba(230, 207, 152, 0.75);
  border-left: 1px solid rgba(230, 207, 152, 0.75);
}

.leader-photo-corner--br {
  right: -8px;
  bottom: -8px;
  border-right: 1px solid rgba(230, 207, 152, 0.45);
  border-bottom: 1px solid rgba(230, 207, 152, 0.45);
}

.leader-label {
  grid-area: label;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.28em;
}

.leader-identity {
  grid-area: identity;
}

.leader-name {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--white);
}

/* short gold hairline under the name */
.leader-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, #e6cf98, rgba(201, 169, 97, 0.2));
}

.leader-lead {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.015em;
  color: #CFCBC2; /* same warm off-white as ABOUT */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.leader-lead .nw {
  white-space: nowrap;
}

.leader-lead .br-desk {
  display: none;
}

.leader-cv {
  grid-area: cv;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(201, 169, 97, 0.32);
}

.leader-cv li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start; /* badge centres on the first text line */
  padding: 19px 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.14);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--white-92);
  word-break: keep-all;
  transition: padding-left 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .leader-cv li:hover {
    padding-left: 6px;
  }
}

/* item text column; the link sits under the text, aligned with it */
.cv-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(214, 186, 124, 0.82);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}

.cv-link:hover,
.cv-link:focus-visible {
  color: #E6D3A3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.cv-link-icon {
  flex: none;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .cv-link {
    font-size: 16px;
  }
}

.cv-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.07);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #E6D3A3;
  margin-top: -3px;
}

@media (min-width: 768px) {
  .leader-lead {
    font-size: 19px;
    line-height: 1.8;
  }

  .leader-cv li {
    font-size: 19px;
  }
}

@media (min-width: 1000px) {
  /* portrait left, spanning the full height of label + name + intro + list */
  .leader-layout {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "photo label"
      "photo identity"
      "photo cv";
    column-gap: clamp(64px, 7vw, 104px);
    align-items: start;
  }

  .leader-photo {
    align-self: stretch;
    margin: 0;
    aspect-ratio: auto;
    min-height: 460px;
  }

  .leader-photo img {
    position: absolute;
    inset: 0;
    object-position: 45% 18%;
  }

  .leader-lead .br-desk {
    display: inline;
  }

  .leader-cv {
    margin-top: 40px;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 112px 0;
  border-top: 1px solid var(--white-08);
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-band {
    padding: 140px 0;
  }
}

.cta-band-glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(196, 163, 90, 0.12) 0%,
    rgba(196, 163, 90, 0.03) 45%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.cta-band.is-active .cta-band-glow {
  opacity: 1;
  transform: scale(1);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: end;
}

.cta-copy h2,
.cta-heading-impact {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
}

.cta-sub {
  margin: 0;
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--white-72);
}

.cta-hint {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--white-55);
}

.cta-action-impact {
  transform-origin: right center;
}

/* CONTACT heading is now just the eyebrow (the big question was removed) */
.cta-copy .cta-label {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  color: var(--accent);
}

.cta-copy .cta-sub {
  max-width: 24em;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.025em;
  color: #E2DED6;
  word-break: keep-all;
  text-wrap: balance;
}

.cta-copy .cta-sub .nw {
  white-space: nowrap;
}

.cta-copy .cta-sub .br-desk {
  display: none;
}

/* ---- CONTACT globe (ported from v2, gold). Classes prefixed "cg-" ---- */
.cta-inner {
  grid-template-areas:
    "globe"
    "copy"
    "action";
}

.cg-globe {
  grid-area: globe;
  justify-self: center;
  width: min(78vw, 320px);
}

.cta-copy { grid-area: copy; }
.cta-action { grid-area: action; }

.cg-stage {
  position: relative;
  aspect-ratio: 1 / 1;
}

/* soft gold bloom behind the sphere */
.cg-stage::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(closest-side circle at 50% 50%,
    rgba(201, 169, 97, 0.1) 0%,
    rgba(201, 169, 97, 0.035) 55%,
    rgba(201, 169, 97, 0) 100%);
  pointer-events: none;
}

.cg-canvas {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .cta-copy .cta-sub {
    max-width: none;
    font-size: 24px;
    line-height: 1.55;
  }

  .cta-copy .cta-sub .br-desk {
    display: inline;
  }
}

@media (min-width: 1100px) {
  .cta-copy .cta-sub {
    font-size: 28px;
    line-height: 1.5;
  }
}

@media (min-width: 900px) {
  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "copy   globe"
      "action globe";
    column-gap: clamp(48px, 6vw, 96px);
    row-gap: 36px;
    align-items: center;
  }

  .cta-copy { align-self: end; }
  .cta-action { align-self: start; }

  .cg-globe {
    width: clamp(320px, 30vw, 420px);
    justify-self: end;
  }

  .cta-action {
    text-align: left;
  }

  .cta-action .btn {
    width: auto;
    min-height: 56px;
    padding: 0 32px;
    font-size: 16px;
  }
}

/* CONTACT: larger eyebrow + email button (scoped to CONTACT only) */
.cta-copy .cta-label {
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-action .btn {
  min-height: 62px;
  padding: 0 36px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

@media (min-width: 900px) {
  .cta-copy .cta-label {
    font-size: 18px;
    margin-bottom: 22px;
  }

  .cta-action .btn {
    min-height: 66px;
    padding: 0 42px;
    font-size: 19px;
  }
}

@media (min-width: 1100px) {
  .cta-action .btn {
    min-height: 68px;
    padding: 0 46px;
    font-size: 20px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050506;
  color: var(--white-55);
  border-top: 1px solid var(--white-08);
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
}

.footer-brand strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.footer-brand > span {
  font-size: 15px;
  color: var(--white-72);
}

.footer-tagline {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--white-55);
}

.footer-details {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--white-08);
}

.footer-details > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--white-08);
}

.footer-details dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-55);
  padding-top: 3px;
}

.footer-details dd {
  margin: 0;
  font-size: 16px;
  color: var(--white-92);
}

.footer-details a {
  color: var(--white);
  border-bottom: 1px solid var(--white-28);
}

.footer-details a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-legal {
  border-top: 1px solid var(--white-08);
  padding-top: 24px;
}

.footer-legal p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--white-55);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 64px;
    align-items: start;
  }

  .footer-details {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
    gap: 0 40px;
  }

  .footer-details > div {
    border-top: 1px solid var(--white-08);
  }
}

/* ---------- Generic scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-reveal,
  .reveal,
  .slide-title,
  .service-enter {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-glow--a,
  .hero-glow--b {
    animation: none !important;
  }

  .plate-trace {
    display: none;
  }

  .hero-tiles {
    transform: none !important;
  }

  .cta-band-glow {
    opacity: 0.55;
    transform: none;
    transition: none;
  }

  .site-nav,
  .nav-toggle-bar,
  .site-header,
  a,
  .btn,
  .service-card,
  .service-card::before,
  .service-index,
  .leader-cv li,
  .meaning-grid li {
    transition: none;
  }

  .service-card:hover,
  .service-enter.is-visible:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-ghost:hover,
  .btn-primary--light:hover {
    transform: none;
  }

  .leader-cv li:hover {
    padding-left: 0;
  }

  .leader-photo {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .leader-photo img {
    transform: none;
    transition: none;
    filter: grayscale(0) saturate(0.92) sepia(0.06) contrast(1.02) brightness(1);
  }
}

/* Phones only: lighter vignette so the larger, left-weighted plates stay visible;
   the bottom fade still keeps the headline readable. */
@media (max-width: 499px) {
  .hero-tiles-vignette {
    background: radial-gradient(
      ellipse 90% 60% at 40% 30%,
      rgba(7, 7, 8, 0) 0%,
      rgba(7, 7, 8, 0.12) 60%,
      rgba(7, 7, 8, 0.4) 100%
    );
  }
  .hero-tiles-fade {
    background: linear-gradient(
      to top,
      rgba(7, 7, 8, 0.98) 0%,
      rgba(7, 7, 8, 0.82) 30%,
      rgba(7, 7, 8, 0.2) 50%,
      transparent 60%
    );
  }
}
