/* ============================================================
   Das Studio — static clone. Tokens measured from live site.
   ============================================================ */
:root {
  --ink: #0a0a0a;
  --ink-70: rgba(10, 10, 10, 0.7);
  --muted: #4f4f4f;
  --page: #f5f5f5;
  --white: #fff;
  --line: rgba(90, 98, 113, 0.2);
  --radius: 10px;
  --pad-x: 40px;
  --content: 1360px;
  --sec-gap: 220px;
}

/* Vertical rhythm between top-level sections */
main > section + section { margin-top: var(--sec-gap); }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Inter', 'Inter Placeholder', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Subtle full-page film grain sitting just above the page colour, below content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }
ul { margin: 0; padding: 0; list-style: none; }

/* Centered content column: 1360 on desktop, 100%-40 (=350 @390) on mobile */
.wrap {
  width: var(--content);
  max-width: calc(100% - (var(--pad-x) * 2));
  margin: 0 auto;
}

/* Shared label style (Chivo-like mono-ish uppercase micro labels use Inter here) */
.label {
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Pill button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, opacity .25s ease;
}
.btn .arrow { width: 20px; height: 20px; flex: none; }
.btn--dark { background: var(--ink); color: var(--white); padding: 12px 20px; }
.btn--dark:hover { background: #2b2b2b; }
.btn--ghost { color: var(--ink); padding: 12px 0; border-radius: 0; }
.btn--ghost:hover { opacity: .55; }

.arrow-svg { width: 20px; height: 20px; display: block; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow-svg { transform: translate(2px, -2px); }

/* Text links: subtle fade + arrow nudge on hover */
.nav__links a, .nav__logo, .foot-link, .foot-bottom a, .jrnl-seeall, .jrnl-link, .faq__contact, .foot-form button, .foot-proj__v {
  transition: opacity .25s ease;
}
.nav__links a:hover, .nav__logo:hover, .foot-link:hover, .foot-bottom a:hover, .faq__contact:hover { opacity: .55; }
.jrnl-seeall:hover .arrow-svg, .jrnl-link:hover .arrow-svg, .faq__contact:hover .arrow-svg, .foot-form button:hover .arrow-svg { transform: translate(2px, -2px); }
.jrnl-card:hover .jrnl-title { opacity: .6; transition: opacity .25s ease; }

/* ============================================================
   NAV — fixed top bar
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(245, 245, 245, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: var(--content); }
.nav__logo { font-size: 17px; line-height: 1; font-weight: 600; letter-spacing: -0.6px; text-transform: uppercase; color: var(--ink); }
.nav__logo .reg { color: var(--muted); font-size: 0.7em; vertical-align: super; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a {
  font-size: 14px; line-height: 14px; font-weight: 500;
  letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh;          /* definite height so the carousel can flex to fill the remainder */
  min-height: 640px;
  padding: 120px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  overflow: hidden;
}
.hero__top { display: flex; flex-direction: column; gap: 56px; width: var(--content); max-width: calc(100% - (var(--pad-x) * 2)); margin: 0 auto; }
.hero__wordmark {
  font-size: 82px;
  line-height: 78px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: none;
  color: var(--ink);
  max-width: 1040px;
}
.hero__row { display: flex; flex-direction: row; justify-content: space-between; gap: 24px; }
.hero__left { display: flex; flex-direction: column; gap: 40px; max-width: 1002px; }
.hero__tagline {
  width: 380px; max-width: 100%;
  font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink);
}
.hero__cta { display: flex; flex-direction: row; align-items: center; gap: 24px; }

/* stats */
.hero__stats { width: 334px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 16px; }
.stat__row { display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; }
.stat__k { flex: 1; font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.stat__v { font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); }
.stat__line { height: 1px; width: 100%; background: var(--line); }

