/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Frank Ruhl Libre";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/frank-ruhl-libre-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/frank-ruhl-libre-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/urbanist-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/urbanist-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/urbanist-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Urbanist";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/urbanist-latin-700-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b1b23;
  --primary: #2b495a;
  --primary-d: #1e3441;
  --cream: #f5f5ee;
  --paper: #fff;
  --text: #34444c;
  --muted: #53636b;
  --line: rgba(11, 27, 35, 0.12);
  --accent: #a5c85f;
  --accent-l: #b9d77a;
  --danger: #a32b2b;
  --ok: #1f6b4a;
  --radius: 12px;
  --serif: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --ui:
    "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 80px;
  --body:
    "Outfit", "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  --shadow: 0 18px 50px -24px rgba(11, 27, 35, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
address {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible,
.cta :focus-visible,
.preloader :focus-visible {
  outline-color: var(--accent-l);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.break {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}

/* ---------- Typography ---------- */
h1,
.h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}
h1 {
  font-size: clamp(2.3rem, 4.1vw, 3.5rem);
  line-height: 1.1;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 1.16;
  text-wrap: balance;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}
.spark {
  display: inline-block;
  vertical-align: top;
  margin-left: 0.18em;
  width: 0.55em;
  height: auto;
  transform: translateY(-0.2em);
}
.section--dark .spark,
.cta .spark {
  filter: brightness(0) invert(1);
}
.chip {
  display: inline-block;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: rgba(43, 73, 90, 0.1);
  border-radius: 2px;
  padding: 10px 12px;
  margin-bottom: 24px;
}
.chip--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: #fff;
  background: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  padding: 17px 26px 17px 28px;
  transition:
    color 0.3s,
    background-color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.btn__dot {
  position: absolute;
  z-index: -1;
  left: 8px;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition:
    transform 0.45s var(--ease),
    background-color 0.3s;
}
.btn:hover .btn__dot {
  transform: scale(14);
  background: var(--primary-d);
}
.btn:hover {
  border-color: var(--primary-d);
}
.btn:active {
  transform: translateY(1px);
}
.btn--ghost {
  color: var(--primary);
  background: transparent;
  border-color: rgba(43, 73, 90, 0.28);
}
.btn--ghost .btn__dot {
  background: rgba(43, 73, 90, 0.12);
}
.btn--ghost:hover {
  color: #fff;
}
.btn--sm {
  padding: 13px 22px 13px 24px;
  font-size: 0.95rem;
}
.btn--sm .btn__dot {
  width: 28px;
  height: 28px;
  margin-top: -14px;
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.link-button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.link-button:hover {
  color: var(--primary);
}
.site-footer--dark .link-button:hover {
  color: var(--accent-l);
}

/* ---------- Template-style text link button (circle accent) ---------- */
.btn-link {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin-left: 26px;
  padding: 0 6px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1rem;
  line-height: 48px;
  color: var(--primary);
  transition:
    color 0.4s,
    transform 0.4s;
}
.btn-link__dot {
  position: absolute;
  z-index: -1;
  left: -14px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background: #cdd3cf;
  transition:
    width 0.45s var(--ease),
    left 0.45s var(--ease);
}
.btn-link:hover .btn-link__dot {
  width: calc(100% + 28px);
}

/* ---------- Media placeholders (images are added later) ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(43, 73, 90, 0.14), rgba(165, 200, 95, 0.18)),
    var(--cream);
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(43, 73, 90, 0.045) 0 1px,
    transparent 1px 14px
  );
}
.media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
  transition: transform 1.2s var(--ease);
}
.media img.is-missing {
  visibility: hidden;
}
.media--circle {
  border-radius: 50%;
  aspect-ratio: 1/1;
}
.media--rounded {
  border-radius: var(--radius);
}
.media:hover img {
  transform: scale(1.03);
}

/* ---------- Template artwork (rings, swirls) ---------- */
.deco {
  position: absolute;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.spin-a {
  animation: spin 70s linear infinite;
}
.spin-b {
  animation: spin 90s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.float-a {
  animation: floaty 6s ease-in-out infinite;
}
.float-b {
  animation: floaty 7s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  transition:
    opacity 0.5s,
    visibility 0.5s;
  animation: preloaderOut 0.5s 4s forwards;
}
.preloader__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-left-color: var(--accent);
  animation: spin 1.4s linear infinite;
}
.preloader__ring .logo__mark {
  animation: spin 1.4s linear infinite reverse;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
@keyframes preloaderOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
html:not(.js) .preloader {
  display: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(11, 27, 35, 0.5);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--primary);
}
.logo__word {
  display: flex;
  flex-direction: column;
  max-width: 260px;
  color: var(--ink);
}
.logo__mark {
  flex: none;
  object-fit: contain;
}
.logo__initials {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.12em;
}
.logo__descriptor {
  margin-top: 3px;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.025em;
}
.main-nav {
  margin: 0 auto;
}
.main-nav ul {
  display: flex;
  gap: 4px;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s;
}
.nav-toggle:hover {
  background: var(--cream);
}
.site-header .nav-toggle {
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding-left: 18px;
  width: auto;
  height: 30px;
}
.body-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(11, 27, 35, 0.55);
  opacity: 0;
  transition: opacity 0.35s;
}
.body-overlay.is-open {
  opacity: 1;
}
.slide-bar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 34px 34px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(11, 27, 35, 0.4);
}
.slide-bar.show {
  transform: none;
}
.slide-bar__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.slide-bar__top .nav-toggle {
  background: var(--cream);
}
.slide-bar__text {
  color: var(--muted);
  font-size: 0.98rem;
}
.slide-bar__menu {
  margin: 22px 0 8px;
}
.slide-bar__menu a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  transition:
    padding 0.3s var(--ease),
    color 0.3s;
}
.slide-bar__menu a:hover {
  padding-left: 10px;
  color: var(--primary);
}
.slide-bar__h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 26px 0 14px;
}
.slide-bar__contact {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 0.98rem;
}
.slide-bar__contact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.slide-bar__contact li > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
}
.slide-bar__contact a,
.slide-bar__contact address {
  padding-top: 8px;
  color: var(--ink);
}
.slide-bar__contact li {
  align-items: center;
}
.slide-bar__contact address {
  padding-top: 0;
}
.slide-bar .btn {
  align-self: flex-start;
  margin-top: auto;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Sections ---------- */
.section,
.cta,
.site-footer {
  overflow-x: clip;
}
.section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  scroll-margin-top: calc(var(--header-h) - 1px);
}
.section--cream {
  background: var(--cream);
}
.section--dark {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
}
.section-cta {
  margin-top: 56px;
  text-align: center;
}
#top {
  scroll-margin-top: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--cream);
  padding: clamp(48px, 6vw, 88px) 0 clamp(110px, 10vw, 150px);
  overflow-x: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 40px);
  align-items: center;
}
.hero__copy {
  text-align: center;
  padding: 12px 0;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero__lead {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 4px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
}
.hero__side {
  position: relative;
}
.orbit {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.hero__side--l .orbit {
  margin-left: -4%;
}
.hero__side--r .orbit {
  margin-right: -4%;
}
.orbit__ring {
  inset: 0;
  width: 100%;
  height: 100%;
}
.orbit__ring--in {
  inset: 9%;
  width: 82%;
  height: 82%;
}
.orbit__photo {
  position: absolute;
  inset: 22%;
  width: 56%;
}
.swirl {
  opacity: 0.95;
}
.swirl--l {
  left: 6%;
  bottom: -8%;
  width: 56px;
}
.swirl--r {
  right: 2%;
  top: -12%;
  width: 80px;
}
.tag-ribbon {
  position: absolute;
  left: -4%;
  bottom: -7%;
  transform: rotate(-14deg);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  padding: 11px 28px 11px 20px;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.4);
}
.hero__arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(43, 73, 90, 0.55);
}
.hero__arrow a {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eaf0f0;
  color: var(--primary);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.hero__arrow a:hover {
  background: var(--primary);
  color: #fff;
}
.hero__arrow .icon {
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(5px);
  }
}
.hero + .section {
  padding-top: clamp(120px, 12vw, 170px);
}

