/* ==========================================================================
   Tequp Publishers — Core Stylesheet
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Buttons
   6.  Utility atoms (grain, stars)
   7.  Loader
   8.  Custom cursor
   9.  Header
   11. Hero
   12. Scroll cue
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand palette -----------------------------------------------------
     Amazon-style system: orange for action, navy and near-black for dark
     surfaces, neutral greys for structure. Orange is far too light to carry
     white text, so filled orange buttons take near-black labels and any
     orange *text* on a light ground uses --accent-deep instead. */
  --bg:            #F3F4F6;   /* light gray */
  --bg-soft:       #E9EBEE;
  --dark:          #232F3E;   /* dark navy  */
  --dark-2:        #131A22;   /* amazon black */
  --primary:       #FF9900;   /* primary orange */
  --primary-hover: #E88B00;
  --primary-soft:  #FFF3E0;
  --accent:        #FF9900;   /* on dark grounds */
  --accent-deep:   #B45309;   /* orange legible on light grounds, 4.8:1 */
  --accent-soft:   #FFF3E0;
  --heading:       #131A22;
  --body:          #565959;
  --body-strong:   #3A3F42;
  --border:        #D5D9D9;   /* border gray */
  --border-soft:   #E7E9EA;
  --card:          #FFFFFF;
  --success:       #067D62;   /* success green */
  --white:         #FFFFFF;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #FFB03A 0%, #FF9900 45%, #E07C00 100%);
  --grad-accent:  linear-gradient(120deg, #FFC46B 0%, #FF9900 50%, #E07C00 100%);
  --grad-dark:    linear-gradient(160deg, #2C3A4B 0%, #232F3E 55%, #131A22 100%);
  --grad-line:    linear-gradient(90deg, transparent, var(--border), transparent);
  /* Accented headline words on LIGHT grounds */
  --grad-text:    linear-gradient(100deg, #7A3E00 0%, #B45309 45%, #C2691A 100%);
  /* ...and on DARK grounds */
  --grad-text-inv: linear-gradient(100deg, #FFC46B 0%, #FFDBA6 45%, #FF9900 100%);

  /* Typography */
  --font-head: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Display/H2 are capped so the hard-coded line breaks in the masked
     headings cannot overflow their column and wrap mid-reveal. The copy
     column is ~540px at the 1240px container; 3.4rem keeps the longest
     line ("Turn Your Manuscript") comfortably inside it. */
  --fs-display: clamp(2.35rem, 4.4vw, 3.4rem);
  --fs-h1:      clamp(2.2rem, 4vw, 3.1rem);
  --fs-h2:      clamp(1.85rem, 3.2vw, 2.75rem);
  --fs-h3:      clamp(1.3rem, 1.9vw, 1.65rem);
  --fs-h4:      clamp(1.1rem, 1.4vw, 1.25rem);
  --fs-lead:    clamp(1.02rem, 1.15vw, 1.14rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-micro:   0.75rem;

  /* Spacing scale */
  --sp-1: 0.5rem;   --sp-2: 0.75rem;  --sp-3: 1rem;
  --sp-4: 1.5rem;   --sp-5: 2rem;     --sp-6: 3rem;
  --sp-7: 4rem;     --sp-8: 6rem;     --sp-9: 8rem;
  --section-y: clamp(3.25rem, 5.5vw, 5.5rem);

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(19, 26, 34, .05);
  --sh-sm: 0 2px 8px rgba(19, 26, 34, .05), 0 1px 2px rgba(19, 26, 34, .04);
  --sh-md: 0 10px 30px -12px rgba(19, 26, 34, .13), 0 2px 8px rgba(19, 26, 34, .04);
  --sh-lg: 0 30px 60px -25px rgba(19, 26, 34, .22), 0 8px 24px -12px rgba(19, 26, 34, .1);
  --sh-xl: 0 50px 100px -35px rgba(19, 26, 34, .3), 0 16px 40px -20px rgba(19, 26, 34, .14);
  --sh-primary: 0 14px 34px -12px rgba(255, 153, 0, .48);
  --sh-accent: 0 14px 34px -12px rgba(255, 153, 0, .42);

  /* Motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .25s var(--ease);
  --t-med:  .45s var(--ease);
  --t-slow: .8s  var(--ease);

  /* Structure */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 88px;
  --z-header: 100;
  --z-menu: 110;
  --z-cursor: 300;
  --z-loader: 400;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--dark); color: var(--accent); }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 500;
  padding: .7rem 1.1rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #B7BCC0; border-radius: 99px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: #6E7478; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em; }

p { text-wrap: pretty; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--body);
}

.text-accent { color: var(--accent-deep); }
.text-dark { color: var(--heading); }

.accent-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--t-fast), background var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-med), transform var(--t-fast);
  will-change: transform;
}

