@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #121111;
  --bg-2: #191717;
  --ink: #ece7e0;
  --muted: #9a938b;
  --line: rgba(236, 231, 224, 0.12);
  --pad: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 300 1.0625rem/1.7 "Jost", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem var(--pad);
  background: linear-gradient(var(--bg) 20%, transparent);
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand span { font-weight: 400; font-size: .8rem; letter-spacing: .45em; }
.nav nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.nav nav a {
  font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.nav nav a:hover { color: var(--ink); }

/* Shared */
.eyebrow, .num {
  display: block; font-size: .72rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
h1, h2, h3, h4 { font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h4 { font-size: 1.25rem; font-weight: 400; }

.btn {
  display: inline-block; margin-top: 2.2rem;
  padding: .95rem 2.1rem; border: 1px solid var(--ink); border-radius: 999px;
  font-size: .78rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* Hero */
.hero { padding-top: clamp(7rem, 16vh, 10rem); }
.hero-text { padding: 0 var(--pad); max-width: 62rem; }
.hero-logo { width: clamp(180px, 22vw, 280px); margin-bottom: 3rem; opacity: .95; }
.hero h1 { margin: 1rem 0 1.4rem; }
.lede { max-width: 34rem; color: var(--muted); font-size: 1.15rem; }
.hero-img { margin-top: clamp(3rem, 8vw, 6rem); position: relative; }
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--bg), transparent 10%, transparent 90%, var(--bg));
  pointer-events: none;
}
.hero-img img { width: 100%; }

/* Work */
.work, .studio { padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.section-head { margin-bottom: clamp(3rem, 7vw, 5rem); }
.section-head h2 { margin-top: .9rem; }

.collection {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line);
}
.collection.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.collection.flip .col-meta { order: 2; }
.col-meta { position: sticky; top: 7rem; }
.col-meta h3 { margin: .8rem 0 1.2rem; }
.col-meta p { color: var(--muted); max-width: 30rem; }
dl { margin-top: 2rem; border-top: 1px solid var(--line); max-width: 30rem; }
dl div { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
dt { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; align-self: center; }

.col-media { display: grid; gap: 1.2rem; }
.shot {
  all: unset; display: block; cursor: zoom-in; overflow: hidden;
  border-radius: 6px; background: var(--bg-2);
}
.shot img { width: 100%; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* Studio */
.studio { background: var(--bg-2); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.studio-intro { font-size: 1.25rem; line-height: 1.6; }
.services { list-style: none; display: grid; gap: 0; }
.services li { padding: 1.8rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services .num { grid-row: span 2; padding-top: .35rem; }
.services p { color: var(--muted); margin-top: .4rem; }

/* Contact */
.contact { text-align: center; padding: clamp(6rem, 14vw, 11rem) var(--pad); }
.contact-mark { width: 120px; margin: 0 auto 2.5rem; opacity: .9; }
.contact p { color: var(--muted); margin-top: 1rem; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 2rem var(--pad); border-top: 1px solid var(--line);
  font-size: .78rem; letter-spacing: .1em; color: var(--muted);
}

/* Lightbox */
dialog {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; margin: auto;
}
dialog::backdrop { background: rgba(10, 9, 9, .92); backdrop-filter: blur(6px); }
dialog img { max-width: 94vw; max-height: 92vh; border-radius: 6px; }
dialog .close {
  position: fixed; top: 1rem; right: 1.4rem; background: none; border: 0;
  color: var(--ink); font: 300 2.4rem/1 "Jost", sans-serif; cursor: pointer;
}

/* Reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-img.reveal { transform: none; transition-duration: 1.8s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot img { transition: none; }
}

@media (max-width: 820px) {
  .collection, .collection.flip, .studio-grid { grid-template-columns: 1fr; }
  .collection.flip .col-meta { order: 0; }
  .col-meta { position: static; }
  .brand span { display: none; }
}

/* ---- Personal / build-in-public additions ---- */
.hero h1 em { font-style: normal; font-weight: 400; }
.status {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--muted); margin-bottom: 2rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7fd18b; box-shadow: 0 0 0 0 rgba(127,209,139,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,209,139,.5); } 70% { box-shadow: 0 0 0 9px rgba(127,209,139,0); } 100% { box-shadow: 0 0 0 0 rgba(127,209,139,0); } }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.actions .btn { margin-top: 0; }
.actions.center { justify-content: center; }
.btn.ghost { border-color: var(--line); color: var(--muted); }
.btn.ghost:hover, .btn.ghost:focus-visible { border-color: var(--ink); background: transparent; color: var(--ink); }
.hero-img figcaption { position: absolute; right: var(--pad); bottom: 1.2rem; z-index: 1; font-size: .85rem; color: var(--muted); }

.label { font-size: .9rem; color: var(--muted); }
.sub { color: var(--muted); margin-top: 1rem; max-width: 34rem; }
.tag { display: inline-block; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .75rem; }
.col-meta p + p { margin-top: 1rem; }
.note { font-size: .95rem; padding-left: 1rem; border-left: 1px solid var(--line); }

.about { padding: clamp(5rem, 12vw, 9rem) var(--pad); background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.about h2 { margin-top: .9rem; }
.about-text p { font-size: 1.15rem; line-height: 1.75; max-width: 38rem; }
.about-text p + p { margin-top: 1.3rem; }
.sign { color: var(--muted); }

.log { padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.timeline { list-style: none; max-width: 46rem; border-left: 1px solid var(--line); margin-left: .4rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0 0 2.4rem 2rem; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: .55rem;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted);
}
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.timeline li.now::before { background: #7fd18b; border-color: #7fd18b; }
.timeline li.next { opacity: .6; }
.when { font-size: .85rem; color: var(--muted); padding-top: .2rem; }
.timeline p { color: var(--muted); margin-top: .2rem; }

@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero-img figcaption { position: static; padding: .8rem var(--pad) 0; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 480px) {
  .nav nav { gap: .9rem; }
  .nav nav a { letter-spacing: .12em; font-size: .72rem; }
}

/* ---- Signup ---- */
.updates { padding: clamp(5rem, 12vw, 9rem) var(--pad); background: var(--bg-2); border-top: 1px solid var(--line); }
.updates-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.updates h2 { margin-top: .9rem; }
.signup .field { display: flex; gap: .6rem; padding: .4rem; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s; }
.signup .field:focus-within { border-color: var(--ink); }
.signup input[type=email] {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--ink); font: 300 1rem "Jost", system-ui, sans-serif; padding: .6rem 1.1rem;
}
.signup input::placeholder { color: var(--muted); opacity: .7; }
.signup .btn { margin: 0; padding: .8rem 1.6rem; cursor: pointer; background: var(--ink); color: var(--bg); font-family: inherit; }
.signup .btn:hover { background: transparent; color: var(--ink); }
.signup .btn[disabled] { opacity: .5; cursor: wait; }
.fine { font-size: .82rem; color: var(--muted); margin-top: .9rem; padding-left: 1.2rem; }
.msg { min-height: 1.6em; margin-top: .6rem; padding-left: 1.2rem; font-size: .95rem; }
.msg.ok { color: #7fd18b; }
.msg.err { color: #e9897a; }
.signup.done .field, .signup.done .fine { display: none; }
.hp, .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.inline { color: var(--ink); border-bottom: 1px solid var(--line); }
a.inline:hover { border-color: var(--ink); }
@media (max-width: 820px) { .updates-inner { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .signup .field { flex-direction: column; border-radius: 18px; }
  .signup .btn { width: 100%; }
}

.about-text p.callout { font-weight: 500; font-size: 1.3rem; color: var(--ink); }
