:root {
  --color-ink: #142726;
  --color-ink-soft: #2a4543;
  --color-paper: #eef3f1;
  --color-paper-deep: #dce7e3;
  --color-surface: #f7faf8;
  --color-accent: #b8893a;
  --color-accent-deep: #8f6828;
  --color-teal: #1f5c57;
  --color-teal-bright: #2a7a73;
  --color-error: #9b2c2c;
  --color-success: #1f5c40;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --radius: 2px;
  --shadow-soft: 0 18px 40px rgba(20, 39, 38, 0.08);
  --max: 70rem;
  --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.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(42, 122, 115, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(184, 137, 58, 0.1), transparent 50%),
    linear-gradient(180deg, var(--color-paper) 0%, var(--color-surface) 40%, var(--color-paper-deep) 100%);
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 var(--space-md);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 var(--space-md);
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 var(--space-sm);
}

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

ul,
ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.section--tight {
  padding: var(--space-lg) 0;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-sm);
}

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

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

.btn--primary {
  background: var(--color-teal);
  color: #f5faf8;
  border-color: var(--color-teal);
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: rgba(20, 39, 38, 0.28);
}

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

.btn--accent {
  background: var(--color-accent);
  color: var(--color-ink);
  border-color: var(--color-accent);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 243, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 39, 38, 0.08);
}

.site-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: var(--space-md);
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__brand:hover {
  color: var(--color-teal);
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.site-header__toggle-bar {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--color-ink);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-teal);
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(20, 39, 38, 0.1);
    padding: var(--space-md) 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
    animation: slideDown 0.3s var(--ease);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeSoft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.reveal-delay {
  animation: riseIn 0.8s var(--ease) 0.15s both;
}

.reveal-late {
  animation: riseIn 0.9s var(--ease) 0.28s both;
}

/* Hero home — full-bleed */
.hero-home {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: #f4f8f6;
  overflow: hidden;
}

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

.hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeSoft 1.2s var(--ease);
}

.hero-home__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 39, 38, 0.35) 0%, rgba(20, 39, 38, 0.55) 45%, rgba(20, 39, 38, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 39, 38, 0.55) 0%, transparent 55%);
}

.hero-home__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero-home__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 var(--space-md);
  color: #f7faf8;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-home__lead {
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgba(244, 248, 246, 0.92);
  margin-bottom: var(--space-lg);
}

.hero-home .btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-ink);
}

.hero-home .btn--primary:hover {
  background: #d4a84e;
  border-color: #d4a84e;
  color: var(--color-ink);
}

.hero-home .btn--ghost {
  color: #f4f8f6;
  border-color: rgba(244, 248, 246, 0.45);
}

.hero-home .btn--ghost:hover {
  border-color: #f4f8f6;
  color: #fff;
}

/* Page hero (inner) */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid rgba(20, 39, 38, 0.08);
}

.page-hero--split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 840px) {
  .page-hero--split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.page-hero__media {
  min-height: 16rem;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

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

/* Offer / service grids — interaction containers, not decorative cards */
.offer-list {
  display: grid;
  gap: var(--space-lg);
}

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

.offer-item {
  display: grid;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(20, 39, 38, 0.12);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s var(--ease);
}

.offer-item:hover {
  opacity: 0.92;
  color: inherit;
}

.offer-item__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
}

.offer-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.offer-item:hover .offer-item__img img {
  transform: scale(1.04);
}

.offer-item__meta {
  font-size: 0.85rem;
  color: var(--color-teal);
  font-weight: 600;
}

/* Split feature */
.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

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

  .split--reverse .split__media {
    order: 2;
  }
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Evidence / quotes */
.quote-block {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  margin: 0 0 var(--space-lg);
}

.quote-block__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

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

.quote-grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(20, 39, 38, 0.12);
  vertical-align: top;
}

.rate-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
}

.rate-note {
  background: rgba(31, 92, 87, 0.08);
  padding: var(--space-md);
  border-radius: var(--radius);
}

/* Process steps */
.steps {
  display: grid;
  gap: var(--space-md);
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.steps__item {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(20, 39, 38, 0.1);
}

.steps__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
}

/* Forms */
.form {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
}

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

.form__label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form__hint {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1.5px solid rgba(20, 39, 38, 0.2);
  border-radius: var(--radius);
}

.form__textarea {
  min-height: 9rem;
  resize: vertical;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
  border-color: var(--color-teal);
}

.form__input.is-invalid,
.form__select.is-invalid,
.form__textarea.is-invalid {
  border-color: var(--color-error);
}

.form__error {
  color: var(--color-error);
  font-size: 0.85rem;
  display: none;
}

.form__error.is-visible {
  display: block;
}

.form__status {
  padding: var(--space-md);
  border-radius: var(--radius);
  display: none;
}

.form__status.is-success {
  display: block;
  background: rgba(31, 92, 64, 0.12);
  color: var(--color-success);
}

.form__status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  color: var(--color-error);
}

.contact-aside {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(20, 39, 38, 0.12);
}

.contact-aside p {
  margin-bottom: 0.4rem;
}

@media (min-width: 840px) {
  .contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: start;
  }

  .contact-aside {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid rgba(20, 39, 38, 0.12);
    padding-left: var(--space-lg);
  }
}

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

.post-teaser {
  display: grid;
  gap: var(--space-md);
  text-decoration: none;
  color: inherit;
}

@media (min-width: 720px) {
  .post-teaser {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.post-teaser__img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
}

.post-teaser__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-teaser__date {
  font-size: 0.85rem;
  color: var(--color-teal);
  font-weight: 600;
}

.post-body p {
  max-width: 42rem;
}

.post-cover {
  margin: var(--space-lg) 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 26rem;
}

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

/* Legal */
.legal-content h2 {
  margin-top: var(--space-xl);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(20, 39, 38, 0.15);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: rgba(31, 92, 87, 0.08);
}

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

.error-page__code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-accent);
  margin: 0;
  line-height: 1;
}

/* Footer */
.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--color-ink);
  color: rgba(244, 248, 246, 0.88);
}

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

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

.site-footer__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr 0.8fr;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f7faf8;
  margin-bottom: 0.35rem;
}

.site-footer__tag {
  color: rgba(244, 248, 246, 0.7);
  margin: 0;
}

.site-footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.site-footer__copy {
  width: min(100% - 2rem, var(--max));
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(244, 248, 246, 0.12);
  font-size: 0.85rem;
  color: rgba(244, 248, 246, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: rgba(20, 39, 38, 0.97);
  color: #f4f8f6;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.35s var(--ease);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
}

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

.cookie-banner a {
  color: var(--color-accent);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-banner .btn--ghost {
  color: #f4f8f6;
  border-color: rgba(244, 248, 246, 0.4);
}

.cookie-banner .btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-ink);
}

/* Detail extras */
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: 0.95rem;
}

.detail-meta strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  font-weight: 600;
}

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

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

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

.band {
  background: rgba(31, 92, 87, 0.07);
  border-top: 1px solid rgba(31, 92, 87, 0.12);
  border-bottom: 1px solid rgba(31, 92, 87, 0.12);
}

.cta-band {
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-band p {
  max-width: 32rem;
  margin-inline: auto;
}
