:root {
  --paper: #f4ede1;
  --paper-soft: #ebe2d2;
  --ink: #1a1814;
  --ink-2: #4a443a;
  --ink-3: #7a7268;
  --rule: #d8cebb;
  --rule-soft: #e3d9c6;
  --walnut: #6b4d2e;
  --walnut-deep: #4a341f;
  --brass: #a88247;
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.serif { font-family: var(--serif); }
.italic { font-style: italic; font-weight: 400; }

/* ── HEADER ────────────────────────────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 237, 225, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
header.site .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}
.brand {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 22px;
  width: auto;
}
@media (max-width: 540px) {
  .brand img { height: 18px; }
}
nav.primary {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
nav.primary a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.primary a:hover { color: var(--ink); border-bottom-color: var(--walnut); }
@media (max-width: 720px) {
  nav.primary { display: none; }
}

/* ── MOBILE NAV (hamburger + editorial overlay) ────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
@media (max-width: 720px) {
  .nav-burger { display: flex; }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.45s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.nav-overlay__inner {
  text-align: center;
  padding: 40px 24px;
}
.nav-overlay__list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.nav-overlay__list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-overlay.is-open .nav-overlay__list li {
  opacity: 1;
  transform: translateY(0);
}
.nav-overlay.is-open .nav-overlay__list li:nth-child(1) { transition-delay: 0.10s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(2) { transition-delay: 0.17s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(3) { transition-delay: 0.24s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(4) { transition-delay: 0.31s; }
.nav-overlay__list a {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 8vw, 56px);
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 24px;
  transition: color 0.2s ease;
}
.nav-overlay__list a em { color: var(--walnut); font-style: italic; font-weight: 500; }
.nav-overlay__list a:hover { color: var(--walnut); }
.nav-overlay__close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 12px;
  transition: color 0.2s ease;
}
.nav-overlay__close:hover { color: var(--walnut); }
.nav-overlay__contact {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.nav-overlay__contact a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--walnut);
  padding-bottom: 2px;
}

/* Lock body scroll while nav overlay is open */
body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nav-overlay,
  .nav-overlay__list li { transition: none !important; }
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
}
.hero__copy { max-width: 580px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
  color: var(--ink);
}
.hero h1 em { color: var(--walnut); font-style: italic; font-weight: 500; }
.hero p.lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 0 32px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__meta strong { color: var(--ink); font-weight: 500; }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 32px;
  transition: background 0.15s ease;
}
.hero__cta:hover { background: var(--walnut); }
.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media .ph {
  background: linear-gradient(135deg, #c9b896 0%, #a89070 50%, #7a5d3c 100%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── ABOUT / STORY ─────────────────────────────────────────────────────── */
section.story {
  padding-block: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--rule-soft);
}
section.story .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 88px);
}
@media (max-width: 880px) {
  section.story .container { grid-template-columns: 1fr; gap: 32px; }
}
section.story h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 0;
  color: var(--ink);
}
section.story h2 em { color: var(--walnut); font-style: italic; }
.story__body p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 62ch;
}
.story__body p:last-child { margin: 0; }
.story__body p .accent { color: var(--walnut); font-style: italic; }

