/* ==========================================================================
   PT. Kalta Prima Persada
   Dark sticky hero + light content sheet, IBM Plex, mobile-first.

   Shape rule: buttons and language switch are pill, cards and panels 20px,
   inputs and nested blocks 12px, the content sheet 32px.
   Color rule: one action accent (green). Blue is for icons and links only.
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Archivo (variable: weight 600-700, width 100-125%), headings only. SIL Open Font License. */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --hero:          #071629;
  --hero-2:        #0B2039;
  --sheet:         #FFFFFF;
  --surface:       #F3F6F9;
  --ink:           #0E1B2C;
  --ink-2:         #3D4B5C;
  --ink-3:         #5D6B7D;
  --line:          #E1E7EE;
  --input-line:    #CFD8E3;
  --brand:         #1C4E8A;
  --accent:        #12805C;
  --accent-hover:  #0E6B4C;
  --on-dark:       #F4F7FB;
  --on-dark-2:     rgba(226, 234, 243, 0.8);
  --on-dark-3:     rgba(226, 234, 243, 0.6);
  --dark-line:     rgba(255, 255, 255, 0.12);

  --r-pill:  999px;
  --r-card:  20px;
  --r-inner: 12px;
  --r-sheet: 32px;

  --header-h: 68px;

  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Archivo", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(14, 27, 44, 0.04), 0 18px 40px -18px rgba(14, 27, 44, 0.18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background-color: var(--hero);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.drawer-open {
  overflow: hidden;
}

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

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

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 100%;
  text-wrap: balance;
}

h1, h2 {
  font-weight: 700;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 300;
  background-color: var(--sheet);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-pill);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    transform 240ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-light {
  background-color: var(--sheet);
  color: var(--ink);
}

.btn-light:hover {
  background-color: #E9EFF5;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--on-dark);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.44);
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 12px 24px -12px rgba(18, 128, 92, 0.6);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(14, 27, 44, 0.24);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background-color: var(--surface);
}

/* ==========================================================================
   Header (glass dark over hero, light over the sheet)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--on-dark);
  background-color: rgba(7, 22, 41, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease;
}

.site-header.is-light {
  color: var(--ink);
  background-color: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
}

.brand-tile {
  width: 36px;
  height: 36px;
  padding: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(14, 27, 44, 0.08);
}

.brand-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 116px;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 200ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.site-header.is-light .nav-link.is-active::after {
  background-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 300ms ease, border-color 300ms ease;
}

.site-header.is-light .lang-switch {
  background-color: var(--surface);
  border-color: var(--line);
}

.lang-btn {
  min-width: 40px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-pill);
  background-color: transparent;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.is-active {
  opacity: 1;
  background-color: #FFFFFF;
  color: var(--ink);
}

.site-header.is-light .lang-btn.is-active {
  background-color: var(--ink);
  color: #FFFFFF;
}

.btn-header {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.875rem;
  background-color: #FFFFFF;
  color: var(--ink);
}

.site-header.is-light .btn-header {
  background-color: var(--accent);
  color: #FFFFFF;
}

.site-header.is-light .btn-header:hover {
  background-color: var(--accent-hover);
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color 300ms ease;
}

.site-header.is-light .menu-toggle {
  border-color: var(--input-line);
}

.menu-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 300ms var(--ease-out);
}

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

.menu-toggle[aria-expanded="true"] .menu-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Absolute, not fixed: the header's backdrop-filter makes it the containing block */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--on-dark);
  background-color: var(--hero);
  border-top: 1px solid var(--dark-line);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 260ms ease, transform 320ms var(--ease-out);
}

.mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-light .mobile-drawer {
  color: var(--ink);
  background-color: #FFFFFF;
  border-top-color: var(--line);
}

.drawer-inner {
  padding-block: 12px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-link {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--dark-line);
}

.site-header.is-light .drawer-link {
  border-bottom-color: var(--line);
}

.js-anim .mobile-drawer .drawer-link {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 420ms var(--ease-out);
}

