/* =========================================================
   ECOMMSYTE — Strategy-Driven Amazon Growth
   Premium agency design system
   ---------------------------------------------------------
   6-COLOR BRAND PALETTE
   Orange   #E6862D  primary brand / CTA / highlights
   Ink      #1D1E20  brand dark / hero / footer / text
   White    #FFFFFF  pure surfaces / cards
   Cream    #F6F1E9  warm calm surfaces / alt sections
   Amber    #F2A65A  gradient partner / soft accents
   Mist     #9AA3AE  cool supporting / charts / calm UI
   ========================================================= */

:root {
  --orange: #E6862D;
  --orange-ink: #A85E12;   /* darkened brand orange, 4.9:1 on white — small accent text (WCAG AA) */
  --ink:    #1D1E20;
  --white:  #FFFFFF;
  --cream:  #F6F1E9;
  --amber:  #F2A65A;
  --mist:   #9AA3AE;

  /* Derived tints */
  --ink-2:  #232528;
  --ink-3:  #2B2E33;
  --paper:  #FCFAF7;
  --muted:  #6E7076;
  --line:   rgba(29, 30, 32, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);

  --grad-warm: linear-gradient(100deg, var(--orange), var(--amber));
  --grad-cool: linear-gradient(135deg, var(--mist), #c3cad2);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(29, 30, 32, 0.07);
  --shadow-md: 0 18px 44px rgba(29, 30, 32, 0.12);
  --shadow-lg: 0 34px 80px rgba(29, 30, 32, 0.26);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff-head: "Sora", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

/* ===== Typography ===== */
h1, h2, h3 { font-family: var(--ff-head); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--amber); }

/* ===== Skip link ===== */
.skip-link {
  position: fixed; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 0.6rem 1rem; border-radius: 8px; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-warm); z-index: 120;
  box-shadow: 0 0 12px rgba(230, 134, 45, 0.6);
}

/* =========================================================
   PRELOADER — calm luxury intro
   ========================================================= */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(900px 500px at 50% 30%, var(--ink-3), var(--ink) 70%);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease 0.35s;
}
.preloader.hide { transform: translateY(-100%); opacity: 0; }
.preloader__bg { position: absolute; inset: 0; pointer-events: none; }
.preloader__bg .orb--orange { width: 360px; height: 360px; top: 12%; left: 12%; opacity: 0.16; animation: floaty 6s ease-in-out infinite; }
.preloader__bg .orb--mist { width: 320px; height: 320px; bottom: 12%; right: 14%; opacity: 0.1; animation: floaty 7s ease-in-out infinite 0.8s; }

.preloader__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }

.preloader__mark {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 26px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid rgba(255, 255, 255, 0.08); color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); animation: plFloat 1.8s ease-in-out infinite;
}
.preloader__mark svg { width: 52px; height: 52px; }
.preloader__ring {
  position: absolute; inset: -12px; border-radius: 34px;
  border: 2px solid transparent; border-top-color: var(--orange); border-right-color: rgba(154, 163, 174, 0.5);
  animation: spin 1.1s linear infinite;
}
@keyframes plFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
  50% { transform: translateY(-9px); box-shadow: 0 34px 70px rgba(230, 134, 45, 0.25); }
}

.preloader__name { text-align: center; animation: plRise 0.9s var(--ease) both 0.15s; }
.preloader__name span { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: var(--white); letter-spacing: 0.01em; }
.preloader__name span b { color: var(--orange); font-weight: 700; }
.preloader__name small { display: block; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mist); margin-top: 0.35rem; }
@keyframes plRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.preloader__bar { width: 220px; max-width: 60vw; height: 3px; border-radius: 999px; background: rgba(154, 163, 174, 0.2); overflow: hidden; margin-top: 0.4rem; }
.preloader__bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad-warm); box-shadow: 0 0 12px rgba(230, 134, 45, 0.6); transition: width 0.2s ease; }
.preloader__pct { font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.05em; }
.preloader__pct i { font-style: normal; color: var(--orange); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  will-change: transform;
}
.btn--sm { padding: 0.68rem 1.15rem; font-size: 0.86rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad-warm); color: var(--ink); box-shadow: 0 12px 28px rgba(230, 134, 45, 0.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(230, 134, 45, 0.44); }

.btn--dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--dark:hover { transform: translateY(-3px); background: var(--ink-3); box-shadow: var(--shadow-md); }

.btn--ghost { background: rgba(29, 30, 32, 0.04); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--orange); }
.btn--ghost.btn--dark { background: transparent; }

/* Button spinner (loading) */
.btn__spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(29,30,32,0.35); border-top-color: var(--ink);
  display: none; animation: spin 0.7s linear infinite;
}
.btn--dark .btn__spinner { border-color: rgba(255,255,255,0.4); border-top-color: var(--white); }
.btn.is-loading { pointer-events: none; opacity: 0.9; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 0.85rem 0; transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(29, 30, 32, 0.08); padding: 0.55rem 0;
}
/* With the mobile drawer open, remove the nav's backdrop-filter — otherwise it
   becomes the containing block for the position:fixed drawer and clips it. */
.nav.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.menu-open .brand__word { color: #fff; }
.nav.menu-open .brand__text small { color: rgba(255, 255, 255, 0.6); }
.nav.menu-open .nav__toggle span { background: #fff; }

/* Drawer close button (mobile only — hidden inline on desktop) */
.nav__close { display: none; }

/* Every page opens on a dark hero → light nav text at top,
   flips to dark once the light scrolled header appears. */
.nav:not(.scrolled) .nav__link { color: var(--white); }
.nav:not(.scrolled) .nav__link:hover { color: var(--ink); }
.nav:not(.scrolled) .nav__link.is-active { color: var(--ink); }
.nav:not(.scrolled) .brand__word { color: var(--white); }
.nav:not(.scrolled) .brand__text small { color: rgba(255, 255, 255, 0.6); }
.nav:not(.scrolled) .nav__toggle span { background: var(--white); }
/* The header breaks out of the 1180px content column and spans the viewport, so
   the brand and CTA sit near the screen edges. The gutter scales with the screen
   (18px phone → 56px large desktop) to keep the breathing space optical, not fixed. */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav .nav__inner { max-width: none; padding-inline: clamp(1.15rem, 3.2vw, 3.5rem); }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  display: grid; place-items: center; flex: none;
  width: clamp(52px, 4.5vw + 30px, 66px); height: clamp(52px, 4.5vw + 30px, 66px);
  border-radius: clamp(14px, 1.4vw + 8px, 17px);
  background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--white);
  box-shadow: 0 8px 20px rgba(29, 30, 32, 0.35);
}
.brand__mark svg { width: 55%; height: 55%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__word { font-family: var(--ff-head); font-weight: 800; font-size: 1.42rem; color: var(--ink); letter-spacing: -0.01em; }
.brand__word b { color: var(--orange); font-weight: 800; }
.brand__text small { font-family: var(--ff-body); font-weight: 500; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.06em; }

/* Two-part menu: word links sit beside the brand, icon links + CTA hug the right */
.nav__links { display: flex; align-items: center; flex: 1 1 auto; justify-content: flex-end; gap: 0.6rem; margin-left: clamp(1rem, 3.5vw, 3rem); }
.nav__set { display: flex; align-items: center; gap: 0.1rem; }
/* auto on both sides: the word links stay optically centred in the space between
   the brand and the icon cluster, so a wide header never leaves a dead gap */
.nav__set--text { margin-inline: auto; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.nav__link {
  display: inline-flex; align-items: center; gap: 0;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.9rem; color: var(--ink);
  padding: 0.55rem 0.62rem; border-radius: 999px; position: relative; overflow: hidden; z-index: 0;
  transition: color 0.3s var(--ease), background 0.35s var(--ease),
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.nav__ico, .nav__label { position: relative; z-index: 2; }
.nav__ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s; }
/* Desktop: icon-only, label reveals on hover/focus (and stays for the active page) */
.nav__label {
  display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  transition: max-width 0.42s var(--ease), opacity 0.3s ease, margin-left 0.42s var(--ease);
}
/* Glass shine that sweeps across the pill on hover */
.nav__link::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.5) 50%, transparent 68%);
  transform: translateX(-135%);
}
/* Premium hover / active: liquid gradient pill, spring lift, warm glow, shine sweep */
.nav__link:hover, .nav__link:focus-visible, .nav__link.is-active {
  color: var(--ink); background: var(--grad-warm);
  transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230,134,45,0.45);
}
.nav__link:hover::before, .nav__link:focus-visible::before { transform: translateX(135%); transition: transform 0.75s var(--ease); }
.nav__link:hover .nav__ico, .nav__link:focus-visible .nav__ico, .nav__link.is-active .nav__ico { opacity: 1; transform: scale(1.14); }
.nav__link:hover .nav__label, .nav__link:focus-visible .nav__label, .nav__link.is-active .nav__label {
  max-width: 12ch; opacity: 1; margin-left: 0.45rem;
}
/* --- Word links (Home / Services / About): text always shown, refined underline
   instead of the gradient pill, so the two menu styles never compete. --------- */
.nav__link--text { padding: 0.5rem 0.15rem; font-size: 0.94rem; letter-spacing: -0.005em; overflow: visible; }
.nav__link--text .nav__ico { display: none; }
.nav__link--text .nav__label { max-width: none; opacity: 1; overflow: visible; margin-left: 0; }
.nav__link--text::before { display: none; }               /* no shine sweep */
.nav__link--text::after {
  content: ""; position: absolute; left: 0.15rem; right: 0.15rem; bottom: 0.14rem; height: 2px;
  background: var(--grad-warm); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.38s var(--ease);
}
.nav__link--text:hover, .nav__link--text:focus-visible, .nav__link--text.is-active {
  background: none; box-shadow: none; transform: none; color: var(--orange-ink);
}
.nav__link--text:hover::after, .nav__link--text:focus-visible::after, .nav__link--text.is-active::after { transform: scaleX(1); }
/* over the dark hero the word links stay light, warming to brand orange */
.nav:not(.scrolled) .nav__link--text:hover,
.nav:not(.scrolled) .nav__link--text:focus-visible,
.nav:not(.scrolled) .nav__link--text.is-active { color: var(--orange); }

@media (max-width: 1040px) and (min-width: 761px) {
  .nav__link { padding: 0.5rem 0.55rem; font-size: 0.84rem; }
  .nav__link--text { padding: 0.5rem 0.15rem; font-size: 0.88rem; }
  .nav__set--text { gap: 1rem; }
  .nav__links { gap: 0.4rem; margin-left: 1rem; }
  .nav__cta { margin-left: 0.2rem; }
}
.nav__cta { margin-left: 0.4rem; }

/* =========================================================
   SERVICES MEGA MENU
   Opens on hover AND :focus-within, so keyboard users get it
   with no JS. Escape closes it (script.js blurs the focus).
   ========================================================= */
.nav__mega-wrap { position: relative; display: flex; align-items: center; }
.nav__chev { width: 13px; height: 13px; margin-left: 0.3rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; transition: transform 0.35s var(--ease); }
.nav__mega-wrap:hover .nav__chev, .nav__mega-wrap:focus-within .nav__chev { transform: rotate(180deg); opacity: 1; }
/* keep the word link's underline lit while the panel is open */
.nav__mega-wrap:hover .nav__link--text::after, .nav__mega-wrap:focus-within .nav__link--text::after { transform: scaleX(1); }
.nav__mega-wrap:hover .nav__link--text, .nav__mega-wrap:focus-within .nav__link--text { color: var(--orange-ink); }
.nav:not(.scrolled) .nav__mega-wrap:hover .nav__link--text,
.nav:not(.scrolled) .nav__mega-wrap:focus-within .nav__link--text { color: var(--orange); }

.mega {
  position: absolute; top: calc(100% + 0.85rem); left: 50%;
  width: min(960px, calc(100vw - 3rem));
  display: grid; grid-template-columns: minmax(0, 1fr) 268px; grid-template-rows: auto auto;
  gap: 0 clamp(1.2rem, 2vw, 1.9rem);
  padding: clamp(1.3rem, 2.2vw, 1.85rem);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(29,30,32,0.05), 0 40px 90px -34px rgba(29,30,32,0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-10px) scale(0.985); transform-origin: top center;
  transition: opacity 0.32s var(--ease), transform 0.38s var(--ease), visibility 0.32s;
  z-index: 60;
}
/* invisible bridge so the pointer can travel from the link into the panel */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -0.95rem; height: 1rem; }
.nav__mega-wrap:hover .mega, .nav__mega-wrap:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mega__eyebrow { font-family: var(--ff-head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem 0.55rem; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem; }
.mega__item { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.72rem 0.8rem; border-radius: 13px; transition: background 0.25s var(--ease), transform 0.3s var(--ease); }
.mega__item:hover, .mega__item:focus-visible { background: var(--cream); transform: translateX(3px); }
.mega__ico { width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 10px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: var(--cream); transition: background 0.25s, stroke 0.25s, box-shadow 0.3s; }
.mega__item:hover .mega__ico, .mega__item:focus-visible .mega__ico { background: var(--grad-warm); stroke: var(--white); box-shadow: 0 6px 16px rgba(230,134,45,0.4); }
.mega__item-text { display: flex; flex-direction: column; gap: 0.14rem; min-width: 0; }
.mega__item-title { font-family: var(--ff-head); font-weight: 700; font-size: 0.9rem; color: var(--ink); line-height: 1.3; transition: color 0.25s; }
.mega__item:hover .mega__item-title, .mega__item:focus-visible .mega__item-title { color: var(--orange-ink); }
.mega__item-desc { font-size: 0.775rem; line-height: 1.45; color: var(--muted); }

.mega__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: clamp(1.1rem, 1.8vw, 1.4rem); border-radius: 16px; color: var(--white); background: radial-gradient(150px 120px at 85% 8%, rgba(230,134,45,0.5), transparent 70%), linear-gradient(160deg, var(--ink-3), var(--ink) 82%); }
.mega__badge { font-family: var(--ff-head); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); background: var(--grad-warm); padding: 0.26rem 0.62rem; border-radius: 999px; }
.mega__aside-title { font-family: var(--ff-head); font-weight: 800; font-size: 1.18rem; line-height: 1.2; color: var(--white); margin: 0.1rem 0 0; }
.mega__aside-copy { font-size: 0.815rem; line-height: 1.55; color: rgba(255,255,255,0.72); margin: 0; }
.mega__cta { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; padding: 0.62rem 1.05rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.82rem; color: var(--ink); background: var(--grad-warm); border-radius: 999px; box-shadow: 0 10px 24px rgba(230,134,45,0.34); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.mega__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(230,134,45,0.46); }
.mega__aside-note { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0; }

.mega__all { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem; color: var(--orange-ink); transition: gap 0.3s var(--ease); }
.mega__all:hover { gap: 0.75rem; }

