/* === Dima Studio — light / cream edition === */

:root {
  --cream-0: #f8f5ef;
  --cream-1: #f3efe7;
  --cream-2: #ebe6dc;
  --cream-3: #ddd6c8;
  --ink-0: #1a1812;
  --ink-1: #2b2720;
  --ink-2: #57514a;
  --ink-3: #8a8275;
  --ink-4: #b8b0a2;
  --accent: #7a6d4f;
  --accent-soft: #b5a580;
  --line: rgba(26, 24, 18, 0.10);
  --line-strong: rgba(26, 24, 18, 0.18);

  --serif: 'Instrument Serif', 'Fraunces', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream-0); color: var(--ink-0); }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01","cv11"; }
a { color: inherit; text-decoration: none; }

/* ================================================== */
/* V1 — TIDE                                          */
/* ================================================== */
.t-root { background: var(--cream-0); color: var(--ink-0); min-height: 100vh; }

.t-hero {
  position: relative;
  height: 100vh;
  min-height: 780px;
  overflow: hidden;
  isolation: isolate;
}
.t-shader { position: absolute; inset: 0; z-index: 0; }
.t-shader canvas { width: 100% !important; height: 100% !important; object-fit: cover; }
.t-shader-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(248,245,239,0.25) 0%, transparent 35%, transparent 65%, rgba(248,245,239,0.55) 100%);
}

.t-nav {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 48px;
}
.t-mark { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; font-weight: 400; }
.t-mark span { color: var(--accent); margin: 0 6px; font-style: italic; }
.t-nav-links { display: inline-flex; gap: 36px; justify-self: center; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-1); }
.t-nav-links a { transition: color .2s; }
.t-nav-links a:hover { color: var(--accent); }
.t-nav-cta { justify-self: end; font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: 999px; background: var(--ink-0); color: var(--cream-0); transition: transform .3s, background .3s; }
.t-nav-cta:hover { transform: translateY(-1px); background: var(--ink-1); }

.t-hero-inner {
  position: relative; z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10vh 48px 0;
  text-align: center;
}
.t-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-2);
  padding: 6px 14px;
  background: rgba(248, 245, 239, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}
.t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(107,95,74,0.5); animation: t-pulse 2.4s ease-in-out infinite; }
@keyframes t-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.t-title {
  font-family: var(--serif);
  font-size: clamp(56px, 8.5vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 32px;
  color: var(--ink-0);
  text-wrap: balance;
}
.t-title em { font-style: italic; color: var(--accent); }

.t-lede {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 44px;
}

.t-cta-row { display: inline-flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; }
.t-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  background: var(--ink-0);
  color: var(--cream-0);
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border-radius: 999px;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  position: relative; overflow: hidden;
}
.t-cta-primary::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s;
}
.t-cta-primary:hover::after { transform: translateX(100%); }
.t-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(26,24,18,0.35); }
.t-cta-primary span:last-child { transition: transform .3s; }
.t-cta-primary:hover span:last-child { transform: translateX(3px); }

.t-cta-ghost {
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-1);
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s, color .3s;
}
.t-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }

.t-hero-foot {
  position: absolute; left: 48px; right: 48px; bottom: 28px; z-index: 5;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}

/* Sections */
.t-section { padding: 140px 48px; max-width: 1280px; margin: 0 auto; }
.t-section-head { max-width: 880px; margin-bottom: 80px; }
.t-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; }
.t-section-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0 0 20px;
  text-wrap: balance;
}
.t-section-title em { font-style: italic; color: var(--accent); }
.t-section-sub { font-family: var(--sans); font-weight: 300; font-size: 19px; color: var(--ink-2); line-height: 1.5; max-width: 540px; margin: 0; }

/* Feat grid */
.t-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 72px; }
.t-feat {
  display: block;
  background: var(--cream-1);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.t-feat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(26,24,18,0.2); }
.t-feat-vis { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; margin-bottom: 28px; background: var(--cream-2); }
.t-feat-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(107,95,74,0.05) 0, rgba(107,95,74,0.05) 1px, transparent 1px, transparent 10px),
    linear-gradient(135deg, var(--cream-2), var(--cream-3));
}
.t-ph-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.t-feat-body { padding: 8px 12px 16px; }
.t-feat-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.t-feat-name { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 14px; }
.t-feat-desc { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0 0 24px; }
.t-feat-cta { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--accent); display: inline-flex; gap: 6px; }

