/* Foreview Studio — clean product presentation (Apple-inspired restraint) */
:root {
  --bg: #FDFBF7;
  --bg-soft: #F6F1E7;
  --bg-dark: #16243F;
  --ink: #22304A;
  --muted: #5B6472;
  --line: #E6E0D1;
  --blue: #1F3864;
  --blue-hover: #31517F;
  --amber: #E8963A;
  --amber-deep: #B87A24;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 980px;
  --max-wide: 1120px;
  --font: "Poppins", "Avenir Next", "Montserrat", -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font-display: "Fraunces", "Georgia", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .atmosphere {
    display: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Living atmosphere — soft breath, not noise */
.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.atmosphere .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform, opacity;
  animation: breathDrift 14s var(--ease) infinite alternate;
}

.atmosphere .b1 {
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(31, 56, 100, 0.12), transparent 68%);
  animation-duration: 16s;
}

.atmosphere .b2 {
  width: min(60vw, 480px);
  height: min(60vw, 480px);
  top: 35%;
  right: -12%;
  background: radial-gradient(circle, rgba(232, 150, 58, 0.14), transparent 70%);
  animation-duration: 18s;
  animation-delay: -4s;
}

.atmosphere .b3 {
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  bottom: -10%;
  left: 30%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.04), transparent 70%);
  animation-duration: 20s;
  animation-delay: -8s;
}

@keyframes breathDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.35;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(24px, -18px, 0) scale(1.08);
    opacity: 0.4;
  }
}

main,
.nav,
.footer,
.modal {
  position: relative;
  z-index: 1;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 40px, var(--max-wide));
  margin-inline: auto;
}

/* Nav — Apple-like compact bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 40px, var(--max-wide));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 5px;
}

.logo-studio {
  font-weight: 500;
  color: var(--amber-deep);
  letter-spacing: 0.18em;
  font-size: 13px;
}

/* Statement — the tagline, performed */
.statement {
  padding: 110px 0 96px;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}

.statement-line {
  margin: 0;
  font-size: clamp(34px, 6.5vw, 72px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.st-comma {
  color: var(--amber);
}

.st-dot {
  color: var(--amber);
}

.st-pair {
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
  opacity: 0.72;
}

.statement.in-view .st-pair {
  transition: opacity 0.6s ease 0.25s, color 0.6s ease 0.25s;
  opacity: 1;
  color: var(--amber-deep);
}

/* Legacy strike utility (unused on homepage slogan) */
.st-struck {
  position: relative;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 400;
}

.st-struck::after {
  content: "";
  position: absolute;
  left: -2%;
  top: 54%;
  width: 104%;
  height: 0.09em;
  border-radius: 0.05em;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
}

.statement.in-view .st-struck::after {
  transform: scaleX(1);
}

.statement.in-view .st-struck {
  transition: opacity 0.5s ease 0.9s;
  opacity: 0.55;
}

.brand-reveal {
  background: var(--bg);
  padding: 48px 0 24px;
}

.brand-reveal img {
  display: block;
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.8;
}

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.8;
  text-decoration: none;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

@media (min-width: 834px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 28px;
  padding: 12px 22px;
  border-radius: 980px;
  border: none;
  font: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.17648;
  letter-spacing: -0.022em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s, transform 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  padding-left: 0;
  padding-right: 0;
  min-width: 0;
}

.btn-secondary:hover {
  text-decoration: underline;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  text-align: center;
  background: transparent;
}

.hero .wrap {
  animation: heroRise 1.1s var(--ease) both;
}

.hero h1 {
  font-size: clamp(40px, 7.5vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 auto 12px;
  max-width: 14ch;
  animation: heroRise 1.15s var(--ease) 0.05s both;
}

.hero .subhead {
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.19048;
  font-weight: 400;
  letter-spacing: 0.007em;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 24em;
  animation: heroRise 1.15s var(--ease) 0.12s both;
}

.hero-cta {
  margin-bottom: 56px;
  animation: heroRise 1.15s var(--ease) 0.2s both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Product stage under hero — breathes + photo */
.stage {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--amber), var(--amber)) 10px 10px / 26px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 10px 10px / 2px 26px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% - 10px) 10px / 26px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% - 10px) 10px / 2px 26px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 10px calc(100% - 10px) / 26px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 10px calc(100% - 10px) / 2px 26px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% - 10px) calc(100% - 10px) / 26px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% - 10px) calc(100% - 10px) / 2px 26px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(31, 56, 100, 0.05) 54px 55px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(31, 56, 100, 0.05) 54px 55px),
    var(--bg-soft);
  overflow: hidden;
  aspect-ratio: 21 / 10;
  position: relative;
  display: grid;
  place-items: center;
  border: none;
  padding: 26px;
  cursor: default;
  animation: stageIn 1.2s var(--ease) 0.25s both;
}

