/* ============================================
   The Style Notes — Shared Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700&family=Bellefair&family=Noto+Serif+KR:wght@300;400;500;600;700&family=Pretendard&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  /* Brand palette — warm-leaning Hermès/Apple hybrid */
  --bg: #F6F4EF;          /* warm off-white, slightly creamier than the brief's #F8F9FA */
  --bg-deep: #EFEAE0;     /* slightly deeper warm tone for layered sections */
  --paper: #FBFAF6;
  --ink: #1A1814;         /* near-black with brown undertone */
  --ink-soft: #4A453E;
  --ink-mute: #8B857A;
  --rule: #E8E2D4;
  --sub: #E5E1D6;
  --point: #1A237E;       /* deep navy from brief */
  --point-soft: #2C3899;
  --accent: #B8956A;      /* warm camel/cognac accent (Hermès-leaning) */

  /* Type */
  --serif: "Playfair Display", "Fraunces", "Noto Serif KR", "Times New Roman", serif;
  --serif-display: "Playfair Display", "Fraunces", "Bellefair", "Noto Serif KR", serif;
  --headline: "Playfair Display", "Fraunces", "Noto Serif KR", serif;
  --sans: "Inter", "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans-kr: "Pretendard", "Inter", -apple-system, sans-serif;

  /* Layout */
  --max: 1440px;
  --gutter: 6vw;
  --rail: clamp(28px, 4vw, 56px);
  --nav-h: 96px;
  --bar-h: 36px;
}

/* ===== Tweaks panel ===== */
.tsn-tweaks {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 320px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 48px -12px rgba(26,24,20,.18);
  font-family: var(--sans);
  z-index: 1000;
  transform: translateY(20px) scale(.96);
  opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
}
.tsn-tweaks.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.tsn-tweaks .tw-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--rule);
}
.tsn-tweaks .tw-title { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.tsn-tweaks .tw-close { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink-mute); line-height: 1; }
.tsn-tweaks .tw-close:hover { color: var(--ink); }
.tsn-tweaks .tw-section { padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.tsn-tweaks .tw-section-h { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; margin-bottom: 14px; }
.tsn-tweaks .tw-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.tsn-tweaks .tw-row:last-child { margin-bottom: 0; }
.tsn-tweaks .tw-lab { font-size: 12px; color: var(--ink-soft); display: flex; justify-content: space-between; }
.tsn-tweaks .tw-lab em { font-style: normal; color: var(--ink-mute); }
.tsn-tweaks .tw-swatches { display: flex; gap: 6px; }
.tsn-tweaks .tw-swatches button {
  width: 32px; height: 32px; border: 1px solid var(--rule); background: var(--c); cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.tsn-tweaks .tw-swatches button:hover { transform: scale(1.06); }
.tsn-tweaks .tw-swatches button.is-on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.tsn-tweaks .tw-radio { display: flex; gap: 4px; }
.tsn-tweaks .tw-radio button {
  flex: 1; padding: 8px 10px; font-size: 11px; letter-spacing: .1em;
  background: var(--bg); border: 1px solid var(--rule); cursor: pointer; font-family: var(--sans); font-weight: 600;
}
.tsn-tweaks .tw-radio button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tsn-tweaks input[type=range] { width: 100%; accent-color: var(--point); }
.tsn-tweaks .tw-toggle {
  width: 44px; height: 24px; border: 1px solid var(--rule); background: var(--bg); border-radius: 999px;
  position: relative; cursor: pointer;
}
.tsn-tweaks .tw-toggle::before { content: ''; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; background: var(--ink); border-radius: 50%; transition: left .25s; }
.tsn-tweaks .tw-toggle.is-on { background: var(--point); border-color: var(--point); }
.tsn-tweaks .tw-toggle.is-on::before { left: 22px; background: var(--paper); }
.tsn-tweaks .tw-foot { padding: 14px 20px; }
.tsn-tweaks .tw-reset {
  width: 100%; padding: 10px; background: transparent; border: 1px solid var(--rule);
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer; font-weight: 600;
}
.tsn-tweaks .tw-reset:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
[data-interaction="static"] *, [data-interaction="static"] *::before, [data-interaction="static"] *::after {
  animation-duration: .01ms !important; transition-duration: .01ms !important;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-kr);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--point); color: var(--bg); }

/* ============================================
   Subdomain Bar — minimal browser-chrome cue
   ============================================ */