.js-anim .mobile-drawer.is-open .drawer-link {
  opacity: 1;
  transform: none;
}

.js-anim .mobile-drawer.is-open .drawer-link:nth-child(2) { transition-delay: 40ms; }
.js-anim .mobile-drawer.is-open .drawer-link:nth-child(3) { transition-delay: 80ms; }
.js-anim .mobile-drawer.is-open .drawer-link:nth-child(4) { transition-delay: 120ms; }

.drawer-contacts {
  display: flex;
  flex-direction: column;
}

.drawer-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  opacity: 0.8;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  color: var(--on-dark);
  background-color: var(--hero);
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 88px;
}

/* Two slow-drifting light fields in the logo's blue and green */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
}

.hero::before {
  width: 70vmax;
  height: 70vmax;
  top: -38vmax;
  right: -22vmax;
  background: radial-gradient(closest-side, rgba(28, 78, 138, 0.55), transparent);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.hero::after {
  width: 55vmax;
  height: 55vmax;
  bottom: -34vmax;
  left: -18vmax;
  background: radial-gradient(closest-side, rgba(18, 128, 92, 0.32), transparent);
  animation: drift-b 26s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6vmax, 4vmax, 0) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(7vmax, -3vmax, 0) scale(1.1); }
}

.hero-stage {
  width: 100%;
  transform-origin: center 40%;
  will-change: transform, opacity;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  max-width: 13em;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.875rem);
  font-stretch: 106%;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 32px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-dark-2);
}

.hero-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-panel {
  padding: 8px 22px;
  border-radius: var(--r-card);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 16px;
}

.hero-fact + .hero-fact {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-fact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-inner);
  color: #8CD7B7;
  background-color: rgba(255, 255, 255, 0.06);
}

.hero-fact-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--on-dark-3);
}

.hero-fact-value {
  display: block;
  font-size: 0.9688rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--on-dark);
}

/* ==========================================================================
   Content sheet
   ========================================================================== */

.content-sheet {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  background-color: var(--sheet);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, 0.35);
}

.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.section-about {
  border-radius: inherit;
}

.section-surface {
  background-color: var(--surface);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-title {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.625rem);
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 60ch;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0938rem);
  line-height: 1.65;
  color: var(--ink-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brand);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 calc(100% - 10px);
  background-repeat: no-repeat;
  transition: background-size 300ms var(--ease-out);
}

.text-link:hover {
  background-size: 100% 1px;
}

/* ==========================================================================
   About: scroll-lit statement + pillars
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.scrub-statement {
  font-family: var(--font-sans);
  font-size: clamp(1.625rem, 1.1rem + 2.1vw, 2.625rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.scrub-word {
  opacity: 0.16;
  transition: opacity 120ms linear;
}

.pillars {
  display: flex;
  flex-direction: column;
}

.pillar {
  position: relative;
  padding-block: 24px;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--line);
}

.pillar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background-color: var(--accent);
  transform-origin: left;
}

.pillar h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  line-height: 1.3;
}

.pillar p {
  font-size: 0.9688rem;
  color: var(--ink-2);
}

/* ==========================================================================
   Solutions: sticky stacking cards
   ========================================================================== */

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-card {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-card);
  background-color: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transform-origin: center top;
}

/* Dims a card as the next one stacks over it (opacity would make it see-through) */
.stack-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background-color: rgba(14, 27, 44, var(--dim, 0));
  pointer-events: none;
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stack-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stack-title {
  margin-bottom: 12px;
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  font-weight: 700;
  font-stretch: 104%;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.stack-desc {
  max-width: 34rem;
  color: var(--ink-2);
}

.stack-cta {
  margin-top: 28px;
}

.stack-aside {
  padding: 20px 22px;
  border-radius: var(--r-inner);
  background-color: var(--surface);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.check-list .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--brand);
}

