:root {
  --ink: #14241c;
  --ink-soft: #3a4f44;
  --paper: #eef3f0;
  --paper-deep: #dce6df;
  --surface: #f7faf8;
  --forest: #1b3a2f;
  --forest-mid: #2d5a48;
  --brass: #c8923a;
  --brass-bright: #e8a54b;
  --coral: #c45c3e;
  --line: rgba(20, 36, 28, 0.12);
  --shadow: 0 18px 40px rgba(20, 36, 28, 0.08);
  --radius: 4px;
  --radius-lg: 14px;
  --font-display: "Syne", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 1120px;
  --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:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(200, 146, 58, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(45, 90, 72, 0.12), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--surface) 40%, var(--paper-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--forest);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

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

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

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--forest);
}

.brand:hover { color: var(--forest); }

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border: 2px solid var(--brass);
  border-radius: 4px 10px 4px 10px;
  background:
    linear-gradient(135deg, transparent 45%, var(--forest) 45% 55%, transparent 55%),
    linear-gradient(45deg, var(--brass-bright), transparent);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--forest);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

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

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.nav-cta:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

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

@keyframes heroDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(20, 36, 28, 0.82) 0%, rgba(20, 36, 28, 0.45) 48%, rgba(20, 36, 28, 0.2) 100%),
    linear-gradient(0deg, rgba(20, 36, 28, 0.55), transparent 45%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 6rem 0 3.5rem;
  color: #f4f7f5;
  max-width: 38rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  max-width: 28ch;
  margin-bottom: 0.85rem;
}

.hero-content p {
  color: rgba(244, 247, 245, 0.9);
  font-size: 1.1rem;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn-primary {
  background: var(--brass-bright);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0b85c;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: #fff;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.65rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split-2 { grid-template-columns: 1.05fr 0.95fr; }
  .split-reverse { direction: rtl; }
  .split-reverse > * { direction: ltr; }
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.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.04);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(27, 58, 47, 0.35));
  pointer-events: none;
}

/* Offer list (not cards for display - use structured rows) */
.offer-stack {
  display: grid;
  gap: 1.25rem;
}

.offer-row {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

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

@media (min-width: 720px) {
  .offer-row {
    grid-template-columns: 140px 1fr auto;
    align-items: center;
  }
}

.offer-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

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

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

/* Grid for interactive/service listings where needed */
.tile-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .tile-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.tile {
  background: rgba(247, 250, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tile-body {
  padding: 1.15rem 1.2rem 1.4rem;
}

.tile-body h3 {
  margin-bottom: 0.4rem;
}

.tile-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}

.tile a.more {
  font-weight: 700;
  text-decoration: none;
  color: var(--forest);
}

.tile a.more:hover { color: var(--coral); }

/* Quote / evidence */
.quote-block {
  padding: 1.75rem 0;
  border-left: 3px solid var(--brass);
  padding-left: 1.35rem;
  margin: 1.5rem 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--forest);
}

.quote-meta {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

.review-list {
  display: grid;
  gap: 1.75rem;
}

.review-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.review-item:first-child {
  border-top: 1px solid var(--line);
}

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

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

.form-row label {
  font-weight: 700;
  font-size: 0.92rem;
}

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

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: transparent;
}

.form-row textarea { min-height: 140px; resize: vertical; }

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

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

.form-status.is-success {
  display: block;
  background: rgba(45, 90, 72, 0.12);
  color: var(--forest);
}

.form-status.is-error {
  display: block;
  background: rgba(196, 92, 62, 0.12);
  color: var(--coral);
}

.inline-error {
  display: none;
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: rgba(196, 92, 62, 0.12);
  color: var(--coral);
  border-radius: var(--radius);
  font-weight: 600;
}

.inline-error.is-visible { display: block; }

/* Page heroes (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  position: relative;
}

.page-hero.with-media {
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 2rem;
}

.page-hero.with-media .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero.with-media .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.with-media .page-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20, 36, 28, 0.85), rgba(20, 36, 28, 0.35));
}

.page-hero.with-media h1,
.page-hero.with-media .eyebrow {
  color: #fff;
}

.page-hero.with-media .lead {
  color: rgba(255, 255, 255, 0.9);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

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

.rate-table th {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 0.95rem;
}

.rate-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Blog */
.meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.prose-wide {
  max-width: 48rem;
}

/* Contact address */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-panel address {
  font-style: normal;
  margin-bottom: 1rem;
}

/* Legal */
.legal h2 {
  margin-top: 2rem;
}

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

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

.legal th {
  background: rgba(27, 58, 47, 0.06);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: var(--forest);
  color: rgba(247, 250, 248, 0.88);
  padding: 3rem 0 0;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.1fr 2fr;
  }
}

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

.footer-tag {
  font-size: 0.95rem;
  max-width: 28ch;
  color: rgba(247, 250, 248, 0.75);
}

.footer-cols {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brass-bright);
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.4rem; }

.site-footer a {
  color: rgba(247, 250, 248, 0.85);
  text-decoration: none;
}

.site-footer a:hover { color: var(--brass-bright); }

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.25rem;
}

.footer-bottom p {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  font-size: 0.88rem;
  color: rgba(247, 250, 248, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 420px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
  display: none;
}

.cookie-banner.is-visible { display: block; animation: riseIn 0.45s var(--ease); }

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

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

.cookie-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--brass);
  line-height: 1;
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Process steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.steps li {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brass);
  font-size: 1.1rem;
}

.cta-band {
  margin: 3rem 0;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(27, 58, 47, 0.95), rgba(45, 90, 72, 0.9)),
    var(--forest);
  color: #fff;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); }

.portfolio-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

.portfolio-item figcaption {
  margin-top: 0.75rem;
}

.portfolio-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.portfolio-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
