:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f2;
  --ink: #142018;
  --ink-muted: #4a5a50;
  --line: #d8e0d4;
  --accent: #1a3a2a;
  --accent-hover: #0f281c;
  --accent-soft: #c8e0b0;
  --highlight: #e8f2dc;
  --danger: #8b2e2e;
  --success: #1f5a38;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;
  --radius: 2px;
  --max: 72rem;
  --narrow: 42rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(200, 224, 176, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(26, 58, 42, 0.04), transparent 50%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 var(--space-sm); }

ul { margin: 0 0 var(--space-sm); padding-left: 1.2rem; }

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.shell-narrow {
  width: min(100% - 2rem, var(--narrow));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  max-width: min(100%, 18rem);
  line-height: 1.2;
}

.brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--accent-soft);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-display);
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle-bars {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink);
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7faf5;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 24, 16, 0.35) 0%, rgba(10, 24, 16, 0.78) 70%, rgba(10, 24, 16, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) 0 var(--space-lg);
  max-width: 40rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--accent-soft);
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.85rem;
}

.hero .lede {
  color: rgba(245, 247, 242, 0.88);
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero .btn-primary {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--accent);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.7s var(--ease) both;
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 38rem;
  margin-bottom: var(--space-lg);
}

.section-head p {
  color: var(--ink-muted);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--highlight);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.03);
}

/* Offer list (not heavy cards) */
.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.offer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, padding-left 0.25s var(--ease);
}

.offer-row:hover {
  background: rgba(232, 242, 220, 0.45);
  padding-left: 0.5rem;
}

.offer-row h3 {
  margin: 0 0 0.35rem;
}

.offer-row p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.offer-meta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
}

.offer-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 700px) {
  .offer-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Evidence quotes */
.quote-stack {
  display: grid;
  gap: var(--space-md);
}

.quote-block {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--line);
}

.quote-block:last-child {
  border-bottom: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-style: italic;
}

.quote-meta {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Page hero (inner) */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--line);
}

.page-hero .lede {
  color: var(--ink-muted);
  font-size: 1.15rem;
  max-width: 36rem;
}

.page-hero-full {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.page-hero-full .hero-content {
  padding-bottom: var(--space-lg);
}

/* Services grid listing */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 700px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1rem;
}

.service-item h2 {
  font-size: 1.45rem;
}

.detail-panel {
  display: grid;
  gap: 0.75rem;
  margin: var(--space-md) 0;
}

.detail-panel dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.detail-panel dd {
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.note-box {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--highlight);
  border-left: 3px solid var(--accent);
}

/* Blog */
.blog-list {
  display: grid;
  gap: var(--space-lg);
}

.blog-teaser {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-md);
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}

.blog-teaser img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.blog-teaser time {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 650px) {
  .blog-teaser { grid-template-columns: 1fr; }
}

.prose {
  max-width: var(--narrow);
}

.prose p {
  margin-bottom: 1.15rem;
}

.article-cover {
  margin: var(--space-md) 0 var(--space-lg);
}

.article-cover img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.form-field textarea { min-height: 9rem; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: var(--highlight);
  color: var(--success);
  border: 1px solid var(--accent-soft);
}

.form-status.is-error {
  display: block;
  background: #f8ecec;
  color: var(--danger);
  border: 1px solid #e0b4b4;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-aside p {
  margin: 0;
}

.address-block {
  white-space: pre-wrap;
  font-family: var(--font-body);
}

/* Steps / engagement */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 0 0 var(--space-lg) 3.5rem;
  border-left: 1px solid var(--line);
  margin-left: 0.75rem;
}

.steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -0.9rem;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Legal */
.legal-page h2 {
  margin-top: var(--space-lg);
  font-size: 1.4rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-size: 0.82rem;
}

/* Footer */
.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-xl) 0 var(--space-md);
  background: var(--accent);
  color: #e8f0e4;
}

.site-footer a {
  color: #e8f0e4;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.footer-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.footer-links,
.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.legal-links li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(20, 32, 24, 0.08);
  padding: 1rem 0;
  animation: riseIn 0.45s var(--ease);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.95rem;
}

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-xl) 1rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.5rem;
}