/* ── WORK GRID ─────────────────────────────────────────────────────────── */
section.work {
  padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--rule-soft);
}
.work__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.work__head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 0;
}
.work__head h2 em { color: var(--walnut); font-style: italic; }
.work__head .meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}
@media (max-width: 720px) {
  .work__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work__head .meta { text-align: left; }
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .work__grid { gap: 16px; }
}
.work__item { position: relative; overflow: hidden; }
.work__item .ph {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #d4c4a3 0%, #9c8261 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.work__item .ph.alt2 { background: linear-gradient(135deg, #b8a280 0%, #6e553b 100%); }
.work__item .ph.alt3 { background: linear-gradient(135deg, #c4a98a 0%, #8a6e4b 100%); }
.work__item .ph.alt4 { background: linear-gradient(135deg, #a89070 0%, #5c4326 100%); }
.work__item .ph.wide { aspect-ratio: 16/10; }
.work__item .work__img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.work__item .work__img.wide { aspect-ratio: 16/10; }
.work__item:hover .work__img { transform: scale(1.035); }
.work__item h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin: 14px 0 4px;
  color: var(--ink);
}
.work__item .caption {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work__item.span-7 { grid-column: span 7; }
.work__item.span-5 { grid-column: span 5; }
.work__item.span-4 { grid-column: span 4; }
.work__item.span-8 { grid-column: span 8; }
.work__item.span-6 { grid-column: span 6; }
.work__item.span-12 { grid-column: span 12; }
@media (max-width: 880px) {
  .work__item.span-7,
  .work__item.span-5,
  .work__item.span-4,
  .work__item.span-8,
  .work__item.span-6 { grid-column: span 12; }
}

/* ── PROCESS ───────────────────────────────────────────────────────────── */
section.process {
  background: var(--paper-soft);
  padding-block: clamp(72px, 8vw, 120px);
  border-top: 1px solid var(--rule-soft);
}
.process__head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 16px;
}
.process__head h2 em { color: var(--walnut); font-style: italic; }
.process__head p {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 56px;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 540px) {
  .process__steps { grid-template-columns: 1fr; }
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--walnut);
}
.step .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--walnut);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ── FURNITURE COMING SOON ─────────────────────────────────────────────── */
section.furniture {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(72px, 8vw, 120px);
}
section.furniture .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  section.furniture .container { grid-template-columns: 1fr; gap: 40px; }
}
section.furniture .eyebrow { color: var(--brass); }
section.furniture h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 14px 0 24px;
  color: var(--paper);
}
section.furniture h2 em { color: var(--brass); font-style: italic; font-weight: 500; }
section.furniture p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244, 237, 225, 0.78);
  margin: 0 0 28px;
  max-width: 48ch;
}
.furniture__form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  flex-wrap: wrap;
}
.furniture__form input[type="email"] {
  flex: 1 1 240px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(244, 237, 225, 0.3);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 0;
}
.furniture__form input[type="email"]::placeholder { color: rgba(244, 237, 225, 0.4); }
.furniture__form input[type="email"]:focus {
  outline: none;
  border-color: var(--brass);
}
.furniture__form button {
  padding: 14px 22px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}
.furniture__form button:hover { background: #c79b58; }
.furniture__msg {
  margin: 12px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass);
  min-height: 16px;
}
.furniture__media .ph {
  aspect-ratio: 5/6;
  background: linear-gradient(135deg, #5c4326 0%, #2a1d10 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: rgba(244, 237, 225, 0.6);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.furniture__media {
  position: relative;
  overflow: hidden;
}
.furniture__img {
  display: block;
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
}

/* ── CONTACT ───────────────────────────────────────────────────────────── */
section.contact {
  padding-block: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--rule-soft);
}
section.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 880px) {
  section.contact .container { grid-template-columns: 1fr; gap: 40px; }
}
.contact__copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 20px;
}
.contact__copy h2 em { color: var(--walnut); font-style: italic; }
.contact__copy p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 38ch;
}
.contact__details {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.contact__details dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 20px;
  margin-bottom: 4px;
}
.contact__details dt:first-child { margin-top: 0; }
.contact__details dd { margin: 0; }
.contact__details a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--walnut);
}
.contact__details a:hover { color: var(--walnut); }

.contact__form { display: grid; gap: 18px; }
.contact__form label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.contact__form textarea { resize: vertical; min-height: 120px; }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--walnut);
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) {
  .contact__row { grid-template-columns: 1fr; }
}
.contact__form button[type="submit"] {
  justify-self: start;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
  transition: background 0.15s ease;
}
.contact__form button[type="submit"]:hover { background: var(--walnut); }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
footer.site {
  background: var(--ink);
  color: rgba(244, 237, 225, 0.7);
  padding-block: 48px 28px;
  font-family: var(--sans);
  font-size: 12px;
}
footer.site .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) {
  footer.site .container { grid-template-columns: 1fr; gap: 32px; }
}
footer.site h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  font-weight: 600;
}
footer.site .brand-line {
  line-height: 0;
  margin-bottom: 18px;
}
footer.site .brand-line img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 240px;
}
footer.site p, footer.site a { color: rgba(244, 237, 225, 0.7); text-decoration: none; }
footer.site a:hover { color: var(--brass); }
footer.site ul { padding: 0; margin: 0; list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site .bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 237, 225, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(244, 237, 225, 0.5);
}
@media (max-width: 540px) {
  footer.site .bottom { flex-direction: column; gap: 6px; }
}

