/* ==========================================================================
   Devlyt Solutions — design system
   Warm cream ground, burnt-orange gradient primary, forest-green secondary.
   Dimensional minimalism: soft shadows, generous radii, floating artwork.
   ========================================================================== */

:root {
  /* ---- Material palette, taken verbatim from the supplied config ---- */

  --ink:        #0B1C30;   /* on-surface            */
  --ink-2:      #464554;   /* on-surface-variant    */
  --ink-3:      #5D5C6D;
  --ink-4:      #767586;   /* outline               */
  --line:       #DCE9FF;   /* surface-container-high */
  --line-soft:  #EFF4FF;   /* surface-container-low  */
  --line-warm:  #C7C4D7;   /* outline-variant        */
  --paper:      #F8F9FF;   /* surface / background   */
  --surface:    #FFFFFF;   /* surface-container-lowest */
  --surface-2:  #EFF4FF;   /* surface-container-low  */
  --surface-3:  #E5EEFF;   /* surface-container      */
  --surface-4:  #D3E4FE;   /* surface-variant        */

  /* Primary — indigo */
  --brand:      #4648D4;   /* primary                */
  --brand-hot:  #6063EE;   /* primary-container      */
  --brand-ink:  #2F2EBE;   /* on-primary-fixed-variant */
  --brand-deep: #07006C;   /* on-primary-fixed       */
  --brand-soft: #E1E0FF;   /* primary-fixed          */
  --brand-line: #C0C1FF;   /* primary-fixed-dim      */
  --grad:       linear-gradient(135deg, #6063EE 0%, #4648D4 100%);

  /* Secondary — magenta */
  --pink:       #B4136D;   /* secondary              */
  --pink-hot:   #FD56A7;   /* secondary-container    */
  --pink-deep:  #600037;   /* on-secondary-container */
  --pink-soft:  #FFD9E4;   /* secondary-fixed        */
  --pink-line:  #FFB0CD;   /* secondary-fixed-dim    */

  /* Tertiary — green */
  --green:      #006C49;   /* tertiary               */
  --green-hot:  #00885D;   /* tertiary-container     */
  --green-ink:  #005236;   /* on-tertiary-fixed-variant */
  --green-deep: #002113;   /* on-tertiary-fixed      */
  --green-soft: #6FFBBE;   /* tertiary-fixed         */
  --green-line: #4EDEA3;   /* tertiary-fixed-dim     */

  /* Aliases kept so existing rules resolve */
  --teal: var(--green); --teal-ink: var(--green-ink);
  --teal-soft: var(--green-soft); --teal-line: var(--green-line);
  --violet: var(--pink); --violet-soft: var(--pink-soft);
  --amber: var(--pink); --amber-soft: var(--pink-soft);

  /* CTA strip + footer */
  --dark:       #DCE9FF;   /* surface-container-high */
  --dark-2:     #FFFFFF;   /* surface-container-lowest */
  --dark-line:  #C7C4D7;
  --dark-ink:   #0B1C30;
  --dark-ink-2: #464554;

  /* Inverse (dark panels) */
  --inverse:    #213145;
  --inverse-on: #EAF1FF;

  /* Semantic */
  --ok:      #006C49;
  --warn:    #8A5300;
  --err:     #BA1A1A;   /* error            */
  --ok-bg:   #C4F5DF;
  --warn-bg: #FBEFD9;
  --err-bg:  #FFDAD6;   /* error-container  */
  --star:    #F5A524;

  /* Illustration glows */
  --glow-orange: rgba(70, 72, 212, 0.10);
  --glow-green:  rgba(0, 108, 73, 0.09);

  --code-bg: #EFF4FF;

  /* Type */
  --f-display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-label:   "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --f-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Fluid type scale */
  --t--1: clamp(0.78rem, 0.76rem + 0.10vw, 0.88rem);
  --t-0:  clamp(1.00rem, 0.97rem + 0.16vw, 1.10rem);
  --t-1:  clamp(1.10rem, 1.04rem + 0.28vw, 1.30rem);
  --t-2:  clamp(1.35rem, 1.18rem + 0.72vw, 2.00rem);
  --t-3:  clamp(1.70rem, 1.36rem + 1.42vw, 2.75rem);
  --t-4:  clamp(2.10rem, 1.56rem + 2.30vw, 3.75rem);
  --t-5:  clamp(2.45rem, 1.60rem + 3.70vw, 5.00rem);

  /* Space */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;

  --section-y: clamp(3.5rem, 7vw, 7.5rem);
  --wrap:      1280px;
  --gutter:    clamp(1rem, 3.5vw, 1.5rem);
  --radius:    24px;
  --radius-lg: 32px;
  --radius-sm: 14px;

  /* "soft" from the supplied config, plus a lighter and a deeper step */
  --shadow-1: 0 1px 3px rgba(70, 72, 212, 0.06);
  --shadow-2: 0 8px 30px rgba(70, 72, 212, 0.10);
  --shadow-3: 0 20px 50px rgba(11, 28, 48, 0.12);
  --shadow-brand: 0 10px 26px rgba(70, 72, 212, 0.30);

  /* Legacy aliases so shared components keep working */
  --shadow-sm: var(--shadow-1);
  --shadow-md: var(--shadow-3);
}

/*
 * Dark mode uses Material's own "fixed-dim" and inverse roles, so the hues
 * stay the supplied ones and only the surfaces flip.
 *
 * Opt-in only. This block fires when the theme switch writes
 * data-theme="dark" and at no other time — deliberately NOT on
 * prefers-color-scheme, because the palette this site is built in is a light
 * one and a visitor whose laptop is in dark mode should still see the site as
 * it was designed unless they ask for otherwise.
 */
:root[data-theme="dark"] {
  --ink: #EAF1FF; --ink-2: #C7C4D7; --ink-3: #A6A3B6; --ink-4: #767586;
  --line: #2A3A50; --line-soft: #1D2A3C; --line-warm: #3A4358;
  --paper: #0B1220; --surface: #131C2C; --surface-2: #182233;
  --surface-3: #1E2A3C; --surface-4: #253347;
  --brand: #C0C1FF; --brand-hot: #A8A9FF; --brand-ink: #E1E0FF;
  --brand-deep: #E1E0FF; --brand-soft: #1F2050; --brand-line: #33357A;
  --grad: linear-gradient(135deg, #6063EE 0%, #4648D4 100%);
  --pink: #FFB0CD; --pink-hot: #FD56A7; --pink-deep: #FFD9E4;
  --pink-soft: #45072A; --pink-line: #6B0F42;
  --green: #4EDEA3; --green-hot: #6FFBBE; --green-ink: #6FFBBE;
  --green-deep: #002113; --green-soft: #08301F; --green-line: #0E5238;
  --dark: #131C2C; --dark-2: #0B1220; --dark-line: #2A3A50;
  --dark-ink: #EAF1FF; --dark-ink-2: #A6A3B6;
  --inverse: #EAF1FF; --inverse-on: #213145;
  --ok: #4EDEA3; --ok-bg: #08301F;
  --warn: #E3A857; --warn-bg: #2C2213;
  --err: #FFB4AB; --err-bg: #3A1614;
  --star: #F5A524;
  --glow-orange: rgba(96, 99, 238, 0.16);
  --glow-green: rgba(78, 222, 163, 0.10);
  --code-bg: #182233;
  --shadow-1: 0 1px 3px rgba(0,0,0,0.45);
  --shadow-2: 0 8px 30px rgba(0,0,0,0.45);
  --shadow-3: 0 20px 50px rgba(0,0,0,0.6);
  --shadow-brand: 0 10px 26px rgba(96, 99, 238, 0.28);
}

/* 4K / ultrawide */
@media (min-width: 2560px) { :root { --wrap: 1600px; font-size: 19px; } }
@media (min-width: 3400px) { :root { --wrap: 1860px; font-size: 21px; } }

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

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

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

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

body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: var(--t-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

a { color: var(--brand); text-underline-offset: 2px; }

:focus-visible { outline: 2px solid var(--brand-hot); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-hot); color: #fff;
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-weight: 700;
}

h1 { font-size: var(--t-5); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; }
h2 { font-size: var(--t-4); letter-spacing: -0.02em; line-height: 1.12; }
h3 { font-size: var(--t-2); }
h4 { font-size: var(--t-1); }

p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

/* Gradient text — the reference's signature headline treatment */
.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Mono uppercase label */
.eyebrow {
  display: inline-block;
  font-family: var(--f-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-4);
}

.pill-label {
  display: inline-block;
  font-family: var(--f-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: var(--s-5);
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

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

.section-head { margin-bottom: clamp(2.25rem, 4vw, 4rem); max-width: 62ch; }

.section-head--split { display: grid; gap: var(--s-5); max-width: none; align-items: end; }
@media (min-width: 860px) {
  .section-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-8); }
}

.section-head__title { margin-bottom: var(--s-4); }
.section-head__title:last-child { margin-bottom: 0; }
.section-head__intro { font-size: var(--t-1); color: var(--ink-3); max-width: 54ch; line-height: 1.62; }

/* Centred heads on the marketing bands */
.services-section .section-head,
.journey-section .section-head,
.process-section .section-head,
.testimonials .section-head,
.faqs .section-head {
  margin-inline: auto;
  text-align: center;
}
.services-section .section-head--split,
.journey-section .section-head--split,
.process-section .section-head--split { text-align: left; }
.testimonials .section-head__intro, .faqs .section-head__intro { margin-inline: auto; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--f-display);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; color: var(--brand); white-space: nowrap;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg { transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--f-display);
  font-weight: 600; font-size: 1rem; line-height: 1.25;
  padding: 0.95em 1.85em;
  border-radius: 100px;
  border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary, .btn--accent {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn--primary:hover, .btn--accent:hover {
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}
.btn--primary:active, .btn--accent:active {
  box-shadow: 0 2px 5px rgba(70, 72, 212, 0.2);
  transform: translateY(0);
}

.btn--outline, .btn--ghost-light {
  border-color: var(--line-warm);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover, .btn--ghost-light:hover {
  background: var(--surface-3);
  border-color: var(--brand-line);
}

.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { opacity: 0.88; transform: translateY(-2px); }

.btn--sm { padding: 0.65em 1.3em; font-size: 0.88rem; border-width: 1.5px; }
.btn--lg { padding: 1.05em 2.1em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ==========================================================================
   Header — glass
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 62%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}

.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--brand-hot); flex-shrink: 0; }
.brand__mark { display: block; line-height: 0; }
.brand__text {
  font-family: var(--f-display);
  font-weight: 800; font-size: 1.22rem;
  letter-spacing: -0.03em; color: var(--ink);
}
.brand__img { width: auto; height: 32px; }

.nav { margin-left: auto; display: none; }
@media (min-width: 1020px) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; gap: 0.4rem; list-style: none; padding: 0; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 1rem; font-weight: 400;
  color: var(--ink-2); text-decoration: none;
  padding: 0.55rem 0.85rem; border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: var(--brand); }
.nav__link.is-active { color: var(--brand); font-weight: 600; }

.nav__chev { transition: transform 0.2s ease; }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 290px; z-index: 20; }
.dropdown__inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  padding: 0.5rem;
  display: flex; flex-direction: column; gap: 1px;
}
.dropdown__link {
  display: block; padding: 0.65rem 0.95rem; border-radius: var(--radius-sm);
  font-size: 0.94rem; color: var(--ink-2); text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown__link:hover, .dropdown__link.is-active { background: var(--brand-soft); color: var(--brand); }

.dropdown__all {
  display: flex; align-items: center; gap: 0.4rem;
  margin-top: 0.35rem; padding: 0.65rem 0.95rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-display); font-size: 0.86rem; font-weight: 600;
  color: var(--brand); text-decoration: none;
}

