:root {
  --paper: #f3eee5;
  --ink: #29241f;
  --muted: #7a7168;
  --rule: rgba(73, 62, 52, 0.2);
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
body.is-locked { overflow: hidden; }
img { display: block; width: 100%; }
button, a { color: inherit; }
button { font: inherit; }
a { text-decoration: none; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  padding: 22px clamp(20px, 4vw, 64px);
  color: var(--white);
  mix-blend-mode: difference;
  transition: padding .35s ease;
}
.site-header.is-compact { padding-top: 14px; padding-bottom: 14px; }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .22em;
}
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 54px); }
.primary-nav a,
.hero-scroll,
.section-number,
.site-footer {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.primary-nav a { position: relative; padding: 6px 0; }
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #1b1715;
  color: var(--white);
}
.hero-media,
.hero-shade { position: absolute; inset: 0; }
.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  filter: saturate(.72) sepia(.07) contrast(.96) brightness(.98);
  transform: scale(1.025);
  transition: filter 1.2s ease, transform 1.8s cubic-bezier(.2,.65,.25,1);
}
.hero:hover .hero-media img { filter: saturate(.9) sepia(.025) contrast(.98); transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(30,23,18,.56) 0%, rgba(30,23,18,.18) 56%, rgba(30,23,18,.08) 100%); }
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 15vh clamp(24px, 8vw, 128px) 12vh;
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 142px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.055em;
}
.hero h1 em,
.contact h2 em { font-weight: 400; }
.hero-intro {
  max-width: 420px;
  margin: 40px 0 0 clamp(2px, 24vw, 320px);
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.35;
}
.hero-intro em { display: block; }
.hero-intro span {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .045em;
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 64px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll .arrow { font-size: 20px; animation: drift 1.8s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(6px); } }

.section-pad { padding: clamp(80px, 11vw, 172px) clamp(20px, 4vw, 64px); }
.section-number { margin: 0; color: var(--muted); }
.intro { border-bottom: 1px solid var(--rule); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
  gap: 8vw;
  align-items: end;
  margin-top: 56px;
}
.intro h2,
.section-heading h2,
.approach h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
}
.intro h2 { font-size: clamp(48px, 7vw, 104px); line-height: .95; }
.intro-grid > p { max-width: 520px; margin: 0 0 8px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; }

