:root {
  --chalk: #f7f3ea;
  --paper: #fffdf8;
  --limestone: #d8c5a2;
  --forest: #16392f;
  --forest-soft: #285447;
  --burgundy: #6e2432;
  --brass: #a47d35;
  --ink: #18221f;
  --muted: #5e6761;
  --line: #d9d0c0;
  --shadow: 0 22px 70px rgba(24, 34, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  background: var(--chalk);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 11vw, 10rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 5.1rem);
}

h3 {
  font-size: 2rem;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--forest);
  color: var(--paper);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(217, 208, 192, 0.82);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 1px solid var(--forest);
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.2vw, 2rem);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-weight: 700;
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: end;
  min-height: calc(100svh - 5rem);
}

.hero-copy {
  padding-bottom: 2rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: var(--forest);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--forest);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--forest);
  color: var(--paper);
}

.button.ghost {
  background: transparent;
  color: var(--forest);
}

.button:hover,
.button:focus {
  border-color: var(--burgundy);
  outline: 2px solid transparent;
  box-shadow: inset 0 0 0 2px var(--burgundy);
}

.button.full {
  width: 100%;
}

.hero-media {
  margin: 0;
}

.hero-media img,
.image-band img,
.wide-figure img,
.studio-section img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.text-columns {
  columns: 2 18rem;
  column-gap: 2.5rem;
  color: var(--muted);
}

.text-columns p {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 19rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

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

.feature-grid p,
.detail-notes,
.studio-section p,
.contact-card p,
.faq p {
  color: var(--muted);
}

.index {
  display: block;
  margin-bottom: 5rem;
  color: var(--brass);
  font-weight: 800;
}

.image-band {
  margin-top: 2.5rem;
}

.method-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 19rem;
  padding: 4.5rem 1.2rem 1.2rem;
  border-left: 1px solid var(--line);
  counter-increment: process;
}

.process-list li:last-child {
  border-right: 1px solid var(--line);
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  color: var(--brass);
  font-weight: 800;
}

.process-list span {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--forest);
  font-weight: 800;
}

.process-list p {
  color: var(--muted);
}

.palette-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.palette-copy p:last-child {
  margin-top: 1.5rem;
  color: var(--muted);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 16rem;
  border: 1px solid var(--line);
}

.swatch {
  display: flex;
  align-items: end;
  padding: 1rem;
  border-right: 1px solid rgba(24, 34, 31, 0.18);
  color: var(--ink);
}

.swatch:last-child {
  border-right: 0;
}

.swatch b {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.swatch.chalk {
  background: #f7f3ea;
}

.swatch.limestone {
  background: #d8c5a2;
}

.swatch.forest {
  background: #16392f;
  color: var(--paper);
}

.swatch.burgundy {
  background: #6e2432;
  color: var(--paper);
}

.swatch.brass {
  background: #a47d35;
  color: var(--paper);
}

.wide-figure {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
}

.details-section {
  border-top: 1px solid var(--line);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.detail-layout img {
  border: 1px solid var(--line);
}

.detail-notes {
  max-width: 38rem;
  font-size: 1.05rem;
}

.detail-notes ul {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

.studio-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
}

.studio-section figure {
  margin: 0;
}

.studio-section p + p {
  margin-top: 1rem;
}

.address-line {
  color: var(--forest) !important;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.82fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

summary {
  color: var(--forest);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin-top: 0.75rem;
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--forest);
  background: var(--chalk);
}

form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

label {
  color: var(--forest);
  font-size: 0.85rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.8rem;
}

input:focus,
textarea:focus {
  border-color: var(--forest);
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.consent-row {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.consent-row input {
  width: 1rem;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--burgundy) !important;
  font-size: 0.9rem;
  font-weight: 800;
}

.smallprint {
  margin-top: 1rem;
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  background: var(--forest);
  color: var(--paper);
}

.site-footer p {
  color: rgba(255, 253, 248, 0.74);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  max-width: 34rem;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--forest);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner div {
  display: flex;
  gap: 0.5rem;
}

.legal-page {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal-page h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.legal-page h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.legal-page p {
  color: var(--muted);
}

.legal-page code {
  color: var(--forest);
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .palette-section,
  .detail-layout,
  .studio-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    max-width: 10ch;
  }

  .section-heading {
    display: block;
  }

  .feature-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid article:nth-child(2) {
    border-right: 0;
  }

  .feature-grid article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .process-list li:nth-child(2) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 0;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .feature-grid,
  .process-list,
  .swatches {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .feature-grid article:nth-child(2),
  .process-list li,
  .process-list li:nth-child(2),
  .process-list li:last-child,
  .swatch {
    border-right: 0;
  }

  .feature-grid article {
    min-height: 15rem;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .process-list li {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .swatch {
    min-height: 5.2rem;
    border-bottom: 1px solid rgba(24, 34, 31, 0.18);
  }

  .swatch b {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .site-footer,
  .cookie-banner {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
