/* ============================================================
   RESONET — Boutique admissions, gallery aesthetic
   ============================================================ */

:root {
  /* Refined black/bone — boutique editorial */
  --ivory: #F5F2EB;            /* warm bone — primary bg */
  --ivory-2: #E8E2D4;          /* one tone deeper paper */
  --charcoal: #1A1817;         /* off-black, warm */
  --charcoal-2: #2E2A26;       /* richer dark */
  --gold: #806542;             /* subtle bronze accent */
  --gold-soft: #9B7E58;
  --taupe: #7A726A;            /* warm gray */
  --taupe-2: #A39B91;
  --line: rgba(26, 24, 23, 0.16);
  --line-soft: rgba(26, 24, 23, 0.08);
  --line-on-dark: rgba(245, 242, 235, 0.18);

  --font-serif: "Cormorant Garamond", "EB Garamond", "Playfair Display", ui-serif, Georgia, serif;
  --font-sans: "Inter", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-han: "Pretendard", "Inter", system-ui, sans-serif;

  --max-w: 1440px;
  --gutter: clamp(24px, 5vw, 80px);
}

[data-variant="dark"] {
  --ivory: #161614;
  --ivory-2: #1F1F1C;
  --charcoal: #FAF8F4;
  --charcoal-2: #E5E0D6;
  --line: rgba(250, 248, 244, 0.14);
  --line-soft: rgba(250, 248, 244, 0.08);
}
[data-variant="bronze"] {
  --gold: #9C6B3D;
  --gold-soft: #B58A5F;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Type
   ============================================================ */
.serif {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.serif em {
  font-style: italic;
  font-weight: 300;
}
.han {
  font-family: var(--font-han);
  font-weight: 300;
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
}
.section-index {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-index::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Section tonal layering for boutique rhythm */
.section {
  padding: clamp(96px, 14vw, 200px) 0;
  position: relative;
}
.section--paper-soft { background: #F0EDE5; }      /* Consulting */
.section--paper-warm { background: #E8E2D4; }      /* Haus (kept) */
.section--paper-deep { background: #D9D2C2; }      /* Team alt */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 80px;
  max-width: 1100px;
}
.section-head .h2 {
  font-size: clamp(36px, 5.6vw, 88px);
  margin: 6px 0 0;
  max-width: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
  color: #1A1817;
}
.section-head .h2 em { color: #2E2A26; }
.divider {
  height: 1px;
  background: var(--line);
}
.divider--gold { background: var(--gold); height: 1px; }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 26px 0;
  transition: padding 0.6s ease, background 0.6s ease, backdrop-filter 0.6s ease, border-color 0.6s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: color-mix(in oklab, var(--ivory) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 12px;
}
.nav-links {
  display: flex;
  gap: 0;
  margin-right: auto;
}
.nav-link {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--charcoal);
  padding: 10px 12px;
  position: relative;
  transition: color 0.5s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  transition: background 0.6s ease, color 0.6s ease, border-color 0.6s ease;
}
.nav-cta:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 180px 0 80px;
}
.hero-stamp {
  position: absolute;
  top: 110px;
  right: clamp(28px, 5vw, 80px);
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.5;
  z-index: 5;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.hero-grid .hero-eyebrow { margin-bottom: 6px; }
.hero-grid .hero-headline { margin-bottom: 4px; }
.hero-grid .hero-sub { margin-top: 0; margin-bottom: 18px; }
.hero-grid .hero-bottom { margin-top: 8px; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s forwards;
}
.hero-eyebrow .line {
  width: 56px;
  height: 1px;
  background: var(--gold);
}
.hero-headline {
  /* Scale to fit one line: ~28 chars at 0.5em width \u2248 14em.
     6.4vw at 1440px viewport \u2248 92px \u2248 fills available width nicely. */
  font-size: clamp(28px, 6.4vw, 116px);
  margin: 0;
  max-width: none;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
  word-spacing: normal;
  color: #1A1817;
}
.hero-headline em { color: #2E2A26; font-style: italic; }
.hero-headline .word-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.hero-headline .word-line > span.hl-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordUp 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
.hero-headline .word-line > span.hl-gap {
  display: inline-block;
  width: 0.32em;
}
@keyframes wordUp {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--taupe);
  margin: 36px 0 0;
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 1s forwards;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-top: 96px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
}

.hero-lede {
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-2);
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.2s forwards;
}
.hero-lede strong { color: var(--charcoal); font-weight: 500; }

.hero-ctas {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s forwards;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-text {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 14px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid transparent;
  transition: color 0.5s ease, border-color 0.5s ease, gap 0.5s ease;
}
.btn-primary {
  color: var(--charcoal);
  border-bottom-color: var(--gold);
}
.btn-primary:hover {
  color: var(--gold);
  gap: 18px;
  border-bottom-color: var(--gold);
}
.btn-primary .arr,
.btn-text .arr { font-family: var(--font-sans); font-weight: 300; }

.btn-text {
  color: var(--taupe);
  border-bottom-color: transparent;
}
.btn-text:hover {
  color: var(--charcoal);
  gap: 14px;
  border-bottom-color: var(--charcoal);
}
.hero-ctas { align-items: baseline; }

.hero-index {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--taupe);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1.1s ease 1.6s forwards;
}
.hero-index .ln { width: 1px; height: 48px; background: var(--gold); }

@media (max-width: 1100px) {
  .hero-index { display: none; }
}

/* ---- SectionIndicator: fixed vertical rail (right side) ---- */
.section-indicator {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  opacity: 0;
  animation: fadeUp 1.1s ease 1.6s forwards;
  padding: 10px 4px;
  background: transparent;
}
.si-index {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--taupe);
  font-feature-settings: "tnum" 1;
  transition: color 0.6s ease;
}
.si-line {
  width: 1px;
  height: 44px;
  background: var(--gold);
  transition: background 0.6s ease, height 0.6s ease;
}
.si-title {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.6s ease, opacity 0.6s ease;
  /* Smooth crossfade when title changes */
  animation: siTitleIn 0.6s ease;
}
/* Inverted colors when over dark section */
.section-indicator.is-dark .si-title { color: var(--ivory); }
.section-indicator.is-dark .si-index { color: rgba(245, 242, 235, 0.55); }
.section-indicator.is-dark .si-line { background: var(--gold-soft); }
@keyframes siTitleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1280px) {
  .section-indicator { display: none; }
}

/* ============================================================
   Marquee — quiet
   ============================================================ */
.quiet-marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
  overflow: hidden;
}
.qm-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: scrollX 60s linear infinite;
  width: max-content;
}
.qm-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 80px;
  letter-spacing: -0.005em;
}
.qm-item .sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
}
.about-h {
  font-size: clamp(36px, 5.4vw, 80px);
  max-width: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
}
.about-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal-2);
  margin: 0 0 28px;
  max-width: 56ch;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong { color: var(--charcoal); font-weight: 500; }

