:root {
  --graphite: #2c3038;
  --graphite-mid: #3a3f4a;
  --graphite-soft: #5a616e;
  --silver: #c5cad3;
  --silver-bright: #e4e7ec;
  --peach: #f0c9a8;
  --peach-deep: #e0a87a;
  --gold: #d4b896;
  --gold-soft: #e8d4b8;
  --ink: #1a1d23;
  --mist: #f6f2ed;
  --surface: rgba(228, 231, 236, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.72);
  --line: rgba(44, 48, 56, 0.12);
  --shadow: 0 18px 50px rgba(44, 48, 56, 0.12);
  --radius: 20px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Nunito", 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(1100px 520px at 8% -8%, rgba(240, 201, 168, 0.5), transparent 55%),
    radial-gradient(900px 480px at 92% 0%, rgba(197, 202, 211, 0.58), transparent 52%),
    linear-gradient(180deg, #f5f1ec 0%, #ebe6df 45%, #e7e2db 100%);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--graphite-mid);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--graphite);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(246, 242, 237, 0.94), rgba(246, 242, 237, 0.75));
  border-bottom: 1px solid var(--line);
}

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

.brand {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

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

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

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

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  padding: 0.8rem 0.7rem;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-of-type {
  transform: translateY(-5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.28s ease,
    background 0.28s ease,
    border-radius 0.28s ease;
}

.btn--mercury {
  background:
    linear-gradient(145deg, var(--silver-bright), var(--silver) 40%, var(--gold-soft) 75%, var(--peach));
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 28px rgba(224, 168, 122, 0.28);
  animation: mercury-sheen 7s ease-in-out infinite;
  background-size: 160% 160%;
}

.btn--mercury:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 32px rgba(224, 168, 122, 0.35);
}

.btn--mercury.is-pressed,
.btn--mercury:active {
  transform: scale(0.94);
  border-radius: 22px;
  box-shadow: inset 0 10px 22px rgba(44, 48, 56, 0.22);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--line);
  color: var(--graphite);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.7);
}

@keyframes mercury-sheen {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

@keyframes band-drift {
  0%, 100% { transform: translateX(-4%); opacity: 0.45; }
  50% { transform: translateX(4%); opacity: 0.7; }
}

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

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

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

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

.hero__sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 29, 35, 0.15) 0%, rgba(26, 29, 35, 0.55) 55%, rgba(26, 29, 35, 0.82) 100%),
    linear-gradient(90deg, rgba(240, 201, 168, 0.25), transparent 40%, rgba(197, 202, 211, 0.2));
}

.hero__bands {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 28%;
  height: 28%;
  background:
    linear-gradient(90deg, transparent, rgba(232, 212, 184, 0.35), rgba(228, 231, 236, 0.5), rgba(240, 201, 168, 0.3), transparent);
  filter: blur(18px);
  animation: band-drift 10s ease-in-out infinite;
  pointer-events: none;
}

.hero__dock {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto 3.5rem;
  max-width: 40rem;
  color: var(--silver-bright);
  animation: rise-in 0.9s ease both;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__dock h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  color: var(--gold-soft);
}

.hero__lead {
  margin: 0 0 1.4rem;
  color: rgba(228, 231, 236, 0.92);
  font-size: 1.05rem;
  max-width: 34rem;
}

/* Sections */
.section {
  width: var(--shell);
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section--mercury {
  background:
    linear-gradient(135deg, rgba(197, 202, 211, 0.35), rgba(232, 212, 184, 0.22));
  border-block: 1px solid var(--line);
  width: 100%;
  padding-inline: max(1.25rem, calc((100% - 1120px) / 2 + 1.25rem));
  box-sizing: border-box;
}

.section--peach {
  background:
    radial-gradient(600px 280px at 80% 20%, rgba(240, 201, 168, 0.45), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(240, 201, 168, 0.18));
  border-radius: var(--radius);
}

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

.section__kicker {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--graphite-soft);
}

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

.section__head h2,
.section h2 {
  margin-top: 0;
}

.section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.price-line {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--graphite-mid);
}

