@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

@property --iris { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --bg: #0d0c0b;
  --bg-2: #171513;
  --ink: #efe9df;
  --ink-soft: #a29b90;
  --line: #2b2825;
  --accent: #e0662f;
  --light: 255, 190, 128;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
h1 em, h2 em { color: var(--accent); }
h3 { font-weight: 500; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: #fff; }

.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 20px); max-width: 52ch; }

.btn {
  display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 500;
  border: 1px solid var(--accent); transition: transform .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(239, 233, 223, .35); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 18px; font-size: 15px; }

/* overlays */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.iris {
  position: fixed; inset: 0; z-index: 200; background: #000; pointer-events: none;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 calc(var(--iris) + 2px));
          mask: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 calc(var(--iris) + 2px));
  animation: iris 1.5s cubic-bezier(.7, 0, .2, 1) .15s forwards;
}
@keyframes iris { to { --iris: 150vmax; visibility: hidden; } }
@supports not (mask: radial-gradient(circle, #000, #000)) { .iris { display: none; } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 1px solid rgba(239, 233, 223, .7); opacity: 0;
  display: grid; place-items: center;
  transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s, border-color .3s;
}
.cursor span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-on { opacity: 1; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 68px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(13, 12, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links a:not(.btn) { color: var(--ink-soft); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--ink); }

/* hero: the darkened studio */
.hero {
  --lx: 60vw; --ly: 40vh;
  position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
  background:
    radial-gradient(circle at var(--lx) var(--ly), rgba(var(--light), .20), rgba(var(--light), .05) 28%, transparent 52%),
    var(--bg);
}
.table { position: absolute; inset: 0; z-index: 1; }
.print {
  position: absolute; left: 0; top: 0; margin: 0; border-radius: 4px; overflow: hidden;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; will-change: transform;
  background: #1c1a18;
}
.print.is-drag { cursor: grabbing; }
.print img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.print::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--light), .28), transparent 55%);
  mix-blend-mode: soft-light;
}
.dark {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at var(--lx) var(--ly), transparent 0, transparent 9%, rgba(9, 8, 7, .55) 34%, rgba(9, 8, 7, .86) 62%);
}
.hero-text {
  position: absolute; left: var(--gutter); bottom: clamp(96px, 13vh, 150px); z-index: 3;
  max-width: min(760px, 62vw); pointer-events: none;
}
.hero-text > * { pointer-events: auto; }
.hero h1 { font-size: clamp(44px, 7.4vw, 118px); margin-bottom: 22px; text-shadow: 0 2px 40px rgba(0, 0, 0, .6); pointer-events: none; }
.hero .lead { color: #c9c2b6; text-shadow: 0 1px 20px rgba(0, 0, 0, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rig {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; z-index: 3;
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  font-size: 13px; color: var(--ink-soft); pointer-events: none;
}
.rig-hint { transition: opacity .8s; max-width: 46ch; }
.rig-hint.is-done { opacity: 0; }
/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; will-change: transform; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 48px); white-space: nowrap; }
.marquee-track span::after { content: "✳"; font-style: normal; font-size: .5em; color: var(--accent); margin-left: 56px; vertical-align: middle; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 160px) var(--gutter); position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 72px); }
.section-head h2, .about h2 { font-size: clamp(36px, 5.2vw, 76px); max-width: 16ch; }

