/* ============================================================
   Roxxie Creative — shared styles
   Palette: dark blue + cyan, lilac accents, sand background
   Type: Italiana (display) + Inter (body)
   ============================================================ */

:root {
  /* Color */
  --ink:        #1c1a3a;   /* deep indigo, near-black text */
  --indigo:     #1a40a6;   /* primary dark blue */
  --indigo-700: #143185;   /* darker blue for hovers */
  --teal:       #1cabc8;   /* bright cyan accent */
  --teal-700:   #157e93;   /* readable cyan for text/links */
  --lilac:      #a78bf0;   /* lilac accent */
  --lilac-soft: #efeafe;   /* very soft lilac wash */
  --mist:       #fbf8f0;   /* sand page background */
  --paper:      #ffffff;   /* cards */
  --line:       #e9e2d5;   /* hairlines */
  --muted:      #6b6982;   /* secondary text */

  /* Type */
  --display: "Italiana", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Scale */
  --maxw: 1120px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 16px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--ink); margin: 0 0 .5em; letter-spacing: 0; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gap); }

/* eyebrow label */
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--lilac));
  display: inline-block;
}

.lead { font-size: .92rem; font-weight: 300; line-height: 1.65; color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-weight: 400; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .8rem 1.4rem; border-radius: 5px;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, filter .25s ease, color .25s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 22px rgba(255,224,160,.6); color: #ffe7b0; }
.btn-primary { background: linear-gradient(135deg, #1a40a6, #7a5fe0 52%, #1cabc8); color: #fff; }
.btn-ghost {
  color: var(--ink);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--mist), var(--mist)) padding-box,
    linear-gradient(135deg, #1a40a6, #7a5fe0 52%, #1cabc8) border-box;
}
.btn-arrow::after { content: "\2192"; }
.btn-ghost:hover { color: var(--indigo); box-shadow: 0 0 18px rgba(167,139,240,.45); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,240,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 400; font-size: 2rem;
  background: linear-gradient(100deg, #1a40a6 0%, #1a40a6 18%, #a78bf0 58%, #1cabc8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand:hover { text-decoration: none; }
.brand img { height: 58px !important; width: auto; }
.brand svg { width: 30px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--teal); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; }
.nav-links a:hover { color: var(--teal-700); text-decoration: none; }
.nav-links a.active { color: var(--teal-700); }
.nav-cta { margin-left: .4rem; }
.nav-cta .btn { font-size: .7rem; font-weight: 400; color: #fff; }
.nav-cta .btn:hover { color: #ffe7b0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .3rem; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 92px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--mist); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gap) 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .7rem 0; width: 100%; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--lilac), var(--teal));
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-gradient {
  background: linear-gradient(135deg, #1a40a6 0%, #7a5fe0 35%, #1cabc8 55%, #1a40a6 80%, #7a5fe0 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-gradient h1, .hero-gradient .lead, .hero-gradient .eyebrow { color: #fff; }
.hero-gradient .eyebrow { color: rgba(255,255,255,.75); }
.hero-gradient .eyebrow::before { background: rgba(255,255,255,.6); }
.hero-gradient::before { display: none; }
.hero::before {
  /* the beam */
  content: "";
  position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 120%;
  background: conic-gradient(from 200deg at 80% 0%,
    transparent 0deg,
    rgba(28,171,200,.18) 22deg,
    rgba(167,139,240,.30) 40deg,
    transparent 60deg);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero.no-beam::before { display: none; }
.work-hero-video { position: relative; overflow: hidden; background: #fff; }
.work-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; pointer-events: none; }
.work-hero-logo { position: absolute; right: 20%; top: 50%; transform: translateY(-50%); height: 90%; width: auto; opacity: .07; pointer-events: none; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: .4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Photo hero (homepage) ---------- */
.hero-photo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 82vh, 800px);
  background: var(--mist);
  overflow: hidden;
  cursor: url('images/whale-tail-cursor.png') 17 13, auto;
}
.hero-photo .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/lighthouse-hero-image1.webp') center 30% / cover no-repeat;
  animation: heroZoom 1.6s ease-out both;
}
@keyframes heroZoom {
  from { opacity: 0; transform: scale(1.09); }
  to   { opacity: 1; transform: scale(1); }
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,18,52,.62), rgba(16,18,52,.28) 50%, rgba(16,18,52,0) 78%);
}
.hero-photo > .wrap { position: relative; z-index: 2; padding-top: clamp(4.5rem, 10vw, 9rem); padding-bottom: clamp(4.5rem, 10vw, 9rem); }
.hero-photo .wrap h1 .glow-text {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 0.6px rgba(255,246,222,.9);
  animation: heroFadeUp .9s ease-out .55s both, beamFill 7s ease-in-out 1.6s infinite;
}
@keyframes beamFill {
  0%, 100% { color: transparent; text-shadow: 0 0 0 rgba(255,255,255,0); }
  50%      { color: rgba(255,255,255,.9); text-shadow: 0 0 18px rgba(255,255,255,.6), 0 0 36px rgba(255,255,255,.3); }
}
.hero-photo .wrap h1 .accent    { display: inline-block; animation: heroFadeUp .9s ease-out 1s both; }
.hero-photo .wrap .hero-divider { animation: heroFadeUp .9s ease-out both; animation-delay: 1.35s; }
.hero-photo .wrap .lead         { animation: heroFadeUp .9s ease-out both; animation-delay: 1.5s; }
.hero-photo .wrap .hero-actions { animation: heroFadeUp .9s ease-out both; animation-delay: 1.65s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-photo .eyebrow { color: #bfe7ef; }
.hero-photo .eyebrow::before { background: linear-gradient(90deg, #1cabc8, #a78bf0); }
.work-hero-video .eyebrow::before { display: none; }
.hero-photo h1 { color: #fff; max-width: 15ch; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: 1.02; margin-bottom: 0; }
.hero-photo .hero-divider { display: block; width: 66px; height: auto; margin: 1.9rem 0; }
.hero-photo .cursor-glow {
  position: absolute; z-index: 1; top: 0; left: 0;
  width: 178px; height: 178px; margin: -89px 0 0 -89px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,242,205,.32), rgba(255,236,180,.13) 42%, transparent 70%);
  pointer-events: none; opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .35s ease;
}
.hero-photo .haze {
  position: absolute; z-index: 1; top: 0; left: 0;
  width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,200,.22), rgba(255,234,175,.08) 45%, transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: hazeFade 2.2s ease-out forwards;
}
@keyframes hazeFade {
  0%   { opacity: .55; transform: scale(.8); }
  100% { opacity: 0;   transform: scale(1.4); }
}
.hero-photo h1 .accent { color: #8fe3ef; }
.hero-photo .lead { color: rgba(255,255,255,.88); max-width: 40ch; font-size: .92rem; line-height: 1.65; font-weight: 300; }
.hero-photo .btn-ghost {
  color: #fff;
  background: transparent;
  border: 0;
  position: relative;
}
.hero-photo .btn-ghost::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #7fb0ff, #b9a6f5 50%, #8aeaf7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
}
.hero-photo .btn-ghost:hover { color: #ffe7b0; }
@media (max-width: 760px) {
  .hero-photo { min-height: clamp(460px, 70vh, 620px); background-position: center 25%; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(16,18,52,.35), rgba(16,18,52,.62)); }
}

/* animated lighthouse beam (overlaid on the photo) */
.hero-photo .beam-glow,
.hero-photo .beam-ray { position: absolute; z-index: 1; pointer-events: none; }
.hero-photo .beam-glow {
  left: 47.5%; top: 31.5%;
  width: 92px; height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,238,190,.95) 0%, rgba(255,228,165,.4) 38%, transparent 72%);
  animation: beamPulse 7s ease-in-out infinite;
}
.hero-photo .beam-ray {
  left: 47.5%; top: 31.5%;
  width: 44%; height: 40px;
  transform-origin: right center;
  transform: translate(-100%, -50%) rotate(-7deg);
  background: linear-gradient(270deg, rgba(255,234,180,.55), rgba(255,234,180,.13) 45%, transparent 82%);
  filter: blur(5px);
  animation: beamSweep 7s ease-in-out infinite;
}
@keyframes beamPulse {
  0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.9); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}
@keyframes beamSweep {
  0%, 100% { opacity: .28; }
  50%      { opacity: .7; }
}
.hero-photo .beam-flare {
  position: absolute; z-index: 1; left: 47.5%; top: 31.5%;
  width: 150px; height: 150px; transform: translate(-50%, -50%);
  pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,248,224,.95) 0%, rgba(255,240,190,.32) 6%, transparent 30%),
    radial-gradient(circle at 31% 50%, rgba(255,236,182,.5) 0%, transparent 9%),
    radial-gradient(circle at 16% 50%, rgba(196,214,255,.4) 0%, transparent 7%),
    radial-gradient(circle at 70% 50%, rgba(255,236,182,.35) 0%, transparent 7%);
  animation: flarePeak 7s ease-in-out infinite;
}
.hero-photo .beam-flare::before,
.hero-photo .beam-flare::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: linear-gradient(90deg, transparent, rgba(255,247,214,.85) 50%, transparent);
}
.hero-photo .beam-flare::before { width: 150px; height: 1.5px; }
.hero-photo .beam-flare::after { width: 1.5px; height: 96px; background: linear-gradient(180deg, transparent, rgba(255,247,214,.6) 50%, transparent); }
@keyframes flarePeak {
  0%, 42% { opacity: 0; }
  50%     { opacity: .55; }
  60%, 100% { opacity: 0; }
}
.hero-photo h1 .glow-text {
  color: #fff;
  animation: headlineGlow 7s ease-in-out infinite;
}
@keyframes headlineGlow {
  0%, 100% { color: #ffffff; text-shadow: 0 0 0 rgba(255,255,255,0); }
  50%      { color: #ffffff; text-shadow: 0 0 14px rgba(255,255,255,.75), 0 0 32px rgba(255,255,255,.35); }
}

/* ---------- Service cards (homepage) ---------- */
.svc-wrap { position: relative; padding-top: 58px; display: flex; flex-direction: column; }
.section-badge { width: 86px; height: 86px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.section-badge img { width: 50px; height: 50px; }
.section-heading-row { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1rem; }
.section-heading-row h2 { margin: 0; }
.svc-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(0,0,0,.18);
  z-index: 1;
}
.svc-badge svg { width: 50px; height: 50px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-wrap .card {
  flex: 1;
  padding-top: 72px;
  padding-left: clamp(1.6rem, 3vw, 2.2rem);
  padding-right: clamp(1.6rem, 3vw, 2.2rem);
  text-decoration: none; color: inherit; display: block;
}
.svc-wrap .card h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400; letter-spacing: 0;
  margin-bottom: .3rem;
}
.svc-wrap .card .card-kicker {
  color: #1cabc8;
  margin-top: .1rem;
  padding-bottom: .9rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid rgba(0,0,0,.09);
}
.svc-wrap .card p:not(.card-kicker) { font-size: .8rem; }
@media (max-width: 760px) {
  .svc-wrap { padding-top: 52px; }
  .svc-badge { width: 96px; height: 96px; }
  .svc-wrap .card { padding-top: 60px; }
}

/* ---------- Lens flare sweep ---------- */
.hero-photo .lens-sweep {
  position: absolute; z-index: 1;
  top: 31.5%; left: 0; width: 100%; height: 1px;
  pointer-events: none; overflow: visible;
}
.hero-photo .lens-streak {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,245,210,0) 5%,
    rgba(255,245,210,.55) 30%, rgba(255,255,255,.9) 50%,
    rgba(255,245,210,.55) 70%, rgba(255,245,210,0) 95%,
    transparent 100%
  );
  filter: blur(1.5px);
  mix-blend-mode: screen;
  opacity: 0;
  will-change: opacity;
  animation: lensStreak 7s linear infinite;
}
.hero-photo .lens-orb {
  position: absolute;
  top: 0; left: 0;
  width: 150px; height: 150px; margin: -75px 0 0 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,254,240,1) 0%, rgba(255,245,200,.7) 15%,
    rgba(255,234,165,.35) 40%, transparent 65%
  );
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  will-change: transform, opacity;
  animation: lensOrb 7s linear infinite;
}
.hero-photo .lens-ghost {
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px; margin: -30px 0 0 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(185,215,255,.85) 0%, rgba(165,200,255,.35) 35%, transparent 65%
  );
  filter: blur(5px);
  mix-blend-mode: screen;
  opacity: 0;
  will-change: transform, opacity;
  animation: lensGhost 7s linear infinite;
}
@keyframes lensStreak {
  /* opacity bell curve, centered at 50% (beam peak) */
  0%, 36%   { opacity: 0; }
  40%       { opacity: .3; }
  44%       { opacity: .6; }
  50%       { opacity: .9; }
  56%       { opacity: .6; }
  60%       { opacity: .3; }
  64%, 100% { opacity: 0; }
}
@keyframes lensOrb {
  /* position steps follow an ease-in-out curve so motion accelerates then decelerates naturally */
  0%    { opacity: 0;  transform: translateX(-15vw); }
  36%   { opacity: 0;  transform: translateX(-15vw); }
  40%   { opacity: .3; transform: translateX(-3vw);  }
  44%   { opacity: .7; transform: translateX(11vw);  }
  47%   { opacity: .9; transform: translateX(29vw);  }
  50%   { opacity: 1;  transform: translateX(47vw);  }
  53%   { opacity: .9; transform: translateX(65vw);  }
  56%   { opacity: .7; transform: translateX(82vw);  }
  60%   { opacity: .3; transform: translateX(98vw);  }
  64%   { opacity: 0;  transform: translateX(110vw); }
  100%  { opacity: 0;  transform: translateX(110vw); }
}
@keyframes lensGhost {
  0%    { opacity: 0;   transform: translateX(110vw); }
  36%   { opacity: 0;   transform: translateX(110vw); }
  40%   { opacity: .15; transform: translateX(98vw);  }
  44%   { opacity: .3;  transform: translateX(82vw);  }
  47%   { opacity: .4;  transform: translateX(65vw);  }
  50%   { opacity: .5;  transform: translateX(47vw);  }
  53%   { opacity: .4;  transform: translateX(29vw);  }
  56%   { opacity: .3;  transform: translateX(11vw);  }
  60%   { opacity: .15; transform: translateX(-3vw);  }
  64%   { opacity: 0;   transform: translateX(-15vw); }
  100%  { opacity: 0;   transform: translateX(-15vw); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s ease, transform .85s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Eyebrow line grow (works alongside .reveal fade-up) */
.eyebrow.reveal::before { width: 0; transition: width .55s ease .25s; }
.eyebrow.reveal.in-view::before { width: 26px; }
.eyebrow.no-line::before { display: none; }

/* ---------- Wave accent ---------- */
.wave-accent { display: block; width: 72px; height: auto; margin: 0 auto 1.6rem; }
.wave-accent.left { margin-left: 0; }

/* ---------- Statement section ---------- */
.statement { padding: clamp(6rem, 11vw, 10rem) 0; }
.statement .wave-accent { margin: 1.3rem auto; }
.statement .statement-h {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.1;
  color: var(--indigo); max-width: 18ch; margin: 0 auto;
  letter-spacing: .01em;
}
.statement .statement-sub {
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--muted);
  max-width: 46ch; margin: 1.2rem auto 0; line-height: 1.5; font-weight: 200;
}
.statement .statement-note {
  font-size: clamp(.95rem, 1.6vw, 1.12rem); color: var(--muted);
  max-width: 40ch; margin: .9rem auto 0; line-height: 1.55; font-weight: 300;
}

/* ---------- Cards / offers ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26,64,166,.10); border-color: var(--lilac); }
.card h3 { margin-bottom: .4rem; }
.card .price { font-family: var(--display); font-size: 1.5rem; color: var(--indigo); margin: .2rem 0 .6rem; }
.card .price small { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 500; }
.card-kicker { font-family: var(--body); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--teal-700); margin: .1rem 0 .7rem; }
.card p:not(.card-kicker) { font-size: .92rem; font-weight: 300; line-height: 1.65; }

/* Card inner styling */
.card-icon { width: 40px; height: 40px; margin-bottom: 1.1rem; }
.card-wave { display: block; width: 50px; height: auto; margin: .6rem 0 .9rem; opacity: .65; }

/* Solid colour cards */
.card.c-dark   { background: #1a40a6; border-color: #1a40a6; color: #fff; }
.card.c-purple { background: #7a5fe0; border-color: #7a5fe0; color: #fff; }
.card.c-light  { background: #1cabc8; border-color: #1cabc8; color: #16142e; }
.card.c-dark h3, .card.c-purple h3 { color: #fff; }
.card.c-dark p, .card.c-purple p { color: rgba(255,255,255,.92); }
.card.c-dark .card-kicker, .card.c-purple .card-kicker { color: rgba(255,255,255,.8); }
.card.c-light h3, .card.c-light p { color: #16142e; }
.card.c-light .card-kicker { color: #0e5566; }
.card.c-dark:hover, .card.c-purple:hover, .card.c-light:hover { border-color: rgba(255,255,255,.6); }
.card p:last-child { margin-bottom: 0; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--teal-700); background: var(--lilac-soft);
  padding: .25rem 1rem; border-radius: 999px; margin-bottom: .8rem;
}
.tag-amber { color: #8a5a00; background: #fdeccb; }

/* feature list with check */
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: .55rem; height: .3rem; border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

/* popular highlight */
.card-feature { border: 1.5px solid var(--indigo); position: relative; }
.card-feature::after {
  content: "Most popular"; position: absolute; top: -.8rem; left: 1.7rem;
  background: #1cabc8; color: #fff; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; padding: .25rem .7rem; border-radius: 999px;
}

/* ---------- Light blue section ---------- */
.section-blue { background: #1cabc8; position: relative; overflow: hidden; padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(6.5rem, 11vw, 10rem); }
.section-wave { position: absolute; left: 0; bottom: -1px; width: 200%; height: clamp(40px, 6vw, 72px); display: block; animation: waveFlow 16s linear infinite; will-change: transform; }
@keyframes waveFlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section-blue h2 { color: #fff; }
.section-blue .eyebrow { color: #ffffff; }
.section-blue .eyebrow::before { background: rgba(255,255,255,.85); }
.section-blue .lead { color: rgba(255,255,255,.92); font-size: .92rem; font-weight: 300; line-height: 1.65; max-width: 45ch; }
.section-blue .panel { background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.92) 18%, rgba(255,255,255,.92) 70%, transparent 100%); }

/* Why work with me list */
.why-title { font-family: var(--display); font-size: 1.65rem; color: #1cabc8; margin: 0 0 .6rem; text-align: center; text-transform: none; letter-spacing: .02em; }
.panel.why-panel { text-align: center; padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.why-list { list-style: none; margin: 0; padding: 0; display: inline-block; text-align: left; }
.why-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.4rem; color: var(--ink); line-height: 1.45; }
.why-list li:last-child { margin-bottom: 0; }
.why-list li > div { max-width: 25ch; }
.why-list strong { color: var(--ink); }
.why-h { display: block; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .75rem; color: #7a5fe0; margin-bottom: .15rem; }
.why-d { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.why-icon { flex: none; width: 24px; height: 24px; margin-top: 2px; }

/* ---------- Avatar ---------- */
.avatar {
  width: 132px; height: 132px; border-radius: 50%;
  background: #1cabc8; overflow: visible;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 1.4rem; box-shadow: 0 6px 20px rgba(28,171,200,.28);
}
.avatar span { font-family: var(--display); font-size: 2.8rem; color: #fff; }
.avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 42%;
  filter: grayscale(1); transition: filter .5s ease;
  clip-path: circle(50%);
  position: relative; z-index: 1;
}
.avatar:hover img { filter: grayscale(0); }
.avatar::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(255,255,255,.65) 0deg 1.5deg,
    transparent 1.5deg 45deg
  );
  -webkit-mask: radial-gradient(circle at center, transparent 63px, #000 69px);
  mask: radial-gradient(circle at center, transparent 63px, #000 69px);
  opacity: 0;
  transform: scale(0.7) rotate(22deg);
  transition: opacity .35s ease, transform .45s ease;
  z-index: 0;
}
.avatar:hover::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.panel { background: var(--lilac-soft); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }

/* portrait placeholder */
.portrait {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--indigo), var(--teal) 70%, var(--lilac));
  display: flex; align-items: flex-end; padding: 1.2rem; color: #fff;
  position: relative; overflow: hidden;
}
.portrait span { font-size: .85rem; opacity: .9; position: relative; z-index: 1; }
.portrait svg { position: absolute; right: -10px; bottom: -10px; width: 140px; height: 160px; opacity: .25; }

/* ---------- Work grid ---------- */
.work-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: transform .18s ease, box-shadow .18s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(61,53,166,.12); text-decoration: none; }
.work-thumb { aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-size: 1.1rem; }
.work-body { padding: 1.1rem 1.3rem 1.4rem; }
.work-body .tag { margin-bottom: .5rem; }
.work-body h3 { color: var(--ink); margin: 0 0 .25rem; }
.work-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.t1 { background: linear-gradient(135deg, #1a40a6, #1cabc8); }
.t2 { background: linear-gradient(135deg, #1cabc8, #143185); }
.t3 { background: linear-gradient(135deg, #7a5fe0, #a78bf0); }
.t4 { background: linear-gradient(135deg, #143185, #1cabc8); }
.t5 { background: linear-gradient(135deg, #1cabc8, #7a5fe0); }
.t6 { background: linear-gradient(135deg, #1a40a6, #a78bf0); }

/* ---------- Dark blue section ---------- */
.section-darkblue { background: var(--indigo); }
.section-darkblue h2 { color: #fff; }
.section-darkblue .eyebrow { color: #bfe7ef; }
.section-darkblue .eyebrow::before { background: #1cabc8; }
.section-darkblue .lead { color: rgba(255,255,255,.8); font-size: .92rem; }
.section-darkblue p { color: rgba(255,255,255,.75); }
.section-darkblue .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.section-darkblue .card h3 { color: #fff; }
.section-darkblue .card p { color: rgba(255,255,255,.72); }
.section-darkblue .card-kicker { color: #1cabc8; }
.section-darkblue .ticks li { color: rgba(255,255,255,.78); }
.section-darkblue .ticks li::before { border-color: #1cabc8; border-left-color: transparent; }
.section-darkblue .btn-ghost { background: transparent; border: 2px solid rgba(255,255,255,.55); color: #fff; }
.section-darkblue .btn-ghost:hover { border-color: #ffe7b0; color: #ffe7b0; box-shadow: 0 0 18px rgba(255,224,160,.45); }
/* Lilac soft section */
.section-lilac { background: var(--lilac-soft); }
/* Services icon lists */
.icon-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.icon-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.icon-list li svg { flex-shrink: 0; margin-top: 2px; color: #1cabc8; }
.section-darkblue .icon-list li { color: rgba(255,255,255,.75); }
.section-darkblue .icon-list li svg { color: #1cabc8; }
/* Services card icon */
.card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--lilac-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: #7a5fe0; flex-shrink: 0; }
.section-darkblue .card-icon { background: rgba(255,255,255,.1); color: #1cabc8; }

/* ---------- Featured work, editorial rows ---------- */
.feature-rows { display: flex; flex-direction: column; }
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(2.4rem, 5vw, 4rem) 0; }
.feature-row:first-child { padding-top: 0; }
.feature-row + .feature-row { border-top: 1px solid rgba(255,255,255,.2); }
.feature-row:hover { text-decoration: none; }
.feature-row-img img, .feature-row-img .feature-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; transition: transform .3s ease; }
.feature-row:hover .feature-row-img img { transform: scale(1.02); }
.feature-num { font-family: var(--display); font-size: 1.6rem; color: rgba(255,255,255,.5); display: block; margin-bottom: .4rem; }
.feature-row-text .tag { margin-bottom: .6rem; background: #1cabc8; color: #fff; }
.feature-row-text h3 { color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .1rem 0 .55rem; }
.feature-row-text p { color: rgba(255,255,255,.85); max-width: 42ch; margin: 0; font-size: .78rem; }
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 1rem; }
  .feature-row.reverse .feature-row-img { order: 0; }
}

/* ---------- Featured work (homepage) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 1.8rem); }
@media (max-width: 680px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.feature-card:hover { text-decoration: none; }
.feature-grid:not(.below) .feature-card { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M2 16 Q16 4 30 16 Q16 28 2 16Z' fill='white' stroke='black' stroke-width='1.5'/%3E%3Ccircle cx='16' cy='16' r='5.5' fill='black'/%3E%3Ccircle cx='13.5' cy='13.5' r='1.5' fill='white' opacity='.8'/%3E%3C/svg%3E") 16 16, pointer; }
.feature-card:hover img { transform: scale(1.03); }
.feature-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s ease; }
.feature-card .feature-ph { width: 100%; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; background: linear-gradient(135deg, #1a40a6, #7a5fe0 55%, #1cabc8); color: #fff; font-family: var(--display); font-size: 1.15rem; }
.feature-card .feature-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem 1.4rem; background: linear-gradient(to top, rgba(10,10,30,.82) 0%, rgba(10,10,30,.3) 55%, transparent 100%); transition: background .3s ease; }
.feature-card:hover .feature-body { background: linear-gradient(to top, rgba(26,64,166,.92) 0%, rgba(26,64,166,.55) 55%, rgba(26,64,166,.15) 100%); }
.feature-card .feature-num { font-family: var(--display); font-size: 1.2rem; color: rgba(255,255,255,.45); display: block; margin-bottom: .2rem; }
.feature-card h3 { color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin: .1rem 0 .4rem; letter-spacing: 0; }
.feature-card p { color: rgba(255,255,255,.75); font-size: .78rem; margin: 0; line-height: 1.55; }
.feature-card .tag { background: none; color: #1cabc8; padding: 0; margin-bottom: .25rem; border-radius: 0; font-size: .72rem; }

/* Selected work page — alternating image / text rows */
.feature-grid.below { grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.feature-grid.below .feature-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; overflow: visible; }
.feature-grid.below .feature-card img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; order: 1; transition: transform .4s ease; }
.feature-grid.below .feature-card:hover img { transform: scale(1.02); }
.feature-grid.below .feature-card .feature-body { position: static; background: none; padding: 2rem 0 0; order: 2; transition: none; align-items: flex-start; justify-content: center; }
.feature-grid.below .feature-card:hover .feature-body { background: none; }
.feature-grid.below .feature-card:nth-child(even) img { order: 2; }
.feature-grid.below .feature-card:nth-child(even) .feature-body { order: 1; }
.feature-grid.below .feature-card h3 { color: var(--indigo); font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.5vw, 3rem); margin: .5rem 0 .8rem; line-height: 1.1; }
.feature-grid.below .feature-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: 0; max-width: 32ch; }
.feature-grid.below .feature-card .tag { background: #1cabc8; color: #fff; padding: .28rem 1.1rem; border-radius: 999px; font-size: .72rem; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem; width: fit-content; }
@media (max-width: 680px) { .feature-grid.below .feature-card { grid-template-columns: 1fr; } .feature-grid.below .feature-card img, .feature-grid.below .feature-card:nth-child(even) img { order: 1; } .feature-grid.below .feature-card .feature-body, .feature-grid.below .feature-card:nth-child(even) .feature-body { order: 2; } }

/* Staggered text reveal inside each card */
.feature-grid.below .feature-card .feature-body .tag,
.feature-grid.below .feature-card .feature-body h3,
.feature-grid.below .feature-card .feature-body p { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.feature-grid.below .feature-card.in-view .feature-body .tag { opacity: 1; transform: none; transition-delay: .18s; }
.feature-grid.below .feature-card.in-view .feature-body h3  { opacity: 1; transform: none; transition-delay: .32s; }
.feature-grid.below .feature-card.in-view .feature-body p   { opacity: 1; transform: none; transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  .feature-grid.below .feature-card .feature-body .tag,
  .feature-grid.below .feature-card .feature-body h3,
  .feature-grid.below .feature-card .feature-body p { opacity: 1; transform: none; transition: none; }
}

.note-banner {
  background: var(--lilac-soft); border: 1px dashed var(--lilac);
  border-radius: 12px; padding: .9rem 1.2rem; font-size: .92rem; color: var(--muted);
  margin-bottom: 2rem;
}

/* ---------- Full-width CTA ---------- */
.cta-full { background: linear-gradient(135deg, #a78bf0, #7a5fe0); color: #fff; text-align: center; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.cta-full h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-full p { color: rgba(255,255,255,.9); max-width: 48ch; margin-inline: auto; }
.cta-pill { background: linear-gradient(135deg, #a78bf0, #7a5fe0); border-radius: 2rem; padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem); max-width: 860px; margin-inline: auto; }
.cta-pill h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-pill p { color: rgba(255,255,255,.9); max-width: 48ch; margin-inline: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 6vw, 3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 90% -10%, rgba(194,176,240,.35), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #cfc9ec; max-width: 48ch; margin-inline: auto; }
.cta-band .btn-primary { box-shadow: 0 6px 22px rgba(0,0,0,.3); }

/* ---------- Forms ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--mist); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,153,143,.15); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radios label {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .6rem .9rem; cursor: pointer; margin: 0;
  background: var(--mist); transition: border-color .15s, background .15s;
}
.radios label:hover { border-color: var(--lilac); }
.radios input { width: auto; accent-color: var(--teal); }
.form-aside { font-size: .95rem; color: var(--muted); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 720px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 0 1rem; }
.testimonial-card p { font-family: var(--display); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; color: var(--ink); margin: 0; }
.testimonial-card footer { font-size: .76rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.testimonial-card footer span { display: block; font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: .15rem; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { margin-bottom: 0; padding: 1.2rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.contact-detail:first-child { padding-top: 0; }
.contact-detail:last-child { border-bottom: none; padding-bottom: 0; }
.contact-detail .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-700); font-weight: 600; margin-bottom: .2rem; }

/* ---------- Project page ---------- */
.project-hero { background: var(--paper); }
.project-hero + .section-tight { padding-top: 1.4rem; }
.project-overview-wave { display: block; margin: .35rem 0 .7rem; }
.project-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-700); margin-bottom: 1.8rem; }
.project-back:hover { text-decoration: none; color: var(--indigo); }
.project-header-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.project-header-left h1 { max-width: 16ch; margin-bottom: .8rem; }
.project-header-right .lead { max-width: 60ch; margin-top: 0; font-size: .88rem; }
@media (max-width: 680px) { .project-header-grid { grid-template-columns: 1fr; } }
.project-hero .lead { max-width: 60ch; margin-top: 1rem; font-size: .88rem; }
.project-cats { list-style: none; padding: 0; margin: .8rem 0 0 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.project-cats li { color: #1cabc8; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; gap: .45rem; }
.project-cats li svg { flex-shrink: 0; opacity: .85; }
.project-hero .eyebrow {
  background: #1cabc8;
  color: #fff;
  border-radius: 999px;
  padding: .28rem 1.8rem;
  margin: .75rem 0 1.1rem;
  display: inline-flex;
  letter-spacing: .1em;
}
.project-hero .eyebrow::before { display: none; }
.project-gallery { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(1rem, 3vw, 1.8rem); }
.project-gallery img { width: 100%; border-radius: var(--radius); display: block; border: 1px solid var(--line); }

/* ---------- Project gallery viewer ---------- */
.gallery-viewer { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-main > img { width: 100%; height: auto; display: block; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 2px; }
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.gallery-thumb { height: 64px; width: auto; border-radius: 5px; cursor: pointer; opacity: .5; transition: opacity .2s ease; flex-shrink: 0; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: .8; }
.gallery-thumb.active { opacity: 1; outline: 2px solid #1cabc8; outline-offset: 2px; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.88); border: none; border-radius: 50%; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; line-height: 1; color: #1a40a6; cursor: pointer; z-index: 2; transition: background .2s, color .2s; padding-bottom: 2px; }
.gallery-arrow:hover { background: #fff; color: #7a5fe0; }
.gallery-prev { left: .9rem; }
.gallery-next { right: .9rem; }

/* ---------- How it works steps ---------- */
.steps-list { display: flex; flex-direction: column; gap: 1rem; max-width: 680px; }
.step-panel { display: grid; grid-template-columns: clamp(2.8rem, 9vw, 4.8rem) 1fr; gap: clamp(1rem, 3vw, 1.8rem); align-items: center; }
.step-figure {
  font-family: var(--display); font-weight: 400; line-height: .8;
  font-size: clamp(3rem, 9vw, 5rem);
  color: #1a40a6; /* fallback */
  background: linear-gradient(135deg, #1a40a6 0%, #a78bf0 52%, #1cabc8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center; letter-spacing: -.01em;
}
.step-body h3 { margin: 0; }

/* ---------- Wave-line background texture ---------- */
.section-waves {
  background-color: var(--lilac-soft);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='100'%20height='14'%3E%3Cpath%20d='M0%207%20q%2012.5%20-5%2025%200%20t%2025%200%20t%2025%200%20t%2025%200'%20fill='none'%20stroke='%237a5fe0'%20stroke-opacity='0.1'%20stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 100px 14px;
}

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #7a5fe0 0%, #1a40a6 100%); color: rgba(255,255,255,.8); padding: 0 0 2rem; margin-top: 0; position: relative; overflow: hidden; }
@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0); opacity: .4; }
  70%  { opacity: .18; }
  100% { transform: translateY(-600px) translateX(var(--drift,0px)); opacity: 0; }
}
.footer-bubble {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  animation: bubbleRise var(--dur,4s) ease-in forwards;
  pointer-events: none;
  z-index: 0;
}
.site-footer a { color: #fff; }
.footer-cta { text-align: center; padding: clamp(3rem, 6vw, 5rem) 1rem clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 3rem; }
.footer-cta h2 { font-family: var(--display); color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; max-width: 24ch; margin: 0 auto 1.8rem; line-height: 1.2; }
.site-footer a.footer-cta-btn { background: #fff; color: #1a40a6; border: none; font-weight: 500; transition: color .3s ease; }
.site-footer a.footer-cta-btn:hover { color: #7a5fe0; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-size: 1.3rem; color: #fff; }
.footer-brand svg { width: 24px; height: 28px; }
.footer-tag { color: #1cabc8; font-size: .78rem; margin-top: .6rem; max-width: 30ch; }
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: #1cabc8; margin: 0 0 .8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.85); font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .72rem; color: rgba(255,255,255,.55); display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: .5rem; }

/* focus visibility */
a:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline: 3px solid var(--lilac); outline-offset: 2px;
}
