

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin_latin-ext-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-v7-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-v7-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #faf7f2;
  --paper-warm: #f3eee3;
  --white: #ffffff;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --teal: #0f7a76;
  --teal-deep: #0c5551;
  --teal-darkest: #093a37;
  --teal-tint: #e6efec;
  --coral: #e8623d;
  --coral-deep: #c94b26;
  --coral-tint: #f7e5dd;
  --gold: #f2b33d;
  --gold-tint: #fbeecd;
  --gold-deep: #b3811f;
  --line: #e6dfd0;
  --line-strong: #d4c9b4;
  --paper-on-dark: #f5f1e8;
  --muted-on-dark: rgba(245, 241, 232, 0.72);

  --font-display: "Fraunces", "Georgia", serif;
  --font-text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 4.6vw + 1rem, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.85rem, 2.4vw + 0.8rem, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

p.lead {
  font-size: clamp(1.125rem, 1vw + 0.9rem, 1.3rem);
  line-height: 1.55;
}

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

strong {
  font-weight: 500;
  color: var(--ink);
}

em {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 200;
}

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

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section-tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* Ruler line with cartographic tick marks — section divider */
.rule-ticks {
  height: 10px;
  border: 0;
  margin: 0;
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 72px) bottom / 100% 7px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) bottom / 100% 1px no-repeat;
}

.band-dark .rule-ticks,
.band-deep .rule-ticks {
  background:
    repeating-linear-gradient(90deg, rgba(245, 241, 232, 0.35) 0 1px, transparent 1px 72px) bottom / 100% 7px no-repeat,
    linear-gradient(rgba(245, 241, 232, 0.35), rgba(245, 241, 232, 0.35)) bottom / 100% 1px no-repeat;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--teal);
  flex: none;
}

.band-dark .eyebrow,
.band-deep .eyebrow {
  color: var(--gold);
}

.band-dark .eyebrow::before,
.band-deep .eyebrow::before {
  background: var(--gold);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* Dark editorial bands */
.band-dark {
  background: var(--teal-deep);
  color: var(--paper-on-dark);
}

.band-deep {
  background: var(--teal-darkest);
  color: var(--paper-on-dark);
}

.band-dark h1, .band-dark h2, .band-dark h3,
.band-deep h1, .band-deep h2, .band-deep h3 {
  color: var(--paper-on-dark);
}

.band-dark p,
.band-deep p {
  color: var(--muted-on-dark);
}

.band-dark a,
.band-deep a {
  color: var(--paper-on-dark);
}

.band-warm {
  background: var(--paper-warm);
}

.band-teal {
  background: var(--teal-tint);
}

.band-coral {
  background: var(--coral-tint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 1rem 2rem;
  border-radius: 9px;
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(15, 122, 118, 0.55);
}

.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(15, 122, 118, 0.6);
}

.btn-cta {
  background: var(--coral);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.15rem 2.5rem;
  box-shadow: 0 8px 22px -6px rgba(232, 98, 61, 0.55);
}

.btn-cta:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -6px rgba(232, 98, 61, 0.6);
}

@media (max-width: 640px) {
  .btn-cta {
    font-size: 1.1rem;
    padding: 1.1rem 2.25rem;
  }
}

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

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

.band-dark .btn-ghost,
.band-deep .btn-ghost {
  color: var(--paper-on-dark);
  border-color: rgba(245, 241, 232, 0.55);
}