.stage-photo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}

.stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: sceneShift 14s ease-in-out infinite alternate;
}

.stage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 35%, rgba(0, 0, 0, 0.55));
  padding: 14px 16px 20px;
}

.stage-caption {
  color: #fff;
  text-align: left;
  display: grid;
  gap: 4px;
}

.stage-caption .badge {
  display: inline-flex;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.stage-caption strong {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stage-caption span {
  font-size: 14px;
  opacity: 0.85;
}

.stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.7), transparent 55%);
  animation: stageGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stageGlow {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.stage-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: var(--bg-dark);
  box-shadow:
    0 0 0 1px rgba(22, 36, 63, 0.1),
    0 30px 90px rgba(22, 36, 63, 0.22);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.5s var(--ease);
}

.stage:hover .stage-inner {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 36px 110px rgba(0, 0, 0, 0.16);
}

@keyframes breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -6px, 0) scale(1.012);
  }
}

.stage-chrome {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stage-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2d2d7;
}

.stage-chrome i:nth-child(1) {
  background: #ff5f57;
}
.stage-chrome i:nth-child(2) {
  background: #febc2e;
}
.stage-chrome i:nth-child(3) {
  background: #28c840;
}

.stage-body {
  position: absolute;
  inset: 36px 0 0;
  background: linear-gradient(165deg, #fafafa 0%, #f0f0f2 50%, #e8e8ed 100%);
  display: grid;
  place-items: center;
  padding: 24px;
}

.stage-body .mark {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  animation: markPulse 5.5s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@keyframes markPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 18px 50px rgba(0, 113, 227, 0.18);
  }
}

.stage-body .lines {
  margin-top: 28px;
  width: min(100%, 280px);
  display: grid;
  gap: 10px;
}

.stage-body .lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  transform-origin: left center;
  animation: lineBreath 4.5s ease-in-out infinite;
}

.stage-body .lines span:nth-child(1) {
  width: 42%;
  height: 12px;
  background: rgba(0, 0, 0, 0.14);
  animation-delay: 0s;
}

.stage-body .lines span:nth-child(2) {
  animation-delay: 0.25s;
}

.stage-body .lines span:nth-child(3) {
  width: 68%;
  animation-delay: 0.5s;
}

@keyframes lineBreath {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section.dark {
  background: var(--bg-dark);
  color: #f5f5f7;
}

.section.dark .muted,
.section.dark .section-copy {
  color: #a1a1a6;
}

.section.dark .filter-btn {
  color: #a1a1a6;
  border-color: #424245;
}

.section.dark .filter-btn.is-active,
.section.dark .filter-btn:hover {
  background: #f5f5f7;
  color: #1d1d1f;
  border-color: #f5f5f7;
}

.section-intro {
  text-align: center;
  margin-bottom: 56px;
}

.section-intro h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08349;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin: 0 0 12px;
}

.section-copy {
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: var(--muted);
  margin: 0 auto;
  max-width: 20em;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 980px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Media rail — Higgsfield-inspired explore strip */
.media-rail-host {
  overflow: hidden;
  margin-top: 8px;
}

.media-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc((100vw - 1120px) / 2));
  padding: 8px max(20px, calc((100vw - 1120px) / 2)) 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.media-rail::-webkit-scrollbar {
  display: none;
}

.media-card {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.4s var(--ease), filter 0.3s;
}

@media (min-width: 900px) {
  .media-card {
    flex-basis: 320px;
  }
}

.media-card:hover {
  transform: translateY(-6px);
  filter: brightness(1.03);
}

.media-card.is-hidden {
  display: none;
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  background: #e8e8ed;
  box-shadow:
    inset 0.5px 0.5px 0 rgba(255, 255, 255, 0.35),
    0 12px 36px rgba(0, 0, 0, 0.1);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.7s var(--ease);
  animation: sceneShift 16s ease-in-out infinite alternate;
}

.media-card:hover .media-frame img {
  transform: scale(1.06);
  animation-play-state: paused;
}

.media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 5px 9px;
}

.media-meta {
  padding: 14px 4px 0;
}

.media-meta h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
}

.media-meta p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.media-meta .more {
  color: var(--blue);
  font-size: 14px;
}

.rail-hint {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: -8px;
}

.rail-hint p {
  margin: 0;
}

