@import url("https://api.fontshare.com/v2/css?f[]=switzer@400,500,600&display=swap");

:root {
  --bg: #000;
  --fg: #fff;
  --dim: rgba(255, 255, 255, 0.28);
  --mute: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.18);
  --pad: 15px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --red: #c8102e;
  --blue: #1b3a8a;
  --serif: "Switzer", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --h-xl: 42px;   /* big statements */
  --h-hero: 40px; /* hero heading */
}
@media (min-width: 810px) {
  :root { --pad: 20px; --h-xl: 76px; --h-hero: 96px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body {
  background: var(--bg); color: var(--fg);
  font-family: "Switzer", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ───────── navigation ───────── */
.nav-mobile {
  position: fixed; inset: 0 0 auto 0; height: 49px; z-index: 50; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
}
.nav-desktop { display: none; }
@media (min-width: 810px) {
  .nav-mobile { display: none; }
  .nav-desktop {
    display: block; position: fixed; inset: 0 0 auto 0; height: 58px; z-index: 50; padding: 20px;
    color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.25); pointer-events: none; font-size: 18px; letter-spacing: -0.03em;
  }
  .nav-desktop a { position: absolute; top: 20px; pointer-events: auto; line-height: 18px; }
  .nav-desktop .logo { left: 20px; }
  .nav-desktop .nav-links { position: absolute; top: 20px; right: 20px; display: flex; gap: 28px; pointer-events: auto; }
  .nav-desktop .nav-links a { position: static; }
}

/* menu overlay (phone) */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu .nav-mobile { position: absolute; }
.menu-links { position: absolute; left: var(--pad); right: var(--pad); top: calc(50vh - 194px); display: flex; flex-direction: column; }
.menu-links a { display: block; height: 66px; overflow: hidden; font-family: var(--serif); font-weight: 500; font-size: 62px; line-height: 66px; letter-spacing: -0.03em; }
.menu-links a span { display: block; transform: translateY(100%); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s; }
.menu.open .menu-links a span { transform: none; opacity: 1; }
.menu.open .menu-links a:nth-child(2) span { transition-delay: 0.06s; }
.menu.open .menu-links a:nth-child(3) span { transition-delay: 0.12s; }
.menu.open .menu-links a:nth-child(4) span { transition-delay: 0.18s; }
.menu-links a:hover { color: var(--mute); }
.menu-links a { transition: color 0.3s; }

/* ───────── text link, underline out ───────── */
.ul { position: relative; display: inline-block; overflow: hidden; width: fit-content; line-height: 1; }
.ul::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: left center;
}
.ul:hover::after { animation: ul-out 0.7s var(--ease); }
@keyframes ul-out {
  0% { transform: scaleX(1); transform-origin: right center; }
  49% { transform: scaleX(0); transform-origin: right center; }
  51% { transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}
.ul-sm { font-size: 14px; padding-bottom: 4px; }
.ul-xl { font-family: var(--serif); font-weight: 500; font-size: var(--h-xl); letter-spacing: -0.03em; line-height: 1.1; padding-bottom: 6px; }
.ul-xl::after { height: 2px; background: var(--red); }

/* ───────── hero ───────── */
.hero { position: relative; height: 92vh; min-height: 520px; overflow: hidden; background: var(--bg); }
@media (min-width: 810px) { .hero { height: 100vh; } }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.hero .slide.on { opacity: 1; }
.hero .slide .media { position: absolute; inset: 0; overflow: hidden; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.hero .slide:first-child img { transform: none; }
.hero .slide.on:not(:first-child) img { transform: scale(1.06); }
.hero .slide:not(:first-child):not(.on) img { transform: scale(1.14); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15) 50%, transparent 70%); pointer-events: none; z-index: 1; }

.hero-heading {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad);
  bottom: calc(47.2vw + 96px); max-width: 15ch;
  font-family: var(--serif); font-weight: 500; font-size: var(--h-hero); line-height: 0.98; letter-spacing: -0.045em;
}
.hero-heading span.w { display: inline-block; opacity: 0; transform: translateY(18px); margin-right: 0; }
.hero-heading.go span.w { animation: wordin 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 0.09s); }
@keyframes wordin { to { opacity: 1; transform: none; } }