/* ---------- About ---------- */
.about {
  overflow-x: clip;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.about__media {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1/1;
}
.about__ring {
  left: -4%;
  top: -4%;
  width: 108%;
  height: 108%;
}
.about__ring--2 {
  left: 6%;
  top: 6%;
  width: 88%;
  height: 88%;
}
.about__photo {
  position: absolute;
  inset: 14%;
  width: 72%;
}
.about__swirl {
  right: -4%;
  bottom: 6%;
  width: 70px;
}
.about__copy p {
  margin-top: 18px;
  color: var(--text);
}
.about-benefits {
  display: grid;
  gap: 18px;
  margin: 34px 0 40px;
}
.about-benefits li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.about-benefits__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(43, 73, 90, 0.1);
  color: var(--primary);
}
.about-benefits h3 {
  font-family: var(--ui);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}
.about-benefits p {
  margin: 3px 0 0 !important;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px;
}
.service-grid__item--wide {
  grid-column: 1/-1;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 32px 26px 30px;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.service-card:hover .service-card__icon {
  background: var(--primary);
  color: #fff;
}
.service-card h3 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
.service-card h3 a {
  color: inherit;
}
.service-card p {
  color: var(--text);
  font-size: 1rem;
}
.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.service-card__details {
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.service-card__details summary {
  position: relative;
  padding: 13px 28px 0 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--primary);
}
.service-card__details summary::-webkit-details-marker {
  display: none;
}
.service-card__details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.service-card__details[open] summary::after {
  transform: rotate(45deg);
}
.service-card__details ul {
  display: grid;
  gap: 8px;
  padding: 12px 0 2px;
}
.service-card__details li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}
.service-card__details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.service-card .more .icon {
  transition: transform 0.35s var(--ease);
}
.service-card .more:hover .icon {
  transform: translateX(5px);
}
.service-card__go {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 76px;
  height: 76px;
  border-radius: 0 8px 0 100%;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 0 0 4px 12px;
}
.service-card__go span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.4s;
}
.service-card__go img {
  width: 24px;
  height: 24px;
  transition:
    filter 0.4s,
    transform 0.4s var(--ease);
}
.service-card:hover .service-card__go span {
  background: var(--primary);
}
.service-card:hover .service-card__go img {
  filter: brightness(0) invert(1);
  transform: rotate(45deg);
}
.service-grid__item--wide .service-card {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  padding-right: 110px;
}
.service-grid__item--wide .service-card__icon {
  margin: 0;
  flex: none;
}