.btn > span, .btn > svg { position: relative; z-index: 2; }

/* Liquid fill sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--btn-hover-bg, var(--primary-hover));
  transform: scaleY(0);
  transform-origin: bottom center;
  border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleY(1); }

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--dark);
  --btn-hover-bg: #FFB03A;
  box-shadow: var(--sh-accent);
}

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-deep);
  position: relative;
}
.link-arrow::before {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med);
}
.link-arrow:hover::before { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   6. UTILITY ATOMS
   ========================================================================== */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* ==========================================================================
   7. LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--grad-dark);
  color: var(--white);
}
.loader.is-done { pointer-events: none; }

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.loader__mark { color: var(--accent); opacity: .9; }

.loader__word {
  font-family: var(--font-head);
  /* Sized for a two-word name: at the old 2.35rem, "TEQUP PUBLISHERS"
     overran narrow phones once the .16em tracking was added in. */
  font-size: clamp(1.15rem, 3.2vw, 1.95rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  padding-left: .16em;
}

.loader__bar {
  width: min(240px, 52vw);
  height: 2px;
  background: rgba(255, 255, 255, .14);
  border-radius: 99px;
  overflow: hidden;
}
.loader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-accent);
}

.loader__count {
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .5);
  font-variant-numeric: tabular-nums;
}
.loader__count i { font-style: normal; }

/* ==========================================================================
   8. CUSTOM CURSOR
   ========================================================================== */
.cursor { display: none; }

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
    mix-blend-mode: normal;
  }
  .cursor__dot,
  .cursor__ring {
    position: absolute;
    top: 0; left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__dot {
    width: 6px; height: 6px;
    background: var(--dark);
  }
  .cursor__ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(19, 26, 34, .28);
    transition: width .3s var(--ease), height .3s var(--ease),
                border-color .3s var(--ease), background .3s var(--ease);
  }
  .cursor.is-hover .cursor__ring {
    width: 58px; height: 58px;
    border-color: rgba(255, 153, 0, .45);
    background: rgba(255, 153, 0, .07);
  }
  .cursor.is-hover .cursor__dot { opacity: 0; }
}

/* ==========================================================================
   9. HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding-block: 1.1rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease), padding .45s var(--ease);
}

.header.is-stuck {
  padding-block: .65rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -22px rgba(19, 26, 34, .35);
}

/* Nothing but the logo, centred. */
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--heading);
  flex: none;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); box-shadow: var(--sh-md); }
.logo__text {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.logo__text em { font-style: italic; font-weight: 500; color: var(--body-strong); }

/* ==========================================================================
   11. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(2.75rem, 4.5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% 8%, rgba(255, 153, 0, .07), transparent 60%),
    radial-gradient(900px 560px at 8% 92%, rgba(255, 153, 0, .09), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 42%, var(--bg) 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
}
.hero__glow--amber {
  width: 46vw; height: 46vw;
  max-width: 640px; max-height: 640px;
  top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(255, 153, 0, .38), transparent 68%);
}
.hero__glow--sun {
  width: 34vw; height: 34vw;
  max-width: 470px; max-height: 470px;
  bottom: -14%; left: -6%;
  background: radial-gradient(circle, rgba(255, 153, 0, .34), transparent 68%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero__copy { max-width: 38rem; }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.028em;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.hero__lead {
  margin-top: 1.6rem;
  font-size: var(--fs-lead);
  line-height: 1.75;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.2rem;
}

/* --- Human proof, in place of badge walls -------------------------------- */
/* A named editor saying something specific beats five stars and a logo wall */
.hero__note {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  padding: 1.35rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-deep);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  max-width: 34rem;
}