/* ── PLACEHOLDER LABEL HELPER ─────────────────────────────────────────── */
.ph__label { opacity: 0.85; }
.ph__label small { display: block; opacity: 0.6; letter-spacing: 0.06em; text-transform: none; font-size: 10px; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════════════ */
/*  MOTION + PREMIUM TOUCHES                                              */
/* ══════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

/* Paper grain — barely-there texture for warmth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 240 240%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.86%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22 opacity=%220.55%22/%3E%3C/svg%3E');
  opacity: 0.06;
  mix-blend-mode: multiply;
}
header.site, main, footer.site { position: relative; z-index: 2; }

/* Scroll reveal — fade up on entry */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
      transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
  [data-reveal-delay="1"] { transition-delay: 0.08s; }
  [data-reveal-delay="2"] { transition-delay: 0.16s; }
  [data-reveal-delay="3"] { transition-delay: 0.24s; }
  [data-reveal-delay="4"] { transition-delay: 0.32s; }
  [data-reveal-delay="5"] { transition-delay: 0.40s; }
}

/* Hero entrance — initial state (gated entrance kept later, with body.is-ready) */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { opacity: 0; transform: translateY(24px); }
  .hero__media { overflow: hidden; }
  .hero__media .ph,
  .hero__media .hero__img {
    transform-origin: center center;
    opacity: 0;
    transform: scale(1.08);
  }
  @keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
  @keyframes heroImgIn { to { opacity: 1; transform: scale(1); } }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }
}

/* Marquee — rolling project locations */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule-soft);
  padding-block: 22px;
  background: var(--paper);
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 58s linear infinite;
  will-change: transform;
}
.marquee__line {
  flex-shrink: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  color: var(--ink-2);
  white-space: nowrap;
  padding-right: 8px;
  letter-spacing: 0.005em;
}
.marquee__line .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--walnut);
  border-radius: 50%;
  margin: 0 28px 4px 28px;
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Work-grid hover — image scale + heading nudge */
.work__item { position: relative; cursor: default; }
.work__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.work__item .ph {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.work__item:hover .ph { transform: scale(1.035); }
.work__item h3 { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.work__item:hover h3 { transform: translateX(4px); }

/* Drop cap on the story's opening paragraph */
.story__body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: 0.78;
  float: left;
  margin: 10px 14px 0 -3px;
  color: var(--walnut);
  font-weight: 500;
}

/* Nav link underline draw */
nav.primary a { border-bottom: none; position: relative; }
nav.primary a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--walnut);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
nav.primary a:hover::after { transform: scaleX(1); }
nav.primary a:hover { border-bottom: none; }

/* Counter — tabular numerals so width doesn't jitter */
.counter { font-variant-numeric: tabular-nums; }

/* ── CUSTOM CURSOR — shows on work-grid hover ── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, left, top;
  mix-blend-mode: difference;
}
.cursor.is-visible { transform: translate(-50%, -50%) scale(1); }
@media (max-width: 880px) { .cursor { display: none; } }
@media (hover: none) { .cursor { display: none; } }

/* When the custom cursor is active, hide the native cursor over targets */
[data-cursor-target] { cursor: none; }
@media (max-width: 880px) {
  [data-cursor-target] { cursor: default; }
}

/* Brand wordmark — subtle hover treatment */
.brand { transition: opacity 0.25s ease; }
.brand:hover { opacity: 0.7; }

/* ══════════════════════════════════════════════════════════════════════ */
/*  BRAND LOADER — full-viewport intro curtain, dismissed on window.load  */
/* ══════════════════════════════════════════════════════════════════════ */
.brand-loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 1.4s;
}
.brand-loader.hidden { opacity: 0; visibility: hidden; }
.brand-loader__inner { text-align: center; }
.brand-loader__mark {
  margin: 0 0 44px;
  opacity: 0;
  animation: brandIn 1.25s 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  line-height: 0;
}
.brand-loader__mark img {
  display: block;
  margin: 0 auto;
  height: clamp(18px, 2.5vw, 28px);
  width: auto;
  max-width: min(560px, 80vw);
}
.brand-loader__bar {
  width: 180px;
  height: 1px;
  background: rgba(244, 237, 225, 0.07);
  margin: 0 auto 10px;
  position: relative;
  overflow: hidden;
}
.brand-loader__bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--walnut), transparent);
  animation: brandShimmer 1.4s ease-in-out infinite;
}
.brand-loader__bar--short { width: 100px; }
@keyframes brandIn { to { opacity: 1; } }
@keyframes brandShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-loader__mark { opacity: 1; animation: none; }
  .brand-loader__bar::after { animation: none; }
}