@media (max-width: 1180px) {
  .mega { grid-template-columns: minmax(0, 1fr); }
  .mega__aside { display: none; }          /* keep the panel compact on smaller desktops */
}
@media (prefers-reduced-motion: reduce) {
  .mega, .mega__item, .mega__ico, .mega__cta, .nav__chev { transition: none; }
  .nav__mega-wrap:hover .mega, .nav__mega-wrap:focus-within .mega { transform: translateX(-50%); }
}

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 10px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  position: relative; padding: clamp(8.5rem, 16vh, 12rem) 0 clamp(3rem, 8vh, 6rem);
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(154, 163, 174, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-2) 60%, var(--ink-3));
  color: var(--white); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.orb--orange { width: 360px; height: 360px; background: var(--orange); top: -80px; right: 6%; opacity: 0.2; }
.orb--amber { width: 300px; height: 300px; background: var(--amber); bottom: -60px; left: 8%; opacity: 0.14; }
.orb--mist { width: 320px; height: 320px; background: var(--mist); top: 40%; right: 42%; opacity: 0.12; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(154,163,174,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(154,163,174,0.06) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(80% 60% at 60% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 60% 20%, #000, transparent 75%);
}

.hero__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(154, 163, 174, 0.12); border: 1px solid rgba(154,163,174,0.3);
  color: #c9d0d8; font-weight: 600; font-size: 0.82rem; padding: 0.45rem 0.95rem; border-radius: 999px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(230,134,45,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,134,45,0.6);} 70%{box-shadow:0 0 0 10px rgba(230,134,45,0);} 100%{box-shadow:0 0 0 0 rgba(230,134,45,0);} }

.hero__title { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; margin: 1.1rem 0 1.1rem; }
/* Typewriter headline — JS adds .is-typing; without it the first phrase just sits there */
.hero__type { display: inline; white-space: nowrap; }
.hero__caret {
  display: inline-block; width: 3px; height: 0.86em; margin-left: 0.07em; vertical-align: -0.06em;
  border-radius: 2px; background: var(--orange); opacity: 0;
  box-shadow: 0 0 14px rgba(230,134,45,0.75);
}
.hero__type.is-typing .hero__caret { opacity: 1; animation: heroCaret 1.05s steps(1, end) infinite; }
@keyframes heroCaret { 0%, 48% { opacity: 1; } 52%, 96% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero__caret { display: none; }
}
.hero__lead { color: rgba(255, 255, 255, 0.78); font-size: clamp(1rem, 1.4vw, 1.16rem); max-width: 34rem; }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 2rem; }
.hero__actions .btn--ghost { background: rgba(255,255,255,0.06); color: var(--white); border-color: var(--line-light); }
.hero__actions .btn--ghost:hover { color: var(--amber); border-color: var(--amber); }

.hero__trust { display: flex; gap: clamp(1rem, 3vw, 2.4rem); flex-wrap: wrap; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--ff-head); font-size: 1.7rem; font-weight: 800; color: var(--orange); }
.hero__trust span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ---- Hero 3D scene ---- */
.hero__visual { perspective: 1500px; padding: 2.4rem 2rem; }
.scene { position: relative; transform-style: preserve-3d; transition: transform 0.25s var(--ease); }
.scene::before {
  content: ""; position: absolute; inset: 6% 8%; z-index: 0; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 30%, rgba(230,134,45,0.2), transparent 70%);
  filter: blur(30px); animation: glowBreath 8s ease-in-out infinite;
}
@keyframes glowBreath { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

.dash {
  position: relative; z-index: 2; background: linear-gradient(160deg, #2d3036, #212327 70%);
  border: 1px solid rgba(154,163,174,0.22); border-radius: 22px; padding: 1.5rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: rotateY(-12deg) rotateX(5deg); transform-style: preserve-3d;
  will-change: transform; animation: dashFloat 9s ease-in-out infinite;
}
/* Continuous, hover-free 3D drift of the whole console */
@keyframes dashFloat {
  0%   { transform: rotateY(-13deg) rotateX(6deg) translateY(0); }
  50%  { transform: rotateY(-7deg)  rotateX(2.5deg) translateY(-12px); }
  100% { transform: rotateY(-13deg) rotateX(6deg) translateY(0); }
}
/* Premium glass light-sweep gliding across the card */
.dash::after {
  content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.12) 46%, rgba(255,255,255,0.02) 54%, transparent 66%);
  background-size: 260% 100%; mix-blend-mode: screen;
  animation: dashSheen 7s ease-in-out infinite;
}
@keyframes dashSheen { 0% { background-position: 135% 0; } 60%, 100% { background-position: -35% 0; } }
.dash__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; padding-left: 3.4rem; position: relative; }
.dash__top::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 2.6rem; height: 10px;
  background:
    radial-gradient(circle 4px at 4px 5px, var(--orange) 96%, transparent),
    radial-gradient(circle 4px at 17px 5px, var(--amber) 96%, transparent),
    radial-gradient(circle 4px at 30px 5px, var(--mist) 96%, transparent);
}
.dash__title { font-family: var(--ff-head); font-weight: 700; color: var(--white); font-size: 0.98rem; }
.dash__badge { position: relative; font-size: 0.7rem; font-weight: 700; color: var(--ink); background: var(--mist); padding: 0.2rem 0.6rem 0.2rem 1.05rem; border-radius: 999px; }
.dash__badge::before { content: ""; position: absolute; left: 0.42rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #1d1e20; animation: livePulse 1.9s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(29,30,32,0.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(29,30,32,0); } }
.dash__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.2rem; }
.stat { background: rgba(154,163,174,0.08); border: 1px solid rgba(154,163,174,0.14); border-radius: 14px; padding: 0.85rem; }
.stat__label { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.stat__num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem; color: var(--white); }
.stat__up { color: #7ee0a5; font-size: 0.78rem; font-weight: 700; }
.stat__down { color: var(--mist); font-size: 0.78rem; font-weight: 700; }
.dash__chart {
  display: flex; align-items: flex-end; gap: 0.55rem; height: 100px; padding: 0.8rem 0.2rem 0.2rem;
  border-top: 1px solid rgba(154,163,174,0.14);
  background: linear-gradient(180deg, transparent, rgba(154,163,174,0.05));
  border-radius: 0 0 10px 10px;
}
.dash__chart span {
  flex: 1; height: var(--h); background: var(--grad-warm); border-radius: 6px 6px 3px 3px;
  transform-origin: bottom; animation: grow 1.1s var(--ease) both;
  box-shadow: 0 4px 12px rgba(230,134,45,0.28);
}
.dash__chart span:nth-child(even) { background: linear-gradient(180deg, var(--mist), #737d88); box-shadow: 0 4px 12px rgba(154,163,174,0.28); }
@keyframes grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 0.7rem;
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 0.7rem 0.9rem;
  box-shadow: 0 20px 44px rgba(0,0,0,0.4); font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.7);
  max-width: 62%;
  transform: translateZ(90px);
}
.float-card strong { display: block; font-family: var(--ff-head); font-size: 0.85rem; }
.float-card small { color: var(--muted); font-size: 0.72rem; }
.fc__icon { font-size: 1.2rem; flex-shrink: 0; }
.fc__rank { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad-warm); color: var(--ink); font-family: var(--ff-head); font-weight: 800; font-size: 0.85rem; }
.float-card { will-change: transform; }
.float-card--a { top: -1%; left: -3%; animation: floatA 6s ease-in-out infinite; }
.float-card--b { top: 40%; right: -3%; animation: floatB 7.2s ease-in-out infinite 0.5s; }
.float-card--c { bottom: 0%; left: 2%; animation: floatC 6.6s ease-in-out infinite 1s; }
/* Each badge drifts at its own depth + speed for layered parallax */
@keyframes floatA { 0%,100% { transform: translateZ(80px) translateY(0) rotate(-1.5deg); } 50% { transform: translateZ(115px) translateY(-14px) rotate(1deg); } }
@keyframes floatB { 0%,100% { transform: translateZ(100px) translate(0,0) rotate(1.5deg); } 50% { transform: translateZ(132px) translate(6px,-11px) rotate(-1deg); } }
@keyframes floatC { 0%,100% { transform: translateZ(70px) translateY(0) rotate(1deg); } 50% { transform: translateZ(102px) translateY(-16px) rotate(-1.5deg); } }

.scroll-cue { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.3); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--orange); animation: cue 1.6s infinite; }
@keyframes cue { 0%{transform:translateY(0);opacity:1;} 70%{transform:translateY(14px);opacity:0;} 100%{opacity:0;} }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  position: relative; text-align: center; color: var(--white); overflow: hidden;
  padding: clamp(8rem, 16vh, 11rem) 0 clamp(3.4rem, 7vh, 5rem);
  background:
    radial-gradient(1000px 500px at 70% -20%, rgba(154, 163, 174, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-2) 70%, var(--ink-3));
}
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__bg .orb--orange { top: -120px; right: 4%; }
.page-hero__bg .orb--mist { bottom: -140px; left: 6%; }
.page-hero__inner { position: relative; z-index: 1; max-width: 50rem; margin-inline: auto; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; margin: 0.9rem 0 1.1rem; }
.page-hero__sub { color: rgba(255,255,255,0.75); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 42rem; margin-inline: auto; }
.page-hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.page-hero__actions .btn--ghost { background: rgba(255,255,255,0.06); color: var(--white); border-color: var(--line-light); }
.page-hero__actions .btn--ghost:hover { color: var(--amber); border-color: var(--amber); }
.crumb { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.crumb a:hover { color: var(--amber); }
.crumb span { color: var(--orange); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--ink-3); color: var(--white); padding: 1.1rem 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: scrollx 26s linear infinite; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; }
.marquee__track span:not([aria-hidden]) { color: var(--white); }
.marquee__track [aria-hidden] { color: var(--orange); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(4rem, 9vh, 7rem) 0; }
.section--alt { background: var(--cream); }
.section__head { max-width: 44rem; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.section__title--light { color: var(--white); }
.section__sub { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.1rem); margin-top: 0.9rem; }
.section__sub--light { color: rgba(255,255,255,0.7); }

/* ===== Services grid (cards) ===== */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 880px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; } }
.scard {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  transform-style: preserve-3d; overflow: hidden;
}
.scard::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.scard:hover { box-shadow: var(--shadow-md); border-color: rgba(230,134,45,0.35); }
.scard:hover::before { transform: scaleX(1); }
.scard__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(160deg, rgba(230,134,45,0.14), rgba(242,166,90,0.16)); font-size: 1.5rem; margin-bottom: 1.1rem; }
.scard h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.scard p { color: var(--muted); font-size: 0.95rem; }
.scard__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.scard__tags li { font-size: 0.72rem; font-weight: 600; color: var(--ink); background: var(--cream); border: 1px solid var(--line); padding: 0.28rem 0.7rem; border-radius: 999px; }
.scard__more { margin-top: auto; padding-top: 1.1rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.86rem; color: var(--orange); }
.scard__more:hover { text-decoration: underline; }

/* ===== Service card premium banners (self-contained SVG art) ===== */
.scard::before { z-index: 4; } /* keep hover accent above the banner */
.scard__banner {
  position: relative; overflow: hidden;
  margin: -1.8rem -1.6rem 1.3rem;          /* full-bleed over the card padding */
  aspect-ratio: 16 / 9;                    /* landscape banner — scales with the card */
  display: flex; align-items: flex-end; padding: 0.85rem 0.95rem;
  background:
    radial-gradient(150px 120px at 84% -20%, var(--banner-glow, rgba(230,134,45,0.55)), transparent 70%),
    linear-gradient(155deg, var(--ink-3), var(--ink) 82%);
}
.scard__banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
          mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.scard__art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform 0.55s var(--ease);
}
/* Real banner artwork — fills the panel; the grid overlay + chip sit above it. */
.scard__img { object-fit: cover; object-position: center; }
.scard__banner:has(.scard__img)::before { opacity: 0.45; }   /* soften the grid over photography */
.scard:hover .scard__art { transform: scale(1.05); }
.scard__chip {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 14px; font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 12px 26px rgba(0,0,0,0.4);
}
/* per-service glow accents (kept on-brand) */
.scard__banner--launch   { --banner-glow: rgba(230,134,45,0.60); }
.scard__banner--research  { --banner-glow: rgba(154,163,174,0.55); }
.scard__banner--sourcing  { --banner-glow: rgba(242,166,90,0.60); }
.scard__banner--listing   { --banner-glow: rgba(230,134,45,0.50); }
.scard__banner--creative  { --banner-glow: rgba(242,166,90,0.65); }
.scard__banner--ppc       { --banner-glow: rgba(230,134,45,0.60); }
.scard__banner--health    { --banner-glow: rgba(154,163,174,0.55); }
.scard__banner--channel   { --banner-glow: rgba(242,166,90,0.55); }
.scard__banner--audit     { --banner-glow: rgba(230,134,45,0.65); }
/* CTA "start here" card — identical shell/background to the other service cards */
.scard--cta { background: var(--white); }

/* Reuse the SVG-art layer inside blog thumbs on the homepage */
.bcard__thumb .scard__art { z-index: 0; }
.bcard__glyph { position: relative; z-index: 2; font-size: 2.6rem; line-height: 1; }
.bcard:hover .scard__art { transform: scale(1.05); }

.services__note {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 2.4rem; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--cream), rgba(242,166,90,0.14));
  border: 1px solid var(--line);
}
.services__note p { font-size: 1rem; color: var(--ink); }

/* ===== Detailed service rows (services page) ===== */
.svc-rows { display: grid; gap: clamp(2.4rem, 6vw, 4.5rem); }
.svc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.svc--flip { direction: rtl; }
.svc--flip > * { direction: ltr; }
.svc__panel {
  position: relative; border-radius: 22px; padding: 2.4rem 2rem; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink) 85%);
  border: 1px solid rgba(154,163,174,0.18); color: var(--white);
  box-shadow: var(--shadow-md); min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
}
.svc__panel::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: var(--orange); filter: blur(90px); opacity: 0.22; top: -80px; right: -60px;
}
.svc__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(160deg, rgba(230,134,45,0.25), rgba(242,166,90,0.16)); border: 1px solid rgba(230,134,45,0.35); font-size: 1.8rem; }
.svc__metric { position: relative; }
.svc__metric strong { display: block; font-family: var(--ff-head); font-weight: 800; font-size: 2rem; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc__metric span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.svc__num { position: absolute; right: 1.4rem; bottom: 0.6rem; font-family: var(--ff-head); font-weight: 800; font-size: 4.4rem; color: rgba(255,255,255,0.05); line-height: 1; }
.svc__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.7rem; }
.svc__body > p { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.3rem; max-width: 34rem; }
.svc__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.2rem; margin-bottom: 1.5rem; }
.svc__list li { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.93rem; font-weight: 500; color: var(--ink); }
.svc__list li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.svc__link { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--orange); }
.svc__link:hover { text-decoration: underline; }

