/* ==========================================================================
   Rebecca Ramos · Freelance digital marketing
   Design tokens and values come from design_handoff_freelance_marketing_site/README.md
   ========================================================================== */

:root {
  /* Dark bands */
  --bg-dark: #12203A;
  --bg-page: #0B1220;
  --text: #EEF3FC;
  --text-muted: rgba(238, 243, 252, .66);
  --text-dim: rgba(238, 243, 252, .60);   /* alpha floor for muted text on dark */
  --accent: #A9C6FF;
  --accent-hover: #C8DBFF;
  --on-accent: #0B1428;
  --accent-deep: #5F86CC;
  --ok: #8FD9A8;

  /* Light bands */
  --bg-light: #EDF1F8;
  --text-on-light: #0E1A2E;
  --muted-on-light: rgba(14, 26, 46, .68); /* alpha floor for muted text on light */
  --accent-on-light: #1D4E89;
  --accent-on-light-hover: #24609F;
  --on-accent-light: #F4F8FF;
  --ok-on-light: #1B6B45;

  /* Error */
  --error: #E27468;

  /* Glow colours */
  --glow-blue: rgba(169, 198, 255, .20);
  --glow-blue-soft: rgba(169, 198, 255, .13);
  --glow-teal: rgba(120, 196, 214, .20);
  --glow-teal-soft: rgba(120, 196, 214, .14);
  --glow-indigo: rgba(120, 160, 230, .32);

  /* Glass, dark */
  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
  --glass-border: rgba(255, 255, 255, .09);
  --glass-blur: blur(20px) saturate(140%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 24px 50px -30px rgba(0, 0, 0, .85);

  /* Glass, dark, elevated */
  --glass-fill-elev: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  --glass-border-elev: rgba(255, 255, 255, .17);
  --glass-shadow-elev: inset 0 1px 0 rgba(255, 255, 255, .28), 0 28px 56px -30px rgba(0, 0, 0, .9);

  /* Glass, light */
  --glass-light-fill: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58));
  --glass-light-border: rgba(255, 255, 255, .95);
  --glass-light-blur: blur(22px) saturate(125%);
  --glass-light-shadow: inset 0 1px 0 #fff, 0 26px 50px -30px rgba(18, 38, 74, .4);

  /* Type */
  --font-sans: 'Instrument Sans', Helvetica, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --fs-display: clamp(2.5rem, 5.28vw, 4.75rem);   /* 40 → 76 */
  --fs-h2: clamp(1.8125rem, 3.19vw, 2.875rem);    /* 29 → 46 */
  --fs-h2-sm: clamp(1.6875rem, 2.36vw, 2.125rem); /* 27 → 34 */
  --fs-lead: clamp(1rem, 1.39vw, 1.25rem);        /* 16 → 20 */
  --fs-price: clamp(2.25rem, 3.06vw, 2.75rem);    /* 36 → 44 */
  --fs-price-lg: clamp(2.375rem, 3.33vw, 3rem);   /* 38 → 48 */
  --fs-body: clamp(.90625rem, .3vw + .8rem, 1rem);

  /* Layout */
  --gutter: clamp(1.375rem, 8.33vw, 7.5rem);      /* 22 → 120 */
  --content-max: 1200px;
  --rail-pad: max(var(--gutter), calc((100vw - var(--content-max)) / 2));

  /* Radii */
  --r-pill: 999px;
  --r-card: 22px;
  --r-tier: 24px;
  --r-panel: 26px;
  --r-frame: 28px;
  --r-btn: 14px;
  --r-input: 12px;
  --r-badge: 8px;

  /* Shadows */
  --cta-glow: 0 14px 34px -12px rgba(169, 198, 255, .55);
  --cta-glow-light: 0 14px 30px -12px rgba(29, 78, 137, .7);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;      /* clears the fixed nav pill */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: pretty; font-weight: 600; }
ul { list-style: none; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.band--light :focus-visible { outline-color: var(--accent-on-light); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--r-input);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  transition: top .18s var(--ease);
}

.skip-link:focus-visible { top: 20px; }

/* ==========================================================================
   Bands, glows, glass
   ========================================================================== */

