:root {
  --bg: #ffffff; /* switched to white */
  --text: #111111; /* dark text on white */
  --muted: #666666; /* subtle gray for meta text */
  --accent: #b86b3c; /* leather/copper */
  --accent-2: #6e3c25; /* deep leather */
  --maxw: 1120px;
  --radius: 8px;
  --neon-lime: #d7ff3f;
  --electric-blue: #1e21ff;
  --font-display: 'Cinzel', Georgia, serif;
  --font-script: 'Cherish', 'Brush Script MT', cursive;
  --video-pos-y: 50%; /* center for new video */
  --heading-color: #711113; /* ruby */
}

* { box-sizing: border-box; }
html:focus-within { scroll-behavior: smooth; }
html, body { height: 100%; }
html { background: #ffffff; color: var(--text); }
body {
  margin: 0;
  font-family: var(--font-display), Georgia, "Times New Roman", serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent; /* remove tap highlights site-wide */
}
/* Inner pages background (exclude landing) */
body.inner { 
  background: #ffffff;
}
/* Show header on inner pages with persistent navigation */
body.inner .site-header { display: block !important; }

/* Add breathing room for floating Home button */
body.inner .page {
  padding-left: calc(var(--fab-size) + var(--fab-offset) + 24px);
}

@media (max-width: 360px) {
  body.inner .page {
    padding-left: calc(var(--fab-size) + var(--fab-offset) + 20px);
  }
}

/* Tear sheet layout wrap */
.ts-wrap { max-width: 520px; margin: 0 auto; }
.ts-grid { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: center; }
.ts-head { grid-column: 1; text-align: center; }
.ts-head h1, .ts-head p { white-space: nowrap; margin: 0 0 6px; }
.ts-input { grid-column: 1; }
.ts-button { grid-column: 2; }
.ts-wrap #ts-msg, .ts-wrap #ts-link-wrap { grid-column: 1; }
.ts-wrap h1 { white-space: nowrap; }
/* Ensure form controls inherit font */
input, button, select, textarea { font: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: -999px; background: var(--accent);
  color: #111; padding: 8px 12px; border-radius: 4px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header { position: sticky; top: 0; backdrop-filter: blur(6px); background: color-mix(in oklab, var(--bg) 90%, transparent); border-bottom: 1px solid rgba(0,0,0,0.06); z-index: 100; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { 
  font-family: 'Ballet', cursive; 
  font-weight: 600; 
  font-size: clamp(18px, 2.5vw, 24px); 
  color: var(--text); 
  text-decoration: none; 
  letter-spacing: 0.01em;
}
.brand:hover { color: #711113; }
/* Hamburger menu */
.menu-toggle { appearance: none; background: #ffffff; color: #111; border: 1px solid rgba(0,0,0,0.2); border-radius: 6px; padding: 8px 10px; font-size: 18px; line-height: 1; cursor: pointer; }
/* Removed - handled by site-wide focus styles */
.main-nav[hidden] { display: none; }
.site-header .wrap { position: relative; }
.main-nav { position: absolute; top: 100%; left: 20px; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; padding: 8px 12px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.main-nav ul { display: grid; gap: 6px; }
@media (min-width: 880px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .main-nav ul { display: flex; gap: 18px; }
}

.main-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.main-nav a { 
  color: var(--text); 
  text-decoration: none; 
  padding: 6px 8px; 
  border-radius: 6px; 
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.main-nav a:hover { background: rgba(255,255,255,0.06); color: #711113; }
.main-nav a[aria-current="page"] { color: #711113; font-weight: 600; }


/* Splash landing (inspired by circular buttons on reference) */
.splash-header { display: none; }
.splash { position: relative; min-height: 100svh; overflow: hidden; background: var(--bg); cursor: auto; }

/* Hero video container - fills viewport on all devices */
.hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100svh; /* safe viewport height for mobile */
  overflow: hidden;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill without distortion */
  object-position: center;
  display: block;
  filter: brightness(0.95) contrast(1.05) saturate(1.05);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* iOS Safari sometimes needs the container to be positioned */
@supports (-webkit-touch-callout: none) {
  .hero { position: relative; }
}

/* Prevent scrollbars and ensure proper viewport behavior */
html, body {
  overflow-x: hidden; /* Prevent horizontal scrollbars */
  margin: 0;
  padding: 0;
}

/* Ensure video container never causes overflow */
.hero, .hero__video {
  max-width: 100vw;
  max-height: 100vh;
}
.splash .bg-mask { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(30vw 22vw at 50% 40%, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.10) 62%, rgba(0,0,0,0.0) 75%),
  radial-gradient(90vw 70vw at 50% 30%, rgba(0,0,0,0.12), transparent 70%);
  mix-blend-mode: multiply; opacity: 0.95;
}

/* Pixel sword cursor (landing only) */
.sword-cursor { position: fixed; left: 0; top: 0; z-index: 10; width: 72px; height: 72px; pointer-events: none; transform-origin: 18px 54px; filter: drop-shadow(0 2px 0 rgba(0,0,0,0.08)) drop-shadow(0 6px 14px rgba(0,0,0,0.15)); }
.sword-cursor svg { width: 100%; height: 100%; image-rendering: pixelated; shape-rendering: crispEdges; }
@media (pointer: coarse) { .sword-cursor { display: none; } }
@media (prefers-reduced-motion: reduce) { .sword-cursor { display: none; } }

/* Illuminated letters grid */
.illuminated-grid { display: none; }

/* Chaotic marginalia menu → switched to freeform absolute positioning to match reference layout */
.marginalia-grid { position: relative; z-index: 2; min-height: 96vh; margin: 0 auto; max-width: 1400px; padding: 0 2vw; --left-col: 18vw; }
/* place items absolutely */
.m-link { --bd: var(--dur,6s); --glow: #ff00ee; position: absolute; display: grid; place-items: center; text-decoration: none; color: #111; animation: none; }
.m-link .doodle { position: relative; display: grid; place-items: center; transition: transform .3s ease, opacity .3s ease; filter: none; }
.m-link .doodle svg { width: 90%; height: 90%; filter: drop-shadow(0 6px 20px rgba(0,0,0,0.15)); animation: wiggle calc(var(--bd) * 1.1) ease-in-out infinite alternate; }
.m-link .symbol-img, .m-link .nav-icon { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18)); /* preserve original tones */ mix-blend-mode: normal; transform: scale(1); transition: transform .35s ease; opacity: 0.75; }
/* Individual placements to mimic Bianca's reference (approximate) */
/* 1) About (center drape) — centered */
.marginalia-grid .m-link:nth-child(1){ left: 50%; top: 36vh; transform: translateX(-50%); }
.marginalia-grid .m-link:nth-child(1) .nav-icon { width: clamp(380px, 46vw, 960px); height: auto; }
/* 2) Portfolio (cracked oval) — centered above Tear Sheet */
.marginalia-grid .m-link:nth-child(2){ left: var(--left-col); top: 15vh; transform: translateX(-50%); }
.marginalia-grid .m-link:nth-child(2) .nav-icon { width: clamp(120px, 14vw, 260px); height: auto; }
/* 3) Contact (tall drape) — move slightly right to clear Press */
.marginalia-grid .m-link:nth-child(3){ right: 7vw; top: 8vh; }
.marginalia-grid .m-link:nth-child(3) .nav-icon { width: clamp(130px, 12vw, 260px); height: auto; }
/* 4) Tear Sheet (short drape) — lower left; defines the center for Portfolio above */
.marginalia-grid .m-link:nth-child(4){ left: var(--left-col); top: 70vh; transform: translateX(-50%); }
.marginalia-grid .m-link:nth-child(4) .nav-icon { width: clamp(120px, 13vw, 240px); height: auto; }
/* 5) Press (long drape) — mid-right, lower than contact */
.marginalia-grid .m-link:nth-child(5){ left: 72vw; top: 44vh; }
.marginalia-grid .m-link:nth-child(5) .nav-icon { width: clamp(150px, 15vw, 320px); height: auto; }
.m-link .word { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(12px, 1.8vw, 20px); line-height: 1; letter-spacing: 0.01em; opacity: 0; transform: scale(0.98); transition: transform .25s ease, opacity .25s ease; color: #111; text-align: center; padding: 2px; text-shadow: none; background: none; -webkit-background-clip: initial; }
.m-link:hover .word, .m-link:focus .word { opacity: 1; transform: scale(1); }
.m-link:hover .doodle, .m-link:focus .doodle { opacity: 0.375; transform: scale(.96) rotate(0deg); }
.m-link:hover .word, .m-link:focus .word { opacity: 1; transform: scale(1); }

@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes glowPulse { 0%,100% { filter: drop-shadow(0 0 8px rgba(255,0,238,.3)) drop-shadow(0 0 18px rgba(255,221,0,.16)); } 50% { filter: drop-shadow(0 0 18px rgba(255,0,238,.45)) drop-shadow(0 0 34px rgba(255,221,0,.26)); } }
@keyframes wiggle { 0% { transform: translateY(0) rotate(-1deg); } 100% { transform: translateY(-2px) rotate(1deg); } }

/* Gold-leaf shimmer background */
.splash::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  radial-gradient(1200px 800px at 30% 20%, rgba(233,216,166,0.18), transparent 60%),
  radial-gradient(900px 700px at 70% 70%, rgba(176,137,104,0.16), transparent 60%),
  repeating-conic-gradient(from 0deg, rgba(255,255,255,0.06) 0 6deg, transparent 6deg 12deg);
  mix-blend-mode: overlay; animation: shimmer 12s ease-in-out infinite alternate;
}
@keyframes shimmer { 0% { filter: hue-rotate(0deg) brightness(1); } 100% { filter: hue-rotate(10deg) brightness(1.06); background-position: 0 0, 10% -6%, 0 0; } }

@media (max-width: 720px) {
  .marginalia-grid { min-height: 96vh; --left-col: 24vw; }
  /* tighten positions on small screens and keep oval centered above Tear Sheet */
  .marginalia-grid .m-link:nth-child(1){ top: 34vh; }
  .marginalia-grid .m-link:nth-child(2){ left: var(--left-col); top: 20vh; transform: translateX(-50%); }
  .marginalia-grid .m-link:nth-child(3){ right: 2vw; top: 10vh; }
  .marginalia-grid .m-link:nth-child(4){ left: var(--left-col); top: 74vh; transform: translateX(-50%); }
  .marginalia-grid .m-link:nth-child(5){ left: 68vw; top: 52vh; }
}

/* Full-screen exploding word overlay */
.word-explode { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 6; pointer-events: none; }
.word-explode .text { font-family: var(--font-display); font-weight: 800; text-transform: none; background: conic-gradient(from 0deg, #ff00ee, #ffd400, #00ffd5, #b400ff, #ff00ee); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; line-height: .92; filter: drop-shadow(0 0 20px rgba(255,0,238,.35)) drop-shadow(0 0 50px rgba(255,221,0,.25)); opacity: 0; transform: scale(.6) rotate(-1deg); }
.word-explode.show { display: flex; }
.word-explode.show .text { animation: boomIn .7s cubic-bezier(.2,.8,.2,1) forwards, glowPulse 2.6s ease-in-out infinite .7s; font-size: clamp(48px, 28vw, 300px); }
.word-explode.hide .text { animation: boomOut .45s ease forwards; }
@keyframes boomIn { 0% { opacity: 0; transform: scale(.6) rotate(-2deg); } 100% { opacity: 1; transform: scale(1.2) rotate(0deg); } }
@keyframes boomOut { 0% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(0.85); } }

/* Landing brand title — place above center drape (About) */
.ls-brand { position: absolute; top: 22vh; left: 50%; transform: translateX(-50%); z-index: 10; display: grid; place-items: center; text-align: center; pointer-events: none; width: 100%; }
.ls-author { font-family: 'Ballet', cursive; font-weight: 400; letter-spacing: 0.01em; font-size: clamp(26.1px, 3.755vw, 43.3px); color: var(--text); opacity: 0.95; text-shadow: 0 2px 10px rgba(255,255,255,0.5), 0 6px 20px rgba(0,0,0,0.18), 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.4); margin-bottom: 0; font-optical-sizing: auto; z-index: 10; position: static; }
.ls-title { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; font-style: italic; font-size: clamp(45px, 9.6vw, 128px); color: var(--heading-color); text-shadow: 0 2px 12px rgba(255,255,255,0.6), 0 8px 30px rgba(0,0,0,0.2); line-height: 0.9; }
.ls-tagline { font-family: 'Ballet', cursive; font-weight: 700; font-size: clamp(29.2px, 4.462vw, 51.5px); letter-spacing: 0.01em; color: var(--text); opacity: 0.95; text-align: center; position: static; left: auto; top: auto; transform: none; z-index: auto; padding: 0 .5rem; margin-top: 8px; text-shadow: 0 2px 8px rgba(255,255,255,0.4), 0 6px 16px rgba(0,0,0,0.12), 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.4); pointer-events: auto; }
.ls-sub { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; font-size: clamp(14px, 2.6vw, 28px); color: var(--text); opacity: 0.9; text-shadow: 0 2px 10px rgba(255,255,255,0.5), 0 6px 20px rgba(0,0,0,0.18); margin-top: 2px; }

/* Enter button */
.enter-button {
  position: absolute;
  bottom: 15vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Ballet', cursive;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(255,255,255,0.4), 0 6px 16px rgba(0,0,0,0.12), 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  z-index: 10;
}

.enter-button:hover,
.enter-button:focus {
  transform: translateX(-50%);
  text-shadow: 0 2px 8px rgba(255,255,255,0.4), 0 6px 16px rgba(0,0,0,0.12);
}

/* Enter glove button */
.enter-glove {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
}

.enter-glove img {
  width: clamp(56px, 7.2vw, 92px);
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18));
  transition: all 0.3s ease;
}

.enter-glove:hover img,
.enter-glove:focus img {
  transform: none;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18));
}