.t-list { border-top: 1px solid var(--line-strong); }
.t-list-row {
  display: grid; grid-template-columns: 48px 200px 160px 1fr 30px;
  gap: 24px; padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .3s, background .3s;
}
.t-list-row:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(107,95,74,0.04), transparent 85%); }
.t-list-num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.t-list-name { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.015em; }
.t-list-class { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.t-list-desc { font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.t-list-arrow { color: var(--ink-3); transition: transform .3s, color .3s; text-align: right; }
.t-list-row:hover .t-list-arrow { color: var(--accent); transform: translateX(4px); }

/* Essays */
.t-essays { background: var(--cream-1); max-width: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.t-essays .t-section-head, .t-essays .t-essay-grid, .t-essays .t-archive-cta { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 48px; padding-right: 48px; }
.t-essay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.t-essay { background: var(--cream-1); padding: 44px; display: block; transition: background .3s; }
.t-essay:hover { background: var(--cream-0); }
.t-essay-date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; }
.t-essay-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 34px; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 16px; }
.t-essay-blurb { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 32px; }
.t-essay-read { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--accent); }

.t-archive-cta { text-align: center; padding: 64px 48px 0; }
.t-archive-cta a { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-1); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* Footer */
.t-foot { padding: 140px 48px 40px; max-width: 1280px; margin: 0 auto; }
.t-foot-big { font-family: var(--serif); font-size: clamp(52px, 7vw, 108px); line-height: 1.0; letter-spacing: -0.03em; font-weight: 400; margin-bottom: 80px; text-wrap: balance; }
.t-foot-big em { font-style: italic; color: var(--accent); }
.t-foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.t-foot-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.t-foot-grid a { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink-0); margin-bottom: 8px; transition: color .2s; }
.t-foot-grid a:hover { color: var(--accent); }
.t-foot-cta { display: inline-flex !important; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--ink-0); color: var(--cream-0) !important; font-family: var(--sans) !important; font-size: 15px !important; font-weight: 500; margin-bottom: 0 !important; transition: transform .3s; }
.t-foot-cta:hover { transform: translateY(-2px); color: var(--cream-0) !important; }
.t-foot-bottom { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }


/* ================================================== */
/* V2 — LENS                                          */
/* ================================================== */
.l-root { background: var(--cream-0); color: var(--ink-0); min-height: 100vh; }

.l-hero {
  position: relative;
  min-height: 100vh;
  padding-bottom: 56px;
  overflow: hidden;
}
.l-nav {
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 28px 56px;
}
.l-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.l-mark-glyph { color: var(--accent); font-size: 14px; }
.l-nav-links { justify-self: center; display: inline-flex; gap: 44px; font-family: var(--sans); font-size: 14px; color: var(--ink-1); font-weight: 400; }
.l-nav-links a:hover { color: var(--accent); }
.l-nav-cta { justify-self: end; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink-0); display: inline-flex; gap: 6px; border-bottom: 1px solid var(--ink-0); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.l-nav-cta:hover { color: var(--accent); border-color: var(--accent); }

.l-hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 5vh 56px 0;
  position: relative;
}
.l-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 40px; }
.l-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(107,95,74,0.5); animation: t-pulse 2.4s infinite; }

.l-title {
  font-family: var(--serif);
  font-size: clamp(64px, 8.5vw, 128px);
  line-height: 0.93;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 0 0 40px;
  color: var(--ink-0);
}
.l-title em { font-style: italic; color: var(--accent); }

.l-lede { font-family: var(--sans); font-weight: 300; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 460px; margin: 0 0 44px; }

