@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cream: #f7f4ed;
  --paper: #fcfbf8;
  --ink: #17231f;
  --forest: #162a24;
  --sage: #a8b0a5;
  --line: rgba(23, 35, 31, 0.18);
  --gutter: clamp(1.25rem, 7.6vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: var(--paper);
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  gap: 2rem;
  min-height: 6rem;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  width: clamp(8.75rem, 13vw, 12rem);
  min-height: 2.75rem;
  align-items: center;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.8vw, 3rem);
}

.desktop-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.82rem;
}

.desktop-nav a::after {
  content: "";
  height: 1px;
  width: 0;
  margin-left: 0.35rem;
  background: currentColor;
  transition: width 280ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { width: 1.2rem; }

.contact-pill,
.button,
.mobile-menu button {
  min-height: 2.75rem;
  border-radius: 999rem;
  border: 1px solid var(--ink);
  font: 500 0.82rem/1 "DM Sans", sans-serif;
}

.contact-pill {
  justify-self: end;
  min-width: 7.25rem;
  padding-inline: 1.5rem;
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle { display: none; }
.mobile-menu[hidden] { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(7.75rem, 13vh, 9rem) var(--gutter) 0;
  background: linear-gradient(to bottom, var(--paper) 0 62.5%, var(--forest) 62.5% 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(61rem, 75%);
}

.eyebrow {
  margin: 0 0 clamp(1rem, 2vh, 1.5rem);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(3.8rem, 6.8vw, 6.7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

h1 em, h2 em {
  color: #53615b;
  font-weight: 400;
}

.hero-lead {
  max-width: 39rem;
  margin: clamp(1.25rem, 2.4vh, 1.8rem) 0 0;
  color: #4e5753;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: clamp(1.25rem, 2.2vh, 1.8rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.5rem;
  text-decoration: none;
  transition: transform 280ms var(--ease), background-color 280ms var(--ease), color 280ms var(--ease);
}

.button:hover,
.button:focus-visible { transform: translateY(-0.14rem); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--paper); }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  top: 40%;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.scroll-cue span::before,
.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--ink);
}

.scroll-cue span::before { top: 0.85rem; width: 1px; height: 1.15rem; }
.scroll-cue span::after {
  top: 1.62rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  transform: translateX(-45%) rotate(45deg);
}

.hero-image {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  right: var(--gutter);
  top: 58%;
  height: 39%;
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 1.2s var(--ease);
}

.hero:hover .hero-image img { transform: scale(1.015); }

.selected-work {
  min-height: 42rem;
  padding: clamp(4rem, 5vw, 5rem) var(--gutter) clamp(5rem, 8vw, 8rem);
  background: var(--forest);
  color: var(--cream);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.52fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-intro h2 {
  margin: 0;
  font: 400 clamp(3rem, 5vw, 5rem)/0.95 "DM Serif Display", serif;
  letter-spacing: -0.04em;
}

.section-intro h2 em { color: #d2c6b4; }

.section-intro p {
  margin: 0;
  color: #bbc2bd;
  font-size: 0.95rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
}

.work-card { min-width: 0; }

.work-image {
  aspect-ratio: 1.05 / 1;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

.work-card:nth-child(1) .work-image img { object-position: 52% center; }
.work-card:nth-child(2) .work-image img { object-position: center 50%; }
.work-card:nth-child(3) .work-image img { object-position: center 46%; }
.work-card:hover .work-image img { transform: scale(1.035); }

.work-card h3 {
  margin: 1.15rem 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 500;
}

.work-card p {
  margin: 0.55rem 0 0;
  max-width: 29rem;
  color: #bbc2bd;
  font-size: 0.88rem;
}

.practice {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.72fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  background: var(--cream);
}

.practice-heading h2,
.portfolio-copy h2,
.process-intro h2,
.closing h2 {
  margin: 0;
  font: 400 clamp(3.2rem, 5.7vw, 5.8rem)/0.94 "DM Serif Display", serif;
  letter-spacing: -0.045em;
}

.practice-heading .eyebrow,
.portfolio-copy .eyebrow,
.process-intro .eyebrow,
.closing .eyebrow { margin-bottom: 1.5rem; }

.practice-story { padding-top: clamp(4.5rem, 8vw, 8rem); }
.practice-story p { margin: 0 0 1.1rem; color: #56605b; }
.practice-story .practice-lead {
  color: var(--ink);
  font: 400 clamp(1.35rem, 2vw, 1.85rem)/1.25 "DM Serif Display", serif;
}

.practice-image {
  grid-column: 1 / -1;
  margin: clamp(1rem, 3vw, 3rem) 0 0;
  height: min(68vw, 47rem);
  overflow: hidden;
}
.practice-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }

.portfolio-index {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr);
  min-height: 52rem;
  background: var(--paper);
}
.portfolio-image { min-height: 52rem; overflow: hidden; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.portfolio-copy { padding: clamp(5rem, 8vw, 9rem) var(--gutter); }
.portfolio-copy h2 { font-size: clamp(3.1rem, 4.7vw, 5rem); }
.portfolio-copy > p:not(.eyebrow) { margin: 2rem 0 3rem; color: #56605b; }
.place-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.place-index li {
  display: grid; grid-template-columns: 3rem 1fr; align-items: center;
  min-height: 4.25rem; border-bottom: 1px solid var(--line);
  font: 400 1.05rem/1.2 "DM Serif Display", serif;
}
.place-index span { font: 600 0.64rem/1 "DM Sans", sans-serif; letter-spacing: 0.12em; color: #59625e; }

.process { padding: clamp(6rem, 10vw, 10rem) var(--gutter); background: var(--cream); }
.process-intro { margin-bottom: clamp(3rem, 6vw, 6rem); }
.process-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr); align-items: stretch; }
.process-frame figure { min-height: 44rem; margin: 0; overflow: hidden; }
.process-frame figure img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-list { padding: clamp(1rem, 3vw, 3rem) 0 clamp(1rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem); }
.service-list article {
  display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem;
  padding: 1.75rem 0; border-top: 1px solid var(--line);
}
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-list span { grid-row: 1 / 3; padding-top: 0.25rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; color: #59625e; }
.service-list h3 { margin: 0; font: 400 clamp(1.35rem, 2vw, 1.8rem)/1.2 "DM Serif Display", serif; }
.service-list p { margin: 0.5rem 0 0; color: #56605b; font-size: 0.88rem; }

.closing {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.5fr);
  align-items: end; gap: clamp(3rem, 10vw, 10rem);
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  background: var(--forest); color: var(--cream);
}
.closing h2 { max-width: 12ch; }
.closing h2 em { color: #d2c6b4; }
.closing-copy p { margin: 0 0 2rem; color: #bbc2bd; }
.button-light { background: var(--cream); color: var(--ink); }

.site-footer {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem;
  padding: 2.5rem var(--gutter); background: var(--forest); color: #aeb7b1;
  border-top: 1px solid rgba(247, 244, 237, 0.14); font-size: 0.72rem;
}
.footer-brand { width: 10rem; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer p { margin: 0; }

@media (max-width: 64rem) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .contact-pill { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0 0 0 1rem;
    border: 0;
    background: transparent;
    font: 500 0.82rem/1 "DM Sans", sans-serif;
  }
  .menu-mark { width: 1.4rem; height: 1px; background: currentColor; box-shadow: 0 0.38rem currentColor; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    background: var(--forest);
    color: var(--cream);
  }
  .mobile-menu a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font: 400 clamp(2.5rem, 8vw, 4rem)/1 "DM Serif Display", serif;
    text-decoration: none;
  }
  .mobile-menu button { padding-inline: 1.5rem; color: inherit; background: transparent; border-color: currentColor; }
  .menu-close { position: absolute; top: 1.5rem; right: var(--gutter); }
  .hero-copy { width: 84%; }
  .portfolio-index { grid-template-columns: 1fr; }
  .portfolio-image { min-height: 55vw; }
  .process-frame { grid-template-columns: 1fr; }
  .process-frame figure { min-height: 60vw; }
  .service-list { padding-left: 0; }
}

@media (max-width: 48rem) {
  :root { --gutter: clamp(1.15rem, 5.5vw, 2rem); }
  .site-header { min-height: 5.25rem; }
  .brand { width: 8.75rem; }
  .hero {
    min-height: 100svh;
    padding-top: 6.2rem;
    background: linear-gradient(to bottom, var(--paper) 0 64%, var(--forest) 64% 100%);
  }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 0.8rem; }
  h1 { font-size: clamp(3rem, 12.7vw, 4.75rem); line-height: 0.92; }
  .hero-lead { width: 94%; margin-top: 1rem; font-size: 0.88rem; }
  .hero-actions { margin-top: 1rem; }
  .button { padding-inline: 1.05rem; font-size: 0.76rem; }
  .scroll-cue { display: none; }
  .hero-image { top: 58%; height: 39%; }
  .selected-work { padding-top: 4.5rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1.25rem; }
  .work-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-image { aspect-ratio: 1.45 / 1; }
  .practice { grid-template-columns: 1fr; gap: 1rem; }
  .practice-story { padding-top: 1rem; }
  .practice-image { height: 76vw; }
  .portfolio-image { min-height: 76vw; }
  .portfolio-copy { padding-block: 5rem; }
  .closing { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 0.7rem; }
}

@media (max-width: 30rem) {
  .hero {
    background: linear-gradient(to bottom, var(--paper) 0 95%, var(--forest) 95% 100%);
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .button-outline { order: -1; width: 100%; }
  .hero-actions .button-dark { width: 55%; }
  .scroll-cue {
    display: block;
    left: var(--gutter);
    right: auto;
    top: 77%;
  }
  .hero-image { top: 90%; height: 34%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Brand fidelity: official client logo */
.client-logo{display:block;width:auto;max-width:min(240px,42vw);height:clamp(34px,4vw,54px);object-fit:contain;object-position:left center}footer .client-logo{height:clamp(30px,3vw,44px);max-width:min(220px,48vw)}