.band-dark .btn-ghost:hover,
.band-deep .btn-ghost:hover {
  border-color: var(--paper-on-dark);
  color: #fff;
  background: rgba(245, 241, 232, 0.1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Arrow link */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
}

.link-more svg {
  transition: transform 0.25s var(--ease-out);
}

.link-more:hover svg {
  transform: translateX(4px);
}

.link-more:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

/* Small inline gold chip for a single word or number within a line */
.tag-gold {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.02em;
  background: var(--gold);
  color: var(--teal-darkest);
  padding: 0.08em 0.55em;
  border-radius: 999px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

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

.brand-mark {
  flex: none;
  color: var(--teal);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-name span {
  display: block;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 1px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 0.5rem;
  gap: clamp(0.75rem, 1.6vw, 1.75rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 1.75rem);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0;
  background: linear-gradient(var(--teal), var(--teal)) left bottom / 0 1.5px no-repeat;
  transition: background-size 0.3s var(--ease-out), color 0.2s ease;
}

@media (min-width: 1200px) {
  .site-nav {
    flex: 1;
    justify-content: space-between;
  }

  .nav-links {
    flex: 1;
    justify-content: center;
    gap: 2.25rem;
  }

  .nav-right {
    gap: 1.25rem;
  }

  .site-nav .btn {
    font-size: 0.92rem;
    padding: 0.62rem 1.15rem;
  }
}

.site-nav a:hover {
  color: var(--teal);
  background-size: 100% 1.5px;
}

.site-nav a[aria-current="page"] {
  color: var(--teal);
  background-size: 100% 1.5px;
}

.nav-cta {
  margin-left: 0.25rem;
}

.site-nav .btn {
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
}

.site-nav a.btn-primary {
  background: var(--teal);
  color: #fff;
}

.site-nav a.btn-primary:hover {
  background: var(--teal-deep);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.lang-switch a,
.lang-switch span {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.2rem 0.1rem;
  background: none;
}

.lang-switch [aria-current="true"] {
  color: var(--teal);
  border-bottom: 1.5px solid var(--teal);
}

.lang-switch a:hover {
  color: var(--teal);
}

.lang-sep {
  color: var(--line-strong);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  display: block;
}

.nav-toggle .icon-close {
  display: none;
}

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

  .site-nav {
    position: fixed;
    inset: 76px 0 0 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 2rem var(--gutter) 3rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.3s;
  }

  .nav-links,
  .nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-toggle .icon-menu {
    display: none;
  }

  body.nav-open .nav-toggle .icon-close {
    display: block;
  }

  .site-nav a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    padding: 0.7rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: none;
  }

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

  .nav-cta {
    margin: 1.5rem 0 0;
    width: 100%;
  }

  .site-nav .btn {
    font-family: var(--font-text);
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 0;
  }

  .lang-switch {
    margin-top: 1.25rem;
    font-size: 1rem;
  }

  .lang-switch a,
  .lang-switch span {
    font-family: var(--font-text);
    border-bottom: 0;
    width: auto;
    padding: 0.2rem;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(4.5rem, 8vw, 7rem);
  background:
    repeating-linear-gradient(90deg, rgba(15, 122, 118, 0.05) 0 1px, transparent 1px calc(100% / 12));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}

.hero .lead {
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-meta {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -0.42em 0 0 var(--gold-tint);
}

.hero-art {
  justify-self: center;
  width: min(100%, 440px);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    width: min(62vw, 320px);
    margin-inline: auto;
  }
}

/* Meridian globe drawing animation */
.meridian-globe .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-line 1.6s var(--ease-out) forwards;
}

.meridian-globe .draw.d2 { animation-delay: 0.25s; }
.meridian-globe .draw.d3 { animation-delay: 0.45s; }
.meridian-globe .draw.d4 { animation-delay: 0.65s; }
.meridian-globe .draw.d5 { animation-delay: 0.85s; }
.meridian-globe .draw.d6 { animation-delay: 1.05s; }

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.meridian-globe .marker {
  opacity: 0;
  animation: marker-in 0.5s ease 1.7s forwards;
}

@keyframes marker-in {
  to {
    opacity: 1;
  }
}

.meridian-globe .pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse-ring 2.6s ease-out 2s infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.4);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Statement band ---------- */
.statement {
  max-width: 880px;
}

.statement p.big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw + 0.9rem, 2.35rem);
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.statement p.big em {
  color: var(--teal);
}

.band-dark .statement p.big,
.band-deep .statement p.big {
  color: var(--paper-on-dark);
}

.band-dark .statement p.big em,
.band-deep .statement p.big em {
  color: var(--gold);
}