.band {
  position: relative;
  overflow: hidden;
}

.band--dark { background: var(--bg-dark); }

.band--light {
  background: var(--bg-light);
  color: var(--text-on-light);
}

/* max-width covers the gutters too, so the content column itself lands at
   --content-max (1200px at the 1440px reference width). */
.band__inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--content-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Ambient radial glows. Glass needs something to blur or it reads as flat translucency. */
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.glow--blue   { background: radial-gradient(50% 50% at 50% 50%, var(--glow-blue), transparent 70%); }
.glow--teal   { background: radial-gradient(50% 50% at 50% 50%, var(--glow-teal), transparent 70%); }
.glow--indigo { background: radial-gradient(50% 50% at 50% 50%, var(--glow-indigo), transparent 70%); }

.glow--hero-top  { top: -260px; left: 50%; transform: translateX(-50%); width: 1400px; height: 900px; }
.glow--hero-left { top: 120px; left: -220px; width: 820px; height: 820px; }
.glow--services  { top: 40px; right: -260px; width: 900px; height: 900px; background: radial-gradient(50% 50% at 50% 50%, var(--glow-blue-soft), transparent 70%); }
.glow--clients-a { top: -220px; left: -160px; width: 760px; height: 760px; }
.glow--clients-b { bottom: -260px; right: -140px; width: 720px; height: 720px; background: radial-gradient(50% 50% at 50% 50%, rgba(120, 196, 214, .3), transparent 70%); }
.glow--pricing   { top: 60px; left: -200px; width: 900px; height: 900px; background: radial-gradient(50% 50% at 50% 50%, var(--glow-teal-soft), transparent 70%); }
.glow--about-a   { top: -240px; left: -180px; width: 780px; height: 780px; background: radial-gradient(50% 50% at 50% 50%, rgba(120, 160, 230, .3), transparent 70%); }
.glow--about-b   { bottom: -260px; right: -160px; width: 700px; height: 700px; background: radial-gradient(50% 50% at 50% 50%, rgba(120, 196, 214, .28), transparent 70%); }
.glow--contact   { top: 120px; right: -240px; width: 860px; height: 860px; background: radial-gradient(50% 50% at 50% 50%, var(--glow-blue-soft), transparent 70%); }