.l-cta-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.l-cta-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; background: var(--ink-0); color: var(--cream-0); font-family: var(--sans); font-size: 15px; font-weight: 500; border-radius: 999px; transition: all .3s; }
.l-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(26,24,18,0.35); }
.l-cta-primary .l-arrow { transition: transform .3s; }
.l-cta-primary:hover .l-arrow { transform: translateX(3px); }
.l-cta-ghost { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-1); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.l-cta-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* Lens object */
.l-lens-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; justify-self: center; }
.l-lens {
  position: relative;
  width: min(60vh, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 40px 100px -30px rgba(26,24,18,0.35),
    0 0 0 1px rgba(26,24,18,0.08),
    0 0 0 14px rgba(248,245,239,0.5),
    0 0 0 15px rgba(26,24,18,0.06);
  background: var(--cream-1);
}
.l-lens canvas {
  width: 100% !important; height: 100% !important;
  display: block;
}
.l-lens-gloss {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.45), transparent 42%),
    radial-gradient(ellipse at 70% 82%, rgba(26,24,18,0.12), transparent 55%);
}
.l-lens-ring {
  position: absolute; inset: 8px;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 0 40px rgba(26,24,18,0.08);
}
.l-lens-caption { display: flex; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.l-lens-caption span:first-child { color: var(--accent); }

/* Hero foot stats */
.l-hero-foot {
  position: relative;
  max-width: 1360px;
  margin: 80px auto 0;
  padding: 40px 56px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
}
.l-stat { }
.l-stat-v { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.l-stat-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

/* Sections */
.l-section { padding: 140px 56px; max-width: 1360px; margin: 0 auto; }
.l-section-head { max-width: 820px; margin-bottom: 80px; }
.l-kicker-2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 32px; }
.l-section-title { font-family: var(--serif); font-size: clamp(52px, 6.5vw, 92px); line-height: 1; letter-spacing: -0.03em; font-weight: 400; margin: 0 0 20px; text-wrap: balance; }
.l-section-title em { font-style: italic; color: var(--accent); }
.l-section-sub { font-family: var(--sans); font-weight: 300; font-size: 19px; color: var(--ink-2); line-height: 1.5; max-width: 560px; margin: 0; }

.l-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 72px; }
.l-feat-card { display: block; padding: 28px; background: var(--cream-1); border-radius: 22px; border: 1px solid var(--line); transition: all .4s cubic-bezier(.2,.8,.2,1); }
.l-feat-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(26,24,18,0.25); border-color: var(--accent-soft); }
.l-feat-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.l-feat-head span:first-child { color: var(--accent); }
.l-feat-vis { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; margin-bottom: 28px; background: var(--cream-2); }
.l-feat-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, rgba(107,95,74,0.05) 0, rgba(107,95,74,0.05) 1px, transparent 1px, transparent 10px), linear-gradient(135deg, var(--cream-2), var(--cream-3)); }
.l-feat-ph span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.l-feat-name { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; margin: 0 0 14px; }
.l-feat-desc { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0 0 28px; }
.l-feat-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 13px; }
.l-feat-cta { font-weight: 500; color: var(--accent); }
.l-feat-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

.l-list { border-top: 1px solid var(--line-strong); }
.l-list-row { display: grid; grid-template-columns: 48px 210px 160px 1fr 30px; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--line); align-items: center; transition: padding .3s, background .3s; }
.l-list-row:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(107,95,74,0.04), transparent 85%); }
.l-list-num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.l-list-name { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.015em; }
.l-list-class { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.l-list-desc { font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.l-list-arrow { color: var(--ink-3); text-align: right; transition: all .3s; }
.l-list-row:hover .l-list-arrow { color: var(--accent); transform: translateX(4px); }

/* Essays */
.l-essays { background: var(--cream-1); max-width: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-essays .l-section-head, .l-essays .l-essay-list, .l-essays .l-archive-cta { max-width: 1360px; margin-left: auto; margin-right: auto; padding-left: 56px; padding-right: 56px; }
.l-essay-list { border-top: 1px solid var(--line); }
.l-essay-row { display: grid; grid-template-columns: 70px 1fr 160px 30px; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: center; transition: padding .3s, background .3s; }
.l-essay-row:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(107,95,74,0.04), transparent 85%); }
.l-ess-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); align-self: start; padding-top: 8px; }
.l-ess-body h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 32px; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 10px; }
.l-ess-body p { font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 90%; }
.l-ess-date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.l-ess-arrow { color: var(--ink-3); transition: all .3s; }
.l-essay-row:hover .l-ess-arrow { color: var(--accent); transform: translateX(4px); }

.l-archive-cta { padding: 64px 56px 0; text-align: center; }
.l-archive-cta a { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-1); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

.l-foot { padding: 140px 56px 48px; max-width: 1360px; margin: 0 auto; }
.l-foot-big { font-family: var(--serif); font-size: clamp(56px, 8vw, 120px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 400; margin-bottom: 80px; text-wrap: balance; }
.l-foot-big em { font-style: italic; color: var(--accent); }
.l-foot-rows { border-top: 1px solid var(--line-strong); margin-bottom: 48px; }
.l-foot-row { display: grid; grid-template-columns: 180px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 15px; align-items: center; transition: padding .3s; }
.l-foot-row:hover { padding-left: 8px; }
.l-foot-row span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.l-foot-row a { color: var(--ink-0); transition: color .2s; }
.l-foot-row a:hover { color: var(--accent); }
.l-foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }


/* Tweaks */
.tweaks-panel { position: fixed; bottom: 20px; right: 20px; z-index: 9999; background: rgba(248,245,239,0.92); border: 1px solid var(--line-strong); backdrop-filter: blur(16px); border-radius: 14px; padding: 16px 18px; font-family: var(--mono); font-size: 11px; color: var(--ink-0); min-width: 240px; box-shadow: 0 20px 60px rgba(26,24,18,0.18); }
.tweaks-panel h4 { margin: 0 0 14px; font-size: 10px; letter-spacing: 0.25em; color: var(--accent); text-transform: uppercase; display: flex; justify-content: space-between; }
.tweaks-panel .tw-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.tweaks-panel .tw-row:first-of-type { border-top: none; }
.tweaks-panel .tw-row label { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.15em; font-size: 10px; }
.tweaks-panel .tw-row input[type=range] { background: transparent; }


/* ================================================== */
/* V1 — VIDEO section                                 */
/* ================================================== */
.t-video-sec {
  padding: 140px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.t-video-head { margin-bottom: 56px; }

.t-video {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  align-items: stretch;
  border-top: 1px solid var(--line-strong);
  padding-top: 40px;
}
.t-video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(26,24,18,0.25);
  isolation: isolate;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.t-video:hover .t-video-frame {
  transform: translateY(-3px);
  box-shadow: 0 40px 80px -30px rgba(26,24,18,0.35);
}
.t-video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s;
  filter: saturate(0.92) contrast(1.02);
}
.t-video:hover .t-video-thumb { transform: scale(1.04); filter: saturate(1.0) contrast(1.04); }
.t-video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(26,24,18,0.15), rgba(26,24,18,0.45)),
    linear-gradient(180deg, rgba(26,24,18,0.05) 0%, rgba(26,24,18,0.35) 100%);
  pointer-events: none;
  transition: opacity .4s;
}
.t-video:hover .t-video-overlay { opacity: 0.75; }

.t-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(248, 245, 239, 0.96);
  color: var(--ink-0);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(26,24,18,0.35), 0 0 0 1px rgba(26,24,18,0.06);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s;
}
.t-play svg { transform: translateX(3px); }
.t-video:hover .t-play { transform: translate(-50%, -50%) scale(1.08); background: var(--cream-0); }

.t-video-meta {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(248, 245, 239, 0.92);
}
.t-video-dur {
  padding: 5px 10px;
  background: rgba(26, 24, 18, 0.55);
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.t-video-src { align-self: center; }

.t-video-caption {
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 4px 16px 16px;
}
.t-video-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink-0);
  text-wrap: balance;
}
.t-video-tags {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
.t-video-tags span { padding-left: 20px; position: relative; }
.t-video-tags span::before {
  content:''; position: absolute; left: 0; top: 50%;
  width: 10px; height: 1px; background: var(--accent);
}


/* ================================================== */
/* V1 — FLAGSHIP case studies                         */
/* ================================================== */
.t-flagships {
  display: grid;
  gap: 92px;
  margin: 0 0 86px;
}
.t-flagship {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: 52px 0 76px;
  border-top: 1px solid var(--line-strong);
}
.t-flagship:last-child {
  border-bottom: 1px solid var(--line);
}
.t-flagship.is-reverse {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.12fr);
}
.t-flagship.is-reverse .t-flagship-media { order: 2; }
.t-flagship.is-reverse .t-flagship-copy { order: 1; }
.t-flagship-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(26, 24, 18, 0.16);
  background: var(--cream-2);
  box-shadow: 0 42px 90px -52px rgba(26,24,18,0.52);
  transform: translateZ(0);
}
.t-flagship-media .t-preview {
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.t-flagship-media:hover .t-preview {
  transform: scale(1.018);
}
.t-flagship-media-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.92);
  pointer-events: none;
}
.t-flagship-media-meta span {
  max-width: 50%;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(26,24,18,0.52);
  border: 1px solid rgba(248,245,239,0.18);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-flagship-copy {
  min-width: 0;
}
.t-flagship-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.t-flagship-name {
  font-family: var(--serif);
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 400;
  margin: 0 0 22px;
}
.t-flagship-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--ink-1);
  margin: 0 0 24px;
  text-wrap: balance;
}
.t-flagship-text {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.58;
  font-weight: 300;
  color: var(--ink-2);
  margin: 0 0 30px;
}
.t-flagship-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.t-flagship-stats span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-1);
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(248,245,239,0.44);
}
.t-flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.t-flagship-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink-0);
  color: var(--cream-0);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}