/* ---------- Why ---------- */
.why__ring {
  right: -180px;
  top: -120px;
  width: 560px;
  height: 560px;
  opacity: 0.28;
}
.why__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.why__head p {
  max-width: 420px;
  justify-self: end;
  color: rgba(255, 255, 255, 0.78);
}
.why__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: stretch;
}
.why__media {
  min-height: 420px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(165, 200, 95, 0.25)
    ),
    var(--primary-d);
}
.why__media::before {
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 14px
  );
}
.why__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.why__list li:first-child {
  padding-top: 0;
}
.why__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.why__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--accent-l);
}
.why__list h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}
.why__list p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Approach (template vertical pill tabs) ---------- */
.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.steps {
  display: grid;
  gap: 30px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  margin-left: 100px;
  text-align: left;
  cursor: pointer;
  background: #f2f2f2;
  border: 0;
  border-radius: 10px;
  padding: 24px 26px;
  transition:
    background-color 0.35s,
    color 0.35s;
}
.step::before {
  content: "";
  position: absolute;
  left: -100px;
  top: 0;
  bottom: 0;
  width: 14px;
  border-radius: 6px;
  background: #f0f0f0;
  transition: background-color 0.35s;
}
.step__notch {
  position: absolute;
  left: -30px;
  top: 50%;
  width: 30px;
  height: 76px;
  max-width: none;
  transform: translateY(-50%);
}
.step__notch--a {
  opacity: 0;
  transition: opacity 0.35s;
}
.step__notch--b {
  transition: opacity 0.35s;
}
.step__n {
  grid-row: 1/3;
  align-self: center;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.step__t {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
}
.step__s {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}
.step:hover {
  background: #ececec;
}
.step.is-active {
  background: var(--primary);
}
.step.is-active::before {
  background: var(--primary);
}
.step.is-active .step__notch--a {
  opacity: 1;
}
.step.is-active .step__notch--b {
  opacity: 0;
}
.step.is-active .step__t {
  color: #fff;
}
.step.is-active .step__s {
  color: rgba(255, 255, 255, 0.85);
}
.step.is-active .step__n {
  color: var(--accent-l);
}
.collage {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 8/5;
  margin: 0 auto 26px;
}
.collage__ring--a {
  left: 0;
  top: 0;
  width: 54%;
  height: auto;
}
.collage__ring--b {
  right: 0;
  bottom: 0;
  width: 44%;
  height: auto;
}
.collage__img {
  position: absolute;
}
.collage__img--1 {
  left: 2%;
  top: 4%;
  width: 44%;
}
.collage__img--2 {
  right: 4%;
  top: 0;
  width: 33%;
}
.collage__img--3 {
  left: 44%;
  bottom: 0;
  width: 36%;
}
.collage__swirl {
  left: 46%;
  top: 2%;
  width: 64px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 40px);
  animation: panelIn 0.55s var(--ease);
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.panel__kicker {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.panel h3 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}
.panel > p:not(.panel__kicker) {
  color: var(--text);
}
.ticks {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}
.ticks .icon {
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}

/* ---------- Clients (Owl Carousel, template slider) ---------- */
.client {
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.client:hover {
  box-shadow: var(--shadow);
}
.client__img {
  aspect-ratio: 8/5;
  border-radius: 0;
}
.client__body {
  position: relative;
  padding: 26px 26px 30px;
}
.client__n {
  position: absolute;
  right: 22px;
  top: 16px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(43, 73, 90, 0.12);
}
.client h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}
.client p {
  color: var(--muted);
  font-size: 1rem;
}
.owl-carousel .owl-stage {
  display: flex;
}
.owl-carousel .owl-item {
  display: flex;
}
.owl-carousel .owl-item > * {
  width: 100%;
}
.owl-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0 !important;
  border-radius: 50%;
  border: 1px solid rgba(43, 73, 90, 0.3);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.owl-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.owl-carousel button.owl-dot {
  width: 10px;
  height: 10px;
  padding: 0 !important;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 73, 90, 0.25);
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s;
}
.owl-carousel button.owl-dot span {
  display: none;
}
.owl-carousel button.owl-dot.active {
  background: var(--primary);
  transform: scale(1.35);
}
.owl-nav button:focus-visible,
.owl-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
html:not(.js) .client-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 40px;
  align-items: center;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.cta p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
}
.cta__art {
  position: relative;
  width: 310px;
  height: 262px;
  justify-self: end;
  margin-right: 40px;
}
.cta__art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.cta__btn {
  position: absolute;
  right: -6px;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 1rem;
  line-height: 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 180px;
  padding: 16px 24px 16px 40px;
  transition: color 0.3s;
}
.cta__btn .btn__dot {
  left: 6px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  background: #cdd3cf;
}
.cta__btn:hover .btn__dot {
  transform: scale(10);
  background: #e6eae7;
}
.cta__phone {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  display: block;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  color: transparent;
  transition: box-shadow 0.3s;
}
.cta__phone svg {
  opacity: 0;
}
.cta__phone:hover {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
}
.cta__phone:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.contact__info > p {
  margin-top: 20px;
}
.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-list__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
}
.contact-list h3 {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-list a.break {
  font-size: 0.95rem;
}
.contact-list a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(43, 73, 90, 0.3);
  transition: border-color 0.3s;
}
.contact-list a:hover {
  border-color: var(--accent);
}
.contact-list address,
.contact-list p {
  color: var(--ink);
  font-weight: 500;
}
.contact__img {
  margin-top: 34px;
  aspect-ratio: 800/420;
}
.form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 48px);
}
.form__title {
  font-size: 1.9rem;
  margin-bottom: 24px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.field label small {
  font-weight: 500;
  color: var(--muted);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(11, 27, 35, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  min-height: 52px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 150px;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232B495A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(43, 73, 90, 0.5);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(43, 73, 90, 0.16);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}
.field__error {
  min-height: 0;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--danger);
}
.field__error:empty {
  display: none;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field .check {
  display: grid;
  margin: 0;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--text);
}
.check input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
}
.check__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid rgba(11, 27, 35, 0.35);
  background: #fff;
  color: transparent;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.check input:checked + .check__box {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.check input:focus-visible + .check__box {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.check a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--primary);
}
.field--check {
  margin: 6px 0 22px;
}
.form__alert {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.5;
  border: 1px solid;
}
.form__alert.is-success {
  background: #eaf4ee;
  border-color: #a9d1ba;
  color: #134a31;
}
.form__alert.is-error {
  background: #fbeded;
  border-color: #e3b2b2;
  color: #7a1f1f;
}
.form__legal {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Footer (cream, as in template) ---------- */
.site-footer {
  background: var(--cream);
  color: #3a3a3f;
  padding: clamp(56px, 7vw, 88px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.5fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid #dfe0d8;
}
.footer-brand p {
  margin-top: 20px;
  max-width: 340px;
  font-size: 1rem;
}
.footer-col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-col ul {
  display: grid;
  gap: 14px;
}
.footer-col li {
  font-family: var(--ui);
  font-weight: 500;
  line-height: 1.55;
}
.footer-col a,
.footer-col .link-button {
  transition: color 0.3s;
}
.footer-col a:hover,
.footer-col .link-button:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-col--contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-col--contact .icon {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}
.footer-col address {
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: space-between;
  margin-top: 24px;
  font-size: 0.92rem;
}
.footer-note {
  max-width: 640px;
  color: var(--muted);
}
.footer-social {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 30px -10px rgba(11, 27, 35, 0.5);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease),
    background-color 0.3s,
    color 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--primary);
  color: #fff;
}
.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.to-top__ring circle {
  transition: stroke-dashoffset 0.1s linear;
}