/* Back link for inner pages */
.back-link {
  font-family: var(--font-display);
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-link:hover,
.back-link:focus {
  background: #f5f5f5;
  color: #333;
  border-color: #ccc;
}

.bubbles { position: relative; z-index: 2; height: 100vh; }
.bubble { position: absolute; display: grid; place-items: center; width: clamp(120px, 14vw, 180px); aspect-ratio: 1/1; border-radius: 50%; text-decoration: none; text-align: center; line-height: 1.1; font-style: italic; font-weight: 700; letter-spacing: 0.02em; color: #111; box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 -4px 8px rgba(0,0,0,0.25); border: 1.5px solid rgba(0,0,0,0.35); transform: translateZ(0); animation: float 10s ease-in-out infinite; font-family: var(--font-display); }
.bubble span { padding: 0 10px; filter: drop-shadow(0 1px 0 rgba(255,255,255,0.35)); }
.bubble.lime { background: var(--neon-lime); }
.bubble.blue { background: var(--electric-blue); color: #f7f6f2; border-color: rgba(0,0,0,0.25); }
.bubble:hover, .bubble:focus { outline: 3px solid rgba(255,255,255,0.35); outline-offset: 2px; transform: translateY(-2px); }

/* Desktop positions */
.pos-tl { top: 12vh; left: max(32px, 6vw); animation-delay: -1s; }
.pos-tr { top: 14vh; right: max(32px, 6vw); animation-delay: -5s; }
.pos-bl { bottom: 12vh; left: max(32px, 10vw); animation-delay: -3s; }
.pos-br { bottom: 10vh; right: max(32px, 10vw); animation-delay: -7s; }

@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes glowPulse { 0%,100% { filter: drop-shadow(0 0 8px rgba(255,0,238,.3)) drop-shadow(0 0 18px rgba(255,221,0,.16)); } 50% { filter: drop-shadow(0 0 18px rgba(255,0,238,.45)) drop-shadow(0 0 34px rgba(255,221,0,.26)); } }
@keyframes wiggle { 0% { transform: translateY(0) rotate(-3deg) scale(1); } 100% { transform: translateY(-5px) rotate(3deg) scale(1.04); } }
/* removed hueDance: icons keep their native color */

/* Central heart CTA */
.heart-cta { position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%); z-index: 2; text-decoration: none; color: var(--text); }
.heart-shape { position: relative; width: clamp(180px, 24vw, 300px); height: clamp(160px, 20vw, 240px); background: rgba(0,0,0,0.1); display: block; transform: rotate(-10deg); filter: drop-shadow(0 12px 30px rgba(0,0,0,0.1)); }
.heart-shape::before, .heart-shape::after {
  content: ""; position: absolute; width: 50%; height: 60%; background: inherit; border-radius: 50%; top: -28%;
}
.heart-shape::before { left: 0; }
.heart-shape::after { right: 0; }
.heart-text { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(14px, 1.6vw, 18px); color: #e6e1d8; letter-spacing: 0.02em; }
.heart-cta:focus-visible .heart-shape { outline: 3px solid var(--accent); }

/* Hide default hero styles no longer used */
.splash::before { content: none !important; }

/* Landing mirror */
.landing-mirror {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(400px, 50vw, 800px);
  height: auto;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

/* Landing layout overrides for 5 icons */
/* About centered under title (exactly below Love Story) */
.marginalia-grid .m-link:nth-child(1){ grid-column: 2; grid-row: 1; align-self: start; justify-self: center; margin-top: 0; }
/* Top row left/right */
.marginalia-grid .m-link:nth-child(2){ grid-column: 1; grid-row: 2; align-self: start; justify-self: end;   margin-top: -2vh; }
.marginalia-grid .m-link:nth-child(3){ grid-column: 3; grid-row: 2; align-self: start; justify-self: start; margin-top: -2vh; }
/* Bottom row raised within viewport */
.marginalia-grid .m-link:nth-child(4){ grid-column: 1; grid-row: 3; align-self: start; justify-self: start; margin-top: -22vh; }
.marginalia-grid .m-link:nth-child(5){ grid-column: 3; grid-row: 3; align-self: start; justify-self: end;   margin-top: -22vh; }

/* Title stack adjustments */
/* remove older size override; size now set above */
.hero-inner, .hero-title, .hero-sub, .hero-actions, .hero-graphic { display: none; }

.hero-graphic {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 70% 30%, rgba(184,107,60,0.15), transparent 60%),
    radial-gradient(800px 400px at 30% 70%, rgba(110,60,37,0.18), transparent 55%),
    radial-gradient(100% 100% at 50% 50%, rgba(255,255,255,0.05), transparent 70%);
}

.site-footer { display: none; }
.site-footer .wrap { padding: 24px 20px; color: var(--muted); }

/* Generic page styles */
.page { padding: 48px 0 80px; }
.page h1 { font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: 0.02em; font-size: clamp(26px, 3.6vw, 36px); margin: 0 0 16px; color: var(--heading-color); }
.page p { max-width: 70ch; }

/* Portfolio grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }

/* Press Layout - matching portfolio structure */
.press-layout {
  display: grid;
  grid-template-areas: 
    "title title"
    "space grid";
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 32px 48px;
  margin-top: 32px;
  padding-left: 120px;
}

.press-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0;
  color: var(--heading-color);
  grid-area: title;
}

/* Contact Layout - matching portfolio structure */
.contact-layout {
  display: grid;
  grid-template-areas: 
    "title title"
    "space content";
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 32px 48px;
  margin-top: 32px;
  padding-left: 120px;
}

.contact-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0;
  color: var(--heading-color);
  grid-area: title;
}

.contact-content {
  grid-area: content;
}

/* About Layout - matching portfolio structure */
.about-layout {
  display: grid;
  grid-template-areas: 
    "title title"
    "space content";
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 32px 48px;
  margin-top: 32px;
  padding-left: 120px;
}

.about-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0;
  color: var(--heading-color);
  grid-area: title;
}