/* marquee — flexes to fill the remaining hero height; cards scale to fit */
.marquee { width: 100%; overflow: hidden; flex: 1 1 auto; min-height: 340px; display: flex; }
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  height: 100%;
  animation: marquee 40s linear infinite;
}
.marquee__card {
  height: 100%; width: auto; aspect-ratio: 4 / 3;   /* height-driven; scales with the viewport */
  border-radius: var(--radius);
  overflow: hidden;
  flex: none;
  background: #f0f0f0;
}
.marquee__card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 6px)); }
}

/* ============================================================
   ABOUT — adapted from bungee-pro about (centered statement + partner marquee)
   ============================================================ */
.section.about { padding: 0; }
.section.about > .wrap { align-items: center; gap: 0; }
.about__statement {
  max-width: 650px; text-align: center; padding-bottom: 120px;
  font-size: 48px; line-height: 52.8px; font-weight: 500; letter-spacing: -0.96px; color: var(--ink);
}
.about__statement .reg { color: var(--muted); }
.partners { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners__track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 32s linear infinite; }
.partners__track img { height: 30px; width: auto; opacity: .8; filter: grayscale(1) brightness(0.4); }
.partners__track--text span {
  flex: none; white-space: nowrap;
  font-size: 22px; line-height: 1; font-weight: 500; letter-spacing: -0.6px;
  color: var(--muted); opacity: .55;
}

/* ============================================================
   Shared section header (big title + count + right description)
   ============================================================ */
.section { width: var(--content); max-width: calc(100% - (var(--pad-x) * 2)); margin-inline: auto; }
.section > .wrap { width: 100%; max-width: none; display: flex; flex-direction: column; gap: 104px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head__l { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; }
.sec-title { font-size: 90px; line-height: 72px; font-weight: 500; letter-spacing: -7px; text-transform: uppercase; color: var(--ink); }
.sec-count { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); }
.sec-desc { width: 230px; flex: none; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }

/* ============================================================
   PROJECTS
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 100px; }
.proj { display: flex; flex-direction: column; gap: 20px; }
.proj__media { position: relative; aspect-ratio: 676 / 479.7; border-radius: var(--radius); overflow: hidden; background: #f0f0f0; }
.proj__media img, .proj__media video { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.proj__media--fill img { object-fit: cover; }
.proj:hover .proj__media img, .proj:hover .proj__media video { transform: scale(1.04); }
.proj__view {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9);
  width: 100px; height: 100px; border-radius: 100px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none;
}
.proj:hover .proj__view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.proj__chip {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 100px; padding: 6px 14px;
  font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--white);
}
.proj__foot { display: flex; flex-direction: column; gap: 16px; }
.proj__dur { font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--muted); }
.proj__title {
  font-size: 25px; line-height: 25px; font-weight: 500; letter-spacing: -0.75px; text-transform: uppercase; color: #000;
}
.proj-footrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.proj-cap { max-width: 420px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }
.see-all { flex: none; }

/* ============================================================
   SERVICES — accordion
   ============================================================ */