/* Soft scroll lock while loader is up — applied via class so JS-disabled
   users (who fall through the noscript fallback) still get a usable page. */
body.is-loader-active { overflow: hidden; }

/* ── INSIDE THE WORKSHOP ── */
section.workshop {
  background: var(--paper-soft);
  padding-block: clamp(72px, 8vw, 120px);
  border-top: 1px solid var(--rule-soft);
  position: relative;
  z-index: 2;
}
section.workshop .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  section.workshop .container { grid-template-columns: 1fr; gap: 32px; }
}
.workshop__media { position: relative; overflow: hidden; }
.workshop__poster {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--paper-soft);
}
.workshop__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.workshop__media:hover .workshop__poster img {
  transform: scale(1.02);
}
.workshop__copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 18px;
  color: var(--ink);
}
.workshop__copy h2 em { color: var(--walnut); font-style: italic; }
.workshop__copy p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 48ch;
}
.workshop__bullets {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--walnut);
}
.workshop__bullets li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.workshop__pill {
  display: inline-block;
  background: var(--walnut);
  color: var(--paper);
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-right: 8px;
  vertical-align: 1px;
}

/* ── RECOGNITION + TRUSTED BY ── */
section.trust {
  padding-block: clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--rule-soft);
}
section.trust .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
}
@media (max-width: 880px) {
  section.trust .container { grid-template-columns: 1fr; gap: 56px; }
}
.trust__col h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 24px;
  color: var(--ink);
}
.trust__col h2 em { color: var(--walnut); font-style: italic; }
.trust__list { list-style: none; padding: 0; margin: 0; }
.trust__list li {
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--sans);
}
.trust__list li:last-child { border-bottom: 1px solid var(--rule-soft); }
.trust__list strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: 0;
}
.trust__list span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.trust__col p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 42ch;
}
.trust__note {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--walnut);
  border-top: 1px solid var(--walnut);
  padding-top: 16px;
  margin-top: 28px;
  max-width: 42ch;
}

/* Gate the hero entrance + Ken Burns behind the loader so the curtain
   reveals the actual entrance animation, not a static landed hero. */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: none; }
  body.is-ready .hero__copy > *:nth-child(1) { animation: heroIn 1.1s 0.20s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  body.is-ready .hero__copy > *:nth-child(2) { animation: heroIn 1.1s 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  body.is-ready .hero__copy > *:nth-child(3) { animation: heroIn 1.1s 0.44s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  body.is-ready .hero__copy > *:nth-child(4) { animation: heroIn 1.1s 0.56s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  body.is-ready .hero__copy > *:nth-child(5) { animation: heroIn 1.1s 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .hero__media .ph,
  .hero__media .hero__img { animation: none; }
  body.is-ready .hero__media .ph,
  body.is-ready .hero__media .hero__img {
    animation:
      heroImgIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards,
      kenburns 26s 1.6s ease-in-out infinite alternate;
  }
}

/* ══════════════════════════════════════════════════════════════════════ */
/*  ACCESSIBILITY — focus rings + reduced motion overrides                */
/* ══════════════════════════════════════════════════════════════════════ */

/* Visible focus ring across every interactive element. Uses walnut so it
   ties to the brand accent and stays distinct from form border color. */
:where(a, button, [role="button"], input, select, textarea, summary):focus { outline: none; }
:where(a, button, [role="button"], summary, .work__link):focus-visible {
  outline: 2px solid var(--walnut);
  outline-offset: 3px;
  border-radius: 1px;
}
:where(input, select, textarea):focus-visible {
  outline: 2px solid var(--walnut);
  outline-offset: 0;
  border-color: var(--walnut);
}

/* Honour prefers-reduced-motion: kill smooth scrolling, marquee, ken burns,
   reveal animations, hero entrance, brand-loader fade. The site stays
   readable; just no kinetics. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .brand-loader { transition: opacity 0.01s, visibility 0.01s; }
  .brand-loader__mark { animation: none; opacity: 1; }
  .brand-loader__bar::after { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__copy > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero__media .ph,
  .hero__media .hero__img { animation: none !important; opacity: 1 !important; transform: none !important; }
}