.about-content {
  grid-area: content;
  padding-right: 24px;
}

/* Press grid */
.press-grid {
  grid-area: grid;
  column-count: 2;
  column-gap: 18px;
  width: 100%;
  padding-right: 24px;
}

.press-item {
  width: 100%;
  margin-bottom: 18px;
  break-inside: avoid;
}

.press-pdf {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border: none;
  outline: none;
}

/* Mobile responsive for press grid */
@media (max-width: 768px) {
  .press-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 20px;
  }
  
  .press-title {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
  }
  
  .press-grid {
    column-count: 1;
    column-gap: 16px;
    padding-right: 20px;
  }
}
.card { position: relative; border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius); overflow: hidden; background: #fafafa; }
.card .ph { display: grid; place-items: center; aspect-ratio: 4/3; color: var(--muted); font-size: 14px; background: #f2f2f2; }
.card figcaption { padding: 10px 12px; color: var(--muted); font-size: 14px; border-top: 1px solid rgba(0,0,0,0.06); }

/* New Portfolio Layout */
.portfolio-layout {
  display: grid;
  grid-template-areas: 
    "title title"
    "space grid";
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 32px 48px;
  margin-top: 32px;
  padding-left: 120px;
}

.portfolio-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0;
  color: var(--heading-color);
  grid-area: title;
}

