/* ============================================================================
   Sarinola Enterprises — stylesheet
   ----------------------------------------------------------------------------
   1.  Design tokens
   2.  Base & reset
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Header & navigation
   7.  Hero
   8.  Reveal-on-scroll animation
   9.  Split sections (About / Approach / Team)
   10. Services cards
   11. Approach extras (steps, network backdrop)
   12. Why-choose-us
   13. Call to action
   14. Footer
   15. Responsive
   16. Reduced motion
   ========================================================================== */


/* 1. Design tokens ======================================================== */

:root {
  /* Colour */
  --bg:            #06090f;
  --bg-tint:       #080d15;
  --surface:       #101420;
  --surface-hover: #111a29;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:          #e9eef7;
  --text-soft:     #b6c1d4;
  --text-muted:    #8b98ad;

  --accent:        #9a8cc8;
  --accent-soft:   #c6bce8;

  /* Typography */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step-xs:  0.8125rem;                          /* 13px  — eyebrows, meta   */
  --step-sm:  0.9375rem;                          /* 15px  — small text       */
  --step-md:  clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-lg:  clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-h3:  clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-h2:  clamp(1.875rem, 1.45rem + 1.7vw, 3rem);
  --step-h1:  clamp(2.5rem, 1.6rem + 3.9vw, 5rem);

  /* Space & shape */
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --section-y:   clamp(5rem, 10vw, 9.5rem);
  --radius:      14px;
  --max-width:   1240px;

  /* Motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --dur:         0.6s;
}


/* 2. Base & reset ========================================================= */

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

html {
  scroll-behavior: smooth;
  /* keeps anchor targets clear of the fixed header */
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-md);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #05070c; }

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


/* 3. Layout primitives ==================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--tint { background: var(--bg-tint); }

/* hairline separators between stacked sections */
.section + .section { border-top: 1px solid var(--border); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }


/* 4. Typography =========================================================== */

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: var(--step-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.section__title {
  font-size: var(--step-h2);
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  font-size: var(--step-lg);
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.6;
}

p { color: var(--text-muted); }
.lead { color: var(--text-soft); }


/* 5. Buttons ============================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--step-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.button--solid {
  background: var(--accent);
  color: #05070c;
}
.button--solid:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.button--ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.button--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  transform: translateY(-2px);
}

.button--large { padding: 1.05rem 2.4rem; font-size: var(--step-md); }

/* sheen that sweeps across a solid button on hover */
.button--solid { position: relative; overflow: hidden; }

.button--solid::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
}

.button--solid:hover::after { left: 115%; }


/* 6. Header & navigation ================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.35s var(--ease),
              border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

/* .is-stuck is toggled by script.js once the page is scrolled */
.site-header.is-stuck {
  background: rgba(6, 9, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.brand__mark { width: auto; height: 38px; }

.brand__name { font-size: var(--step-sm); }

.brand__suffix {
  color: var(--text-muted);
  font-weight: 300;
  margin-left: 0.4em;
}

.nav { display: flex; gap: 2rem; }

.nav__link {
  position: relative;
  font-size: var(--step-sm);
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { padding: 0.6rem 1.3rem; }

.nav__link--compact { display: none; }

/* burger — hidden on desktop */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-5.5px) rotate(-45deg); }


/* 7. Hero ================================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: 9rem 7rem;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: -10% 0 -20%;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background: url("assets/grid-pattern.svg") repeat;
  background-size: clamp(56px, 7vw, 92px);
  opacity: 0.5;
  /* fades the grid out towards the edges */
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 25%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 50% 30%, #000 25%, transparent 78%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  /* `scale` is a standalone property, so this never fights the parallax
     script (which writes `translate`) */
  animation: breathe 16s ease-in-out infinite alternate;
}

.hero__glow--two { animation-duration: 22s; animation-delay: -6s; }

@keyframes breathe {
  from { scale: 0.92; opacity: 0.75; }
  to   { scale: 1.12; opacity: 1; }
}

.hero__glow--one {
  top: -8%;
  right: -10%;
  width: min(760px, 80vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(154, 140, 200, 0.32), transparent 65%);
}

.hero__glow--two {
  bottom: -20%;
  left: -18%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(120, 108, 165, 0.24), transparent 65%);
}

.hero__chart {
  position: absolute;
  left: 0;
  bottom: -6%;
  width: 100%;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 92%);
          mask-image: linear-gradient(to top, #000 20%, transparent 92%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  background: url("assets/noise.png") repeat;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 66rem;
}

.hero__title {
  font-size: var(--step-h1);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-soft), var(--accent) 55%, #e4dcff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero__tagline {
  font-size: var(--step-lg);
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}

.hero__lead {
  max-width: 44rem;
  font-size: var(--step-md);
  line-height: 1.75;
  margin-bottom: 2.6rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}


/* 8. Reveal-on-scroll ===================================================== */

