/*
 * style.css — FTS Theme
 *
 * Theme stylesheet and global design system for Find The Story.
 * Imports brand fonts, defines CSS custom properties, and provides all
 * base styles: reset, typography, layout containers, buttons, and navigation.
 * Standalone theme — no parent, no framework, no page builder.
 *
 * Theme Name:  FTS Theme
 * Theme URI:   https://findthestory.com
 * Description: Find The Story custom theme. Standalone, pure HTML/CSS/JS, no page builder.
 * Author:      Find The Story
 * Author URI:  https://findthestory.com
 * Version:     2.0.0
 * License:     GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: fts-theme
 */

/* ─────────────────────────────────────────────
   GOOGLE FONTS
   Loaded via <link> in header.php with preconnect
   hints so the font CSS is fetched in parallel
   with this stylesheet instead of chained behind
   it. Do not re-add an @import here.
   ───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES — BRAND DESIGN TOKENS
   ───────────────────────────────────────────── */
:root {
  /* Brand colors */
  --color-pink: #e384e3;
  --color-mint: #00da93;
  --color-slate: #739acc;
  --color-blue: #2e8deb;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-text: #212121;
  --color-text-muted: #555;

  /* Tints for depth */
  --color-pink-light: #f9e5f9;
  --color-mint-light: #e0faf2;
  --color-slate-light: #edf2f8;
  --color-blue-light: #e6f2fd;

  /* Backgrounds */
  --bg-page: #ffffff;
  --bg-section: #fafafa;
  --bg-subtle: #f4f4f6;

  /* Typography */
  --font-heading: "Big Shoulders Text", sans-serif;
  --font-body: "Instrument Sans", sans-serif;

  /* Type scale */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-md: 1.125rem; /* 18px */
  --text-lg: 1.25rem; /* 20px */
  --text-xl: 1.5rem; /* 24px */
  --text-2xl: 2rem; /* 32px */
  --text-3xl: 2.5rem; /* 40px */
  --text-4xl: 3.5rem; /* 56px */
  --text-5xl: 5rem; /* 80px */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1180px;
  --container-wide: 1400px;
  --container-text: 760px;
  --container-pad: clamp(1rem, 5vw, 2rem);

  /* UI */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Borders */
  --border-subtle: rgba(33, 33, 33, 0.1);

  /* Card grid gaps — two named tiers */
  --gap-tight: 12px; /* dense grids: deliverables, process, accordion */
  --gap-normal: 22px; /* content grids: portfolio, education, WWU */

  /* Body text — single clamp used across pages */
  --text-body: clamp(16px, 1.25vw, 18px);

  /* Heading tiers — three canonical sizes */
  --heading-display: clamp(42px, 6.2vw, 88px); /* hero H1 */
  --heading-section: clamp(42px, 6vw, 68px); /* section H2 */
  --heading-card: clamp(22px, 2.2vw, 31px); /* card / component H3 */

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 220ms var(--ease-out);

  /* Header */
  --header-nav-height: 84px;
  --header-height: var(--header-nav-height);
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* ─────────────────────────────────────────────
   RESET & NORMALIZE
   ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-black);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p + p {
  margin-top: var(--space-4);
}

/* ─────────────────────────────────────────────
   LAYOUT — CONTAINERS
   ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--text {
  max-width: var(--container-text);
}

/* ─────────────────────────────────────────────
   HERO/CTA ACTION ROW — paired primary + ghost buttons
   Used wherever the unified CTA pair appears
   (Book a call + Try a Story Audit, or page-specific equivalent).
   ───────────────────────────────────────────── */
