:root {
  --mist: #f4f7fa;
  --mist-2: #e8eef3;
  --titanium: #9aabba;
  --silver: #c5d0da;
  --pale-blue: #b8c9d9;
  --graphite: #3d4a55;
  --ink: #1e2a33;
  --muted: #5a6b78;
  --line: rgba(90, 107, 120, 0.22);
  --reflect: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 40px rgba(61, 74, 85, 0.12);
  --display: "Saira Condensed", "Segoe UI", sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", sans-serif;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(184, 201, 217, 0.55), transparent 58%),
    radial-gradient(900px 480px at -8% 15%, rgba(197, 208, 218, 0.45), transparent 52%),
    linear-gradient(165deg, var(--mist) 0%, var(--mist-2) 48%, #dfe7ee 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      rgba(154, 171, 186, 0.04) 0,
      rgba(154, 171, 186, 0.04) 1px,
      transparent 1px,
      transparent 12px
    );
}

main,
.site-header,
.site-footer,
.cookie {
  position: relative;
  z-index: 1;
}

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

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

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

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

h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin: 0.15em 0 0.45em;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--graphite);
  color: var(--mist);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(244, 247, 250, 0.94), rgba(244, 247, 250, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: var(--reflect);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.45rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--graphite);
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite);
}

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

.hero-rail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: min(88vh, 820px);
  overflow: hidden;
}

.hero-rail__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4.5rem 1.5rem 3rem clamp(1.25rem, 4vw, 4rem);
  background:
    linear-gradient(160deg, rgba(244, 247, 250, 0.96), rgba(197, 208, 218, 0.55)),
    linear-gradient(90deg, #dfe7ee, transparent);
  animation: rise-in 0.9s ease-out both;
}

.brand-hero {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 1rem;
  color: var(--ink);
  text-shadow: 0 12px 40px rgba(61, 74, 85, 0.12);
}

.hero-rail__copy h1 {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  max-width: 22ch;
  color: var(--graphite);
  margin-bottom: 0.85rem;
}

.hero-rail__copy .lede {
  max-width: 38ch;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero-rail__media {
  position: relative;
  isolation: isolate;
}

.hero-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  animation: mist-drift 18s ease-in-out infinite alternate;
  filter: saturate(0.82) contrast(1.04);
}

.hero-rail__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(232, 238, 243, 0.85), transparent 35%),
    linear-gradient(180deg, transparent 40%, rgba(30, 42, 51, 0.28));
  pointer-events: none;
}

.section {
  padding: 3.5rem 0;
}

.section--panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(197, 208, 218, 0.22));
  border-block: 1px solid var(--line);
}

.kicker {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  color: #f4f7fa;
  background:
    linear-gradient(120deg, var(--graphite), #5f7384 40%, var(--titanium) 78%, var(--silver));
  background-size: 180% 100%;
  box-shadow: 0 10px 24px rgba(61, 74, 85, 0.22);
  transition: transform 0.25s ease, box-shadow 0.35s ease, background-position 0.35s ease;
}

.btn:hover {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(61, 74, 85, 0.28);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.offer-list {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.85);
}

.offer-row h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.35rem;
}

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

.quote-stack {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.quote {
  margin: 0;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(232, 238, 243, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0 0 0.6rem;
  font-style: italic;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.post-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.media-tile {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile > *:not(img) {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

.media-tile h3 {
  margin: 0.35rem 1.1rem 0.45rem;
  font-size: 1.2rem;
}

.media-tile h3 a {
  text-decoration: none;
  color: inherit;
}

.media-tile p {
  margin: 0 1.1rem 1.2rem;
  color: var(--muted);
}

.media-tile .meta {
  margin-top: 0.9rem;
}

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

.page-hero p {
  max-width: 58ch;
  color: var(--muted);
}

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

.split img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  min-height: 280px;
  filter: saturate(0.85);
}

.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 0.9rem;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.step-num {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--titanium);
  letter-spacing: -0.03em;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--text);
  font-weight: 400;
}

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

.field-error {
  color: #8a3a3a;
  font-size: 0.85rem;
  min-height: 1.1em;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--text);
}

.form-status {
  margin: 0.5rem 0 0;
  color: #8a3a3a;
}

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

.legal {
  padding-bottom: 3rem;
}

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

.legal ul {
  padding-left: 1.15rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(197, 208, 218, 0.35)),
    linear-gradient(145deg, #d7e0e8, #c5d0da);
  border-top: 1px solid var(--line);
}

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

.footer-label {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
}

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

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

.site-footer__base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
}

.cookie__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  background: linear-gradient(145deg, rgba(244, 247, 250, 0.96), rgba(197, 208, 218, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.not-found {
  min-height: 55vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.place-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.place-panel img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

@keyframes mist-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, 1%, 0);
  }
}

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

@media (max-width: 900px) {
  .hero-rail,
  .offer-row,
  .split,
  .post-grid,
  .service-grid,
  .site-footer__grid,
  .place-panel {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 247, 250, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1rem;
  }

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

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

  .hero-rail__copy {
    padding: 3rem 1.25rem 2rem;
  }

  .offer-row img {
    height: 180px;
  }
}

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

/* Full-bleed stack hero (anti-duplicate vs split rail) */
.hero-stack {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-stack__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.92);
  animation: mist-drift 20s ease-in-out infinite alternate;
}

.hero-stack__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(244, 247, 250, 0.15) 0%, rgba(30, 42, 51, 0.55) 100%),
    linear-gradient(90deg, rgba(232, 238, 243, 0.88) 0%, rgba(232, 238, 243, 0.35) 48%, transparent 72%);
}

.hero-stack__copy {
  padding: 5rem 1.5rem 3.25rem;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  animation: rise-in 1s ease-out both;
}

.hero-stack .brand-hero {
  color: #f4f7fa;
  text-shadow: 0 16px 48px rgba(30, 42, 51, 0.45);
  animation: fog-sheen 7s ease-in-out infinite alternate;
}

.hero-stack h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500;
  max-width: 28ch;
  color: rgba(244, 247, 250, 0.92);
  margin-bottom: 0.75rem;
}

.hero-stack .lede {
  max-width: 42ch;
  color: rgba(232, 238, 243, 0.9);
  margin: 0 0 1.5rem;
}

@keyframes fog-sheen {
  from {
    letter-spacing: -0.03em;
    filter: brightness(1);
  }
  to {
    letter-spacing: -0.01em;
    filter: brightness(1.08);
  }
}

@media (max-width: 900px) {
  .hero-stack {
    min-height: 78vh;
  }

  .hero-stack__copy {
    padding: 4rem 1.25rem 2.5rem;
  }
}