/* Blocks start hidden only when JS can bring them back
   (see the inline script in <head>). The entrance style is chosen per block
   with the data-reveal attribute in the markup:

     up      floats up from below          (default)
     left    slides in from off-screen left
     right   slides in from off-screen right
     scale   grows into place
     tilt    falls forward into the page
     wipe    uncovers itself top-to-bottom (used for illustrations)
*/
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease),
              transform 1s var(--ease),
              filter 0.9s var(--ease),
              clip-path 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js .reveal[data-reveal="left"]  { transform: translateX(-12vw); }
.js .reveal[data-reveal="right"] { transform: translateX(12vw); }
.js .reveal[data-reveal="scale"] { transform: scale(0.88); }
.js .reveal[data-reveal="tilt"] {
  transform: perspective(1000px) rotateX(14deg) translateY(46px);
  transform-origin: top center;
}
/* the wrapper only fades; the image inside slides out from behind its edge —
   clipping the observed element itself would empty its intersection rect and
   the reveal would never fire */
.js .reveal[data-reveal="wipe"] {
  transform: none;
  filter: none;
}

.js .reveal[data-reveal="wipe"] img {
  transform: translateY(101%) scale(1.05);
  transition: transform 1.2s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal[data-reveal="wipe"].is-visible img { transform: none; }

/* the attribute in the second selector keeps this at least as specific as the
   variants above, so a revealed block always lands in its final position */
.js .reveal.is-visible,
.js .reveal[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

/* Word-by-word entrance for headings and lead paragraphs.
   The spans are created by script.js (initTextSplit): each word sits inside a
   mask, so it rises from behind an invisible line instead of just fading. */
.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.word {
  display: inline-block;
  white-space: pre;
}

.js [data-split] .word {
  transform: translateY(110%);
  transition: transform 0.85s var(--ease), opacity 0.85s var(--ease);
  transition-delay: calc(var(--word-index, 0) * 45ms + var(--reveal-delay, 0ms));
  opacity: 0;
}

.js [data-split].is-visible .word {
  transform: none;
  opacity: 1;
}

/* the container only fades — the words carry the movement */
.js [data-split] {
  transform: none;
  filter: none;
}

/* Reading progress bar */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px rgba(154, 140, 200, 0.6);
}


/* 9. Split sections ======================================================= */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.split__aside { position: sticky; top: 130px; }

/* illustrations inside the sticky column */
.split__visual {
  width: 100%;
  max-width: 30rem;
  margin: 2.8rem 0 0;
  overflow: hidden;                  /* the mask for the wipe entrance */
  opacity: 0.9;
  animation: float 11s ease-in-out infinite;
}

.split__visual--team {
  max-width: 22rem;
  animation-duration: 14s;
}

/* animates the `translate` property, so it never clashes with the
   `transform` used by the reveal animation or by the parallax script */
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

.split__body > * + * { margin-top: 1.15em; }

/* facts row (About) */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
}

.facts__value {
  display: block;
  background: linear-gradient(100deg, var(--text) 20%, var(--accent-soft) 50%, var(--text) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  animation: shimmer 7s ease-in-out infinite;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: transparent;
}

@keyframes shimmer {
  0%, 100% { background-position: 120% 0; }
  50%      { background-position: -20% 0; }
}

.facts__label {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--step-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}


/* 10. Services cards ====================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  background: var(--surface);
  transition: background-color 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(154, 140, 200, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover { background: var(--surface-hover); }
.card:hover::before { opacity: 1; }

/* accent line that draws itself across the top of the card on reveal */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease) 0.25s;
}

.card.is-visible::after { transform: scaleX(1); }

.card__title { transition: transform 0.4s var(--ease); }
.card:hover .card__title { transform: translateX(4px); }

/* icons keep a slow, staggered drift so the grid never looks frozen */
.card__icon { animation: float 9s ease-in-out infinite; }
.card:nth-child(2) .card__icon { animation-delay: -1.5s; }
.card:nth-child(3) .card__icon { animation-delay: -3s; }
.card:nth-child(4) .card__icon { animation-delay: -4.5s; }
.card:nth-child(5) .card__icon { animation-delay: -6s; }
.card:nth-child(6) .card__icon { animation-delay: -7.5s; }

.card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.1rem;
  opacity: 0.85;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}

.card:hover .card__icon { transform: translateY(-4px) scale(1.08); opacity: 1; }

.card__index {
  display: block;
  margin-bottom: 1.2rem;
  font-size: var(--step-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.card__title {
  font-size: var(--step-h3);
  margin-bottom: 0.9rem;
}

.card__text {
  font-size: var(--step-sm);
  line-height: 1.72;
  margin: 0;
}


/* 11. Approach section ==================================================== */

.section--feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #080e1a 50%, var(--bg) 100%);
}

.feature__backdrop {
  position: absolute;
  inset: -15% 0;
  z-index: 0;
  pointer-events: none;
}

.feature__glow {
  position: absolute;
  top: 10%;
  right: -12%;
  width: min(680px, 75vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 140, 200, 0.22), transparent 65%);
  filter: blur(80px);
  animation: breathe 19s ease-in-out infinite alternate;
}

