/* ============================================================
   BERNARD SAKYI — light system
   ------------------------------------------------------------
   A second, self-contained stylesheet for the pages moving to
   the new light/premium direction (home, about, work). The dark
   system in style.css is untouched.

   Building this in stages, approved one at a time — right now:
   just the nav. Everything else comes after it's signed off.

   Structure:
     1. Fonts     Geist, Geist Mono, Tiempos Headline
     2. Tokens     colour, type, spacing, motion
     3. Reset + base
     4. Nav
   ============================================================ */

/* ── 1. Fonts ──────────────────────────────────────────────── */
@font-face { font-family: 'Geist'; src: url('fonts/geist/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-LightItalic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-RegularItalic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-MediumItalic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-Semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-SemiboldItalic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-BoldItalic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiempos Headline'; src: url('fonts/tiempos/TiemposHeadline-BlackItalic.woff2') format('woff2');
  font-weight: 900; font-style: italic; font-display: swap; }

/* ── 2. Tokens ─────────────────────────────────────────────── */
:root {
  --paper:      #fafcfd;
  --ink:        #32404f;
  --ink-80:     rgba(50, 64, 79, 0.80);
  --ink-60:     rgba(50, 64, 79, 0.60);
  --ink-40:     rgba(50, 64, 79, 0.40);
  --ink-18:     rgba(50, 64, 79, 0.14);
  --ink-08:     rgba(50, 64, 79, 0.07);
  --mist:       #858e97;
  --ember:      #fa5100;

  /* ghost button — faint ink tint, deepens on hover/press, no border */
  --ghost-rest:   rgba(50, 64, 79, 0.045);
  --ghost-hover:  rgba(50, 64, 79, 0.075);
  --ghost-active: rgba(50, 64, 79, 0.11);

  --display: 'Tiempos Headline', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:    'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --g:     clamp(1.25rem, 4vw, 3.25rem);
  --maxw:  1360px;

  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── 3. Reset + base ───────────────────────────────────────── */
.lp, .lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp { margin: 0; }
.lp h1, .lp h2, .lp h3, .lp p, .lp figure, .lp ul, .lp ol, .lp dl, .lp dd { margin: 0; padding: 0; }
.lp ul, .lp ol { list-style: none; }
.lp img { display: block; max-width: 100%; }
.lp button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.lp a { color: inherit; text-decoration: none; }
.lp :focus-visible { outline: 2px solid #fa5100; outline-offset: 2px; }

html:has(body.lp) { scrollbar-gutter: stable; }

.lp ::selection { background: #fa5100; color: #fff; }

body.lp {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.lp .wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--g); }

.lp .grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.018; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── 4. Nav ────────────────────────────────────────────────── */
.lp .nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 252, 253, 0.82);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--ink-08);
}
.lp .nav-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.05rem;
}
.lp .nav-id { display: flex; flex-direction: column; gap: 0.15rem; line-height: 1.15; }
.lp .nav-id b {
  font-family: var(--mono); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.02em; color: var(--ink);
}
.lp .nav-id span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.01em; color: var(--mist); }

.lp .nav-links {
  display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem);
  font-family: var(--sans); font-size: 0.92rem; color: var(--ink-80);
}
.lp .nav-links a { position: relative; padding-block: 0.2rem; transition: color 0.2s var(--ease); }
.lp .nav-links a:hover { color: var(--ink); }
.lp .nav-links a[aria-current="page"] { color: var(--ember); }

.lp .nav-links a.nav-disabled { color: var(--ink-40); cursor: default; }
.lp .nav-links a.nav-disabled:hover { color: var(--ink-40); }
.lp .nav-links a.nav-disabled::after {
  content: 'in the works';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(0.35em);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.02em; white-space: nowrap;
  background: var(--ink); color: var(--paper); padding: 0.4em 0.75em; border-radius: 2.5px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0.15s;
}
.lp .nav-links a.nav-disabled:hover::after {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0.55em);
}

.lp .nav-links a:last-child { display: inline-flex; align-items: center; }
.lp .nav-external { width: 13px; height: 13px; margin-left: 0.35em; transition: transform 0.2s var(--ease); }
.lp .nav-links a:last-child:hover .nav-external { transform: translate(1.5px, -1.5px); }

.lp .menu-btn { display: none; }