.fts-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (max-width: 480px) {
  .fts-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .fts-hero-actions .fts-btn {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────
   HIGHLIGHT UTILITIES — site-wide one-word emphasis
   One key word per major heading gets a highlight.
   Color rotates per heading: pink, blue, mint, slate.
   Variants:
     .fts-hl              soft tint background (default)
     .fts-hl--underline   thick underline-style swipe
     .fts-hl--fill        solid color, white text
     .fts-hl--italic      italic + brand color, no fill
   ───────────────────────────────────────────── */
.fts-hl {
  --hl-color: var(--color-pink);
  --hl-light: var(--color-pink-light);
  background: var(--hl-light);
  color: var(--color-text);
  padding: 0 0.25em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.fts-hl--blue {
  --hl-color: var(--color-blue);
  --hl-light: var(--color-blue-light);
}
.fts-hl--mint {
  --hl-color: var(--color-mint);
  --hl-light: var(--color-mint-light);
}
.fts-hl--slate {
  --hl-color: var(--color-slate);
  --hl-light: var(--color-slate-light);
}
.fts-hl--underline {
  background: linear-gradient(transparent 65%, var(--hl-light) 65%);
  padding: 0 0.15em;
  border-radius: 0;
}
/* Beefier underline swipe — covers bottom 50% (vs --underline's 35%) with a
   slight hand-drawn tilt. For hero-scale headings where the standard underline
   reads as too quiet. Pseudo-element so the tilt doesn't rotate the text. */
.fts-hl--swipe {
  position: relative;
  display: inline-block;
  background: transparent;
  padding: 0 0.16em;
}
.fts-hl--swipe::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 4%;
  height: 50%;
  background: var(--hl-color);
  opacity: 0.55;
  z-index: -1;
  transform: rotate(-1.5deg);
  transform-origin: center;
  border-radius: 1px;
}
.fts-hl--fill {
  background: var(--hl-color);
  color: #fff;
  padding: 0 0.3em;
  border-radius: 4px;
}
.fts-hl--italic {
  background: transparent;
  color: var(--hl-color);
  padding: 0;
  font-style: italic;
}
/* Hand-drawn circle / annotation — inline SVG ellipse positioned behind
   the word, like someone circled it on a script. The SVG is a sibling of
   the text inside the span; viewBox stretches via preserveAspectRatio
   "none" so the same path adapts to any word length. */
.fts-hl--circle {
  position: relative;
  display: inline-block;
  background: transparent;
  padding: 0 0.18em;
  color: var(--color-text);
}
.fts-hl-circle-svg {
  position: absolute;
  /* Layout values read from CSS custom properties so per-instance scopes can
     override one or more without restating the SVG selector. The global
     `img, svg, video { max-width: 100% }` reset silently clamps SVG width —
     `max-width: none` is REQUIRED for the percentage width to actually render
     at >100% of the span. */
  top: var(--fts-circle-top, -34%);
  left: var(--fts-circle-left, -19%);
  width: var(--fts-circle-width, 138%);
  height: var(--fts-circle-height, 168%);
  max-width: none;
  pointer-events: none;
  z-index: 1;
  color: var(--hl-color);
  overflow: visible;
}
.fts-hl-circle-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}
/* Hand-drawn squiggle / wavy underline — inline SVG sibling that stretches
   to any word length via preserveAspectRatio="none". Used for emphasis
   words that want a playful underline (vs. the flat .fts-hl--underline). */
.fts-hl--squiggle {
  position: relative;
  display: inline-block;
  background: transparent;
  padding: 0 0.05em 0.18em;
}
.fts-hl-squiggle-svg {
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -2%;
  width: 102%;
  height: 0.45em;
  pointer-events: none;
  color: var(--hl-color);
  overflow: visible;
}
.fts-hl-squiggle-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.9;
}
/* ─────────────────────────────────────────────
   SITEWIDE TEXT-WRAP BALANCE
   Centered body / subtext blocks should never orphan a single short word
   on the last line. text-wrap: balance evens line lengths across the
   block. Listed explicitly so the rule is grep-able and scoped.
   ───────────────────────────────────────────── */
.fts-creators__sub,
.fts-team__intro,
.fts-services__sub,
.fts-cta__body,
.fts-hero-sub,
.fts-audit-hero-lede,
.fts-audit-hero-note,
.fts-wwu-start__body,
.fts-accordion__sub {
  text-wrap: balance;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────── */
.heading-1 {
  font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
}

.heading-2 {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
}

.heading-3 {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
}

.heading-4 {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
}

.text-sm {
  font-size: var(--text-sm);
}
.text-base {
  font-size: var(--text-base);
}
.text-md {
  font-size: var(--text-md);
}
.text-lg {
  font-size: var(--text-lg);
}

.text-center {
  text-align: center;
}
.text-pink {
  color: var(--color-pink);
}
.text-mint {
  color: var(--color-mint);
}
.text-slate {
  color: var(--color-slate);
}

/* ─────────────────────────────────────────────
   SITE HEADER
   ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  transition:
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out);
  display: flex;
  flex-direction: column;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-nav-height);
}

/* On desktop, take the link list out of flow and centre it on the page so it
   lines up with centred body content rather than being skewed by the asymmetric
   widths of the logo and CTA. Logo stays flush left, CTA flush right. */
@media (min-width: 901px) {
  .site-header__inner > .site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Logo */
.site-nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 48px;
  min-height: 48px;
  padding: 4px;
  margin-left: -4px;
  border-radius: var(--radius-sm);
}

.site-nav__logo-img {
  width: 154px;
  height: 68px;
  object-fit: contain;
  display: block;
}

/* Primary nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav__link:hover {
    color: var(--color-blue);
    background: var(--color-blue-light);
  }

  /* Per-destination hover colours: each link previews the page accent
     you're about to land on. Mapping mirrors the per-page accent rule. */
  .site-nav__link[href$="/story-audit/"]:hover {
    color: var(--color-pink);
    background: var(--color-pink-light);
  }
  .site-nav__link[href$="/portfolio/"]:hover {
    color: #00a06a;
    background: var(--color-mint-light);
  }
  .site-nav__link[href$="/work-with-us/"]:hover {
    color: var(--color-blue);
    background: var(--color-blue-light);
  }
  .site-nav__link[href$="/education/"]:hover {
    color: var(--color-pink);
    background: var(--color-pink-light);
  }
  .site-nav__link[href$="/contact/"]:hover {
    color: #4a6588;
    background: var(--color-slate-light);
  }
}