.hero-bottom { position: absolute; z-index: 4; left: var(--pad); bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { position: relative; display: block; width: 21.6vw; aspect-ratio: 154 / 112; border-radius: 5px; overflow: hidden; opacity: 1; transition: opacity 0.5s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb { outline: 1px solid transparent; outline-offset: 3px; }
.thumb:hover { opacity: 0.8; }
.thumb.on { opacity: 1; outline-color: #fff; cursor: default; }
.counter { font-size: 13px; line-height: 14px; margin-top: 0; font-variant-numeric: tabular-nums; }

@media (min-width: 810px) {
  .hero-heading { font-size: 3.3vw; line-height: 1; max-width: 8.6em; bottom: calc(98px + 4.6vw); left: 23px; }
  .hero-bottom { left: 0; right: 0; bottom: 0; padding: 0 0 22px 23px; display: block; }
  .thumbs { flex-direction: row; gap: 11px; }
  .thumb { width: 6.95vw; min-width: 110px; height: auto; aspect-ratio: 139 / 98; border-radius: 3px; }
  .counter { position: absolute; bottom: 20px; left: calc(20px + 2 * ((100% - 40px) / 3 + 10px)); }
}

/* ───────── intro ───────── */
.intro { padding: 90px var(--pad) 90px; }
.intro-text { display: block; overflow: hidden; font-family: var(--serif); font-weight: 500; font-size: var(--h-xl); line-height: 1.08; letter-spacing: -0.045em; padding-bottom: 0.12em; }
.intro-text .word { display: inline-block; white-space: nowrap; }
.intro-text .ch { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 0.018s); }
.intro-text.in .ch { transform: none; }
.intro .ul { margin-top: 28px; }
@media (min-width: 810px) { .intro { padding: 140px 3px 140px; } .intro-text { max-width: 13.4em; font-size: 3.4vw; font-weight: 600; line-height: 0.97; } .intro .ul { margin-top: 24px; } }

/* ───────── capabilities ───────── */
.caps { position: relative; background: var(--bg); overflow: hidden; }
.caps-imgs { position: relative; height: 82vw; overflow: hidden; }
.caps-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.caps-imgs img.on { opacity: 1; transform: scale(1); }
.caps-imgs img:first-child { transform: none; }
.caps-imgs img.cap-texture { object-position: 50% 45%; }
.caps-imgs img.cap-private { object-position: 50% 40%; }
.caps-body { position: relative; padding: 20px var(--pad) 20px; }
.caps-title { font-size: 13px; font-weight: 500; line-height: 14px; margin-bottom: 20px; color: var(--mute); }
.caps-body::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 1px; background: var(--line); }
.caps-list { display: flex; flex-direction: column; gap: 5px; }
.caps-list button { display: block; text-align: left; font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 46px; letter-spacing: -0.03em; height: 46px; color: var(--dim); transition: color 0.35s var(--ease); width: fit-content; }
.caps-list button.on { color: var(--fg); }
@media (min-width: 810px) {
  .caps { height: 105vh; }
  .caps-imgs { position: absolute; inset: 0; height: auto; }
  .caps-body { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .caps-body::before { display: none; }
  .caps-title { margin: 0; align-self: start; padding-top: 0; }
  .caps-list { grid-column: 3; gap: 10px; }
  .caps-list button { font-size: 72px; line-height: 76px; height: 76px; }
  .caps-imgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.55), transparent 60%); }
  .caps-body { z-index: 2; }
}