.subdomain-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: var(--ink);
  color: rgba(246,244,239,.72);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  padding: 0 var(--rail);
  gap: 18px;
  z-index: 100;
  user-select: none;
}
.subdomain-bar .lock {
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  border-radius: 1px;
  position: relative;
  opacity: .6;
}
.subdomain-bar .lock::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}
.subdomain-bar .url {
  color: var(--bg);
  font-weight: 500;
  background: transparent;
  border: 1px solid rgba(246,244,239,.12);
  padding: 4px 10px;
  border-radius: 4px;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s;
}
.subdomain-bar .url:hover { background: rgba(246,244,239,.06); border-color: rgba(246,244,239,.22); }
.subdomain-bar .url .caret { font-size: 9px; opacity: .55; transition: transform .25s; }
.subdomain-bar.is-open .url .caret { transform: rotate(180deg); opacity: 1; }
.subdomain-bar .url .dim { color: rgba(246,244,239,.45); font-weight: 400; }
.subdomain-bar .sub-pop {
  position: absolute;
  top: calc(100% + 4px);
  left: 36px;
  min-width: 320px;
  background: rgba(26,24,20,.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246,244,239,.14);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .2s, transform .25s cubic-bezier(.2,.8,.2,1);
  z-index: 1001;
}
.subdomain-bar.is-open .sub-pop { opacity: 1; pointer-events: auto; transform: translateY(0); }
.subdomain-bar .sub-pop a {
  display: flex; align-items: center;
  padding: 8px 12px;
  font-family: var(--mono, "SF Mono", ui-monospace, monospace);
  font-size: 12px;
  color: var(--bg);
  border-radius: 3px;
  transition: background .15s;
}
.subdomain-bar .sub-pop a:hover { background: rgba(246,244,239,.08); }
.subdomain-bar .sub-pop a.is-current { background: rgba(184,149,106,.16); }
.subdomain-bar .sub-pop a .ds { color: rgba(246,244,239,.4); }
.subdomain-bar .sub-pop a .ss { color: var(--accent); font-weight: 600; padding: 0 1px; }
.subdomain-bar .meta { margin-left: auto; opacity: .5; }
.subdomain-bar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; display: inline-block; margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: livepulse 2.4s ease-out infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ============================================
   Top Nav
   ============================================ */
.tsn-nav {
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--rail);
  z-index: 90;
  transition: background-color .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.tsn-nav.is-scrolled {
  background: rgba(246,244,239,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--rule);
}
.tsn-nav.is-dark {
  color: var(--bg);
}
.tsn-nav.is-dark.is-scrolled {
  background: rgba(26,24,20,.72);
  border-bottom-color: rgba(255,255,255,.08);
}

.tsn-logo {
  font-family: var(--serif-display);
  font-weight: 400;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  grid-column: 2;
  justify-self: center;
}
.tsn-logo .lockup-img {
  height: 24px;
  width: auto;
  display: block;
}
.tsn-nav.is-dark .tsn-logo .lockup-img { filter: brightness(0) invert(1); }
.tsn-logo .lockup-tag {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--point);
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
}
.tsn-nav.is-dark .tsn-logo .lockup-tag { color: var(--accent); }

.tsn-nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--headline);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  grid-column: 1;
  justify-self: start;
}
.tsn-nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  transition: color .25s;
}
.tsn-nav.is-dark .tsn-nav-links a { color: var(--bg); }
.tsn-nav-links a:hover { color: var(--point); }
.tsn-nav.is-dark .tsn-nav-links a:hover { color: var(--accent); }
.tsn-nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--point);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.tsn-nav.is-dark .tsn-nav-links a::after { background: var(--accent); }
.tsn-nav-links a:hover::after { transform: scaleX(1); }
.tsn-nav-links a.is-current { color: var(--point); }
.tsn-nav.is-dark .tsn-nav-links a.is-current { color: var(--accent); }
.tsn-nav-links a.is-current::after { transform: scaleX(1); }

.tsn-nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  grid-column: 3;
  justify-self: end;
}
.tsn-nav-right .lang {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  opacity: .6;
  white-space: nowrap;
}
.tsn-nav-right .lang .on { opacity: 1; }
.tsn-nav-right .tsn-contact-btn {
  padding: 10px 20px;
  font-size: 10px;
  gap: 0;
}
.tsn-nav.is-dark .tsn-nav-right .tsn-contact-btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.tsn-nav.is-dark .tsn-nav-right .tsn-contact-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
@media (max-width: 1100px) {
  .tsn-nav-right .tsn-contact-btn { display: none; }
}
.tsn-nav-right .menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.tsn-nav-right .menu-btn .bars {
  display: flex; flex-direction: column; gap: 4px;
  width: 22px;
}
.tsn-nav-right .menu-btn .bars span {
  height: 1px; background: currentColor;
  transition: transform .3s, width .3s;
}
.tsn-nav-right .menu-btn .bars span:nth-child(2) { width: 14px; align-self: flex-end; }

@media (max-width: 1100px) {
  .tsn-nav-links { display: none; }
}

/* ============================================
   Full-screen menu overlay (Apple-like push)
   ============================================ */
.tsn-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.6,0,.2,1);
  overflow: hidden;
}
.tsn-menu.is-open {
  pointer-events: auto;
  opacity: 1;
}
.tsn-menu-inner {
  position: absolute;
  inset: 0;
  padding: calc(var(--bar-h) + var(--nav-h) + 40px) var(--rail) 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}
.tsn-menu-close {
  position: absolute;
  top: calc(var(--bar-h) + 22px);
  right: var(--rail);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,244,239,.7);
}
.tsn-menu-close svg { width: 14px; height: 14px; }