.hero__note-avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(155deg, #3A4A5E 0%, #232F3E 55%, #131A22 100%);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
}

.hero__note blockquote p {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--heading);
  text-wrap: pretty;
}

.hero__note figcaption {
  margin-top: .6rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--heading);
}
.hero__note figcaption span {
  font-weight: 500;
  color: var(--body);
}
.hero__note figcaption span::before { content: " — "; }

.hero__facts {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--body);
  max-width: 34rem;
}

/* ==========================================================================
   13. SECTION HEADER (shared by every section below the hero)
   ========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-bottom: clamp(1.85rem, 3.2vw, 2.75rem);
}

.section-head__title {
  font-size: var(--fs-h2);
  letter-spacing: -.028em;
}
.section-head__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}

.section-head__aside {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding-bottom: .35rem;
  max-width: 30rem;
}
.section-head__aside .lead { font-size: var(--fs-body); line-height: 1.75; }

/* ==========================================================================
   14. SERVICES
   Bento grid of eight cards on an ambient field. Every decorative layer is
   compositor-only (transform/opacity) so the motion costs nothing to paint.
   ========================================================================== */
@property --edge {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, #FFFFFF 42%, var(--bg) 100%);
}

/* --- Ambient field ------------------------------------------------------- */
.services__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.services__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.services__orb--a {
  width: 44vw; height: 44vw;
  max-width: 620px; max-height: 620px;
  top: -14%; left: -10%;
  background: radial-gradient(circle, rgba(255, 153, 0, .3), transparent 68%);
}
.services__orb--b {
  width: 38vw; height: 38vw;
  max-width: 520px; max-height: 520px;
  bottom: -12%; right: -8%;
  background: radial-gradient(circle, rgba(255, 153, 0, .22), transparent 68%);
}

/* Slow light beam raking across the section */
.services__beam {
  position: absolute;
  top: -40%; left: 30%;
  width: 42%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 107, .16), transparent);
  transform: rotate(14deg);
  filter: blur(38px);
  will-change: transform;
}

/* Drifting particles */
.services__dust { position: absolute; inset: 0; }
.services__dust i {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-deep);
  opacity: .22;
  will-change: transform;
}
.services__dust i:nth-child(1)  { left:  6%; top: 18%; }
.services__dust i:nth-child(2)  { left: 17%; top: 64%; width: 3px; height: 3px; }
.services__dust i:nth-child(3)  { left: 28%; top: 32%; }
.services__dust i:nth-child(4)  { left: 36%; top: 82%; width: 5px; height: 5px; }
.services__dust i:nth-child(5)  { left: 45%; top: 12%; width: 3px; height: 3px; }
.services__dust i:nth-child(6)  { left: 54%; top: 58%; }
.services__dust i:nth-child(7)  { left: 63%; top: 26%; width: 3px; height: 3px; }
.services__dust i:nth-child(8)  { left: 71%; top: 74%; }
.services__dust i:nth-child(9)  { left: 79%; top: 40%; width: 5px; height: 5px; }
.services__dust i:nth-child(10) { left: 88%; top: 16%; }
.services__dust i:nth-child(11) { left: 94%; top: 62%; width: 3px; height: 3px; }
.services__dust i:nth-child(12) { left: 12%; top: 44%; width: 3px; height: 3px; }
.services__dust i:nth-child(13) { left: 60%; top: 90%; }
.services__dust i:nth-child(14) { left: 40%; top: 48%; width: 3px; height: 3px; }

/* --- Section header ------------------------------------------------------ */
.services__head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  padding-bottom: clamp(2rem, 3.6vw, 3rem);
}

.services__badge {
  display: inline-block;
  padding: .55rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--sh-xs);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.services__title {
  margin-top: 1.5rem;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.services__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}

.services__sub {
  margin: 1.35rem auto 0;
  max-width: 38rem;
  font-size: var(--fs-lead);
  line-height: 1.75;
  text-wrap: pretty;
}

/* --- Bento grid ---------------------------------------------------------- */
/* Alternating 7/5 spans give the shelf a rhythm a uniform grid cannot. */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.9rem, 1.4vw, 1.35rem);
}
.svc:nth-child(4n+1) { grid-column: span 7; }
.svc:nth-child(4n+2) { grid-column: span 5; }
.svc:nth-child(4n+3) { grid-column: span 5; }
.svc:nth-child(4n+4) { grid-column: span 7; }