/* ---------- Cards & grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

/* Service intro: illustration + text pair at the top of each service section */
.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.service-intro .eyebrow {
  margin-bottom: 1.1rem;
}

.service-intro p:last-child {
  margin-bottom: 0;
}

.service-intro--reverse > :first-child {
  order: 2;
}

.service-intro--reverse > :last-child {
  order: 1;
}

.service-art {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.service-art svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .service-intro,
  .service-intro--reverse {
    grid-template-columns: 1fr;
  }

  .service-intro > *,
  .service-intro--reverse > * {
    order: initial;
  }

  .service-art {
    order: -1;
    max-width: 360px;
    margin-inline: auto;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px -18px rgba(31, 41, 55, 0.28);
  border-color: var(--line-strong);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 1.5px;
  background: var(--teal);
}

/* ---------- Process ---------- */
.process-list {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-step .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--teal);
  opacity: 0.9;
}

.process-step h3 {
  margin-bottom: 0.35rem;
}

.process-step .step-meta {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.process-step .step-body p:last-child {
  margin-bottom: 0;
}

.process-step ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

.process-step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 15px;
  height: 1.5px;
  background: var(--coral);
}

@media (max-width: 800px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Compact process strip (home teaser) */
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-strip li {
  list-style: none;
  background: var(--white);
  padding: 1.4rem 1.25rem 1.5rem;
}

.process-strip {
  margin: 0;
  padding: 0;
}

.process-strip .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.4rem;
}

.process-strip strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.process-strip span.desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
  display: block;
}