.site-header__actions { display: flex; align-items: center; gap: 0.65rem; margin-left: auto; }
@media (min-width: 1020px) { .site-header__actions { margin-left: 0; } }
.site-header__actions .btn { display: none; }
@media (min-width: 620px) { .site-header__actions .btn { display: inline-flex; } }

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  border-radius: 100px; border: 1.5px solid var(--line-warm);
}
@media (min-width: 1020px) { .burger { display: none; } }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.22s ease, opacity 0.18s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: var(--s-5) var(--gutter) var(--s-6);
  max-height: calc(100dvh - 80px); overflow-y: auto;
}
@media (min-width: 1020px) { .drawer { display: none !important; } }
.drawer__nav ul { list-style: none; padding: 0; }
.drawer__nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.drawer__link {
  display: block; padding: 0.9rem 0;
  font-family: var(--f-display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.drawer__link.is-active { color: var(--brand); }
.drawer__sub { padding: 0 0 0.9rem 0.9rem !important; display: flex; flex-direction: column; gap: 0.6rem; }
.drawer__sub a { font-size: 0.95rem; color: var(--ink-3); text-decoration: none; }
.drawer .btn { margin-top: var(--s-5); }

/* ==========================================================================
   Artwork — floating illustration with a breathing cast shadow
   ========================================================================== */

.art { position: relative; display: flex; flex-direction: column; align-items: center; }

.art__glow {
  position: absolute; inset: 6% 4% 14%;
  background: var(--glow-orange);
  border-radius: 50%;
  filter: blur(52px);
  z-index: 0;
}

.art__img {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  max-width: 520px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.12));
}

.art__shadow {
  display: block;
  width: 62%; height: 26px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0) 70%);
  transform: scaleY(0.5);
  animation: shadow-breathe 6s ease-in-out infinite;
}

.floating { animation: float 6s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: scaleY(0.5) scaleX(1);   opacity: 0.8; }
  50%      { transform: scaleY(0.5) scaleX(0.8); opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .floating, .art__shadow { animation: none; }
}

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

.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }

.hero__glow {
  position: absolute; inset: -25% -10% auto 40%;
  width: min(900px, 90vw); aspect-ratio: 1;
  background: var(--glow-orange);
  border-radius: 50%; filter: blur(70px);
  z-index: -1; pointer-events: none;
}

