/* =========================================================
   NEIMARI — shared stylesheet
   Premium dark architectural identity
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Default palette: Charcoal + warm bronze */
  --bg:        #0d0d0d;
  --bg-deep:   #070707;
  --surface:   #161616;
  --surface-2: #1f1f1f;
  --line:      rgba(244, 241, 234, 0.10);
  --line-strong: rgba(244, 241, 234, 0.22);
  --fg:        #f4f1ea;
  --fg-mute:   rgba(244, 241, 234, 0.62);
  --fg-soft:   rgba(244, 241, 234, 0.42);
  --accent:    #b8a07a;
  --accent-2:  #d4b896;

  /* Type */
  --font-display: "Archivo", "Archivo Narrow", -apple-system, sans-serif;
  --font-body:    "DM Sans", -apple-system, sans-serif;
  --font-serif:   "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Geometry */
  --pad-x: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 11vw, 160px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Palette: Steel — cooler, more corporate */
body[data-palette="steel"] {
  --bg:        #13181c;
  --bg-deep:   #0b0f12;
  --surface:   #1a2026;
  --surface-2: #232a31;
  --line:      rgba(232, 232, 232, 0.10);
  --line-strong: rgba(232, 232, 232, 0.22);
  --fg:        #e8e8e8;
  --fg-mute:   rgba(232, 232, 232, 0.62);
  --fg-soft:   rgba(232, 232, 232, 0.42);
  --accent:    #9aa0a6;
  --accent-2:  #c7ccd1;
}

/* Palette: Bronze — warmer, earthy */
body[data-palette="bronze"] {
  --bg:        #1a1815;
  --bg-deep:   #11100e;
  --surface:   #22201c;
  --surface-2: #2d2924;
  --line:      rgba(237, 231, 217, 0.10);
  --line-strong: rgba(237, 231, 217, 0.22);
  --fg:        #ede7d9;
  --fg-mute:   rgba(237, 231, 217, 0.62);
  --fg-soft:   rgba(237, 231, 217, 0.42);
  --accent:    #b89466;
  --accent-2:  #d4b48a;
}

/* Palette: Onyx — pure black, max contrast */
body[data-palette="onyx"] {
  --bg:        #0a0a0a;
  --bg-deep:   #000000;
  --surface:   #121212;
  --surface-2: #1c1c1c;
  --line:      rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.22);
  --fg:        #ffffff;
  --fg-mute:   rgba(255, 255, 255, 0.60);
  --fg-soft:   rgba(255, 255, 255, 0.38);
  --accent:    #c9c2b4;
  --accent-2:  #e7e1d4;
}

/* Display font swap: serif */
body[data-display="serif"] {
  --font-display: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
  cursor: none;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; cursor: none; }

/* On touch / coarse pointers we restore default cursor */
@media (hover: none) {
  body, button, a, input, textarea { cursor: auto; }
}

/* ---------- Layout helpers ---------- */
.container {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  max-width: 100%;
}
.container-wide { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Typography ---------- */
.t-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
body[data-display="serif"] .t-display {
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
  line-height: 1.02;
}

.t-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 500;
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.t-body { color: var(--fg-mute); line-height: 1.65; font-size: 15px; }
.t-lead { color: var(--fg); font-size: 19px; line-height: 1.55; font-weight: 400; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s, opacity 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(244, 241, 234, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.3s, opacity 0.2s;
}
body.cursor-hover .cursor { width: 4px; height: 4px; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--accent); }
body.cursor-press .cursor-ring { width: 24px; height: 24px; }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), backdrop-filter 0.35s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.35s;
}
.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled::before { opacity: 0; }

.brand {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.brand-mark {
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  position: relative;
  z-index: 2;
}
.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 34px;
}
.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 0;
  display: inline-block;
  position: relative;
}
.nav-link::after {
  /* Mace-style underline animation */
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--accent); }

/* Schmitt-style hover dropdown */
.nav-item.has-menu .nav-link::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-right: 8px;
  opacity: 0.5;
  transition: transform 0.3s var(--ease);
}
.nav-item.has-menu:hover .nav-link::before { transform: translateY(0) rotate(45deg); opacity: 1;}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -22px;
  min-width: 260px;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  margin-top: 8px;
}
.nav-item.has-menu:hover .nav-dropdown,
.nav-item.has-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 11px 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: var(--fg-mute);
  position: relative;
  transition: color 0.3s, padding-left 0.4s var(--ease-out);
}
.nav-dropdown a::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav-dropdown a:hover {
  color: var(--accent);
  padding-left: 40px;
}
.nav-dropdown a:hover::before { width: 12px; }
.nav-dropdown small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-soft);
  margin-top: 3px;
  font-weight: 400;
}

.nav-aux {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.lang-toggle {
  display: flex;
  gap: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
}
.lang-toggle button {
  padding: 6px 10px;
  color: var(--fg-mute);
  transition: background 0.3s, color 0.3s;
}
.lang-toggle button.is-active {
  background: var(--fg);
  color: var(--bg);
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg);
  transition: color 0.3s;
}
.phone-link:hover { color: var(--accent); }
.phone-link svg { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 28px;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--bg); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn .arrow {
  width: 16px; height: 9px;
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(6px); }