.lp .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.lp .reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lp .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Hero photo ────────────────────────────────────────────── */
.lp .hero-photo {
  --hero-flip-size: clamp(2.4rem, 7.5vw, 5.25rem);
  position: relative;
  background: linear-gradient(to bottom, #92ceff 0%, #ffffff 88%);
  display: flex; justify-content: center;
  padding-top: calc(var(--hero-flip-size) - 1.15rem);
  overflow: hidden;
}
.lp .hero-photo img {
  position: relative; z-index: 1;
  display: block; width: clamp(260px, 40vw, 620px); height: auto;
}
.lp .hero-flip {
  position: absolute; top: 0.85rem; left: 0; right: 0; z-index: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-inline: var(--g);
  pointer-events: none;
}
.lp .hero-flip-word {
  position: absolute;
  font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em;
  font-size: var(--hero-flip-size); line-height: 1;
  color: #ffffff; white-space: nowrap;
  opacity: 0; transform: translateY(0.35em);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.lp .hero-flip-word.is-active { opacity: 1; transform: translateY(0); }
.lp .hero-flip-word.is-leaving { opacity: 0; transform: translateY(-0.35em); }
@media (prefers-reduced-motion: reduce) {
  .lp .hero-flip-word { transition: none; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.lp .hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.lp .hero-headline {
  font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--ink); max-width: 32ch; white-space: pre-line;
}
.lp .hero-headline em { font-style: normal; font-weight: 400; }
.lp .hero-headline .mobile-break { display: none; }
.lp .hero-headline .scramble-char { font-family: var(--mono); color: var(--mist); font-weight: 400; }
.lp .hero-scramble-label {
  margin: 0 0 0.5rem;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.02em; color: var(--mist);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.lp .hero-scramble-label.is-visible { opacity: 1; transform: none; }
.lp .hero-wink {
  display: inline-block; margin-left: 0.15em; transform-origin: 50% 55%;
  animation: heroWinkIn 0.55s var(--ease) both;
}
@keyframes heroWinkIn {
  0% { opacity: 0; transform: scale(0.4) rotate(-15deg); }
  55% { opacity: 1; transform: scale(1.15) rotate(6deg); }
  75% { transform: scale(1.05) scaleY(0.15) rotate(0deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .lp .hero-wink { animation: none; }
  .lp .hero-scramble-label { transition: none; }
}

.lp .hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.lp .hero-cta {
  position: relative; display: inline-flex; align-items: center;
  border-radius: 999px; padding: 0.65em 1.6em;
  font-family: var(--sans); font-size: 0.95rem;
  background: var(--ink-18); color: var(--ink-40); cursor: default;
}
.lp .hero-cta.hero-cta-active {
  background: var(--ink); color: var(--paper); cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.lp .hero-cta.hero-cta-active:hover { background: var(--ink-80); }
.lp .hero-cta:not(.hero-cta-active)::after {
  content: 'in the works';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(0.5em);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.02em; white-space: nowrap;
  background: var(--ink); color: var(--paper); padding: 0.4em 0.75em; border-radius: 2.5px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0.15s;
}
.lp .hero-cta:not(.hero-cta-active):hover::after {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0.7em);
}

/* ── Creative leadership ───────────────────────────────────── */
.lp .lead {
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.lp .lead-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--ink); margin-bottom: clamp(1.5rem, 3.4vw, 2.25rem);
}
.lp .lead-list { display: flex; flex-direction: column; gap: clamp(1.4rem, 2.6vw, 1.75rem); }
.lp .lead-item { display: block; }
.lp .lead-role { font-family: var(--sans); font-size: 1.02rem; color: var(--ink); }
.lp .lead-title-sub {
  display: block; margin-top: 0.3rem;
  font-family: var(--mono); font-size: 0.86rem; color: var(--mist);
}
.lp .lead-infinity { width: 1em; height: 1em; vertical-align: -0.15em; }

/* ── Testimonials ──────────────────────────────────────────── */
.lp .testimonials { padding-bottom: clamp(4rem, 10vw, 7rem); }
.lp .testimonials-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--ink); margin-bottom: clamp(1.5rem, 3.4vw, 2.25rem);
}
.lp .tmi-slider { padding-top: 0; }
.lp .tmi-viewport { max-width: 42rem; overflow: hidden; }
.lp .tmi {
  display: none; opacity: 0;
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
}
.lp .tmi.is-active { display: block; }
.lp .tmi.is-visible { opacity: 1; transform: translateX(0); }
.lp .tmi blockquote {
  margin: 0; font-size: 1.15rem; line-height: 1.75; color: var(--ink-80);
}
.lp .tmi blockquote p + p { margin-top: 0.85em; }
.lp .tmi figcaption { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.lp .tmi-name { font-family: var(--sans); font-size: 0.96rem; color: var(--ink); }
.lp .tmi-badge { width: 15px; height: 15px; margin-left: 0.4em; vertical-align: -2px; fill: #0080fe; }
.lp .tmi-role { font-family: var(--mono); font-size: 0.78rem; color: var(--mist); }

.lp .tmi-controls {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.lp .tmi-arrow {
  display: inline-flex; color: var(--ink-60);
  transition: color 0.2s var(--ease);
}
.lp .tmi-arrow svg { width: 20px; height: 20px; }
.lp .tmi-arrow:hover, .lp .tmi-arrow:focus-visible { color: var(--ember); }
.lp .tmi-count { font-family: var(--mono); font-size: 0.8rem; color: var(--mist); }
@media (prefers-reduced-motion: reduce) {
  .lp .tmi { transition: none; }
}

/* ── Work (placeholders) ───────────────────────────────────── */
.lp .projects {
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.lp .projects--index {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.lp .projects-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--ink); margin-bottom: clamp(1.5rem, 3.4vw, 2.25rem);
}
.lp .projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem);
}
.lp .pcard { display: block; }
.lp .pcard-img {
  display: block; aspect-ratio: 16 / 9; background: #858e97; border-radius: 2.5px; overflow: hidden;
}
.lp .pcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp .pcard-cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 0.85rem;
}
.lp .pcard-name { font-family: var(--sans); font-size: 1rem; color: var(--ink); }
.lp .pcard-meta { font-family: var(--sans); font-size: 0.9rem; color: var(--mist); }

/* ── About ─────────────────────────────────────────────────── */
.lp .eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.01em; color: var(--mist);
}
.lp .eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); flex: none; }