.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); }
}

.hero__inner { max-width: 36rem; }
.hero__title { margin-bottom: var(--s-5); }
.hero__line { display: block; }

.hero__sub { font-size: 1.125rem; line-height: 1.72; color: var(--ink-3); max-width: 34rem; margin-bottom: var(--s-6); }

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

/* Stats read as a checkmark feature line */
.hero__stats {
  display: flex; flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.hero__stat { display: inline-flex; align-items: baseline; gap: 0.4rem; position: relative; padding-left: 1.55rem; }
.hero__stat::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad) center / 10px no-repeat,
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.8' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.hero__stat dt { order: 2; font-size: 0.95rem; color: var(--ink-2); }
.hero__stat dd {
  order: 1; margin: 0;
  font-family: var(--f-display); font-size: 0.98rem; font-weight: 700;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.hero__stat dd span { color: var(--brand-hot); }

/* ==========================================================================
   Client logos
   ========================================================================== */

.logos { padding-block: var(--s-6); border-block: 1px solid var(--line); background: var(--surface-2); }
.logos__label {
  text-align: center;
  font-family: var(--f-label); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: var(--s-5);
}
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 4.5vw, 3.25rem); list-style: none; padding: 0; }
.logos__row img { opacity: 0.5; filter: grayscale(1); transition: opacity 0.2s ease, filter 0.2s ease; }
.logos__row li:hover img { opacity: 1; filter: none; }
.logos__name { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--ink-4); letter-spacing: -0.01em; }

/* ==========================================================================
   Bento grid — services
   ========================================================================== */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }

.bento__card {
  grid-column: span 12;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.bento__card:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }

@media (min-width: 860px) {
  .bento__card--lg { grid-column: span 8; min-height: 280px; }
  .bento__card--sm { grid-column: span 4; min-height: 280px; }
}

.bento__card--lg { background: var(--surface-2); }

.bento__blob {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.bento__card--lg:nth-of-type(odd)  .bento__blob { background: var(--glow-orange); top: -80px; right: -70px; }
.bento__card--lg:nth-of-type(even) .bento__blob { background: var(--glow-green);  bottom: -80px; right: -70px; }

.bento__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: var(--s-5); align-items: flex-start; }

.bento__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  margin-bottom: var(--s-4);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line-soft);
  color: var(--brand-hot);
}
.bento__card--lg .bento__icon { background: var(--surface); }
.bento__card--sm .bento__icon { background: var(--surface-2); }
.bento__icon svg { width: 28px; height: 28px; }
.bento__card--growth   .bento__icon { color: var(--green); }
.bento__card--digital  .bento__icon { color: var(--brand-hot); }
.bento__card--creative .bento__icon { color: var(--amber); }

.bento__title { font-size: var(--t-2); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.bento__card--sm .bento__title { font-size: 1.5rem; }
.bento__desc { font-size: 1rem; line-height: 1.62; color: var(--ink-3); max-width: 34ch; }

.bento__art {
  flex-shrink: 0;
  width: clamp(120px, 16vw, 190px);
  display: none;
}
@media (min-width: 700px) { .bento__art { display: block; } }
.bento__art img { width: 100%; height: auto; transition: transform 0.4s ease; }
.bento__card:hover .bento__art img { transform: translateY(-8px) scale(1.03); }

.bento__more {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: var(--s-5);
  font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
  color: var(--brand);
}
.bento__card--growth   .bento__more { color: var(--green); }
.bento__card--creative .bento__more { color: var(--amber); }
.bento__more svg { transition: transform 0.2s ease; }
.bento__card:hover .bento__more svg { transform: translateX(4px); }

/* ==========================================================================
   Services (grid used on the services index)
   ========================================================================== */

.svc-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.svc-group:last-child { margin-bottom: 0; }

.svc-group__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-4);
  padding-bottom: var(--s-4); margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.svc-group__name {
  font-size: var(--t-1); font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
  position: relative; padding-left: 1.1rem;
}
.svc-group__name::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--group-accent, var(--brand-hot));
}
.svc-group__desc { color: var(--ink-3); font-size: 0.95rem; max-width: 48ch; }

.svc-group[data-accent="growth"]   { --group-accent: var(--green); }
.svc-group[data-accent="digital"]  { --group-accent: var(--brand-hot); }
.svc-group[data-accent="creative"] { --group-accent: var(--amber); }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); gap: 1.5rem; }

.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 0.55rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  text-decoration: none; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.svc-card[data-accent="growth"]   { --card-accent: var(--green); }
.svc-card[data-accent="digital"]  { --card-accent: var(--brand-hot); }
.svc-card[data-accent="creative"] { --card-accent: var(--amber); }

.svc-card__rule {
  position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--card-accent, var(--brand-hot));
  transform: scaleY(0); transform-origin: top; transition: transform 0.25s ease;
}
.svc-card:hover .svc-card__rule { transform: scaleY(1); }

.svc-card__title { font-size: var(--t-1); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.svc-card__tagline { font-size: 0.86rem; font-weight: 600; color: var(--card-accent, var(--brand)); }
.svc-card__desc { font-size: 0.95rem; color: var(--ink-3); line-height: 1.6; flex: 1; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--f-display); font-size: 0.9rem; font-weight: 600;
  color: var(--brand); margin-top: 0.35rem;
}
.svc-card__more svg { transition: transform 0.2s ease; }
.svc-card:hover .svc-card__more svg { transform: translateX(3px); }

/* ==========================================================================
   Growth journey
   ========================================================================== */

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

.journey { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; }
.journey__step { display: flex; align-items: center; gap: 0.5rem; }

.journey__node {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px; text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a.journey__node:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.journey__num { font-family: var(--f-label); font-size: 0.72rem; font-weight: 600; color: var(--brand-hot); }
.journey__label { font-family: var(--f-display); font-size: 0.92rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.journey__arrow { color: var(--ink-4); flex-shrink: 0; }
.journey__node--goal { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-brand); }
.journey__node--goal .journey__label { color: #fff; }

/* ==========================================================================
   Why grid
   ========================================================================== */

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.5rem; }
.why {
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.why:nth-child(4n+2), .why:nth-child(4n+3) { background: var(--surface-2); }
.why__title { font-size: 1.25rem; margin-bottom: 0.6rem; font-weight: 700; }
.why p { font-size: 0.97rem; color: var(--ink-3); line-height: 1.65; }

/* ==========================================================================
   Results / metrics
   ========================================================================== */

.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.result-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.result-card > a { display: block; padding: clamp(1.6rem, 3vw, 2.25rem); text-decoration: none; }
.result-card__eyebrow {
  display: inline-block;
  font-family: var(--f-label); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  border-radius: 100px; padding: 0.28rem 0.75rem; margin-bottom: 0.9rem;
}
.result-card__title { font-size: var(--t-2); margin-bottom: 0.6rem; }
.result-card__desc { font-size: 0.98rem; color: var(--ink-3); margin-bottom: var(--s-5); }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.metric { display: flex; flex-direction: column; }
.metric__value {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums; margin: 0;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.metric__label { font-size: 0.85rem; color: var(--ink-3); margin-top: 0.4rem; line-height: 1.4; }
.metric__time { font-size: 0.75rem; color: var(--ink-4); margin: 0.15rem 0 0; }

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

.process-section { background: var(--surface-2); border-block: 1px solid var(--line); }
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: var(--s-5) var(--s-6); list-style: none; padding: 0; }
.process__step { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); align-items: start; }
.process__num {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow-1);
  border: 1px solid var(--line-soft);
  font-family: var(--f-label); font-size: 0.82rem; font-weight: 600;
  color: var(--brand-hot); flex-shrink: 0;
}
.process__title { font-size: 1.2rem; margin-bottom: 0.4rem; }
.process__body { font-size: 0.96rem; color: var(--ink-3); line-height: 1.65; }