.svc-banner {
  width: 100%; height: 372px; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 62%, #63c6ff 0%, rgba(99,198,255,0) 46%),
    radial-gradient(120% 100% at 52% 42%, #d19bff 0%, rgba(209,155,255,0) 50%),
    radial-gradient(120% 100% at 82% 55%, #ff3b30 0%, rgba(255,59,48,0) 48%),
    linear-gradient(90deg, #8ad7ff 0%, #ff6aa0 55%, #ff3b30 100%);
}
.svc-list { display: flex; flex-direction: column; }
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 332px 1fr; column-gap: 8px; align-items: start; padding: 32px 12px; cursor: pointer; }
.svc__idx { font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); padding-top: 13px; }
.svc__main { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.svc__title { font-size: 39px; line-height: 39px; font-weight: 500; letter-spacing: -1.17px; text-transform: uppercase; color: #000; }
.svc__icon { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; }
.svc__icon svg { width: 24px; height: 24px; transition: transform .3s ease; }
.svc__body {
  display: grid; grid-template-columns: 332px 1fr; column-gap: 8px;
  padding: 0 12px; max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.svc__features { display: flex; flex-direction: column; gap: 8px; }
.svc__feat, .svc__desc { font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }
.svc__desc { max-width: 600px; }
.svc.is-open .svc__body { max-height: 260px; padding: 0 12px 40px; }
.svc.is-open .svc__icon svg { transform: rotate(45deg); }
.svc-note { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-top: 1px solid var(--line); padding: 24px 12px 0; }
.svc-note__t { max-width: 340px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }

/* ============================================================
   FLOW — 4-step staircase
   ============================================================ */
.flow-body { display: flex; flex-direction: column; gap: 24px; }
.flow-meta { display: flex; justify-content: space-between; }
.flow-metacell { display: flex; gap: 4px; }
.flow-metacell .k { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.flow-metacell .v { font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.flow-step { border-right: 1px solid var(--line); padding: 0 24px; display: flex; flex-direction: column; gap: 24px; }
.flow-step:nth-child(1) { padding-top: 45px; }
.flow-step:nth-child(2) { padding-top: 148px; }
.flow-step:nth-child(3) { padding-top: 251px; }
.flow-step:nth-child(4) { padding-top: 354px; }
.flow-step img { width: 124px; height: 124px; border-radius: var(--radius); object-fit: cover; }
.flow-ico { width: 124px; height: 124px; border-radius: var(--radius); background: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.flow-ico svg { width: 44px; height: 44px; color: var(--white); }
.flow-step__b { display: flex; flex-direction: column; gap: 16px; }
.flow-step__t { font-size: 25px; line-height: 25px; font-weight: 500; letter-spacing: -0.75px; text-transform: uppercase; color: #000; }
.flow-step__d { font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--muted); }

/* ============================================================
   MORE ABOUT US  (testimonials block intentionally omitted)
   ============================================================ */
.ma-block { display: flex; flex-direction: column; gap: 90px; }
.ma-intro { display: grid; grid-template-columns: 336px 672px 1fr; gap: 8px; align-items: start; }
.ma-kicker, .ma-index { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.ma-index { text-align: right; }
.ma-mid { display: flex; flex-direction: column; gap: 32px; }
.ma-statement { font-size: 26px; line-height: 31.2px; font-weight: 400; letter-spacing: -0.78px; color: var(--ink); }
.ma-buttons { display: flex; gap: 24px; }
.ma-media { display: grid; grid-template-columns: 334px 1fr; gap: 8px; }
.ma-visual { grid-column: 2; display: flex; flex-direction: column; gap: 8px; }
.ma-videowrap { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1018 / 759.2; }
.ma-videowrap video { width: 100%; height: 100%; object-fit: cover; }
.ma-play {
  position: absolute; bottom: 24px; right: 24px; width: 53px; height: 53px; border-radius: 100px;
  background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.ma-play svg { width: 24px; height: 24px; }
.ma-stats { background: var(--white); border-radius: var(--radius); padding: 48px 32px; display: flex; align-items: center; gap: 0; }
.ma-stat { flex: none; display: flex; flex-direction: column; gap: 12px; }
.ma-stat:nth-child(1) { width: 280px; }
.ma-stat:nth-child(2) { width: 278px; }
.ma-stat__n { font-size: 63px; line-height: 63px; font-weight: 500; letter-spacing: 0; color: #000; }
.ma-stat__l { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.ma-stats__div { width: 1px; align-self: stretch; background: var(--line); margin: 0 32px; }
.ma-stats__cap { max-width: 260px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing > .wrap { gap: 160px; }
.price-block { display: flex; flex-direction: column; gap: 90px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 50px -34px rgba(10, 10, 10, 0.25); }

/* Popular tier — black, elevated, so it clearly stands out */
.price-card--popular { background: var(--ink); border-color: transparent; box-shadow: 0 44px 80px -34px rgba(10, 10, 10, 0.6); }
.price-card--popular .price-card__title { color: #fff; }
.price-card--popular .price-desc { color: rgba(255, 255, 255, 0.6); }
.price-card--popular .price-amount .n { color: #fff; }
.price-card--popular .price-amount .per { color: rgba(255, 255, 255, 0.7); }
.price-card--popular .price-feat { color: rgba(255, 255, 255, 0.78); }
.price-card--popular .price-feat::before { background: #fff; }
.price-card--popular .price-badge { background: #fff; color: var(--ink); }
.price-card--popular .price-cta.btn--dark { background: #fff; color: var(--ink); }
.price-card--popular .price-cta.btn--dark:hover { background: #e6e6e6; }
.price-card__head { display: flex; align-items: center; gap: 16px; }
.price-card__title { font-size: 25px; line-height: 25px; font-weight: 500; letter-spacing: -0.75px; text-transform: uppercase; color: #000; }
.price-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18.2px; font-weight: 500; letter-spacing: -0.39px; color: var(--ink); }
.price-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(10,10,10,.12); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(10,10,10,.14); } 50% { box-shadow: 0 0 0 6px rgba(10,10,10,0); } }
.price-badge { position: absolute; top: 20px; right: 20px; background: var(--white); border-radius: var(--radius); padding: 8px 12px; font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); }
.price-desc { max-width: 360px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--muted); }
.price-amount { display: flex; align-items: baseline; gap: 5px; margin-top: 40px; }
.price-amount .n { font-size: 48px; line-height: 43.2px; font-weight: 500; letter-spacing: -1.44px; text-transform: uppercase; color: #000; }
.price-amount .per { font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }
.contact-price { font-size: 27px; line-height: 43.2px; font-weight: 500; letter-spacing: -0.81px; color: #000; }
.price-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.price-feat { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--muted); }
.price-feat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex: none; }
.price-cta { margin-top: 56px; width: 100%; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; grid-template-columns: 336px 1fr; gap: 8px; align-items: start; }
.faq__intro { display: flex; flex-direction: column; gap: 24px; }
.faq__kicker { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.faq__h { font-size: 48px; line-height: 48px; font-weight: 500; letter-spacing: -1.44px; text-transform: uppercase; color: var(--ink); }
.faq__sub { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.6px; color: var(--ink); margin-top: 8px; }
.faq__contact { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); padding: 32px 0; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 26px; line-height: 31.2px; font-weight: 400; letter-spacing: -0.78px; color: var(--ink); }
.faq__q svg { width: 24px; height: 24px; flex: none; transition: transform .3s ease; }
.faq__a { max-width: 760px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .4s ease; }
.faq__item.is-open .faq__a { max-height: 200px; margin-top: 16px; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }

/* ============================================================
   JOURNAL
   ============================================================ */
.jrnl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.jrnl-head__l { display: flex; flex-direction: column; gap: 24px; max-width: 680px; }
.jrnl-kicker { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.jrnl-h { font-size: 48px; line-height: 43.2px; font-weight: 500; letter-spacing: -1.44px; text-transform: uppercase; color: #000; }
.jrnl-seeall { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); }
.jrnl-seeall .arrow-svg { width: 20px; height: 20px; }
.jrnl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jrnl-card { display: flex; flex-direction: column; gap: 24px; }
.jrnl-media { position: relative; aspect-ratio: 676 / 492.1; border-radius: var(--radius); overflow: hidden; }
.jrnl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.jrnl-card:hover .jrnl-media img { transform: scale(1.04); }
.jrnl-view {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9);
  width: 100px; height: 100px; border-radius: 100px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none;
}
.jrnl-card:hover .jrnl-view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.jrnl-body { display: flex; flex-direction: column; gap: 12px; }
.jrnl-read { font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--muted); }
.jrnl-title { font-size: 26px; line-height: 31.2px; font-weight: 400; letter-spacing: -0.78px; color: var(--ink); }
.jrnl-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); margin-top: 4px; }
.jrnl-link .arrow-svg { width: 20px; height: 20px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cta__block { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__label { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.cta__h { max-width: 600px; font-size: 61px; line-height: 54.9px; font-weight: 500; letter-spacing: -2.44px; text-transform: uppercase; color: var(--ink); }
.cta__d { max-width: 420px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -0.48px; color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative; overflow: hidden;
  background: #0a0a0a; color: #fff;
  margin-top: var(--sec-gap);
  padding: 100px 0 40px;
}
.foot-watermark {
  position: absolute; left: 50%; bottom: -0.14em; transform: translateX(-50%);
  font-size: 21vw; line-height: 0.8; font-weight: 600; letter-spacing: -0.05em;
  text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, 0.04);
  pointer-events: none; z-index: 0; user-select: none;
}
.foot-inner { position: relative; z-index: 1; width: var(--content); max-width: calc(100% - (var(--pad-x) * 2)); margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 140px; }
.foot-brand { max-width: 360px; display: flex; flex-direction: column; gap: 24px; }
.foot-tagline { font-size: 18px; line-height: 25.2px; letter-spacing: -0.54px; color: rgba(255, 255, 255, 0.82); }
.foot-email { align-self: flex-start; font-size: 18px; letter-spacing: -0.54px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; transition: border-color .25s ease; }
.foot-email:hover { border-color: #fff; }
.foot-nav { display: flex; gap: 64px; }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col__h { font-size: 13px; letter-spacing: -0.2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 4px; }
.foot-col a { font-size: 15px; letter-spacing: -0.3px; color: rgba(255, 255, 255, 0.55); transition: color .25s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 28px; }
.foot-bottom span { font-size: 13px; letter-spacing: -0.2px; color: rgba(255, 255, 255, 0.4); }
.foot-bottom__legal { display: flex; gap: 24px; }
.foot-bottom__legal a { font-size: 13px; letter-spacing: -0.2px; color: rgba(255, 255, 255, 0.4); transition: color .25s ease; }
.foot-bottom__legal a:hover { color: #fff; }

/* ============================================================
   MOBILE  (≤ 809px) — layout + type scale measured at 390
   ============================================================ */
@media (max-width: 809px) {
  :root { --pad-x: 20px; --sec-gap: 140px; }
  body { font-size: 16px; }

  /* nav: logo only (links collapse) */
  .nav { height: 56px; }
  .nav__links { display: none; }

  /* type scale */
  .hero__wordmark { font-size: 40px; line-height: 40px; letter-spacing: -1.4px; }
  .sec-title { font-size: 60px; line-height: 48px; letter-spacing: -5px; }
  .cta__h { font-size: 42px; line-height: 37.8px; letter-spacing: -1.68px; }
  .jrnl-h, .faq__h { font-size: 31px; line-height: 27.9px; letter-spacing: -0.93px; }
  .svc__title { font-size: 30px; line-height: 30px; letter-spacing: -0.9px; }
  .about__statement { font-size: 34px; line-height: 37.4px; letter-spacing: -0.68px; }
  .foot-watermark { font-size: 26vw; }

  /* section rhythm */
  .section > .wrap, .pricing > .wrap { gap: 48px; }
  .section.about { padding: 72px 0; }
  .section.about > .wrap { gap: 40px; }
  .hero { min-height: 0; padding: 110px 0 40px; gap: 72px; }

  /* hero: stack row + stats */
  .hero__top { gap: 32px; }
  .hero__row { flex-direction: column; gap: 32px; }
  .hero__stats { width: 100%; }
  .marquee { flex: none; min-height: 0; display: block; }
  .marquee__track { height: auto; }
  .marquee__card { width: 320px; height: 240px; aspect-ratio: auto; }

  /* shared section header stacks */
  .sec-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sec-desc { width: 100%; max-width: 420px; }

  /* projects / journal grids → 1 col */
  .proj-grid, .jrnl-grid, .price-grid { grid-template-columns: 1fr; }
  .proj-footrow { flex-direction: column; align-items: flex-start; gap: 24px; }

  /* services accordion → single column rows */
  .svc__row { grid-template-columns: 1fr; gap: 16px; }
  .svc__idx { padding-top: 0; }
  .svc__body { grid-template-columns: 1fr; gap: 16px; }
  .svc.is-open .svc__body { max-height: 480px; }
  .svc-banner { height: 220px; }
  .svc-note { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* flow: unstack staircase → vertical list */
  .flow-grid { grid-template-columns: 1fr; border-left: 0; gap: 0; }
  .flow-step { border-right: 0; border-top: 1px solid var(--line); padding: 40px 0 48px !important; gap: 24px; }
  .flow-step:first-child { border-top: 0; padding-top: 0 !important; }
  .flow-step img, .flow-ico { width: 140px; height: 140px; }
  .flow-ico svg { width: 52px; height: 52px; }

  /* more about: stack intro + media */
  .ma-intro { grid-template-columns: 1fr; gap: 24px; }
  .ma-index { display: none; }
  .ma-media { grid-template-columns: 1fr; }
  .ma-visual { grid-column: 1; }
  .ma-stats { flex-wrap: wrap; gap: 24px 0; padding: 32px 24px; }
  .ma-stat:nth-child(1), .ma-stat:nth-child(2) { width: 50%; }
  .ma-stats__div { display: none; }
  .ma-stats__cap { max-width: 100%; margin-top: 8px; }
  .ma-buttons { flex-wrap: wrap; gap: 12px; }

  /* faq → 1 col */
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq__q { font-size: 22px; line-height: 26.4px; }

  .cta { padding: 0; }

  /* footer → stack */
  .foot-top { flex-direction: column; gap: 48px; padding-bottom: 90px; }
  .foot-nav { gap: 40px; flex-wrap: wrap; }
  .foot-col { min-width: 120px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 479px) {
  .cta__h { font-size: 36px; line-height: 33px; }
}

/* ============================================================
   PROJECTS listing page + PROJECT DETAIL pages
   ============================================================ */
.page-head { padding-top: 40px; }
.page-head > .wrap { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-sub { max-width: 360px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.48px; color: var(--muted); }

/* detail header */
.pd-head > .wrap { display: flex; flex-direction: column; gap: 48px; }
.pd-headrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.pd-lead { display: flex; flex-direction: column; gap: 32px; max-width: 560px; }
.pd-desc { font-size: 26px; line-height: 31.2px; font-weight: 400; letter-spacing: -0.78px; color: var(--ink); }
.pd-actions { display: flex; gap: 24px; align-items: center; }

/* full-width hero image */
.pd-hero > .wrap { display: block; }
.pd-hero__img { width: 100%; border-radius: var(--radius); overflow: hidden; background: #f0f0f0; }
.pd-hero__img img { width: 100%; height: auto; display: block; }

/* writeup */
.pd-body > .wrap { gap: 90px; }
.pd-writeup { display: grid; grid-template-columns: 300px 1fr; gap: 8px; align-items: start; }
.pd-kicker { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.pd-writeup__body { display: flex; flex-direction: column; gap: 32px; max-width: 712px; }
.pd-text { font-size: 26px; line-height: 31.2px; font-weight: 400; letter-spacing: -0.78px; color: var(--ink); }
.pd-cat { align-self: flex-start; border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); }

/* gallery — masonry */
.pd-gallery { column-count: 2; column-gap: 8px; }
.pd-gallery img { width: 100%; margin-bottom: 8px; border-radius: var(--radius); display: block; break-inside: avoid; background: #f0f0f0; }
/* full-page mockups: stack full-width instead of masonry */
.pd-gallery--stack { column-count: 1; display: flex; flex-direction: column; gap: 80px; }
.pd-gallery--stack img { margin-bottom: 0; }

/* continue exploring */
.pd-more__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pd-more__l { display: flex; flex-direction: column; gap: 24px; max-width: 700px; }
.pd-more__h { font-size: 48px; line-height: 43.2px; font-weight: 500; letter-spacing: -1.44px; text-transform: uppercase; color: #000; }

@media (max-width: 809px) {
  .page-title, .pd-title { font-size: 60px; line-height: 48px; letter-spacing: -5px; }
  .page-head > .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .pd-headrow { flex-direction: column; gap: 32px; }
  .pd-writeup { grid-template-columns: 1fr; gap: 20px; }
  .pd-gallery { column-count: 1; }
  .pd-more__h { font-size: 31px; line-height: 27.9px; letter-spacing: -0.93px; }
  .pd-more__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CONTACT page
   ============================================================ */
.dim { color: #b6b6b6; }
.contact-hero { padding-top: 140px; text-align: center; }
.contact-hero > .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact-hero__h { max-width: 760px; font-size: 64px; line-height: 62px; font-weight: 500; letter-spacing: -2.5px; letter-spacing: -0.04em; color: var(--ink); }
.contact-hero__sub { font-size: 16px; line-height: 22.4px; letter-spacing: -0.48px; color: var(--muted); }

.contact-form { width: 720px; max-width: 100%; margin: 72px auto 0; display: flex; flex-direction: column; gap: 40px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 14px; }
.field__label { font-size: 15px; font-weight: 500; letter-spacing: -0.3px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none;
  padding: 12px 0; font-family: inherit; font-size: 16px; letter-spacing: -0.48px; color: var(--ink); outline: none;
  transition: border-color .25s ease;
}
.field textarea { resize: vertical; min-height: 60px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.tag-group { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { position: relative; display: inline-flex; }
.tag input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.tag span {
  border: 1px solid var(--line); border-radius: 100px; padding: 11px 18px;
  font-size: 14px; line-height: 14px; letter-spacing: -0.42px; color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tag input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact-form__submit { align-self: flex-start; margin-top: 8px; }
.contact-form__submit:disabled { opacity: 0.55; cursor: default; }
.form-status { margin: 0; min-height: 1.2em; font-size: 15px; letter-spacing: -0.45px; color: var(--muted); }
.form-status.is-ok { color: #1a7f37; }
.form-status.is-err { color: #b42318; }
.contact-socials { margin: 96px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact-socials__t { max-width: 420px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.48px; color: var(--muted); }
.contact-socials__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.contact-socials__links a { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: opacity .25s ease; }
.contact-socials__links a:hover { opacity: .55; }
.form-note { font-size: 13px; color: var(--muted); }

/* ============================================================
   ABOUT ME page
   ============================================================ */
.ab-hero { padding-top: 120px; }
.ab-hero > .wrap { display: flex; flex-direction: column; gap: 24px; }
.ab-hero__kicker { font-size: 14px; line-height: 14px; font-weight: 500; letter-spacing: -0.42px; text-transform: uppercase; color: var(--muted); }
.ab-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.ab-hero__h { max-width: 720px; font-size: 82px; line-height: 78px; font-weight: 500; letter-spacing: -0.05em; text-transform: none; color: var(--ink); }
.ab-hero__aside { max-width: 380px; flex: none; display: flex; flex-direction: column; gap: 32px; }
.ab-hero__intro { font-size: 18px; line-height: 25.2px; letter-spacing: -0.54px; color: var(--ink); }

.ab-img { width: 100%; border-radius: var(--radius); overflow: hidden; }
.ab-img img { width: 100%; height: auto; display: block; }
.ab-img--portrait { max-width: 620px; aspect-ratio: 1 / 1; }
.ab-img--portrait img { height: 100%; object-fit: cover; }

/* About: image + experience in a 2-col stack; image sticks and travels
   down as the experience column scrolls past it. */
.ab-split { display: grid; grid-template-columns: 0.58fr 1fr; gap: 80px; align-items: start; }
/* Fade the split in via opacity only — a leftover reveal transform on an
   ancestor would make it the sticky containing block and break the pin. */
html.anim .ab-exp > .wrap > .ab-split { transform: none; }
.ab-split__media { position: sticky; top: 100px; align-self: start; }
.ab-split__body { min-width: 0; }
.ab-split__body .exp-list { margin-top: 32px; }

.ab-list__h { font-size: 32px; line-height: 32px; font-weight: 500; letter-spacing: -0.96px; color: var(--ink); }
.exp-list { display: flex; flex-direction: column; margin-top: 40px; }
.exp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--line); padding: 34px 0; }
.exp-row__l { display: flex; flex-direction: column; gap: 6px; }
.exp-row__role { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.6px; color: var(--ink); }
.exp-row__org { font-size: 16px; line-height: 22.4px; letter-spacing: -0.48px; color: var(--muted); }
.exp-row__yr { font-size: 16px; letter-spacing: -0.48px; color: var(--muted); flex: none; }

.awards { display: grid; grid-template-columns: 336px 1fr; gap: 8px; align-items: start; }
.awards__list { display: flex; flex-direction: column; }
.award-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0; }
.award-row__l { display: flex; flex-direction: column; gap: 6px; }
.award-row__t { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.6px; color: var(--ink); }
.award-row__m { font-size: 15px; letter-spacing: -0.45px; color: var(--muted); text-transform: uppercase; }
.award-row svg { width: 20px; height: 20px; flex: none; color: var(--ink); }

@media (max-width: 809px) {
  .contact-hero__h { font-size: 40px; line-height: 40px; }
  .contact-form { margin-top: 48px; gap: 32px; }
  .ab-hero__h { font-size: 46px; line-height: 46px; }
  .ab-hero__row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .ab-hero__aside { max-width: 100%; }
  .awards { grid-template-columns: 1fr; gap: 24px; }
  .exp-row { flex-direction: column; gap: 6px; }
  .ab-split { grid-template-columns: 1fr; gap: 40px; }
  .ab-split__media { position: static; }
}

/* ---- Page/display titles in Geist Bold ---- */
.hero__wordmark,
.sec-title,
.pd-title,
.pd-more__h,
.cta__h,
.faq__h,
.ab-hero__h,
.ab-list__h,
.contact-hero__h,
.about__statement,
.page-title {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 700;
}

/* =================================================================
   Framer-style motion
   - Per-letter title reveal
   - Section stagger reveal (elements rise in a stack)
   - Page transition (downward wipe)
   All gated on html.anim, which is only added by JS when the user
   has NOT requested reduced motion. No-JS / reduced-motion => static.
   ================================================================= */

/* --- Page transition: crossfade through the page colour --- */
.page-wipe {
  position: fixed; inset: 0; background: var(--page);
  z-index: 1000; opacity: 0; pointer-events: none;
  will-change: opacity;
}
html.anim .page-wipe { opacity: 1; }                                  /* covers on entry */
html.anim .page-wipe.reveal { opacity: 0;                            /* fades out to reveal the page */
  transition: opacity .55s ease; }
html.anim .page-wipe.cover { opacity: 1; pointer-events: auto;       /* fades back in before navigating */
  transition: opacity .4s ease; }

/* --- Section stagger reveal --- */
html.anim .section > .wrap > *,
html.anim .hero > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
html.anim .section > .wrap.reveal-in > *,
html.anim .hero.reveal-in > * { opacity: 1; transform: none; }
html.anim .reveal-in > :nth-child(1) { transition-delay: 0ms; }
html.anim .reveal-in > :nth-child(2) { transition-delay: 80ms; }
html.anim .reveal-in > :nth-child(3) { transition-delay: 160ms; }
html.anim .reveal-in > :nth-child(4) { transition-delay: 240ms; }
html.anim .reveal-in > :nth-child(5) { transition-delay: 320ms; }
html.anim .reveal-in > :nth-child(6) { transition-delay: 400ms; }
html.anim .reveal-in > :nth-child(n+7) { transition-delay: 480ms; }

/* --- Per-letter title reveal --- */
html.anim .hero__wordmark,
html.anim .sec-title,
html.anim .about__statement,
html.anim .faq__h,
html.anim .cta__h,
html.anim .pd-title,
html.anim .pd-more__h,
html.anim .ab-hero__h,
html.anim .ab-list__h,
html.anim .contact-hero__h { opacity: 0; }
html.anim .split { opacity: 1; }
html.anim .split .word { display: inline-block; white-space: nowrap; }
html.anim .split .char {
  display: inline-block; opacity: 0; transform: translateY(0.5em);
  will-change: opacity, transform;
}
html.anim .split.is-in .char {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .55s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
}