.stack-card-dark {
  background-color: var(--hero-2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px -24px rgba(7, 22, 41, 0.6);
}

.stack-card-dark .stack-title {
  color: #FFFFFF;
}

.stack-card-dark .stack-desc {
  color: var(--on-dark-2);
}

.stack-card-dark .stack-aside {
  background-color: rgba(255, 255, 255, 0.06);
}

.stack-card-dark .check-list li {
  color: var(--on-dark);
}

.stack-card-dark .check-list .icon {
  color: #8CD7B7;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-left: 36px;
}

.process-track::before,
.process-track::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background-color: var(--line);
}

.process-track::after {
  background-color: var(--accent);
  transform-origin: top;
}

.process-step {
  position: relative;
}

.process-marker {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--sheet);
  border: 2px solid var(--input-line);
  z-index: 1;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 1.125rem;
  line-height: 1.3;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ==========================================================================
   Company
   ========================================================================== */

.section-company {
  border-top: 1px solid var(--line);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.director-panel,
.record-panel {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--r-card);
}

.director-panel {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
}

.director-name {
  margin-bottom: 4px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.director-role {
  margin-bottom: 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-3);
}

.director-bio {
  margin-bottom: 28px;
  color: var(--ink-2);
}

.director-meta {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
}

.director-meta span,
.record-item dt {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
}

.director-meta strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.record-panel {
  background-color: var(--sheet);
  border: 1px solid var(--line);
}

.record-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.record-item dd {
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.record-item .text-link {
  min-height: 0;
  font-size: 1rem;
  background-position: 0 100%;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background-color: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r-inner);
}

.contact-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-3);
}

.contact-value {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color 200ms ease;
}

.contact-value-email {
  font-size: 1rem;
}

.contact-value:hover {
  color: var(--brand);
}

.contact-address {
  padding-block: 4px;
  max-width: 34ch;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.form-card {
  padding: 24px 20px;
  border-radius: var(--r-card);
  background-color: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.form-title {
  margin-bottom: 8px;
  font-size: 1.375rem;
  line-height: 1.25;
}

.form-sub {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: #F8FAFC;
  border: 1px solid var(--input-line);
  border-radius: var(--r-inner);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7A8796;
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 128, 92, 0.16);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #B42318;
  background-color: #FEF3F2;
}

.field-error {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #B42318;
}

.form-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--r-inner);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-status-error {
  color: #912018;
  background-color: #FEF3F2;
  border: 1px solid #FECDCA;
}

.form-status-success {
  color: #0E6B4C;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-actions .btn {
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 2;
  padding-block: 56px 32px;
  color: #C9D4E0;
  background-color: var(--hero);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-company {
  font-weight: 600;
  color: #FFFFFF;
}

.footer-nav,
.footer-direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a,
.footer-direct a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  transition: color 200ms ease;
}

.footer-nav a:hover,
.footer-direct a:hover,
.footer-bottom a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.875rem;
  color: #8FA1B5;
}

.footer-bottom a {
  font-size: 0.875rem;
}

/* ==========================================================================
   Motion (all gated behind .js-anim, which is only set without reduced motion)
   ========================================================================== */

/* Hero entrance: blur rise, staggered */
.js-anim .hero-enter {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out),
    filter 900ms var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 90ms + 80ms);
}

.js-anim.is-loaded .hero-enter {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Section reveal */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Pillars: items rise one after another, accent line draws in */
.js-anim .pillars.reveal {
  opacity: 1;
  transform: none;
}

.js-anim .pillar {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i) * 120ms);
}

.js-anim .pillar::after {
  transform: scaleX(0);
  transition: transform 900ms var(--ease-out);
  transition-delay: calc(var(--i) * 120ms + 250ms);
}

.js-anim .pillars.is-visible .pillar {
  opacity: 1;
  transform: none;
}

.js-anim .pillars.is-visible .pillar::after {
  transform: scaleX(1);
}

/* Process: line fills, markers light up in sequence */
.js-anim .process-track.reveal {
  opacity: 1;
  transform: none;
}

.js-anim .process-track::after {
  transform: scaleY(0);
  transition: transform 1600ms var(--ease-out) 200ms;
}