/* ==========================================================================
   Industries
   ========================================================================== */

.industries { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; }
.industries li {
  padding: 0.6rem 1.2rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.94rem; color: var(--ink-2);
  transition: all 0.18s ease;
}
.industries li:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand); }

.industries-panel {
  background: var(--surface-3);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.industries-panel .section-head { margin-inline: auto; text-align: center; }
.industries-panel .section-head__intro { margin-inline: auto; }
.industries-panel .industries { justify-content: center; }

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

.testimonials { background: var(--surface-2); border-block: 1px solid var(--line); }

.testimonials__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) {
  .testimonials__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
}
.testimonials--split .section-head { text-align: left; margin-inline: 0; margin-bottom: 0; }
.testimonials--split .section-head__intro { margin-inline: 0; }
.testimonials--split .quote-grid { grid-template-columns: 1fr; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.quote {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: clamp(1.5rem, 2.8vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  margin: 0;
}
.quote__rating { display: flex; gap: 2px; }
.quote__rating svg { fill: var(--line); }
.quote__rating svg.is-on { fill: var(--star); }
.quote__text { font-size: 1.02rem; line-height: 1.68; color: var(--ink-2); margin: 0; flex: 1; }
.quote__text::before { content: "\201C"; }
.quote__text::after  { content: "\201D"; }
.quote__by { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.quote__by strong { display: block; color: var(--ink); font-weight: 600; font-family: var(--f-display); }
.quote__role { display: block; color: var(--ink-3); font-size: 0.82rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote__avatar--initials {
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--f-display); font-weight: 700; font-size: 0.85rem;
}

/* ==========================================================================
   Cards: work + posts
   ========================================================================== */

.work-grid, .post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }

.work-card, .post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.work-card__link, .post-card__link { display: block; text-decoration: none; }

.work-card__media, .post-card__media { position: relative; overflow: hidden; background: var(--surface-3); }
.work-card__media img, .post-card__media img, .work-card__media picture, .post-card__media picture { width: 100%; }
.work-card__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__media img { aspect-ratio: 16 / 10; object-fit: cover; }

.work-card__badge {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: var(--surface); border-radius: 100px;
  padding: 0.32rem 0.85rem;
  font-family: var(--f-label); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); box-shadow: var(--shadow-1);
}

.work-card__body, .post-card__body { padding: clamp(1.25rem, 2.2vw, 1.65rem); }
.work-card__eyebrow {
  display: block; font-family: var(--f-label);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.5rem;
}
.work-card__title, .post-card__title { font-size: 1.3rem; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.work-card__desc, .post-card__desc { font-size: 0.95rem; color: var(--ink-3); line-height: 1.6; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--ink-4); margin-bottom: 0.65rem; }

.ph { display: grid; place-items: center; width: 100%; background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%); }
.ph span { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--brand-hot); opacity: 0.5; }

/* ==========================================================================
   Chips, crumbs, pager, empty
   ========================================================================== */

.chip {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--f-label); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.chip--sm { font-size: 0.66rem; padding: 0.22rem 0.6rem; }

.crumbs { margin-bottom: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; font-size: 0.85rem; }
.crumbs li { display: flex; gap: 0.4rem; align-items: center; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.crumbs__sep { color: var(--ink-4); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.pager__step { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.pager__step.is-disabled { color: var(--ink-4); }
.pager__pages { display: flex; gap: 0.3rem; list-style: none; padding: 0; }
.pager__pages a, .pager__pages .is-current {
  display: grid; place-items: center; min-width: 40px; height: 40px;
  border-radius: 100px; font-family: var(--f-display); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.pager__pages a { color: var(--ink-3); }
.pager__pages a:hover { background: var(--brand-soft); color: var(--brand); }
.pager__pages .is-current { background: var(--grad); color: #fff; }
.pager__gap { color: var(--ink-4); padding: 0 0.2rem; }

.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--s-5);
  background: var(--surface-2);
  border: 1px dashed var(--line-warm);
  border-radius: var(--radius-lg);
}
.empty__icon { color: var(--brand-hot); opacity: 0.55; margin-bottom: 0.3rem; }
.empty__title { font-size: 1.3rem; }
.empty__body { font-size: 0.97rem; color: var(--ink-3); max-width: 44ch; }
.empty .btn { margin-top: 0.6rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 78ch; margin-inline: auto; }
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding-inline: clamp(1.25rem, 2.4vw, 1.85rem);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq[open] { border-color: var(--brand-line); box-shadow: var(--shadow-2); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 600;
  letter-spacing: -0.015em; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--brand-hot); border-radius: 2px; transition: transform 0.2s ease;
}
.faq__icon::before { inset: 8px 0 auto; height: 2px; }
.faq__icon::after  { inset: 0 8px auto; width: 2px; height: 18px; }
.faq[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { padding-bottom: 1.4rem; max-width: 68ch; }

.faqs--split { background: var(--surface-2); border-block: 1px solid var(--line); }
.faqs__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) {
  .faqs__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 5vw, 5rem); }
}
.faqs--split .faq-list { margin-inline: 0; max-width: none; margin-top: var(--s-5); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band { background: var(--dark); border-top: 1px solid var(--dark-line); color: var(--dark-ink-2); }
.cta-band__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s-5); padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.cta-band__heading { font-size: var(--t-3); color: var(--dark-ink); margin-bottom: 0.7rem; max-width: 22ch; }
.cta-band__sub { font-size: 1.1rem; max-width: 52ch; line-height: 1.65; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

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

.site-footer {
  background: var(--dark-2);
  color: var(--dark-ink-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--s-6);
  font-size: 0.95rem;
  border-top: 1px solid var(--dark-line);
}
.footer-grid {
  display: grid; gap: var(--s-7) var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: var(--s-7); border-bottom: 1px solid var(--dark-line);
}
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }

.footer-brand__name {
  display: block; font-family: var(--f-display);
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 0.7rem;
}
.footer-brand__blurb { max-width: 34ch; line-height: 1.65; margin-bottom: var(--s-5); }

