:root {
  --ink: #171512;
  --paper: #f3efe7;
  --paper-deep: #e8e0d3;
  --coral: #d64f3f;
  --coral-dark: #ac352b;
  --white: #fffdf8;
  --muted: #6b655d;
  --line: rgba(23, 21, 18, 0.17);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1440px, calc(100vw - 48px));
}

* { 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.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.visually-hidden {
  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;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 220ms ease, height 220ms ease, border-color 220ms ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(243, 239, 231, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.08em;
}
.brand-name { font-size: 0.78rem; font-weight: 680; letter-spacing: 0.16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.site-nav a { font-size: 0.77rem; font-weight: 650; letter-spacing: 0.11em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.nav-cta) { border-bottom: 1px solid transparent; }
.site-nav a:not(.nav-cta):hover { border-color: currentColor; }
.nav-cta { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; border: 0; background: none; }

.hero {
  min-height: 100svh;
  width: var(--page);
  margin: 0 auto;
  padding: 116px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1, .section-heading h2, .approach h2, .contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.hero h1 { max-width: 720px; font-size: clamp(4.1rem, 7.3vw, 8.5rem); }
.hero h1 em { color: var(--coral); font-weight: 400; }
.hero-intro { max-width: 600px; margin: 36px 0 0; color: #47423b; font-size: clamp(1.05rem, 1.35vw, 1.3rem); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.button-primary { background: var(--coral); color: var(--white); }
.button-primary:hover { background: var(--coral-dark); }
.text-link { font-size: 0.87rem; font-weight: 650; text-underline-offset: 6px; }
.hero-services { display: flex; gap: 28px; padding: 0; margin: 54px 0 0; list-style: none; color: var(--muted); font-size: 0.73rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-services li + li::before { content: "•"; margin-right: 28px; color: var(--coral); }

.hero-visual { position: relative; min-height: 700px; padding: 0 0 38px 68px; }
.hero-image-wrap { height: min(74vh, 790px); margin: 0; overflow: hidden; border-radius: 240px 240px 14px 14px; }
.hero-image { height: 100%; object-fit: cover; object-position: center 38%; }
.hero-inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(142px, 16vw, 230px);
  margin: 0;
  border: 8px solid var(--paper);
}
.hero-inset img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero-note {
  position: absolute;
  right: 24px;
  bottom: 0;
  margin: 0;
  padding: 8px 14px;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 0.93rem;
  font-style: italic;
}

.section { width: var(--page); margin: 0 auto; padding: clamp(100px, 10vw, 160px) 0; }
.section-heading { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.section-heading h2, .approach h2, .contact h2 { font-size: clamp(3.1rem, 5.5vw, 6.3rem); }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.04rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(240px, 27vw, 420px); gap: 12px; }
.gallery-item {
  position: relative;
  grid-column: span 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d7d0c4;
  cursor: zoom-in;
}
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.65,.3,1); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); }
.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  background: rgba(23, 21, 18, 0.82);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-dark { width: 100%; max-width: none; background: var(--ink); color: var(--paper); }
.approach { display: grid; grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr); gap: clamp(58px, 8vw, 140px); padding-left: max(24px, calc((100vw - 1440px) / 2)); padding-right: max(24px, calc((100vw - 1440px) / 2)); }
.approach-photo { min-height: 760px; }
.approach-photo img { height: 100%; object-fit: cover; object-position: center; }
.approach-copy { align-self: center; max-width: 760px; }
.approach-copy .eyebrow { color: #ef7a68; }
.large-copy { max-width: 690px; margin: 36px 0 54px; color: #c9c0b4; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.5; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.18); }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.process-list > li > span { color: #ef7a68; font-size: 0.72rem; letter-spacing: 0.14em; }
.process-list h3 { margin: -3px 0 5px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.process-list p { max-width: 560px; margin: 0; color: #aaa195; font-size: 0.9rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 390px; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-number { margin: 0 0 60px; color: var(--coral-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; }
.service-card h3 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.7rem); font-weight: 400; line-height: 1.08; }
.service-card > p:not(.service-number) { margin: 0; color: var(--muted); }
.service-card a { margin-top: auto; padding-top: 34px; font-size: 0.79rem; font-weight: 700; text-underline-offset: 5px; }

.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(70px, 10vw, 150px); }
.contact-intro > p:not(.eyebrow, .placeholder-note) { max-width: 540px; margin: 34px 0; color: var(--muted); font-size: 1.02rem; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-details a { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.9rem); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.placeholder-note, .form-note { color: var(--muted); font-size: 0.72rem; }
.placeholder-note { margin-top: 20px; }
.contact-form { padding: clamp(28px, 5vw, 64px); background: var(--paper-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: block; margin-bottom: 24px; font-size: 0.7rem; font-weight: 720; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(23,21,18,0.35);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--coral); box-shadow: 0 1px 0 var(--coral); }
.contact-form .button { margin-top: 8px; border: 0; }
.form-note { margin: 14px 0 0; }

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}
.site-footer p { margin: 0; text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 20px; }
.footer-brand { color: var(--ink); }

.lightbox { width: min(92vw, 1200px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(9, 8, 7, 0.92); backdrop-filter: blur(8px); }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; margin: auto; object-fit: contain; }
.lightbox-close { position: fixed; top: 18px; right: 24px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: white; cursor: pointer; font-size: 2rem; line-height: 1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 200ms; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 0.85fr 1.15fr; gap: 38px; }
  .hero h1 { font-size: clamp(4rem, 8vw, 6.5rem); }
  .hero-visual { min-height: 620px; padding-left: 42px; }
  .hero-image-wrap { height: 66vh; min-height: 560px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .approach { gap: 54px; }
  .approach-photo { min-height: 650px; }
  .contact { gap: 60px; }
}

@media (max-width: 800px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { height: 72px; padding: 0 16px; }
  .menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
  .brand-name { font-size: 0.7rem; }
  .site-header > .brand { position: relative; z-index: 2; }
  .menu-toggle { z-index: 2; display: grid; gap: 6px; width: 42px; height: 42px; padding: 12px 8px; }
  .menu-toggle { position: relative; }
  .menu-toggle span:not(.visually-hidden) { display: block; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; }
  .site-nav a { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; letter-spacing: -0.02em; text-transform: none; }
  .nav-cta { padding: 8px 28px; }
  .hero { min-height: auto; padding-top: 112px; grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; min-height: 600px; padding-left: 36px; }
  .hero-image-wrap { height: 70vh; min-height: 560px; }
  .hero-inset { width: 150px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-services { gap: 12px; }
  .hero-services li + li::before { margin-right: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 54vw; }
  .approach { grid-template-columns: 1fr; }
  .approach-photo { min-height: 118vw; max-height: 760px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer p { text-align: center; }
  .site-footer > div { justify-content: center; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(3.8rem, 18vw, 5.6rem); }
  .hero-visual { min-height: 500px; padding-left: 24px; }
  .hero-image-wrap { min-height: 470px; border-radius: 160px 160px 10px 10px; }
  .hero-note { right: 4px; }
  .gallery { display: block; }
  .gallery-item { width: 100%; height: 125vw; margin-bottom: 10px; }
  .gallery-item.gallery-wide { height: 78vw; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
}

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