.js-anim .process-track.is-visible::after {
  transform: scaleY(1);
}

.js-anim .process-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i) * 260ms + 200ms);
}

.js-anim .process-track.is-visible .process-step {
  opacity: 1;
  transform: none;
}

.js-anim .process-marker {
  transition: background-color 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
  transition-delay: calc(var(--i) * 260ms + 320ms);
}

.process-track.is-visible .process-marker,
html:not(.js-anim) .process-marker {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(18, 128, 92, 0.14);
}

html:not(.js-anim) .process-track::after {
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 420px) {
  .brand-name {
    max-width: none;
    white-space: nowrap;
    font-size: 0.9375rem;
  }
}

@media (min-width: 560px) {
  .hero-actions {
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .record-item-wide {
    grid-column: 1 / -1;
  }

  .form-card {
    padding: 32px;
  }

  .form-actions {
    flex-direction: row;
  }

  .form-actions .btn {
    width: auto;
    flex: 1;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }

  /* Hero becomes a sticky stage the sheet slides over */
  .hero {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 96px;
  }

  .content-sheet {
    margin-top: 0;
    border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  }

  .hero-panel {
    max-width: 520px;
  }

  .stack-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }

  .company-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 860px) {
  .stack-card {
    position: sticky;
    will-change: transform, opacity;
  }

  .stack-card[data-stack-index="0"] { top: calc(var(--header-h) + 28px); }
  .stack-card[data-stack-index="1"] { top: calc(var(--header-h) + 44px); }
  .stack-card[data-stack-index="2"] { top: calc(var(--header-h) + 60px); }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 40px;
  }

  .main-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: end;
  }

  .hero-copy {
    grid-column: 1 / 8;
  }

  .hero-panel {
    grid-column: 9 / 13;
    margin-bottom: 4px;
  }

  .about-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }

  .scrub-statement {
    grid-column: 1 / 8;
  }

  .pillars {
    grid-column: 9 / 13;
    padding-top: 10px;
  }

  .process-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    padding-left: 0;
    padding-top: 40px;
  }

  .process-track::before,
  .process-track::after {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .process-track::after {
    transform-origin: left;
  }

  .js-anim .process-track::after {
    transform: scaleX(0);
  }

  .js-anim .process-track.is-visible::after {
    transform: scaleX(1);
  }

  .process-marker {
    left: 0;
    top: -40px;
  }

  .process-step p {
    max-width: 26ch;
  }

  .contact-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }

  .contact-info {
    grid-column: 1 / 6;
  }

  .form-card {
    grid-column: 7 / 13;
    padding: 36px;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-nav {
    flex-direction: row;
    gap: 28px;
  }

  .footer-direct {
    align-items: flex-end;
  }
}

/* Touch devices: comfortable language buttons */
@media (pointer: coarse) {
  .lang-btn {
    min-width: 44px;
    min-height: 40px;
  }
}

/* ==========================================================================
   Phone layout (below 768px)
   Fewer boxes, wider text column, larger body text, shorter page.
   ========================================================================== */

.drawer-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.carousel-dots {
  display: none;
}

.stack-list:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: var(--r-card);
}