.portfolio-grid {
  grid-area: grid;
  padding-right: 24px;
}

.portfolio-grid {
  column-count: 2;
  column-gap: 18px;
  width: 100%;
  padding-right: 24px;
}

.portfolio-item {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  break-inside: avoid;
  opacity: 0;
  background: #f5f5f5;
  transition: opacity 0.3s ease;
}

.portfolio-item.loaded {
  opacity: 1;
}

.portfolio-item.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Video styling to look like photo with play button */
.video-container {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
  break-inside: avoid;
}

.video-container .portfolio-item {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  opacity: 0;
  background: #f5f5f5;
  transition: opacity 0.3s ease;
}

.video-container .portfolio-item.loaded {
  opacity: 1;
}

.video-container .portfolio-item.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s ease;
}

.play-button:hover {
  opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .portfolio-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 0px !important;
  }
  
  .portfolio-title {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
    padding-left: 20px;
  }
  
  .portfolio-grid {
    column-count: 1;
    column-gap: 0;
    padding-right: 20px;
  }
  
  .portfolio-item {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    break-inside: avoid;
  }
  
  /* Contact page mobile padding */
  .contact-layout {
    padding-left: 0px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* About page mobile padding */
  .about-layout {
    display: block !important;
    padding-left: 0px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 8px !important;
  }
  
  .about-content {
    padding-left: 0px !important;
    margin-left: 0px !important;
  }
  
  /* Press page mobile padding */
  .press-layout {
    padding-left: 0px !important;
    padding-right: 20px !important;
  }
  
  .press-title {
    text-align: left;
    padding-left: 20px;
  }
  
  /* Tearsheet page mobile padding */
  .tearsheet-layout {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Tearsheet form mobile padding */
  .ts-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Home-fab positioning handled by main .home-fab rule */
  
  /* Mobile landing page fixes */
  .splash {
    position: relative !important;
    overflow: hidden !important;
    min-height: 100svh !important; /* Ensure safe viewport height on mobile */
  }
  
  /* Hero video mobile optimization */
  .hero {
    min-height: 100svh !important; /* Safe viewport height for mobile */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .hero__video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
  }
  
  /* Make Enter button bolder on mobile */
  .enter-button {
    font-weight: 900 !important;
  }
  
  /* Ensure enter-glove is visible on mobile */
  .enter-glove {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    bottom: 8vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 15 !important;
  }
  
  .landing-mirror {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: clamp(300px, 80vw, 600px) !important;
    height: auto !important;
    z-index: 5 !important;
    pointer-events: none !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
  }
  
  .ls-brand {
    position: absolute !important;
    top: 32vh !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: block !important;
    text-align: center !important;
    pointer-events: none !important;
    width: 100% !important;
    max-width: 90vw !important;
  }
  
  .ls-author {
    font-family: 'Ballet', cursive !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    font-size: clamp(27.1px, 3.855vw, 44.3px) !important;
    color: var(--text) !important;
    opacity: 0.95 !important;
    text-shadow: 0 2px 10px rgba(255,255,255,0.5), 0 6px 20px rgba(0,0,0,0.18), 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.4) !important;
    margin-bottom: 8px !important;
    font-optical-sizing: auto !important;
    z-index: 10 !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
  }
  
  .ls-tagline {
    font-family: 'Ballet', cursive !important;
    font-weight: 700 !important;
    font-size: clamp(31.2px, 4.662vw, 53.5px) !important;
    letter-spacing: 0.01em !important;
    color: var(--text) !important;
    opacity: 0.95 !important;
    text-align: center !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    padding: 0 .5rem !important;
    margin-top: 0 !important;
    text-shadow: 0 2px 8px rgba(255,255,255,0.4), 0 6px 16px rgba(0,0,0,0.12), 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.4) !important;
    pointer-events: auto !important;
    display: block !important;
    width: 100% !important;
  }
  
  
  .ls-author {
    font-family: 'Ballet', cursive !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em !important;
    font-size: clamp(27.1px, 3.855vw, 44.3px) !important;
    color: var(--text) !important;
    opacity: 0.95 !important;
    text-shadow: 0 2px 10px rgba(255,255,255,0.5), 0 6px 20px rgba(0,0,0,0.18) !important;
    margin-bottom: 8px !important;
    font-optical-sizing: auto !important;
    z-index: 10 !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
  }

  .ls-title {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    font-style: italic !important;
    font-size: clamp(48px, 9.8vw, 131px) !important;
    color: var(--heading-color) !important;
    text-shadow: 0 2px 12px rgba(255,255,255,0.6), 0 8px 30px rgba(0,0,0,0.2) !important;
    line-height: 0.9 !important;
    margin: 0 0 8px 0 !important;
    display: block !important;
    width: 100% !important;
  }

  .ls-tagline {
    font-family: 'Ballet', cursive !important;
    font-weight: 700 !important;
    font-size: clamp(31.2px, 4.662vw, 53.5px) !important;
    letter-spacing: 0.01em !important;
    color: var(--text) !important;
    opacity: 0.95 !important;
    text-align: center !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: auto !important;
    padding: 0 .5rem !important;
    margin-top: 0 !important;
    text-shadow: 0 2px 8px rgba(255,255,255,0.4), 0 6px 16px rgba(0,0,0,0.12) !important;
    pointer-events: auto !important;
    display: block !important;
    width: 100% !important;
  }
  
  /* Ensure tearsheet form is properly spaced on mobile */
  .ts-wrap {
    max-width: 100vw !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  
  /* Force mobile layout for tearsheet grid */
  .ts-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: center !important;
    justify-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure unlock button is visible on mobile */
  .ts-button {
    display: block !important;
    width: 60px !important;
    height: auto !important;
    margin: 0 auto !important;
    grid-column: 1 !important;
  }
  
  .ts-button img {
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile-specific tearsheet layout */
  .tearsheet-layout .ts-input {
    width: 90% !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    grid-column: 1 !important;
    box-sizing: border-box !important;
  }
  
  .tearsheet-layout .ts-head {
    text-align: center !important;
    margin-bottom: 20px !important;
    grid-column: 1 !important;
    width: 100% !important;
  }
  
  .tearsheet-layout .ts-head h1 {
    font-size: 24px !important;
    margin: 0 0 10px 0 !important;
  }
  
  .tearsheet-layout .ts-head p {
    font-size: 14px !important;
    margin: 0 !important;
  }
  
  /* Force all tearsheet elements to single column */
  .tearsheet-layout .ts-msg,
  .tearsheet-layout .ts-link-wrap {
    grid-column: 1 !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  /* Ensure main container doesn't overflow */
  .tearsheet-layout {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 0 !important;
  }
  
  .tearsheet-layout main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
  }
}

/* Links */
a { color: #0645ad; }
/* Removed - handled by site-wide focus styles */

/* Home floating button on inner pages */
:root { 
  --fab-size: 56px; 
  --fab-offset: 16px;
}

.home-fab { 
  position: fixed; 
  left: max(var(--fab-offset), env(safe-area-inset-left)); 
  bottom: max(var(--fab-offset), env(safe-area-inset-bottom)); 
  z-index: 200; 
  display: inline-grid; 
  align-items: center; 
  justify-items: center; 
  text-decoration: none; 
  background: transparent; 
  border: 0; 
  padding: 0; 
  gap: 2px;
}

.home-fab .home-label { 
  display: none; /* Hide the text label */
}

.home-fab img { 
  width: clamp(32px, 4vw, 48px); 
  height: auto; 
  display: block; 
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)); 
  transform: scaleX(-1); /* Mirror horizontally to point left */
}