.t-flagship-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(26,24,18,0.45);
}
.t-flagship-cta span {
  transition: transform .3s;
}
.t-flagship-cta:hover span {
  transform: translateX(3px);
}
.t-flagship-cta.is-ghost {
  background: transparent;
  color: var(--ink-0);
  border: 1px solid var(--line-strong);
}
.t-flagship-cta.is-ghost:hover {
  border-color: var(--ink-0);
  box-shadow: none;
}

/* ================================================== */
/* V1 — SPOTLIGHT showcase                            */
/* ================================================== */
.t-spot {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: clamp(64px, 7vw, 112px);
  margin-bottom: 72px;
  align-items: center;
}
.t-spot-stage {
  position: relative;
  z-index: 0;
  aspect-ratio: 16/11;
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(26,24,18,0.2);
}
.t-spot-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity .75s cubic-bezier(.2,.8,.2,1),
    transform 1.05s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.t-spot-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.t-spot-vis {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.t-spot-ph {
  width: 100%; height: 100%;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(122,109,79,0.10), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(122,109,79,0.08), transparent 55%),
    linear-gradient(135deg, var(--cream-2) 0%, var(--cream-3) 100%);
  gap: 14px;
}
.t-spot-ph-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,24,18,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,24,18,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 85%);
}
.t-spot-ph-label {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink-1);
  text-transform: lowercase;
  max-width: 92%;
  text-align: center;
  word-break: break-word;
}
.t-spot-ph-sub {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.t-spot-vis-meta {
  position: absolute; left: 20px; right: 20px; top: 20px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.t-spot-vis-meta span:last-child {
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(248, 245, 239, 0.75);
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.t-spot-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 4px 8px 4px 0;
  display: flex; flex-direction: column;
  justify-content: center;
}
.t-spot-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.t-spot-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink-0);
  word-break: break-word;
}
.t-spot-class {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.t-spot-desc {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-1);
  margin: 0 0 28px;
  max-width: 100%;
}
.t-spot-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.t-spot-meta span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.t-spot-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-0);
  padding: 14px 22px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--ink-0);
  align-self: flex-start;
  margin-bottom: 36px;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.t-spot-cta:hover {
  background: var(--ink-0);
  color: var(--cream-0);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(26,24,18,0.35);
}
.t-spot-cta span { transition: transform .3s; }
.t-spot-cta:hover span { transform: translateX(3px); }
.t-spot-thumbs {
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.t-spot-thumb {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 4px 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink-3);
  transition: color .3s;
}
.t-spot-thumb:hover { color: var(--ink-1); }
.t-spot-thumb.is-active { color: var(--ink-0); }
.t-spot-thumb-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: inherit;
  opacity: 0.6;
}
.t-spot-thumb-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.t-spot-thumb-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.t-spot-thumb-bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.t-spot-thumb.is-active .t-spot-thumb-bar span {
  animation: t-spot-fill 6.5s linear forwards;
}
@keyframes t-spot-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.t-proj-divider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px 18px;
  margin-bottom: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.t-proj-divider-k { color: var(--ink-0); }
.t-proj-divider-c { color: var(--ink-3); }

@media (max-width: 1100px) {
  .t-flagship,
  .t-flagship.is-reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .t-flagship.is-reverse .t-flagship-media { order: 0; }
  .t-flagship.is-reverse .t-flagship-copy { order: 1; }

  .t-spot { grid-template-columns: 1fr; gap: 32px; }
  .t-spot-thumbs { flex-wrap: wrap; }
  .t-spot-thumb { min-width: 45%; }
}


/* ================================================== */
/* V1 — PORTFOLIO (expandable rows)                   */
/* ================================================== */
.t-proj-list { border-top: 1px solid var(--line); }
.t-proj-head {
  display: grid;
  grid-template-columns: 56px 220px 180px 1fr 44px;
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
}
.t-proj { border-bottom: 1px solid var(--line); overflow: hidden; }
.t-proj-row {
  display: grid;
  grid-template-columns: 56px 220px 180px 1fr 44px;
  gap: 24px;
  padding: 28px 4px;
  align-items: center;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: padding .3s, background .3s;
}
.t-proj-row:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(122,109,79,0.05), transparent 85%); }
.t-proj.is-open .t-proj-row { padding-left: 14px; background: linear-gradient(90deg, rgba(122,109,79,0.06), transparent 85%); }