.values {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.value {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.value-num {
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--gold);
  font-family: var(--font-sans);
}
.value-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: #1A1817;
}
.value-desc {
  font-size: 13px;
  color: var(--taupe);
  max-width: 28ch;
  text-align: right;
  line-height: 1.55;
}
@media (max-width: 700px) {
  .value { grid-template-columns: auto 1fr; }
  .value-desc { grid-column: 1 / -1; text-align: left; padding-left: 26px; }
}

/* ============================================================
   CONSULTING — service cards
   ============================================================ */
.services-rail {
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: auto 1.4fr 1.6fr auto;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.6s ease, padding 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.service:hover { padding: 64px 0; }
.service:hover .service-name { color: var(--gold); }
.service:hover .service-arrow { gap: 16px; color: var(--gold); }
.service-tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  padding-top: 12px;
}
.service-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  transition: color 0.5s ease;
}
.service-name em { font-style: italic; }
.service-name .small {
  display: block;
  font-size: 0.5em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--taupe);
  margin-top: 14px;
}
.service-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal-2);
  max-width: 48ch;
}
.service-body ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--taupe);
}
.service-body ul li {
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.service-body ul li:first-child { border-top: 0; }
.service-body ul li .k { color: var(--charcoal-2); }

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--charcoal);
  align-self: end;
  padding-bottom: 4px;
  transition: gap 0.5s ease, color 0.5s ease;
}