@media (max-width: 767px) {
  /* Header: logo, name, menu. The language switch moves into the drawer */
  .header-actions > .lang-switch {
    display: none;
  }

  .brand-tile {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    max-width: none;
    white-space: nowrap;
    font-size: 0.9375rem;
  }

  .menu-toggle {
    border-color: transparent;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-light .menu-toggle {
    border-color: transparent;
    background-color: var(--surface);
  }

  .drawer-inner {
    gap: 28px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 68px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-title {
    margin-bottom: 16px;
    font-size: clamp(2rem, 9.4vw, 2.75rem);
    line-height: 1.06;
  }

  .hero-lead {
    margin-bottom: 28px;
    font-size: 1.0625rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 50px;
    padding-inline: 14px;
    font-size: 0.9375rem;
  }

  .hero-panel {
    padding: 4px 0 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-fact {
    align-items: center;
    padding-block: 12px;
  }

  .hero-fact + .hero-fact {
    border-top: 0;
  }

  .hero-fact-icon {
    width: 36px;
    height: 36px;
  }

  .hero-fact-value {
    font-size: 1rem;
  }

  /* Sheet and section rhythm */
  .content-sheet {
    margin-top: -24px;
  }

  .section {
    padding-block: 56px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-title {
    margin-bottom: 10px;
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .section-lead {
    font-size: 1rem;
  }

  /* About */
  .about-grid {
    gap: 28px;
  }

  .scrub-statement {
    font-size: 1.5rem;
    line-height: 1.36;
  }

  .pillar {
    padding-block: 20px;
  }

  .pillar:last-child {
    padding-bottom: 0;
  }

  .pillar p {
    font-size: 1rem;
  }

  /* Solutions: swipe carousel, one card per screen with the next one peeking in */
  .stack-list {
    flex-direction: row;
    gap: 12px;
    margin-inline: -20px;
    padding: 4px 20px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .stack-list::-webkit-scrollbar {
    display: none;
  }

  .stack-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    padding: 24px 22px;
    box-shadow: 0 1px 2px rgba(14, 27, 44, 0.04), 0 12px 24px -18px rgba(14, 27, 44, 0.25);
  }

  .stack-grid {
    gap: 20px;
    align-content: start;
  }

  .stack-title {
    font-size: 1.375rem;
  }

  .stack-desc {
    font-size: 1rem;
  }

  .stack-cta {
    margin-top: 20px;
  }

  .stack-aside,
  .stack-card-dark .stack-aside {
    padding: 18px 0 0;
    background: none;
    border-radius: 0;
    border-top: 1px solid var(--line);
  }

  .stack-card-dark .stack-aside {
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-pill);
    background-color: var(--input-line);
    cursor: pointer;
    transition: width 300ms var(--ease-out), background-color 300ms ease;
  }

  .carousel-dot.is-active {
    width: 24px;
    background-color: var(--accent);
  }

  /* Process */
  .process-track {
    gap: 26px;
  }

  .process-step p {
    font-size: 1rem;
  }

  /* Company: one soft panel, data sits on the page instead of a second box */
  .company-grid {
    gap: 28px;
  }

  .director-panel {
    padding: 24px 22px;
  }

  .director-meta strong {
    font-size: 0.9688rem;
  }

  .record-panel {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
  }

  .record-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .record-item-wide {
    grid-column: 1 / -1;
  }

  /* Contact: list rows and an unboxed form */
  .contact-grid {
    gap: 40px;
  }

  .contact-list {
    margin-top: 24px;
    gap: 0;
  }

  .contact-row {
    padding-block: 16px;
    border-top: 1px solid var(--line);
  }

  .contact-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-value {
    min-height: 36px;
    font-size: 1.0625rem;
  }

  .contact-value-email {
    font-size: 0.9688rem;
  }

  .form-card {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .form-sub {
    margin-bottom: 20px;
  }

  .field input,
  .field textarea {
    background-color: #FFFFFF;
  }

  /* Footer */
  .site-footer {
    padding-block: 44px 24px;
  }

  .footer-top {
    gap: 16px;
    padding-bottom: 24px;
  }

  .footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}

/* ==========================================================================
   Section surfaces: line patterns and navy blocks so sections are not flat
   white or flat grey. Patterns sit on ::before and never cover content.
   ========================================================================== */

.section {
  position: relative;
  isolation: isolate;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* About: fine blueprint grid fading out from the top right */
.section-about::before {
  background-image:
    linear-gradient(to right, rgba(14, 27, 44, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 27, 44, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 10%, transparent 75%);
}

/* Key phrases in the statement light up in the accent color */
.scrub-word.is-key {
  color: var(--accent);
}

/* Solutions: diagonal hatching in the top left corner */
#services::before {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(14, 27, 44, 0.09) 0 1px,
    transparent 1px 12px
  );
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 0% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 55% at 0% 0%, #000 20%, transparent 70%);
}

/* Process: navy band with a light grid and a green glow */
.section-dark {
  color: var(--on-dark-2);
  background-color: var(--hero);
}

.section-dark::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 100%, #000 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 100%, #000 15%, transparent 80%);
}

.section-dark::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -40%;
  width: 90%;
  height: 80%;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 128, 92, 0.22), transparent);
}

.section-dark {
  overflow: hidden;
}

.section-dark .section-title,
.section-dark h3 {
  color: #FFFFFF;
}

.section-dark .process-step p {
  color: var(--on-dark-2);
}

.section-dark .process-track::before {
  background-color: rgba(255, 255, 255, 0.14);
}

.section-dark .process-track::after {
  background-color: #3FB98A;
}

.section-dark .process-marker {
  background-color: var(--hero);
  border-color: rgba(255, 255, 255, 0.3);
}

.section-dark .process-track.is-visible .process-marker,
html:not(.js-anim) .section-dark .process-marker {
  background-color: #3FB98A;
  border-color: #3FB98A;
  box-shadow: 0 0 0 5px rgba(63, 185, 138, 0.18), 0 0 18px rgba(63, 185, 138, 0.45);
}

/* Company: dot grid behind the data, navy director panel */
.section-company::before {
  background-image: radial-gradient(rgba(14, 27, 44, 0.16) 1px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 100% 100%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 100% 100%, #000 20%, transparent 75%);
}

.director-panel {
  position: relative;
  overflow: hidden;
  color: var(--on-dark-2);
  background-color: var(--hero-2);
}

.director-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 12px
  );
  -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 60%);
  mask-image: linear-gradient(to bottom left, #000, transparent 60%);
}

