:root {
  --ink: #0f0d0b;
  --ink-soft: #1c1915;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --text: #2a2620;
  --muted: #6e665b;
  --gold: #9c7413;
  --gold-bright: #f5c159;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
}
.rule { width: 72px; height: 2px; background: #cfc6b8; margin: 1.6rem auto 0; }
.rule-left { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 3px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-bright); color: var(--ink); }
.btn-gold:hover { background: #ffd27a; }
.btn-ghost { border: 1px solid currentColor; color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-lg { padding: 1.2rem 3rem; font-size: 1rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  color: var(--paper);
  transition: background .3s ease, color .3s ease, padding .3s ease;
}
.nav.scrolled { background: rgba(247, 243, 236, .94); color: var(--ink); backdrop-filter: blur(8px); padding-block: .8rem; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.brand { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 1.15rem; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-cta { border: 1px solid currentColor; padding: .55rem 1.1rem; border-radius: 3px; opacity: 1 !important; }
.nav-toggle { display: none; background: none; border: 0; width: 32px; height: 22px; position: relative; cursor: pointer; color: inherit; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s ease, top .3s ease; }
.nav-toggle span:first-child { top: 6px; }
.nav-toggle span:last-child { top: 15px; }
.nav.open .nav-toggle span:first-child { top: 10px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 10px; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 7rem var(--gutter) 4rem;
}
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 8.5rem); letter-spacing: -.005em; }
.hero h1 span { color: var(--gold-bright); }
.hero-quote { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; margin: 1.8rem 0 2.6rem; color: #e6dfd2; }
.hero-quote em { color: var(--gold-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .eyebrow { color: var(--gold-bright); }
.hero-image { justify-self: end; max-width: 560px; width: 100%; }
.hero-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.55); animation: rise 1.2s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Section heads */
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--gold); }

/* Lookbook */
.lookbook { padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.gallery { columns: 3 300px; column-gap: 1.4rem; max-width: 1320px; margin: 0 auto; }
.tile {
  display: block; width: 100%; margin: 0 0 1.4rem; padding: 0; border: 0;
  background: none; cursor: zoom-in; break-inside: avoid; overflow: hidden;
  box-shadow: 0 10px 30px rgba(40, 30, 15, .12);
}
.tile img { width: 100%; transition: transform .7s ease, filter .4s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.035); }
.tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* About */
.about {
  background: var(--paper-2);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
}
.about-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% center; box-shadow: 0 20px 60px rgba(40, 30, 15, .2); }
.about-text { max-width: 560px; }
.about-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--ink); text-transform: none; font-family: var(--serif); font-weight: 500; font-style: italic; line-height: 1.15; }
.about-text p { margin-top: 1.3rem; color: var(--text); }
.about-text .lead { font-size: 1.45rem; color: var(--ink); margin-top: 1.8rem; }
.about-text .btn { margin-top: 2.2rem; }

/* Contact */
.contact {
  background: var(--ink); color: var(--paper); text-align: center;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.contact .eyebrow { color: var(--gold-bright); }
.contact h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.contact-sub { max-width: 520px; margin: 1.4rem auto 2.6rem; color: #cfc7b9; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin-top: 1.8rem; }
.contact-links a { color: #cfc7b9; text-decoration: none; letter-spacing: .04em; overflow-wrap: anywhere; }
.contact-links a:hover { color: var(--gold-bright); }

/* Footer */
.footer {
  background: var(--ink); color: #8d8476; border-top: 1px solid #2a261f;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.6rem var(--gutter); font-size: .95rem;
}
.signature { height: 30px; width: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 7, .96);
  display: flex; align-items: center; justify-content: center; padding: 3rem 4rem;
}
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--paper); cursor: pointer; font-size: 3rem; line-height: 1; padding: .5rem 1rem; opacity: .75; }
.lightbox button:hover { opacity: 1; color: var(--gold-bright); }
.lb-close { top: .6rem; right: .8rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #8d8476; font-family: var(--display); letter-spacing: .2em; font-size: .8rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 6.5rem; }
  .hero-actions { justify-content: center; }
  .hero-image { justify-self: center; max-width: 440px; }
  .about { grid-template-columns: 1fr; }
  .about-image { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--ink); color: var(--paper);
    flex-direction: column; justify-content: center; gap: 2.4rem;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-links a { font-size: 1.1rem; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open { color: var(--paper); background: transparent; box-shadow: none; }
  .nav-toggle, .brand { position: relative; z-index: 2; }
  .gallery { columns: 2 140px; column-gap: .8rem; }
  .tile { margin-bottom: .8rem; }
  .lightbox { padding: 3.5rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: .2rem; transform: none; }
  .footer { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Studio restructure ---- */
.hero-sub { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: #b9b0a2; margin: -1.2rem 0 2.4rem; line-height: 1.8; }
.nav-links a[hidden] { display: none; }

/* Projects */
.projects { padding: clamp(5rem, 10vw, 8rem) var(--gutter) 0; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 1320px; margin: 0 auto; }
.project-card { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.project-cover { overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); box-shadow: 0 14px 40px rgba(40, 30, 15, .15); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card:hover .project-cover img, .project-card:focus-visible .project-cover img { transform: scale(1.04); }
.project-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.project-meta { padding-top: 1.2rem; }
.project-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: var(--gold); }
.project-meta h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; margin: .35rem 0 .4rem; color: var(--ink); }
.project-credit { font-style: italic; color: var(--muted); }
.project-summary { margin-top: .6rem; }

/* Capabilities */
.capabilities { background: var(--ink); color: var(--paper); padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.capabilities .section-head h2 { color: var(--gold-bright); }
.capabilities .eyebrow { color: var(--gold-bright); }
.cap-list { list-style: none; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.cap-list li { border-top: 1px solid #3a342b; padding: 1.8rem 0 2.2rem; }
.cap-num { font-family: var(--display); color: var(--gold-bright); letter-spacing: .2em; font-size: .8rem; }
.cap-list h3 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 1.5rem; margin: .5rem 0 .6rem; }
.cap-list p { color: #cfc7b9; font-size: 1.1rem; }

/* About credit */
.about-credit { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold) !important; margin-top: 1.8rem !important; }

/* Lightbox caption */
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figure .lb-img { max-height: calc(100vh - 9rem); }
.lb-caption { color: #cfc7b9; font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; margin-top: .9rem; text-align: center; }
.lightbox button[hidden] { display: none; }