@media (max-width: 1024px) {
  .service { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .service:hover { padding: 44px 0; }
  .service-arrow { align-self: start; }
}

/* ============================================================
   HAUS — divisions
   ============================================================ */
.haus {
  background: #E8E2D4;
  position: relative;
}
.haus::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.haus-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 36px);
  color: var(--taupe);
  margin-top: 24px;
  letter-spacing: -0.005em;
}
.haus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 96px;
  margin-top: 64px;
}
@media (max-width: 900px) { .haus-grid { grid-template-columns: 1fr; gap: 32px; } }

.haus-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal-2);
  max-width: 44ch;
}
.haus-intro strong { color: var(--charcoal); font-weight: 500; }

.divisions {
  border-top: 1px solid var(--line);
}
.division {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.5s ease;
}
.division:hover { padding: 36px 0; }
.division:hover .division-name { color: var(--gold); letter-spacing: 0.005em; }
.division-num {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.division-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(26px, 2.8vw, 36px);
  margin: 0;
  letter-spacing: -0.01em;
  transition: color 0.5s ease, letter-spacing 0.5s ease;
}
.division-name em { font-style: italic; }
.division-desc {
  font-size: 13px;
  color: var(--taupe);
  margin-top: 8px;
  max-width: 38ch;
  line-height: 1.6;
}
.division-arr {
  font-size: 16px;
  color: var(--taupe);
  transition: color 0.5s ease, transform 0.5s ease;
}
.division:hover .division-arr { color: var(--gold); transform: translateX(6px); }

.haus-cta {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.haus-cta-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--charcoal);
  max-width: 50ch;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 32px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.member-portrait {
  position: relative;
  aspect-ratio: 4 / 5.4;
  background: #14110F;
  overflow: hidden;
  margin-bottom: 24px;
}
.member-portrait .ph {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, #2A2522 0%, #14110F 55%, #0A0807 100%);
  transition: opacity 0.7s ease;
}
.member-portrait .initials {
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: auto;
  font-size: 44px;
  bottom: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 88px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
  letter-spacing: -0.02em;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease;
}
.member:hover .initials { transform: translateY(-6px); opacity: 0.18; }
.member-portrait .grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Quote overlay \u2014 fades in centered on hover */
.member-portrait .quote {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s, transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
  pointer-events: none;
  text-wrap: balance;
}
.member:hover .quote { opacity: 0.96; transform: none; }

.member-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.01em;
}
.member-name em { font-style: italic; }
.member-role {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 8px 0 12px;
}
.member-bio {
  font-size: 14px;
  color: var(--taupe);
  line-height: 1.6;
  max-width: 36ch;
}

/* ============================================================
   CTA Footer (dark)
   ============================================================ */
.cta-dark {
  background: #0F0D0B;
  color: var(--ivory);
  padding: clamp(120px, 16vw, 220px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark .ornament {
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--gold);
}
.cta-dark .eyebrow { color: var(--gold-soft); }
.cta-h {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 104px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 32px 0 24px;
  max-width: none;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}
.cta-h em { font-style: italic; }
.cta-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--taupe-2);
  max-width: none;
  margin: 0 auto 56px;
  line-height: 1.5;
  text-wrap: balance;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 48px;
  border: 1px solid var(--gold);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background 0.6s ease, color 0.6s ease, gap 0.6s ease;
}
.cta-button:hover { background: var(--ivory); color: #0F0D0B; border-color: var(--ivory); gap: 22px; }

.cta-mark {
  margin-top: 80px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--taupe-2);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--taupe);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-brand { font-size: 15px; }
  .foot-brand small {
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
    font-size: 11px;
    letter-spacing: 0.06em;
    line-height: 1.7;
  }
  .foot-contact {
    font-size: 13px;
    line-height: 1.7;
  }
  .site-footer { padding: 56px 0 40px; }
}