/* Active link: signals "you're here" by inheriting the destination
   page's accent. Home is the entry point and uses bold neutral instead
   of a colour (no single accent to claim). */
.site-nav__link.is-active {
  font-weight: 700;
  color: var(--color-black);
}
.site-nav__link[href$="/story-audit/"].is-active {
  color: var(--color-pink);
}
.site-nav__link[href$="/portfolio/"].is-active {
  color: #00a06a;
}
.site-nav__link[href$="/work-with-us/"].is-active {
  color: var(--color-blue);
}
.site-nav__link[href$="/education/"].is-active {
  color: var(--color-pink);
}
.site-nav__link[href$="/contact/"].is-active {
  color: #4a6588;
}

/* Sitewide paid-consultation CTA, anchored to the right of the header.
   The mobile drawer rule below repositions this pinned-to-bottom and
   full-width when the hamburger is open. */
.site-nav__cta-wrap {
  display: flex;
  align-items: center;
  margin-left: var(--space-4);
}

/* ─────────────────────────────────────────────
   BUTTON SYSTEM — canonical .fts-btn
   Default: brand blue. Hover: brand mint green.
   See docs/consistency-audit.md § Workstream 1.
   ───────────────────────────────────────────── */
.fts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  min-height: 48px;
  border: 2px solid var(--color-blue);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .fts-btn:hover {
    background: var(--color-mint);
    border-color: var(--color-mint);
    color: var(--color-white);
    transform: translateY(-1px);
  }
}

.fts-btn:focus,
.fts-btn:focus-visible {
  outline: 3px solid rgba(46, 141, 235, 0.45);
  outline-offset: 3px;
}

/* Compact variant — used in the header nav */
.fts-btn--compact {
  min-height: 44px;
  padding: 10px 24px;
  font-size: 14px;
}

/* Button that behaves like an inline text link. Used when a Cal.com popup
   should open without visually competing with the primary paid action. */
.fts-link-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* Ghost variant — white background, grey border, for low-priority links.
   Hover lifts to brand blue to stay consistent with the system. */
.fts-btn--ghost {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--border-subtle);
}
@media (hover: hover) and (pointer: fine) {
  .fts-btn--ghost:hover {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: var(--color-white);
  }
}

/* Accent variant — reserved for Story Audit CTAs sitewide.
   Pink default, mint green on hover — distinguishes the audit offer from
   the standard blue "Book a call" primary so the two never compete. */