.t-proj-num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.t-proj-name { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -0.018em; line-height: 1.05; }
.t-proj.is-open .t-proj-name { color: var(--accent); }
.t-proj-class { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.t-proj-desc { font-family: var(--sans); font-weight: 300; font-size: 15px; color: var(--ink-2); line-height: 1.45; }

.t-proj-toggle {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  justify-self: end;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.t-proj-toggle .t-tog-h,
.t-proj-toggle .t-tog-v {
  position: absolute; left: 50%; top: 50%;
  background: var(--ink-1);
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.t-proj-toggle .t-tog-h { width: 11px; height: 1px; transform: translate(-50%, -50%); }
.t-proj-toggle .t-tog-v { width: 1px; height: 11px; transform: translate(-50%, -50%); }
.t-proj-row:hover .t-proj-toggle { border-color: var(--accent); background: var(--accent); }
.t-proj-row:hover .t-proj-toggle .t-tog-h,
.t-proj-row:hover .t-proj-toggle .t-tog-v { background: var(--cream-0); }
.t-proj.is-open .t-proj-toggle { background: var(--ink-0); border-color: var(--ink-0); transform: rotate(90deg); }
.t-proj.is-open .t-proj-toggle .t-tog-v { opacity: 0; }
.t-proj.is-open .t-proj-toggle .t-tog-h { background: var(--cream-0); }

.t-proj-panel {
  max-height: 0;
  opacity: 0;
  transition: max-height .6s cubic-bezier(.2,.8,.2,1), opacity .45s, padding .4s;
  overflow: hidden;
}
.t-proj.is-open .t-proj-panel {
  max-height: 720px;
  opacity: 1;
}
.t-proj-panel-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 8px 4px 44px;
}

.t-proj-vis {
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.t-preview {
  width: 100%; height: 100%;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(122,109,79,0.10), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(122,109,79,0.08), transparent 55%),
    linear-gradient(135deg, var(--cream-2) 0%, var(--cream-3) 100%);
  gap: 14px;
  isolation: isolate;
  overflow: hidden;
}
.t-preview-poster,
.t-preview-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.96) brightness(1.03);
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity .45s ease,
    transform 1.1s cubic-bezier(.2,.8,.2,1),
    filter .45s ease;
}
.t-preview.is-poster-ready .t-preview-poster {
  opacity: 1;
  transform: scale(1.01);
}
.t-preview.is-static.is-poster-ready .t-preview-poster {
  filter: saturate(0.98) contrast(1) brightness(1);
  opacity: 1;
  transform: scale(1);
}
.t-preview.is-video-ready .t-preview-media {
  opacity: 0.96;
  transform: scale(1.005);
}
.t-preview.has-video.is-video-ready .t-preview-poster {
  opacity: 0;
}
.t-preview-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,24,18,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,24,18,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 85%);
  z-index: 1;
  opacity: 0.72;
  transition: opacity .45s ease;
}
.t-preview-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(235,230,220,0.08) 0%, rgba(235,230,220,0.30) 62%, rgba(235,230,220,0.56) 100%),
    linear-gradient(180deg, rgba(248,245,239,0.08), rgba(26,24,18,0.12));
  z-index: 2;
  opacity: 0.88;
  transition: opacity .45s ease;
}
.t-preview-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(122,109,79,0.10), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(122,109,79,0.08), transparent 55%),
    linear-gradient(135deg, var(--cream-2) 0%, var(--cream-3) 100%);
  transition: opacity .45s ease;
}
.t-preview.is-poster-ready .t-preview-fallback,
.t-preview.is-video-ready .t-preview-fallback {
  opacity: 0;
}
.t-preview.is-video-ready .t-preview-grid {
  opacity: 0.58;
}
.t-preview.is-video-ready .t-preview-scrim {
  opacity: 0.62;
}
.t-preview.is-static.is-poster-ready .t-preview-grid {
  opacity: 0.12;
}
.t-preview.is-static.is-poster-ready .t-preview-scrim {
  opacity: 0.2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06), transparent 34%, transparent 68%, rgba(0,0,0,0.28));
}
.t-preview-loading {
  position: relative;
  z-index: 3;
  width: calc(100% - 48px);
  align-self: flex-end;
  height: 3px;
  margin: auto 24px 24px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(248,245,239,0.24);
  box-shadow: inset 0 0 0 1px rgba(248,245,239,0.12);
}
.t-preview-loading span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(248,245,239,0.12), rgba(248,245,239,0.92), rgba(248,245,239,0.12));
  animation: t-preview-sweep 1.35s ease-in-out infinite;
}
.t-preview.is-compact { gap: 8px; }
@keyframes t-preview-sweep {
  from { transform: translateX(-130%); }
  to { transform: translateX(280%); }
}
.t-proj-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(122,109,79,0.06) 0, rgba(122,109,79,0.06) 1px, transparent 1px, transparent 10px),
    linear-gradient(135deg, var(--cream-2), var(--cream-3));
}
.t-proj-ph span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--ink-2); }
.t-proj-ph .t-ph-sub { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }

