@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Martian+Mono:wght@400;500&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #FAF7F2;
  --fg: #0A1812;
  --fg-soft: #1E3329;
  --accent: #C87A12;
  --accent-bright: #E9A13B;
  --muted: #4A554E;
  --border: rgba(10, 24, 18, 0.13);
  --border-strong: rgba(10, 24, 18, 0.22);
  --card-bg: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(10, 24, 18, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 24, 18, 0.1);
  --shadow-lg: 0 16px 48px rgba(10, 24, 18, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'Martian Mono', monospace;
  --max: 1140px;
  --wide: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); opacity: 1; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.18; margin: 0 0 0.75em; color: var(--fg); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); color: var(--fg-soft); }
p { margin: 0 0 1em; color: var(--fg-soft); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; color: var(--fg-soft); }
strong { color: var(--fg); font-weight: 600; }

.surface-paper { background: #FAF7F2; color: var(--fg); }
.surface-clay { background: #EDE6DA; color: var(--fg); }
.surface-warm { background: #E4D9C8; color: var(--fg); }
.surface-amber { background: linear-gradient(135deg, #F5EBD8 0%, #EDE0C8 100%); color: var(--fg); }
.surface-pine { background: #E4D9C8; color: var(--fg); }

.container { width: min(var(--max), 92vw); margin: 0 auto; }
.container-wide { width: min(var(--wide), 94vw); margin: 0 auto; }
.section { padding: clamp(3.5rem, 8vw, 7.5rem) 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.logo {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-weight: 500;
  color: var(--fg);
}
.nav-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-link { font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: var(--fg-soft); transition: color 0.2s; }
.nav-link:hover { color: var(--fg); opacity: 1; }
.nav-link.is-active { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent-bright); }
.nav-cta {
  display: inline-block; padding: 0.55rem 1.1rem; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; border-radius: 6px;
  background: var(--accent-bright); color: var(--fg);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 2px 8px rgba(200, 122, 18, 0.25);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200, 122, 18, 0.35); color: var(--fg); opacity: 1; }
.nav-cta.is-active { outline: 2px solid var(--fg); outline-offset: 2px; }
.menu-toggle {
  display: none; background: var(--card-bg); border: 1px solid var(--border-strong);
  padding: 0.5rem 0.75rem; font-family: var(--font-mono); font-size: 0.75rem;
  cursor: pointer; color: var(--fg); border-radius: 6px;
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    padding: 1rem 1.25rem; background: #FFFFFF;
    color: var(--fg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); align-items: stretch;
  }
  .nav-list.is-open { display: flex; }
  .nav-cta { text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.875rem 1.6rem; font-size: 0.9375rem; font-weight: 600;
  text-decoration: none; border-radius: 6px; border: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn-primary {
  background: var(--accent-bright); color: var(--fg);
  box-shadow: 0 2px 12px rgba(200, 122, 18, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200, 122, 18, 0.4); color: var(--fg); opacity: 1; }
.btn-secondary {
  background: var(--card-bg); color: var(--fg);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); background: #FFFDF9; opacity: 1; color: var(--fg); }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* Hero */
.hero { padding-top: 5.5rem; padding-bottom: 3.5rem; min-height: auto; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(233, 161, 59, 0.08), transparent 70%);
}
.hero-masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; margin-bottom: 2rem;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.index-rail {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em;
}
.index-rail span {
  padding: 0.4rem 0.85rem; border: 1px solid var(--border-strong);
  border-radius: 999px; background: var(--card-bg); color: var(--fg-soft);
  box-shadow: var(--shadow-sm);
}
.hero-title { color: var(--fg); }
.hero-standfirst { max-width: 38rem; font-size: 1.0625rem; color: var(--fg-soft); }
.trust-strip {
  margin-top: 2rem; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; color: var(--muted);
}
.section-lead { font-size: 1.0625rem; color: var(--fg-soft); max-width: 42rem; line-height: 1.75; }

/* Photos */
.photo-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.875rem; margin: 2rem 0;
}
.photo-row img, .photo-band img, .photo-frame img, .photo-inline img {
  width: 100%; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.photo-row img { aspect-ratio: 4/5; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.photo-row img:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo-band {
  display: grid; grid-template-columns: 1fr 1.15fr 0.85fr; gap: 0.625rem;
  margin: 0; max-width: 420px;
}
.photo-band img { aspect-ratio: 4/3; max-height: 150px; }
.photo-band img:nth-child(2) { transform: translateY(0.75rem); }
.photo-band img:nth-child(3) { transform: translateY(1.5rem); }
.photo-frame {
  max-width: min(680px, 100%); margin: 1.5rem auto 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); background: var(--card-bg);
}
.photo-frame--wide { max-width: min(760px, 100%); }
.photo-frame--left { margin-left: 0; margin-right: auto; }
.photo-frame img { aspect-ratio: 16/10; max-height: 360px; border-radius: 0; box-shadow: none; }
.photo-inline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin: 1.5rem 0; max-width: 480px;
}
.photo-inline img { aspect-ratio: 1; max-height: 130px; }
@media (max-width: 768px) {
  .photo-row { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .photo-row img { aspect-ratio: 1; max-height: 110px; }
  .photo-band { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .photo-band img { max-height: 90px; transform: none !important; }
  .photo-inline { max-width: 100%; }
  .photo-inline img { max-height: 90px; }
}

/* Grid & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .cap-grid { grid-template-columns: 1fr; } }

.card {
  padding: 1.5rem 1.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 122, 18, 0.3);
}
.card h3 { color: var(--fg); margin-bottom: 0.5rem; }
.card p { margin-bottom: 0; font-size: 0.96875rem; }

/* Timeline */
.timeline { display: grid; gap: 0.5rem; }
.timeline-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.25rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease);
}
.timeline-item:hover { box-shadow: var(--shadow-md); }
.timeline-week {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; color: var(--accent); font-weight: 500;
  padding-top: 0.15rem;
}
.timeline-item h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.timeline-item p { margin-bottom: 0; font-size: 0.96875rem; }
@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Pricing */
.price-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 768px) { .price-band { grid-template-columns: 1fr; } }
.price-band .card { text-align: left; }
.price-band .card strong { color: var(--accent); font-size: 1.05rem; }

.cap-stack { display: grid; gap: 1.25rem; }
.cap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 768px) { .cap-row { grid-template-columns: 1fr; } }

/* Work items */
.work-item {
  display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: start;
  padding: 1.5rem; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.work-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(200, 122, 18, 0.25); }
.work-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); max-height: 130px;
}
.work-item h3 { margin-bottom: 0.5rem; }
.work-item p { margin-bottom: 0; font-size: 0.96875rem; }
@media (max-width: 640px) {
  .work-item { grid-template-columns: 1fr; }
  .work-item img { max-height: 180px; }
}