.lp .about-head { padding-top: clamp(2.5rem, 6vw, 4rem); }
.lp .about-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.18; color: var(--ink); max-width: 19ch;
}
.lp .work-title { max-width: none; }
@media (min-width: 640px) {
  .lp .work-title { white-space: nowrap; }
}

.lp .about-copy { margin-top: clamp(1.75rem, 4vw, 2.5rem); max-width: 42rem; }
.lp .about-copy > * + * { margin-top: 1.1rem; }
.lp .about-copy p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-80); }
.lp .u-link {
  padding: 0.05em 0.3em; margin: 0 -0.1em; border-radius: 2.5px; background: var(--ghost-rest);
  color: var(--ember); text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lp .u-link:hover { background: var(--ghost-hover); color: var(--ember); }

.lp .gallery { padding-block: clamp(3.5rem, 8vw, 6rem); }
.lp .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 1.6vw, 1rem); }
.lp .gallery-item {
  display: block; width: 100%; overflow: hidden; border-radius: 2.5px;
  padding: 0; border: none; background: none; cursor: pointer;
}
.lp .gallery-item img {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .lp .gallery-item:hover img { transform: scale(1.045); }
}

/* ── Talks ─────────────────────────────────────────────────── */
.lp .talk-feedback-link {
  display: inline-flex; align-items: center; margin-top: 1.25rem;
  padding: 0.45em 1em; border: none; border-radius: 999px;
  background: var(--ink); cursor: pointer;
  font-family: var(--sans); font-size: 0.88rem; color: var(--paper);
  transition: background-color 0.2s var(--ease);
}
.lp .talk-feedback-link:hover { background: var(--ink-80); }
.lp .talk-list {
  margin-top: clamp(2rem, 4.5vw, 3rem);
  display: flex; flex-direction: column;
}
.lp .talk-item { padding-block: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 1px solid var(--ink-08); }
.lp .talk-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0; border: none; background: none; text-align: left; cursor: pointer;
}
.lp .talk-title {
  font-family: var(--sans); font-weight: 500; font-size: 1.3rem; color: var(--ink);
}
.lp .talk-toggle-icon {
  flex: none; width: 18px; height: 18px; color: var(--mist);
  transition: transform 0.3s var(--ease), color 0.2s var(--ease);
}
.lp .talk-toggle:hover .talk-toggle-icon { color: var(--ember); }
.lp .talk-toggle[aria-expanded="true"] .talk-toggle-icon { transform: rotate(180deg); }

.lp .talk-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.lp .talk-panel.is-open { max-height: none; }