.feature__network {
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(720px, 70vw);
  opacity: 0.42;
  transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 50%, #000 35%, transparent 72%);
}

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

.steps {
  counter-reset: step;
  margin-top: 2.8rem;
  border-top: 1px solid var(--border);
}

.steps__item {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--step-sm);
  color: var(--text-muted);
}

.steps__item::before {
  content: "0" counter(step);
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.08em;
  flex: none;
}

.steps__item {
  transition: color 0.35s var(--ease), padding-left 0.35s var(--ease);
}

.steps__item:hover { color: var(--text-soft); padding-left: 0.6rem; }

.steps__item span { color: var(--text); font-weight: 400; }

.steps__item::before { transition: color 0.35s var(--ease); }
.steps__item:hover::before { color: var(--accent-soft); }


/* 12. Why choose us ======================================================= */

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
}

/* honeycomb texture behind the section */
.section--hex { position: relative; overflow: hidden; }

.hex-backdrop {
  position: absolute;
  inset: -20% -5%;
  z-index: 0;
  background: url("assets/hex-pattern.svg") repeat;
  background-size: clamp(70px, 8vw, 110px);
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(90% 70% at 70% 40%, #000, transparent 75%);
          mask-image: radial-gradient(90% 70% at 70% 40%, #000, transparent 75%);
  pointer-events: none;
}

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

.reason {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  transition: transform 0.4s var(--ease);
}

.reason:hover { transform: translateY(-4px); }

.reason::after {
  transition: width 0.5s var(--ease), background-color 0.4s var(--ease);
}

.reason:hover::after { width: 100%; background: var(--accent-soft); }

.reason::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3.5rem;
  height: 1px;
  background: var(--accent);
}

.reason__title { font-size: var(--step-h3); margin-bottom: 0.8rem; }

.reason__text { font-size: var(--step-sm); line-height: 1.72; margin: 0; }

/* tags (Team) */
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }

.tags li {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease);
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: var(--step-xs);
  color: var(--text-soft);
  letter-spacing: 0.03em;
}

.tags li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent-soft);
}


/* 13. Call to action ====================================================== */

.cta {
  position: relative;
  padding-block: clamp(6rem, 12vw, 11rem);
  border-top: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.cta__backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.cta__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(900px, 95vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 140, 200, 0.24), transparent 62%);
  filter: blur(90px);
  animation: breathe 21s ease-in-out infinite alternate;
}

.cta__contours {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: min(1400px, 130vw);
  transform: translateX(-50%);
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 85%);
          mask-image: linear-gradient(to top, #000, transparent 85%);
}

.cta__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 110vw);
  transform: translate(-50%, -50%);
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
          mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__title {
  font-size: var(--step-h2);
  margin-bottom: 1.6rem;
  max-width: 20ch;
}

.cta__text { max-width: 44rem; }

.cta .button { margin-top: 1.6rem; }

.contact-details {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 40rem;
  font-style: normal;
  display: grid;
  gap: 0.6rem;
}

.contact-details__email {
  font-size: var(--step-lg);
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
}
.contact-details__email {
  position: relative;
  display: inline-block;
  justify-self: center;
}

.contact-details__email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.contact-details__email:hover { color: var(--accent-soft); }
.contact-details__email:hover::after { transform: scaleX(1); transform-origin: left; }

.contact-details__line { font-size: var(--step-sm); color: var(--text-muted); }


/* 14. Footer ============================================================== */

.site-footer {
  padding-block: 3.5rem;
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer__logo { width: clamp(160px, 18vw, 200px); height: auto; }

.footer__legal,
.footer__copy {
  margin: 0;
  font-size: var(--step-xs);
  line-height: 1.75;
  color: var(--text-muted);
}

.footer__copy { align-self: end; }


/* 15. Responsive ========================================================== */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .section__title { max-width: 24ch; }
}

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

  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--gutter);
    background: rgba(6, 9, 15, 0.99);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    /* collapsed state — expanded by .is-open */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
  }

  .nav.is-open { max-height: 60vh; }

  .nav__link {
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--step-md);
  }

  .nav__link::after { display: none; }
  .nav__link--compact { display: block; color: var(--accent-soft); }
}

@media (max-width: 560px) {
  .hero { min-height: auto; padding-block: 8rem 6rem; }
  .brand__suffix { display: none; }
  .hero__actions .button { flex: 1 1 100%; }
  .scroll-cue { display: none; }
}


/* 16. Reduced motion ====================================================== */

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

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

  /* everything is shown in its final state, whatever entrance it was given */
  .js .reveal,
  .js .reveal[data-reveal],
  .js [data-split] .word {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }
}
