/* Gabriel Vieira Costa — v2 */

:root {
  /* palette — deep ocean */
  --ink: #050810;
  --ink-2: #0a0e1a;
  --ink-3: #0f1524;
  --abyss: #081426;
  --deep: #0e2a4a;
  --mid: #1e4a78;
  --surface: #4a7aa8;
  --glacial: #b8cfe0;
  --paper: #e8edf3;
  --foam: #f5f7fa;
  --accent: oklch(0.78 0.11 210);
  --accent-2: oklch(0.62 0.14 240);

  --hair: rgba(184, 207, 224, 0.12);
  --hair-2: rgba(184, 207, 224, 0.22);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* density — set by JS */
  --sp: 1;
}

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

html, body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, #0a1628 0%, var(--ink) 60%, var(--ink) 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--ink); }

/* --- scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(184,207,224,.18); border-radius: 3px; }

/* --- custom cursor --- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--foam);
  border-radius: 50%;
  transition: opacity .2s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(245,247,250,.5);
  border-radius: 50%;
  transition: width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--foam);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============= TYPOGRAPHY ============= */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.display-roman {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surface);
  font-weight: 400;
}
.body-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--glacial);
  font-weight: 300;
  text-wrap: pretty;
}

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--foam);
}
.nav > * { pointer-events: auto; }
.nav-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.nav-mark em { font-style: italic; font-weight: 300; }
.nav-mark img {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 8px rgba(5,8,16,.35));
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a { opacity: .65; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: .5px solid rgba(245,247,250,.35);
  border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
}
.nav-cta:hover { background: var(--foam); color: var(--ink); border-color: var(--foam); }

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foam);
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 4px 7px;
  opacity: 0.5;
  transition: opacity .2s;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1;
}
.lang-switch button + button { border-left: .5px solid currentColor; padding-left: 9px; margin-left: 2px; }
.lang-switch button:hover { opacity: .85; }
.lang-switch button.active { opacity: 1; }
@media (max-width: 640px) {
  .nav-right { gap: 10px; }
  .lang-switch { font-size: 9.5px; }
}

/* ============= DEPTH GAUGE (left rail) ============= */
.depth-gauge {
  position: fixed;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--surface);
}
.gauge-line {
  width: 1px;
  height: 52vh;
  background: linear-gradient(180deg, transparent 0%, var(--hair-2) 15%, var(--hair-2) 85%, transparent 100%);
  position: relative;
}
.gauge-indicator {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(120, 180, 220, .15), 0 0 18px var(--accent);
  transition: top .6s cubic-bezier(.2, .8, .2, 1);
  top: 0%;
}
.gauge-readout {
  position: absolute;
  left: 18px;
  transform: translateY(-50%);
  white-space: nowrap;
  transition: top .6s cubic-bezier(.2, .8, .2, 1);
}
.gauge-readout .big {
  font-size: 11px;
  color: var(--foam);
  letter-spacing: 0.06em;
}
.gauge-readout .sub {
  font-size: 8.5px;
  opacity: .55;
  margin-top: 2px;
}
@media (max-width: 900px) { .depth-gauge { display: none; } }

/* ============= HERO (full-bleed) ============= */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--ink-2);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
  animation: heroDrift 20s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,16,.55) 0%, rgba(5,8,16,.05) 22%, rgba(5,8,16,.0) 55%, rgba(5,8,16,.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(5,8,16,0) 55%, rgba(5,8,16,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-image-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,247,250,.8);
  background: rgba(5,8,16,.45);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border: .5px solid rgba(245,247,250,.15);
  border-radius: 2px;
}