/* ===== Engagement plans ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan__tag { font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.6rem; }
.plan h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.plan__for { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.2rem; }
.plan__price { font-family: var(--ff-head); font-weight: 800; font-size: 1.9rem; margin-bottom: 1.2rem; }
.plan__price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.plan ul { display: grid; gap: 0.6rem; margin-bottom: 1.8rem; }
.plan li { display: flex; gap: 0.6rem; align-items: baseline; font-size: 0.92rem; color: var(--ink); }
.plan li::before { content: "✓"; color: var(--orange); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan--featured {
  background: linear-gradient(165deg, var(--ink-3), var(--ink) 85%); color: var(--white);
  border: 1px solid rgba(230,134,45,0.5); box-shadow: var(--shadow-lg); transform: scale(1.02);
}
.plan--featured:hover { transform: scale(1.02) translateY(-6px); }
.plan--featured h3, .plan--featured .plan__price { color: var(--white); }
.plan--featured .plan__for { color: rgba(255,255,255,0.65); }
.plan--featured li { color: rgba(255,255,255,0.85); }
.plan__badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--grad-warm); color: var(--ink); font-family: var(--ff-head); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.32rem 0.9rem; border-radius: 999px; box-shadow: 0 8px 20px rgba(230,134,45,0.4);
}

/* ===== Process ===== */
.process { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--ff-head); font-weight: 800; font-size: 2.2rem; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-size: 1.15rem; margin: 0.5rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ===== Results / stats band ===== */
.results { background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: var(--white); position: relative; overflow: hidden; }
.results::before { content: ""; position: absolute; width: 420px; height: 420px; background: var(--orange); filter: blur(120px); opacity: 0.14; top: -120px; right: -80px; }
.results__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.results__lead { color: rgba(255,255,255,0.75); font-size: 1.08rem; margin: 1rem 0 1.8rem; max-width: 30rem; }
.results__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.results__cards--wide { grid-template-columns: repeat(4, 1fr); }
.rcard {
  background: rgba(154,163,174,0.08); border: 1px solid rgba(154,163,174,0.18); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; text-align: center; transition: transform 0.3s var(--ease), background 0.3s;
}
.rcard:hover { transform: translateY(-6px); background: rgba(154,163,174,0.14); }
.rcard__num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rcard__label { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* =========================================================
   CASE STUDIES — luxury bento
   ========================================================= */
.portfolio {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(154,163,174,0.12), transparent 60%),
    var(--paper);
}
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--ink-3), var(--ink) 85%);
  color: var(--white); border: 1px solid rgba(154,163,174,0.16);
  border-radius: var(--radius); padding: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-md); transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(230,134,45,0.5), transparent 40%);
  opacity: 0; transition: opacity 0.4s; mix-blend-mode: overlay;
}
.pcard:hover { box-shadow: var(--shadow-lg); border-color: rgba(230,134,45,0.4); }
.pcard:hover::after { opacity: 1; }

.pcard__tag {
  align-self: flex-start; font-family: var(--ff-head); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.6rem;
}
.pcard h3 { color: var(--white); font-size: 1.18rem; margin-bottom: 0.5rem; }
.pcard p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 1.1rem; }

.pcard__thumb {
  position: relative; height: 132px; border-radius: 14px; margin-bottom: 1.1rem;
  display: flex; align-items: flex-end; padding: 0.75rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(150px 120px at 84% -20%, var(--pc-glow, rgba(230,134,45,0.5)), transparent 70%),
    linear-gradient(150deg, #2b2e33, #191a1c 84%);
}
.pcard__thumb--orange { --pc-glow: rgba(230,134,45,0.55); }
.pcard__thumb--mist   { --pc-glow: rgba(154,163,174,0.45); }
.pcard__thumb--amber  { --pc-glow: rgba(242,166,90,0.55); }
/* result-visualisation SVG art */
.pcard__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: transform 0.55s var(--ease); }
.pcard:hover .pcard__art { transform: scale(1.05); }
/* frosted-glass emoji chip */
.pcard__chip {
  position: relative; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; font-size: 1.3rem;
  background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 10px 22px rgba(0,0,0,0.4);
}
.pcard__icon { font-size: 2.2rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4)); }
.pcard__delta {
  position: absolute; bottom: 0.6rem; right: 0.6rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem;
  background: rgba(29,30,32,0.6); color: var(--white); padding: 0.24rem 0.6rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.12);
}

.pcard__metrics { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: auto; }
.pcard__metrics--sm { gap: 1.1rem; }
.pcard__metrics li { display: flex; flex-direction: column; }
.pcard__metrics strong {
  font-family: var(--ff-head); font-weight: 800; font-size: 1.35rem;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pcard__metrics--sm strong { font-size: 1.1rem; }
.pcard__metrics span { font-size: 0.72rem; color: rgba(255,255,255,0.55); }

.pcard--feature {
  grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: 2rem;
  padding: 1.8rem; background: linear-gradient(150deg, #35383e, var(--ink) 80%);
}
.pcard__media {
  position: relative; flex: 0 0 42%; border-radius: 16px; padding: 1.4rem; overflow: hidden;
  background:
    radial-gradient(180px 150px at 88% -10%, rgba(230,134,45,0.4), transparent 70%),
    linear-gradient(160deg, rgba(154,163,174,0.14), rgba(29,30,32,0.28));
  border: 1px solid rgba(154,163,174,0.18); display: flex; flex-direction: column; justify-content: flex-end;
}
.pcard__media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
          mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.pcard__media > * { position: relative; z-index: 1; }
.pcard__media-badge {
  position: absolute; top: 1rem; left: 1rem; font-size: 0.7rem; font-weight: 700;
  color: var(--ink); background: var(--amber); padding: 0.24rem 0.7rem; border-radius: 999px;
}
.pcard__mini { background: rgba(29,30,32,0.4); border: 1px solid rgba(154,163,174,0.16); border-radius: 12px; padding: 1rem; }
.pcard__mini-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 0.8rem; }
.pcard__mini-up { color: #7ee0a5; font-weight: 700; }
.pcard__spark { display: flex; align-items: flex-end; gap: 0.35rem; height: 68px; }
.pcard__spark span {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: var(--grad-warm); transform-origin: bottom; animation: grow 1.1s var(--ease) both;
}
.pcard__spark span:nth-child(even) { background: linear-gradient(180deg, var(--mist), #737d88); }
.pcard--feature .pcard__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pcard--feature h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.pcard--feature p { font-size: 1rem; max-width: 34rem; }

.portfolio__cta {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap;
  margin-top: 2.6rem; text-align: center;
}
.portfolio__cta p { font-family: var(--ff-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }

@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pcard--feature { grid-column: 1 / -1; flex-direction: column; gap: 1.4rem; }
  .pcard__media { flex: none; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.story__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__visual { perspective: 1200px; }
.profile {
  background: linear-gradient(160deg, var(--white), var(--cream)); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.8rem; box-shadow: var(--shadow-md); transform-style: preserve-3d; transition: transform 0.2s var(--ease);
}
.profile__avatar {
  width: 84px; height: 84px; border-radius: 22px; background: var(--ink); color: var(--white);
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 26px rgba(29,30,32,0.3); margin-bottom: 1.1rem;
}
.profile__avatar svg { width: 46px; height: 46px; }
.profile__body strong { font-family: var(--ff-head); font-size: 1.25rem; color: var(--ink); }
.profile__body strong b { color: var(--orange); }
.profile__body > span { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.profile__skills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.profile__skills span { font-size: 0.75rem; font-weight: 600; color: var(--ink); background: var(--cream); border: 1px solid var(--line); padding: 0.32rem 0.7rem; border-radius: 999px; }
.story__copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.3rem; }
.story__list { display: grid; gap: 0.7rem; margin-bottom: 1.6rem; }
.story__list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; color: var(--ink); }
.story__list li span { color: var(--orange); font-weight: 800; }

/* =========================================================
   ABOUT — expertise chips · vision/mission · why-choose
   ========================================================= */
.caps { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; max-width: 62rem; margin-inline: auto; }
.cap {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.1rem; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(230,134,45,0.4); }
.cap .ico { color: var(--orange); width: 16px; height: 16px; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.vm-card {
  position: relative; overflow: hidden; padding: clamp(1.8rem, 3.2vw, 2.8rem);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.vm-card--dark { background: linear-gradient(160deg, var(--ink-3), var(--ink) 88%); border-color: rgba(230,134,45,0.3); }
.vm-card--dark .vm-card__text { color: rgba(255,255,255,0.92); }
.vm-card--dark .eyebrow { color: var(--orange); }
.vm-card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad-warm); color: var(--ink); margin-bottom: 1.2rem; }
.vm-card__ic .ico { width: 26px; height: 26px; }
.vm-card .eyebrow { margin-bottom: 0.7rem; }
.vm-card__text { font-family: var(--ff-head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink); margin: 0; }

.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.2rem; }
.reason { display: flex; gap: 1rem; align-items: flex-start; }
.reason__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(160deg, rgba(230,134,45,0.14), rgba(242,166,90,0.16)); color: var(--orange); }
.reason__ic .ico { width: 21px; height: 21px; }
.reason h3 { font-size: 1.08rem; margin: 0.1rem 0 0.3rem; }
.reason p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; margin: 0; }

@media (max-width: 760px) {
  .vm-grid { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.team-grid--3 { grid-template-columns: repeat(3, 1fr); }   /* 6-member grid (About) → 3 + 3 */
.tm {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.tm:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(230,134,45,0.3); }

/* --- Premium portrait media --- */
.tm__photo {
  position: relative; aspect-ratio: 5 / 6; overflow: hidden;
  background:
    radial-gradient(150px 130px at 82% -10%, var(--tm-glow, rgba(230,134,45,0.55)), transparent 70%),
    linear-gradient(160deg, var(--ink-3), var(--ink) 82%);
}
.tm__photo--warm { --tm-glow: rgba(230,134,45,0.60); }
.tm__photo--ink  { --tm-glow: rgba(154,163,174,0.42); }
.tm__photo::before {   /* fine grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
          mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.tm__photo::after {    /* base fade so the body blends in */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(29,30,32,0.35));
}
.tm__portrait {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;   /* keep faces framed; sits above grid texture, below the base fade */
  transition: transform 0.55s var(--ease);
}
.tm:hover .tm__portrait { transform: scale(1.045); }
.tm__chip {   /* frosted glass monogram */
  position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  font-family: var(--ff-head); font-weight: 800; font-size: 0.95rem; color: var(--white);
  background: rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255,255,255,0.22); box-shadow: 0 10px 22px rgba(0,0,0,0.4);
}
.tm__social {   /* hover-reveal LinkedIn */
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 3;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  color: var(--white); background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255,255,255,0.22);
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.tm__social svg { width: 18px; height: 18px; fill: currentColor; }
.tm:hover .tm__social, .tm__social:focus-visible { opacity: 1; transform: translateY(0); }
.tm__social:hover { background: var(--orange); color: var(--ink); border-color: transparent; }

/* --- Body --- */
.tm__body { padding: 1.15rem 1.25rem 1.4rem; }
.tm h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.tm__role {
  display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.03em; color: var(--orange); background: rgba(230,134,45,0.1);
  border: 1px solid rgba(230,134,45,0.22); padding: 0.28rem 0.7rem; border-radius: 999px;
  margin-bottom: 0.7rem;
}
.tm p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* Timeline (journey) */
.journey { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--ink-2), var(--ink) 70%); color: var(--white); }
.journey__bg { position: absolute; inset: 0; pointer-events: none; }
.journey__bg .orb--orange { width: 340px; height: 340px; top: -100px; right: -60px; opacity: 0.14; }
.journey__bg .orb--mist { width: 300px; height: 300px; bottom: -100px; left: -60px; opacity: 0.1; }

.journey__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }

.timeline__head {
  display: flex; align-items: center; gap: 0.7rem; font-size: 1.3rem; color: var(--white);
  margin-bottom: 1.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-light);
}
.timeline__ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(230,134,45,0.2), rgba(242,166,90,0.18));
  border: 1px solid rgba(230,134,45,0.3); font-size: 1.2rem;
}

.timeline__list { position: relative; list-style: none; padding-left: 1.9rem; border-left: 2px solid rgba(230,134,45,0.3); }
.tl-item { position: relative; padding: 0 0 1.9rem 0.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.45rem; top: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-warm); box-shadow: 0 0 0 4px rgba(230,134,45,0.15), 0 0 12px rgba(230,134,45,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tl-item:hover::before { transform: scale(1.25); box-shadow: 0 0 0 5px rgba(230,134,45,0.22), 0 0 18px rgba(230,134,45,0.8); }

.tl-item__year {
  display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; color: var(--ink); background: var(--mist);
  padding: 0.2rem 0.65rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.tl-item h4 { font-family: var(--ff-head); font-size: 1.1rem; color: var(--white); margin-bottom: 0.25rem; }
.tl-item__org { display: block; font-size: 0.85rem; font-weight: 600; color: var(--amber); margin-bottom: 0.5rem; }
.tl-item p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.tl-item__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; list-style: none; }
.tl-item__tags li { font-size: 0.7rem; font-weight: 600; color: var(--white); background: rgba(154,163,174,0.16); border: 1px solid rgba(154,163,174,0.24); padding: 0.24rem 0.65rem; border-radius: 999px; }

@media (max-width: 760px) {
  .journey__grid { grid-template-columns: 1fr; gap: 2.6rem; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.tcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tcard__stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 0.9rem; }
.tcard blockquote { font-size: 1rem; color: var(--ink); line-height: 1.65; }
.tcard figcaption { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; gap: 0.8rem; }
.tcard__avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-warm); color: var(--ink); font-family: var(--ff-head); font-weight: 800; font-size: 0.9rem;
}
/* Real client photo in place of the monogram chip */
.tcard__avatar--photo {
  display: block; object-fit: cover; object-position: center;
  background: var(--cream); padding: 0; border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(29,30,32,0.14);
}
.tcard figcaption strong { font-family: var(--ff-head); display: block; color: var(--ink); line-height: 1.2; }
.tcard figcaption span { color: var(--muted); font-size: 0.85rem; }
.tcard__chip {
  align-self: flex-start; margin-bottom: 0.9rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem;
  color: var(--orange); background: rgba(230,134,45,0.1); border: 1px solid rgba(230,134,45,0.25);
  padding: 0.26rem 0.7rem; border-radius: 999px;
}

/* Featured quote */
.tcard--feature {
  grid-column: 1 / -1; padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(160deg, var(--ink-3), var(--ink) 85%); color: var(--white);
  border-color: rgba(230,134,45,0.3);
}
.tcard--feature blockquote { color: rgba(255,255,255,0.9); font-family: var(--ff-head); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.5; max-width: 52rem; }
.tcard--feature figcaption strong { color: var(--white); }
.tcard--feature figcaption span { color: var(--mist); }
.tquote-mark { font-family: var(--ff-head); font-size: 4rem; line-height: 0.6; color: var(--orange); display: block; margin-bottom: 1.4rem; }

/* =========================================================
   BLOG
   ========================================================= */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.bcard {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(230,134,45,0.35); }
.bcard__thumb {
  position: relative; height: 168px; display: grid; place-items: center; font-size: 2.6rem;
  background: linear-gradient(140deg, var(--cream), rgba(242,166,90,0.25));
}
.bcard__thumb--dark { background: linear-gradient(150deg, var(--ink-3), var(--ink)); }
.bcard__thumb--mist { background: linear-gradient(140deg, rgba(154,163,174,0.3), var(--cream)); }
.bcard__cat {
  position: absolute; top: 0.85rem; left: 0.85rem; font-family: var(--ff-head); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 0.28rem 0.7rem; border-radius: 999px;
}
.bcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.bcard__meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.55rem; }
.bcard h3 { font-size: 1.12rem; margin-bottom: 0.5rem; line-height: 1.3; }
.bcard h3 a:hover { color: var(--orange); }
.bcard p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
.bcard__more { margin-top: auto; font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem; color: var(--orange); }
.bcard__more:hover { text-decoration: underline; }

