:root {
  --ink: #142428;
  --ink-soft: #3d4f55;
  --paper: #eef3f1;
  --paper-2: #e2ebe7;
  --deep: #0f1c1f;
  --accent: #e85d04;
  --accent-hover: #c44d03;
  --teal: #2a9d8f;
  --line: rgba(20, 36, 40, 0.14);
  --white: #f8fbfa;
  --shadow: 0 18px 40px rgba(15, 28, 31, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --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);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(42, 157, 143, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 93, 4, 0.12), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

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

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

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

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

.section-title {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--on-deep {
  border-color: rgba(248, 251, 250, 0.7);
  color: var(--white);
}

.btn--on-deep:hover {
  background: var(--white);
  color: var(--deep);
}

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.text-link:hover {
  color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(238, 243, 241, 0.86);
  border-bottom: 1px solid var(--line);
  animation: header-in 0.6s ease both;
}

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

.site-header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.65rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.site-nav__cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
}

.site-nav__cta:hover {
  background: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 18s ease-in-out alternate infinite;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 28, 31, 0.82) 0%, rgba(15, 28, 31, 0.45) 55%, rgba(15, 28, 31, 0.25) 100%),
    linear-gradient(0deg, rgba(15, 28, 31, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 40rem;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2.5rem))) / 2), 1.25rem);
  margin-right: auto;
  width: min(40rem, calc(100% - 2.5rem));
  animation: rise 0.9s ease 0.15s both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero__title {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero__text {
  font-size: 1.1rem;
  color: rgba(248, 251, 250, 0.88);
  margin-bottom: 1.5rem;
  max-width: 34ch;
}

/* Bands */
.band {
  padding: 4.5rem 0;
}

.band--tint {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.band--deep {
  background:
    linear-gradient(135deg, #12262b 0%, #1a3a36 50%, #0f1c1f 100%);
  color: var(--white);
}

.band--deep .eyebrow {
  color: #7fd4c7;
}

.band--center {
  text-align: center;
  min-height: 60vh;
  display: grid;
  align-content: center;
}

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

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

.split__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.7s ease;
}

.split__figure:hover img {
  transform: scale(1.04);
}

.offer-list {
  display: grid;
  gap: 1rem;
}

.offer-list__item {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--teal);
  background: rgba(248, 251, 250, 0.7);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, transform 0.25s ease;
}

.offer-list__item:hover {
  background: #fff;
  transform: translateX(4px);
  color: inherit;
}

.offer-list__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.offer-list__summary {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.evidence__quote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 28ch;
}

.evidence__quote footer {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.85;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-strip__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Page hero */
.page-hero {
  padding: 3.5rem 0 2rem;
  animation: rise 0.7s ease both;
}

.page-hero--image {
  position: relative;
  color: var(--white);
  padding: 0;
  min-height: 420px;
  display: grid;
  align-items: end;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 28, 31, 0.8), rgba(15, 28, 31, 0.35));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
}

.page__header {
  padding: 3rem 0 1rem;
}

.page__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.page__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

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

.page__body {
  padding-bottom: 4rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose .btn {
  margin-top: 0.5rem;
}

/* Services */
.service-grid,
.post-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card,
.post-card {
  background: rgba(248, 251, 250, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card__media,
.post-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.service-card__media img,
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__media img,
.post-card:hover .post-card__media img {
  transform: scale(1.05);
}

.service-card__body,
.post-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-card h2,
.post-card h2 {
  font-size: 1.35rem;
}

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

.pill {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.service-detail__hero {
  padding: 3rem 0 2rem;
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid var(--line);
}

.service-detail__hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.service-detail__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.service-detail__body {
  padding: 3rem 0 4rem;
  max-width: 46rem;
}

.service-detail__block {
  margin-bottom: 2rem;
}

.service-detail__meta {
  background: rgba(248, 251, 250, 0.8);
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem;
  margin: 2rem 0;
}

.service-detail__meta p {
  margin-bottom: 0.65rem;
}

.service-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--line);
}

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

.steps-long article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.steps-long h2 {
  font-size: 1.45rem;
}

/* Rates & reviews */
.rate-list {
  display: grid;
  gap: 1rem;
}

.rate-list__item {
  padding: 1.5rem 1.6rem;
  background: rgba(248, 251, 250, 0.75);
  border-left: 4px solid var(--accent);
}

.rate-list__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.review-card {
  margin: 0;
  padding: 1.5rem;
  background: rgba(248, 251, 250, 0.8);
  border: 1px solid var(--line);
}

.review-card p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

.review-card footer {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.review-card__service {
  color: var(--teal);
  font-weight: 600;
}

.case-story {
  max-width: 44rem;
}

.case-story__meta {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.case-story blockquote {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.post-card__date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.post__header {
  padding: 3rem 0 1.5rem;
}

.post__cover {
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.post__cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.post__body {
  padding-bottom: 4rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: rgba(248, 251, 250, 0.8);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}

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

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

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.form__error {
  color: #b42318;
  font-size: 0.85rem;
  margin: 0;
}

.form__status {
  margin: 0.25rem 0 0;
  font-weight: 600;
}

.form__status.is-success {
  color: var(--teal);
}

.form__status.is-error {
  color: #b42318;
}

.contact-layout__aside {
  padding: 1.5rem;
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius);
}

.contact-layout__aside a {
  color: #7fd4c7;
}

.contact-layout__aside h2 {
  margin-top: 0;
}

.contact-layout__note {
  margin-top: 1rem;
  opacity: 0.85;
  font-size: 0.95rem;
}

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

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

.cookie-table th {
  background: rgba(42, 157, 143, 0.12);
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(248, 251, 250, 0.88);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #7fd4c7;
  text-decoration: none;
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.site-footer__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 251, 250, 0.55);
  margin-bottom: 0.6rem;
}

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

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

.site-footer__base {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 251, 250, 0.12);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 28, 31, 0.96);
  color: var(--white);
  padding: 1rem 0;
  border-top: 3px solid var(--teal);
  animation: rise 0.45s ease both;
}

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

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

.cookie-banner p {
  margin: 0;
  max-width: 46rem;
  font-size: 0.95rem;
}

.cookie-banner a {
  color: #7fd4c7;
}

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

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

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

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(238, 243, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
    animation: rise 0.3s ease both;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .split,
  .service-detail__hero-grid,
  .contact-layout,
  .site-footer__grid,
  .service-grid,
  .post-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    margin-left: 1.25rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
