:root {
  --paper: #f7f1e8;
  --paper-soft: #fbf7ef;
  --warm-field: #efe5d8;
  --ink: #1e2428;
  --muted: #6b665f;
  --stone-line: #cdbfaa;
  --clay: #8b6f5a;
  --olive: #2f4a3e;
  --olive-dark: #253c32;
  --white: #fffaf1;
  --focus: #9d6d28;
  --shadow: 0 24px 70px rgba(30, 36, 40, 0.08);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }

.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: absolute;
  z-index: 10;
  left: 1rem;
  top: 1rem;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.section-shell,
.header-inner {
  width: min(100% - 40px, 1296px);
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 241, 232, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stone-line);
}
.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  font-weight: 760;
  letter-spacing: -0.04em;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  font-size: 0.94rem;
  color: #49443f;
}
.site-nav a:not(.button) { text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--olive); }
.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0 72px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--clay);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  max-width: 690px;
  font-size: clamp(3.4rem, 8vw, 6.35rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
h3 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.lede {
  max-width: 540px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
  line-height: 1.45;
}
.button-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0.9rem 1.55rem;
  text-decoration: none;
  font-weight: 720;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--primary { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.button--primary:hover { background: var(--olive-dark); }
.button--outline { background: transparent; color: var(--ink); }
.button--outline:hover { border-color: var(--olive); color: var(--olive); }
.button--light { background: var(--paper-soft); color: var(--ink); border-color: transparent; }
.button--light:hover { background: #fff; }
.image-card {
  overflow: hidden;
  border: 1px solid var(--stone-line);
  background: var(--warm-field);
}
.hero__media img { width: 100%; aspect-ratio: 1.24 / 1; object-fit: cover; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--stone-line);
  margin-bottom: clamp(72px, 8vw, 112px);
  background: rgba(255, 250, 241, 0.36);
}
.proof-item {
  min-height: 112px;
  padding: 28px 24px;
  border-right: 1px solid var(--stone-line);
}
.proof-item:last-child { border-right: 0; }
.proof-item span,
.footer span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 780;
  text-transform: uppercase;
}
.proof-item strong { display: block; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.03em; }

.services, .project-stories, .workflow, .instagram { margin-bottom: clamp(72px, 8vw, 112px); }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading--wide { max-width: 980px; }
.card-grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.workflow-grid article,
.story-card {
  border: 1px solid var(--stone-line);
  background: rgba(255, 250, 241, 0.42);
}
.service-card {
  min-height: 250px;
  padding: clamp(28px, 4vw, 48px) 28px;
}
.service-card--warm, .workflow-grid article:nth-child(odd) { background: rgba(239, 229, 216, 0.72); }
.service-card p:not(.eyebrow) { color: var(--muted); max-width: 34ch; }
.service-card a, .text-link {
  font-weight: 760;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.feature,
.consultation {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  border: 1px solid var(--stone-line);
  background: rgba(255, 250, 241, 0.28);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(72px, 8vw, 112px);
}
.feature__media img,
.consultation__media img { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; }
.feature__copy p:not(.eyebrow), .consultation__copy p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.13rem; }
.consultation { background: var(--warm-field); }
.consultation__copy { max-width: 680px; }

.story-card { overflow: hidden; display: flex; flex-direction: column; }
.story-card img { width: 100%; aspect-ratio: 1.15 / 0.72; object-fit: cover; border-bottom: 1px solid var(--stone-line); }
.story-card > div { padding: 28px; }
dl { margin: 0; }
dt { margin-top: 14px; color: var(--clay); text-transform: uppercase; font-size: 0.72rem; font-weight: 800; }
dd { margin: 3px 0 0; color: var(--muted); }

.workflow h2 { max-width: 990px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3.5vw, 48px); }
.workflow-grid article { min-height: 218px; padding: 28px 24px; }
.workflow-grid span { color: var(--clay); font-weight: 800; font-size: 1.25rem; }
.workflow-grid h3 { margin-top: 42px; max-width: 250px; }