.hero-left {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 40px 60px 60px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,247,250,.75);
}
.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 0;
  max-width: 760px;
}
.hero-sub { text-shadow: 0 1px 20px rgba(5,8,16,.4); }
.hero-name {
  font-size: clamp(56px, 7.5vw, 130px);
  color: var(--foam);
  margin-top: 28px;
}
.hero-name-logo {
  display: block;
  margin-top: 24px;
  line-height: 1;
  max-width: 100%;
}
.hero-name-logo img {
  display: block;
  height: clamp(140px, 22vw, 340px);
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 24px rgba(5,8,16,.55));
}
.hero-name .l1 { display: block; font-weight: 400; }
.hero-name .l2 {
  display: block;
  font-style: italic;
  font-weight: 300;
  margin-left: 0.1em;
  opacity: .85;
  color: var(--glacial);
}
.hero-sub {
  margin-top: 32px;
  max-width: 520px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--glacial);
  font-weight: 300;
  text-wrap: pretty;
}
.hero-foot {
  display: flex;
  align-items: end;
  gap: 48px;
  padding-top: 28px;
  border-top: .5px solid rgba(184,207,224,.25);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat .n {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--foam);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat .n em { font-style: italic; font-weight: 300; }
.hero-stat .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface);
  margin-top: 6px;
}
.hero-scroll {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface);
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--surface) 0%, transparent 100%);
  animation: scroll-line 2.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(.3); opacity: .4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (max-width: 1000px) {
  .hero-left { padding: 32px 24px 48px; }
  .hero-foot { flex-wrap: wrap; gap: 24px; }
  .hero-center { max-width: 100%; }
}

/* ============= DESCENT CHAPTERS ============= */
.descent {
  position: relative;
  padding: 0;
}
.chapter {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 40px 120px 120px;
  overflow: hidden;
}
.chapter-copy { max-width: 520px; }
.chapter-depth {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chapter-depth::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}
.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--foam);
}
.chapter-title em { font-style: italic; font-weight: 300; }
.chapter-body {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--glacial);
  font-weight: 300;
  max-width: 440px;
  text-wrap: pretty;
}
.chapter-meta {
  margin-top: 32px;
  display: flex;
  gap: 32px;
  padding-top: 20px;
  border-top: .5px solid var(--hair);
}
.chapter-meta > div { display: flex; flex-direction: column; gap: 2px; }
.chapter-meta .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
}
.chapter-meta .v {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--paper);
  font-weight: 400;
}

.chapter-media {
  position: relative;
  aspect-ratio: 4/3;
  max-height: 80vh;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink-2);
}
.chapter-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(5,8,16,.35));
  pointer-events: none;
}
.chapter-media img,
.chapter-media .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.chapter:hover .chapter-media img,
.chapter:hover .chapter-media .ph { transform: scale(1.04); }
.chapter-media-caption {
  position: absolute;
  left: 20px; bottom: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,247,250,.7);
  z-index: 2;
}

/* reversed chapter */
.chapter.flip { grid-template-columns: 1fr 1fr; padding-left: 40px; padding-right: 120px; }
.chapter.flip .chapter-media { order: -1; }

/* wide chapter */
.chapter.wide {
  grid-template-columns: 1fr;
  padding: 200px 40px;
  text-align: center;
  justify-items: center;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.chapter-wide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.chapter-wide-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: blur(2px) saturate(.8) contrast(1.05);
  transform: scale(1.04);
}
.chapter-wide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, transparent 0%, var(--ink) 85%),
    linear-gradient(180deg, var(--ink) 0%, transparent 20%, transparent 80%, var(--ink) 100%);
}
.chapter.wide > .chapter-copy { position: relative; z-index: 1; }
.chapter.wide .chapter-copy { max-width: 720px; text-align: center; }
.chapter.wide .chapter-depth { justify-content: center; }
.chapter.wide .chapter-depth::before { display: none; }
.chapter.wide .chapter-body { max-width: 600px; margin-left: auto; margin-right: auto; }
.chapter.wide .chapter-meta { justify-content: center; }

@media (max-width: 900px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; padding: 80px 24px; gap: 40px; }
  .chapter.flip .chapter-media { order: 0; }
}

/* ============= SECTION HEADER ============= */
.section-head {
  padding: 120px 40px 60px 120px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  align-items: start;
  border-top: .5px solid var(--hair);
}
.section-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section-num .label { color: var(--foam); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--foam);
  max-width: 14ch;
}
.section-head h2 em { font-style: italic; font-weight: 300; }
@media (max-width: 900px) {
  .section-head { padding: 80px 24px 40px; grid-template-columns: 1fr; gap: 20px; }
}