.fts-btn--accent {
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: var(--color-white);
}
@media (hover: hover) and (pointer: fine) {
  .fts-btn--accent:hover {
    background: var(--color-mint);
    border-color: var(--color-mint);
    color: var(--color-white);
  }
}
.fts-btn--accent:focus,
.fts-btn--accent:focus-visible {
  outline: 3px solid rgba(227, 132, 227, 0.5);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────
   CARD SYSTEM — canonical .fts-card
   White surface, subtle border, 8 px radius. Accent variants drive their
   colour from the page-level `--page-accent` custom property so each page
   reads consistent without per-child rotation.
   See docs/consistency-audit.md § Workstream 2.
   ───────────────────────────────────────────── */
:root {
  --page-accent: var(--color-mint);
  --grid-line-color: rgba(180, 200, 220, 0.13);
}

.fts-card {
  background: var(--color-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.fts-card--accent {
  border-top: 5px solid var(--page-accent);
}

.fts-card--booking {
  border-color: rgba(115, 154, 204, 0.22);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

/* Per-page accent assignments. Each secondary page picks one accent;
   adjacent nav items don't share a colour. All four brand colours used
   somewhere across the site. Homepage keeps the full palette and is
   intentionally omitted (it's the brand showcase). */
.fts-story-audit-page {
  --page-accent: var(--color-pink);
  --page-accent-light: var(--color-pink-light);
}
.fts-port-page {
  --page-accent: var(--color-mint);
  --page-accent-light: var(--color-mint-light);
}
.fts-work-with-us {
  --page-accent: var(--color-blue);
  --page-accent-light: var(--color-blue-light);
}
.fts-education-page {
  --page-accent: var(--color-pink);
  --page-accent-light: var(--color-pink-light);
}
.fts-contact-page,
.fts-contact-main {
  --page-accent: var(--color-slate);
  --page-accent-light: var(--color-slate-light);
}

/* Per-page hero grid tint — accent at ~12% opacity. Homepage uses the
   neutral default from :root. */
.fts-story-audit-page {
  --grid-line-color: rgba(227, 132, 227, 0.12);
}
.fts-port-page {
  --grid-line-color: rgba(0, 218, 147, 0.12);
}
.fts-work-with-us {
  --grid-line-color: rgba(46, 141, 235, 0.12);
}
.fts-education-page {
  --grid-line-color: rgba(227, 132, 227, 0.12);
}
.fts-contact-page {
  --grid-line-color: rgba(115, 154, 204, 0.12);
}

/* Numbered-stage rotation. Each card in a numbered sequence overrides
   --page-accent so its top stripe + number badge share a distinct
   brand colour: pink → blue → mint → slate, cycling. Applies to any
   element matching the numbered patterns below. */
.fts-audit-deliverables > :nth-child(4n + 1),
.fts-audit-process > :nth-child(4n + 1) {
  --page-accent: var(--color-pink);
  --page-accent-light: var(--color-pink-light);
}
.fts-audit-deliverables > :nth-child(4n + 2),
.fts-audit-process > :nth-child(4n + 2) {
  --page-accent: var(--color-blue);
  --page-accent-light: var(--color-blue-light);
}
.fts-audit-deliverables > :nth-child(4n + 3),
.fts-audit-process > :nth-child(4n + 3) {
  --page-accent: var(--color-mint);
  --page-accent-light: var(--color-mint-light);
}
.fts-audit-deliverables > :nth-child(4n),
.fts-audit-process > :nth-child(4n) {
  --page-accent: var(--color-slate);
  --page-accent-light: var(--color-slate-light);
}

/* Hamburger (mobile) */
.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ─────────────────────────────────────────────
   SITE FOOTER
   ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-subtle);
  padding-top: var(--space-10);
  padding-bottom: var(--space-6);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-12));
  align-items: start;
  padding-bottom: var(--space-8);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: start;
}

.site-footer__logo {
  height: 36px;
  width: auto;
}

/* Footer text logo — fallback wordmark when no custom logo is uploaded.
   Matches the EXPLORE / LET'S TALK! heading style so all three column
   headings align at the top. */
.site-footer__brand .site-logo--text {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-black);
  line-height: 1;
  margin-bottom: var(--space-5);
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 260px;
  line-height: 1.6;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-black);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .social-icon:hover {
    color: var(--color-white);
    transform: translateY(-2px);
  }
  /* Per-platform brand colours on hover — matches the education page
     pill row. Footer markup order is TikTok, LinkedIn, YouTube,
     Instagram, Facebook. */
  .site-footer__socials .social-icon:nth-of-type(1):hover {
    /* TikTok — black with chromatic cyan + magenta offset on the icon */
    background: #000;
    border-color: #000;
  }
  .site-footer__socials .social-icon:nth-of-type(1):hover svg {
    filter: drop-shadow(1px 1px 0 #fe2c55) drop-shadow(-1px -1px 0 #25f4ee);
  }
  .site-footer__socials .social-icon:nth-of-type(2):hover {
    /* LinkedIn */
    background: #0a66c2;
    border-color: #0a66c2;
  }
  .site-footer__socials .social-icon:nth-of-type(3):hover {
    /* YouTube */
    background: #ff0000;
    border-color: #ff0000;
  }
  .site-footer__socials .social-icon:nth-of-type(4):hover {
    /* Instagram — official brand gradient */
    background: linear-gradient(
      45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%
    );
    border-color: #dc2743;
  }
  .site-footer__socials .social-icon:nth-of-type(5):hover {
    /* Facebook */
    background: #1877f2;
    border-color: #1877f2;
  }
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__nav-heading,
.site-footer__contact-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-5);
  color: var(--color-black);
  text-align: center;
}

.site-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2) var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__contact {
  text-align: center;
}

.site-footer__nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition);
  display: inline-block;
}

/* Per-link hover accent — each Explore link picks up its destination
   page's --page-accent (see § Per-page accent assignments above). Order
   is stable: Home → mint, Portfolio → mint, Work With Us → blue,
   Education → pink, Contact → slate. */
