@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Notch:wght@200..700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg-0: #06080c;
  --bg-1: #0d1117;
  --bg-2: #161c26;
  --bg-3: #1d2532;
  --ink-0: #e8edf3;
  --ink-1: #8a97a8;
  --ink-2: #4a5568;
  --ink-3: #2a3340;
  --accent: #E7BF60;
  --accent-soft: #6b8aa833;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --maxw: 1400px;
  --pad-x: clamp(20px, 5vw, 80px);
  --font-display: "Manrope", "Helvetica Neue", -apple-system, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}


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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: default;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Grain overlay (matches site grain) */
.pre-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  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='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Brand name */
.pre-brand {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-0);
  opacity: 0;
  animation: preReveal 0.8s 0.2s ease forwards;
}

/* Progress bar track */
.pre-bar-wrap {
  width: clamp(180px, 30vw, 320px);
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
  opacity: 0;
  animation: preReveal 0.8s 0.4s ease forwards;
}

/* Progress bar fill */
.pre-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.25s ease;
}

/* Percentage label */
.pre-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-1);
  opacity: 0;
  animation: preReveal 0.8s 0.6s ease forwards;
}

@keyframes preReveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  z-index: 100;
  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='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, rgba(6, 8, 12, 0.7), transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: padding .4s ease;
}

.nav.compact {
  padding: 14px var(--pad-x);
  background: rgba(6, 8, 12, 0.85);
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-0);
  text-decoration: none;
}

.nav .brand span {
  font-size: 1.6rem;
  font-family: "Stack Sans Notch", sans-serif;
  text-transform: none;
}

.nav .links {
  display: flex;
  gap: 32px;
}

.nav .links a {
  color: var(--ink-1);
  font-size: 1rem;
  text-decoration: none;
  transition: color .25s ease;
}

.nav .links a:hover {
  color: var(--ink-0);
}

.nav .meta {
  color: var(--ink-1);
}

@media (max-width: 720px) {
  .nav .links {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--pad-x);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8vh;
}


.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Keeps the video behind the mosaic (z-index: 1) and text (z-index: 3) */
  filter: brightness(0.6);
  /* Optional: Darkens the video so the white text stays readable */
}

/* 
.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 6px;
  padding: 80px var(--pad-x) 30vh;
  z-index: 1;
} */

.hero-tile {
  position: relative;
  background: var(--bg-1);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: opacity .8s ease;
}

.hero-tile.t1 {
  grid-column: 1/5;
  grid-row: 1/4;
}

.hero-tile.t2 {
  grid-column: 5/9;
  grid-row: 1/3;
}

.hero-tile.t3 {
  grid-column: 9/13;
  grid-row: 1/5;
}

.hero-tile.t4 {
  grid-column: 1/4;
  grid-row: 4/7;
}

.hero-tile.t5 {
  grid-column: 4/9;
  grid-row: 3/7;
}

.hero-tile.t6 {
  grid-column: 9/13;
  grid-row: 5/7;
}

.hero-headline {
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 1200px;
  mix-blend-mode: difference;
  color: #fff;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
  font-weight: 200;
}

.hero-headline .l {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-headline.in .l {
  opacity: 1;
  transform: translateY(0);
}

.hero-headline.in .l:nth-child(2) {
  transition-delay: .15s;
}

.hero-headline.in .l:nth-child(3) {
  transition-delay: .3s;
}

.hero-meta {
  position: relative;
  z-index: 3;
  margin-top: clamp(24px, 4vh, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-1);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  max-width: 900px;
}

.hero-meta .k {
  color: var(--ink-2);
  display: block;
  margin-bottom: 4px;
}

.hero-meta .v {
  color: var(--ink-0);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  right: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-1);
  text-transform: uppercase;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-scroll-cue::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ink-1), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0.2);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0.2);
    transform-origin: bottom;
  }
}

/* ---------- Real media inside cells (photos & videos) ---------- */
/* Add class="cell-media" to any <img> or <video> placed inside a .cell */
.cell-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* sits behind tag/title/meta */
  display: block;
  filter: contrast(1.02) saturate(0.9);
  transition: transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Subtle zoom on work-item hover */
.work-item:hover .cell-media {
  transform: scale(1.04);
}