.portfolio {
  max-width: 1540px;
  margin: 0 auto;
  padding-top: clamp(54px, 6vw, 92px);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 68px) clamp(16px, 2vw, 30px);
  align-items: start;
}
.work-card {
  margin: 0;
  transition: opacity .45s ease, transform .45s ease;
}
.story-small { grid-column: span 3; }
.story-medium { grid-column: span 4; }
.story-feature { grid-column: span 5; }
.story-wide { grid-column: span 7; }
.story-lift { margin-top: clamp(32px, 6vw, 88px); }
.image-button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
.image-button img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  background: #dfd6c9;
  filter: saturate(.82) sepia(.045) contrast(.98) brightness(1.01);
  transition: filter .75s ease, transform .85s cubic-bezier(.2,.7,.2,1);
}
.landscape .image-button img { aspect-ratio: 16 / 10; }
.square .image-button img { aspect-ratio: 1; }
.tall .image-button img { aspect-ratio: 3 / 4; }
.story-strip .image-button img { aspect-ratio: 5 / 8; }
.collage .image-button img { aspect-ratio: auto; height: auto; object-fit: contain; }
.image-button:hover img,
.image-button:focus-visible img { filter: saturate(.98) sepia(.015) contrast(.99); transform: scale(1.012); }
.card-meta {
  position: static;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 18px;
  padding: 12px 2px 0;
  background: transparent;
  color: var(--ink);
}
.card-meta b { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.card-meta small { display: none; }

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: center;
  margin-top: clamp(80px, 9vw, 140px);
  background: #27221e;
  color: var(--paper);
}
.approach-image { overflow: hidden; }
.approach-image img { aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.72) sepia(.07) contrast(.96); transition: filter .8s ease; }
.approach-image:hover img { filter: saturate(.92) sepia(.025) contrast(.98); }
.approach .section-number { color: #a6a39d; }
.approach h2 { margin-top: 44px; font-size: clamp(48px, 6vw, 90px); line-height: .97; }
.approach-copy > p:not(.section-number) { max-width: 570px; font-size: 17px; line-height: 1.75; color: #c9c5bc; }
.approach-copy .about-signoff { margin-top: 26px; color: var(--paper); font-family: var(--serif); font-size: clamp(20px, 2vw, 27px); line-height: 1.4; }
.text-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
}
.section-heading h2 { font-size: clamp(48px, 6vw, 88px); }
.service-list { border-top: 1px solid var(--rule); }
.service {
  display: grid;
  grid-template-columns: 80px minmax(220px, .75fr) 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}
.service > span { color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.service h3 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); font-weight: 400; }
.service p { max-width: 530px; margin: 0; font-size: 17px; color: #56534e; }

.contact { background: #ddcdbd; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 9vw;
  align-items: end;
  margin-top: 62px;
}
.contact h2 { font-size: clamp(58px, 8vw, 126px); line-height: .86; }
.contact-copy { max-width: 520px; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); }
.contact-links { display: grid; gap: 12px; margin-top: 34px; }
.contact-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(39, 34, 30, .28);
  font-family: var(--sans);
  font-size: 14px;
}
.contact-links span { color: #625e58; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.contact-note { margin-top: 32px; font-family: var(--sans); font-size: 13px; line-height: 1.6; color: #625e58; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: rgba(11,11,11,.96);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(0,0,0,.75); }
.lightbox[open] { display: grid; grid-template-columns: 76px 1fr 76px; align-items: center; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 34px 0; }
.lightbox figure img { width: auto; height: auto; max-width: min(84vw, 1200px); max-height: calc(100vh - 112px); object-fit: contain; }
.lightbox figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.lightbox-close,
.lightbox-nav { border: 0; background: transparent; color: var(--white); cursor: pointer; }
.lightbox-close { position: absolute; z-index: 2; top: 18px; right: 25px; font-family: var(--serif); font-size: 42px; font-weight: 300; }
.lightbox-nav { height: 100%; font-size: 26px; }
.lightbox button:hover,
.lightbox button:focus-visible { background: rgba(255,255,255,.07); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header.menu-open { mix-blend-mode: normal; color: var(--ink); }
  .menu-toggle {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    padding: 8px 0;
    background: transparent;
    color: inherit;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
  }
  .menu-toggle i { display: block; width: 22px; height: 1px; background: currentColor; box-shadow: 0 6px 0 currentColor; }
  .primary-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; }
  .primary-nav a { font-family: var(--serif); font-size: 36px; text-transform: none; }
  .hero-copy { padding-top: 18vh; }
  .hero h1 { font-size: clamp(52px, 14vw, 96px); }
  .hero-intro { margin-left: 18vw; }
  .intro-grid,
  .approach,
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-small,
  .story-medium,
  .story-feature { grid-column: span 1; }
  .story-wide { grid-column: span 2; }
  .story-lift { margin-top: 34px; }
  .approach { gap: 58px; }
  .approach-image { max-width: 70vw; }
  .service { grid-template-columns: 50px 1fr; }
  .service p { grid-column: 2; }
}

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  .hero-media img { object-position: 50% 0%; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,8,8,.28), rgba(8,8,8,.1) 50%, rgba(8,8,8,.58)); }
  .hero-copy { justify-content: flex-end; padding: 120px 20px 115px; }
  .hero h1 { font-size: clamp(50px, 16vw, 76px); line-height: .9; }
  .hero-intro { max-width: 300px; margin: 28px 0 0; font-size: 18px; }
  .hero-scroll { right: 20px; bottom: 26px; }
  .intro-grid { margin-top: 38px; gap: 36px; }
  .intro h2 { font-size: 46px; }
  .portfolio { padding-right: 20px; padding-left: 20px; }
  .gallery { grid-template-columns: 1fr; gap: 38px; }
  .story-small,
  .story-medium,
  .story-feature,
  .story-wide {
    grid-column: span 1;
    width: 88%;
    margin-right: auto;
  }
  .story-wide { width: 100%; }
  .story-card:nth-child(even) { margin-right: 0; margin-left: auto; }
  .story-lift { margin-top: 18px; }
  .card-meta { padding-top: 9px; }
  .card-meta b { font-size: 15px; }
  .approach-image { max-width: none; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 32px; }
  .service { grid-template-columns: 36px 1fr; gap: 16px; }
  .service p { font-size: 15px; }
  .contact h2 { font-size: 56px; }
  .site-footer { flex-direction: column; }
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
  .lightbox figure { padding: 58px 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