@media (hover: hover) and (pointer: fine) {
  .site-footer__nav-list > li:nth-child(1) .site-footer__nav-link:hover {
    color: var(--color-mint);
  }
  .site-footer__nav-list > li:nth-child(2) .site-footer__nav-link:hover {
    color: var(--color-mint);
  }
  .site-footer__nav-list > li:nth-child(3) .site-footer__nav-link:hover {
    color: var(--color-blue);
  }
  .site-footer__nav-list > li:nth-child(4) .site-footer__nav-link:hover {
    color: var(--color-pink);
  }
  .site-footer__nav-list > li:nth-child(5) .site-footer__nav-link:hover {
    color: var(--color-slate);
  }
}

/* "Free Resources" sub-section under the Explore nav. Reads as a
   secondary label, not a peer column — smaller heading, dimmed,
   reuses .site-footer__nav-link for the link itself. */
.site-footer__resources {
  margin-top: var(--space-6);
  text-align: center;
}

.site-footer__resources-heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-3);
}

.site-footer__resources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__resources-list .site-footer__nav-link:hover {
    color: var(--color-pink);
  }
}

.site-footer__lets-talk {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--color-black);
  margin-bottom: var(--space-5);
}

.site-footer__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.site-footer__booking {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  margin-top: var(--space-4);
}

.site-footer__booking .fts-link-button {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__booking .fts-link-button:hover {
    color: var(--color-blue);
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__email:hover {
    color: var(--color-mint);
  }
}

.site-footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-block: var(--space-4);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}

.site-footer__bottom > .site-footer__copyright {
  justify-self: start;
}
.site-footer__bottom > .site-footer__legal {
  justify-self: center;
}
.site-footer__bottom > .site-footer__craft {
  justify-self: end;
  text-align: right;
}

.site-footer__copyright,
.site-footer__craft {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.site-footer__craft-accent {
  font-weight: 700;
}

.site-footer__craft-accent--story {
  color: var(--color-pink);
}

.site-footer__craft-accent--in {
  color: var(--color-blue);
}

.site-footer__craft-accent--mind {
  color: var(--color-mint);
}

/* ─────────────────────────────────────────────
   MAIN CONTENT OFFSET (accounts for fixed header)
   ───────────────────────────────────────────── */
.site-main {
  padding-top: var(--header-height);
  min-height: 60vh;
}

/* ─────────────────────────────────────────────
   SECTION RHYTHM — three canonical tiers
   See docs/brand-polish-spec.md § 6.
   ───────────────────────────────────────────── */
.fts-section-hero {
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 72px);
  padding-top: calc(var(--header-height) + clamp(40px, 5vh, 60px));
}
.fts-section-body {
  padding: clamp(60px, 8vw, 96px) clamp(20px, 5vw, 72px);
}
.fts-section-cta {
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 40px);
}

/* ─────────────────────────────────────────────
   SECTIONS
   ───────────────────────────────────────────── */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section--light {
  background: var(--bg-section);
}
.section--subtle {
  background: var(--bg-subtle);
}
.section--mint {
  background: var(--color-mint-light);
}
.section--pink {
  background: var(--color-pink-light);
}
.section--slate {
  background: var(--color-slate-light);
}

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

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.gap-4 {
  gap: var(--space-4);
}