.footer-promo {
  display: flex; flex-direction: column; gap: 0.3rem;
  max-width: 22rem; margin-bottom: var(--s-5);
  padding: 1.4rem 1.6rem;
  background: var(--grad);
  border-radius: var(--radius);
  color: #fff; text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.footer-promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand); }
.footer-promo__label { font-family: var(--f-label); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.footer-promo__title { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.32; }
.footer-promo__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-display); font-size: 0.86rem; font-weight: 600; margin-top: 0.5rem; }
.footer-promo__cta svg { transition: transform 0.2s ease; }
.footer-promo:hover .footer-promo__cta svg { transform: translateX(3px); }

.socials { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; }
.socials a {
  display: inline-block; padding: 0.4rem 0.9rem;
  border: 1px solid var(--dark-line); border-radius: 100px;
  font-size: 0.82rem; color: var(--dark-ink-2); text-decoration: none;
  transition: all 0.18s ease;
}
.socials a:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }

.footer-col__title { font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--dark-ink-2); text-decoration: none; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--amber); }

.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--brand); }
.contact-list__address, .contact-list__hours { color: var(--dark-ink-2); font-size: 0.9rem; }

.newsletter { margin-top: var(--s-5); }
.newsletter__label { display: block; font-size: 0.85rem; margin-bottom: 0.5rem; }
.newsletter__row { display: flex; gap: 0.4rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: 0.7rem 1.1rem;
  border: 1px solid var(--dark-line); border-radius: 100px;
  background: var(--surface); color: var(--ink); font-size: 0.9rem;
}
.newsletter input::placeholder { color: var(--ink-4); }
.newsletter input:focus { outline-color: var(--brand-hot); border-color: var(--brand-hot); }
.newsletter .btn { background: var(--grad); color: #fff; box-shadow: none; border-color: transparent; }

.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); font-size: 0.85rem; color: var(--dark-ink-2); }
.footer-base__links { display: flex; gap: 0.6rem; }
.footer-base a { color: var(--dark-ink-2); text-decoration: none; }
.footer-base a:hover { color: var(--brand); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Flash messages
   ========================================================================== */

.flash-stack { display: flex; flex-direction: column; gap: 0.5rem; padding-top: var(--s-5); }
.flash {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4);
  padding: 0.95rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 500; border: 1px solid transparent;
}
.flash--success { background: var(--ok-bg);  color: var(--ok);  border-color: var(--green-line); }
.flash--error   { background: var(--err-bg); color: var(--err); }
.flash--info    { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }
.flash__close { font-size: 1.35rem; line-height: 1; color: inherit; opacity: 0.6; }
.flash__close:hover { opacity: 1; }

/* ==========================================================================
   Prose
   ========================================================================== */

.prose { max-width: 68ch; color: var(--ink-2); font-size: 1.05rem; line-height: 1.78; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--t-2); margin-top: 2em; margin-bottom: 0.6em; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.3rem; margin-top: 1.75em; margin-bottom: 0.5em; scroll-margin-top: 110px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--brand); text-decoration: underline; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand-hot); }
.prose blockquote {
  border-left: 3px solid var(--brand-hot);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1em 1.35em; color: var(--ink-2); font-style: italic;
}
.prose code { font-family: var(--f-mono); font-size: 0.86em; background: var(--code-bg); border-radius: 5px; padding: 0.12em 0.42em; color: var(--brand); }
.prose pre { font-family: var(--f-mono); background: var(--code-bg); border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; overflow-x: auto; font-size: 0.86rem; }
.prose pre code { background: none; padding: 0; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); font-family: var(--f-display); }
.prose--sm { font-size: 0.96rem; line-height: 1.7; }
.prose--sm > * + * { margin-top: 0.9em; }

.scroll-x { overflow-x: auto; }

/* ==========================================================================
   Page headers
   ========================================================================== */

.page-head { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.page-head__inner { max-width: 62rem; }

/* Inner pages pair their copy with an illustration */
.page-head__grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) {
  .page-head__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-7); }
}
.page-head__art { max-width: 400px; width: 100%; margin-inline: auto; }
.page-head__art .art__img { max-width: 100%; }
@media (max-width: 899px) { .page-head__art { max-width: 300px; } }

/* Artwork blocks that sit inside a section rather than a page head */
.section-art { max-width: 360px; margin-inline: auto; }
.error-page__art { max-width: 380px; margin: 0 auto var(--s-6); }

/* ==========================================================================
   Illustrated card rows
   ========================================================================== */

.spot-section--muted { background: var(--surface-2); border-block: 1px solid var(--line); }
.spot-section .section-head { margin-inline: auto; text-align: center; }
.spot-section .section-head__intro { margin-inline: auto; }

.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.spot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.75rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.spot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }

.spot-card__art { width: 100%; max-width: 190px; margin-bottom: var(--s-4); }
.spot-card__art img { width: 100%; height: auto; }
.spot-card:hover .spot-card__art img { transform: translateY(-4px); transition: transform 0.3s ease; }

.spot-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.spot-card__body { font-size: 0.97rem; line-height: 1.62; color: var(--ink-3); max-width: 34ch; }

/* Two-up variant when only a pair of cards is supplied */
.spot-grid:has(.spot-card:nth-child(2):last-child) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 800px;
  margin-inline: auto;
}
.page-head__title { margin-bottom: var(--s-4); }
.page-head__intro { font-size: 1.125rem; color: var(--ink-3); max-width: 56ch; line-height: 1.7; }
.page-head--bordered { border-bottom: 1px solid var(--line); }
.page-head__meta { font-size: 0.88rem; color: var(--ink-4); }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--s-4); }
.field__label { font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field__label .req { color: var(--brand-hot); }
.field__hint { font-size: 0.82rem; color: var(--ink-4); }
.field__error { font-size: 0.84rem; color: var(--err); font-weight: 500; }

.input, .textarea, .select {
  width: 100%; padding: 0.9rem 1.15rem;
  background: var(--surface);
  border: 1.5px solid var(--line-warm);
  border-radius: var(--radius-sm);
  color: var(--ink); font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand-hot);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.input.has-error, .textarea.has-error, .select.has-error { border-color: var(--err); }
.textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' stroke='%23767586' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 12px;
  padding-right: 2.6rem;
}

.check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-3); }
.check input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--brand-hot); flex-shrink: 0; }
.check a { color: var(--brand); }

.field-row { display: grid; gap: 0 var(--s-4); }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Utilities
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Services index — detail cards
   ========================================================================== */

.svc-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; }
.svc-detail {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.svc-detail[data-accent="growth"]   { --card-accent: var(--green); }
.svc-detail[data-accent="digital"]  { --card-accent: var(--brand-hot); }
.svc-detail[data-accent="creative"] { --card-accent: var(--amber); }
.svc-detail__title { font-size: var(--t-2); letter-spacing: -0.02em; }
.svc-detail__title a { color: var(--ink); text-decoration: none; }
.svc-detail__title a:hover { color: var(--card-accent, var(--brand)); }
.svc-detail__tagline { font-size: 0.9rem; font-weight: 600; color: var(--card-accent, var(--brand)); margin-top: 0.3rem; }
.svc-detail__position { font-size: 1rem; color: var(--ink-2); line-height: 1.65; }
.svc-detail__list { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; flex: 1; align-content: flex-start; }
.svc-detail__list li { font-size: 0.82rem; padding: 0.35rem 0.8rem; border-radius: 100px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line-soft); }
.svc-detail__list .is-more { color: var(--ink-4); border-style: dashed; }