/* --- Card ---------------------------------------------------------------- */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: clamp(1.6rem, 2.4vw, 2.25rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: box-shadow .55s var(--ease), border-color .45s var(--ease),
              background .45s var(--ease);
  will-change: transform;
}

/* Animated conic border, revealed on hover */
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--edge),
              transparent 0%, var(--accent) 12%, #FFC46B 20%, transparent 34%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.svc:hover::before,
.svc:focus-within::before {
  opacity: 1;
  animation: edge-spin 4.5s linear infinite;
}

/* Cursor-tracked wash (coordinates written by app.js) */
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%),
              rgba(255, 153, 0, .1), transparent 66%);
  transition: opacity .45s var(--ease);
}
.svc:hover::after,
.svc:focus-within::after { opacity: 1; }

.svc:hover,
.svc:focus-within {
  border-color: transparent;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 30px 60px -30px rgba(19, 26, 34, .3), 0 10px 26px -18px rgba(255, 153, 0, .3);
}

.svc > * { position: relative; z-index: 2; }

/* Floating gradient blob inside the card */
.svc__glow {
  position: absolute;
  z-index: 0;
  top: -30%; right: -18%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, .3), transparent 68%);
  filter: blur(46px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.svc:hover .svc__glow { opacity: 1; transform: scale(1); }

/* Decorative dot matrix */
.svc__dots {
  position: absolute;
  z-index: 0;
  right: 1.1rem; bottom: 1.1rem;
  width: 54px; height: 54px;
  background-image: radial-gradient(var(--border) 1.2px, transparent 1.2px);
  background-size: 9px 9px;
  opacity: .9;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.svc:hover .svc__dots { opacity: .55; transform: translate(-3px, -3px); }

/* Head row */
.svc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.svc__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  flex: none;
  border-radius: 17px;
  background: var(--primary-soft);
  border: 1px solid #FFDCA8;
  color: var(--accent-deep);
  transition: background .5s var(--ease), color .5s var(--ease),
              transform .65s var(--ease), border-color .5s var(--ease);
}
.svc:hover .svc__icon {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
  transform: rotate(-8deg) scale(1.06);
}

.svc__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(180, 83, 9, .08);
  border: 1px solid rgba(180, 83, 9, .16);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--accent-deep);
  white-space: nowrap;
}

/* Copy: lifts a touch on hover */
.svc__title {
  margin-top: 1.75rem;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -.02em;
  transition: transform .55s var(--ease), color .4s var(--ease);
}
.svc__text {
  margin-top: .7rem;
  max-width: 30rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  transition: transform .55s var(--ease);
}
.svc:hover .svc__title { transform: translateY(-3px); color: var(--accent-deep); }
.svc:hover .svc__text  { transform: translateY(-3px); }

/* Foot row */
.svc__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: auto;
  padding-top: 1.6rem;
}

.svc__eta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}
.svc__eta svg { color: var(--accent-deep); flex: none; }

/* Progress line along the card foot */
.svc__line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--border-soft);
  overflow: hidden;
}
.svc__line i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), #FF9900 55%, #FFC46B);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease);
}
.svc:hover .svc__line i,
.svc:focus-within .svc__line i { transform: scaleX(1); }

/* ==========================================================================
   15. DARK SECTION SHELL (reused by Why Choose Us and the closing CTA)
   ========================================================================== */
.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, .64);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--dark .lead { color: rgba(255, 255, 255, .62); }

/* The light-ground text gradient is unreadable on azure — invert it. */
.section--dark .section-head__title em,
.footer .section-head__title em { background: var(--grad-text-inv); }

.section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--grad-dark);
}

.section__glow {
  position: absolute;
  top: -22%; right: -12%;
  width: 44vw; height: 44vw;
  max-width: 620px; max-height: 620px;
  border-radius: 50%;
  filter: blur(100px);
  background: radial-gradient(circle, rgba(255, 153, 0, .2), transparent 66%);
}