/* When media is present, darken the cell background so overlay text stays legible */
.cell:has(.cell-media)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(6, 8, 12, 0.45) 0%,
      rgba(6, 8, 12, 0.15) 50%,
      rgba(6, 8, 12, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Ensure tag/title/meta always render above the darkening overlay */
.cell:has(.cell-media) .cell-tag,
.cell:has(.cell-media) .cell-rec,
.cell:has(.cell-media) .cell-title,
.cell:has(.cell-media) .cell-meta {
  z-index: 2;
}


.cell {
  position: relative;
  background: var(--bg-1);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.025) 0 2px,
      transparent 2px 14px),
    radial-gradient(ellipse at 30% 20%, rgba(107, 138, 168, 0.18), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-0));
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 100%;
}

.cell::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cell .cell-meta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-1);
  z-index: 2;
}

.cell .cell-meta .l,
.cell .cell-meta .r {
  display: flex;
  gap: 14px;
}

.cell .cell-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  z-index: 2;
}

.cell .cell-rec {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cell .cell-rec::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.cell .cell-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: rgba(232, 237, 243, 0.18);
  font-size: clamp(28px, 5vw, 72px);
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.cell.warm {
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px),
    radial-gradient(ellipse at 70% 30%, rgba(196, 165, 114, 0.12), transparent 60%),
    linear-gradient(160deg, var(--bg-1), var(--bg-0));
}

.cell.deep {
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 14px),
    radial-gradient(ellipse at 20% 80%, rgba(74, 85, 104, 0.25), transparent 60%),
    linear-gradient(200deg, var(--bg-2), var(--bg-0));
}

.cell.steel {
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px),
    radial-gradient(ellipse at 50% 50%, rgba(107, 138, 168, 0.22), transparent 70%),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
}

/* ---------- Section primitives ---------- */
section {
  position: relative;
}

.section {
  padding: clamp(80px, 14vh, 180px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-full {
  padding: clamp(80px, 14vh, 180px) var(--pad-x);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-2);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--ink-1);
  max-width: 60ch;
}

/* fade-in reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

.reveal.d4 {
  transition-delay: .32s;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-portrait {
  aspect-ratio: 4 / 5;
  position: relative;
  max-width: 460px;
  width: 100%;
  justify-self: start;
}

@media (max-width: 880px) {
  .about-portrait {
    max-width: 360px;
    margin: 0 auto;
    justify-self: center;
  }
}

.about-cell {
  width: 100%;
  height: 100%;
  margin-top: 16%;
}

.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
  filter: contrast(1.02) saturate(0.95);
  display: block;
}

.about-cell::before {
  z-index: 1;
}

.about-cell .cell-tag,
.about-cell .cell-meta {
  z-index: 2;
  color: var(--ink-0);
}

.about-cell .cell-meta {
  color: var(--ink-1);
}

/* subtle gradient at bottom so the meta strip stays legible over any frame */
.about-cell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(6, 8, 12, 0.55), transparent);
  z-index: 1;
  pointer-events: none;
}

.about-body {
  padding-top: clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.stats .k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.stats .v {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

/* ---------- Work / portfolio grid ---------- */
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filters button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-1);
  padding: 10px 16px;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.filters button:hover {
  color: var(--ink-0);
  border-color: var(--line-strong);
}

.filters button.active {
  background: var(--ink-0);
  color: var(--bg-0);
  border-color: var(--ink-0);
}

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

.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-item:hover {
  transform: translateY(-4px);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-item:hover .cell .cell-title {
  color: rgba(232, 237, 243, 0.32);
  transform: scale(1.04);
}

.work-item .cell .cell-title {
  transition: all .6s ease;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 12, 0.92) 0%, rgba(6, 8, 12, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 3;
}

.work-overlay .work-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 28px);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.work-overlay .work-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* sizes */
.w-tall {
  grid-column: span 4;
  aspect-ratio: 3/4;
}

.w-wide {
  grid-column: span 8;
  aspect-ratio: 16/9;
}

.w-sq {
  grid-column: span 4;
  aspect-ratio: 1/1;
}

.w-port {
  grid-column: span 4;
  aspect-ratio: 9/16;
}

.w-lg {
  grid-column: span 6;
  aspect-ratio: 4/3;
}

.w-full {
  grid-column: span 12;
  aspect-ratio: 21/9;
}

.w-custom1 {
  grid-column: span 8;
  aspect-ratio: 16/14;
}

@media (max-width: 880px) {

  .w-tall,
  .w-wide,
  .w-sq,
  .w-port,
  .w-lg,
  .w-custom1,
  .w-full {
    grid-column: span 12;
    aspect-ratio: 4/3;
  }
}

/* ---------- Scroll experience (sticky) ---------- */
.scroll-exp {
  position: relative;
  background: var(--bg-0);
}

.scroll-exp-track {
  height: 400vh;
  position: relative;
}

.scroll-exp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-exp-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-exp-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.scroll-exp-frame.active {
  opacity: 1;
}

.scroll-exp-frame .cell {
  height: 100%;
}

.scroll-exp-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--pad-x);
  mix-blend-mode: difference;
  color: #fff;
}