/* ───────── cta ───────── */
.cta { background: var(--bg); padding: 120px var(--pad); display: flex; flex-direction: column; gap: 28px; }
.cta-text { width: 100%; font-family: var(--serif); font-weight: 500; font-size: var(--h-xl); line-height: 1.08; letter-spacing: -0.045em; }
.cta-text .w { display: inline-block; opacity: 0.16; transition: opacity 0.4s var(--ease); margin-right: 0; }
.cta-text .w.on { opacity: 1; }
@media (min-width: 810px) { .ul-xl { font-size: 48px; } }
/* CTA matches the original Framer section: white statement, grey link under it, no underline */
.cta-text, .cta .ul-xl { font-weight: 600; }
.cta .ul-xl { color: #6e6e6e; padding-bottom: 0; transition: color 0.3s var(--ease); }
.cta .ul-xl::after { display: none; }
.cta .ul-xl:hover { color: #fff; }
@media (min-width: 810px) {
  .cta { padding: 60px 3px 100px; gap: 0; }
  .cta-text { max-width: 13.4em; font-size: 3.4vw; line-height: 0.97; }
  .cta .ul-xl { font-size: 3.4vw; line-height: 0.97; letter-spacing: -0.045em; margin-top: 0.05em; }
  footer { padding-left: 3px; }
}

/* ───────── footer ───────── */
footer { background: var(--bg); padding: 60px var(--pad) 70px; }
.f-top { display: flex; flex-direction: column; gap: 18px; }
.f-logo { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.f-contact { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 16px; letter-spacing: -0.02em; }
.f-contact span.l { color: var(--mute); margin-right: 1px; }
.f-contact a:hover { color: var(--mute); }
@media (min-width: 810px) {
  footer { padding: 140px 0 80px; }
  .f-top { position: relative; flex-direction: row; align-items: center; min-height: 34px; padding-left: 2px; }
  .f-contact { position: absolute; left: 49.8%; top: 50%; transform: translateY(-50%); }
}

/* ───────── about ───────── */
.about-hero { position: relative; height: 100vh; overflow: hidden; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.25) 35%, transparent 60%); }
.about-hero h1 { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 0.96; letter-spacing: -0.04em; z-index: 2; }
@media (min-width: 810px) {
  .about-hero h1 { font-size: 3.4vw; font-weight: 600; line-height: 0.97; letter-spacing: -0.045em; left: 23px; top: 50%; bottom: auto; transform: translateY(-50%); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
  .about-hero::after { background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.25) 30%, transparent 55%); }
}
.about-hero h1 .w { display: inline-block; opacity: 0.001; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 0.12s); margin-right: 0; }
.about-hero h1 .w.dim { color: rgba(255,255,255,0.62); }
.about-hero h1.go .w { opacity: 1; transform: none; }
.about-intro { background: #fff; color: #000; padding: 56px var(--pad) 64px; display: flex; flex-direction: column; gap: 15px; }
.about-intro .grp { display: flex; flex-direction: column; gap: 20px; }
.about-intro p { font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; }
@media (min-width: 810px) {
  .about-intro { padding: 90px 20px 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 20px; }
  .about-intro .grp:nth-child(1) { grid-column: 2; }
  .about-intro .grp:nth-child(2) { grid-column: 3; }
}
.bridge { position: relative; height: 100vh; }
@media (min-width: 810px) { .bridge { height: 180vh; } }
.bridge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bridge-sticky { position: sticky; top: 0; height: 100vh; z-index: 2; display: flex; align-items: flex-end; padding: 0 var(--pad) 20vh; }
.bridge-quote { font-family: var(--serif); font-weight: 500; font-size: var(--h-xl); line-height: 1.05; letter-spacing: -0.045em; max-width: 683px; }
.bridge-quote .w { display: inline-block; opacity: 0.001; transition: opacity 0.4s var(--ease); margin-right: 0; }
.bridge-quote .w.on { opacity: 1; }
@media (min-width: 810px) { .bridge-quote { max-width: 1100px; font-size: 92px; line-height: 1; } .bridge-sticky { align-items: center; padding-bottom: 0; } }

/* ───────── simple pages ───────── */
.page { padding: 49px 0 0; }
@media (min-width: 810px) { .page { padding-top: 58px; } }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 20px var(--pad); }
@media (min-width: 810px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 5px; }
.contact-main { min-height: 70vh; padding: 80px var(--pad) 120px; display: flex; flex-direction: column; gap: 40px; }
.contact-main h1 { font-family: var(--serif); font-size: var(--h-xl); line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; max-width: 12ch; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}