.section__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(1000px 620px at 30% 0%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(1000px 620px at 30% 0%, #000 0%, transparent 76%);
}

.section--dark .grain { mix-blend-mode: overlay; opacity: .1; }

/* ==========================================================================
   17. MEET THE TEAM
   Dark ambient field. Every card is identical: portrait, name, Facebook.
   ========================================================================== */
.team {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-dark);
  color: rgba(255, 255, 255, .66);
}
.team h2, .team h3 { color: var(--white); }

/* --- Ambient field ------------------------------------------------------- */
.team__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.team__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.team__blob--a {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -16%; left: -12%;
  background: radial-gradient(circle, rgba(255, 153, 0, .3), transparent 68%);
}
.team__blob--b {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  bottom: -14%; right: -10%;
  background: radial-gradient(circle, rgba(255, 153, 0, .26), transparent 68%);
}
.team__blob--c {
  width: 30vw; height: 30vw; max-width: 420px; max-height: 420px;
  top: 38%; left: 46%;
  background: radial-gradient(circle, rgba(255, 196, 107, .16), transparent 70%);
}

.team__beam {
  position: absolute;
  top: -35%; left: 22%;
  width: 36%; height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 107, .14), transparent);
  transform: rotate(-12deg);
  filter: blur(40px);
  will-change: transform;
}

.team__dust { position: absolute; inset: 0; }
.team__dust i {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .4;
  will-change: transform;
}
.team__dust i:nth-child(1)  { left:  5%; top: 14%; }
.team__dust i:nth-child(2)  { left: 13%; top: 58%; width: 5px; height: 5px; }
.team__dust i:nth-child(3)  { left: 21%; top: 30%; }
.team__dust i:nth-child(4)  { left: 29%; top: 78%; }
.team__dust i:nth-child(5)  { left: 37%; top: 10%; width: 4px; height: 4px; }
.team__dust i:nth-child(6)  { left: 45%; top: 52%; }
.team__dust i:nth-child(7)  { left: 53%; top: 24%; width: 5px; height: 5px; }
.team__dust i:nth-child(8)  { left: 61%; top: 68%; }
.team__dust i:nth-child(9)  { left: 69%; top: 36%; }
.team__dust i:nth-child(10) { left: 77%; top: 84%; width: 4px; height: 4px; }
.team__dust i:nth-child(11) { left: 85%; top: 18%; }
.team__dust i:nth-child(12) { left: 93%; top: 56%; width: 5px; height: 5px; }
.team__dust i:nth-child(13) { left: 33%; top: 92%; }
.team__dust i:nth-child(14) { left: 65%; top:  6%; }
.team__dust i:nth-child(15) { left: 89%; top: 40%; width: 4px; height: 4px; }
.team__dust i:nth-child(16) { left: 17%; top: 40%; }

/* Gradient lighting that follows the pointer (position set in app.js) */
.team__cursor-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 40%),
              rgba(255, 153, 0, .16), transparent 62%);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.team:hover .team__cursor-light { opacity: 1; }

.team .grain { mix-blend-mode: overlay; opacity: .1; }

/* --- Header -------------------------------------------------------------- */
.team__head {
  max-width: 46rem;
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.team__badge {
  display: inline-block;
  padding: .55rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.team__title {
  margin-top: 1.35rem;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.team__title em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-text-inv);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}

.team__sub {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: rgba(255, 255, 255, .6);
}

/* --- Grid ----------------------------------------------------------------
   Twelve-column field; each card takes four, so three sit per row. */
.tm-field {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.85rem);
  max-width: 68rem;
  margin-inline: auto;
}

.tm { grid-column: span 4; }

/* A lone card on the final row would otherwise hang off the left edge. */
.tm:last-child:nth-child(3n + 1) { grid-column: 5 / span 4; }

/* --- Card ----------------------------------------------------------------
   Portrait, name, Facebook. Every card is identical in size: the grid sets
   the width, and the fixed portrait plus uniform padding set the height. */
.tm {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 2.8vw, 2.75rem) clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: border-color .45s var(--ease), background .45s var(--ease),
              box-shadow .55s var(--ease);
  will-change: transform;
}

.tm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--edge),
              transparent 0%, var(--accent) 12%, #FFC46B 22%, transparent 36%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.tm:hover::before,
