:root {
  --bg: #f3f1ee;
  --bg-muted: #e8e4de;
  --surface: #fffcf8;
  --text: #1a1917;
  --muted: #5f5a53;
  --accent: #3d5a4c;
  --accent-hover: #2f463b;
  --border: #d9d3ca;
  --error: #8b3a2f;
  --success: #2f5d45;
  --shadow: 0 18px 40px rgba(26, 25, 23, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --radius: 4px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(61, 90, 76, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(95, 90, 83, 0.06), transparent 50%),
    var(--bg);
  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 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.65em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(243, 241, 238, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(26, 25, 23, 0.04);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

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

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 25, 23, 0.15) 0%, rgba(26, 25, 23, 0.72) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem 3.5rem;
  max-width: 42rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.hero h1 {
  color: #fff;
}

.lede {
  font-size: 1.15rem;
  color: inherit;
  opacity: 0.92;
  max-width: 38rem;
}

.hero .lede { color: rgba(255, 255, 255, 0.9); }

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

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

.hero-page {
  min-height: min(62vh, 520px);
}

.page-hero {
  padding: 3.5rem 0 1rem;
}

.page-hero-inline {
  margin-bottom: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: rgba(232, 228, 222, 0.55);
}

.section-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(61, 90, 76, 0.1), rgba(232, 228, 222, 0.7));
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.split-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

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

.offer-row h3 a {
  color: inherit;
  text-decoration: none;
}

.offer-row h3 a:hover {
  color: var(--accent);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.quote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  font-weight: 600;
}

.quote footer {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1rem;
}

.card-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card,
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-card-body,
.blog-card > div {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-card h2,
.blog-card h2 {
  font-size: 1.55rem;
}

.service-card h2 a,
.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.rate-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.rate-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.rate-row:last-child { border-bottom: 0; }

.rate-head {
  background: var(--bg-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

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

.review-card {
  margin: 0;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-story {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.case-story blockquote {
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 1.5rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  padding-left: 1.2em;
}

.steps-large {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

.steps-large li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.35rem 4.25rem;
  position: relative;
}

.steps-large li::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.3rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.steps-large h3 { margin-bottom: 0.35em; }

.mt { margin-top: 2rem; }

.narrow { max-width: 760px; }

.prose h2 { margin-top: 1.75em; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

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

.field label { font-weight: 600; font-size: 0.95rem; }

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(61, 90, 76, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: var(--error);
  font-size: 0.88rem;
  margin: 0;
}

.form-status {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
}

.form-status.is-success {
  background: rgba(47, 93, 69, 0.12);
  color: var(--success);
}

.form-status.is-error {
  background: rgba(139, 58, 47, 0.12);
  color: var(--error);
}

.address-block {
  font-style: normal;
  line-height: 1.7;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0;
}

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

.cookie-table th {
  background: var(--bg-muted);
}

.site-footer {
  background: #1f241f;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

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

.footer-label {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-text { color: rgba(255, 255, 255, 0.75); }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(31, 36, 31, 0.96);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

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

.cookie-banner a { color: #fff; }

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cookie-banner .btn-primary {
  background: #fff;
  color: var(--text);
}

.cookie-banner .btn-primary:hover {
  background: var(--bg);
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

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

  .nav-cta { text-align: center; }

  .split,
  .two-col,
  .split-contact,
  .footer-grid,
  .card-grid,
  .blog-grid,
  .offer-row,
  .rate-row,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero { min-height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
}