.t-proj-info { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.t-proj-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  padding: 20px 22px;
  background: var(--cream-1);
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.t-proj-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.t-proj-v { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-1); }
.t-proj-long { font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 28px; }

.t-proj-cta-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.t-proj-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: var(--ink-0);
  color: var(--cream-0);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border-radius: 999px;
  transition: all .3s;
}
.t-proj-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(26,24,18,0.32); }
.t-proj-cta span { transition: transform .3s; }
.t-proj-cta:hover span { transform: translateX(3px); }
.t-proj-url { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); }


/* ================================================== */
/* V1 — ESSAYS (editorial redesign)                   */
/* ================================================== */
.t-essays {
  background: var(--cream-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 140px 0 120px;
  position: relative;
}
.t-essays::before,
.t-essays::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.t-essays::before { top: 48px; }
.t-essays::after { bottom: 48px; }

.t-essays-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}
.t-essays-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 56px;
}
.t-essays-kicker { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.t-essays-kicker .t-kicker { margin: 0; }
.t-essays-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.t-essays-title {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  grid-column: 1;
}
.t-essays-title em { font-style: italic; color: var(--accent); }
.t-essays-sub {
  font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.5; color: var(--ink-2);
  max-width: 320px; margin: 0 0 12px;
  grid-column: 2;
  text-align: right;
}

/* Featured cover essay — magazine cover treatment */
.t-ess-cover {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-bottom: 80px;
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.t-ess-cover:hover { transform: translateY(-3px); box-shadow: 0 40px 80px -40px rgba(26,24,18,0.28); }
.t-ess-cover-img {
  position: relative;
  aspect-ratio: 5/4;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-2);
  filter: saturate(0.92) contrast(1.02);
  transition: filter .5s, transform .7s cubic-bezier(.2,.8,.2,1);
  transform-origin: center;
  overflow: hidden;
}
.t-ess-cover:hover .t-ess-cover-img { transform: scale(1.02); filter: saturate(1.0) contrast(1.05); }
.t-ess-cover-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,24,18,0.25));
  pointer-events: none;
}
.t-ess-cover-frame {
  position: absolute; inset: 18px;
  border: 1px solid rgba(248, 245, 239, 0.25);
  pointer-events: none;
}
.t-ess-cover-body {
  padding: 60px 56px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
  background: var(--cream-0);
}
.t-ess-cover-tag {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.t-ess-cover-tag span:first-child { color: var(--accent); }
.t-ess-cover-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.t-ess-cover-blurb {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 40px;
  max-width: 95%;
}
.t-ess-cover-read {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--ink-0);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink-0);
  align-self: flex-start;
  transition: gap .3s, color .3s, border-color .3s;
}
.t-ess-cover:hover .t-ess-cover-read { color: var(--accent); border-color: var(--accent); gap: 18px; }
.t-ess-cover-arrow { font-size: 16px; }

/* Editorial grid */
.t-ess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.t-ess-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s;
}
.t-ess-card.is-wide { grid-column: span 2; }
.t-ess-card:hover { transform: translateY(-3px); box-shadow: 0 28px 60px -30px rgba(26,24,18,0.22); border-color: var(--accent-soft); }
.t-ess-card-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-2);
  filter: saturate(0.92) contrast(1.02);
  transition: filter .5s, transform .7s cubic-bezier(.2,.8,.2,1);
  transform-origin: center;
}
.t-ess-card.is-wide .t-ess-card-img { aspect-ratio: 21/9; }
.t-ess-card:hover .t-ess-card-img { transform: scale(1.03); filter: saturate(1.0) contrast(1.05); }
.t-ess-card-body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--line);
}
.t-ess-card-meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.t-ess-card-num { color: var(--accent); }
.t-ess-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.t-ess-card.is-wide .t-ess-card-title { font-size: 32px; }
.t-ess-card-blurb {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 22px;
  flex: 1;
}
.t-ess-card-read {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--accent);
  display: inline-flex; gap: 6px;
  align-self: flex-start;
}