.instagram {
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
  padding-top: 48px;
  padding-bottom: 48px;
}
.instagram__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.instagram__heading h2 { max-width: 820px; margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.instagram-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border: 1px solid var(--stone-line);
  background: var(--warm-field);
  position: relative;
}
.instagram-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.instagram-card__caption {
  position: absolute;
  inset: auto 0 0;
  min-height: 96px;
  padding: 52px 18px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(30,36,40,0.72), rgba(30,36,40,0));
  font-weight: 650;
}
.instagram-card.skeleton { padding: 22px; background: linear-gradient(120deg, rgba(239,229,216,0.7), rgba(255,250,241,0.7)); }
.instagram-card.skeleton span { position: absolute; inset: 20px 20px 92px; background: rgba(205,191,170,0.36); }
.instagram-card.skeleton p { position: relative; margin: 0; color: var(--muted); }
.module-note { margin: 20px 0 0; color: var(--muted); font-size: 0.94rem; }
code { background: rgba(205, 191, 170, 0.28); padding: 0.08em 0.28em; }

.enquiry,
.final-cta {
  background: var(--olive);
  color: var(--paper);
  margin-bottom: 64px;
}
.enquiry {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
}
.enquiry .eyebrow, .final-cta .eyebrow { color: #d8c8ae; }
.enquiry h2, .final-cta h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); margin-bottom: 0; }
.enquiry-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.enquiry-form label { display: grid; gap: 8px; color: #e8ded0; font-size: 0.82rem; font-weight: 700; }
.enquiry-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(247,241,232,0.38);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 0 13px;
}
.enquiry-form input::placeholder { color: rgba(247,241,232,0.58); }
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
}
.final-cta h2 { max-width: 560px; }
.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--stone-line);
  margin-bottom: 48px;
  background: rgba(255, 250, 241, 0.42);
}
.footer div { min-height: 118px; padding: 24px; border-right: 1px solid var(--stone-line); }
.footer div:last-child { border-right: 0; }
.footer p { margin: 0; color: #3e3b37; }

@media (max-width: 1100px) {
  .header-inner { min-height: 82px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ink);
    background: transparent;
  }
  .nav-toggle__line,
  .nav-toggle__line::before,
  .nav-toggle__line::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    content: "";
  }
  .nav-toggle__line::before { transform: translateY(-7px); }
  .nav-toggle__line::after { transform: translateY(5px); }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--stone-line);
    background: var(--paper-soft);
    box-shadow: var(--shadow);
  }
  .site-header[data-state="open"] .site-nav { display: flex; }
  .site-nav a { padding: 14px 8px; }
  .nav-cta { margin-top: 8px; }
  .hero, .feature, .consultation, .enquiry { grid-template-columns: 1fr; }
  .hero__copy { order: -1; }
  .proof-strip { grid-template-columns: repeat(3, 1fr); }
  .proof-item:nth-child(3) { border-right: 0; }
  .proof-item:nth-child(-n + 3) { border-bottom: 1px solid var(--stone-line); }
  .card-grid--three { grid-template-columns: 1fr; gap: 24px; }
  .workflow-grid, .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .enquiry-form { grid-template-columns: repeat(2, 1fr); }
  .enquiry-form .button { grid-column: span 2; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .footer { grid-template-columns: repeat(2, 1fr); }
  .footer div:nth-child(2n) { border-right: 0; }
  .footer div:nth-child(-n + 2) { border-bottom: 1px solid var(--stone-line); }
}

@media (max-width: 680px) {
  .section-shell, .header-inner { width: min(100% - 28px, 1296px); }
  .hero { padding-top: 34px; gap: 32px; }
  h1 { font-size: clamp(3rem, 16vw, 4.35rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.1rem); }
  .button-row, .button { width: 100%; }
  .proof-strip, .workflow-grid, .instagram-grid, .footer { grid-template-columns: 1fr; }
  .proof-item, .footer div { border-right: 0; border-bottom: 1px solid var(--stone-line); }
  .proof-item:last-child, .footer div:last-child { border-bottom: 0; }
  .feature, .consultation { padding: 18px; }
  .story-card img, .instagram-card img { min-height: 220px; }
  .instagram__heading { display: block; }
  .text-link { display: inline-block; margin-top: 18px; }
  .enquiry-form { grid-template-columns: 1fr; }
  .enquiry-form .button { grid-column: auto; }
  .enquiry, .final-cta { padding: 24px; }
}

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