.tsn-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.6vw, 14px);
}
.tsn-menu-list li {
  overflow: hidden;
}
.tsn-menu-list a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  padding: 6px 0;
  transform: translateY(110%);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.tsn-menu.is-open .tsn-menu-list a {
  transform: translateY(0);
}
.tsn-menu-list li:nth-child(1) a { transition-delay: .08s; }
.tsn-menu-list li:nth-child(2) a { transition-delay: .14s; }
.tsn-menu-list li:nth-child(3) a { transition-delay: .20s; }
.tsn-menu-list li:nth-child(4) a { transition-delay: .26s; }
.tsn-menu-list li:nth-child(5) a { transition-delay: .32s; }
.tsn-menu-list li:nth-child(6) a { transition-delay: .38s; }
.tsn-menu-list li:nth-child(7) a { transition-delay: .44s; }

.tsn-menu-list a .num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: .35;
  font-style: normal;
  align-self: flex-start;
  padding-top: 12px;
  min-width: 30px;
}
.tsn-menu-list a .word {
  font-style: italic;
  position: relative;
  transition: color .3s;
}
.tsn-menu-list a:hover .word {
  color: var(--accent);
}
.tsn-menu-list a .ko {
  font-family: var(--sans-kr);
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: .4;
  align-self: flex-start;
  padding-top: 18px;
}

.tsn-menu-side {
  border-left: 1px solid rgba(246,244,239,.1);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .8s ease .35s, transform .8s ease .35s;
}
.tsn-menu.is-open .tsn-menu-side { opacity: 1; transform: translateX(0); }

.tsn-menu-side .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: .4;
  margin-bottom: 18px;
}
.tsn-menu-side .quote {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(246,244,239,.85);
  margin-bottom: 36px;
}
.tsn-menu-side .contact-grid {
  display: grid; gap: 22px;
  font-family: var(--sans);
  font-size: 13px;
}
.tsn-menu-side .contact-grid .k {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: .4; margin-bottom: 4px;
}
.tsn-menu-side .contact-grid .v { color: var(--bg); }

@media (max-width: 980px) {
  .tsn-menu-inner { grid-template-columns: 1fr; }
  .tsn-menu-side { display: none; }
}

/* ============================================
   Reusable type
   ============================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
}
.eyebrow .num {
  display: inline-block;
  margin-right: 14px;
  color: var(--ink);
}

.display {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 156px);
  line-height: .96;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; font-weight: 300; color: var(--accent); }

.h1 {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h1 em { font-style: italic; font-weight: 300; }

.h2 {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h2 em { font-style: italic; font-weight: 300; }

.lead {
  font-family: var(--sans-kr);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 60ch;
}

.body {
  font-family: var(--sans-kr);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 999px;
  transition: background .35s, color .35s, border-color .35s;
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn .arrow { transition: transform .35s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid {
  background: var(--ink);
  color: var(--bg);
}
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--ghost { border-color: var(--ink-mute); color: var(--ink-soft); }
.btn--inline {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 6px;
  letter-spacing: 0.2em;
  background: transparent;
}
.btn--inline:hover { background: transparent; color: var(--accent); }

/* ============================================
   Page reveal — fade + slide on entry
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }

/* Letter / line entrance for big hero type */
.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.split-line.is-in > span { transform: translateY(0); }
.split-line:nth-child(1) > span { transition-delay: .1s; }
.split-line:nth-child(2) > span { transition-delay: .22s; }
.split-line:nth-child(3) > span { transition-delay: .34s; }
.split-line:nth-child(4) > span { transition-delay: .46s; }

/* ============================================
   Footer
   ============================================ */
.tsn-foot {
  background: var(--ink);
  color: rgba(246,244,239,.7);
  padding: 100px var(--rail) 40px;
}
.tsn-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(246,244,239,.1);
}
.tsn-foot h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(246,244,239,.45);
  margin-bottom: 22px;
}
.tsn-foot ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.tsn-foot ul a:hover { color: var(--bg); }
.tsn-foot .brand .mark {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  color: var(--bg);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.tsn-foot .brand .sub {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,244,239,.45);
  margin-bottom: 28px;
}
.tsn-foot .brand p { font-size: 13px; line-height: 1.7; max-width: 32ch; margin-bottom: 24px; }
.tsn-foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(246,244,239,.4);
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .tsn-foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Page transition curtain
   ============================================ */
.tsn-curtain {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 300;
  transform: translateY(100%);
  pointer-events: none;
  transition: transform .8s cubic-bezier(.7,0,.2,1);
}
.tsn-curtain.is-rising { transform: translateY(0); }
.tsn-curtain.is-falling { transform: translateY(-100%); transition-duration: .9s; }

/* ============================================
   Tweaks anchoring
   ============================================ */
.has-tweaks { /* container queries handled per-page */ }

/* ============================================
   Utility
   ============================================ */
.rule { height: 1px; background: var(--rule); border: 0; }
.rule--dark { background: rgba(246,244,239,.12); }

.section { padding: clamp(80px, 12vh, 160px) var(--rail); }
.section--tight { padding: clamp(60px, 8vh, 100px) var(--rail); }

.container { max-width: var(--max); margin: 0 auto; }

.tsn-page-pad { padding-top: calc(var(--bar-h) + var(--nav-h)); }