/* ─────────────────────────────────────────────
   MOBILE — RESPONSIVE OVERRIDES
   ───────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Show hamburger, hide nav list */
  .site-nav {
    position: static;
    /* Sit to the right of the paid consultation CTA so the closed-state toggle
       lands in the same slot the open-state X already uses (far right). */
    order: 3;
    /* Small breathing room between the CTA and the toggle. */
    margin-left: var(--space-3);
  }
  .site-nav__cta-wrap {
    order: 2;
    /* Consume remaining horizontal space so CTA sits next to the toggle
       instead of being centred between logo and toggle by space-between. */
    margin-left: auto;
  }

  .site-nav__cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .site-nav__toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .site-nav__list {
    display: none;
  }

  /* When the mobile drawer is open, surface the CTA pinned to the
     bottom of the viewport so the visitor always has a way out. */
  .site-header:has(.site-nav.is-open) .site-nav__cta-wrap {
    display: flex;
    position: fixed;
    left: var(--container-pad);
    right: var(--container-pad);
    bottom: var(--space-6);
    z-index: 1000;
    margin-left: 0;
  }
  .site-header:has(.site-nav.is-open) .site-nav__cta {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    padding: 14px 28px;
  }

  .site-nav.is-open {
    position: fixed;
    top: var(--header-height, 72px);
    right: 0;
    bottom: 0;
    left: 0;
    /* Reset the closed-state CTA→toggle gap (margin-left: var(--space-3))
       so the fixed drawer covers the full viewport instead of leaving a
       sliver of page background on the left. */
    margin: 0;
    height: calc(100dvh - var(--header-height, 72px));
    max-height: calc(100vh - var(--header-height, 72px));
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-6);
    background: var(--color-white);
    padding: var(--space-8) var(--container-pad);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open .site-nav__toggle {
    position: fixed;
    /* Pin to the closed-state coordinates captured by the click handler in
       header.php. The fallback calc only runs if JS is disabled — toggle is
       40px tall, so the centred-in-nav-row math uses the toggle height. */
    top: var(--nav-toggle-top, calc((var(--header-nav-height) - 40px) / 2));
    right: var(--nav-toggle-right, var(--container-pad));
  }

  .site-nav.is-open .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    width: 100%;
  }

  .site-nav.is-open .site-nav__link {
    width: 100%;
    min-height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: 16px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    justify-items: center;
    text-align: center;
  }

  .site-footer__brand,
  .site-footer__nav,
  .site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
  }

  .site-footer__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__socials {
    justify-content: center;
  }

  .site-footer__nav-list {
    justify-content: center;
    gap: var(--space-2) var(--space-4);
  }

  .site-footer__email {
    align-self: center;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2);
  }

  .site-footer__bottom > .site-footer__copyright,
  .site-footer__bottom > .site-footer__legal,
  .site-footer__bottom > .site-footer__craft {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 350px) {
  /* Preserve an accessible menu on very narrow screens. The same paid action
     remains in the hero and inside the open navigation drawer. */
  .site-header:not(:has(.site-nav.is-open)) .site-nav__cta-wrap {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-nav__logo-img {
    width: 128px !important;
    height: 60px !important;
  }
}

@media (max-width: 600px) {
  :root {
    --header-nav-height: 72px;
  }
  .site-nav__logo-img {
    width: 118px !important;
    height: 56px !important;
  }
}

/* ─────────────────────────────────────────────
   HOMEPAGE — STRIP TWENTY TWENTY-FIVE CONSTRAINTS
   Removes max-width and padding that WordPress core
   applies to .wp-site-blocks / .entry-content / main,
   so our full-width hero can truly reach the viewport edges.
   ───────────────────────────────────────────── */
.home .wp-site-blocks,
.home .entry-content,
.home main {
  max-width: none !important;
  padding: 0 !important;
}

/* The fixed header already offsets the hero — remove site-main's
   own padding-top on the homepage so the hero controls its own spacing. */
.home .site-main {
  padding-top: 0;
}

/* ─────────────────────────────────────────────
   HOMEPAGE — HIDE PAGE TITLE
   Scoped to .home so other pages keep their titles.
   ───────────────────────────────────────────── */
.home .wp-block-post-title,
.home h1.entry-title {
  display: none !important;
}

/* ─────────────────────────────────────────────
   HOMEPAGE — HERO SECTION
   Full-width section with edge illustrations and a
   centred headline. Mirrors the existing Elementor
   widget exactly (CSS ported from the live DB).
   ───────────────────────────────────────────── */
#fts-hero {
  position: relative;
  /* Account for fixed header height so headline is visually centred */
  min-height: 52vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(40px, 5vh, 60px)) clamp(20px, 5vw, 72px)
    clamp(80px, 10vw, 120px);
  box-sizing: border-box;
}

/* Illustration wrapper — absolutely fills the hero */
.fts-g {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Each illustration image */
.fts-g .g {
  position: absolute;
  will-change: transform, opacity;
  transform-origin: center center;
  max-width: none;
  height: auto;
}

/* ── Left cluster ── */
/* Phone — prominent, top-left */
.fts-g .g:nth-child(1) {
  top: -3.5vh;
  left: -1.5vw;
  width: clamp(210px, 28vw, 430px);
  z-index: 3;
  transform: rotate(-15deg);
}
/* Crumpled dark — pushed far left, edge clips phone */
.fts-g .g:nth-child(3) {
  top: -2vh;
  left: -13vw;
  width: clamp(165px, 22vw, 330px);
  z-index: 4;
  transform: rotate(-7deg);
}
/* Timeline/storyboard — behind phone cluster */
.fts-g .g:nth-child(4) {
  top: 20%;
  left: -9vw;
  width: clamp(280px, 40vw, 580px);
  z-index: 2;
  transform: rotate(5deg);
}
/* Crumpled light — bottom-left */
.fts-g .g:nth-child(5) {
  bottom: -5vh;
  left: -1vw;
  width: clamp(160px, 22vw, 340px);
  z-index: 2;
  transform: rotate(-11deg);
}

/* ── Right cluster ── */
/* Paper stack — top-right */
.fts-g .g:nth-child(2) {
  top: -5vh;
  right: -7.5vw;
  width: clamp(200px, 31vw, 455px);
  z-index: 4;
  transform: rotate(17deg);
}
/* Document roll — bottom-right */
.fts-g .g:nth-child(6) {
  bottom: -4vh;
  right: -4vw;
  width: clamp(220px, 33vw, 475px);
  z-index: 5;
  transform: rotate(-13deg);
}

/* Radial white glow — makes centre legible against illustrations */
.fts-glow {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(
    ellipse 52% 48% at 50% 50%,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.78) 16%,
    rgba(255, 255, 255, 0.62) 33%,
    rgba(255, 255, 255, 0.38) 51%,
    rgba(255, 255, 255, 0.14) 68%,
    rgba(255, 255, 255, 0.03) 82%,
    rgba(255, 255, 255, 0) 94%
  );
}