.glass {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass--elev {
  background: var(--glass-fill-elev);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  border-color: var(--glass-border-elev);
  box-shadow: var(--glass-shadow-elev);
}

.glass-light {
  background: var(--glass-light-fill);
  -webkit-backdrop-filter: var(--glass-light-blur);
  backdrop-filter: var(--glass-light-blur);
  border: 1px solid var(--glass-light-border);
  box-shadow: var(--glass-light-shadow);
}

/* ==========================================================================
   Shared type
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light { color: var(--accent-on-light); }

.section-title {
  margin-top: 16px;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 640px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 44px;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.section-head--center .section-title { max-width: 620px; }

.section-head__note {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 340px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; margin-top: 30px; padding: 14px; border-radius: var(--r-input); font-size: 15px; }
.btn--pill { padding: 11px 20px; border-radius: var(--r-pill); font-size: 14px; }

.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--cta-glow);
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(169, 198, 255, .7);
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn--accent-light {
  background: var(--accent-on-light);
  color: var(--on-accent-light);
  border-radius: 13px;
  box-shadow: var(--cta-glow-light);
}

.btn--accent-light:hover {
  background: var(--accent-on-light-hover);
  transform: translateY(-1px);
}

.link-underline {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-on-light);
  border-bottom: 1px solid rgba(29, 78, 137, .4);
  padding-bottom: 2px;
}

.link-underline:hover { border-bottom-color: var(--accent-on-light); }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-inline: 14px;
}

.nav__pill {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 12px 12px 12px 22px;
  border-radius: var(--r-pill);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}

/* Stronger fill once the hero has scrolled past, so the pill stays legible over content. */
.nav.is-scrolled .nav__pill {
  background: linear-gradient(180deg, rgba(18, 32, 58, .92), rgba(18, 32, 58, .82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 48px -24px rgba(0, 0, 0, .95);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logomark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  font: 600 12px var(--font-mono);
  color: var(--on-accent);
}

.logomark--sm { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; }

.nav__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: rgba(238, 243, 252, .68);
}

.nav__links a {
  padding: 2px 0;
  transition: color .16s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }

.nav__cta { flex: none; box-shadow: 0 8px 20px -8px rgba(169, 198, 255, .7); }
.nav__cta-short { display: none; }

.nav__toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  cursor: pointer;
  place-items: center;
}

.nav__burger,
.nav__burger::before,
.nav__burger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav__burger::before,
.nav__burger::after {
  content: '';
  position: absolute;
}

.nav__burger::before { transform: translateY(-6px); }
.nav__burger::after  { transform: translateY(6px); }

.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after  { transform: rotate(-45deg); }

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

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 190px 92px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  font: 500 11.5px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(238, 243, 252, .72);
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.hero__title {
  margin-top: 28px;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 960px;
}

.hero__lead {
  margin-top: 26px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 660px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
}

.trust__stats {
  font: 500 12.5px var(--font-mono);
  letter-spacing: .02em;
  color: var(--text-dim);
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 38px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services .band__inner { padding-block: 70px 40px; }

/* Six tracks, each card spanning two, so the five services sit 3 + 2 with the
   trailing pair centred instead of leaving a hole on the right. */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.services__grid > .card { grid-column: span 2; }
.services__grid > .card:nth-child(4) { grid-column: 2 / span 2; }

.card {
  border-radius: var(--r-card);
  padding: 28px;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 198, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 30px 60px -28px rgba(0, 0, 0, .9);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(169, 198, 255, .14);
  border: 1px solid rgba(169, 198, 255, .3);
  color: var(--accent);
}

.icon-tile svg { width: 24px; height: 24px; }

.card h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  letter-spacing: -.015em;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(238, 243, 252, .63);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.clients { padding-block: 90px 96px; }

.section-head--light { margin-bottom: 40px; }
.section-head--light .section-title { color: var(--text-on-light); }

.rail__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.rail__label {
  font: 500 11px var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.rail__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(14, 26, 46, .14);
  color: var(--text-on-light);
  cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(18, 38, 74, .5);
  transition: background .16s var(--ease), opacity .16s var(--ease);
}

.rail__arrow svg { width: 20px; height: 20px; }
.rail__arrow:hover { background: #fff; }

.rail__arrow[disabled] {
  opacity: .38;
  cursor: default;
}

.rail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 0 var(--rail-pad) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--rail-pad);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { display: none; }

.quote {
  box-sizing: border-box;
  flex: 0 0 min(440px, calc(100vw - 60px));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  padding: 30px;
}

.rail__spacer { flex: 0 0 60px; }

.metric {
  align-self: flex-start;
  padding: 6px 11px;
  border-radius: var(--r-badge);
  font: 500 12px var(--font-mono);
}

.metric--ok {
  background: rgba(27, 107, 69, .1);
  border: 1px solid rgba(27, 107, 69, .33);
  color: var(--ok-on-light);
}

.metric--info {
  background: rgba(29, 78, 137, .1);
  border: 1px solid rgba(29, 78, 137, .33);
  color: var(--accent-on-light);
}

.quote blockquote {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -.005em;
  color: var(--text-on-light);
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 26px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  font: 600 13px var(--font-mono);
  color: var(--on-accent);
}

.avatar--a { background: linear-gradient(150deg, rgba(169, 198, 255, .95), rgba(120, 196, 214, .9)); }
.avatar--b { background: linear-gradient(150deg, rgba(120, 196, 214, .95), rgba(169, 198, 255, .9)); }
.avatar--c { background: linear-gradient(150deg, rgba(169, 198, 255, .9), rgba(120, 196, 214, .85)); }
.avatar--d { background: linear-gradient(150deg, rgba(150, 220, 190, .9), rgba(169, 198, 255, .85)); }

.quote__name,
.quote__role { display: block; font-size: 14px; line-height: 1.35; }
.quote__name { font-weight: 600; color: var(--text-on-light); }
.quote__role { color: var(--muted-on-light); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing .band__inner { padding-block: 100px 40px; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.tier {
  position: relative;
  border-radius: var(--r-tier);
  padding: 32px;
  margin-top: 22px;              /* lets the featured tier sit higher */
  transition: border-color .18s var(--ease);
}

.tier:hover { border-color: rgba(255, 255, 255, .2); }

.tier--featured {
  margin-top: 0;
  padding: 34px;
  border-color: rgba(169, 198, 255, .5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 0 0 1px rgba(169, 198, 255, .1),
    0 40px 80px -34px rgba(0, 0, 0, .95),
    0 0 90px -30px rgba(169, 198, 255, .4);
}

.tier--featured:hover { border-color: rgba(169, 198, 255, .75); }

.tier__badge {
  position: absolute;
  top: -13px;
  left: 34px;
  padding: 6px 12px;
  border-radius: var(--r-badge);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 11.5px var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tier__name { font-size: 17px; }

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.tier__amount {
  font-size: var(--fs-price);
  font-weight: 600;
  letter-spacing: -.035em;
}

.tier__amount--lg { font-size: var(--fs-price-lg); }

.tier__unit { font-size: 14px; color: var(--text-dim); }

.tier__desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(238, 243, 252, .63);
}

.tier--featured .tier__desc { color: rgba(238, 243, 252, .7); }

.tier__rule {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, .09);
  margin: 26px 0;
}

.tier--featured .tier__rule { background: rgba(255, 255, 255, .14); }

.tier__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(238, 243, 252, .82);
}

.tier__list--bright { color: var(--text); }

.tier__list li {
  display: flex;
  gap: 11px;
}

.tier__list li::before {
  content: '✓';
  color: var(--accent);
  flex: none;
}

.pricing__footnote {
  margin-top: 32px;
  text-align: center;
  font-size: 15.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   About
   ========================================================================== */

.about .band__inner { padding-block: 96px 100px; }

.about__grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: center;
}

.portrait {
  position: relative;
  padding: 14px;
  border-radius: var(--r-frame);
}

.portrait__img {
  width: 100%;
  aspect-ratio: 452 / 560;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.portrait__chip {
  position: absolute;
  bottom: 34px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(14, 26, 46, .62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .18);
  font: 500 12.5px var(--font-mono);
  letter-spacing: .04em;
  color: var(--text);
  pointer-events: none;
}

.portrait__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7FE0A8;
  flex: none;
}

.about__title { color: var(--text-on-light); max-width: 560px; }

.about__para {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(14, 26, 46, .78);
  max-width: 560px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(14, 26, 46, .14);
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.facts dt {
  font: 500 10.5px var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

.facts dd {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-on-light);
}

.about__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

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

.contact .band__inner { padding-block: 100px 40px; }

.contact__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact__panel {
  border-radius: var(--r-panel);
  padding: 40px;
}

.contact__title {
  font-size: var(--fs-h2-sm);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.contact__sub {
  margin: 12px 0 30px;
  font-size: 1rem;
  color: rgba(238, 243, 252, .65);
  max-width: 460px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field--full { margin-top: 18px; }

.field label {
  font-size: 13.5px;
  color: rgba(238, 243, 252, .7);
}

.field__label-row {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.field__optional { color: var(--text-dim); }

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border-radius: var(--r-input);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  color: var(--text);
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
  transition: background .16s var(--ease), border-color .16s var(--ease);
  width: 100%;
}

.field textarea {
  line-height: 1.55;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(238, 243, 252, .38); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  background: rgba(255, 255, 255, .09);
}

.select-wrap { position: relative; display: flex; }

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
}

.select-wrap select option {
  background: var(--bg-dark);
  color: var(--text);
}

.select-wrap__caret {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
}

/* Inline validation */
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgba(226, 116, 104, .55);
  background: rgba(226, 116, 104, .1);
}

.field__error {
  font-size: 13px;
  color: var(--error);
}

.form__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.form__note { font-size: 13.5px; color: var(--text-dim); }

#form-submit[disabled] { cursor: progress; opacity: .8; transform: none; }

.spinner {
  display: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(11, 20, 40, .3);
  border-top-color: var(--on-accent);
  animation: spin .7s linear infinite;
}

#form-submit.is-busy .spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-block: 20px 10px;
}

.form__success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(143, 217, 168, .16);
  border: 1px solid rgba(143, 217, 168, .4);
  color: var(--ok);
}

.form__success-mark svg { width: 24px; height: 24px; }
.form__success h3 { font-size: 22px; letter-spacing: -.02em; }
.form__success p { color: var(--text-muted); font-size: 15px; }
.form__success a { color: var(--accent); border-bottom: 1px solid rgba(169, 198, 255, .4); }

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  border-radius: 20px;
  padding: 26px;
}

.info-card__label {
  font: 500 11px var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.info-card__value {
  margin-top: 9px;
  font-size: 17px;
  font-weight: 600;
  word-break: break-word;
}

.info-card__value a:hover { color: var(--accent); }

.info-card__meta {
  margin-top: 5px;
  font-size: 14px;
  color: var(--text-dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip-link {
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  transition: background .16s var(--ease);
}

.chip-link:hover { background: rgba(255, 255, 255, .13); }

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

.footer {
  background: var(--bg-dark);
  padding: 56px 40px 40px;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: calc(var(--content-max) + 160px);
  margin-inline: auto;
  padding: 30px 44px;
  border-radius: var(--r-tier);
}

.footer__name { font-size: 14.5px; font-weight: 600; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 14px;
  color: rgba(238, 243, 252, .62);
}

.footer__links a:hover { color: var(--text); }

.footer__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a:hover { color: var(--text); }

/* ==========================================================================
   Entrance reveals
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

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

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

@media (max-width: 1199px) {
  /* Two per row: 2 + 2 + 1, with the last card centred. */
  .services__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid > .card:nth-child(4) { grid-column: span 2; }
  .services__grid > .card:nth-child(5) { grid-column: 2 / span 2; }

  .contact__grid,
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__grid { align-items: start; }
  .portrait { max-width: 420px; }
}

@media (max-width: 979px) {
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 20px;
    /* Opaque, not glass. The menu sits over the hero headline and has to stay readable. */
    background: linear-gradient(180deg, #172843, #12203A);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--glass-border-elev);
    box-shadow: var(--glass-shadow-elev);
    font-size: 16px;
  }

  .nav__links:not(.is-open) { display: none; }
  .nav__links a { padding: 12px 14px; border-radius: 12px; }
  .nav__links a:hover { background: rgba(255, 255, 255, .07); }

  .nav {
    top: 14px;
    padding-inline: 14px;
  }

  .nav__pill {
    position: relative;
    width: 100%;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    justify-content: space-between;
  }

  .nav__toggle { display: grid; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .nav__cta { margin-left: auto; }

  .hero__inner { padding-block: 104px 56px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head__note { max-width: none; }
  .section-head--center { align-items: center; }

  .pricing__grid { grid-template-columns: 1fr; gap: 26px; }
  .tier { margin-top: 0; }
  .tier--featured { margin-top: 4px; }

  .form__grid { grid-template-columns: 1fr; }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__grid > .card,
  .services__grid > .card:nth-child(4),
  .services__grid > .card:nth-child(5) { grid-column: auto; }

  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; padding-block: 16px; }

  .trust__logos { gap: 18px 24px; font-size: 12.5px; }
  .trust__stats { font-size: 11px; text-align: center; }

  .clients { padding-block: 64px 72px; }
  .about .band__inner,
  .contact .band__inner { padding-block: 64px 32px; }
  .pricing .band__inner { padding-block: 64px 32px; }
  .services .band__inner { padding-block: 56px 32px; }

  .contact__panel { padding: 26px; }
  .quote { padding: 24px; }
  .quote blockquote { font-size: 16.5px; }
  .about__para { font-size: 16px; }
  .facts { gap: 26px; }
  .footer { padding: 40px 16px 24px; }
}

/* Keep tap targets at 44px minimum on touch devices. */
@media (hover: none) {
  .btn,
  .rail__arrow,
  .chip-link { min-height: 44px; }

  .nav__toggle { width: 44px; height: 44px; }
}

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

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

  .reveal { opacity: 1; transform: none; }
}
