:root {
  --black: #0b0b0b;
  --charcoal: #151515;
  --charcoal-2: #202020;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #181817;
  --muted: #6b6862;
  --gold: #c79a53;
  --gold-light: #d6b77f;
  --line: rgba(24, 24, 23, .15);
  --line-dark: rgba(255, 255, 255, .15);
  --shell: min(1180px, calc(100vw - 48px));
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(10,10,10,.94), rgba(10,10,10,.74));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  transition: background .35s ease, box-shadow .35s ease;
}

.site-header.scrolled {
  background: rgba(10,10,10,.96);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 238px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: width .25s var(--ease);
}

.site-nav > a:hover,
.site-nav > a:focus-visible { color: var(--white); }

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after { width: 100%; }

.nav-cta {
  margin-left: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(199,154,83,.85);
  color: var(--gold-light) !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: white;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #171717;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("images/hero.webp");
  background-position: center right;
  background-size: cover;
  transform: scale(1.025);
  animation: heroZoom 14s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.77) 33%, rgba(8,8,8,.30) 65%, rgba(8,8,8,.18) 100%),
    linear-gradient(0deg, rgba(8,8,8,.58), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 76px;
}

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

.eyebrow-dark { color: #a67534; }

.hero h1,
.section h2,
.manifesto h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(54px, 6vw, 92px);
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
  cursor: pointer;
}

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

.button-gold {
  color: #17120a;
  background: var(--gold);
}

.button-gold:hover,
.button-gold:focus-visible { background: var(--gold-light); }

.button-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  background: rgba(0,0,0,.12);
}

.button-ghost:hover,
.button-ghost:focus-visible { border-color: var(--white); }

.button-black {
  color: var(--white);
  background: var(--black);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.section { padding: 120px 0; }

.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { color: var(--white); background: var(--charcoal); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .9fr .8fr;
  gap: 64px;
  align-items: center;
}

.about-copy h2,
.section-heading h2,
.contact-intro h2 {
  font-size: clamp(42px, 4.4vw, 68px);
}

.about-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 28px;
  padding-bottom: 5px;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ddd8cf;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.about-image:hover img { transform: scale(1.035); }

.principles {
  display: grid;
  gap: 34px;
}

.principles article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.principles article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.icon-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #9f6e2d;
  border: 1px solid rgba(199,154,83,.55);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.principles h3,
.service h3,
.project-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.principles p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.section-heading { margin-bottom: 56px; }

.section-heading h2 {
  max-width: 780px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
}

.heading-note {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.10);
  background: #1d1d1d;
}

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
}

.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0,0,0,.48), transparent 50%);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .6s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.project-media span {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  padding: 7px 10px;
  color: #17120a;
  background: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-body { padding: 28px; }

.project-kicker {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-body h3 { font-size: 18px; }

.project-body > p:last-child {
  margin: 16px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service {
  min-height: 310px;
  padding: 36px 34px 36px 0;
}

.service + .service {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.service-number {
  display: block;
  color: #a67534;
  font-family: var(--serif);
  font-size: 28px;
}

.service h3 {
  margin-top: 52px;
  font-size: 14px;
}

.service p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.manifesto {
  padding: 110px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(199,154,83,.12), transparent 30%),
    var(--black);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 100px;
  align-items: start;
}

.manifesto h2 {
  max-width: 700px;
  font-size: clamp(48px, 5vw, 78px);
}

.manifesto-copy {
  padding-top: 32px;
}

.manifesto-copy p {
  max-width: 540px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.66);
  font-size: 17px;
  line-height: 1.8;
}

.contact-section { background: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 110px;
  align-items: start;
}

.contact-intro p:not(.eyebrow) {
  max-width: 510px;
  margin: 26px 0 0;
  color: var(--muted);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
}

.contact-links a {
  display: inline-flex;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid rgba(199,154,83,.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-form {
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(38,28,15,.07);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.contact-form label > span {
  color: #4d4942;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid #cfcac2;
  border-radius: 0;
  outline: 0;
  background: transparent;
}

.contact-form input,
.contact-form select { height: 48px; }

.contact-form textarea {
  min-height: 130px;
  padding: 12px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-note code {
  color: var(--ink);
  background: #f0ece4;
}

.site-footer {
  color: rgba(255,255,255,.68);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr .7fr .7fr;
  gap: 80px;
  padding: 74px 0 58px;
}

.footer-brand img { width: 270px; }

.footer-brand p {
  max-width: 430px;
  margin: 24px 0 0;
  font-size: 14px;
}

.footer-grid h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a {
  margin: 4px 0;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible { color: var(--gold-light); }

.footer-bottom {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255,255,255,.42);
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.025); }
}

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

@media (max-width: 1040px) {
  :root { --shell: min(100% - 40px, 920px); }

  .site-nav { gap: 18px; }
  .site-nav a { font-size: 10px; }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .principles {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .principles article {
    grid-template-columns: 1fr;
    align-content: start;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 0 26px 0 0;
  }

  .principles article:last-child { border-right: 0; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .service:nth-child(4) { border-top: 1px solid var(--line); }

  .contact-grid { gap: 60px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 36px); }

  .nav-wrap { min-height: 72px; }
  .brand { width: 210px; }

  .menu-toggle { display: flex; position: relative; z-index: 102; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 10px;
    padding: 110px 42px 50px;
    opacity: 0;
    visibility: hidden;
    background: rgba(10,10,10,.99);
    transform: translateY(-18px);
    transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(31px, 8vw, 48px);
    font-weight: 500;
    letter-spacing: -.02em;
    text-transform: none;
  }

  .site-nav > a::after { display: none; }

  .nav-cta {
    margin: 20px 0 0;
    padding: 12px 18px;
    font-family: var(--sans) !important;
    font-size: 12px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

  .hero {
    min-height: 700px;
    height: 92svh;
  }

  .hero-media { background-position: 64% center; }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8,8,8,.88), rgba(8,8,8,.45)),
      linear-gradient(0deg, rgba(8,8,8,.72), transparent 55%);
  }

  .hero-content { padding-top: 72px; }

  .hero h1 { font-size: clamp(48px, 13vw, 74px); }

  .hero-copy {
    max-width: 540px;
    font-size: 15px;
  }

  .scroll-cue { display: none; }

  .section { padding: 84px 0; }

  .about-grid,
  .contact-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: 2;
    max-height: 620px;
  }

  .principles {
    order: 3;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .principles article {
    grid-template-columns: 48px 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 26px;
  }

  .section-heading-row {
    display: grid;
    gap: 24px;
  }

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

  .project-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
  }

  .project-media { aspect-ratio: auto; min-height: 320px; }

  .manifesto-grid { gap: 20px; }
  .manifesto-copy { padding-top: 0; }

  .contact-form { padding: 36px; }

  .footer-grid {
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }

  .hero { min-height: 740px; }
  .hero-media { background-position: 69% center; }

  .hero h1 { font-size: clamp(44px, 13.5vw, 64px); }

  .hero-copy { font-size: 14px; }

  .button-row { display: grid; }
  .button { width: 100%; }

  .about-copy h2,
  .section-heading h2,
  .contact-intro h2 {
    font-size: 42px;
  }

  .project-card { display: block; }
  .project-media { min-height: 260px; }

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

  .service,
  .service + .service,
  .service:nth-child(3),
  .service:nth-child(4) {
    min-height: 0;
    padding: 30px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service:first-child { border-top: 0; }

  .service h3 { margin-top: 28px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .contact-form { padding: 26px 22px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 24px;
    padding-top: 58px;
  }

  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 250px; }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }

  .footer-bottom p { margin: 0; }
}