.home-fab:hover img, .home-fab:focus img { transform: scaleX(-1); }

/* Reduce size on very small viewports */
@media (max-width: 360px) {
  :root { 
    --fab-size: 48px; 
    --fab-offset: 12px;
  }
  
  .home-fab .home-label { 
    display: none; /* Hide text on small screens too */
  }
  
  .home-fab img { 
    width: 28px; 
  }
}

/* Right-side page icon on inner pages */
.page-icon-right { position: fixed; right: 2vw; top: 28vh; width: clamp(120px, 18vw, 340px); height: auto; z-index: 2; pointer-events: none; filter: drop-shadow(0 10px 26px rgba(0,0,0,0.18)); opacity: 0.92; }
.page-icon-right.high { top: 8vh; }
.page-icon-right.top { top: 2vh; }
.page-icon-right.about-drape { top: 48vh; transform: translate(55%, -120%) scale(1.875); transform-origin: right center; }
.page-icon-right.up35 { transform: translateY(-35%); }

/* Buttons */
.cta { display: inline-block; background: var(--accent); color: #100a07; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-family: var(--font-display); letter-spacing: 0.02em; }
.cta:hover, .cta:focus { filter: brightness(1.05); box-shadow: 0 6px 20px rgba(184,107,60,0.35); }
.cta.ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.cta.ghost:hover, .cta.ghost:focus { background: rgba(255,255,255,0.06); }

/* Icon button (used for tear sheet unlock) */
.icon-btn { background: transparent; border: 0; padding: 0; cursor: pointer; line-height: 0; }
/* Removed - handled by site-wide focus styles */

@media (max-width: 720px) {
  .site-header .wrap { gap: 12px; }
  .main-nav ul { flex-wrap: wrap; justify-content: flex-end; }
  .bubble { width: 130px; }
  .pos-tl, .pos-tr, .pos-bl, .pos-br { position: static; margin: 20px auto; display: block; }
  .bubbles { display: grid; place-items: center; grid-auto-rows: min-content; padding-top: 24vh; height: auto; gap: 16px; }
  .heart-cta { position: static; transform: none; display: grid; place-items: center; margin: 10vh auto 8vh; }
}

/* Exploding word overlay (bigger, wilder) */
/* remove explosive overlay visuals */
@keyframes boomIn { 0% { opacity: 0; transform: scale(.55) rotate(-2deg); } 100% { opacity: 1; transform: scale(1.8) rotate(0deg); } }
@keyframes boomOut { 0% { opacity: 1; transform: scale(1.8); } 100% { opacity: 0; transform: scale(0.8); } }

/* Snail cursor follower */
body.snail-on .splash { cursor: none; }
.snail-cursor { position: fixed; left: 0; top: 0; z-index: 8; width: 96px; height: 58px; pointer-events: none; background: center/contain no-repeat; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.24)); transform-origin: 24px 36px; }
@media (pointer: coarse) { body.snail-on .splash { cursor: auto; } .snail-cursor { display: none; } }
@media (prefers-reduced-motion: reduce) { body.snail-on .splash { cursor: auto; } .snail-cursor { display: none; } }