/* Quiet project list — links only, no case-study cards */
.project-links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.project-links li {
  border-bottom: 1px solid var(--line);
}

.project-links a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 4px;
  text-decoration: none;
  color: inherit;
  transition: color 0.15s var(--ease);
}

.project-links a:hover {
  text-decoration: none;
  color: var(--blue);
}

.project-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.project-url {
  font-size: 14px;
  color: var(--muted);
}

/* People-led approach */
.people-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 734px) {
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1068px) {
  .people-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.people-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.people-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.people-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.011em;
}

.people-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.people-note {
  margin: 36px auto 0;
  max-width: 40em;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.05);
  border: 1px solid rgba(0, 113, 227, 0.1);
}

.people-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* Logos sits on soft after people — reset surface contrast */
#logos.soft .logo-cell {
  background: #fff;
}

@keyframes sceneShift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(1.2%, -0.8%, 0);
  }
}

/* Logos */
.logo-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .logo-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 32px;
    align-items: stretch;
  }
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.logo-cell {
  aspect-ratio: 1;
  border: none;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.section:not(.soft) .logo-cell {
  background: var(--bg-soft);
}

.logo-cell:hover,
.logo-cell.is-active {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.logo-cell .glyph {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-detail {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.section.soft .logo-detail {
  background: #fff;
}

.logo-detail .preview {
  flex: 1;
  min-height: 200px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  background: #1d1d1f;
  color: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.logo-detail .preview::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 55%);
  animation: stageGlow 7s ease-in-out infinite;
}

.logo-detail .preview .big {
  position: relative;
  z-index: 1;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  animation: markPulse 6s ease-in-out infinite;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 980px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.logo-detail h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: 0.009em;
}

.logo-detail .blurb {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Merch */
.merch-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .merch-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
  }
}

.merch-stage {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.merch-stage-photo {
  padding: 0;
  place-items: stretch;
}

.merch-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  max-height: 720px;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Prefer crisp downscale on retina */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: merchPhotoBreath 12s ease-in-out infinite;
}

@keyframes merchPhotoBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.025);
  }
}

.merch-photo-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(29, 29, 31, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 500;
}

.merch-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.merch-thumb {
  appearance: none;
  border: 2px solid transparent;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #e8e8ed;
  aspect-ratio: 3 / 4;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}

.merch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.merch-thumb:hover {
  transform: translateY(-2px);
}

.merch-thumb.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .merch-photo {
    animation: none;
  }
}

.merch-panel h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.007em;
  margin: 0 0 10px;
}

.merch-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
}

.swatch.is-active {
  box-shadow: 0 0 0 2px var(--blue);
}

.product-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal.is-open {
  display: grid;
}

.modal-card {
  width: min(100%, 720px);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}

.modal-preview {
  aspect-ratio: 16 / 10;
  position: relative;
  background: #e8e8ed;
  overflow: hidden;
}

.modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 28px 28px 32px;
  text-align: center;
}

.modal-body h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}

.modal-body p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.modal-close {
  appearance: none;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 980px;
  padding: 12px 22px;
  font: inherit;
  font-size: 17px;
  cursor: pointer;
}

.modal-close:hover {
  background: #e8e8ed;
}

/* CTA */
.cta-block {
  text-align: center;
  padding: 120px 0;
}

.cta-block h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.003em;
  margin: 0 0 12px;
}

.cta-block p {
  font-size: 21px;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 18em;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-soft);
  padding: 20px 0 28px;
  font-size: 12px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}


/* Demo brand marks */
.logo-cell .glyph svg { width: 36px; height: 36px; display: block; }
.preview .big svg { width: 132px; height: 132px; display: block; }


/* Layout pass — editorial hero, section indexes, reveals, navy contact, footer */
.hero {
  padding: 88px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px 64px;
  align-items: end;
  text-align: left;
  margin-bottom: 64px;
}

.hero-grid > * {
  animation: heroRise 1.15s var(--ease) both;
}

.hero-grid .hero-right {
  animation-delay: 0.12s;
}

.hero-eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.hero-grid h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(44px, 7.5vw, 92px);
  letter-spacing: -0.025em;
}

.hero-grid .subhead {
  margin: 0 0 26px;
  max-width: 26em;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-grid .hero-cta {
  justify-content: flex-start;
  margin-bottom: 0;
}

@media (max-width: 833px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 500;
  transition: background 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--blue-hover);
  text-decoration: none !important;
}

.sec-index {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Navy contact band */
.cta-block {
  background:
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(253, 251, 247, 0.045) 54px 55px),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(253, 251, 247, 0.045) 54px 55px),
    var(--bg-dark);
  color: #fdfbf7;
  padding: 110px 0 100px;
}