/* ==========================================================================
   Service detail page
   ========================================================================== */

.svc-hero[data-accent="growth"]   { --page-accent: var(--green); }
.svc-hero[data-accent="digital"]  { --page-accent: var(--brand-hot); }
.svc-hero[data-accent="creative"] { --page-accent: var(--amber); }
.svc-hero .eyebrow { color: var(--page-accent, var(--brand)); }

.svc-hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 940px) { .svc-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-8); } }
.svc-hero__position {
  font-family: var(--f-display); font-size: var(--t-2); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.32;
  color: var(--page-accent, var(--brand)); margin-bottom: var(--s-4);
  max-width: 26ch; text-wrap: balance;
}
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--s-5); }
.svc-hero__media img, .svc-hero__media picture { border-radius: var(--radius-lg); }

.svc-body-section { border-top: 1px solid var(--line); }
.included-section { background: var(--surface-2); border-block: 1px solid var(--line); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.feature {
  padding: 1.5rem 1.65rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature__title {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 600;
  margin-bottom: 0.45rem; letter-spacing: -0.015em; color: var(--ink);
  padding-left: 1.6rem; position: relative;
}
.feature__title::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--feat-accent, var(--brand-hot)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.8' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.feature[data-accent="growth"]   { --feat-accent: var(--green); }
.feature[data-accent="digital"]  { --feat-accent: var(--brand-hot); }
.feature[data-accent="creative"] { --feat-accent: var(--amber); }
.feature__desc { font-size: 0.93rem; color: var(--ink-3); line-height: 1.6; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1.5rem; }
.pkg {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
}
.pkg.is-featured { border-color: var(--brand-hot); box-shadow: var(--shadow-3); }
.pkg__flag {
  position: absolute; top: -0.75rem; left: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--grad); color: #fff;
  font-family: var(--f-label); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.32rem 0.85rem; border-radius: 100px;
}
.pkg__name { font-size: 1.3rem; }
.pkg__price { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.pkg__price span { font-size: 0.36em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.pkg__summary { font-size: 0.95rem; color: var(--ink-3); }
.pkg__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; font-size: 0.93rem; }
.pkg__list li { display: flex; gap: 0.6rem; color: var(--ink-2); }
.pkg__list li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; margin-top: 0.22rem; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.8' stroke='%234648D4' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pkg .btn { margin-top: var(--s-3); }

.next-section { padding-top: 0; }
.next-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-4);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--surface-3); border-radius: var(--radius-lg);
  text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.next-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.next-card__label { grid-column: 1; font-family: var(--f-label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--brand); }
.next-card__title { grid-column: 1; font-family: var(--f-display); font-size: var(--t-2); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.next-card__desc { grid-column: 1; font-size: 0.95rem; color: var(--ink-3); }
.next-card__arrow { grid-column: 2; grid-row: 1 / -1; color: var(--brand-hot); transition: transform 0.2s ease; }
.next-card:hover .next-card__arrow { transform: translateX(5px); }

.other-services { padding-top: 0; }
.other-services__title { font-family: var(--f-label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-4); margin-bottom: var(--s-4); }
.other-services__list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.other-services__list a {
  display: inline-block; padding: 0.6rem 1.2rem; border-radius: 100px;
  font-size: 0.92rem; color: var(--ink-2); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  transition: all 0.18s ease;
}
.other-services__list a:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand); }

/* ==========================================================================
   Filters
   ========================================================================== */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--s-6); }
.filter {
  display: inline-block; padding: 0.55rem 1.15rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.9rem; color: var(--ink-3); text-decoration: none;
  transition: all 0.18s ease;
}
.filter:hover { border-color: var(--brand-line); color: var(--brand); }
.filter.is-on { background: var(--grad); border-color: transparent; color: #fff; }

.blog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.blog-toolbar .filters { margin-bottom: var(--s-5); }
.blog-search { display: flex; gap: 0.5rem; margin-bottom: var(--s-5); }
.blog-search .input { min-width: 0; width: clamp(150px, 34vw, 230px); padding-block: 0.6rem; font-size: 0.9rem; }

/* ==========================================================================
   Project & case study pages
   ========================================================================== */

.project-hero { margin: 0 0 var(--s-6); }
.project-hero img, .project-hero picture { width: 100%; border-radius: var(--radius-lg); }

.concept-note {
  margin-top: var(--s-4); padding: 0.95rem 1.25rem;
  background: var(--warn-bg); border: 1px solid var(--line-warm);
  border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--warn); max-width: 60ch;
}

.project-layout { display: grid; gap: var(--s-7); }
@media (min-width: 940px) { .project-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: var(--s-8); align-items: start; } }
.project-aside { display: flex; flex-direction: column; gap: var(--s-4); }
@media (min-width: 940px) { .project-aside { position: sticky; top: 110px; } }

.meta-list {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: 1.5rem 1.65rem; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.meta-list dt { font-family: var(--f-label); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.3rem; }
.meta-list dd { font-size: 0.97rem; color: var(--ink); margin: 0; }
.meta-list__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.meta-list__links a { color: var(--brand); text-decoration: none; font-size: 0.95rem; }

.gallery { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-6); }
.gallery__item { margin: 0; }
.gallery__item img, .gallery__item picture { width: 100%; border-radius: var(--radius); }
.gallery__item figcaption { font-size: 0.86rem; color: var(--ink-4); margin-top: 0.5rem; }

.metrics-band { background: var(--surface-3); border-block: 1px solid var(--line); padding-block: var(--s-6); }
.metrics--band { border-top: 0; padding-top: 0; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s-5); }
.metrics--band .metric__value { font-size: clamp(2rem, 3.5vw, 3rem); }

.case-meta { display: flex; flex-wrap: wrap; gap: var(--s-5); list-style: none; padding: 0; margin-top: var(--s-5); }
.case-meta li { display: flex; flex-direction: column; gap: 0.15rem; }
.case-meta span { font-family: var(--f-label); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.case-meta strong { font-size: 1rem; color: var(--ink); font-weight: 600; font-family: var(--f-display); }
.case-meta a { color: var(--brand); text-decoration: none; }

.case-body { display: flex; flex-direction: column; gap: var(--s-7); }
.case-block { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .case-block { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-7); align-items: start; } }
.case-block__title { font-size: var(--t-2); margin-bottom: 0.35rem; }
.case-block__sub { font-size: 0.9rem; color: var(--ink-4); }

/* ==========================================================================
   Article
   ========================================================================== */