@media (max-width: 700px) {
  .landing-mode .foot-grid { grid-template-columns: 1fr; }
}
.foot-brand { font-family: var(--font-serif); font-size: 16px; letter-spacing: 0.18em; color: var(--charcoal); text-transform: uppercase; }
.foot-brand small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-han);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.8;
  color: var(--taupe);
  text-transform: none;
}
.foot-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.foot-links a:hover { color: var(--charcoal); }
.foot-contact {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.8;
}
@media (max-width: 700px) { .foot-contact { text-align: left; } }

.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--taupe);
}
.foot-base .resonance {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: none;
}
@media (max-width: 700px) {
  .foot-base { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — tablet / mobile refinements
   ============================================================ */

/* Tablet — relax headline nowrap so they can wrap if needed */
@media (max-width: 900px) {
  .hero-headline {
    white-space: normal;
    font-size: clamp(40px, 9vw, 76px);
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .hero-headline .word-line { white-space: normal; }
  .section-head .h2,
  .about-h,
  .cta-h {
    white-space: normal;
    font-size: clamp(34px, 7vw, 64px);
    line-height: 1.05;
  }
  .section { padding: clamp(80px, 14vw, 140px) 0; }
}

/* Mobile — collapse nav, tighten gutters, single-column everything */
@media (max-width: 720px) {
  .nav { padding: calc(14px + env(safe-area-inset-top, 24px)) 0 14px; }
  .nav-inner {
    grid-template-columns: auto auto;
    gap: 16px;
  }
  .nav-links { display: none; }
  .nav-cta {
    padding: 9px 14px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .nav-brand { font-size: 17px; letter-spacing: 0.32em; }

  .hero-headline {
    font-size: clamp(36px, 11vw, 56px);
  }
  .hero-sub { font-size: 22px; }
  .hero-eyebrow .eyebrow { font-size: 10px; letter-spacing: 0.22em; white-space: nowrap; }
  .hero-bottom { gap: 28px; }
  .hero-ctas { gap: 18px; flex-wrap: wrap; }

  .section-index { font-size: 11px; }
  .about-h, .section-head .h2 { font-size: clamp(32px, 9vw, 52px); }

  .value-name { font-size: 22px; }
  .service-title { font-size: 26px; }
  .service-desc { font-size: 14px; }

  .haus-divisions .division { padding: 24px 0; }
  .division-title { font-size: 22px; }

  .team-grid { gap: 48px 0; }
  .member-portrait .initials { font-size: 64px; left: 18px; bottom: 18px; }
  .member-portrait .quote { font-size: 16px; padding: 24px 18px; }
  .member-name { font-size: 24px; }

  .cta-h2 { font-size: clamp(36px, 9vw, 56px); }
  .cta-sub { font-size: 16px; }
  .cta-button { padding: 14px 22px; font-size: 11px; }
}

/* Tiny phones */
@media (max-width: 380px) {
  .hero-headline { font-size: 34px; }
  .nav-cta { padding: 8px 12px; font-size: 9.5px; }
}


/* ============================================================
   ABOUT SECTION → DEEPER LINK (메인에서 /about으로 이동)
   ============================================================ */
.about-deeper {
  display: block;
  margin-top: 72px;
  text-decoration: none;
  color: var(--charcoal);
}
.about-deeper-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 28px;
}
.about-deeper-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.5s ease, border-color 0.5s ease, gap 0.5s ease;
}
.about-deeper:hover .about-deeper-text {
  color: var(--gold);
  border-bottom-color: var(--gold);
  gap: 22px;
}
.about-deeper-text .arr {
  font-family: var(--font-sans);
  font-weight: 300;
  transition: transform 0.5s ease;
}
.about-deeper:hover .about-deeper-text .arr {
  transform: translateX(4px);
}

/* ============================================================
   /ABOUT PAGE
   ============================================================ */
.about-page {
  background: var(--ivory);
  color: var(--charcoal);
}

/* Page Opening */
.ap-opening {
  padding: 200px 0 140px;
  position: relative;
}
.ap-kicker {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 64px;
}
.ap-opening .ap-kicker { margin-bottom: 80px; }
.ap-headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  max-width: 22ch;
  margin: 0 0 36px;
  color: var(--charcoal);
}
.ap-headline em {
  font-style: italic;
  color: var(--gold);
}
.ap-headline-ko {
  font-family: var(--font-han);
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--charcoal);
  opacity: 0.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 30ch;
  margin: 0 0 72px;
}
.ap-subline {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.5;
}
.ap-rule {
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  border: 0;
  margin: 0;
}