.text-link {
  font-weight: 700;
  color: var(--graphite);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%, rgba(240, 201, 168, 0.12));
  pointer-events: none;
}

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

.media-frame--sm img {
  aspect-ratio: 5 / 4;
}

/* Offer rail */
.offer-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.offer-rail a {
  display: grid;
  gap: 0.35rem;
  text-decoration: none;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-rail a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.offer-rail__meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.offer-rail__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--graphite);
}

.offer-rail__short {
  color: var(--graphite-soft);
}

.offer-rail__price {
  font-weight: 700;
  color: var(--peach-deep);
}

/* Evidence */
.evidence {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: ev;
}

.evidence li {
  counter-increment: ev;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.evidence li::before {
  content: counter(ev, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--peach-deep);
  margin-bottom: 0.5rem;
}

.evidence h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.evidence p {
  margin: 0;
  color: var(--graphite-soft);
}

.quote {
  margin: 0;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(197, 202, 211, 0.4), rgba(255, 255, 255, 0.55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--graphite);
}

.quote footer {
  color: var(--graphite-soft);
  font-size: 0.95rem;
}

/* Page heroes */
.page-hero {
  width: var(--shell);
  margin: 0 auto;
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.page-hero > p {
  margin: 0;
  max-width: 40rem;
  color: var(--graphite-soft);
  font-size: 1.05rem;
}

.page-hero--media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 2rem;
}

.page-hero__text .eyebrow,
.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--peach-deep);
}

.page-hero__text time {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--graphite-soft);
  font-size: 0.9rem;
}

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

.process-steps li {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(44, 48, 56, 0.06);
}

.process-steps h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.process-steps p {
  margin: 0;
  color: var(--graphite-soft);
}

/* Services / blog index */
.service-index {
  display: grid;
  gap: 1.75rem;
}

.service-index__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.service-index__row h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.service-index__row h2 a {
  text-decoration: none;
}

.blog-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.blog-index__item a {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  text-decoration: none;
  align-items: center;
}

.blog-index__item time {
  display: block;
  font-size: 0.85rem;
  color: var(--graphite-soft);
  margin-bottom: 0.35rem;
}

.blog-index__item h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.blog-index__item p {
  margin: 0;
  color: var(--graphite-soft);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--gold));
  box-shadow: 0 0 0 3px rgba(240, 201, 168, 0.35);
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.2rem;
}

.legal code {
  font-size: 0.9em;
  background: rgba(197, 202, 211, 0.35);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

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

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

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

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--peach-deep);
  box-shadow: 0 0 0 3px rgba(240, 201, 168, 0.45);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #b4543c;
}

.field-error {
  margin: 0;
  color: #9a3f2c;
  font-size: 0.88rem;
}

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

.form-status--success {
  color: #2f6b4f;
}

.form-status--error {
  color: #9a3f2c;
}

.error-page {
  width: var(--shell);
  margin: 0 auto;
  padding: 6rem 0;
  text-align: center;
}

.error-page h1 {
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(197, 202, 211, 0.28));
}

.site-footer__inner {
  width: var(--shell);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
}

.site-footer__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.site-footer__brand p,
.site-footer__contact p {
  margin: 0 0 0.35rem;
  color: var(--graphite-soft);
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__legal a {
  text-decoration: none;
  font-weight: 600;
  color: var(--graphite-soft);
}

.site-footer__legal a:hover {
  color: var(--graphite);
}

.site-footer__copy {
  width: var(--shell);
  margin: 0 auto;
  color: var(--graphite-soft);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 212, 184, 0.55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: rise-in 0.5s ease both;
}

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

.cookie-banner__inner p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.95rem;
}

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

/* Responsive */
@media (max-width: 900px) {
  .section__grid--split,
  .page-hero--media,
  .service-index__row,
  .blog-index__item a,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .evidence {
    grid-template-columns: 1fr;
  }

  .hero__dock {
    margin-bottom: 2.25rem;
  }
}

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(246, 242, 237, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero {
    min-height: min(88vh, 720px);
  }
}