/* Custom click animations and focus styles - site-wide */
button, .btn, .icon-btn, .enter-button, .enter-glove, .back-link, .home-fab, .cta, .m-link, .bubble, .heart-cta, .menu-toggle, .main-nav a, .ts-button, .play-button {
  -webkit-tap-highlight-color: transparent; /* remove gray box on iOS */
  outline: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
  cursor: pointer;
}

button:focus, .btn:focus, .icon-btn:focus, .enter-button:focus, .enter-glove:focus, .back-link:focus, .home-fab:focus, .cta:focus, .m-link:focus, .bubble:focus, .heart-cta:focus, .menu-toggle:focus, .main-nav a:focus, .ts-button:focus, .play-button:focus {
  outline: none;
}

button:focus-visible, .btn:focus-visible, .icon-btn:focus-visible, .enter-button:focus-visible, .enter-glove:focus-visible, .back-link:focus-visible, .home-fab:focus-visible, .cta:focus-visible, .m-link:focus-visible, .bubble:focus-visible, .heart-cta:focus-visible, .menu-toggle:focus-visible, .main-nav a:focus-visible, .ts-button:focus-visible, .play-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.4); /* custom accessible focus */
  border-radius: 6px;
}

button:active, .btn:active, .icon-btn:active, .enter-button:active, .enter-glove:active, .back-link:active, .home-fab:active, .cta:active, .m-link:active, .bubble:active, .heart-cta:active, .menu-toggle:active, .main-nav a:active, .ts-button:active, .play-button:active {
  transform: scale(1.05);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  button, .btn, .icon-btn, .enter-button, .enter-glove, .back-link, .home-fab, .cta, .m-link, .bubble, .heart-cta, .menu-toggle, .main-nav a, .ts-button, .play-button {
    transition: none;
  }
  
  button:active, .btn:active, .icon-btn:active, .enter-button:active, .enter-glove:active, .back-link:active, .home-fab:active, .cta:active, .m-link:active, .bubble:active, .heart-cta:active, .menu-toggle:active, .main-nav a:active, .ts-button:active, .play-button:active {
    transform: none;
  }
}

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }
.nav-icon { width: clamp(160px, 18vw, 280px); height: auto; display: block; color: #222; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18)); }
.nav-icon:hover { color: #6b7280; }
.page-icon-right.overshoot { transform: translateX(30%) scale(1.5); transform-origin: right center; }