.article__head { max-width: 60rem; }
.article__title { font-size: var(--t-4); margin-block: var(--s-4); }
.article__standfirst { font-size: 1.18rem; color: var(--ink-3); line-height: 1.68; max-width: 58ch; }
.article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-top: var(--s-5); font-size: 0.9rem; color: var(--ink-3); }
.article__author { display: inline-flex; align-items: center; gap: 0.55rem; }
.article__author strong { color: var(--ink); font-weight: 600; }
.article__author .quote__avatar { width: 34px; height: 34px; font-size: 0.75rem; }
.article__updated { padding: 0.25rem 0.7rem; border-radius: 100px; background: var(--brand-soft); color: var(--brand); font-size: 0.78rem; font-weight: 600; }

.article__layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .article__layout { grid-template-columns: 250px minmax(0, 1fr); gap: var(--s-8); align-items: start; } }
.article__body { min-width: 0; }

/* Short documents have no table of contents, so the body would otherwise drop
   into the 250px sidebar column. Span the grid and centre it instead. */
.article__layout > .article__body:only-child {
  grid-column: 1 / -1;
  max-width: 72ch;
  margin-inline: auto;
  width: 100%;
}

/* ==========================================================================
   Document layout — long-form copy paired with a sticky aside, so body text
   keeps a readable measure without leaving half the row empty.
   ========================================================================== */

.doc-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 5vw, 4.5rem); }
}
.doc-layout .prose { max-width: 68ch; }

.aside-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(1.4rem, 2.6vw, 1.85rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
@media (min-width: 1000px) { .aside-card { position: sticky; top: 108px; } }

.aside-card__art { max-width: 210px; margin-inline: auto; }
.aside-card__art img { width: 100%; height: auto; }

.aside-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.aside-card__intro { font-size: 0.94rem; line-height: 1.6; color: var(--ink-3); }

.aside-card__list { display: flex; flex-direction: column; gap: 0.85rem; margin: 0; }
.aside-card__list > div { display: flex; flex-direction: column; gap: 0.15rem; }
.aside-card__list dt {
  font-family: var(--f-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.aside-card__list dd { margin: 0; font-size: 0.96rem; font-weight: 500; color: var(--ink); }

.aside-card__divider { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }
.aside-card .btn { width: 100%; }
.aside-card__note { font-size: 0.82rem; color: var(--ink-4); text-align: center; }

.toc { order: -1; }
@media (min-width: 1000px) {
  .toc { position: sticky; top: 110px; order: 0; padding: 1.5rem 1.65rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
}

/* Contents rail: table of contents plus a small help block, so the column
   carries something useful all the way down instead of trailing off. */
.doc-rail { order: -1; display: flex; flex-direction: column; gap: var(--s-4); }
@media (min-width: 1000px) {
  .doc-rail { order: 0; position: sticky; top: 110px; }
  .doc-rail .toc { position: static; top: auto; }
}
.doc-rail__help {
  padding: 1.35rem 1.5rem;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
}
.doc-rail__help-title {
  font-family: var(--f-display);
  font-size: 0.98rem; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 0.35rem;
}
.doc-rail__help-body { font-size: 0.88rem; line-height: 1.55; color: var(--ink-2); margin-bottom: 0.85rem; }
.toc__title { font-family: var(--f-label); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-4); margin-bottom: var(--s-3); }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.toc a { display: block; padding: 0.35rem 0 0.35rem 0.8rem; border-left: 2px solid var(--line); font-size: 0.9rem; line-height: 1.45; color: var(--ink-3); text-decoration: none; transition: color 0.15s ease, border-color 0.15s ease; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink-4); }
.toc a.is-current { color: var(--brand); border-left-color: var(--brand-hot); font-weight: 600; }
.toc__l3 a { padding-left: 1.6rem; font-size: 0.85rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin-top: var(--s-6); }
.tag-row a { text-decoration: none; }

.article__cta {
  margin-top: var(--s-7); padding: clamp(1.85rem, 3.5vw, 2.75rem);
  background: var(--surface-3); border-radius: var(--radius-lg); text-align: center;
}
.article__cta h2 { font-size: var(--t-2); margin-bottom: 0.6rem; }
.article__cta p { font-size: 1rem; color: var(--ink-2); margin: 0 auto var(--s-5); max-width: 48ch; }

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.5rem; }
.team-card { display: flex; flex-direction: column; gap: 0.35rem; }
.team-card__photo {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-3); display: grid; place-items: center; margin-bottom: var(--s-3);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials { font-family: var(--f-display); font-size: 2.1rem; font-weight: 800; color: var(--brand-hot); opacity: 0.55; }
.team-card__name { font-size: 1.2rem; }
.team-card__role { font-size: 0.9rem; color: var(--brand); font-weight: 600; }
.team-card__bio { font-size: 0.93rem; color: var(--ink-3); line-height: 1.6; }
.team-card__socials { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin-top: 0.3rem; }
.team-card__socials a { font-size: 0.85rem; color: var(--ink-3); }

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

.contact-section { padding-top: 0; }
.contact-layout { display: grid; gap: var(--s-7); }
@media (min-width: 940px) { .contact-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; } }

.contact-points { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; margin-top: var(--s-5); }
.contact-points li { font-size: 0.98rem; color: var(--ink-3); padding-left: 1.7rem; position: relative; }
.contact-points li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--grad) center / 10px no-repeat,
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.8 8.5 9.5 3.8' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.contact-points strong { color: var(--ink); }

.contact-direct {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  margin-top: var(--s-6); padding: 1.5rem 1.65rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-direct dt { font-family: var(--f-label); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.25rem; }
.contact-direct dd { margin: 0; font-size: 0.98rem; color: var(--ink); }
.contact-direct a { color: var(--brand); text-decoration: none; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-3);
}
.contact-form__note { font-size: 0.85rem; color: var(--ink-4); text-align: center; margin-top: var(--s-4); }

/* ==========================================================================
   Error pages & notices
   ========================================================================== */

.error-page { padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.error-page__head { max-width: 52rem; margin: 0 auto var(--s-7); }
.error-page__code {
  display: block; font-family: var(--f-display);
  font-size: clamp(4rem, 11vw, 7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: var(--s-4);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.error-page__title { font-size: var(--t-3); margin-bottom: var(--s-4); }
.error-page__body { font-size: 1.1rem; color: var(--ink-3); max-width: 52ch; margin: 0 auto var(--s-5); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.error-page__section { margin-top: var(--s-6); }
.error-page__subtitle { font-family: var(--f-label); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-4); margin-bottom: var(--s-4); }
.error-page__links { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; justify-content: center; }
.error-page__links a {
  display: inline-block; padding: 0.55rem 1.15rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.9rem; color: var(--ink-2); text-decoration: none;
}
.error-page__links a:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand); }

.notice-panel {
  max-width: 42rem; margin-inline: auto; text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
}
.notice-panel__title { font-size: var(--t-3); margin-bottom: var(--s-4); }
.notice-panel p { color: var(--ink-3); margin-bottom: var(--s-5); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.will-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .will-reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Debug bar
   ========================================================================== */

.debug-bar {
  position: fixed; bottom: 10px; right: 10px; z-index: 500;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-mono); font-size: 11px;
  padding: 5px 12px; border-radius: 100px; opacity: 0.75;
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .pager, .burger, .art { display: none !important; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
}


/* =====================================================================
   Booking, WhatsApp, and the form primitives the client portal shares
   ===================================================================== */

/* The admin panel and the portal both name their fields ".afield". The
   public site named the same thing ".field" first. Rather than rewrite
   either, the portal-side names are defined here so a page loading only
   app.css (the booking form) styles identically to one loading
   portal.css or admin.css. */

.afield { display: flex; flex-direction: column; gap: 0.4rem; }
.afield__label { font-family: var(--f-display); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.afield__hint { font-size: 0.8rem; color: var(--ink-4); line-height: 1.55; margin: 0; }
.afield__error { font-size: 0.84rem; color: var(--err); font-weight: 500; margin: 0; }
.afield.has-error .input,
.afield.has-error .textarea,
.afield.has-error .select { border-color: var(--err); }
.afield--half { max-width: 22rem; }
.afield__opt { font-weight: 400; color: var(--ink-4); font-size: 0.78rem; }
.afield__req { color: var(--brand-hot); }

.inline-form { display: inline-flex; gap: 0.4rem; align-items: center; margin: 0; }

/* ---------------------------------------------------------- booking */

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 900px) {
  .booking__grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); }
}