.lp .talk-grid {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  display: grid; grid-template-columns: 13rem 1fr; gap: clamp(2rem, 5vw, 4rem);
}
.lp .talk-side { display: flex; flex-direction: column; gap: 1.5rem; }
.lp .talk-facts { display: flex; flex-direction: column; }
.lp .talk-facts > div {
  padding-block: 0.85rem; border-bottom: 1px solid var(--ink-08);
  display: flex; flex-direction: column; gap: 0.35rem;
}
.lp .talk-facts > div:first-child { padding-top: 0; }
.lp .talk-facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--mist); }
.lp .talk-facts dd { font-family: var(--sans); font-size: 0.96rem; color: var(--ink); }
.lp .talk-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lp .talk-tag {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--ink-60);
  border: 1px solid var(--ink-18); border-radius: 999px; padding: 0.4em 0.9em;
}
.lp .talk-note {
  padding-top: 1.25rem; border-top: 1px solid var(--ink-08);
  font-size: 0.85rem; line-height: 1.6; color: var(--mist);
}

.lp .talk-section-label {
  font-family: var(--display); font-weight: 400; font-size: 1.05rem; color: var(--ink);
  margin-top: 2rem;
}
.lp .talk-main > .talk-section-label:first-child { margin-top: 0; }
.lp .talk-overview { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.85rem; }
.lp .talk-overview p { max-width: 42rem; font-size: 1.02rem; line-height: 1.7; color: var(--ink-80); }
.lp .talk-covered { margin-top: 0.85rem; counter-reset: talk-covered; }
.lp .talk-covered li {
  display: flex; gap: 0.85rem; align-items: baseline;
  padding-block: 0.65rem; border-bottom: 1px solid var(--ink-08);
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  counter-increment: talk-covered;
}
.lp .talk-covered li::before {
  content: counter(talk-covered) '.'; flex: none; width: 1.4em;
  font-family: var(--mono); font-size: 0.85rem; color: var(--mist);
}

.lp .talk-materials { margin-top: 2rem; }
.lp .talk-materials-label {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.02em; color: var(--mist);
}
.lp .talk-file {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin-top: 0.75rem; border: none; border-radius: 999px;
  padding: 0.55em 1.2em 0.55em 1.4em;
  background: var(--ink); cursor: pointer;
  font: inherit; text-align: left;
  color: var(--paper); transition: background-color 0.2s var(--ease);
}
.lp .talk-file-name { font-family: var(--sans); font-size: 0.92rem; }
.lp .talk-file-icon {
  flex: none; width: 15px; height: 15px; color: var(--paper);
  transition: transform 0.2s var(--ease);
}
.lp .talk-file:hover { background: var(--ink-80); }
.lp .talk-file:hover .talk-file-icon { transform: translateY(2px); }

.lp .talk-cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
  border-top: 1px solid var(--ink-08);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
}
.lp .talk-cta-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  color: var(--ink); max-width: none;
}
@media (min-width: 640px) {
  .lp .talk-cta-title { white-space: nowrap; }
}
.lp .talk-cta-btn {
  border: none; border-radius: 999px; padding: 0.65em 1.6em;
  font-family: var(--sans); font-size: 0.95rem; color: var(--paper); background: var(--ink); cursor: pointer;
  transition: background-color 0.18s var(--ease), transform 0.15s var(--ease);
}
.lp .talk-cta-btn:hover { background: var(--ink-80); }
.lp .talk-cta-btn:active { transform: scale(0.96); transition-duration: 90ms; }

/* ── Site modal (download gate, feedback) ─────────────────── */
.lp .site-modal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: var(--g);
  background: rgba(50, 64, 79, 0.92);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.lp .site-modal.is-open { opacity: 1; visibility: visible; }