/* services */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start;
  padding: clamp(26px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding-left .5s cubic-bezier(.2, .8, .2, 1);
}
.service-no { font-size: 13px; letter-spacing: .14em; color: var(--ink-soft); padding-top: 14px; }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -0.01em; transition: color .3s; }
.service-body { color: var(--ink-soft); }
.service ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; }
.service li { padding: 7px 0; border-top: 1px solid var(--line); }
@media (hover: hover) {
  .service:hover { padding-left: 22px; }
  .service:hover h3 { color: var(--accent); font-style: italic; }
  .services:hover .service:not(:hover) { opacity: .45; }
  .service { transition: padding-left .5s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
}
.preview {
  position: fixed; left: 0; top: 0; z-index: 80; width: clamp(220px, 24vw, 360px); aspect-ratio: 3 / 2;
  margin: -12% 0 0 24px; border-radius: 8px; overflow: hidden; pointer-events: none;
  opacity: 0; scale: .7; transition: opacity .25s, scale .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.preview.is-on { opacity: 1; scale: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .preview { display: none; } }

/* splash */
.splash { position: relative; height: clamp(320px, 56vh, 560px); border-block: 1px solid var(--line); background: #050505; overflow: hidden; cursor: pointer; touch-action: pan-y; }
.splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.splash-note { position: absolute; left: var(--gutter); bottom: 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); pointer-events: none; }
.splash-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; scale: 1.06; transition: opacity .6s, scale 3.6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; background: #000; }
.splash.is-shot .splash-photo { opacity: 1; scale: 1; }
.splash-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.splash.is-flash .splash-flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.splash-result { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 20px; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 26px); opacity: 0; transition: opacity .5s; pointer-events: none; }
.splash.is-shot .splash-result { opacity: 1; }
.splash.is-shot .splash-note { opacity: 0; }
.splash-note { transition: opacity .3s; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  font: inherit; font-size: 14px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  color: var(--ink-soft); background: transparent; border: 1px solid var(--line); transition: color .2s, background .2s, border-color .2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { display: flex; gap: clamp(10px, 1.4vw, 20px); align-items: flex-start; }
.col { flex: 1 1 0; min-width: 0; display: grid; gap: clamp(10px, 1.4vw, 20px); will-change: transform; }
.tile {
  --rx: 0deg; --ry: 0deg;
  position: relative; margin: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--bg-2);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), clip-path 1s cubic-bezier(.2, .8, .2, 1);
  clip-path: inset(100% 0 0 0);
}
.tile.is-in { clip-path: inset(0); }
.tile.is-tilt { transition: transform .08s linear, clip-path 1s; }
.tile img { width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { scale: 1; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 244, 229, .38), transparent 50%);
  mix-blend-mode: soft-light;
}
.tile:hover::after { opacity: 1; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; font-size: 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s;
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; translate: 0 0; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; display: grid; gap: clamp(34px, 5vw, 64px); max-width: 780px; }
.steps-line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.steps-line i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 18px var(--accent); }
.step { position: relative; opacity: .35; transition: opacity .5s; }
.step > span {
  position: absolute; left: -64px; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft);
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; margin-bottom: 8px; }
.step p { color: var(--ink-soft); max-width: 46ch; }
.step.is-on { opacity: 1; }
.step.is-on > span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 30px rgba(224, 102, 47, .55); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.about-img { margin: 0; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.2, .8, .2, 1); }
.about-img.is-in { clip-path: inset(0); }
.about-img img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.about-text p:not(.eyebrow) { color: var(--ink-soft); margin-top: 18px; max-width: 54ch; }
.about-text h2 { margin-bottom: 8px; }
.link-arrow { display: inline-block; margin-top: 26px; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.link-arrow::after { content: " →"; display: inline-block; transition: translate .25s; }
.link-arrow:hover::after { translate: 5px 0; }

/* book */
.book {
  --bx: 50%; --by: 50%;
  position: relative; overflow: hidden; text-align: center; padding: clamp(96px, 13vw, 190px) var(--gutter);
  border-top: 1px solid var(--line); display: grid; justify-items: center;
}
.book-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--bx) var(--by), rgba(224, 102, 47, .30), transparent 42%); }
.book > :not(.book-glow) { position: relative; }
.book h2 { font-size: clamp(44px, 8vw, 132px); max-width: 12ch; margin-bottom: 26px; }
.book .lead { margin-bottom: 48px; }
.magnet {
  width: clamp(190px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-content: center; gap: 4px; text-decoration: none; will-change: transform;
  box-shadow: 0 0 90px rgba(224, 102, 47, .45); transition: box-shadow .3s;
}
.magnet:hover { box-shadow: 0 0 130px rgba(224, 102, 47, .75); }
.magnet strong { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.magnet span { font-size: 12px; opacity: .85; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 32px var(--gutter); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.footer-brand { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* lightbox, opens like an aperture from the clicked tile */
.lightbox {
  --ox: 50vw; --oy: 50vh;
  position: fixed; inset: 0; z-index: 120; background: rgba(8, 7, 6, .96); display: grid; place-items: center;
  clip-path: circle(0 at var(--ox) var(--oy)); visibility: hidden;
  transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s .7s;
}
.lightbox.is-open { clip-path: circle(150vmax at var(--ox) var(--oy)); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.lightbox img { max-width: min(92vw, 1500px); max-height: 82vh; border-radius: 4px; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--ink); font-size: 40px; line-height: 1; cursor: pointer; width: 56px; height: 56px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; translate: 0 -50%; }
.lb-next { right: 10px; top: 50%; translate: 0 -50%; }
.lb-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--ink-soft); font-size: 14px; }

@media (max-width: 1000px) {
  .hero-text { max-width: none; right: var(--gutter); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 24px var(--gutter) 30px; background: rgba(13, 12, 11, .96); border-bottom: 1px solid var(--line);
    translate: 0 -130%; transition: translate .35s;
  }
  .nav-links.is-open { translate: 0 0; }
  .hero-text { max-width: none; right: var(--gutter); bottom: 118px; }
  .hero .lead { font-size: 15px; line-height: 1.45; }
  .hero h1 { margin-bottom: 14px; }
  .hero-cta { margin-top: 18px; }
  .rig-hint { display: none; }
  .service { grid-template-columns: 44px minmax(0, 1fr); }
  .service-body { grid-column: 2; }
  .about { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .iris { display: none; }
  .tile, .about-img { clip-path: none; transition: none; }
  .lightbox, .lightbox.is-open { transition: none; }
}