.tm:focus-within::before { opacity: 1; animation: edge-spin 4.5s linear infinite; }

.tm:hover,
.tm:focus-within {
  border-color: transparent;
  background: rgba(255, 255, 255, .085);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .7), 0 0 46px -22px rgba(255, 153, 0, .5);
}

.tm > * { position: relative; z-index: 2; }

.tm__glow {
  position: absolute;
  z-index: 0;
  top: -34%; left: 50%;
  width: 260px; height: 260px;
  margin-left: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, .34), transparent 68%);
  filter: blur(44px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.tm:hover .tm__glow { opacity: 1; transform: scale(1); }

/* --- Portrait ------------------------------------------------------------ */
.tm__photo {
  position: relative;
  width: clamp(120px, 12vw, 164px);
  aspect-ratio: 1;
  border-radius: 50%;
  isolation: isolate;
}

.tm__photo img {
  position: absolute;
  inset: 3px;
  z-index: 2;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--dark-2);
  transition: transform .8s var(--ease);
}
.tm:hover .tm__photo img { transform: scale(1.06); }

/* Accent ring behind the portrait; spins only on hover */
.tm__ring {
  position: absolute;
  inset: -2px;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(from var(--edge),
              rgba(255, 153, 0, .1), var(--accent), #FFC46B, rgba(255, 153, 0, .1));
  opacity: .55;
  transition: opacity .5s var(--ease);
}
.tm:hover .tm__ring { opacity: 1; animation: edge-spin 5s linear infinite; }

/* --- Name & role --------------------------------------------------------- */
.tm__name {
  margin-top: 1.25rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  transition: transform .55s var(--ease);
}
/* A role line only sits under some names, so the gap moves with it. */
.tm__name:has(+ .tm__role) { margin-bottom: .45rem; }
.tm:hover .tm__name { transform: translateY(-2px); }

.tm__role {
  margin-bottom: 1.1rem;
  max-width: 15rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--accent);
  transition: transform .55s var(--ease);
}
.tm:hover .tm__role { transform: translateY(-2px); }

/* --- Facebook ------------------------------------------------------------ */
/* margin-top: auto keeps every button on the bottom edge of the row, so the
   one card carrying a role line does not push its button out of line. */
.tm__fb {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-top: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .8);
  transition: background .4s var(--ease), border-color .4s var(--ease),
              color .4s var(--ease), transform .4s var(--ease);
}
.tm__fb:hover,
.tm__fb:focus-visible {
  background: #1877F2;
  border-color: #1877F2;
  color: var(--white);
  transform: translateY(-3px);
}
.tm__fb:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Statistics ---------------------------------------------------------- */
.tstats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.tstat {
  padding: clamp(1.6rem, 2.8vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .09);
  transition: background .45s var(--ease);
}
.tstat:first-child { border-left: 0; }
.tstat:hover { background: rgba(255, 255, 255, .04); }

.tstat__num {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text-inv);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tstat__label {
  margin-top: .75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}

/* ==========================================================================
   18. BOOK SHOWCASE
   ========================================================================== */
.showcase { overflow: hidden; }

/* --- Rail header + navigation -------------------------------------------- */
.showcase__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-bottom: clamp(1.25rem, 2.2vw, 1.75rem);
}

.showcase__label {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--heading);
}
.showcase__label i {
  font-style: normal;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}

.slider-nav { display: flex; gap: .5rem; }

.slider-nav__btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--heading);
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}
.slider-nav__btn:hover:not(:disabled) {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}
.slider-nav__btn:disabled,
.slider-nav__btn.swiper-button-disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

/* --- Slider shell -------------------------------------------------------- */
/* Padding aligns the first slide with the container while letting the shelf
   run off the right edge of the viewport. */
.showcase__slider {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-inline: var(--edge);
  overflow: hidden;
}

/* Slides stretch to the tallest card so the shelf keeps a level baseline
   regardless of how long a title or result line runs. */
.showcase__slider .swiper-wrapper { align-items: stretch; }

.b-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease),
              border-color .35s var(--ease);
  will-change: transform;
}
.b-slide:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  border-color: #C2C7CB;
}

/* Stage: artwork is matted rather than cropped, so no cover loses its edges
   to the frame. Sources vary from 1:1 to 2:3, hence object-fit: contain. */