/* Mission / Principles section shells */
.ap-section {
  padding: 140px 0;
  position: relative;
}
.ap-section .ap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.4fr);
  gap: 80px;
}
@media (max-width: 1100px) {
  .ap-section .ap-grid { grid-template-columns: 1fr; gap: 0; }
}
.ap-en {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 38em;
}
.ap-en em {
  font-style: italic;
  color: var(--gold);
}
.ap-divider {
  width: 96px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 56px 0;
  border: 0;
}
.ap-ko {
  font-family: var(--font-han);
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.85;
  color: var(--charcoal);
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 38em;
}
.ap-ko p { margin: 0 0 18px; }
.ap-ko p:last-child { margin: 0; }

/* Principles — interleaved English + Korean per item */
.ap-charter-intro {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.5;
  color: var(--charcoal);
  opacity: 0.7;
  margin: 0 0 48px;
  max-width: 38em;
}
.ap-charter-list {
  list-style: none;
  padding-left: 44px;
  margin: 0;
  counter-reset: charter;
  max-width: 38em;
}
.ap-charter-list > li {
  position: relative;
  margin: 0 0 56px;
  padding: 0;
  counter-increment: charter;
}
.ap-charter-list > li:last-child { margin-bottom: 0; }
.ap-charter-list > li::before {
  content: counter(charter, lower-roman) ".";
  position: absolute;
  left: -44px;
  top: 0.05em;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1em;
  letter-spacing: 0.05em;
  width: 30px;
  text-align: right;
}
.ap-charter-en {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0 0 18px;
}
.ap-charter-en em {
  font-style: italic;
  color: var(--gold);
}
.ap-charter-ko {
  border-left: 1px solid var(--gold);
  padding-left: 18px;
  margin-top: 14px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.ap-charter-koH {
  font-family: var(--font-han);
  font-weight: 600;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0 0 6px;
  word-break: keep-all;
}
.ap-charter-koP {
  font-family: var(--font-han);
  font-weight: 300;
  font-size: clamp(14px, 0.95vw, 15.5px);
  line-height: 1.7;
  color: var(--charcoal);
  opacity: 0.72;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 720px) {
  .ap-charter-list { padding-left: 30px; }
  .ap-charter-list > li::before { left: -30px; width: 22px; }
  .ap-charter-list > li { margin-bottom: 44px; }
}

/* Right-rail label per /about section */
.ap-rail {
  position: sticky;
  top: 220px;
  align-self: start;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.55;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}
.ap-rail .ln { width: 1px; height: 56px; background: var(--gold); opacity: 0.6; }
@media (max-width: 1100px) {
  .ap-rail { display: none; }
}

/* Motto — closing */
.ap-motto {
  padding: 180px 0 220px;
  text-align: left;
}
.ap-motto .ap-kicker {
  margin-bottom: 72px;
}
.ap-motto-latin {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--charcoal);
  margin: 0 0 40px;
}
.ap-motto-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--charcoal);
  opacity: 0.7;
  margin: 0 0 28px;
}
.ap-motto-ko {
  font-family: var(--font-han);
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.6;
  word-break: keep-all;
}

