/* Adapted from the supplied homepage styles.css. Edit this CMS copy for the live home. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --panel: #f1f5f8;
  --panel-strong: #ffffff;
  --line: rgba(5, 43, 66, 0.12);
  --line-strong: rgba(5, 43, 66, 0.24);
  --text: #052b42;
  --muted: #526976;
  --accent: #e0ff4f;
  --accent-soft: #d0ee3b;
  --warm: #dde3ff;
  --shadow: 0 20px 60px rgba(5, 43, 66, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: min(1320px, calc(100vw - 48px));
  --header-height: 64px;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("https://rsms.me/inter/font-files/InterVariable.woff2?v=4.1") format("woff2");
}

* {
  box-sizing: border-box;
}

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

html.has-paged-scroll-root {
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  position: relative;
  min-width: 320px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-style: normal;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
}

body.has-paged-scroll {
  overscroll-behavior-y: none;
}

em,
i {
  font-style: normal;
}

body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
}

.site-background {
  display: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: transparent;
  color: var(--text);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 4px 24px rgba(5, 43, 66, 0.06);
}

.nav-open .site-header {
  background: var(--bg);
}

.header-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: var(--container);
  height: var(--header-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 160px;
  height: 36px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="location"] {
  background: var(--bg-soft);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color 180ms ease;
}

.header-cta:hover {
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.section-dots {
  position: fixed;
  top: 50%;
  right: 28px;
  z-index: 26;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.section-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(5, 43, 66, 0.3);
  border-radius: 999px;
  background: rgba(5, 43, 66, 0.12);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.section-dot:hover,
.section-dot:focus-visible {
  transform: scale(1.08);
  border-color: rgba(5, 43, 66, 0.56);
}

.section-dot.is-active {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 0 0 4px var(--accent);
}

.has-paged-scroll .section-dots {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  --hero-content-offset: clamp(40px, 8svh, 96px);
  position: relative;
  isolation: isolate;
  min-height: max(800px, 100svh);
  padding: calc(clamp(128px, 16svh, 172px) + var(--hero-content-offset)) 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 28% 26% at 50% 102%, rgba(224, 255, 79, 0.9), rgba(224, 255, 79, 0) 100%),
    radial-gradient(ellipse 55% 80% at 0% 0%, #c9e0f6, rgba(201, 224, 246, 0) 78%),
    linear-gradient(150deg, #f8ffff 10%, #f1fcff 65%, #eaf4ee);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 34% 40% at 50% calc(32% + var(--hero-content-offset)), rgba(246, 253, 255, 0.97) 15%, rgba(246, 253, 255, 0.7) 50%, rgba(246, 253, 255, 0) 100%);
}

.aurora-orb,
.aurora-haze,
.hero-stars,
.noise,
.grid {
  position: absolute;
  inset: auto;
  display: block;
  pointer-events: none;
}

.hero-stars {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.82;
  z-index: 0;
}

.aurora-orb,
.aurora-haze {
  width: 1px;
  height: 1px;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.26;
}

.aurora-orb::before,
.aurora-haze::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
}

.orb-warm {
  top: 2vh;
  left: 50vw;
  animation:
    move-orb-1 18s linear infinite,
    pulse-warm 14s ease-in-out infinite alternate;
}

.orb-warm::before {
  box-shadow:
    0 0 25vmax 25vmax rgba(241, 163, 146, 0.18),
    0 0 10vmax 10vmax rgba(241, 163, 146, 0.18);
  filter: blur(8px);
}

.orb-cyan {
  top: 48vh;
  left: 100vw;
  animation:
    move-orb-2 28s linear infinite,
    pulse-cyan 16s ease-in-out infinite alternate;
}

.orb-cyan::before {
  box-shadow:
    0 0 34vmax 34vmax rgba(104, 224, 255, 0.26),
    0 0 12vmax 12vmax rgba(104, 224, 255, 0.18);
  filter: blur(10px);
}

.orb-mint {
  top: 78vh;
  left: 28vw;
  animation:
    move-orb-3 24s linear infinite,
    pulse-mint 12s ease-in-out infinite alternate;
}

.orb-mint::before {
  box-shadow:
    0 0 22vmax 22vmax rgba(107, 230, 212, 0.24),
    0 0 9vmax 9vmax rgba(107, 230, 212, 0.18);
  filter: blur(8px);
}

.orb-blue {
  top: 66vh;
  left: 76vw;
  animation:
    move-orb-4 32s linear infinite,
    pulse-blue 18s ease-in-out infinite alternate;
}

.orb-blue::before {
  box-shadow:
    0 0 26vmax 26vmax rgba(78, 173, 255, 0.19),
    0 0 11vmax 11vmax rgba(78, 173, 255, 0.14);
  filter: blur(10px);
}

.aurora-haze {
  left: 20%;
  bottom: 12%;
  width: 64vw;
  height: 40vw;
  opacity: 0.7;
  z-index: 1;
  filter: blur(60px);
  transform: rotate(-9deg);
  background:
    radial-gradient(circle at 18% 46%, rgba(72, 204, 255, 0.38), transparent 22%),
    radial-gradient(circle at 46% 50%, rgba(72, 226, 215, 0.3), transparent 24%),
    radial-gradient(circle at 70% 70%, rgba(127, 219, 170, 0.18), transparent 18%),
    radial-gradient(circle at 84% 82%, rgba(86, 168, 255, 0.2), transparent 20%);
  animation: haze-shift 22s ease-in-out infinite alternate;
}

.noise {
  inset: 0;
  opacity: 0.12;
  z-index: 3;
  background-image:
    linear-gradient(rgba(5, 43, 66, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 43, 66, 0.04) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  mix-blend-mode: soft-light;
}

.grid {
  inset: auto 0 -15% auto;
  width: 72vw;
  height: 56vw;
  z-index: 2;
  background:
    radial-gradient(circle at center, rgba(5, 43, 66, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(5, 43, 66, 0.07), transparent 40%);
  filter: blur(56px);
  opacity: 0.35;
  transform: rotate(-14deg);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: rgba(5, 43, 66, 0.68);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: #052b42;
}

.hero-title-line {
  display: block;
}

.hero-copy-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 780px;
  margin-top: 32px;
}

.hero-copy {
  max-width: 600px;
  margin: 0;
  color: #052b42;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  width: 100%;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-services li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 16px;
  border: none;
  border-radius: 16px;
  background: rgba(246, 252, 255, 0.55);
  backdrop-filter: blur(12px);
  color: #173c60;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-services svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 40px;
}

.hero-actions .button {
  width: min(100%, 320px);
  min-height: 56px;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-actions .button:hover {
  background: var(--accent-soft);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-actions .button:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 88px;
  padding: 0 38px;
  border: 1px solid transparent;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    color 200ms ease;
}

.button-muted {
  background: var(--accent);
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 12px;
}

.button-primary {
  background: var(--accent);
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 12px;
}

.button-hero-outline {
  background: var(--accent);
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 12px;
}

.button-hero-outline:hover,
.button-hero-outline:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
}

.button-form-outline {
  background: var(--accent);
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 12px;
}

.button-form-outline:hover:not(:disabled),
.button-form-outline:focus-visible:not(:disabled) {
  background: var(--accent-soft);
  color: var(--text);
}

.button-wide {
  width: 100%;
}

.glass-card,
.service-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: none;
}

.card-index {
  display: block;
  margin-bottom: 12px;
  color: rgba(5, 43, 66, 0.6);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 120px 0;
}

.screen-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.services .section-heading {
  margin-bottom: 84px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading p:last-child,
.contact-copy p:last-child {
  color: var(--muted);
}

.services-grid {
  display: grid;
  gap: 20px;
}

.glass-card {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.glass-card h3,
.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.glass-card p,
.service-card p,
.contact-copy p,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services .section-heading {
  max-width: 1050px;
  margin: 0 auto 48px;
  text-align: center;
}

.services .section-heading h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 290px;
  padding: 32px;
  border: 0;
  border-radius: 26px;
  background-color: #e7eff4;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--service-texture);
  background-size: cover;
  background-position: center;
}

.service-card-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card-canvas.is-ready {
  opacity: 1;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .service-card-canvas {
    display: none;
  }
}

.service-card h3 {
  min-height: 2.12em;
  margin: 0 0 18px;
  max-width: 310px;
  color: var(--text);
  font-size: clamp(28px, 2.45vw, 36px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.service-card p {
  max-width: 360px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.service-card--ai {
  --service-texture: url("/assets/site/img/services/lavender.jpg");
}

.service-card--web {
  --service-texture: url("/assets/site/img/services/ice.jpg");
}

.service-card--bots {
  --service-texture: url("/assets/site/img/services/lime.jpg");
}

.service-card--ads {
  --service-texture: url("/assets/site/img/services/silver.jpg");
}

.service-card--seo {
  --service-texture: url("/assets/site/img/services/seo-mint.jpg");
}

.service-card--analytics {
  --service-texture: url("/assets/site/img/services/analytics-blue.jpg");
}

.approach {
  position: relative;
}

.approach .section-heading {
  max-width: 1050px;
  margin: 0 auto 48px;
  text-align: center;
}

.approach .section-heading h2 {
  font-size: clamp(34px, 4.2vw, 61px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding: 52px 8px;
  border-radius: 32px;
  background: linear-gradient(120deg, #e4ff64, var(--accent) 55%, #ddfb4b);
  color: var(--text);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  min-width: 0;
  padding: 0 32px;
  text-align: left;
}

.timeline-item + .timeline-item {
  border-left: 1px solid rgba(5, 43, 66, 0.16);
}

.timeline-item > span {
  display: block;
  font-weight: 600;
  font-size: clamp(50px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.timeline-item > div {
  display: grid;
  gap: 16px;
}

.timeline-item h3 {
  margin: 0;
  min-height: 2.4em;
  font-size: clamp(21px, 1.7vw, 25px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.timeline-item p {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--text);
}

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-bottom: 28px;
}

.contact-body {
  display: grid;
  gap: clamp(48px, 5vw, 76px);
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

.contact-card {
  display: block;
  padding: 58px 54px;
  border-radius: 30px;
  background: var(--accent);
}

.contact-copy {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  width: 100%;
}

.contact-copy h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.contact-copy h2 span { display: block; }

.contact .contact-copy p {
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.5;
}

.contact-details {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.contact-secondary {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-direct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: nowrap;
}

.contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.contact-phone-link:hover,
.contact-phone-link:focus-visible {
  color: var(--text);
}

.contact-email-link {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  font-size: clamp(23px, 2.15vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.contact-email-link:hover,
.contact-email-link:focus-visible {
  color: var(--text);
}

.contact-messengers {
  display: flex;
  gap: 14px;
}

.contact-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  color: currentColor;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact-messenger--max .contact-icon {
  width: 34px;
  height: 34px;
}

.contact-cta {
  width: 370px;
  flex-shrink: 0;
  min-height: 80px;
  padding: 20px 32px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-size: 25px;
  font-weight: 500;
}

.contact-cta span {
  font-size: 34px;
  line-height: 1;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  background: #0c3c56;
}

.contact-cta:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  font-size: 0.88rem;
  color: rgba(5, 43, 66, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(5, 43, 66, 0.12);
  border-radius: 24px;
  background: rgba(5, 43, 66, 0.04);
  color: var(--text);
  padding: 18px 20px;
  outline: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--text);
  background: rgba(5, 43, 66, 0.07);
}

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

.form-note:empty {
  display: none;
}

.form-note.is-success {
  color: #2b6843;
}

.consent-check {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 2px;
  cursor: pointer;
}

.contact-form .consent-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.consent-check-box {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid rgba(5, 43, 66, 0.22);
  border-radius: 6px;
  background: rgba(5, 43, 66, 0.03);
  box-shadow: inset 0 1px 0 rgba(5, 43, 66, 0.06);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.consent-check input:checked + .consent-check-box {
  border-color: var(--text);
  background: var(--text);
  box-shadow: inset 0 0 0 4px var(--accent);
}

.consent-check span:last-child {
  color: rgba(5, 43, 66, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.consent-check a {
  color: rgba(5, 43, 66, 0.96);
  text-decoration: underline;
  text-decoration-color: rgba(120, 214, 255, 0.42);
  text-underline-offset: 0.16em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.consent-check a:hover,
.consent-check a:focus-visible {
  color: var(--text);
  text-decoration-color: rgba(120, 214, 255, 0.86);
}

.button:disabled,
.button[disabled] {
  cursor: not-allowed;
}

.button-form-outline:disabled,
.button-form-outline[disabled] {
  color: var(--muted);
  background: #e8edf0;
}

.button-form-outline:disabled::after,
.button-form-outline[disabled]::after {
  opacity: 0.42;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 0;
  padding: 0 4px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(5, 43, 66, 0.88);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.modal[hidden] {
  display: none;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 43, 66, 0.35);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  display: grid;
  gap: 22px;
  padding: 32px;
  border: 1px solid rgba(5, 43, 66, 0.12);
  border-radius: 30px;
  background: var(--bg);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  box-shadow:
    0 32px 80px rgba(5, 43, 66, 0.14),
    inset 0 1px 0 rgba(5, 43, 66, 0.06);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal.is-open .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal--narrow .modal-dialog {
  width: min(100%, 560px);
}

.modal-copy {
  display: grid;
  gap: 14px;
  padding-right: 28px;
}

.modal-copy--compact {
  gap: 12px;
}

.modal-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.modal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  width: min(calc(100vw - 32px), 460px);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 22px) scale(0.98);
  transition:
    opacity 240ms ease,
    visibility 240ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toast[hidden] {
  display: none;
}

.toast.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.toast-body {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(5, 43, 66, 0.12);
  border-radius: 22px;
  background: var(--bg);
  box-shadow:
    0 22px 48px rgba(5, 43, 66, 0.12),
    inset 0 1px 0 rgba(5, 43, 66, 0.05);
}

.toast-title,
.toast-text {
  margin: 0;
}

.toast-title {
  color: #2b6843;
  font-size: 1rem;
  font-weight: 700;
}

.toast-text {
  color: rgba(5, 43, 66, 0.76);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 130;
  width: min(calc(100vw - 32px), 760px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 22px) scale(0.98);
  transition:
    opacity 240ms ease,
    visibility 240ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.cookie-banner__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(5, 43, 66, 0.12);
  border-radius: 24px;
  background: var(--bg);
  box-shadow:
    0 22px 48px rgba(5, 43, 66, 0.12),
    inset 0 1px 0 rgba(5, 43, 66, 0.05);
  backdrop-filter: blur(18px);
}

.cookie-banner__text {
  margin: 0;
  color: rgba(5, 43, 66, 0.8);
  font-size: 0.94rem;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(5, 43, 66, 0.32);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus-visible {
  color: var(--text);
  border-color: rgba(123, 220, 255, 0.55);
}

.cookie-banner__button {
  width: auto;
  min-width: 168px;
  min-height: 58px;
  flex-shrink: 0;
}

.modal-form {
  gap: 14px;
}

.modal-form .button {
  margin-top: 6px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 43, 66, 0.12);
  border-radius: 999px;
  background: rgba(5, 43, 66, 0.04);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.modal-close span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: rgba(5, 43, 66, 0.9);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

/* Light editorial section: a glass sculpture and three business principles. */
.section.intro {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 88px 0;
  color: var(--text);
  background: radial-gradient(ellipse at 8% 80%, #e8f4fa 0, transparent 52%), linear-gradient(130deg, #f6fbfd, #f3f9fc);
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: start;
  gap: clamp(32px, 3.4vw, 52px);
  width: var(--container);
  margin: 0 auto;
}

.intro-lead { min-width: 0; }

.intro .section-heading {
  max-width: none;
  margin: 0;
}

.intro .section-heading h2 {
  color: var(--text);
  font-size: clamp(36px, 4.2vw, 61px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.intro .section-heading h2 span { display: block; }

.intro-visual {
  position: relative;
  aspect-ratio: 1.18;
  margin: 14px -24px -12px;
  pointer-events: none;
}

.intro-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.intro-card {
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 26px;
  background: linear-gradient(120deg, #e5f3ed, #e9f7f1);
}
.intro-card--2 { background: linear-gradient(120deg, #eeebfa, #f0edfc); }
.intro-card--3 { background: linear-gradient(120deg, #dfedf9, #e9f4fe); }

.intro-card .card-index {
  display: flex;
  gap: 4px;
  margin: 0 0 12px;
  color: #244655;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-transform: none;
}

.intro-card-number { color: #5b7300; font-weight: 650; }

.intro-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.intro-card p {
  margin: 0;
  color: #425d6c;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.section-dots:has([data-target="intro"].is-active) .section-dot {
  border-color: #526976;
  background: #315368;
}

.section-dots:has([data-target="intro"].is-active) .section-dot.is-active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 255, 79, 0.18);
}

.modal-close:hover,
.modal-close:focus-visible {
  transform: translateY(-1px);
  background: rgba(5, 43, 66, 0.08);
  border-color: rgba(5, 43, 66, 0.2);
}

.reveal,
.reveal-block {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible,
.reveal-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-paged-scroll .screen-section:not(.hero) {
  min-height: 100svh;
  height: 100svh;
  overflow: visible;
}

.has-paged-scroll .screen-section {
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.has-paged-scroll .section.screen-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 42px;
}

.has-paged-scroll .section-heading {
  margin-bottom: 20px;
}

.has-paged-scroll .section-heading h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.25rem);
}

.has-paged-scroll .intro .section-heading {
  margin: 0;
}

.has-paged-scroll .intro .section-heading h2 {
  font-size: clamp(42px, 4.1vw, 58px);
}

.has-paged-scroll .intro-card h3 {
  font-size: clamp(24px, 2.05vw, 30px);
}

.has-paged-scroll .glass-card {
  min-height: 188px;
  padding: 22px;
}

.has-paged-scroll .service-card {
  min-height: clamp(250px, 28svh, 300px);
  padding: 28px 30px;
}

.has-paged-scroll .glass-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.has-paged-scroll .services .section-heading {
  max-width: 1050px;
  margin-bottom: 36px;
}

.has-paged-scroll .services .section-heading h2 {
  font-size: clamp(36px, 3.8vw, 52px);
}

.has-paged-scroll .glass-card p,
.has-paged-scroll .form-note {
  font-size: 0.94rem;
  line-height: 1.58;
}

.has-paged-scroll .approach .section-heading {
  margin-bottom: 48px;
}

.has-paged-scroll .approach .section-heading h2 {
  font-size: clamp(36px, 3.8vw, 52px);
}

@keyframes wave {
  0% {
    transform: translate3d(-2%, 0%, 0) rotate(-9deg) scale(1);
  }
  50% {
    transform: translate3d(1%, -2%, 0) rotate(-12deg) scale(1.03);
  }
  100% {
    transform: translate3d(4%, 2%, 0) rotate(-7deg) scale(0.98);
  }
}

@keyframes move-orb-1 {
  0% {
    top: 2vh;
    left: 50vw;
  }
  25% {
    top: 18vh;
    left: 12vw;
  }
  50% {
    top: 100vh;
    left: 46vw;
  }
  75% {
    top: 74vh;
    left: 92vw;
  }
  100% {
    top: 2vh;
    left: 50vw;
  }
}

@keyframes move-orb-2 {
  0% {
    top: 48vh;
    left: 100vw;
  }
  25% {
    top: 100vh;
    left: 72vw;
  }
  50% {
    top: 72vh;
    left: 0vw;
  }
  75% {
    top: 12vh;
    left: 34vw;
  }
  100% {
    top: 48vh;
    left: 100vw;
  }
}

@keyframes move-orb-3 {
  0% {
    top: 78vh;
    left: 28vw;
  }
  25% {
    top: 42vh;
    left: 64vw;
  }
  50% {
    top: 96vh;
    left: 86vw;
  }
  75% {
    top: 58vh;
    left: 8vw;
  }
  100% {
    top: 78vh;
    left: 28vw;
  }
}

@keyframes move-orb-4 {
  0% {
    top: 66vh;
    left: 76vw;
  }
  25% {
    top: 24vh;
    left: 92vw;
  }
  50% {
    top: 8vh;
    left: 38vw;
  }
  75% {
    top: 88vh;
    left: 10vw;
  }
  100% {
    top: 66vh;
    left: 76vw;
  }
}

@keyframes pulse-warm {
  0% {
    opacity: 0.12;
    filter: saturate(100%);
  }
  100% {
    opacity: 0.26;
    filter: saturate(122%);
  }
}

@keyframes pulse-cyan {
  0% {
    opacity: 0.18;
    filter: saturate(100%);
  }
  100% {
    opacity: 0.34;
    filter: saturate(128%);
  }
}

@keyframes pulse-mint {
  0% {
    opacity: 0.14;
    filter: saturate(94%);
  }
  100% {
    opacity: 0.28;
    filter: saturate(122%);
  }
}

@keyframes pulse-blue {
  0% {
    opacity: 0.12;
    filter: saturate(96%);
  }
  100% {
    opacity: 0.24;
    filter: saturate(118%);
  }
}

@keyframes haze-shift {
  0% {
    transform: translate3d(-4%, 1%, 0) rotate(-10deg) scale(1);
  }
  50% {
    transform: translate3d(1%, -1%, 0) rotate(-14deg) scale(1.05);
  }
  100% {
    transform: translate3d(4%, 2%, 0) rotate(-7deg) scale(0.98);
  }
}

@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;
  }

  .reveal,
  .reveal-block {
    opacity: 1;
    transform: none;
  }

}

@media (max-width: 1120px) {

  .contact-card { padding: 44px 36px; }

  .contact-cta { width: 300px; font-size: 22px; }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 24px;
  }

  .timeline-item { padding: 32px 24px; gap: 24px; }

  .timeline-item:nth-child(odd) { border-left: 0; }

  .timeline-item:nth-child(n + 3) {
    border-top: 1px solid rgba(5, 43, 66, 0.16);
  }

  .section-dots {
    display: none;
  }

  .site-nav {
    gap: 22px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {

  .section { padding: 80px 0; }

  .screen-section { scroll-margin-top: calc(var(--header-height) + 8px); }

  .contact { min-height: 0; }

  .contact-body { margin: 0; }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-lead {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .intro-visual { aspect-ratio: 1; margin: 0 -12px; }

  .intro .section-heading h2 {
    font-size: clamp(32px, 5.2vw, 44px);
  }

  .intro-card h3 { max-width: 620px; }

  :root {
    --container: calc(100% - 40px);
  }

  .button {
    min-height: 56px;
    width: 100%;
  }

  .contact-card {
    padding: 36px;
    border-radius: 24px;
  }

  .contact-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-direct-row {
    flex-wrap: wrap;
    gap: 30px;
  }

  .contact-cta {
    margin-left: 0;
    width: 100%;
    min-height: 64px;
    font-size: 22px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cookie-banner {
    width: min(calc(100vw - 24px), 100%);
    bottom: max(12px, env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
  }

  .cookie-banner__body {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .cookie-banner__button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }

  .modal {
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .modal-dialog {
    padding: 24px 20px;
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
    overscroll-behavior: contain;
    border-radius: 22px;
    scrollbar-gutter: stable;
  }

  .modal-copy { padding-right: 48px; }

  .modal-copy h2 { font-size: clamp(26px, 5vw, 36px); line-height: 1.1; }

  .contact-form input,
  .contact-form textarea {
    min-width: 0;
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .contact-form label { min-width: 0; }

  .consent-check span:last-child {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }

  .modal-close { top: 12px; right: 12px; width: 44px; height: 44px; }

  .toast { bottom: max(12px, env(safe-area-inset-bottom)); }

  .hero-services svg { flex-shrink: 0; }

  .intro-art { max-width: 100%; }

  .intro .section-heading h2 { overflow-wrap: break-word; }
}

@media (max-width: 640px) {

  .services .section-heading {
    margin-bottom: 32px;
  }

  .services .section-heading h2 {
    font-size: clamp(28px, 6.9vw, 38px);
  }

  .services .section-heading h2 br {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: 240px;
    padding: 26px;
    border-radius: 22px;
  }

  .service-card h3 {
    min-height: 0;
    font-size: 30px;
  }

  .service-card p,
  .intro-card p {
    font-size: 16px;
  }

  .glass-card p,
  .form-note,
  .modal-copy p {
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .contact-messengers {
    gap: 12px;
  }

  .contact-messenger {
    width: auto;
    min-width: 0;
    height: auto;
  }

  .contact-cta {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .contact-body { gap: 36px; }

  .contact-copy h2 { font-size: clamp(28px, 7.5vw, 42px); }

  .contact .contact-copy p { font-size: 17px; }

  .contact-card { padding: 30px 24px; }

  .contact-phone-link { font-size: clamp(22px, 6.3vw, 34px); }

  .contact-email-link { font-size: 23px; }

  .contact-secondary { gap: 20px; }

  .contact-cta { padding: 18px 22px; font-size: 19px; }

  .section {
    padding: 64px 0;
  }

  .glass-card {
    padding: 24px;
  }

  .approach .section-heading { margin-bottom: 32px; }

  .approach .section-heading h2 {
    font-size: clamp(28px, 6.9vw, 38px);
  }

  .approach .section-heading h2 br { display: none; }

  .timeline {
    grid-template-columns: 1fr;
    padding: 4px 26px;
    border-radius: 24px;
  }

  .timeline-item {
    padding: 30px 0;
    gap: 20px;
  }

  .timeline-item + .timeline-item {
    border-left: 0;
    border-top: 1px solid rgba(5, 43, 66, 0.16);
  }

  .timeline-item > span { font-size: 44px; }
  .timeline-item > div { gap: 12px; }
  .timeline-item h3 { min-height: 0; font-size: 23px; }
  .timeline-item p { font-size: 16px; }

  .modal-copy {
    padding-right: 42px;
  }

}

/* Compact navigation follows the reference header's mobile layout. */
@media (max-width: 1000px) {
  .header-main {
    gap: 12px;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 12px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(5, 43, 66, 0.08);
  }

  .nav-open .site-nav {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    padding: 14px 12px;
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: translateY(-4px);
    transition: transform 180ms ease;
  }

  .nav-toggle span:last-child {
    transform: translateY(4px);
  }

  .nav-open .nav-toggle span:first-child {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: rotate(-45deg);
  }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }

  .brand img {
    width: 125px;
    height: 29px;
  }

  .header-main {
    gap: 8px;
  }

  .header-cta {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .header-cta span {
    display: none;
  }

}

@media (max-width: 360px) {
  .brand img {
    width: 104px;
  }

  .header-cta {
    padding: 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .hero .hero-services li {
    gap: 6px;
    padding: 8px;
    font-size: 13px;
  }
}

.consent-check input:focus-visible + .consent-check-box {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

@media (min-width: 1001px) {
  .header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .header-cta {
    justify-self: end;
  }
}

@media (max-width: 860px) {
  .hero {
    --hero-content-offset: 28px;
    min-height: min(820px, 100svh);
    padding: calc(108px + var(--hero-content-offset)) 24px 56px;
  }

  .hero-title {
    font-size: clamp(40px, 6.8vw, 56px);
  }

  .hero-services {
    max-width: 600px;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: min(760px, 100svh);
    padding: calc(96px + var(--hero-content-offset)) 16px 48px;
  }

  .hero-title {
    font-size: clamp(27px, 8.2vw, 42px);
    line-height: 1.06;
    letter-spacing: -0.05em;
  }

  .hero-copy-wrap {
    margin-top: 24px;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .button {
    width: min(100%, 300px);
    min-height: 52px;
    font-size: 17px;
  }

  .hero-services {
    margin-top: 28px;
    gap: 10px;
  }

  .hero-services li {
    min-height: 58px;
    padding: 10px;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    text-align: left;
    justify-content: flex-start;
  }

  .hero-services svg {
    width: 20px;
    height: 20px;
  }

  .hero::after {
    background: radial-gradient(ellipse 70% 38% at 50% calc(30% + var(--hero-content-offset)), rgba(246, 253, 255, 0.97) 20%, rgba(246, 253, 255, 0) 100%);
  }

  .section.intro { padding: 64px 0; }

  .intro-layout { gap: 24px; }

  .intro-lead { display: block; }

  .intro .section-heading h2 {
    font-size: clamp(30px, 8.5vw, 46px);
  }

  .intro-visual { width: min(100%, 390px); aspect-ratio: 1.25; margin: 10px auto 0; }

  .intro-grid { gap: 14px; }

  .intro-card { padding: 24px; border-radius: 22px; }

  .intro-card .card-index { font-size: 14px; margin-bottom: 10px; }

  .intro-card h3 { font-size: 24px; }

}

/* Safe-area gutters and compact spacing when a phone is rotated. */
@media (max-width: 1000px) and (orientation: landscape) {
  .header-main,
  .section:not(.intro),
  .intro-layout {
    width: calc(100% - max(24px, env(safe-area-inset-left)) - max(24px, env(safe-area-inset-right)));
  }

  .hero {
    --hero-content-offset: 0px;
    min-height: 0;
    padding-top: calc(var(--header-height) + 40px);
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

/* MODX integration: eight directions, full-page navigation and accessible fallbacks. */
.home-page:not(.has-reveals) .reveal,
.home-page:not(.has-reveals) .reveal-block { opacity: 1; transform: none; }
.home-page .section-heading h2 > span { display: block; }
.home-page .hero-services { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 100%; }
.home-page .hero-copy-wrap { max-width: 1000px; }
.home-page .hero-services li { padding: 0; white-space: normal; }
.home-page .hero-services a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 100%; padding: 14px; border-radius: inherit; text-align: left; }
.home-page .hero-services:not(.hero-services--dock) a:hover { background: rgba(224, 255, 79, .35); }
.home-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.home-page .service-card { display: flex; flex-direction: column; min-height: 0; }
.home-page .service-card h3 { max-width: 100%; min-height: 0; font-size: clamp(27px, 2.5vw, 36px); overflow-wrap: break-word; }
.home-page .service-card p { max-width: 100%; }
.home-page .partner-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 32px;
  border-radius: 26px;
  background: radial-gradient(circle at 90% 8%, rgba(224, 255, 79, .25), transparent 40%), linear-gradient(145deg, #092f45, #051f32);
  color: #fff;
}
.partner-card-kicker { margin-bottom: 20px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.home-page .partner-card h3 { margin: 0 0 18px; font-size: clamp(27px, 2.5vw, 36px); line-height: 1.06; letter-spacing: -.04em; }
.home-page .partner-card p { margin: 0 0 24px; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.5; }
.partner-card-link { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; color: var(--accent); font-size: 16px; font-weight: 650; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 3px solid #135d90; outline-offset: 4px; }
.home-page .home-messenger { text-decoration: underline; text-underline-offset: 4px; }
.home-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-related-card { display: flex; flex-direction: column; gap: 20px; padding: 30px; background: var(--bg-soft); border-radius: 26px; }
.home-related-card h3, .home-related-card p { margin: 0; }
.home-related-card p { color: var(--muted); line-height: 1.6; }
.home-related-card > span { margin-top: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Homepage closing invitation follows the service-page contact bands. */
.home-page .contact { min-height: 0; padding: 72px 0 42px; }
.home-page .contact-body { gap: 0; margin: 0; }
.home-contact-band { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 342px; padding: 49px 58px; overflow: hidden; border-radius: 30px; background: radial-gradient(ellipse at 85% 100%,#1c5661,transparent 65%),#052b42; color: #fff; }
.home-contact-copy { min-width: 0; max-width: 720px; }
.home-contact-symbol { display: block; width: 34px; margin-bottom: 18px; color: var(--accent); font-size: 36px; line-height: 1; }
.home-contact-copy h2 { max-width: 690px; margin: 0; font-size: clamp(34px,3.5vw,49px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.home-contact-copy h2 span { display: inline; }
.home-contact-copy p { max-width: 590px; margin: 20px 0 0; color: #bfd0d9; font-size: 15px; line-height: 1.55; }
.home-page .home-contact-cta { flex: none; width: auto; min-height: 56px; padding: 0 25px; gap: 20px; border: 0; border-radius: 12px; background: var(--accent); color: #052b42; font-size: 15px; font-weight: 650; white-space: nowrap; }
.home-contact-cta span { font-size: 22px; font-weight: 400; line-height: 1; }
.home-page .home-contact-cta:hover { background: #d3f33f; }
.home-page .home-contact-cta:focus-visible { outline-color: var(--accent); }
.home-contact-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.home-contact-links .contact-details { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.home-contact-links .contact-secondary { gap: 20px; }
.home-contact-links .contact-phone-link { font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.home-contact-links .contact-email-link { font-size: 16px; font-weight: 500; letter-spacing: -.015em; line-height: 1.4; }
.home-contact-links .contact-messengers:empty { display: none; }
.home-contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-contact-all { display: inline-flex; flex: none; align-items: center; gap: 16px; font-size: 14px; font-weight: 550; }
.home-contact-all span { font-size: 20px; font-weight: 400; }
.home-page .contact .site-footer { padding-top: 25px; }
@media (max-width: 860px) {
  .home-page .contact { padding-block: 48px 32px; }
  .home-contact-band { flex-direction: column; align-items: flex-start; gap: 28px; padding: 38px; }
  .home-contact-links { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 560px) {
  .home-contact-band { padding: 30px 24px; gap: 25px; border-radius: 22px; }
  .home-contact-copy h2 { font-size: 33px; }
  .home-contact-copy p { font-size: 14px; }
  .home-page .home-contact-cta { width: 100%; }
  .home-contact-links { flex-direction: column; align-items: flex-start; padding-block: 24px; }
  .home-contact-links .contact-details { flex-direction: column; align-items: flex-start; gap: 12px; }
  .home-contact-links .contact-secondary { flex-wrap: wrap; gap: 16px; }
}
@media (min-width: 1001px) {
  .home-page .header-main { display: flex; gap: 20px; }
  .home-page .site-nav { margin-left: auto; }
}
@media (max-width: 860px) {
  .home-page .hero-services { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 600px; }
  .home-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .home-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-page .services-grid, .home-related-grid { grid-template-columns: 1fr; }
  .home-page .service-card { min-height: 0; padding: 28px; }
  .home-page .service-card h3 { font-size: 28px; }
  .home-page .partner-card { padding: 28px; }
  .home-page .partner-card h3 { font-size: 28px; }
  .home-page .hero-services a { padding: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page .reveal, .home-page .reveal-block { opacity: 1; transform: none; transition: none; }
}

/* Shared glass service dock, matching the approved hero concept. */
.home-page .hero-copy-wrap { max-width: 1080px; }
.home-page .hero-services--dock {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  max-width: 1080px;
  margin-top: 44px;
  padding: 16px 10px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(249,254,255,.76), rgba(237,248,252,.56) 50%, rgba(245,245,255,.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 6px 24px rgba(65,97,121,.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.home-page .hero-services--dock li {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-page .hero-services--dock li + li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(104,156,188,.2);
}
.home-page .hero-services--dock a {
  position: relative;
  isolation: isolate;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-height: 90px;
  padding: 0 8px;
  border-radius: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-align: center;
}
.home-page .hero-services--dock a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px 5px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(255,255,255,.2));
  box-shadow: 0 3px 12px rgba(31,70,96,.04);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.hero-service-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(214,239,218,.45);
  border-radius: 16px;
  background: linear-gradient(140deg, #eaffeb, #e1f5e8);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.hero-services--dock li:nth-child(even) .hero-service-icon {
  border-color: rgba(213,215,246,.6);
  background: linear-gradient(140deg, #eeedff, #e3e5fb);
}
.home-page .hero-services--dock svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
}
.hero-service-label { max-width: 100%; overflow-wrap: anywhere; }
.home-page .hero-services--dock a:focus-visible {
  outline-offset: -3px;
}
.home-page .hero-services--dock a:focus-visible::before {
  opacity: 1;
}
@media (hover: hover) {
  .home-page .hero-services--dock a:hover::before { opacity: 1; }
  .hero-services--dock a:hover .hero-service-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5,43,66,.07);
  }
}
@media (max-width: 1100px) {
  .home-page .hero-services--dock {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 720px;
    row-gap: 16px;
    padding-block: 16px;
  }
  .home-page .hero-services--dock li:nth-child(4n + 1)::before { display: none; }
}
@media (max-width: 540px) {
  .home-page .hero-services--dock {
    margin-top: 36px;
    padding: 14px 6px;
    row-gap: 16px;
    border-radius: 22px;
  }
  .home-page .hero-services--dock a {
    gap: 8px;
    min-height: 86px;
    padding: 0 4px;
    font-size: 11.5px;
    line-height: 1.3;
    letter-spacing: -.02em;
  }
  .hero-service-icon { width: 38px; height: 38px; border-radius: 13px; }
  .home-page .hero-services--dock svg { width: 22px; height: 22px; }
}
@media (max-width: 360px) {
  .home-page .hero-services--dock { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .home-page .hero-services--dock li:nth-child(odd)::before { display: none; }
  .home-page .hero-services--dock a { flex-direction: row; gap: 7px; min-height: 46px; padding: 2px 6px; font-size: 11.5px; text-align: left; }
  .hero-service-icon { width: 32px; height: 36px; border-radius: 11px; }
  .home-page .hero-services--dock svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-services--dock a::before { transition: none; }
  .hero-service-icon { transition: none; }
  .hero-services--dock a:hover .hero-service-icon { transform: none; }
}