/* ---------- Cookie UI ---------- */
.cookie-banner {
  position: fixed;
  z-index: 250;
  left: 24px;
  bottom: 24px;
  max-width: 780px;
  width: calc(100% - 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 24px 60px -20px rgba(11, 27, 35, 0.5);
}
.cookie-banner__body {
  flex: 1 1 320px;
}
.cookie-banner h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.cookie-banner p {
  font-size: 0.93rem;
  line-height: 1.55;
}
.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--primary);
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner .link-button:hover {
  color: var(--primary-d);
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 27, 35, 0.6);
}
.cookie-modal__panel {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
}
.cookie-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cookie-modal__head h2 {
  font-size: 1.7rem;
}
.cookie-modal .nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
}
.cookie-opt {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.cookie-opt h3 {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-opt p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.55;
}
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.switch {
  position: relative;
  flex: none;
  display: inline-block;
  width: 52px;
  height: 30px;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.switch__ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c5ccd0;
  transition: background-color 0.25s;
}
.switch__ui::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease);
}
.switch input:checked + .switch__ui {
  background: var(--primary);
}
.switch input:checked + .switch__ui::after {
  transform: translateX(22px);
}
.switch input:disabled {
  cursor: not-allowed;
}
.switch input:disabled + .switch__ui {
  opacity: 0.55;
}
.switch input:focus-visible + .switch__ui {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--cream);
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.legal-hero .h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}
.legal-hero p {
  margin-top: 14px;
  color: var(--muted);
}
.legal {
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px);
}
.legal__grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  font-size: 0.95rem;
}
.legal__toc h2 {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.legal__toc ol {
  display: grid;
  gap: 8px;
  counter-reset: toc;
}
.legal__toc li {
  counter-increment: toc;
  display: flex;
  gap: 10px;
}
.legal__toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 3px;
}
.legal__toc a {
  color: var(--text);
  transition: color 0.2s;
}
.legal__toc a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose {
  max-width: 760px;
}
.prose section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  margin-bottom: 44px;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 22px 0 8px;
}
.prose p {
  margin-bottom: 14px;
}
.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--primary-d);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 22px;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.prose th {
  background: var(--cream);
  font-weight: 700;
  color: var(--ink);
}
.table-wrap {
  overflow-x: auto;
}
.callout {
  background: var(--cream);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 24px;
  font-size: 0.98rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-header .logo__word {
    max-width: 210px;
  }
  .site-header .logo__initials {
    font-size: 1.35rem;
  }
  .site-header .logo__descriptor {
    font-size: 0.62rem;
  }
  .main-nav a {
    padding: 10px 9px;
    font-size: 0.96rem;
  }
  .site-header__inner {
    gap: 18px;
  }
}
@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }
  .site-header__inner {
    justify-content: space-between;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 991px) {
  :root {
    --header-h: 70px;
  }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "copy copy" "l r";
  }
  .hero__copy {
    grid-area: copy;
  }
  .hero__side--l {
    grid-area: l;
  }
  .hero__side--r {
    grid-area: r;
  }
  .orbit {
    max-width: 250px;
  }
  .hero__side--l .orbit,
  .hero__side--r .orbit {
    margin-left: auto;
    margin-right: auto;
  }
  .tag-ribbon {
    font-size: 1rem;
    left: 0;
  }
  .about__grid,
  .why__grid,
  .approach__grid,
  .contact__grid,
  .cta__grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    max-width: 440px;
    margin-bottom: 12px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why__head {
    grid-template-columns: 1fr;
  }
  .why__head p {
    justify-self: start;
  }
  .why__media {
    min-height: 0;
    aspect-ratio: 16/10;
  }
  .cta__art {
    justify-self: start;
    margin: 0 0 0 20px;
  }
  .legal__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal__toc,
  .prose {
    min-width: 0;
  }
  .legal__grid > * {
    width: 100%;
    max-width: 100%;
  }
  .legal__toc a,
  .prose {
    overflow-wrap: anywhere;
  }
  .legal__toc {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 767px) {
  body {
    font-size: 16.5px;
  }
  .container {
    padding: 0 20px;
  }
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid__item--wide .service-card {
    display: block;
    padding-right: 26px;
  }
  .service-grid__item--wide .service-card__icon {
    margin-bottom: 26px;
  }
  .steps {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .step {
    flex: 0 0 auto;
    grid-template-columns: auto auto;
    margin-left: 0;
    padding: 14px 18px;
    scroll-snap-align: start;
  }
  .step__s,
  .step::before,
  .step__notch {
    display: none;
  }
  .step__n {
    grid-row: auto;
  }
  .step__t {
    font-size: 1.15rem;
    white-space: nowrap;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .orbit {
    max-width: 170px;
  }
  .tag-ribbon,
  .swirl--l {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
  }
  .hero__arrow {
    width: 96px;
    height: 96px;
  }
  .hero__arrow a {
    width: 80px;
    height: 80px;
  }
  .slide-bar {
    padding: 22px 22px 28px;
  }
}
@media (max-width: 560px) {
  .site-header .logo {
    gap: 8px;
  }
  .site-header .logo__mark {
    width: 34px;
    height: 34px;
  }
  .site-header .logo__word {
    max-width: 150px;
  }
  .site-header .logo__initials {
    font-size: 1.15rem;
  }
  .site-header .logo__descriptor {
    font-size: 0.54rem;
    line-height: 1.1;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
  }
  .btn-link {
    margin: 8px 0 0;
    text-align: center;
  }
  .btn-link__dot {
    left: calc(50% - 60px);
  }
  .cta__art {
    transform: scale(0.9);
    transform-origin: left center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .spin-a,
  .spin-b,
  .float-a,
  .float-b,
  .preloader__ring,
  .preloader__ring .logo__mark,
  .hero__arrow .icon {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .media:hover img {
    transform: none;
  }
}
@media print {
  .site-header,
  .slide-bar,
  .body-overlay,
  .preloader,
  .to-top,
  .cookie-banner,
  .cookie-modal,
  .hero__arrow {
    display: none !important;
  }
}

/* ---------- nice-select (template plugin) restyled to the form ---------- */
.field .nice-select {
  float: none;
  width: 100%;
  height: 54px;
  line-height: 51px;
  padding: 0 44px 0 16px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(11, 27, 35, 0.18);
  border-radius: 8px;
}
.field .nice-select:hover {
  border-color: rgba(43, 73, 90, 0.5);
}
.field .nice-select:focus,
.field .nice-select.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(43, 73, 90, 0.16);
}
.field .nice-select:after {
  width: 8px;
  height: 8px;
  right: 20px;
  margin-top: -6px;
  border-color: var(--primary);
  border-width: 2px;
}
.field .nice-select .list {
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 6px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.field .nice-select .option {
  min-height: 44px;
  line-height: 44px;
  padding: 0 16px;
  white-space: normal;
  font-size: 0.98rem;
}
.field .nice-select .option.selected {
  font-weight: 600;
  color: var(--primary);
}
.field .nice-select .option:hover,
.field .nice-select .option.focus,
.field .nice-select .option.selected.focus {
  background: var(--cream);
}

/* ---------- No sideways overflow ---------- */
/* Keep the side reveal, but avoid AOS's excessive 100px off-screen start. */
html [data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}
html [data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}
html [data-aos="zoom-out"]:not(.aos-animate),
html [data-aos="zoom-in"]:not(.aos-animate) {
  transform: translate3d(0, 28px, 0) !important;
}
@media (max-width: 767px) {
  .about__ring {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  .about__ring--2 {
    left: 8%;
    top: 8%;
    width: 84%;
    height: 84%;
  }
  .about__swirl {
    right: 0;
    width: 56px;
  }
  .hero__side--l .orbit,
  .hero__side--r .orbit {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 991px) {
  .about__media {
    overflow: hidden;
  }
  .about__ring {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
  .about__ring--2 {
    left: 8%;
    top: 8%;
    width: 84%;
    height: 84%;
  }
  .about__swirl {
    right: 0;
  }
}