/* Magnetic anchor link (text + arrow) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding: 6px 0;
}
.text-link .line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.5s var(--ease-out);
}
.text-link:hover .line { width: 52px; }
.text-link .line::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-pad { padding: var(--section-y) var(--pad-x); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: clamp(48px, 7vw, 96px);
  align-items: end;
}
.section-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fg-soft);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.section-num::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.96;
  text-transform: uppercase;
  margin: 0;
}
body[data-display="serif"] .section-title {
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: none;
  line-height: 1.0;
  font-style: italic;
}
.section-title .accent { color: var(--accent); }
.section-title .muted { color: var(--fg-soft); }

/* Reveal animation primitives */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-soft { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.reveal-soft.in { opacity: 1; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.split-word.in > span { transform: translateY(0); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  padding: 100px var(--pad-x) 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin: 0 0 22px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: var(--fg-mute); font-size: 14px; transition: color 0.3s, padding-left 0.4s var(--ease-out); display: inline-block; }
.footer-grid a:hover { color: var(--accent); padding-left: 8px; }
.footer-grid p { color: var(--fg-mute); font-size: 14px; line-height: 1.7; margin: 0; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-soft);
  letter-spacing: 0.08em;
}
.footer-monogram {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 18vw, 240px);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  line-height: 0.8;
  margin-top: 80px;
  text-transform: uppercase;
  overflow: hidden;
}

/* ---------- Tweaks panel chrome ---------- */
#tweaks-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  font-family: var(--font-body);
}
#tweaks-root .tweak-toggle {
  display: none; /* shown only when host toolbar is off — handled by JS */
}
.tweaks-panel {
  width: 280px;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 18px;
  display: none;
  cursor: auto;
}
.tweaks-panel.open { display: block; }
.tweaks-panel * { cursor: auto; }
.tweaks-panel h3 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--fg);
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel h3 button {
  font-size: 16px;
  line-height: 1;
  color: var(--fg-mute);
}
.tweak-group {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.tweak-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.tweak-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 10px;
}
.swatch-row { display: flex; gap: 8px; }
.swatch {
  flex: 1;
  height: 36px;
  border: 1px solid var(--line-strong);
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
}
.swatch.active { outline: 1px solid var(--accent); outline-offset: 2px; }
.swatch span { display: block; }
.font-row { display: flex; gap: 8px; }
.font-pill {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line-strong);
  text-align: center;
  font-size: 14px;
}
.font-pill.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.font-pill.serif { font-family: var(--font-serif); font-style: italic; }
.font-pill.sans { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }

/* ---------- Page transitions ---------- */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 9500;
  pointer-events: none;
  transform-origin: top;
  transform: scaleY(0);
}
.page-curtain.opening { animation: curtain-out 0.7s var(--ease) forwards; }
.page-curtain.closing { animation: curtain-in 0.6s var(--ease) forwards; }
@keyframes curtain-in { from { transform: scaleY(0); transform-origin: bottom;} to { transform: scaleY(1); transform-origin: bottom;} }
@keyframes curtain-out { from { transform: scaleY(1); transform-origin: top;} to { transform: scaleY(0); transform-origin: top;} }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 7, 7, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px var(--pad-x) 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
body.nav-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
}
.mobile-overlay .mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-overlay .mobile-nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 8vw, 48px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 12px 0;
  display: block;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
body.nav-open .mobile-overlay .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
body.nav-open .mobile-overlay li:nth-child(1) .mobile-nav-link { transition-delay: 0.1s; }
body.nav-open .mobile-overlay li:nth-child(2) .mobile-nav-link { transition-delay: 0.18s; }
body.nav-open .mobile-overlay li:nth-child(3) .mobile-nav-link { transition-delay: 0.26s; }
body.nav-open .mobile-overlay li:nth-child(4) .mobile-nav-link { transition-delay: 0.34s; }
.mobile-overlay .mobile-nav-link.is-active { color: var(--accent); }
.mobile-overlay .mobile-nav-link:hover { color: var(--accent); }

.mobile-overlay .mobile-sub {
  list-style: none;
  margin: 0; padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mobile-overlay .mobile-sub a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 6px 0;
  transition: color 0.3s;
}
.mobile-overlay .mobile-sub a:hover { color: var(--accent); }

.mobile-overlay .mobile-footer {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mobile-overlay .mobile-footer .phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg);
}
.mobile-overlay .mobile-footer .phone-link svg { width: 14px; height: 14px; }
.mobile-overlay .mobile-footer .lang-toggle {
  display: flex;
  gap: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
}
.mobile-overlay .mobile-footer .lang-toggle button {
  padding: 8px 14px;
  color: var(--fg-mute);
  transition: background 0.3s, color 0.3s;
}
.mobile-overlay .mobile-footer .lang-toggle button.is-active {
  background: var(--fg);
  color: var(--bg);
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-aux { display: none; }
  .nav-toggle { display: flex; }

  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-monogram { font-size: clamp(60px, 14vw, 160px); }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 600px) {
  :root {
    --pad-x: 20px;
    --section-y: clamp(60px, 10vw, 100px);
  }

  .site-header {
    padding: 16px var(--pad-x);
  }
  .site-header.is-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-mark { height: 26px; }

  .section-title { font-size: clamp(28px, 9vw, 48px); }
  .t-lead { font-size: 16px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { flex-direction: column; gap: 8px; text-align: center; }
  .footer-monogram { font-size: clamp(48px, 16vw, 100px); margin-top: 48px; }

  .btn { padding: 16px 22px; font-size: 11px; letter-spacing: 0.18em; }
  .text-link { font-size: 11px; }
}