/* ============= ABOUT ============= */
.about {
  padding: 40px 40px 120px 120px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  background: var(--ink-2);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.02);
}
.about-portrait .tag {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foam);
  background: rgba(5,8,16,.5);
  backdrop-filter: blur(10px);
  padding: 7px 10px;
  border: .5px solid var(--hair-2);
  border-radius: 2px;
}
.about-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--glacial);
  font-weight: 300;
  text-wrap: pretty;
  margin-bottom: 20px;
}
.about-copy p strong {
  color: var(--foam);
  font-weight: 400;
}
.about-copy p em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--foam);
  font-size: 1.05em;
}
.stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border-top: .5px solid var(--hair-2);
  border-bottom: .5px solid var(--hair-2);
}
.stat {
  padding: 24px 20px 20px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat .n {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--foam);
}
.stat .n em { font-style: italic; font-weight: 300; }
.stat .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
}
@media (max-width: 900px) {
  .about { padding: 40px 24px 80px; grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============= AWARDS ============= */
.awards {
  padding: 0 40px 120px 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border-top: .5px solid var(--hair-2);
}
.award {
  padding: 40px 28px;
  background: var(--ink);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .35s;
  cursor: default;
}
.award:hover { background: var(--ink-2); }
.award-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.award-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--foam);
  margin-top: 20px;
}
.award-title em { font-style: italic; font-weight: 300; }
.award-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--glacial);
  font-weight: 300;
  margin-top: 16px;
  text-wrap: pretty;
}
.award-year {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--surface);
  padding-top: 20px;
}
@media (max-width: 900px) {
  .awards { padding: 0 24px 80px; grid-template-columns: 1fr 1fr; }
}

/* ============= PORTFOLIO ============= */
.portfolio {
  padding: 0 0 120px;
}
.expedition {
  padding: 60px 40px 60px 120px;
  border-top: .5px solid var(--hair);
}
.expedition-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.expedition-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.expedition-loc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.expedition-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--foam);
  margin-top: 8px;
}
.expedition-title em { font-style: italic; font-weight: 300; }
.expedition-info {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.expedition-info .count { color: var(--paper); }

.expedition-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 40px 20px 0;
  margin-right: -40px;
  scrollbar-width: none;
}
.expedition-rail::-webkit-scrollbar { display: none; }
.rail-item {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 420px);
  scroll-snap-align: start;
  cursor: default;
}
.rail-item .frame {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  background: var(--ink-2);
}
.rail-item .frame img,
.rail-item .frame .ph {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.rail-item:hover .frame img,
.rail-item:hover .frame .ph { transform: scale(1.05); }
.rail-item .cap {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.rail-item .cap-t {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--foam);
  letter-spacing: -0.01em;
}
.rail-item .cap-t em { font-style: italic; font-weight: 300; }
.rail-item .cap-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--surface);
}

@media (max-width: 900px) {
  .expedition { padding: 40px 24px; }
  .expedition-head { grid-template-columns: 1fr; }
  .expedition-info { text-align: left; }
}

/* ============= MARQUEE ============= */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: .5px solid var(--hair);
  border-bottom: .5px solid var(--hair);
  padding: 40px 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--foam);
  user-select: none;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 45s linear infinite;
  gap: 40px;
}
.marquee-track span { white-space: nowrap; padding-right: 40px; }
.marquee-track .sep { color: var(--accent); font-style: italic; font-weight: 300; }
.marquee-track em { font-style: italic; font-weight: 300; opacity: .75; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============= PRESS / MEDIA ============= */
.press {
  padding: 0 40px 120px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--hair);
  border-top: .5px solid var(--hair-2);
}
.press-item {
  background: var(--ink);
  padding: 28px 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .3s;
}
.press-item:hover { background: var(--ink-2); }
.press-visual {
  aspect-ratio: 4/3;
  background: var(--ink-3);
  border: .5px solid var(--hair);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.press-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.press-item:hover .press-visual img { transform: scale(1.04); }
.press-visual .ph-inner {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(184,207,224,.04) 0 6px, transparent 6px 12px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.press-visual .ph-inner span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
  padding: 6px 10px;
  border: .5px solid var(--hair-2);
  background: rgba(5,8,16,.6);
}
.press-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.press-t {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--foam);
}
.press-t em { font-style: italic; font-weight: 300; }
.press-s {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--glacial);
  line-height: 1.5;
  font-weight: 300;
}
@media (max-width: 900px) {
  .press { padding: 0 24px 80px; grid-template-columns: 1fr; }
}