.bcard--feature { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.bcard--feature .bcard__thumb { flex: 0 0 46%; height: auto; min-height: 280px; font-size: 4rem; }
.bcard--feature .bcard__body { justify-content: center; padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.bcard--feature h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.bcard--feature p { font-size: 1rem; max-width: 34rem; }

/* Newsletter band */
.newsletter {
  position: relative; overflow: hidden; border-radius: 24px; padding: clamp(2rem, 5vw, 3.4rem);
  background: linear-gradient(150deg, var(--ink-3), var(--ink) 80%); color: var(--white);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  border: 1px solid rgba(154,163,174,0.18); box-shadow: var(--shadow-lg);
}
.newsletter::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--orange); filter: blur(110px); opacity: 0.2; top: -100px; right: -60px; }
.newsletter h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 0.6rem; }
.newsletter p { color: rgba(255,255,255,0.72); font-size: 0.98rem; }
.newsletter form { position: relative; display: flex; gap: 0.7rem; }
.newsletter input {
  flex: 1; font-family: var(--ff-body); font-size: 0.95rem; color: var(--white);
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(154,163,174,0.3);
  border-radius: 999px; padding: 0.95rem 1.3rem; transition: border-color 0.2s, background 0.2s;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter input:focus { outline: none; border-color: var(--orange); background: rgba(255,255,255,0.1); }
.newsletter .form__status { text-align: left; }

/* =========================================================
   CTA BAND (shared)
   ========================================================= */
.cta-band { padding: clamp(3.4rem, 8vh, 6rem) 0; }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(2.2rem, 5vw, 4rem);
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(242,166,90,0.2), transparent 60%),
    linear-gradient(150deg, var(--ink-2), var(--ink) 80%);
  color: var(--white); border: 1px solid rgba(154,163,174,0.16); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band__inner::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: var(--orange); filter: blur(120px); opacity: 0.18; bottom: -140px; left: -80px; }
.cta-band h2 { position: relative; color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.6rem; max-width: 30rem; }
.cta-band p { position: relative; color: rgba(255,255,255,0.72); max-width: 32rem; }
.cta-band .btn { position: relative; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item[open] { border-color: rgba(230,134,45,0.4); box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--ink);
  padding: 1.15rem 1.4rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--cream); color: var(--orange);
  font-weight: 800; font-size: 1.1rem; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.faq__item[open] summary::after { content: "−"; background: var(--grad-warm); color: var(--ink); }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   FORMS (Booking + Contact)
   ========================================================= */
.booking { background: var(--cream); }   /* warm light — separates it from the dark page-hero above */
.booking__grid, .contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: start; }
.booking__lead { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 1.6rem; max-width: 28rem; }
.booking__points { display: grid; gap: 0.8rem; }
.booking__points li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 500; }

.contact { background: var(--paper); border-top: 1px solid var(--line); }  /* hairline keeps it distinct from the cream band above */
.contact__info p { color: var(--muted); font-size: 1.05rem; margin: 1rem 0 1.4rem; max-width: 26rem; }
.contact__mail { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); border-bottom: 2px solid var(--orange); padding-bottom: 2px; margin-bottom: 1.8rem; transition: color 0.2s; }
.contact__mail:hover { color: var(--orange); }

.contact__facts { display: grid; gap: 0.9rem; margin-bottom: 1.8rem; }
.contact__facts li { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.contact__facts li span:first-child {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--cream); border: 1px solid var(--line); font-size: 1.1rem;
}

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.form { padding: clamp(1.6rem, 3vw, 2.2rem); border: 1px solid var(--line); }
.form__title { font-size: 1.4rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 0.98rem; color: var(--ink);
  background: #FBF8F3; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: var(--white);
  box-shadow: 0 0 0 4px rgba(230,134,45,0.12);
}
.field__error { display: none; color: #d64545; font-size: 0.78rem; margin-top: 0.35rem; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; background: #fff6f6; }
.field.invalid .field__error { display: block; }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0; }