@media (max-width: 720px) {
  .ap-opening { padding: 160px 0 100px; }
  .ap-section { padding: 100px 0; }
  .ap-motto { padding: 140px 0 180px; }
  .ap-divider { margin: 40px 0; }
  .ap-charter ol { padding-left: 28px; }
  .ap-charter li::before { left: -28px; }
}


/* ============================================================
   LANDING MODE — Hero only, no nav/sections
   ============================================================ */
.landing-mode { min-height: 100vh; display: flex; flex-direction: column; }
.landing-mode .hero {
  min-height: 100vh;
  padding-top: 0;
  display: flex;
  align-items: center;
}
.landing-mode .hero > .container { width: 100%; }

/* ============================================================
   D-DAY COUNTER — minimal, centered
   ============================================================ */
.dday-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 0;
}
.dday {
  width: 100%;
  max-width: 640px;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Eyebrow with flanking lines */
.dday-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 56px;
}
.dday-eyebrow-row .dday-line {
  flex: 0 0 56px;
  height: 1px;
  background: var(--gold);
}
.dday-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.55;
  white-space: nowrap;
}

/* Big "D−047" — single hero number */
.dday-days {
  display: inline-flex;
  align-items: baseline;
  gap: 0.04em;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 0.9;
  margin-bottom: 36px;
}
.dday-days-prefix {
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--gold);
  opacity: 0.85;
  margin-right: 0.06em;
}
.dday-days-num {
  font-size: clamp(54px, 6.8vw, 92px);
  color: var(--charcoal);
}

/* Hours : Min : Sec — slim, monospaced row */
.dday-hms {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
  margin-bottom: 36px;
}
.dday-hms-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 56px;
}
.dday-hms-num {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.dday-hms-cap {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.5;
}
.dday-hms-sep {
  color: var(--gold);
  opacity: 0.5;
  font-size: clamp(20px, 2.2vw, 26px);
  align-self: flex-start;
  margin-top: 2px;
}

.dday-foot {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.45;
  word-break: keep-all;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .dday-eyebrow-row .dday-line { flex-basis: 32px; }
  .dday-eyebrow { font-size: 9px; letter-spacing: 0.36em; }
  .dday-hms { gap: 12px; }
}

.hero-lede strong {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: 1.18em;
  letter-spacing: -0.005em;
  color: var(--charcoal);
}

/* Hero in landing mode — auto-height, top of page */
.landing-mode { min-height: 100vh; display: flex; flex-direction: column; }
.landing-mode .hero {
  min-height: 0;
  padding-top: 120px;
  padding-bottom: 40px;
  display: block;
}
.landing-mode .hero > .container { width: 100%; }


/* Minimal nav — logo only (landing) */
.nav.is-minimal .nav-inner { grid-template-columns: 1fr; justify-items: center; }
.nav.is-minimal .nav-brand { letter-spacing: 0.06em; }

/* Landing footer — 2-col instead of 3, baseline-bottom alignment */
.landing-mode .foot-grid {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.landing-mode .foot-grid > div { display: flex; flex-direction: column; justify-content: flex-end; }

/* Medium widths — keep small from wrapping */
@media (max-width: 900px) {
  .landing-mode .foot-brand small {
    font-size: 11px;
    letter-spacing: 0.06em;
    max-width: 100%;
  }
  .landing-mode .foot-contact {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}


/* Hero eyebrow — fit on one line for mobile */
@media (max-width: 480px) {
  .hero-eyebrow .eyebrow {
    font-size: 9px;
    letter-spacing: 0.18em;
  }
  .hero-eyebrow .line { width: 32px; }
  .hero-eyebrow { gap: 12px; }
}
@media (max-width: 380px) {
  .hero-eyebrow .eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .hero-eyebrow .line { width: 24px; }
}