.booking__heading {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.booking__details {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.booking__tz { font-size: 0.8rem; color: var(--ink-4); margin: 1rem 0 0; }
.booking__legal { font-size: 0.78rem; color: var(--ink-4); margin: 0; text-align: center; }
.booking__legal a { color: var(--brand); }

/* Day strip: horizontally scrollable on a phone, never wrapping. */
.slot-days {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 1.1rem;
  scrollbar-width: thin;
}
.slot-day {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  min-width: 4.1rem;
  padding: 0.6rem 0.5rem 0.5rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-3);
  transition: border-color 0.15s, background 0.15s;
}
.slot-day:hover { border-color: var(--brand-line); }
.slot-day.is-on {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-deep);
}
.slot-day__dow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.slot-day__num { font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.slot-day__mon { font-size: 0.7rem; }
.slot-day__count {
  margin-top: 0.2rem;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  background: var(--surface-3);
  color: var(--ink-3);
  border-radius: 100px;
  padding: 0.05rem 0.4rem;
}
.slot-day.is-on .slot-day__count { background: var(--brand); color: #fff; }

.slot-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr));
  gap: 0.45rem;
  border: 0;
  margin: 0;
  padding: 0;
}
.slot { position: relative; }
.slot input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.slot span {
  display: block;
  text-align: center;
  padding: 0.65rem 0.4rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s, background 0.15s;
}
.slot input:hover + span { border-color: var(--brand-line); }
.slot input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.slot input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* -------------------------------------------------------- WhatsApp */

.wa-button {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, padding 0.18s ease;
}
.wa-button:hover,
.wa-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  padding-right: 1.1rem;
}
.wa-button__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  transition: max-width 0.22s ease;
}
.wa-button:hover .wa-button__label,
.wa-button:focus-visible .wa-button__label { max-width: 12rem; }

/* Never let it sit on top of the footer CTA on a small screen. */
@media (max-width: 520px) {
  .wa-button { padding: 0.7rem; }
  .wa-button__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-button, .wa-button__label, .slot span, .slot-day { transition: none; }
  .wa-button:hover, .wa-button:focus-visible { transform: none; }
}

/* --------------------------------------------------- notice panels */

.notice-panel__art { display: block; margin: 0 auto 1.25rem; max-width: 100%; height: auto; }
.notice-panel__lead { font-size: 1.1rem; margin: 0 0 1.25rem; }
.notice-panel__tz { color: var(--ink-4); font-size: 0.9rem; }
.notice-panel__facts {
  display: grid;
  gap: 0.5rem;
  max-width: 26rem;
  margin: 0 auto 1.5rem;
  text-align: left;
}
.notice-panel__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.notice-panel__facts dt { color: var(--ink-4); font-size: 0.85rem; margin: 0; }
.notice-panel__facts dd { margin: 0; font-weight: 600; font-size: 0.9rem; }
.notice-panel__actions { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* =====================================================================
   Theme switch
   ---------------------------------------------------------------------
   Every colour here comes from an existing token. Nothing new is defined.
   ===================================================================== */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle__track {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 100px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s cubic-bezier(0.34, 1.3, 0.64, 1), color 0.2s ease;
}

.theme-toggle__moon { display: none; }

.theme-toggle:hover .theme-toggle__track { border-color: var(--brand-line); }
.theme-toggle:focus-visible .theme-toggle__track { outline: 2px solid var(--brand); outline-offset: 2px; }

[data-theme="dark"] .theme-toggle__track { background: var(--brand-soft); border-color: var(--brand-line); }
[data-theme="dark"] .theme-toggle__knob  { transform: translateX(20px); color: var(--brand-deep); }
[data-theme="dark"] .theme-toggle__sun   { display: none; }
[data-theme="dark"] .theme-toggle__moon  { display: block; }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle__track, .theme-toggle__knob { transition: none; }
}


/* =====================================================================
   Depth and rhythm pass
   ---------------------------------------------------------------------
   Approved as "depth + spacing only, zero colour risk": not one hex value
   is defined or reassigned below. Everything here is spacing, shadow,
   radius, weight and interaction state, drawn from tokens that already
   exist. The palette is byte-identical to what it was.
   ===================================================================== */

/* Cards lift off the page instead of sitting flat on it. */
.svc-detail,
.work-card,
.post-card,
.result-card,
.quote,
.spot-card,
.why,
.pkg {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.22s ease;
}

.svc-detail:hover,
.work-card:hover,
.post-card:hover,
.result-card:hover,
.spot-card:hover,
.pkg:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--brand-line);
}

/* A pressed control should look pressed. */
.btn { transition: transform 0.14s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { box-shadow: var(--shadow-brand); }
.btn--primary:hover { box-shadow: 0 14px 32px rgba(70, 72, 212, 0.36); }
.btn--primary:active { box-shadow: var(--shadow-1); }

/* Focus must always be visible, and must never be the only signal. */
a:focus-visible,
button:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Inputs: more room to breathe, and a clearer focused state. */
.input, .textarea, .select {
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.input:focus, .textarea:focus, .select:focus {
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.input:hover:not(:focus),
.textarea:hover:not(:focus),
.select:hover:not(:focus) { border-color: var(--line-warm); }

/* Headings: tighter tracking at large sizes reads as considered rather
   than default. */
.page-head__title,
.section-head__title,
.hero__line { text-wrap: balance; }

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head__intro { max-width: 62ch; }

/* Consistent vertical rhythm between sections. */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { padding-top: 0; }

/* Links in prose get a considered underline rather than the browser's. */
.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.16s ease;
}

/* Tabular figures wherever numbers line up. */
.metric__value,
.stat__value,
.pkg__price { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .svc-detail, .work-card, .post-card, .result-card, .quote, .spot-card, .why, .pkg, .btn {
    transition: none;
  }
  .svc-detail:hover, .work-card:hover, .post-card:hover,
  .result-card:hover, .spot-card:hover, .pkg:hover,
  .btn:active { transform: none; }
}