.form__status { margin-top: 1rem; font-weight: 600; font-size: 0.92rem; text-align: center; min-height: 1.2rem; }
.form__status.success { color: #1f9d57; }
.form__status.error { color: #d64545; }

/* =========================================================
   SOCIALS
   ========================================================= */
.socials { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.social {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.social svg { width: 22px; height: 22px; fill: currentColor; transition: transform 0.25s var(--ease); }
.social:hover { transform: translateY(-4px) scale(1.06); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.social:hover svg { transform: scale(1.08); }

.social--linkedin:hover  { background: #0288D1; box-shadow: 0 12px 26px rgba(2,136,209,0.4); }
.social--facebook:hover  { background: #1877F2; box-shadow: 0 12px 26px rgba(24,119,242,0.4); }
.social--whatsapp:hover { background: #2AB540; box-shadow: 0 12px 26px rgba(42,181,64,0.4); }
.social--email:hover    { background: var(--grad-warm); color: var(--ink); box-shadow: 0 12px 26px rgba(230,134,45,0.4); }

/* Dark-surface socials (footer) */
.socials--dark .social { background: rgba(255,255,255,0.06); border-color: var(--line-light); color: rgba(255,255,255,0.85); box-shadow: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding: 4rem 0 2rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-light);
}
.footer__brand .brand { margin-bottom: 1rem; }
.footer__brand .brand__word { color: var(--white); }
.footer__brand .brand__text small { color: rgba(255,255,255,0.55); }
.footer__blurb { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 20rem; margin-bottom: 1.4rem; }
.footer h4 { font-family: var(--ff-head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }
.footer__links a { display: block; padding: 0.3rem 0; font-weight: 500; color: rgba(255,255,255,0.75); transition: color 0.2s, transform 0.2s; }
.footer__links a:hover { color: var(--orange); transform: translateX(3px); }
.footer__contact li { display: flex; gap: 0.6rem; align-items: baseline; color: rgba(255,255,255,0.75); font-size: 0.92rem; padding: 0.3rem 0; }
.footer__contact li span:first-child { color: var(--orange); }
.footer__contact a:hover { color: var(--amber); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--amber); }
.footer__legal { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer__legal a { position: relative; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer__legal a + a::before { content: ""; position: absolute; left: -0.72rem; top: 50%; transform: translateY(-50%); width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.28); }

/* Developer watermark */
.footer__credit { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer__credit:hover { color: rgba(255,255,255,0.9); }
.footer__credit-label { font-family: var(--ff-body); font-weight: 500; letter-spacing: 0.01em; }
.footer__credit-badge {
  font-family: var(--ff-head); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; color: #fff;
  background: var(--grad-warm); padding: 0.28rem 0.58rem; border-radius: 8px; line-height: 1;
  box-shadow: 0 6px 16px rgba(230,134,45,0.32); border: 1px solid rgba(255,255,255,0.14);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.footer__credit:hover .footer__credit-badge { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230,134,45,0.5); }
@media (max-width: 620px) { .footer__credit-label { display: none; } }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* =========================================================
   SERVICE INDEX BAR (services page)
   ========================================================= */
.svc-index { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.svc-index a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.85rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); padding: 0.55rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.svc-index a:hover { transform: translateY(-3px); color: var(--orange); border-color: rgba(230,134,45,0.4); box-shadow: var(--shadow-md); }
.svc-index a b { color: var(--orange); font-weight: 800; }

/* =========================================================
   SERVICE BLOCKS + SUB-SERVICE CARDS (services page)
   ========================================================= */
.service-block { padding: clamp(3rem, 7vh, 5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:first-of-type { border-top: none; }
.service-block__head { display: flex; align-items: flex-start; gap: 1.4rem; max-width: 54rem; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.service-block__icon {
  flex-shrink: 0; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(230,134,45,0.16), rgba(242,166,90,0.16));
  border: 1px solid rgba(230,134,45,0.24); font-size: 1.9rem;
}
.service-block__head .eyebrow { margin-bottom: 0.4rem; }
.service-block__head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.service-block__head p { color: var(--muted); font-size: 1.02rem; }

/* Centered flex — uniform cards, incomplete last row centers (5 → 3+2 → 2+2+1 → 1) */
.subgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.subcard {
  position: relative; flex: 0 1 calc((100% - 2.8rem) / 3);
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
@media (max-width: 1023px) { .subcard { flex-basis: calc((100% - 1.4rem) / 2); } }
@media (max-width: 640px)  { .subcard { flex-basis: 100%; } }
.subcard::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.subcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(230,134,45,0.3); }
.subcard:hover::before { transform: scaleX(1); }
.subcard__num { font-family: var(--ff-head); font-weight: 800; font-size: 0.82rem; color: var(--orange); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.subcard h3 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.95rem; padding-bottom: 0.95rem; border-bottom: 1px solid var(--line); }
.subcard ul { display: grid; gap: 0.6rem; }
.subcard li { position: relative; padding-left: 1.4rem; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.subcard li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-warm); }

@media (max-width: 620px) {
  .service-block__head { flex-direction: column; gap: 1rem; }
}

/* =========================================================
   CAREERS — open roles
   ========================================================= */
.roles { display: grid; gap: 1.1rem; }
.role {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 2rem 1.9rem 2.2rem;
  box-shadow: 0 1px 2px rgba(29,30,32,0.04), 0 14px 34px -20px rgba(29,30,32,0.28);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* Brand accent bar — grows in on hover, and stays lit while expanded */
.role::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-warm); border-radius: var(--radius) 0 0 var(--radius);
  transform: scaleY(0); transform-origin: top; transition: transform 0.45s var(--ease);
}
.role:hover {
  transform: translateY(-5px); border-color: rgba(230,134,45,0.35);
  box-shadow: 0 2px 4px rgba(29,30,32,0.05), 0 28px 54px -24px rgba(230,134,45,0.4);
}
.role:hover::before, .role.is-open::before { transform: scaleY(1); }

.role__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.1rem 2.4rem; align-items: center; }
.role__info { min-width: 0; }
.role h3 { font-size: 1.32rem; letter-spacing: -0.015em; margin: 0.8rem 0 0; }
.role__excerpt { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0.6rem 0 0; max-width: 52rem; }
.role__meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.role__tag {
  font-family: var(--ff-head); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); background: var(--cream); border: 1px solid var(--line);
  padding: 0.34rem 0.75rem; border-radius: 999px;
}
.role__tag--dept { color: var(--orange-ink); background: rgba(230,134,45,0.1); border-color: rgba(230,134,45,0.22); }

.role__actions { display: flex; flex-direction: column; gap: 0.55rem; align-items: stretch; min-width: 150px; }
.role__actions .btn { white-space: nowrap; text-align: center; }
.role__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 46px; padding: 0.5rem 1.15rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem; color: var(--ink);
  background: rgba(29,30,32,0.04); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.role__toggle:hover { border-color: rgba(230,134,45,0.5); color: var(--orange-ink); background: rgba(230,134,45,0.06); }
.role__toggle::after { content: "\25BE"; font-size: 0.7em; transition: transform 0.3s var(--ease); }
.role.is-open .role__toggle::after { transform: rotate(180deg); }

/* Expandable detail — animates to ANY content height via grid-rows 0fr→1fr */
.role__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.role__detail-inner { overflow: hidden; min-height: 0; }
.role.is-open .role__detail { grid-template-rows: 1fr; }

/* Premium JD typography (shared with the /admin live preview) */
.role__jd { font-size: 0.96rem; line-height: 1.72; color: var(--muted); max-width: 62rem;
  padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.role__jd--inline { padding-top: 0; margin-top: 0.7rem; border-top: 0; }
.role__jd > *:first-child { margin-top: 0; }
.role__jd > *:last-child { margin-bottom: 0; }
.role__jd h3 { font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; margin: 1.5rem 0 0.55rem; }
.role__jd h4 { font-size: 0.98rem; color: var(--ink); margin: 1.3rem 0 0.5rem; }
.role__jd p { margin: 0.8rem 0; }
.role__jd strong { color: var(--ink); font-weight: 700; }
.role__jd em { font-style: italic; }
.role__jd a { color: var(--orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.role__jd a:hover { color: var(--orange); }
.role__jd ul, .role__jd ol { margin: 0.75rem 0; padding-left: 1.4rem; display: grid; gap: 0.42rem; }
.role__jd li { padding-left: 0.2rem; }
.role__jd ul li::marker { color: var(--orange); }
.role__jd ol li::marker { color: var(--orange-ink); font-weight: 700; }
.role__jd blockquote { margin: 1rem 0; padding: 0.7rem 1.15rem; border-left: 3px solid var(--orange);
  background: var(--cream); border-radius: 0 10px 10px 0; color: var(--ink); }
.role__jd code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em;
  background: var(--cream); padding: 0.1rem 0.42rem; border-radius: 6px; color: var(--ink); }
.role__jd hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }

@media (max-width: 640px) {
  .role { padding: 1.6rem 1.4rem 1.6rem 1.6rem; }
  .role__head { grid-template-columns: 1fr; }
  .role__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .role__actions .btn, .role__toggle { flex: 1 1 auto; }
}

/* =========================================================
   SUB-SERVICE CARD BANNERS + CTA (services page)
   ========================================================= */
.subcard { padding: 0; }
.subcard::before { content: none; }
/* Premium dark banners — matches the homepage service-card aesthetic */
.subcard__banner {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex;
  align-items: flex-end; padding: 0.75rem 0.9rem;
  background:
    radial-gradient(160px 130px at 86% -25%, var(--sub-glow, rgba(230,134,45,0.55)), transparent 70%),
    linear-gradient(150deg, var(--ink-3), var(--ink) 82%);
}
/* fine grid texture */
.subcard__banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
          mask-image: linear-gradient(180deg, #000, transparent 92%);
}
/* Real sub-service artwork fills the banner; chip + numeral sit above it. */
.subcard__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.55s var(--ease);
}
.subcard:hover .subcard__img { transform: scale(1.05); }
/* soften the grid texture where a photo sits behind it */
.subcard__banner:has(.subcard__img)::before { opacity: 0.4; }
/* Glow rhythm across the 5 cards in each service block — all on-brand */
.subcard:nth-child(5n+1) .subcard__banner { --sub-glow: rgba(230,134,45,0.55); }
.subcard:nth-child(5n+2) .subcard__banner { --sub-glow: rgba(242,166,90,0.50); }
.subcard:nth-child(5n+3) .subcard__banner { --sub-glow: rgba(154,163,174,0.50); }
.subcard:nth-child(5n+4) .subcard__banner { --sub-glow: rgba(230,134,45,0.45); }
.subcard:nth-child(5n+5) .subcard__banner { --sub-glow: rgba(242,166,90,0.60); }
/* frosted-glass emoji chip */
.subcard__glyph {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; font-size: 1.35rem;
  background: rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 10px 22px rgba(0,0,0,0.4);
}
/* editorial corner numeral */
.subcard__index {
  position: absolute; top: 0.55rem; right: 0.9rem; z-index: 1;
  font-family: var(--ff-head); font-weight: 800; font-size: 1.55rem; line-height: 1;
  letter-spacing: -0.02em; color: rgba(255,255,255,0.3);
}
.subcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.subcard__cta {
  margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem; color: var(--ink); text-align: left; width: 100%;
}
.subcard__cta > span:first-child {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%;
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 1rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.subcard__cta i { font-style: normal; transition: transform 0.25s var(--ease); }
.subcard__cta:hover > span:first-child { background: var(--grad-warm); color: var(--ink); border-color: transparent; box-shadow: 0 10px 22px rgba(230,134,45,0.32); }
.subcard__cta:hover i { transform: translateX(4px); }

/* Premium texture on existing image blocks */
.bcard__thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.1px, transparent 1.2px);
  background-size: 15px 15px; opacity: 0.55;
}
.bcard__thumb--dark::after { background-image: radial-gradient(rgba(255,255,255,0.1) 1.1px, transparent 1.2px); }
.bcard__cat { z-index: 2; }
.pcard__thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
          mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.pcard__icon { position: relative; z-index: 3; }
.pcard__delta { z-index: 3; }

/* =========================================================
   BRAND LOGOS — double marquee (home)
   ========================================================= */
.logos { background: var(--cream); overflow: hidden; }
.logos__head { text-align: center; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.logo-marquee {
  display: flex; flex-direction: column; gap: clamp(0.8rem, 2vw, 1.2rem);
  /* vertical breathing room so the hover lift + shadow aren't clipped by the mask */
  padding: clamp(16px, 2vw, 26px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.4rem); width: max-content; animation: scrollx 40s linear infinite; }
.logo-track--reverse { animation: scrollx-rev 40s linear infinite; }
.logo-track:hover { animation-play-state: paused; }   /* pause only the row you hover, not the whole section */
@keyframes scrollx-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* real client logos — normalized white "logo chips": full color & bright, lift on hover.
   object-fit:contain guarantees every logo fits inside its chip regardless of aspect ratio */
.logo-item {
  flex: none; display: flex; align-items: center; justify-content: center; user-select: none;
  width: clamp(152px, 17.5vw, 212px); height: clamp(90px, 11vw, 120px);
  padding: clamp(14px, 1.5vw, 20px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 6px 16px rgba(20,22,26,0.05); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.logo-item img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.logo-item:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20,22,26,0.13); border-color: rgba(230,134,45,0.35); }
.logo-item:hover img { transform: scale(1.04); transition: transform 0.35s var(--ease); }

/* =========================================================
   MODAL — premium popup contact form
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,16,18,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 580px; max-height: 92vh; overflow-y: auto;
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(0.98); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.modal.open .modal__dialog { transform: none; opacity: 1; }
/* Hide the native scrollbar — its square track cut across the dialog's rounded
   corner and looked bolted on. Scrolling (wheel, trackpad, touch, keyboard)
   is untouched; only the chrome is gone. */
.modal__dialog { scrollbar-width: none; -ms-overflow-style: none; }
.modal__dialog::-webkit-scrollbar { width: 0; height: 0; }
.modal__head { position: relative; overflow: hidden; padding: 1.9rem 1.9rem 1.7rem; color: var(--white); background: linear-gradient(150deg, var(--ink-3), var(--ink) 85%); }
.modal__head::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.2px, transparent 1.4px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.modal__head::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: 0.35; top: -110px; right: -60px; }
.modal__head .eyebrow { position: relative; margin-bottom: 0.5rem; }
.modal__head h3 { position: relative; color: var(--white); font-size: clamp(1.35rem, 3vw, 1.6rem); margin-bottom: 0.5rem; }
.modal__ctx { position: relative; color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.modal__ctx strong { color: var(--amber); font-weight: 700; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: var(--white);
  transition: background 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.modal__close:hover { background: var(--orange); color: var(--ink); transform: rotate(90deg); }
.modal__form { padding: 1.6rem 1.9rem 2rem; }
.modal__fine { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.45rem; justify-content: center; }

@media (max-width: 520px) {
  .modal__form .field--split { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin: 0 auto; }
  .dash { transform: rotateY(-8deg) rotateX(4deg); }
  .results__grid, .story__grid, .booking__grid, .contact__grid { grid-template-columns: 1fr; }
  .results__cards--wide { grid-template-columns: 1fr 1fr; }
  .story__visual { max-width: 420px; }
  .contact__grid { direction: rtl; }
  .contact__grid > * { direction: ltr; }
  .svc, .svc--flip { grid-template-columns: 1fr; direction: ltr; }
  .svc__panel { min-height: 200px; }
  .plans { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .bcard--feature { flex-direction: column; }
  .bcard--feature .bcard__thumb { min-height: 200px; }
  .newsletter { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 350px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.3rem;
    background: var(--white); padding: 5.4rem 1.4rem 2rem;
    box-shadow: -24px 0 60px rgba(29,30,32,0.3); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.42s var(--ease); z-index: 95;
    overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: none; -ms-overflow-style: none;      /* same clean treatment as the modals */
  }
  .nav__links::-webkit-scrollbar { width: 0; height: 0; }
  .nav__links.open { transform: translateX(0); }
  .nav__close {
    display: grid; place-items: center; position: absolute; top: 1.05rem; right: 1.1rem;
    width: 42px; height: 42px; border-radius: 50%; background: var(--cream);
    border: 1px solid var(--line); color: var(--ink); flex: none;
    transition: background 0.25s, color 0.25s, transform 0.35s var(--ease);
  }
  .nav__close:hover, .nav__close:focus-visible { background: var(--orange); color: var(--ink); transform: rotate(90deg); }
  .nav__link,
  .nav:not(.scrolled) .nav__link { color: var(--ink); }
  .nav__link.is-active,
  .nav:not(.scrolled) .nav__link.is-active { color: var(--orange); }
  /* drawer: dissolve the desktop groups so every link flows in one column */
  .nav__set, .nav__mega-wrap { display: contents; }
  /* the mega panel is a desktop pattern — in the drawer, Services is a plain link */
  .mega { display: none; }
  .nav__chev { display: none; }
  .nav__link { padding: 0.9rem 1rem; border-radius: 12px; font-size: 1.05rem; overflow: visible; }
  .nav__link::before { display: none; }
  /* word links behave like the rest inside the drawer (icon back, no underline) */
  .nav__link--text { padding: 0.9rem 1rem; font-size: 1.05rem; }
  .nav__link--text .nav__ico { display: block; }
  .nav__link--text::after { display: none; }
  .nav__link--text:hover, .nav__link--text:focus-visible, .nav__link--text.is-active { background: rgba(230,134,45,0.1); color: var(--orange); }
  /* Drawer: icon + label always visible (never collapsed/clamped), calm treatment */
  .nav__label,
  .nav__link:hover .nav__label,
  .nav__link:focus-visible .nav__label,
  .nav__link.is-active .nav__label { max-width: none; opacity: 1; overflow: visible; margin-left: 0.75rem; }
  .nav__link:hover, .nav__link.is-active { background: rgba(230,134,45,0.1); color: var(--orange); transform: none; box-shadow: none; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 0.8rem 0 0; text-align: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(29,30,32,0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 89; backdrop-filter: blur(2px); }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .results__cards { grid-template-columns: 1fr 1fr; }
  .services__note { flex-direction: column; align-items: flex-start; text-align: left; }
  .contact__grid { direction: ltr; }
  .float-card { font-size: 0.72rem; padding: 0.55rem 0.7rem; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -2%; }
  .svc__list { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; max-width: 24rem; margin-inline: auto; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  /* Give the stacked hero room so the trust stats don't collide with the scroll cue */
  .hero { padding-bottom: 6.5rem; }
}

@media (max-width: 460px) {
  .hero { padding-top: 7.5rem; }
  .hero__trust { gap: 1.2rem; }
  .hero__trust strong { font-size: 1.4rem; }
  .btn { width: 100%; }
  .hero__actions .btn, .nav__cta { width: 100%; }
  .results__cards, .results__cards--wide { grid-template-columns: 1fr; }
  .float-card--c { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .brand__text small { display: none; }
  .field--split { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 340px) {
  .section__title { font-size: 1.6rem; }
  .float-card { display: none; }
}

/* Larger screens */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
}

/* =========================================================
   BLOG — image cards + article (post) pages
   ========================================================= */
/* Photo thumbnails on blog / insights cards */
.bcard__thumb--photo { background: var(--ink-3); }
.bcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.55s var(--ease); }
.bcard:hover .bcard__img { transform: scale(1.05); }
/* Photo thumbs swap the dot texture for a bottom scrim. The dot rule sets
   background-size:15px, which would tile this gradient into stripes — so reset
   the sizing/repeat and run the scrim at full strength. */
.bcard__thumb--photo::after {
  z-index: 1; opacity: 1;
  background-image: linear-gradient(180deg, rgba(29,30,32,0) 42%, rgba(29,30,32,0.55));
  background-size: 100% 100%; background-repeat: no-repeat;
}
.bcard--feature .bcard__thumb--photo { min-height: 280px; }

/* ---- Article hero (cinematic) ---- */
.post-hero { position: relative; overflow: hidden; padding: clamp(7rem, 13vh, 9.5rem) 0 clamp(5.5rem, 10vw, 8rem); background: radial-gradient(1000px 460px at 78% -10%, rgba(230,134,45,0.16), transparent 60%), linear-gradient(160deg, var(--ink-2), var(--ink)); color: #fff; }
.post-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.post-hero__inner { position: relative; max-width: 52rem; }
.post-hero .crumb { color: rgba(255,255,255,0.5); margin-bottom: 1.2rem; }
.post-hero .crumb a { color: rgba(255,255,255,0.8); }
.post-hero .crumb a:hover { color: var(--amber); }
.post-hero__cat { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 0.35rem 0.85rem; border-radius: 999px; }
.post-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.35rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; margin: 1.15rem 0 1.5rem; }
.post-hero__meta { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.post-hero__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.post-author { display: inline-flex; align-items: center; gap: 0.6rem; }
.post-author__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--ink)); color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.14); }
.post-author__av img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.post-author strong { color: #fff; font-weight: 600; }

/* Cover image (overlaps the hero, cinematic) */
.post__cover-wrap { margin-top: clamp(-4rem, -5vw, -2.6rem); position: relative; z-index: 2; }
.post__cover { width: 100%; aspect-ratio: 16 / 6.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.1); }

/* ---- Two-column reading layout ---- */
.post { padding-top: clamp(2.4rem, 5vw, 3.6rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.post__grid { display: grid; grid-template-columns: 240px minmax(0, 45rem); gap: clamp(2rem, 4.5vw, 4rem); justify-content: center; align-items: start; }

/* Sticky rail: table of contents + share */
.post__rail { position: sticky; top: 96px; display: grid; gap: 1.6rem; }
.post__toc-title, .post__share-title { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.post__toc nav { display: grid; gap: 0.15rem; border-left: 2px solid var(--line); }
.post__toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.9rem; line-height: 1.35; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.post__toc a:hover { color: var(--ink); }
.post__toc a.is-current { color: var(--orange); border-left-color: var(--orange); font-weight: 600; }
.post__share { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.post__share-title { margin: 0 0.2rem 0 0; }
.post__share a, .post__share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; }
.post__share a:hover, .post__share button:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.post__share a[data-brand="x"]:hover { background: #14171a; }
.post__share a[data-brand="linkedin"]:hover { background: #0288D1; }
.post__share button:hover { background: var(--orange); color: var(--ink); }
.post__share svg { width: 17px; height: 17px; fill: currentColor; }
.post__share .ico { width: 18px; height: 18px; }
.post__copied { font-size: 0.78rem; font-weight: 600; color: var(--orange); opacity: 0; transition: opacity 0.25s; }
.post__copied.show { opacity: 1; }

/* ---- Prose ---- */
.post__body { max-width: 45rem; }
.post__body > * + * { margin-top: 1.2rem; }
.post__lead { font-family: var(--ff-head); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.45rem); line-height: 1.55; color: var(--ink); letter-spacing: -0.01em; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.post__body p { color: #34363b; font-size: 1.075rem; line-height: 1.8; }
.post__body h2 { position: relative; font-size: clamp(1.45rem, 2.8vw, 1.95rem); line-height: 1.18; letter-spacing: -0.01em; margin-top: 2.8rem; padding-top: 0.4rem; scroll-margin-top: 90px; }
.post__body h2::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 3px; border-radius: 2px; background: var(--grad-warm); }
.post__body h3 { font-size: 1.25rem; margin-top: 2rem; scroll-margin-top: 90px; }
.post__body ul, .post__body ol { padding-left: 1.4rem; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin-top: 0.55rem; color: #34363b; font-size: 1.045rem; line-height: 1.72; padding-left: 0.2rem; }
.post__body li::marker { color: var(--orange); }
.post__body li strong { color: var(--ink); }
/* :not(.btn) — inline prose links get the underline; buttons must not */
.post__body a:not(.btn) { color: #b4611a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.2s; }
.post__body a:not(.btn):hover { color: var(--orange); }
.post__body .btn { text-decoration: none; }
.post__body .btn--primary { color: var(--ink); }
.post__body strong { color: var(--ink); font-weight: 700; }
.post__body blockquote { margin: 2rem 0; padding: 1.2rem 1.6rem; border-radius: var(--radius-sm); border-left: 3px solid var(--orange); background: linear-gradient(120deg, rgba(230,134,45,0.06), rgba(242,166,90,0.03)); font-family: var(--ff-head); font-weight: 500; font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.45; color: var(--ink); }
.post__body figure { margin: 2rem 0; }
.post__body figure img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.post__body figcaption { margin-top: 0.5rem; font-size: 0.82rem; color: var(--muted); text-align: center; }
.post__takeaways { margin: 2.4rem 0 0; position: relative; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 1.8rem) clamp(1.5rem, 3.5vw, 2rem); overflow: hidden; }
.post__takeaways::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: 0.28; top: -120px; right: -70px; }
.post__takeaways h3 { position: relative; margin-top: 0; color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.post__takeaways ul { position: relative; list-style: none; padding-left: 0; display: grid; gap: 0.75rem; margin-top: 1rem; }
.post__takeaways li { display: flex; gap: 0.75rem; margin-top: 0; font-size: 1.0rem; line-height: 1.5; color: rgba(255,255,255,0.9); }
.post__takeaways li .ico { color: var(--amber); margin-top: 0.15rem; flex: none; }

/* In-article CTA */
.post__cta { margin: 2.6rem 0 0; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; background: linear-gradient(150deg, var(--ink-3), var(--ink) 82%); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2rem); }
.post__cta h3 { color: #fff; font-size: 1.25rem; }
.post__cta p { color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-top: 0.3rem; max-width: 34ch; }

/* Author card */
.post__author-card { display: flex; gap: 1.2rem; align-items: flex-start; margin: 2.6rem 0 0; padding: clamp(1.4rem, 3.5vw, 1.8rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.post__author-photo { flex: none; width: 68px; height: 68px; border-radius: 18px; overflow: hidden; position: relative; background: radial-gradient(120px 90px at 80% -10%, rgba(230,134,45,0.55), transparent 70%), linear-gradient(160deg, var(--ink-3), var(--ink)); }
.post__author-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.post__author-label { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.post__author-card h3 { font-size: 1.15rem; margin: 0.25rem 0 0.1rem; }
.post__author-role { display: block; color: var(--orange); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.6rem; }
.post__author-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* Footer nav */
.post__foot { margin: 2.2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.post__back { font-family: var(--ff-head); font-weight: 700; font-size: 0.9rem; color: var(--orange); }
.post__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.post__tags span { font-size: 0.72rem; font-weight: 600; color: var(--ink); background: var(--cream); border: 1px solid var(--line); padding: 0.3rem 0.75rem; border-radius: 999px; }

/* Related posts */
.related { border-top: 1px solid var(--line); }

/* Responsive: collapse the rail */
@media (max-width: 1024px) {
  .post__grid { grid-template-columns: minmax(0, 46rem); justify-content: center; }
  .post__rail { position: static; top: auto; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.2rem 1.3rem; margin-bottom: 1.8rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
  .post__toc nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; border-left: none; }
  .post__toc a { padding: 0; margin-left: 0; border-left: none; }
  .post__toc a.is-current { border-left: none; }
  .post__author-card { flex-direction: row; }
}
@media (max-width: 560px) {
  .post__author-card { flex-direction: column; }
}

/* =========================================================
   ABOUT — homepage section (intro + stat cards)
   ========================================================= */
.about-home { position: relative; overflow: hidden; background: var(--cream); }
.about-home::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: var(--orange); filter: blur(150px); opacity: 0.07; top: -200px; right: -140px; pointer-events: none; }
.about-home .container { position: relative; }
.about-home__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-home__intro .eyebrow { margin-bottom: 0.9rem; }
.about-home__lead { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 0.85rem 0 1rem; }
.about-home__text { color: var(--muted); font-size: 1.02rem; line-height: 1.75; max-width: 34rem; }
.about-home__cta { margin-top: 1.7rem; }

.about-home__stats { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.astat { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: center; }
.astat__card {
  position: relative; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.astat__card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.astat:hover .astat__card { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(230,134,45,0.3); }
.astat:hover .astat__card::before { transform: scaleX(1); }
.astat__glow { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); filter: blur(80px); opacity: 0.1; top: -95px; right: -60px; pointer-events: none; }
.astat__label { position: relative; display: block; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.astat__num { position: relative; display: flex; align-items: baseline; gap: 0.32rem; font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.astat__num small { font-size: 0.42em; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.astat__count { font-variant-numeric: tabular-nums; }
.astat__accent { color: var(--orange); }
.astat__desc { color: var(--muted); font-size: 0.98rem; line-height: 1.65; }

@media (max-width: 900px) {
  .about-home__grid { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 2.6rem); }
  .about-home__text { max-width: none; }
}
@media (max-width: 620px) { .astat { grid-template-columns: 1fr; gap: 0.9rem; } }

/* =========================================================
   CASE STUDIES — tabbed showcase (homepage)
   ========================================================= */
.cs-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: clamp(1.8rem, 4vw, 2.6rem) 0 clamp(1.4rem, 3vw, 2rem); }
.cs-tab { font-family: var(--ff-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 0.72rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow-sm); transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.cs-tab:hover { color: var(--orange); border-color: rgba(230,134,45,0.4); transform: translateY(-2px); }
.cs-tab.is-active { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-md); }

.cs-panels { position: relative; }
.cs-panel { display: none; }
.cs-panel.is-active { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: stretch; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.4rem); animation: csFade 0.45s var(--ease); }
@keyframes csFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.cs-panel__body { display: flex; flex-direction: column; }
.cs-panel__eyebrow { font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.cs-panel__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.cs-panel__desc { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 40ch; margin-bottom: 1.4rem; }

.cs-panel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: auto; }
.cs-stat { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.7rem 0.7rem 1rem; box-shadow: var(--shadow-sm); }
.cs-stat__label { font-family: var(--ff-head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.cs-stat__pill { flex: none; font-family: var(--ff-head); font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--grad-warm); padding: 0.48rem 0.85rem; border-radius: 9px; white-space: nowrap; box-shadow: 0 6px 14px rgba(230,134,45,0.28); }

.cs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.8rem; }
.cs-ba { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem; box-shadow: var(--shadow-sm); }
.cs-ba__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.cs-ba__tag { text-align: center; font-family: var(--ff-head); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.32rem; border-radius: 7px; }
.cs-ba__tag--before { background: var(--ink); color: #fff; }
.cs-ba__tag--after { background: var(--grad-warm); color: #fff; }
.cs-ba__vals { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.5rem; text-align: center; }
.cs-ba__vals span { font-family: var(--ff-head); font-weight: 800; font-size: 0.98rem; letter-spacing: -0.01em; }
.cs-ba__vals span:first-child { color: var(--muted); }
.cs-ba__vals span:last-child { color: var(--orange); }
.cs-ba__cap { text-align: center; font-size: 0.68rem; color: var(--muted); margin-top: 0.4rem; }

/* Branded visual panel — now holds a real case-study image */
.cs-panel__visual {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 260px;
  background: linear-gradient(155deg, var(--ink-3), var(--ink) 82%);
}
.cs-panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; }
/* soft top scrim keeps the context pill legible over the artwork */
.cs-panel__visual::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,16,17,0.5), rgba(15,16,17,0) 32%); }
.cs-panel__tag { position: absolute; top: 1rem; left: 1rem; z-index: 3; font-family: var(--ff-head); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18); padding: 0.35rem 0.7rem; border-radius: 999px; }
.cs-logo { position: relative; z-index: 2; width: min(62%, 220px); height: auto; filter: brightness(0) invert(1); opacity: 0.95; }
/* Case-study hero stat (real, anonymized results) + result callout */
.cs-hero { position: relative; z-index: 2; text-align: center; padding: 0.5rem; }
.cs-hero__num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.6rem, 6.5vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.cs-hero__label { display: block; margin-top: 0.7rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.cs-quote { margin: 0 0 1.4rem; padding-left: 0.95rem; border-left: 3px solid var(--orange); font-style: italic; color: var(--ink); font-size: 0.95rem; line-height: 1.55; max-width: 42ch; }

@media (max-width: 860px) {
  .cs-panel.is-active { grid-template-columns: 1fr; }
  .cs-panel__visual { min-height: 200px; order: -1; }
}
@media (max-width: 520px) {
  .cs-panel__stats, .cs-compare { grid-template-columns: 1fr; }
  .cs-tab { flex: 1 1 42%; text-align: center; }
}

/* =========================================================
   ICONS — unified line-icon system (replaces all emoji)
   24×24 grid, 2px stroke, currentColor. Sizes to 1em of its
   context, so chips/lists control size via font-size.
   ========================================================= */
.ico {
  width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.15em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* Dark glass chips → white icons */
.scard__chip, .subcard__glyph, .pcard__chip { color: #fff; }
/* Value tiles & hero float cards → brand accent */
.scard__icon, .fc__icon { color: var(--orange); }
/* Blog thumbnails: icon contrast follows the thumb tone */
.bcard__thumb { color: var(--ink); }
.bcard__thumb--dark { color: #fff; }
/* Contact-fact badges → brand accent on the cream tile */
.contact__facts li span:first-child { color: var(--orange); }

/* =========================================================
   FORM SUCCESS — premium animated "thank you" state
   ========================================================= */
form.form--done { display: block; }
.form--done > *:not(.form-thanks) { display: none !important; }
.form-thanks {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(1.2rem, 4vw, 2.2rem) 0.5rem; outline: none;
  animation: ftIn 0.5s var(--ease) both;
}
@keyframes ftIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.form-thanks__mark { position: relative; width: 88px; height: 88px; margin-bottom: 1.3rem; display: grid; place-items: center; }
.form-thanks__mark::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: var(--grad-warm); opacity: 0.14; animation: ftPulse 2.4s ease-in-out infinite; }
.form-thanks__mark svg { position: relative; width: 88px; height: 88px; overflow: visible; }
.ft-circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 158; stroke-dashoffset: 158; animation: ftDraw 0.65s var(--ease) 0.1s forwards; }
.ft-check { fill: none; stroke: var(--orange); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 42; stroke-dashoffset: 42; animation: ftDraw 0.38s var(--ease) 0.55s forwards; }
@keyframes ftDraw { to { stroke-dashoffset: 0; } }
@keyframes ftPulse { 0%, 100% { transform: scale(1); opacity: 0.14; } 50% { transform: scale(1.14); opacity: 0.05; } }
.form-thanks h3 { font-size: clamp(1.35rem, 3.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.55rem; }
.form-thanks p { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 36ch; }
.form-thanks__again { margin-top: 1.5rem; }
.form-thanks--on-dark h3 { color: #fff; }
.form-thanks--on-dark p { color: rgba(255, 255, 255, 0.72); }
@media (prefers-reduced-motion: reduce) {
  .ft-circle, .ft-check { stroke-dashoffset: 0; animation: none; }
  .form-thanks__mark::before { animation: none; }
}

/* =========================================================
   CALENDLY MODAL — header-CTA "book a call" popup
   ========================================================= */
.cal-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: clamp(0.6rem, 3vw, 1.5rem); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.cal-modal.open { opacity: 1; visibility: visible; }
.cal-modal__overlay { position: absolute; inset: 0; background: rgba(20, 21, 23, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cal-modal__dialog {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: min(500px, 96vw); height: min(760px, 92vh);
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s;
}
.cal-modal.open .cal-modal__dialog { transform: none; opacity: 1; }

.cal-modal__head { position: relative; overflow: hidden; padding: clamp(1.3rem, 4vw, 1.8rem) clamp(1.3rem, 4vw, 1.9rem) clamp(1.1rem, 3vw, 1.4rem); background: linear-gradient(150deg, var(--ink-2), var(--ink)); color: #fff; flex: none; }
.cal-modal__head::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); filter: blur(90px); opacity: 0.35; top: -120px; right: -60px; pointer-events: none; }
.cal-modal__head .eyebrow { position: relative; margin-bottom: 0.4rem; }
.cal-modal__head h3 { position: relative; color: #fff; font-size: clamp(1.3rem, 3.5vw, 1.6rem); line-height: 1.15; }
.cal-modal__ctx { position: relative; margin-top: 0.45rem; color: rgba(255,255,255,0.72); font-size: 0.92rem; max-width: 40ch; }
.cal-modal__close { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: #fff; transition: background 0.25s, color 0.25s, transform 0.35s var(--ease); }
.cal-modal__close:hover { background: var(--orange); color: var(--ink); transform: rotate(90deg); }

.cal-modal__body { position: relative; flex: 1; min-height: 0; background: #fcfaf7; }
.cal-modal__loader { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.cal-modal.cal-ready .cal-modal__loader { display: none; }
.cal-modal__spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(230,134,45,0.3); border-top-color: var(--orange); animation: spin 0.8s linear infinite; }
.cal-inline { position: relative; z-index: 2; width: 100%; height: 100%; min-width: 0; }
.cal-inline iframe { width: 100% !important; height: 100% !important; }

@media (max-width: 600px) {
  .cal-modal { padding: 0; }
  .cal-modal__dialog { width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; border: none; }
}

/* =========================================================
   SOCIAL SIDEBAR TRAY (site-wide, injected by JS)
   ========================================================= */
.social-tray {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%) translateX(110%);
  z-index: 95; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  padding: 0.5rem; border-radius: 16px 0 0 16px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line); border-right: none;
  box-shadow: -10px 18px 44px rgba(29, 30, 32, 0.14);
  opacity: 0; animation: trayIn 0.7s var(--ease) 0.6s forwards;
}
@keyframes trayIn { to { transform: translateY(-50%) translateX(0); opacity: 1; } }
.social-tray__link {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px; color: var(--ink);
  transition: color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.social-tray__link svg { width: 19px; height: 19px; fill: currentColor; transition: transform 0.3s var(--ease); }
.social-tray__link:hover { color: #fff; background: var(--ink); transform: translateX(-3px); }
.social-tray__link:hover svg { transform: scale(1.08); }
.social-tray__link[data-brand="linkedin"]:hover { background: #0288D1; }
.social-tray__link[data-brand="facebook"]:hover { background: #1877F2; }
.social-tray__link[data-brand="whatsapp"]:hover { background: #2AB540; }
.social-tray__link[data-brand="email"]:hover { background: var(--orange); color: var(--ink); }
.social-tray__label {
  position: absolute; right: calc(100% + 12px); top: 50%; white-space: nowrap;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.01em;
  color: #fff; background: var(--ink); padding: 0.42rem 0.72rem; border-radius: 9px;
  opacity: 0; visibility: hidden; transform: translate(8px, -50%);
  transition: opacity 0.25s, transform 0.25s var(--ease); pointer-events: none;
  box-shadow: var(--shadow-md);
}
.social-tray__label::before {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--ink);
}
.social-tray__link:hover .social-tray__label,
.social-tray__link:focus-visible .social-tray__label { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.social-tray__divider { width: 26px; height: 1px; background: var(--line); margin: 0.15rem auto; }

@media (max-width: 991px) { .social-tray { display: none; } }

/* =========================================================
   ACCESSIBILITY — reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .dash { transform: rotateY(-11deg) rotateX(5deg); animation: none; }
  .dash::after { animation: none; display: none; }
  .scene::before { animation: none; }
  .dash__badge::before { animation: none; }
  .float-card { animation: none; }
  .marquee__track { animation: none; }
  .logo-track { animation: none; transform: none; }
  /* wrap all logos into one static, centered grid when motion is reduced (drop loop duplicates) */
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { flex-wrap: wrap; justify-content: center; width: 100%; gap: 0.7rem; }
  .logo-item[aria-hidden="true"] { display: none; }
}

/* =========================================================
   FROM THE BLOG — editorial feature + 3-up card row (.blogx-*)
   ========================================================= */
.blogx { padding: clamp(4rem, 9vh, 7rem) 0; background: var(--cream); }

/* --- Header ------------------------------------------------ */
.blogx__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 2rem; padding-bottom: clamp(1.2rem, 2.5vw, 1.8rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.blogx__head-copy .eyebrow { margin-bottom: 0.7rem; }
.blogx__title { font-family: var(--ff-head); font-weight: 800; color: var(--ink); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; margin: 0; }
.blogx__all { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.55rem 1.35rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.blogx__all:hover { border-color: rgba(230,134,45,0.5); color: var(--orange-ink); transform: translateY(-2px); }
.blogx__all-arrow { transition: transform 0.3s var(--ease); }
.blogx__all:hover .blogx__all-arrow { transform: translateX(4px); }

/* --- Shared bits ------------------------------------------- */
.blogx__chip { display: inline-flex; align-items: center; align-self: flex-start; font-family: var(--ff-body); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--cream); border: 1px solid var(--line); padding: 0.34rem 0.75rem; border-radius: 999px; }
.blogx__chip--feature { color: var(--orange-ink); background: rgba(230,134,45,0.1); border-color: rgba(230,134,45,0.24); }
.blogx__meta { display: flex; align-items: center; gap: 0.6rem; font-family: var(--ff-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--muted); margin: 0; }
.blogx__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--mist); flex: none; }
.blogx__link { color: inherit; }
.blogx__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* --- Featured (full-width split) --------------------------- */
/* Padded shell: the image is INSET with its own radius, so a real gutter of
   whitespace separates it from the copy — nothing touches, nothing crowds. */
.blogx__feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); align-items: center; column-gap: clamp(1.8rem, 3.6vw, 3.4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(0.9rem, 1.5vw, 1.35rem); margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem); box-shadow: 0 1px 2px rgba(29,30,32,0.04), 0 20px 44px -26px rgba(29,30,32,0.32); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.55s var(--ease); }
.blogx__feature-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: calc(var(--radius) - 8px); background: var(--cream); }
.blogx__feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blogx__feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; justify-content: center; padding: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2.2vw, 2rem) clamp(1.2rem, 2.4vw, 2rem) 0; }
.blogx__feature-title { font-family: var(--ff-head); font-weight: 800; color: var(--ink); font-size: clamp(1.38rem, 2.05vw, 1.85rem); line-height: 1.24; letter-spacing: -0.02em; margin: 0; transition: color 0.3s var(--ease); }
.blogx__excerpt { color: var(--muted); font-size: 0.97rem; line-height: 1.7; margin: 0; max-width: 42ch; }
.blogx__cue { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.35rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.88rem; color: var(--orange-ink); }
.blogx__cue-arrow { transition: transform 0.3s var(--ease); }

/* --- 3-up card row ----------------------------------------- */
.blogx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.blogx__card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(29,30,32,0.04), 0 16px 36px -26px rgba(29,30,32,0.3); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.55s var(--ease); }
.blogx__card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.blogx__card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blogx__card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: clamp(1.15rem, 2vw, 1.5rem); }
.blogx__card-title { font-family: var(--ff-head); font-weight: 700; color: var(--ink); font-size: 1.06rem; line-height: 1.34; letter-spacing: -0.01em; margin: 0; transition: color 0.3s var(--ease); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blogx__card .blogx__meta { margin-top: auto; padding-top: 0.55rem; }  /* baselines line up across cards */

/* --- Hover -------------------------------------------------- */
.blogx__feature:hover, .blogx__card:hover { transform: translateY(-5px); border-color: rgba(230,134,45,0.35); box-shadow: 0 2px 4px rgba(29,30,32,0.05), 0 30px 56px -28px rgba(230,134,45,0.42); }
.blogx__feature:hover .blogx__feature-media img, .blogx__card:hover .blogx__card-media img { transform: scale(1.05); }
.blogx__feature:hover .blogx__feature-title, .blogx__card:hover .blogx__card-title { color: var(--orange-ink); }
.blogx__feature:hover .blogx__cue-arrow { transform: translateX(5px); }

/* --- Scroll reveal (JS adds .is-armed / .is-in) ------------- */
.blogx-fx.is-armed { opacity: 0; transform: translateY(16px); }
.blogx-fx.is-in { opacity: 1; transform: none; }

/* --- Responsive --------------------------------------------- */
@media (max-width: 1023px) {
  .blogx__feature { grid-template-columns: minmax(0, 1fr); row-gap: 0.35rem; }
  .blogx__feature-media { aspect-ratio: 16 / 9; }
  /* stacked: the copy needs its left inset back, since there's no side gutter */
  .blogx__feature-body { padding: clamp(1rem, 3vw, 1.5rem) clamp(0.6rem, 2vw, 1rem) clamp(0.6rem, 2vw, 1rem); }
  .blogx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blogx__head { flex-direction: column; align-items: flex-start; }
  .blogx__all { width: 100%; justify-content: center; }
  .blogx__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .blogx-fx, .blogx-fx.is-armed { opacity: 1; transform: none; transition: none; }
  .blogx__feature, .blogx__card, .blogx__feature-media img, .blogx__card-media img,
  .blogx__cue-arrow, .blogx__all, .blogx__all-arrow { transition: none; }
  .blogx__feature:hover, .blogx__card:hover { transform: none; }
}

/* =========================================================
   CAREERS ROLES CMS (Supabase admin) — static/careers-cms.js
   ========================================================= */
.roles__empty { text-align: center; color: var(--muted); margin-top: 1.6rem; }

.cms { margin-top: 2rem; }
.cms__toggle { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); opacity: 0.55; transition: opacity 0.2s, color 0.2s; }
.cms__toggle:hover, .cms__toggle:focus-visible { opacity: 1; color: var(--orange-ink, var(--orange)); }

.cms [hidden] { display: none !important; }   /* the [hidden] attr must win over the display rules below */

/* ---- Sign-in card (centered, all controls same height) ---- */
.cms__login {
  display: grid; gap: 0.7rem; margin: 1rem auto 0; max-width: 24rem;
  padding: clamp(1.4rem, 3vw, 1.8rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 22px 54px -32px rgba(29,30,32,0.5);
}
.cms__login input {
  width: 100%; min-height: 48px; padding: 0.8rem 0.95rem;
  border: 1px solid var(--line); border-radius: 11px; background: var(--paper);
  font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.cms__login input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(230,134,45,0.15); }
.cms__login .btn { width: 100%; min-height: 48px; }
.cms__error { color: #b4231a; font-size: 0.85rem; margin: 0; }

/* ---- Panel shell ---- */
.cms__panel { margin-top: 1.4rem; padding: clamp(1.4rem, 3.2vw, 2.2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 26px 64px -36px rgba(29,30,32,0.5); }
.cms__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.cms__panel-head h3 { margin: 0; font-size: 1.18rem; }
.cms__status { min-height: 1.2em; font-size: 0.85rem; font-weight: 600; color: var(--orange-ink); margin: 0 0 1.2rem; }

/* ---- Add / edit form (inset card, uniform fields) ---- */
.cms__form { display: grid; gap: 0.85rem; padding: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 1.6rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cms__form h4 { margin: 0; font-family: var(--ff-head); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cms__form input, .cms__form textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.95rem;
  border: 1px solid var(--line); border-radius: 11px; background: var(--white);
  font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.cms__form input:focus, .cms__form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(230,134,45,0.15); }
.cms__form textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.cms__form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.cms__check { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 500; color: var(--ink); cursor: pointer; user-select: none; }
/* Reset the checkbox so it doesn't inherit the full-width text-input styling */
.cms__check input[type="checkbox"] { flex: none; width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--orange); cursor: pointer; }
.cms__form-actions { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.2rem; }

/* ---- Roles list (drag to reorder) ---- */
.cms__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.cms-row { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 0.95rem; background: var(--white); border: 1px solid var(--line); border-radius: 11px; cursor: grab; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.cms-row:hover { border-color: rgba(230,134,45,0.3); box-shadow: var(--shadow-sm); }
.cms-row.is-dragging { opacity: 0.5; cursor: grabbing; box-shadow: var(--shadow-md); }
.cms-row__handle { flex: none; color: var(--mist); cursor: grab; font-size: 1.05rem; line-height: 1; }
.cms-row__title { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cms-row__dept { margin-right: auto; color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.cms__hint { color: var(--muted); font-size: 0.78rem; margin: 1.1rem 0 0; text-align: center; }

/* ---- Buttons (equal height, toggle keeps a fixed width so rows don't jump) ---- */
.cms-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; font-family: var(--ff-head); font-weight: 700; font-size: 0.74rem; min-height: 36px; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.cms-btn:hover { border-color: rgba(230,134,45,0.4); color: var(--orange-ink, var(--orange)); }
.cms-btn--danger:hover { border-color: #d9534f; color: #b4231a; background: rgba(217,83,79,0.06); }
.cms-btn--toggle { min-width: 78px; }
.cms-btn--toggle[aria-pressed="true"] { color: var(--orange-ink); border-color: rgba(230,134,45,0.32); background: rgba(230,134,45,0.09); }
.cms-btn--toggle[aria-pressed="false"] { color: var(--muted); }

@media (max-width: 560px) {
  .cms__form-row { grid-template-columns: 1fr; }
  .cms-row { flex-wrap: wrap; }
  .cms-row__title { flex: 1 1 auto; }
  .cms-row__dept { margin-right: 0; flex-basis: 100%; }
  .cms-row .cms-btn { flex: 1 1 auto; }
}

/* =============================================================================
   Admin portal  (/admin) — standalone premium careers-CMS dashboard
   ============================================================================= */
.adm { min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(1100px 560px at 82% -12%, rgba(230,134,45,0.07), transparent 60%),
    var(--paper);
}
.adm [hidden] { display: none !important; }

/* Top bar */
.adm__bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(29,30,32,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.adm__brand { display: inline-flex; align-items: center; gap: 0.15rem; font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem; color: var(--white); letter-spacing: -0.01em; }
.adm__brand b { color: var(--orange); }
.adm__brand em { font-style: normal; margin-left: 0.55rem; padding: 0.22rem 0.6rem; font-family: var(--ff-body); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); background: rgba(230,134,45,0.14); border: 1px solid rgba(230,134,45,0.32); border-radius: 999px; }
.adm__bar-actions { display: flex; align-items: center; gap: 0.85rem; }
.adm__who { color: rgba(255,255,255,0.62); font-size: 0.8rem; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm__logout { display: inline-flex; align-items: center; min-height: 38px; padding: 0.4rem 0.95rem; font-family: var(--ff-head); font-weight: 700; font-size: 0.78rem; color: var(--white); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22); border-radius: 9px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.adm__logout:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }

/* Shared fields */
.adm input, .adm textarea { width: 100%; min-height: 48px; padding: 0.75rem 0.95rem; border: 1px solid var(--line); border-radius: 11px; background: var(--white); font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.adm textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.adm input:focus, .adm textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(230,134,45,0.15); }

/* Login */
.adm__login { flex: 1; display: grid; place-items: center; padding: clamp(1.5rem, 6vw, 3rem) 1rem; }
.adm__card { width: 100%; max-width: 23rem; padding: clamp(1.6rem, 4vw, 2.2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 34px 80px -44px rgba(29,30,32,0.55); }
.adm__card h1 { font-size: 1.42rem; margin: 0 0 0.35rem; }
.adm__card .adm__lead { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.5rem; }
.adm__field { display: grid; gap: 0.4rem; margin-bottom: 0.95rem; }
.adm__field label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.adm__error { min-height: 1.1em; color: #b4231a; font-size: 0.84rem; margin: 0.5rem 0 0; }

/* Dashboard */
.adm__main { flex: 1; width: 100%; max-width: 940px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.8rem) clamp(1rem, 4vw, 1.6rem) 4.5rem; }
.adm__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.8rem; }
.adm__head h1 { font-size: clamp(1.55rem, 4vw, 2.1rem); margin: 0; }
.adm__head p { color: var(--muted); margin: 0.35rem 0 0; font-size: 0.93rem; }
.adm__stats { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.adm__stat { display: grid; gap: 0.12rem; padding: 0.65rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.adm__stat b { font-family: var(--ff-head); font-weight: 800; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.adm__stat span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.adm__stat--on b { color: var(--orange-ink); }

.adm__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -40px rgba(29,30,32,0.42); padding: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 1.4rem; }
.adm__panel-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; }
.adm__panel-title h2 { font-size: 1.12rem; margin: 0; }
.adm__form { display: grid; gap: 0.85rem; }
.adm__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.adm__check { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; font-weight: 500; color: var(--ink); cursor: pointer; user-select: none; }
.adm__check input { flex: none; width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--orange); cursor: pointer; }
.adm__form-actions { display: flex; gap: 0.6rem; align-items: center; }
.adm__status { min-height: 1.2em; font-size: 0.85rem; font-weight: 600; color: var(--orange-ink); margin: 0.3rem 0 0; }

/* Roles list */
.adm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.adm__item { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: grab; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.adm__item:hover { border-color: rgba(230,134,45,0.3); box-shadow: var(--shadow-sm); }
.adm__item.is-dragging { opacity: 0.5; cursor: grabbing; box-shadow: var(--shadow-md); }
.adm__grip { flex: none; color: var(--mist); font-size: 1.1rem; cursor: grab; line-height: 1; }
.adm__item-main { min-width: 0; display: grid; gap: 0.15rem; }
.adm__item-main b { font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm__item-main span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm__item-actions { margin-left: auto; display: flex; gap: 0.5rem; flex: none; }
.adm__empty { text-align: center; color: var(--muted); padding: 2.2rem 1rem; margin: 0; }
.adm__hint { color: var(--muted); font-size: 0.78rem; text-align: center; margin: 1.1rem 0 0; }

/* Admin pill buttons */
.adm-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; font-family: var(--ff-head); font-weight: 700; font-size: 0.74rem; min-height: 38px; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.adm-btn:hover { border-color: rgba(230,134,45,0.4); color: var(--orange-ink); }
.adm-btn--danger:hover { border-color: #d9534f; color: #b4231a; background: rgba(217,83,79,0.06); }
.adm-btn--toggle { min-width: 82px; }
.adm-btn--toggle[aria-pressed="true"] { color: var(--orange-ink); border-color: rgba(230,134,45,0.32); background: rgba(230,134,45,0.09); }
.adm-btn--toggle[aria-pressed="false"] { color: var(--muted); }

/* JD markdown helper + live preview (reuses .role__jd typography) */
.adm__jd-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: -0.2rem; }
.adm__jd-hint { font-size: 0.77rem; color: var(--muted); line-height: 1.5; }
.adm__jd-hint b { color: var(--ink); }
.adm__jd-hint code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--cream); padding: 0.05rem 0.34rem; border-radius: 5px; color: var(--ink); }
.adm__preview { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin-top: 0.2rem; color: var(--muted); }

@media (max-width: 620px) {
  .adm__row { grid-template-columns: 1fr; }
  .adm__head { align-items: flex-start; }
  .adm__item { flex-wrap: wrap; }
  .adm__item-actions { margin-left: 0; flex-basis: 100%; }
  .adm__item-actions .adm-btn { flex: 1 1 auto; }
}

/* =============================================================================
   Showcase — "Global e-commerce acceleration" command-center section (home)
   Image lives at:  static/assets/showcase/command-center.jpeg
   A branded gradient sits behind the image, so the panel looks intentional even
   before the photo is added (no broken-image state).
   ============================================================================= */
.showcase { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.showcase__copy .eyebrow { margin-bottom: 0.9rem; }
.showcase__lead { color: var(--muted); font-size: 1.05rem; line-height: 1.66; margin: 1.1rem 0 1.7rem; max-width: 34rem; }
.showcase__points { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.8rem; }
.showcase__points li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; font-weight: 500; color: var(--ink); }
.showcase__tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 0.06rem; font-size: 0.72rem; color: var(--white); background: var(--grad-warm); border-radius: 7px; box-shadow: 0 4px 10px rgba(230,134,45,0.35); }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.showcase__media-wrap { position: relative; z-index: 0; }
/* warm brand glow diffusing behind the frame */
.showcase__media-wrap::before {
  content: ""; position: absolute; z-index: -1; right: -5%; bottom: -9%; left: 14%; height: 62%;
  background: var(--orange); filter: blur(90px); opacity: 0.18; border-radius: 50%;
}
.showcase__media {
  aspect-ratio: 4 / 3; border-radius: clamp(16px, 2vw, 24px);
  background:
    url("assets/showcase/command-center.jpeg") center / cover no-repeat,
    linear-gradient(150deg, #35383e, var(--ink) 82%);
  border: 1px solid rgba(29,30,32,0.12);
  box-shadow: 0 2px 4px rgba(29,30,32,0.06), 0 42px 84px -42px rgba(29,30,32,0.6);
}
.showcase__badge {
  position: absolute; left: -1.1rem; bottom: -1.1rem; display: grid; gap: 0.12rem;
  padding: 0.95rem 1.35rem; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 20px 46px rgba(29,30,32,0.2);
}
.showcase__badge-num { font-family: var(--ff-head); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--orange-ink); }
.showcase__badge-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .showcase__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .showcase__media-wrap { order: -1; }          /* image leads on mobile */
  .showcase__badge { left: 0.9rem; bottom: -0.9rem; padding: 0.8rem 1.1rem; }
  .showcase__badge-num { font-size: 1.5rem; }
}

/* =============================================================================
   LEGAL PAGES — Privacy Policy / Terms of Service
   Sticky table of contents beside a long-form, numbered document.
   ============================================================================= */
.page-hero--legal .page-hero__sub { max-width: 46rem; }
.legal__stamp { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.4rem; font-family: var(--ff-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.62); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); padding: 0.5rem 1rem; border-radius: 999px; }
.legal__stamp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(230,134,45,0.18); flex: none; }

.legal { background: var(--paper); }
.legal__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* --- Sticky contents rail ---------------------------------------------- */
.legal__aside { position: sticky; top: 6.5rem; }
.legal__toc { padding: 1.4rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); max-height: calc(100vh - 9rem); overflow-y: auto; scrollbar-width: none; }
.legal__toc::-webkit-scrollbar { width: 0; }
.legal__toc-head { font-family: var(--ff-head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem 0.6rem; }
.legal__toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.legal__toc-list a { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.46rem 0.6rem; border-radius: 9px; font-size: 0.83rem; line-height: 1.35; color: var(--muted); transition: background 0.22s, color 0.22s; }
.legal__toc-list a:hover, .legal__toc-list a:focus-visible { background: var(--cream); color: var(--orange-ink); }
.legal__toc-num { flex: none; font-family: var(--ff-head); font-weight: 700; font-size: 0.68rem; font-variant-numeric: tabular-nums; color: var(--mist); }
.legal__toc-list a:hover .legal__toc-num { color: var(--orange); }

/* --- Document ----------------------------------------------------------- */
.legal__body { min-width: 0; max-width: 46rem; }
.legal__section { scroll-margin-top: 6.5rem; padding-bottom: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); border-bottom: 1px solid var(--line); }
.legal__section:last-of-type { border-bottom: 0; }
.legal__h2 { display: flex; align-items: baseline; gap: 0.85rem; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 1rem; }
.legal__num { flex: none; font-family: var(--ff-head); font-weight: 800; font-size: 0.78rem; font-variant-numeric: tabular-nums; color: var(--orange-ink); background: rgba(230,134,45,0.1); border: 1px solid rgba(230,134,45,0.22); padding: 0.3rem 0.55rem; border-radius: 8px; }
.legal__h3 { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.legal__body p { color: var(--muted); font-size: 0.97rem; line-height: 1.75; margin: 0 0 0.9rem; }
.legal__body p:last-child { margin-bottom: 0; }
/* :not(.btn) — inline prose links get the underline treatment, buttons must not */
.legal__body a:not(.btn) { color: var(--orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:not(.btn):hover { color: var(--orange); }
.legal__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.55rem; }
.legal__list li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.legal__list li::before { content: ""; position: absolute; left: 0.28rem; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-warm); }
.legal__note { padding: 0.95rem 1.2rem; margin: 1.1rem 0 0.9rem; background: var(--cream); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; color: var(--ink) !important; font-size: 0.93rem !important; }

/* --- Closing contact card ----------------------------------------------- */
.legal__contact { margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: var(--radius); color: var(--white); background: radial-gradient(300px 200px at 88% 6%, rgba(230,134,45,0.45), transparent 70%), linear-gradient(158deg, var(--ink-3), var(--ink) 82%); }
.legal__contact-eyebrow { font-family: var(--ff-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.legal__contact-title { color: var(--white); font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0.5rem 0 0.6rem; }
.legal__contact p { color: rgba(255,255,255,0.74) !important; max-width: 40ch; }
.legal__contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.legal__contact .btn { text-decoration: none; }
.legal__contact .btn--primary { color: var(--ink); }
.legal__contact .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
.legal__contact .btn--ghost:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,255,255,0.1); }

@media (max-width: 900px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__aside { position: static; }
  .legal__toc { max-height: none; }
  .legal__toc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
  .legal__body { max-width: none; }
}
@media (max-width: 560px) {
  .legal__toc-list { grid-template-columns: minmax(0, 1fr); }
}

/* =============================================================================
   404 — page not found
   ============================================================================= */
.nf { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: clamp(3rem, 8vh, 5rem) 0; background: linear-gradient(180deg, var(--ink), var(--ink-2) 60%, var(--ink-3)); color: var(--white); }
.nf__bg { position: absolute; inset: 0; pointer-events: none; }
.nf__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }

.nf__brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.nf__brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: var(--white); }
.nf__brand-mark svg { width: 56%; height: 56%; }
.nf__brand-word { font-family: var(--ff-head); font-weight: 800; font-size: 1.24rem; color: var(--white); letter-spacing: -0.01em; }
.nf__brand-word b { color: var(--orange); }

/* Oversized ghost numeral behind the headline */
.nf__code { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); margin: 0; z-index: -1; font-family: var(--ff-head); font-weight: 800; font-size: clamp(11rem, 34vw, 26rem); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.07); user-select: none; white-space: nowrap; }

.nf__eyebrow { font-family: var(--ff-head); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.nf__title { font-size: clamp(1.9rem, 5.2vw, 3.4rem); line-height: 1.12; letter-spacing: -0.025em; color: var(--white); margin: 0.9rem 0 0; max-width: 18ch; }
.nf__lead { color: rgba(255,255,255,0.66); font-size: 1.02rem; line-height: 1.65; margin: 1.1rem 0 0; max-width: 46ch; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.9rem; }
.nf__actions .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
.nf__actions .btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

.nf__links { width: 100%; max-width: 760px; margin-top: clamp(2.4rem, 6vh, 3.6rem); padding-top: clamp(1.6rem, 4vh, 2.2rem); border-top: 1px solid rgba(255,255,255,0.1); }
.nf__links-head { font-family: var(--ff-head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin: 0 0 1.1rem; }
.nf__links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
.nf__link { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1rem; text-align: left; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.nf__link:hover { background: rgba(255,255,255,0.08); border-color: rgba(230,134,45,0.5); transform: translateY(-3px); }
.nf__link-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nf__link span { display: flex; flex-direction: column; gap: 0.12rem; }
.nf__link strong { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--white); }
.nf__link small { font-size: 0.76rem; line-height: 1.4; color: rgba(255,255,255,0.5); }

@media (max-width: 760px) { .nf__links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .nf__links-grid { grid-template-columns: minmax(0, 1fr); } }

/* =============================================================================
   SCROLL TO TOP — gradient disc inside a live scroll-progress ring
   Injected by script.js on every page.
   ============================================================================= */
/* the scroll-to-top control focuses the main landmark to reset tab order —
   that's a programmatic focus, so it shouldn't paint a focus ring */
main[tabindex="-1"]:focus, #page-top[tabindex="-1"]:focus { outline: none; }

.to-top {
  position: fixed; right: clamp(1rem, 2.2vw, 1.9rem); bottom: clamp(1rem, 2.2vw, 1.9rem); z-index: 90;
  width: 54px; height: 54px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 2px 6px rgba(29,30,32,0.08), 0 18px 38px -14px rgba(29,30,32,0.45);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.86);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s,
              box-shadow 0.35s var(--ease), background 0.3s;
}
.to-top.is-in { opacity: 1; visibility: visible; transform: none; }

/* the disc that sits under the arrow */
.to-top::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  background: var(--grad-warm); opacity: 0; transform: scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.to-top:hover, .to-top:focus-visible {
  transform: translateY(-4px); background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 6px rgba(29,30,32,0.08), 0 24px 46px -14px rgba(230,134,45,0.6);
}
.to-top:hover::before, .to-top:focus-visible::before { opacity: 1; transform: scale(1); }
.to-top:active { transform: translateY(-1px) scale(0.97); }

/* progress ring */
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.to-top__ring circle { fill: none; stroke-width: 2.5; }
.to-top__track { stroke: rgba(29,30,32,0.12); }
.to-top__bar { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset 0.15s linear; }

.to-top__arrow {
  position: relative; z-index: 2; width: 19px; height: 19px;
  fill: none; stroke: var(--ink); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.42s var(--ease), stroke 0.3s;
}
.to-top:hover .to-top__arrow, .to-top:focus-visible .to-top__arrow { transform: translateY(-2px); stroke: var(--ink); }

/* label slides out on hover, desktop only */
.to-top__label {
  position: absolute; right: calc(100% + 10px); top: 50%; white-space: nowrap;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.76rem; color: var(--white);
  background: var(--ink); padding: 0.4rem 0.7rem; border-radius: 9px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translate(8px, -50%); pointer-events: none;
  transition: opacity 0.25s, transform 0.28s var(--ease), visibility 0.25s;
}
.to-top__label::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink);
}
.to-top:hover .to-top__label, .to-top:focus-visible .to-top__label { opacity: 1; visibility: visible; transform: translate(0, -50%); }

@media (max-width: 640px) {
  .to-top { width: 48px; height: 48px; }
  .to-top__arrow { width: 17px; height: 17px; }
  .to-top__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top::before, .to-top__arrow, .to-top__label, .to-top__bar { transition: none; }
  .to-top:hover, .to-top:focus-visible { transform: none; }
}

/* =============================================================================
   SUB-SERVICE DETAIL MODAL (services page) — static/subservice-modal.js
   Split dialog: artwork one side, the full breakdown the other.
   ============================================================================= */
.ssm { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; padding: clamp(0.75rem, 3vw, 2rem); opacity: 0; visibility: hidden; transition: opacity 0.32s var(--ease), visibility 0.32s; }
.ssm.open { opacity: 1; visibility: visible; }
.ssm__overlay { position: absolute; inset: 0; background: rgba(14, 15, 17, 0.72); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }

.ssm__dialog {
  position: relative; width: 100%; max-width: 1060px; max-height: min(88vh, 780px);
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  /* the row must be capped too — an auto row sizes to content and ignores
     the dialog's max-height, which is what stopped the body scrolling */
  grid-template-rows: minmax(0, 1fr);
  background: linear-gradient(158deg, var(--ink-3), var(--ink) 82%); color: var(--white);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.75);
  min-height: 0;
  transform: translateY(20px) scale(0.975); opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.4s var(--ease);
}
.ssm.open .ssm__dialog { transform: none; opacity: 1; }

/* media */
.ssm__media { position: relative; overflow: hidden; background: var(--ink-2); min-height: 0; }
.ssm__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ssm__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(20,21,23,0) 55%, rgba(20,21,23,0.55)); }

/* close */
.ssm__close { position: absolute; top: 0.95rem; right: 0.95rem; z-index: 4; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--white); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); transition: background 0.25s, color 0.25s, transform 0.35s var(--ease); }
.ssm__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
.ssm__close:hover, .ssm__close:focus-visible { background: var(--orange); color: var(--ink); transform: rotate(90deg); }

/* body */
/* min-height:0 lets this grid child shrink so overflow-y actually scrolls */
.ssm__body {
  min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
  scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;   /* no visible scrollbar */
}
.ssm__body::-webkit-scrollbar { width: 0; height: 0; }
.ssm__eyebrow { font-family: var(--ff-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0 3rem 0.7rem 0; }
.ssm__title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.14; letter-spacing: -0.02em; color: var(--white); margin: 0 2.5rem 0 0; }
.ssm__rule { display: block; width: 54px; height: 3px; border-radius: 3px; background: var(--grad-warm); margin: 1rem 0 1.2rem; }
.ssm__short { font-size: 1.04rem; line-height: 1.6; color: rgba(255,255,255,0.94); margin: 0 0 0.9rem; font-weight: 500; }
.ssm__detail { font-size: 0.94rem; line-height: 1.72; color: rgba(255,255,255,0.62); margin: 0 0 1.6rem; }

.ssm__blocks { display: grid; gap: 1.5rem; }
.ssm__block-title { font-family: var(--ff-head); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 0.7rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.ssm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.ssm__list li { position: relative; padding-left: 1.35rem; font-size: 0.9rem; line-height: 1.5; color: rgba(255,255,255,0.86); }
.ssm__list li::before { content: ""; position: absolute; left: 0.15rem; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-warm); }

.ssm__actions { margin-top: 1.9rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1.1rem; }
.ssm__cta { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 52px; padding: 0.85rem 1.7rem; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--ff-head); font-weight: 800; font-size: 0.94rem; letter-spacing: 0.01em; color: var(--ink); background: var(--grad-warm); box-shadow: 0 14px 32px rgba(230,134,45,0.4); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.ssm__cta:hover, .ssm__cta:focus-visible { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(230,134,45,0.52); }
/* Arrow: the shaft draws out from the label as the head advances — the whole
   mark reads as one motion rather than a glyph sliding sideways. */
.ssm__cta-arrow { width: 22px; height: 16px; flex: none; overflow: visible; fill: none;
  stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.ssm__cta-shaft { transform-origin: left center; transform: scaleX(0.42); opacity: 0.72;
  transition: transform 0.42s var(--ease), opacity 0.3s var(--ease); }
.ssm__cta-head { transform: translateX(-4px);
  transition: transform 0.42s var(--ease); }
.ssm__cta:hover .ssm__cta-shaft, .ssm__cta:focus-visible .ssm__cta-shaft { transform: scaleX(1); opacity: 1; }
.ssm__cta:hover .ssm__cta-head, .ssm__cta:focus-visible .ssm__cta-head { transform: translateX(0); }
.ssm__note { font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin: 0; }

/* wide dialogs: lead block full width, the other two side by side */
@media (min-width: 1000px) {
  .ssm__blocks { grid-template-columns: 1fr 1fr; column-gap: 1.8rem; }
  .ssm__block:first-child { grid-column: 1 / -1; }
  .ssm__block:first-child .ssm__list { grid-template-columns: 1fr 1fr; column-gap: 1.8rem; }
}
/* stack under ~880px: artwork becomes a banner above the copy */
@media (max-width: 880px) {
  .ssm__dialog { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); max-height: 92vh; }
  .ssm__media { height: clamp(150px, 26vh, 230px); }
  .ssm__media::after { background: linear-gradient(180deg, rgba(20,21,23,0) 45%, rgba(20,21,23,0.6)); }
  .ssm__eyebrow, .ssm__title { margin-right: 0; }
}
@media (max-width: 520px) {
  .ssm__dialog { border-radius: 18px; }
  .ssm__actions { flex-direction: column; align-items: stretch; }
  .ssm__cta { justify-content: center; width: 100%; }
  .ssm__note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ssm, .ssm__dialog, .ssm__cta, .ssm__close,
  .ssm__cta-shaft, .ssm__cta-head { transition: none; }
  .ssm__cta-shaft { transform: scaleX(1); opacity: 1; }
  .ssm__cta-head { transform: none; }
  .ssm__body { scroll-behavior: auto; }
  .ssm__dialog { transform: none; }
  .ssm__cta:hover, .ssm__close:hover { transform: none; }
}