/* Headline + CTA wrapper */
.fts-text {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: clamp(480px, 62vw, 820px);
  width: 100%;
}

.fts-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6.8vw, 96px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
  /* Override global h1 transform — heading is already uppercase */
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   HOMEPAGE — CLIENT LOGOS STRIP
   ───────────────────────────────────────────── */
.fts-logos {
  background: var(--bg-page);
  padding-block: var(--space-10);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fts-logos__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-6), 3vw, var(--space-12));
  padding-inline: var(--container-pad);
  max-width: var(--container-wide);
  margin-inline: auto;
}

.fts-logos__track img {
  height: 36px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition:
    opacity 300ms var(--ease-out),
    filter 300ms var(--ease-out);
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .fts-logos__track img:hover {
    opacity: 1;
    filter: grayscale(0%);
  }
}

/* ─────────────────────────────────────────────
   HOMEPAGE — MOBILE BREAKPOINTS
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  #fts-hero {
    min-height: 100svh;
  }

  .fts-text {
    max-width: 100%;
  }

  /* Wider glow on mobile so text stays readable with cropped illustrations */
  .fts-glow {
    background: radial-gradient(
      ellipse 85% 65% at 50% 50%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.7) 38%,
      rgba(255, 255, 255, 0) 78%
    );
  }

  /* Simplified illustration layout — only four images, tightly cropped */
  .fts-g .g:nth-child(1) {
    top: -10px;
    left: -22px;
    width: 140px;
    z-index: 4;
  }
  .fts-g .g:nth-child(2) {
    top: -10px;
    right: -22px;
    width: 135px;
  }
  .fts-g .g:nth-child(3) {
    display: none;
  }
  .fts-g .g:nth-child(4) {
    display: none;
  }
  .fts-g .g:nth-child(5) {
    bottom: -14px;
    left: -18px;
    width: 150px;
    z-index: 3;
  }
  .fts-g .g:nth-child(6) {
    bottom: -14px;
    right: -18px;
    width: 155px;
  }

  .fts-logos__track img {
    height: 28px;
  }
}

@media (max-width: 480px) {
  .fts-g .g:nth-child(1) {
    width: 105px;
  }
  .fts-g .g:nth-child(2) {
    width: 102px;
  }
  .fts-g .g:nth-child(5) {
    width: 115px;
  }
  .fts-g .g:nth-child(6) {
    width: 118px;
  }

  .fts-text h1 {
    font-size: 38px;
  }
}

/* ─────────────────────────────────────────────
   HIDE WORDPRESS PAGE TITLE ON FRONT PAGE
   ───────────────────────────────────────────── */
.page-title,
.wp-block-post-title,
.entry-title {
  display: none;
}

/* ─────────────────────────────────────────────
   HERO → LOGOS GAP REDUCTION
   Add class "hero-section" to the hero block group
   in block editor: Block Settings → Advanced → Additional CSS class
   ───────────────────────────────────────────── */
.hero-section {
  padding-bottom: var(--space-10) !important;
}

.hero-section + .wp-block-group,
.hero-section + .alignfull,
.hero-section + section {
  padding-top: var(--space-10) !important;
}

/* Fallback: reduce the standard section gap between any two
   consecutive full-width block groups on the front page */
.home .wp-block-group.alignfull + .wp-block-group.alignfull {
  margin-top: calc(-1 * var(--space-8));
}

/* ─────────────────────────────────────────────
   LEGAL PAGES — Privacy Policy + Terms of Service
   Shared shell + prose typography for long-form legal copy.
   Both pages share the slate accent (neutral, not used by other
   secondary pages). Prose styles are scoped to .fts-legal-content
   so they re-enable the things the global reset turns off
   (list bullets, anchor underline + color, mixed-case headings).
   ───────────────────────────────────────────── */
.fts-legal-page {
  --page-accent: var(--color-slate);
  --page-accent-light: var(--color-slate-light);
  background: var(--color-white);
}