@media (max-width: 1000px) {
  .process-strip {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* Fourth option, sitting right under the three packages: custom / modular */
.fine-print {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

.custom-banner {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--white);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.6rem, 3vw, 2.25rem);
}

.custom-banner h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.custom-banner p {
  margin: 0;
  max-width: 46ch;
}

.custom-banner .btn {
  flex: none;
}

@media (max-width: 640px) {
  .custom-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-banner .btn {
    width: 100%;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.plan-popular {
  border: 2px solid var(--teal);
}

.plan .badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.plan-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.plan h3 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.plan .plan-tagline {
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.plan .price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--ink);
}

.plan .price .from {
  display: block;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

.plan .price .eur {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-left: 0.35rem;
}

.plan .price-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.5rem 0 1.4rem;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  flex-grow: 1;
}

.plan ul li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.65rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.plan ul li strong {
  color: var(--ink);
}

.plan ul li svg {
  position: absolute;
  left: 0;
  top: 0.28em;
  color: var(--teal);
}

.plan .btn {
  width: 100%;
}

/* Comparison table */
.table-hint {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

.compare thead th {
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 0;
}

.compare thead th span {
  display: block;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.compare thead th.col-pop {
  box-shadow: inset 0 -3px 0 var(--gold);
}

.compare thead td {
  background: var(--paper);
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line);
}

.compare tbody th {
  font-weight: 500;
  color: var(--ink);
  width: 180px;
  background: var(--paper);
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 var(--line);
}

.compare tbody td {
  color: var(--ink-soft);
  background: var(--white);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody .col-pop {
  background: rgba(15, 122, 118, 0.06);
}

.compare tfoot td,
.compare .price-row td {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.compare .price-row td span {
  display: block;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.compare .dash {
  color: var(--line-strong);
}

@media (max-width: 640px) {
  .table-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: -0.5rem 0 0.75rem;
  }

  .compare {
    min-width: 560px;
    font-size: 0.88rem;
  }

  .compare th,
  .compare td {
    padding: 0.75rem 0.8rem;
  }

  .compare thead th {
    font-size: 0.92rem;
  }

  .compare tbody th {
    width: 118px;
    font-size: 0.85rem;
  }
}

/* After-care note */
.aftercare {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--teal-tint);
  border: 1px solid rgba(15, 122, 118, 0.25);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.grid-3 + .aftercare {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.aftercare svg {
  color: var(--teal);
  margin-top: 0.2rem;
}

.aftercare p {
  margin: 0;
}

.aftercare strong {
  color: var(--ink);
}

@media (max-width: 640px) {
  .aftercare {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: 0;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--teal);
}

.faq-q .faq-icon {
  flex: none;
  color: var(--teal);
  transition: transform 0.35s var(--ease-out);
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-a > div {
  overflow: hidden;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a p {
  margin: 0 0 1.35rem;
  max-width: 62ch;
}

.faq-a p + p {
  margin-top: -0.6rem;
}

/* ---------- Values / editorial two-column ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split .sticky-col {
  position: sticky;
  top: 108px;
}

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

  .split .sticky-col {
    position: static;
  }
}

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

.value-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.value-list .value-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  background: var(--teal-tint);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-top: 0.2rem;
}

.value-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.value-list p {
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
  background:
    repeating-linear-gradient(90deg, rgba(15, 122, 118, 0.045) 0 1px, transparent 1px calc(100% / 12));
}

.page-hero h1 {
  max-width: 15em;
}

.page-hero .lead {
  max-width: 40em;
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.field .hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 122, 118, 0.15);
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  margin-bottom: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status.is-success {
  background: var(--teal-tint);
  border: 1px solid rgba(15, 122, 118, 0.25);
  color: var(--ink);
}

.form-status.is-error {
  background: var(--coral-tint);
  border: 1px solid rgba(232, 98, 61, 0.3);
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* Contact side info */
.contact-info h2 {
  font-size: 1.6rem;
}

.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-line svg {
  color: var(--teal);
  flex: none;
  margin-top: 0.2rem;
}

.contact-line p {
  margin: 0;
}

.contact-line strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.next-steps {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: nstep;
}

.next-steps li {
  counter-increment: nstep;
  position: relative;
  padding: 0 0 1.4rem 2.6rem;
  color: var(--ink-soft);
}

.next-steps li::before {
  content: counter(nstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
  font-size: 1.05rem;
}

.next-steps li::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 1.7em;
  bottom: 0.3em;
  width: 1px;
  background: var(--line);
}

.next-steps li:last-child::after {
  display: none;
}

.next-steps strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 17em;
  margin-inline: auto;
}

.cta-band p {
  max-width: 44em;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-band .btn-row {
  justify-content: center;
}

.cta-coords {
  margin-top: 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-darkest);
  color: var(--paper-on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.5fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.16);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer .brand {
  color: var(--paper-on-dark);
  margin-bottom: 1rem;
}

.site-footer .brand-mark {
  color: var(--gold);
}

.site-footer .brand-name span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--muted-on-dark);
  max-width: 30ch;
}

.site-footer h4 {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

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

.site-footer ul a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-footer ul a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--muted-on-dark);
}

.footer-coords {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.footer-legal-link {
  color: var(--muted-on-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.3);
  color: var(--muted-on-dark);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(242, 179, 61, 0.08);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

/* ---------- Legal / privacy page ---------- */
.legal-content {
  max-width: 68ch;
}

.legal-content h2 {
  margin-top: 3rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-text);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--teal);
}

/* ---------- Reveal-on-scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}

.rv.in {
  opacity: 1;
  transform: none;
}

.d1 { --rv-delay: 0.08s; }
.d2 { --rv-delay: 0.16s; }
.d3 { --rv-delay: 0.24s; }
.d4 { --rv-delay: 0.32s; }
.d5 { --rv-delay: 0.4s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  .meridian-globe .draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }

  .meridian-globe .marker {
    opacity: 1;
  }

  .meridian-globe .pulse {
    display: none;
  }
}

/* ---------- 404 page ---------- */
.error-hero {
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 13vw, 7.5rem);
  line-height: 1;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.error-hero .lead {
  max-width: 46em;
  margin-inline: auto;
}

.error-hero .btn-row,
.error-links .btn-row {
  justify-content: center;
  flex-wrap: wrap;
}

.error-hero .btn-row {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.error-links {
  text-align: center;
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.15);
  padding: 1.1rem var(--gutter);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
}

.cookie-banner.in {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

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

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

.cookie-banner-actions .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}