.lp .site-modal-card {
  position: relative; width: 100%; max-width: 28rem;
  background: var(--paper); border: 1px solid var(--ink-18); border-radius: 2.5px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  transform: translateY(10px);
  transition: transform 0.25s var(--ease);
}
.lp .site-modal.is-open .site-modal-card { transform: translateY(0); }
.lp .site-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 22px; height: 22px; display: grid; place-items: center;
  color: var(--ink-60); transition: color 0.2s var(--ease);
}
.lp .site-modal-close svg { width: 18px; height: 18px; }
.lp .site-modal-close:hover { color: var(--ember); }
.lp .site-modal-title {
  margin-top: 0.6rem;
  font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  line-height: 1.25; color: var(--ink); max-width: 22ch;
}
.lp .site-form { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.lp .site-form[hidden] { display: none; }
.lp .site-field { display: flex; flex-direction: column; gap: 0.5rem; }
.lp .site-field span {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.02em; color: var(--mist);
}
.lp .site-field .req { color: var(--ember); margin-left: 0.2em; }
.lp .site-field input, .lp .site-field select, .lp .site-field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--ink-18);
  padding-block: 0.5rem; border-radius: 0;
  transition: border-color 0.2s var(--ease);
}
.lp .site-field input::placeholder, .lp .site-field textarea::placeholder { color: var(--ink-40); }
.lp .site-field input:focus, .lp .site-field select:focus, .lp .site-field textarea:focus {
  outline: none; border-color: var(--ember);
}
.lp .site-field textarea { resize: vertical; min-height: 6rem; line-height: 1.5; }
.lp .site-form-submit {
  align-self: flex-start; margin-top: 0.5rem;
  border: none; border-radius: 999px; padding: 0.65em 1.6em;
  font-family: var(--sans); font-size: 0.95rem; color: var(--paper); background: var(--ink); cursor: pointer;
  transition: background-color 0.18s var(--ease), transform 0.15s var(--ease);
}
.lp .site-form-submit:hover { background: var(--ink-80); }
.lp .site-form-submit:active { transform: scale(0.96); transition-duration: 90ms; }
.lp .site-modal-success p {
  margin-top: 1.75rem; font-size: 1.05rem; line-height: 1.65; color: var(--ink-80);
}
.lp .site-modal-check { display: block; margin-top: 1.75rem; width: 34px; height: 34px; }
.lp .site-modal-check + p { margin-top: 1rem; }

/* ── Photo lightbox (about page) ──────────────────────────── */
.lp .lightbox { padding: 0; }
.lp .lightbox-frame {
  position: relative; z-index: 0; max-width: 90vw; max-height: 84vh;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lp .lightbox-frame img {
  display: block; max-width: 90vw; max-height: 78vh; width: auto; height: auto; object-fit: contain;
  border-radius: 2.5px;
}
.lp .lightbox-count { font-family: var(--mono); font-size: 0.8rem; color: rgba(250, 252, 253, 0.7); }
.lp .lightbox-close {
  position: fixed; z-index: 1; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  color: rgba(250, 252, 253, 0.8);
}
.lp .lightbox-close svg { width: 20px; height: 20px; }
.lp .lightbox-close:hover { color: var(--ember); }
.lp .lightbox-arrow {
  position: fixed; z-index: 1; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: none; background: none; cursor: pointer;
  color: rgba(250, 252, 253, 0.8);
  transition: color 0.2s var(--ease);
}
.lp .lightbox-arrow:hover { color: var(--ember); }
.lp .lightbox-arrow svg { width: 26px; height: 26px; }
.lp .lightbox-prev { left: clamp(0.5rem, 3vw, 2rem); }
.lp .lightbox-next { right: clamp(0.5rem, 3vw, 2rem); }
@media (max-width: 640px) {
  .lp .lightbox-arrow { width: 36px; height: 36px; }
  .lp .lightbox-prev { left: 0.25rem; }
  .lp .lightbox-next { right: 0.25rem; }
}

/* ── Project (individual work page) ───────────────────────── */
.lp .proj-back {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--mono); font-size: 0.8rem; color: var(--mist);
  margin-top: clamp(1.5rem, 4vw, 2rem);
  transition: color 0.2s var(--ease);
}
.lp .proj-back:hover { color: var(--ink); }
.lp .proj-back svg { width: 12px; height: 12px; }

.lp .proj-head { padding-top: clamp(1.5rem, 4vw, 2.25rem); }
.lp .proj-title {
  font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.14; color: var(--ink); max-width: 18ch;
}

.lp .proj-meta {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: clamp(1.75rem, 5vw, 3.5rem);
}
.lp .proj-meta div { display: flex; flex-direction: column; gap: 0.35rem; }
.lp .proj-meta dt {
  font-family: var(--mono); font-size: 0.76rem; color: var(--mist);
}
.lp .proj-meta dd { font-family: var(--sans); font-size: 1rem; color: var(--ink); }