.scroll-exp-content .h1 {
  color: #fff;
}

.scroll-exp-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.scroll-exp-progress .dot {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transition: background .3s ease;
}

.scroll-exp-progress .dot.active {
  background: #fff;
}

/* ---------- Brands ---------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (max-width: 880px) {
  .brand-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brand-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: -0.01em;
  color: var(--ink-1);
  position: relative;
  overflow: hidden;
  transition: all .4s ease;
}

.brand-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-0);
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 0;
}

.brand-cell span {
  position: relative;
  z-index: 1;
  transition: color .4s ease;
}

.brand-cell:hover {
  color: var(--bg-0);
}

.brand-cell:hover::before {
  transform: translateY(0);
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

@media (max-width: 880px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

.t-card {
  border: 1px solid var(--line);
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(22, 28, 38, 0.4), rgba(13, 17, 23, 0.4));
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 280px;
}

.t-card .quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-0);
  flex: 1;
}

.t-card .author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.t-card .author .name {
  color: var(--ink-0);
  display: block;
  margin-bottom: 4px;
}

/* ---------- Contact ---------- */
.contact {
  border-top: 1px solid var(--line);
  background: var(--bg-0);
}

.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(100px, 16vh, 200px) var(--pad-x);
  text-align: center;
}

.contact .h0 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 10vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.contact .ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-0);
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta:hover {
  background: var(--ink-0);
  color: var(--bg-0);
  border-color: var(--ink-0);
}

.cta.primary {
  background: var(--ink-0);
  color: var(--bg-0);
  border-color: var(--ink-0);
}

.cta.primary:hover {
  background: transparent;
  color: var(--ink-0);
}

.cta svg {
  width: 12px;
  height: 12px;
}

.form {
  max-width: 640px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.form .field {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.form .field.full {
  grid-column: span 2;
}

.form .field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  min-width: 80px;
}

.form input,
.form textarea {
  background: transparent;
  border: none;
  color: var(--ink-0);
  font-family: var(--font-body);
  font-size: 16px;
  width: 100%;
  outline: none;
  font-weight: 300;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--ink-2);
}

.form textarea {
  resize: none;
  min-height: 80px;
  padding-top: 4px;
}

.form .submit {
  grid-column: span 2;
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.foot {
  padding: 40px var(--pad-x);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  gap: 24px;
  flex-wrap: wrap;
}

.foot a {
  color: var(--ink-1);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink-0);
}

/* ---------- Gallery (IG) ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ig-grid {
    grid-template-columns: 1fr;
  }
}

.ig-card {
  display: block;
  background: var(--bg-1);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-0);
  overflow: hidden;
  transition: transform .6s cubic-bezier(0.2, 0.7, 0.2, 1), border-color .3s ease;
  position: relative;
}

.ig-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.ig-card:hover .ig-card-meta {
  color: var(--ink-0);
}

.ig-card-meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: color .3s ease;
}

.ig-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  background: #000;
}

.ig-frame-wrap-wide {
  aspect-ratio: 16 / 11;
}

@media (max-width: 560px) {
  .ig-frame-wrap {
    aspect-ratio: 9 / 13;
  }

  .ig-frame-wrap-wide {
    aspect-ratio: 4 / 5;
  }
}

.ig-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.02);
}

.ig-card-wide {
  display: block;
  max-width: 100%;
}

/* ---------- Section divider ---------- */
.divider {
  border-top: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Marquee for tags ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: scrollX 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-1);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.marquee-track span::after {
  content: "✦";
  color: var(--accent);
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}