.b-slide__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(.6rem, 1.2vw, 1rem);
  background:
    radial-gradient(80% 70% at 50% 12%, rgba(255, 153, 0, .07), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.b-slide__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.1s var(--ease);
}
.b-slide:hover .b-slide__photo { transform: scale(1.04); }

/* --- Illustration slide ---------------------------------------------------
   No title block underneath, so the frame itself carries the card styling. */
.i-slide {
  height: auto;
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(.6rem, 1.2vw, 1rem);
  background:
    radial-gradient(80% 70% at 50% 12%, rgba(255, 153, 0, .07), transparent 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease),
              border-color .35s var(--ease);
  will-change: transform;
}
.i-slide:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  border-color: #C2C7CB;
}

.i-slide__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.1s var(--ease);
}
.i-slide:hover .i-slide__photo { transform: scale(1.04); }

/* Slide meta */
.b-slide__meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.25rem, 2vw, 1.6rem);
}

.b-slide__title {
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.b-slide__author {
  margin-top: .3rem;
  font-size: var(--fs-sm);
  color: var(--body);
}

/* --- Progress ------------------------------------------------------------ */
.showcase__progress {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: clamp(1.25rem, 2.2vw, 1.75rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.showcase__count {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--body);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.showcase__count b { color: var(--heading); }
.showcase__count i { font-style: normal; color: #6E7478; }

.showcase__track {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.showcase__bar {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #FF9900);
  transform: scaleX(0);
  transform-origin: left center;
  /* Driven per-frame by Swiper's progress event — a long transition here
     would lag behind the drag rather than smooth it. */
  transition: transform .15s linear;
}

/* ==========================================================================
   19. SCREEN READER UTILITY
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   20. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: rgba(255, 255, 255, .62);
  padding-top: clamp(2.5rem, 4.5vw, 4rem);
}

.footer__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.footer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.footer__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 26, 34, .93) 0%, rgba(19, 26, 34, .96) 45%, #131A22 100%),
    radial-gradient(70% 60% at 85% 8%, rgba(255, 153, 0, .18), transparent 62%);
}
.footer .grain { mix-blend-mode: overlay; opacity: .1; }

.footer h2, .footer h3 { color: var(--white); }

/* --- Newsletter ---------------------------------------------------------- */
.footer__news {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer__news-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.footer__news-text {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 32rem;
  color: rgba(255, 255, 255, .58);
}

.news-form__row { display: flex; gap: .6rem; }

.news-form__input {
  flex: 1;
  min-width: 0;
  padding: 1.05rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.news-form__input::placeholder { color: rgba(255, 255, 255, .4); }
.news-form__input:focus {
  outline: none;
  border-color: rgba(255, 153, 0, .6);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 4px rgba(255, 153, 0, .14);
}
.news-form__input[aria-invalid="true"] { border-color: #F87171; }

.news-form__status {
  margin-top: .85rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .8);
}
.news-form__status[hidden] { display: none; }
.news-form__status.is-ok { color: #34D399; }

.news-form__note {
  margin-top: .85rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .38);
}

/* --- Link columns -------------------------------------------------------- */
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.logo--light { color: var(--white); }
.logo--light .logo__mark {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
}
.logo--light .logo__text em { color: rgba(255, 255, 255, .6); }

.footer__blurb {
  margin-top: 1.25rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 24rem;
  color: rgba(255, 255, 255, .55);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.footer__col ul { margin-top: 1.15rem; display: grid; gap: .7rem; }
.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .66);
  transition: color var(--t-fast), padding-left var(--t-med);
}
.footer__col a:hover { color: var(--accent); padding-left: .3rem; }

/* --- Bottom bar ---------------------------------------------------------- */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer__copy,
.footer__made { font-size: var(--fs-xs); color: rgba(255, 255, 255, .42); }

/* ==========================================================================
   21. SCROLL CUE
   ========================================================================== */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: var(--fs-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6E7478;
  transition: color var(--t-fast);
}
.scroll-cue:hover { color: var(--heading); }
.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 52px;
  background: var(--border);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, var(--accent-deep));
  animation: cue-run 2.2s var(--ease-soft) infinite;
}