.lp .proj-blocks {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: flex; flex-direction: column; gap: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
/* image blocks fill their box edge to edge within the page's own
   padding — no gaps, no letterboxing, whatever the source aspect is */
.lp .proj-block--image {
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2.5px;
}
.lp .proj-block--image img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.lp .proj-block-empty { width: 100%; height: 100%; background: #858e97; }
.lp .proj-block--text {
  max-width: 42rem; font-size: 1.05rem; line-height: 1.75; color: var(--ink-80);
}
.lp .proj-block--file a {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--mono); font-size: 0.9rem; color: var(--ink);
  padding-bottom: 0.15em; border-bottom: 1px solid var(--ink-18);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lp .proj-block--file a:hover { color: var(--ember); border-color: var(--ember); }

/* ── Lab ───────────────────────────────────────────────────── */
.lp .lab-head { padding-top: clamp(2.5rem, 6vw, 4rem); }
.lp .lab-head .about-title { max-width: 26ch; }
.lp .lab-head p {
  margin-top: 1rem; max-width: 38rem; font-size: 1.05rem; line-height: 1.7; color: var(--ink-60);
}

.lp .lab-grid {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3rem);
}
.lp .lab-entry { display: block; }
.lp .lab-entry-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2.5px; }
.lp .lab-entry-media img,
.lp .lab-entry-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp .lab-entry-media .proj-block-empty {
  width: 100%; height: 100%; background: #858e97;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .lp .lab-entry:hover .proj-block-empty { transform: scale(1.045); }
}
.lp .lab-entry-cap { margin-top: 1.1rem; }
.lp .lab-entry-title { font-family: var(--sans); font-weight: 400; font-size: 1.05rem; color: var(--ink); }
.lp .lab-entry-meta {
  margin-top: 0.3rem; font-family: var(--mono); font-size: 0.76rem;
  letter-spacing: 0.02em; color: var(--mist);
}
.lp .lab-note {
  margin-top: 1rem; padding-bottom: clamp(4rem, 10vw, 7rem);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; color: var(--mist);
}

/* ── Lost (404) ────────────────────────────────────────────── */
.lp .lost {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
}
.lp .lost-head { max-width: 42rem; }
.lp .lost-head .about-title { margin: 0; }
.lp .lost-head p { margin-top: 1rem; font-size: 1.05rem; line-height: 1.65; color: var(--ink-80); }
.lp .lost-video {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  margin-top: clamp(2.5rem, 6vw, 4rem); background: #858e97; border-radius: 2.5px;
}
.lp a.lost-home.u-link {
  display: inline-flex; align-items: center; margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding: 0.5em 1.2em; border-radius: 999px; background: var(--ink); color: var(--paper);
  transition: background-color 0.2s var(--ease);
}
.lp a.lost-home.u-link:hover { background: var(--ink-80); color: var(--paper); }

/* ── Footer ────────────────────────────────────────────────── */
.lp footer.foot {
  border-top: 1px solid var(--ink-08);
  padding-block: clamp(1.5rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono); font-size: 0.8rem; color: var(--mist);
}
.lp .foot-links { display: flex; align-items: center; gap: 1.35rem; }
.lp .foot-links a { color: var(--ink-80); transition: color 0.2s var(--ease); }
.lp .foot-links a:hover { color: var(--ink); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 760px) {
  .lp .menu-btn {
    display: grid; place-items: center; width: 28px; height: 22px;
  }
  .lp .menu-bars { position: relative; width: 18px; height: 11px; }
  .lp .menu-bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
  .lp .menu-bars i:first-child { top: 0; }
  .lp .menu-bars i:last-child { bottom: 0; }
  .lp .menu.is-open .menu-bars i:first-child { transform: translateY(5px) rotate(45deg); }
  .lp .menu.is-open .menu-bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

  .lp .projects-grid { grid-template-columns: 1fr; }
  .lp .lab-grid { grid-template-columns: 1fr; }
  .lp .talk-grid { grid-template-columns: 1fr; }
  .lp .talk-side { padding-bottom: 1.75rem; border-bottom: 1px solid var(--ink-08); }

  .lp .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; width: auto;
    background: var(--paper); border-bottom: 1px solid var(--ink-08);
    padding: 0.5rem var(--g) 1.5rem;
    flex-direction: column; align-items: flex-start; gap: 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .lp .menu.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .lp .nav-links a { padding: 0.75rem 0; font-size: 1rem; }

  .lp .nav-links a.nav-disabled::after {
    top: 50%; left: 100%; transform: translateY(-50%) translateX(0.5em);
  }
  .lp .nav-links a.nav-disabled:hover::after {
    transform: translateY(-50%) translateX(0.7em);
  }
}
@media (max-width: 560px) {
  .lp .nav-id span { display: none; }
  .lp .hero-headline { font-size: 30px; }
  .lp .hero-headline .hero-break { display: none; }
  .lp .hero-headline .mobile-break { display: block; }
}
