:root {
  --paper: #f8f6f1;
  --surface: #fffdf8;
  --ink: #1d1b18;
  --muted: #6f675e;
  --line: rgba(29, 27, 24, 0.16);
  --gold: #c89035;
  --green: #123a33;
  --plum: #5b1838;
  --shadow: 0 28px 80px rgba(18, 15, 11, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--surface);
  transition: background 260ms ease, box-shadow 260ms ease, min-height 260ms ease, color 260ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  color: var(--ink);
  background: rgba(248, 246, 241, 0.9);
  box-shadow: 0 14px 50px rgba(20, 18, 16, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: min(220px, 48vw);
  height: auto;
  filter: invert(1) brightness(2.2);
  transition: filter 260ms ease, width 260ms ease;
}

.site-header.is-scrolled .brand img {
  width: min(196px, 48vw);
  filter: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav a,
.header-action,
.mobile-restricted-link {
  position: relative;
  opacity: 0.94;
}

.main-nav a::after,
.header-action::after,
.mobile-restricted-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.main-nav a:hover::after,
.header-action:hover::after,
.mobile-restricted-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.restricted-menu-link,
.mobile-restricted-link {
  border: 0;
  border-radius: 0;
  padding: 0;
}

.restricted-menu-link::after,
.mobile-restricted-link::after {
  display: block;
}

.mobile-restricted-link {
  display: none !important;
  justify-self: end;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-header > .mobile-restricted-link {
  display: none !important;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: clip;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.68), rgba(9, 8, 6, 0.22) 42%, rgba(9, 8, 6, 0.02) 72%),
    linear-gradient(0deg, rgba(9, 8, 6, 0.55), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(580px, calc(100% - 36px));
  margin: 0 0 clamp(50px, 8vw, 92px) clamp(18px, 7vw, 92px);
  color: var(--surface);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3.3vw, 4rem);
  line-height: 1.05;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5vw, 5.9rem);
}

h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
}

.button.secondary {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
}

.contact .button.primary {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  z-index: 2;
  width: 1px;
  height: 72px;
  background: rgba(255, 253, 248, 0.32);
  overflow: hidden;
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 28px;
  background: var(--surface);
  animation: cue 1.7s ease-in-out infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-32px);
  }
  100% {
    transform: translateY(82px);
  }
}

.section-pad {
  padding: clamp(72px, 10vw, 138px) clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.45fr);
  gap: clamp(30px, 6vw, 86px);
  max-width: var(--max);
  margin: 0 auto;
}

.intro-kicker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

.intro-text {
  align-self: end;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.9;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(38px, 6vw, 70px);
}

.projects {
  background: var(--surface);
}

.project-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(18px, 3vw, 34px);
  width: min(var(--max), 100%);
  margin: -28px auto clamp(28px, 5vw, 54px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-nav a {
  position: relative;
  padding-bottom: 8px;
}

.project-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 220ms ease;
}

.project-nav a:hover::after {
  transform: scaleX(1);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.project-card {
  grid-column: span 4;
  overflow: hidden;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 1px 0 var(--line);
}

.project-card.is-wide {
  grid-column: span 8;
}

.project-card.is-tall {
  grid-row: span 2;
}

.project-card a {
  display: grid;
  grid-template-rows: auto auto auto;
}

.project-card img {
  width: 100%;
  height: clamp(300px, 27vw, 460px);
  min-height: 0;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-card.is-wide img {
  height: clamp(360px, 34vw, 560px);
}

.project-card.is-tall img {
  height: clamp(520px, 56vw, 720px);
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-meta {
  margin: 20px 20px 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-card h3 {
  margin: 0 20px 24px;
}

.services {
  background: var(--paper);
}

.service-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 76px minmax(180px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(18px, 4vw, 56px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-item span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.process-media {
  height: min(680px, 76vh);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-content p:not(.eyebrow),
.studio-copy p,
.studio-note p,
.contact p,
.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.steps {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.steps div {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.steps p {
  margin-bottom: 0;
}

.studio {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 5vw, 74px);
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.studio-copy p {
  max-width: 650px;
  margin-top: 28px;
}

.studio-note {
  align-self: end;
  padding: clamp(24px, 3.4vw, 38px) 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-note span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.studio-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.studio-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 22px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms ease, transform 220ms ease;
}

.studio-link:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.contact {
  padding: clamp(76px, 11vw, 150px) clamp(18px, 5vw, 64px);
  background: var(--surface);
}

.contact-inner {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  margin-left: auto;
  margin-right: auto;
}

.contact-inner p {
  max-width: 620px;
  margin: 28px auto 34px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: min(240px, 64vw);
}

.site-footer p {
  justify-self: end;
  margin: 0;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .mobile-restricted-link {
    display: inline-flex !important;
    align-items: center;
  }

  .site-header > .mobile-restricted-link {
    display: inline-flex !important;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 8, 6, 0.7), rgba(9, 8, 6, 0.22)),
      linear-gradient(0deg, rgba(9, 8, 6, 0.66), transparent 54%);
  }

  .intro,
  .process,
  .studio {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card.is-wide,
  .project-card.is-tall {
    grid-column: span 1;
    grid-row: auto;
  }

  .project-card a {
    min-height: auto;
  }

  .project-card img,
  .project-card.is-wide img,
  .project-card.is-tall img {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
  }

  .service-item {
    grid-template-columns: 52px 1fr;
  }

  .service-item p {
    grid-column: 2;
  }

  .process-media {
    height: auto;
  }

  .process-media img {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
    padding: 14px 18px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    width: 154px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 56px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.7;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-item p {
    grid-column: auto;
  }

  .studio-note {
    padding: 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    justify-self: start;
    text-align: left;
  }
}