.t-essays .t-archive-cta { padding: 72px 0 0; text-align: center; }

@media (max-width: 1100px) {
  .t-ess-grid { grid-template-columns: repeat(2, 1fr); }
  .t-ess-card.is-wide { grid-column: span 2; }
  .t-ess-cover { grid-template-columns: 1fr; }
  .t-ess-cover-body { border-left: none; border-top: 1px solid var(--line); padding: 44px 40px; }
  .t-video { grid-template-columns: 1fr; }
  .t-video-caption { padding: 0; }
  .t-proj-head { grid-template-columns: 40px 150px 120px 1fr 30px; }
  .t-proj-row { grid-template-columns: 40px 150px 120px 1fr 30px; }
  .t-proj-panel-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  html, body, .t-root { overflow-x: hidden; }

  .t-hero {
    height: auto;
    min-height: 820px;
    padding-bottom: 92px;
  }

  .t-nav {
    grid-template-columns: 1fr auto;
    padding: 22px 24px;
  }

  .t-nav-links { display: none; }
  .t-nav-cta {
    font-size: 13px;
    padding: 9px 14px;
  }

  .t-hero-inner {
    padding: 12vh 24px 0;
  }

  .t-eyebrow {
    max-width: 100%;
    font-size: 13px;
    margin-bottom: 34px;
  }

  .t-title {
    font-size: 64px;
    line-height: 0.98;
  }

  .t-lede {
    font-size: 18px;
  }

  .t-cta-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .t-hero-foot {
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 8px;
  }

  .t-section,
  .t-video-sec {
    padding: 96px 24px;
  }

  .t-section-head {
    margin-bottom: 56px;
  }

  .t-section-title {
    font-size: 56px;
  }

  .t-section-sub {
    font-size: 17px;
  }

  .t-ess-grid { grid-template-columns: 1fr; }
  .t-ess-card.is-wide { grid-column: span 1; }
  .t-essays-head { grid-template-columns: 1fr; }
  .t-essays-sub { text-align: left; }

  .t-spot {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .t-flagships {
    gap: 56px;
    margin-bottom: 64px;
  }

  .t-flagship {
    padding: 36px 0 52px;
  }

  .t-flagship-media {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .t-flagship-media-meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 9px;
  }

  .t-flagship-media-meta span {
    max-width: 100%;
  }

  .t-flagship-num {
    margin-bottom: 18px;
  }

  .t-flagship-name {
    font-size: 50px;
  }

  .t-flagship-title {
    font-size: 30px;
  }

  .t-flagship-text {
    font-size: 16px;
  }

  .t-flagship-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .t-flagship-cta {
    justify-content: center;
  }

  .t-spot-stage {
    aspect-ratio: 4/3;
    border-radius: 16px;
  }

  .t-spot-body {
    padding: 0;
  }

  .t-spot-name {
    font-size: 44px;
  }

  .t-spot-thumbs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .t-spot-thumb {
    min-width: 0;
  }

  .t-proj-head {
    display: none;
  }

  .t-proj-row {
    grid-template-columns: 38px 1fr 34px;
    gap: 14px;
    padding: 24px 0;
  }

  .t-proj-name {
    font-size: 28px;
  }

  .t-proj-class,
  .t-proj-desc {
    grid-column: 2 / 3;
  }

  .t-proj-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .t-proj-panel-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 8px 0 36px;
  }

  .t-video {
    grid-template-columns: 1fr;
  }

  .t-video-caption {
    padding: 0;
  }

  .t-essays {
    padding: 96px 0;
  }

  .t-essays-inner,
  .t-essays .t-section-head,
  .t-essays .t-essay-grid,
  .t-essays .t-archive-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .t-essays-title {
    font-size: 58px;
  }

  .t-ess-cover-body {
    padding: 36px 28px;
  }

  .t-foot {
    padding: 96px 24px 32px;
  }

  .t-foot-big {
    font-size: 58px;
  }

  .t-foot-grid {
    grid-template-columns: 1fr;
  }

  .t-foot-bottom {
    display: grid;
    gap: 10px;
  }
}