.fts-legal-hero {
  background-color: var(--page-accent-light);
  background-image:
    linear-gradient(var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
  background-size: 28px 28px;
  text-align: center;
}

.fts-legal-hero__inner {
  max-width: var(--container-text);
  margin: 0 auto;
}

.fts-legal-hero__title {
  font-family: var(--font-heading);
  font-size: var(--heading-display);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 18px;
}

.fts-legal-hero__updated {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* Body section sits inside the standard .container (set in the
   templates) so its left edge aligns with the header logo and footer
   columns. Vertical padding lives here; horizontal padding comes from
   .container. */
.fts-legal-body {
  background: var(--color-white);
  padding-block: clamp(60px, 8vw, 96px);
}

/* Prose container: scoped overrides re-enable typography that the
   global reset zeroes out. Sits left-aligned inside .container —
   no margin auto — so the prose anchors to the site's left grid edge.
   max-width keeps line length readable; the right side is open
   whitespace at wider viewports. */
.fts-legal-content {
  max-width: var(--container-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text);
}

.fts-legal-content > * + * {
  margin-top: var(--space-4);
}

.fts-legal-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--color-text);
  margin-top: var(--space-12);
}

.fts-legal-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  margin-top: var(--space-6);
}

/* First heading after intro paragraph shouldn't double-stack space */
.fts-legal-content > h2:first-child,
.fts-legal-content > h3:first-child {
  margin-top: 0;
}

.fts-legal-content p {
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-text);
}

.fts-legal-content p + p {
  margin-top: var(--space-4);
}

.fts-legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.fts-legal-content ul li + li {
  margin-top: var(--space-2);
}

.fts-legal-content ul li::marker {
  color: var(--page-accent);
}

.fts-legal-content a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .fts-legal-content a:hover {
    color: var(--page-accent);
  }
}

.fts-legal-content a:focus-visible {
  outline: 2px solid var(--page-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.fts-legal-content strong {
  font-weight: 700;
  color: var(--color-text);
}

/* ─────────────────────────────────────────────
   FOOTER LEGAL ROW
   Small Privacy / Terms links inside .site-footer__bottom.
   Bottom bar already uses flex-wrap, so this third item wraps
   naturally on narrow viewports.
   ───────────────────────────────────────────── */
.site-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-footer__legal-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: color var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__legal-link:hover {
    color: var(--color-slate);
  }
}

.site-footer__legal-link:focus-visible {
  outline: 2px solid var(--color-slate);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ─────────────────────────────────────────────
   PRODUCTION STARTER KIT
   Standalone landing page at /production-starter-kit/.
   No full-bleed hero — single centered column on a white
   background, so the MailerLite form lands above the fold
   on most viewports. Pink accent provides the highlight
   colour for the title swipe and form focus rings.
   ───────────────────────────────────────────── */
.fts-psk-page {
  --page-accent: var(--color-pink);
  --page-accent-light: var(--color-pink-light);
  background: var(--color-white);
}

.fts-psk-section {
  padding-block: clamp(20px, 2.5vw, 36px) clamp(48px, 6vw, 80px);
}

.fts-psk-content {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.fts-psk-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.fts-psk-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 18px;
  text-wrap: balance;
}

.fts-psk-title .fts-hl {
  display: inline-block;
  white-space: nowrap;
}

.fts-psk-title .fts-hl--swipe {
  isolation: isolate;
}

.fts-psk-intro {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-text);
  margin: 0 0 28px;
  text-wrap: balance;
}

.fts-psk-form {
  margin-bottom: 14px;
}

.fts-psk-note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ─────────────────────────────────────────────
   MAILERLITE FORM OVERRIDES
   Shared wrapper used on the Education page newsletter
   section and the Production Starter Kit page. The
   plugin's default markup is targeted via attribute
   selectors so the styling holds even if the plugin
   bumps its class names.
   ───────────────────────────────────────────── */
.fts-mailerlite-form {
  max-width: 480px;
  margin: 0 auto;
}

.fts-mailerlite-form input[type="email"],
.fts-mailerlite-form input[type="text"] {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-text);
  border-radius: 4px;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.fts-mailerlite-form input[type="email"]:focus,
.fts-mailerlite-form input[type="text"]:focus {
  outline: none;
  border-color: var(--page-accent, var(--color-pink));
  box-shadow: 0 0 0 3px var(--page-accent-light, var(--color-pink-light));
}

.fts-mailerlite-form button[type="submit"] {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-white);
  background: var(--color-pink);
  border: 1px solid var(--color-pink);
  border-radius: 4px;
  padding: 12px 22px;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .fts-mailerlite-form button[type="submit"]:hover {
    background: var(--color-mint);
    border-color: var(--color-mint);
  }
}

.fts-mailerlite-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}