/* FAQ */
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item {
  padding: 1.35rem 1.5rem; margin-bottom: 0.75rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item h3 { font-size: 1.0625rem; margin-bottom: 0.6rem; line-height: 1.45; color: var(--fg); }
.faq-item p { font-size: 0.96875rem; margin-bottom: 0; line-height: 1.7; }
.faq-layout { display: grid; grid-template-columns: 1fr 260px; gap: 2.5rem; align-items: start; }
.faq-aside { position: sticky; top: 5.5rem; }
.faq-aside img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius-lg); max-height: 300px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.faq-aside p { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; max-width: 280px; }
}

/* CTA & Footer */
.cta-band {
  text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 { color: var(--fg); }
.cta-band p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.site-footer {
  padding: 3.5rem 0 2rem; font-size: 0.9375rem;
  border-top: 3px solid var(--accent-bright);
}
.site-footer p { color: var(--fg-soft); }
.site-footer a { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-bottom: 2rem; }
.footer-grid strong { color: var(--fg); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-disclaimer {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  font-size: 0.8125rem; color: var(--muted);
}
.footer-disclaimer p { color: var(--muted); }
.footer-clarifier { margin-top: 1rem; font-style: italic; }
.footer-copy {
  margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.06em; color: var(--muted);
}

/* Page hero */
.page-hero { padding-top: 6rem; padding-bottom: 2.5rem; position: relative; }
.page-hero-split {
  display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
}
.page-hero-split .photo-band { margin: 0; }
@media (max-width: 768px) {
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-split .photo-band { max-width: 100%; }
}

/* Contact & Forms */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 768px) { .contact-split { grid-template-columns: 1fr; } }
.form-grid { display: grid; gap: 1.125rem; max-width: 100%; }
.form-card {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.form-grid label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.9375rem; color: var(--fg); }
.form-grid input, .form-grid select, .form-grid textarea {
  font: inherit; padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--border-strong); border-radius: 6px;
  background: #FAFAF8; color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(233, 161, 59, 0.18);
}
.form-grid textarea { min-height: 130px; resize: vertical; }
.checkbox-row {
  display: grid; grid-template-columns: 1.125rem 1fr; gap: 0.625rem 0.75rem;
  align-items: start; font-weight: 400; font-size: 0.875rem;
  line-height: 1.55; cursor: pointer; color: var(--fg-soft);
}
.checkbox-row input[type="checkbox"] {
  width: 1.125rem; height: 1.125rem; margin: 0.15rem 0 0;
  accent-color: var(--accent-bright); cursor: pointer;
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.notice { padding: 0.875rem 1rem; border: 1px solid var(--border); margin-bottom: 1rem; border-radius: var(--radius); background: var(--card-bg); }
.legal-body h2 { margin-top: 2rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  transform: translateY(110%); transition: transform 0.35s var(--ease);
  padding: 1.25rem; border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(10, 24, 18, 0.1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner { width: min(var(--max), 92vw); margin: 0 auto; }
.cookie-text { color: var(--fg-soft); font-size: 0.9375rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.cookie-actions button {
  font: inherit; padding: 0.5rem 1rem; cursor: pointer; border-radius: 6px;
  border: 1px solid var(--border-strong); background: var(--card-bg); color: var(--fg);
  transition: background 0.2s;
}
.cookie-actions button:hover { background: #FAF7F2; }
.cookie-accept { background: var(--accent-bright) !important; color: var(--fg) !important; border-color: transparent !important; font-weight: 600; }
.cookie-panel { display: none; margin-top: 0.75rem; gap: 0.5rem; }
.cookie-panel.is-open { display: grid; }
.cookie-panel label { color: var(--fg-soft); font-size: 0.875rem; }

/* Animations */
.js .reveal { transform: translateY(0); transition: transform 0.55s var(--ease), opacity 0.55s var(--ease); opacity: 1; }
.js .reveal:not(.is-visible) { transform: translateY(20px); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal:not(.is-visible) { transform: none; opacity: 1; transition: none; }
  .cookie-banner { transition: none; }
  .card:hover, .work-item:hover, .btn-primary:hover { transform: none; }
}