.director-panel > * {
  position: relative;
}

.director-name {
  color: #FFFFFF;
}

.director-role {
  color: var(--on-dark-3);
}

.director-bio {
  color: var(--on-dark-2);
}

.director-meta {
  border-top-color: var(--dark-line);
}

.director-meta span {
  color: var(--on-dark-3);
}

.director-meta strong {
  color: #FFFFFF;
}

.record-panel {
  background-color: rgba(255, 255, 255, 0.92);
}

/* Contact: navy info panel beside the white form */
#contact::before {
  background-image:
    linear-gradient(to right, rgba(14, 27, 44, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 27, 44, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 10%, transparent 70%);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-card);
  color: var(--on-dark-2);
  background-color: var(--hero);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 100% 100%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 100% 100%, #000 10%, transparent 75%);
}

.contact-panel > * {
  position: relative;
}

.contact-panel .section-title {
  color: #FFFFFF;
}

.contact-panel .section-lead {
  color: var(--on-dark-2);
}

.contact-panel .contact-icon {
  color: #8CD7B7;
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-panel .contact-label {
  color: var(--on-dark-3);
}

.contact-panel .contact-value,
.contact-panel .contact-address {
  color: #FFFFFF;
}

.contact-panel .contact-value:hover {
  color: #8CD7B7;
}

.contact-panel .text-link {
  color: #8CD7B7;
}

@media (min-width: 1024px) {
  .contact-panel {
    grid-column: 1 / 7;
  }
}

@media (max-width: 767px) {
  .section-about::before {
    background-size: 44px 44px;
  }

  .director-panel,
  .contact-panel {
    padding: 24px 20px;
  }

  .contact-panel .contact-row {
    border-top-color: var(--dark-line);
  }

  .contact-panel .contact-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .record-panel {
    background: none;
  }
}

/* ==========================================================================
   Extra motion: staggered children, title wipes, hero facts.
   Only active with .js-anim (never set when the visitor prefers reduced motion).
   ========================================================================== */

/* Section titles wipe up from below as their block reveals */
.js-anim .reveal .section-title {
  clip-path: inset(0 0 100% 0);
  transform: translateY(18px);
  transition:
    clip-path 900ms var(--ease-out) 80ms,
    transform 900ms var(--ease-out) 80ms;
}

.js-anim .reveal.is-visible .section-title {
  clip-path: inset(-12% -4% -24% -4%);
  transform: none;
}

/* Hero facts slide in one by one after the headline */
.js-anim .hero-fact {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.js-anim.is-loaded .hero-fact {
  opacity: 1;
  transform: none;
}

.js-anim .hero-fact:nth-child(1) { transition-delay: 520ms; }
.js-anim .hero-fact:nth-child(2) { transition-delay: 620ms; }
.js-anim .hero-fact:nth-child(3) { transition-delay: 720ms; }

/* Rows inside panels rise in sequence */
.js-anim .contact-panel .contact-row,
.js-anim .record-panel .record-item,
.js-anim .director-panel .director-meta > div,
.js-anim .form-card .field,
.js-anim .form-card .form-actions {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.js-anim .contact-panel.is-visible .contact-row,
.js-anim .record-panel.is-visible .record-item,
.js-anim .director-panel.is-visible .director-meta > div,
.js-anim .form-card.is-visible .field,
.js-anim .form-card.is-visible .form-actions {
  opacity: 1;
  transform: none;
}

.js-anim .contact-row:nth-child(1) { transition-delay: 250ms; }
.js-anim .contact-row:nth-child(2) { transition-delay: 340ms; }
.js-anim .contact-row:nth-child(3) { transition-delay: 430ms; }

.js-anim .record-item:nth-child(1) { transition-delay: 150ms; }
.js-anim .record-item:nth-child(2) { transition-delay: 220ms; }
.js-anim .record-item:nth-child(3) { transition-delay: 290ms; }
.js-anim .record-item:nth-child(4) { transition-delay: 360ms; }
.js-anim .record-item:nth-child(5) { transition-delay: 430ms; }

.js-anim .director-meta > div:nth-child(1) { transition-delay: 300ms; }
.js-anim .director-meta > div:nth-child(2) { transition-delay: 390ms; }

.js-anim .form-card .field:nth-child(1) { transition-delay: 200ms; }
.js-anim .form-card .field:nth-child(2) { transition-delay: 260ms; }
.js-anim .form-card .field:nth-child(3) { transition-delay: 320ms; }
.js-anim .form-card .field:nth-child(4) { transition-delay: 380ms; }
.js-anim .form-card .form-actions { transition-delay: 460ms; }

/* Phones: the solutions carousel slides in from the right */
@media (max-width: 767px) {
  /* Keep the off-screen start of the carousel animation from widening the page */
  #services {
    overflow-x: clip;
  }

  .js-anim .stack-list.reveal:not(.is-visible) {
    transform: translateX(56px);
  }

  .js-anim .stack-list.reveal {
    transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out);
  }

  .stack-card {
    transform-origin: center center;
  }
}

/* WhatsApp logo on WhatsApp actions */
.icon-wa {
  width: 18px;
  height: 18px;
}

.btn-wa,
.wa-link {
  gap: 10px;
}

.wa-link .icon-wa {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Reduced motion and print
   ========================================================================== */

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

  .hero::before,
  .hero::after {
    animation: none;
  }

  .hero {
    position: relative;
  }

  .scrub-word {
    opacity: 1 !important;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }

  .stack-card {
    transform: none !important;
  }

  .stack-card::after {
    display: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .stack-cta,
  .form-card,
  .footer-nav {
    display: none !important;
  }

  body,
  .hero,
  .content-sheet,
  .section,
  .section-surface,
  .stack-card,
  .stack-card-dark,
  .site-footer {
    position: static !important;
    background: #FFFFFF !important;
    color: #0E1B2C !important;
    box-shadow: none !important;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-title,
  .hero-lead,
  .hero-fact-value,
  .stack-card-dark .stack-title,
  .stack-card-dark .stack-desc,
  .stack-card-dark .check-list li {
    color: #0E1B2C !important;
  }

  .scrub-word {
    opacity: 1 !important;
  }
}