/* ============= CONTACT ============= */
.contact {
  padding: 160px 40px 120px 120px;
  border-top: .5px solid var(--hair);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--foam);
  max-width: 14ch;
}
.contact h2 em { font-style: italic; font-weight: 300; }
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
}
.contact-btn {
  padding: 18px 24px;
  border: .5px solid var(--hair-2);
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  transition: background .3s, border-color .3s, color .3s;
  gap: 20px;
}
.contact-btn:hover {
  background: var(--foam);
  color: var(--ink);
  border-color: var(--foam);
}
.contact-btn .arrow { transition: transform .3s; }
.contact-btn:hover .arrow { transform: translateX(6px); }

@media (max-width: 900px) {
  .contact { padding: 100px 24px 80px; grid-template-columns: 1fr; }
}

/* ============= FOOTER ============= */
.footer-nets-wrap {
  padding: 0 40px 80px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border-top: .5px solid var(--hair-2);
  border-bottom: .5px solid var(--hair-2);
}
.footer-nets-wrap .fnet {
  border: 0;
  border-radius: 0;
  background: var(--ink);
  padding: 28px 22px;
  min-height: 200px;
  transition: background .3s;
}
.footer-nets-wrap .fnet:hover { background: var(--ink-2); border-color: transparent; }
@media (max-width: 1100px) { .footer-nets-wrap { grid-template-columns: repeat(2, 1fr); padding: 0 24px 60px; } }
@media (max-width: 640px) { .footer-nets-wrap { grid-template-columns: 1fr; } }

.footer {
  padding: 40px 40px 40px 120px;
  border-top: .5px solid var(--hair);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}
.footer-mark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--foam);
  letter-spacing: -0.01em;
}
.footer-mark em { font-style: italic; font-weight: 300; }
.footer-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surface);
  margin-top: 8px;
}

.footer-nets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fnet {
  padding: 20px;
  border: .5px solid var(--hair);
  border-radius: 2px;
  transition: border-color .3s;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.fnet:hover { border-color: var(--hair-2); }
.fnet-k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.fnet-t {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--foam);
  letter-spacing: -0.01em;
}
.fnet-t em { font-style: italic; font-weight: 300; }
.fnet-s {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--glacial);
  line-height: 1.5;
  font-weight: 300;
}
.fnet-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--surface);
  text-transform: uppercase;
}

.footer-end {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
  text-align: right;
}
.footer-end .r { display: block; margin-top: 6px; opacity: .6; }

@media (max-width: 900px) {
  .footer { padding: 40px 24px 40px; grid-template-columns: 1fr; }
  .footer-end { text-align: left; }
}

/* ============= PLACEHOLDER IMAGES ============= */
.ph {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(120,170,220,.12), transparent 60%),
    linear-gradient(135deg, var(--abyss) 0%, var(--deep) 40%, var(--ink-2) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(184,207,224,.035) 0 2px, transparent 2px 7px);
}
.ph-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184,207,224,.55);
  padding: 6px 10px;
  border: .5px solid rgba(184,207,224,.2);
  background: rgba(5,8,16,.4);
  backdrop-filter: blur(6px);
  border-radius: 2px;
}

/* ============= REVEAL ANIMATIONS ============= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(.2,.8,.2,1), transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============= NOISE TEXTURE ============= */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/></svg>");
}