.cta-block h2 {
  color: #fdfbf7;
}

.cta-block p {
  color: rgba(253, 251, 247, 0.68);
}

.cta-block .btn-primary {
  background: var(--amber);
  color: #16243f;
  font-weight: 500;
}

.cta-block .btn-primary:hover {
  background: #f0a44d;
}

.cta-block .btn-secondary {
  color: #fdfbf7;
}

.cta-block .sec-index {
  color: var(--amber);
}

/* Footer */
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 44px 0 36px;
  align-items: start;
}

.footer-brand img {
  width: 260px;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-nav div {
  display: grid;
  gap: 8px;
}

.footer-nav strong {
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-nav a {
  font-size: 13px;
}

.footer .footer-row {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 18px;
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Video stability — no pan/zoom fighting the footage */
video.stage-img,
video.hero-img {
  animation: none !important;
  transform: none !important;
}


/* ============ STUNNING PASS ============ */

/* Headline line-mask reveal */
.hero-grid h1 .line {
  display: block;
  overflow: hidden;
}

.hero-grid h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-grid h1 .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

@keyframes lineUp {
  to { transform: translateY(0); }
}

/* Scroll-driven: stage grows as it enters */
@supports (animation-timeline: view()) {
  .stage {
    animation: stageGrow linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  @keyframes stageGrow {
    from { transform: scale(0.94); border-radius: 40px; }
    to { transform: scale(1); border-radius: var(--radius-lg); }
  }
  .media-frame img,
  .menu-card img {
    animation: imgSettle linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
  @keyframes imgSettle {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
  }
  .statement-line {
    animation: statementDrift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes statementDrift {
    from { transform: translateY(28px); }
    to { transform: translateY(-28px); }
  }
}

/* Brand entrance */
.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #16243F;
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease 1.35s, visibility 0s linear 1.95s;
}

.intro svg {
  width: 120px;
  height: 120px;
}

.intro-f path,
.intro-chev {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: introDraw 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.intro-f path:nth-child(2) { animation-delay: 0.22s; }
.intro-f path:nth-child(3) { animation-delay: 0.4s; }
.intro-chev { animation-delay: 0.6s; animation-duration: 0.45s; }

@keyframes introDraw {
  to { stroke-dashoffset: 0; }
}

.intro.done {
  opacity: 0;
  visibility: hidden;
}

body.intro-skip .intro {
  display: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--amber);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s;
  display: grid;
  place-items: center;
  opacity: 0;
  mix-blend-mode: multiply;
}

.cursor span {
  font-size: 0;
  font-weight: 500;
  color: #16243F;
  white-space: nowrap;
  transition: font-size 0.2s var(--ease);
}

body.has-cursor .cursor { opacity: 0.85; }

.cursor.is-view {
  width: 76px;
  height: 76px;
  background: var(--amber);
  mix-blend-mode: normal;
  opacity: 0.96;
}

.cursor.is-view span { font-size: 13px; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* Card tilt + lift */
.media-card {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transform-style: preserve-3d;
}

.media-card:hover {
  box-shadow: 0 26px 60px rgba(22, 36, 63, 0.16);
}

/* Magnetic buttons handled in JS via transform */
.btn-primary, .nav-cta {
  will-change: transform;
}


/* ============ DRAFTING-SHEET IDENTITY ============ */

/* Display serif voice for headlines */
.hero-grid h1,
.section-intro h2,
.statement-line,
.cta-block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-grid h1 {
  line-height: 1.02;
}

/* The site sits on a drafting sheet */
.sheet-frame {
  position: fixed;
  inset: 12px;
  z-index: 998;
  pointer-events: none;
  border: 1px solid rgba(31, 56, 100, 0.16);
  background:
    linear-gradient(var(--amber), var(--amber)) -1px -1px / 18px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) -1px -1px / 2px 18px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% + 1px) -1px / 18px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% + 1px) -1px / 2px 18px no-repeat,
    linear-gradient(var(--amber), var(--amber)) -1px calc(100% + 1px) / 18px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) -1px calc(100% + 1px) / 2px 18px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% + 1px) calc(100% + 1px) / 18px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) calc(100% + 1px) calc(100% + 1px) / 2px 18px no-repeat;
}

.sheet-no {
  position: absolute;
  left: -1px;
  bottom: 34px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(31, 56, 100, 0.4);
  background: var(--bg);
  padding: 10px 0;
  margin-left: -6px;
}

@media (max-width: 900px) {
  .sheet-frame { display: none; }
}
