/* Founder Shift — shared site styles
   Layout system adapted from the 2026 redesign prototype, on the Founder Shift brand kit. */
/* Inter, self-hosted (SIL Open Font License) — no requests to Google */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }


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

:root {
  /* Brand kit */
  --white:          #FFFFFF;
  --off-white:      #F8F6F2;
  --pale-gold:      #E8D4B8;
  --warm-plum:      #8B2A6B;
  --dark-aubergine: #1A0820;
  --deep-aubergine: #2A0A30;
  --petrol-teal:    #1F7A80;
  --warm-gold:      #C49A22;
  --text-body:      #3D1545;
  --text-muted:     #7A5A85;
  --border:         #E8E0EC;

  /* Derived tones */
  --paper-deep:     #F0EBE4;
  --teal-pale:      #DDEEEF;
  --line-dark:      rgba(248,246,242,0.14);
  --text-on-dark:   rgba(248,246,242,0.72);
  --muted-on-dark:  rgba(248,246,242,0.5);
  --teal-on-dark:   #6CC3C8;
  --shadow:         0 20px 60px rgba(26,8,32,0.10);

  --font: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
  --narrow: 760px;
  --radius: 2px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--off-white); color: var(--dark-aubergine);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto; overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(26,8,32,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(26,8,32,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol { margin-top: 0; }

/* ---------- Typography ---------- */
h1, h2 { font-weight: 800; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 16ch; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.032em; max-width: 22ch; margin-bottom: 1.25rem; }
h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.75rem; }
p { color: var(--text-body); text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; max-width: 62ch; color: var(--text-body); }
.muted { color: var(--text-muted); }

.wrap { width: min(calc(100% - 2.5rem), var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol-teal);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Sections ---------- */
.section { padding: 7rem 0; position: relative; }
section[id] { scroll-margin-top: 76px; }
.section-tight { padding: 4rem 0; }
.surface { background: var(--white); }
.paper { background: var(--off-white); }
.dark { background: var(--deep-aubergine); color: var(--off-white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark p, .dark .lead { color: var(--text-on-dark); }
.dark .eyebrow { color: var(--teal-on-dark); }
.plum { background: var(--warm-plum); color: var(--white); }
.plum p, .plum .lead { color: rgba(255,255,255,0.82); }
.plum .eyebrow { color: var(--pale-gold); }
.bordered { border-bottom: 1px solid var(--border); }

.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 5rem; align-items: start; }
.sticky-copy { position: sticky; top: 120px; }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.9rem 1.5rem; border: 2px solid var(--dark-aubergine); border-radius: var(--radius);
  background: var(--dark-aubergine); color: var(--white);
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.04em; text-align: center; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.button:hover { background: var(--warm-plum); border-color: var(--warm-plum); transform: translateY(-2px); }
.button.gold { background: var(--warm-gold); border-color: var(--warm-gold); color: var(--dark-aubergine); }
.button.gold:hover { background: var(--pale-gold); border-color: var(--pale-gold); }
.button.ghost { background: transparent; color: var(--dark-aubergine); }
.button.ghost:hover { background: var(--dark-aubergine); color: var(--white); border-color: var(--dark-aubergine); }
.dark .button.ghost, .plum .button.ghost, .button.ghost-light { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.dark .button.ghost:hover, .plum .button.ghost:hover, .button.ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.button.small { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.82rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cta-block { margin-top: 2.5rem; }
.cta-secondary { display: block; margin-top: 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--text-muted); }
.cta-secondary a { color: var(--petrol-teal); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.cta-secondary a:hover { color: var(--warm-plum); }
.dark .cta-secondary { color: var(--muted-on-dark); }
.plum .cta-secondary { color: rgba(255,255,255,0.85); }
.dark .cta-secondary a, .plum .cta-secondary a { color: var(--off-white); }
.text-link { display: inline-flex; gap: 0.5rem; align-items: center; color: var(--petrol-teal); font-weight: 800; border-bottom: 1px solid currentColor; line-height: 1.4; }
.text-link:hover { color: var(--warm-plum); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--off-white); border-bottom: 1px solid var(--border); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; font-size: 0.85rem; font-weight: 700; }
.nav > a:not(.button), .nav-drop > button { color: var(--text-muted); border: 0; background: none; padding: 0.5rem 0; cursor: pointer; letter-spacing: 0.02em; font-weight: 700; transition: color 0.2s; }
.nav > a:not(.button):hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { color: var(--dark-aubergine); }
.nav .button { min-height: 44px; padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: " ▾"; }
.drop-panel {
  position: absolute; top: calc(100% + 1rem); right: -10rem; width: 560px; display: none;
  grid-template-columns: 1fr 1fr; gap: 2px; padding: 0.75rem;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.nav-drop.open .drop-panel { display: grid; }
.drop-link { display: grid; grid-template-columns: 30px 1fr; gap: 0.8rem; align-items: start; padding: 0.85rem; border: 1px solid transparent; }
.drop-link:hover { border-color: var(--border); background: var(--off-white); }
.drop-link b { font-size: 1.4rem; font-weight: 800; color: var(--warm-plum); line-height: 1; }
.drop-link span { font-size: 0.8rem; font-weight: 800; color: var(--dark-aubergine); line-height: 1.3; }
.drop-link small { display: block; color: var(--text-muted); font-weight: 600; margin-top: 0.2rem; }
.menu-toggle { display: none; }
.mobile-menu-head, .mobile-only, .mobile-action-bar { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 6rem 0 5.5rem; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-copy { max-width: 880px; }
.hero h1 { max-width: 20ch; }
.answer-block { margin: 1.75rem 0 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--petrol-teal); background: rgba(31,122,128,0.07); max-width: 62ch; }
.answer-block p { margin: 0; font-size: 0.95rem; line-height: 1.8; }

.page-hero { padding: 6rem 0 4.5rem; border-bottom: 1px solid var(--border); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr); gap: 4.5rem; align-items: end; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { position: relative; padding: 1rem 0 1rem 2rem; border-top: 1px solid var(--border); font-weight: 700; color: var(--text-body); line-height: 1.6; }
.check-list li:last-child { border-bottom: 1px solid var(--border); }
.check-list li::before { content: "→"; position: absolute; left: 0; color: var(--petrol-teal); font-weight: 800; }
.dark .check-list li { color: var(--off-white); border-color: var(--line-dark); }
.dark .check-list li::before { color: var(--warm-gold); }

.steps-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 1.02rem; line-height: 1.6; color: var(--text-body); }
.steps-list li b { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; color: var(--petrol-teal); padding-top: 0.25rem; }

/* ---------- Process (workflow) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.process-step { padding: 2rem 1.5rem 1.5rem; border-right: 1px solid var(--line-dark); }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: 0; }
.process-step b { display: block; margin-bottom: 2rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-gold); }
.process-step h3 { font-size: 1.5rem; }
.process-step p { font-size: 0.92rem; line-height: 1.65; margin: 0; }

.callout { margin-top: 3rem; padding: 2rem; border: 1px solid var(--border); border-left: 3px solid var(--petrol-teal); background: var(--white); }
.callout p { font-weight: 700; line-height: 1.7; margin-bottom: 1.25rem; }
.dark .callout { background: rgba(255,255,255,0.04); border-color: var(--line-dark); border-left-color: var(--warm-gold); }
.dark .callout p { color: var(--off-white); }

/* ---------- Module cards ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.module-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 2rem 1.75rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.6); transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.module-card::after { content: ""; position: absolute; right: -24px; bottom: -56px; width: 120px; height: 120px; border: 1px solid var(--border); border-radius: 50%; transition: transform 0.25s ease, background 0.25s ease; pointer-events: none; }
.module-card:hover { background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow); z-index: 2; }
.module-card:hover::after { background: var(--teal-pale); transform: scale(1.25); }
.module-letter { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--warm-plum); margin-bottom: 1.75rem; }
.module-name { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol-teal); margin-bottom: 0.6rem; }
.module-card h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.module-card p { font-size: 0.9rem; line-height: 1.65; color: var(--text-body); }
.module-meta { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.module-delivery { font-size: 0.78rem; font-weight: 800; color: var(--petrol-teal); margin-bottom: 0.75rem; }
.module-price { font-size: 1.6rem; font-weight: 800; color: var(--dark-aubergine); line-height: 1.1; }
.module-price-future { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin: 0.35rem 0 1.25rem; }
.btn-module { display: inline-flex; align-items: center; min-height: 44px; padding: 0.6rem 1.1rem; border: 1px solid var(--dark-aubergine); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; transition: all 0.2s; }
.module-card:hover .btn-module, .btn-module:focus-visible { background: var(--dark-aubergine); color: var(--white); }
/* The "Learn more" link stretches over the whole card, so tapping anywhere opens the module */
.btn-module::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.module-card:active { background: var(--white); }
.early-access-note { margin: 2rem 0 0; padding: 1.1rem 1.5rem; border: 1px solid var(--warm-gold); background: rgba(196,154,34,0.1); font-weight: 800; font-style: italic; color: var(--text-body); text-align: center; }

/* ---------- Two-column boundary ---------- */
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3rem; border: 1px solid var(--border); background: var(--white); }
.boundary { padding: 2rem; }
.boundary + .boundary { border-left: 1px solid var(--border); background: var(--paper-deep); }
.boundary h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #17656A; }
.boundary .check-list { margin-top: 1rem; }

/* ---------- Price box (support, service pages) ---------- */
.price-box { border: 1px solid var(--border); border-top: 3px solid var(--warm-plum); background: var(--white); padding: 2rem; box-shadow: 12px 12px 0 var(--paper-deep); }
.price-box .price { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; color: var(--warm-plum); margin: 0.25rem 0; }
.price-box .price-future { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 1.25rem; }
.price-label { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.price-box .check-list { margin: 1rem 0 1.25rem; }
.price-box .check-list li { font-weight: 400; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.price-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.price-emphasis { font-size: 0.92rem; font-weight: 800; font-style: italic; color: var(--warm-plum); margin: 1rem 0 0; }

/* ---------- Case studies ---------- */
.case { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; background: var(--off-white); border: 1px solid var(--border); border-top: 3px solid var(--warm-plum); }
.case-person { display: flex; align-items: center; gap: 0.9rem; }
.case-person img.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.case-name { display: block; font-weight: 800; font-size: 0.95rem; color: var(--dark-aubergine); }
.case-company { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
.case-li { width: 18px; height: 18px; margin-left: auto; opacity: 0.4; transition: opacity 0.2s; flex-shrink: 0; }
.case-person:hover .case-li { opacity: 0.8; }
.case-label { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem; }
.case-label.before { color: var(--text-muted); }
.case-label.after { color: var(--petrol-teal); }
.case p { margin: 0; font-size: 0.95rem; line-height: 1.7; }
.case .shaped { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.85rem; font-weight: 700; font-style: italic; color: var(--warm-plum); }

/* ---------- Testimonial carousel (swipe / arrows, no autoplay) ---------- */
.carousel { margin-top: 3rem; }
.carousel-track {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding-bottom: 2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .case { flex: 0 0 min(62%, 680px); scroll-snap-align: start; }
.carousel-track > .case:last-child { scroll-snap-align: end; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.carousel-dots { display: flex; gap: 0.25rem; }
.carousel-dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: background 0.2s, width 0.2s; }
.carousel-dot[aria-selected="true"]::before { width: 26px; border-radius: 5px; background: var(--warm-plum); }
.carousel-arrows { display: flex; gap: 0.5rem; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--dark-aubergine); background: var(--white); color: var(--dark-aubergine); font-size: 1.1rem; cursor: pointer; transition: all 0.2s; }
.carousel-btn:hover:not(:disabled) { background: var(--dark-aubergine); color: var(--white); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

/* ---------- Guarantee ---------- */
.guarantee-card { padding: 2rem 2rem 2rem 2.5rem; border-left: 4px solid var(--warm-gold); background: rgba(255,255,255,0.05); max-width: 720px; }
.guarantee-card h3 { font-size: 1.2rem; }
.guarantee-card p { margin-bottom: 0.75rem; }
.guarantee-card p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.portrait-panel { display: grid; grid-template-columns: 0.7fr 1.3fr; border: 1px solid var(--border); background: var(--white); }
.portrait-art { background: var(--deep-aubergine); display: grid; place-items: center; padding: 3rem 2rem; }
.portrait-art img { width: min(100%, 280px); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.portrait-copy { padding: clamp(2rem, 5vw, 4.5rem); }

/* ---------- CTA band ---------- */
.cta-band { padding: 6.5rem 0; text-align: center; }
.cta-band h2 { margin-inline: auto; max-width: 20ch; }
.cta-band .lead { margin: 0 auto 2.25rem; max-width: 52ch; }
.cta-band .actions { justify-content: center; }
.cta-alt-label { margin: 2rem 0 1rem; font-size: 0.88rem; font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; min-height: 56px; padding: 1.2rem 0; border: 0; background: transparent; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 1rem; font-size: 1.05rem; font-weight: 800; color: var(--dark-aubergine); cursor: pointer; }
.faq-q::after { content: "+"; color: var(--petrol-teal); font-size: 1.3rem; line-height: 1; justify-self: end; transition: transform 0.2s; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 0 1.5rem; max-width: 68ch; }
.faq-item.open .faq-a { display: block; }

/* ---------- Forms & tools ---------- */
.form-shell { background: var(--white); border: 1px solid var(--border); padding: clamp(1.25rem, 4vw, 3rem); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.tool-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 380px; padding: 2rem; background: var(--white); border: 1px solid var(--border); }
.tool-card .button { margin-top: auto; align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-aubergine); color: var(--off-white); padding: 4.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.6fr 0.6fr; gap: 4rem; padding-bottom: 3.5rem; }
.footer-logo img { height: 40px; width: auto; }
.site-footer a { color: var(--muted-on-dark); display: block; margin: 0.45rem 0; font-size: 0.88rem; font-weight: 700; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer-title { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-on-dark); margin-bottom: 1rem; }
.legal { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: 0.78rem; font-weight: 700; color: var(--muted-on-dark); }
.legal a { display: inline; margin: 0; font-size: 0.78rem; }

/* ---------- Motion ---------- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.no-js .fade-up { opacity: 1; transform: none; }

/* ---------- Tablet & mobile navigation ---------- */
@media (max-width: 960px) {
  .section { padding: 5rem 0; }
  .hero { padding: 4rem 0; }
  .page-hero-grid, .split, .portrait-panel { grid-template-columns: 1fr; gap: 3rem; }
  .sticky-copy { position: static; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:first-child { padding-left: 1.5rem; }
  .process-step:nth-child(odd) { padding-left: 0; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .menu-toggle {
    display: grid; place-items: center; position: relative; z-index: 72;
    min-width: 64px; min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--border); background: var(--white); cursor: pointer;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-aubergine);
  }
  .menu-toggle::before { content: "Menu"; }
  .menu-toggle[aria-expanded="true"] { background: transparent; border-color: var(--line-dark); color: var(--white); }
  .menu-toggle[aria-expanded="true"]::before { content: "Close"; }

  .nav {
    position: fixed; inset: 0; height: 100dvh; z-index: 70;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    background: var(--deep-aubergine); color: var(--white); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open { display: flex; }
  body.nav-open { overflow: hidden; }
  .mobile-menu-head { display: flex; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line-dark); margin-bottom: 0.5rem; padding-right: 80px; }
  .mobile-menu-head img { height: 40px; width: auto; }
  .nav > a:not(.button), .nav-drop > button {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-dark); color: var(--white); text-align: left; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em;
  }
  .nav > a:not(.button):hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { color: var(--pale-gold); }
  .nav > a:not(.button)::after { content: "→"; font-size: 1rem; color: var(--warm-gold); }
  .nav-drop > button::after { content: "+"; color: var(--warm-gold); }
  .nav-drop.open > button::after { content: "−"; }
  .mobile-only { display: flex !important; }
  .drop-panel { position: static; width: auto; box-shadow: none; padding: 0.6rem 0 1rem; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .drop-link { min-height: 72px; padding: 0.85rem 0.7rem; border-color: var(--line-dark); }
  .drop-link:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
  .drop-link b { color: var(--warm-gold); }
  .drop-link span { color: var(--white); }
  .drop-link small { color: var(--muted-on-dark); }
  .nav .button { width: 100%; min-height: 56px; margin-top: auto; flex-shrink: 0; background: var(--warm-gold); border-color: var(--warm-gold); color: var(--dark-aubergine); font-size: 0.95rem; }
  .nav .button:hover { background: var(--pale-gold); border-color: var(--pale-gold); transform: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  body.nav-open { padding-bottom: 0; }
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  h2 { font-size: clamp(1.65rem, 7.5vw, 2.1rem); }
  .section { padding: 4rem 0; }
  .hero, .page-hero { padding: 3rem 0 3.5rem; }
  .header-inner, .mobile-menu-head { height: 68px; min-height: 68px; }
  .brand img, .mobile-menu-head img { height: 34px; }
  .nav { padding-inline: 1rem; }

  .module-grid, .tool-grid, .boundary-grid { grid-template-columns: 1fr; }
  .drop-link { grid-template-columns: 22px 1fr; gap: 0.5rem; padding: 0.75rem 0.6rem; }
  /* Module cards on phones: compact header, price up top, whole card tappable */
  .module-card { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: center; padding: 1.5rem 1.25rem; }
  .module-card > *, .module-meta > * { grid-column: 1 / -1; }
  .module-meta { display: contents; }
  .module-letter { grid-column: 1; order: 0; font-size: 1.7rem; margin: 0; }
  .module-name { grid-column: 2; order: 0; margin: 0; }
  .module-card h3 { order: 1; margin: 0.9rem 0 0.75rem; }
  .module-delivery { order: 2; margin-bottom: 0.4rem; }
  .module-price { order: 3; }
  .module-price-future { order: 4; margin: 0.3rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
  .module-card p { order: 5; }
  .btn-module { order: 6; justify-self: start; }
  .module-card:hover { transform: none; box-shadow: none; }
  .carousel-track > .case { flex-basis: 86%; }
  .boundary { padding: 1.5rem 1.25rem; }
  .boundary + .boundary { border-left: 0; border-top: 1px solid var(--border); }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:first-child, .process-step:nth-child(odd) { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .process-step b { margin-bottom: 0.75rem; }
  .steps-list li { grid-template-columns: 40px 1fr; font-size: 0.98rem; }
  .callout, .price-box, .case { padding: 1.5rem 1.25rem; }
  .price-box { box-shadow: 8px 8px 0 var(--paper-deep); }
  .guarantee-card { padding: 1.5rem 1.25rem 1.5rem 1.5rem; }
  .portrait-art { padding: 2.5rem 1.5rem; }
  .portrait-art img { width: 200px; }
  .portrait-copy { padding: 2rem 1.25rem; }
  .cta-band { padding: 4.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div:first-child { grid-column: auto; }
  .legal { flex-direction: column; }

  .actions { flex-direction: column; align-items: stretch; }
  .actions .button, .cta-block > .button { width: 100%; }

  .mobile-action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.75rem max(0.6rem, env(safe-area-inset-bottom));
    background: var(--deep-aubergine); border-top: 1px solid var(--line-dark); box-shadow: 0 -12px 30px rgba(26,8,32,0.18);
  }
  body.nav-open .mobile-action-bar { display: none; }
  .mobile-action-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid rgba(255,255,255,0.35); color: var(--white); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.03em; text-align: center; }
  .mobile-action-bar a.primary { background: var(--warm-gold); border-color: var(--warm-gold); color: var(--dark-aubergine); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* =====================================================================
   Homepage refinements: trust strip, big steps, guarantee statement, motion
   ===================================================================== */

/* Trust strip under the hero */
.trust-strip { display: inline-flex; align-items: center; gap: 1rem; margin-top: 3rem; padding: 0.75rem 1.25rem 0.75rem 0.75rem; border: 1px solid var(--border); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.trust-strip:hover { border-color: var(--warm-plum); box-shadow: var(--shadow); transform: translateY(-2px); }
.trust-avatars { display: flex; flex-shrink: 0; }
.trust-avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); }
.trust-avatars img + img { margin-left: -14px; }
.trust-names { display: flex; flex-wrap: wrap; gap: 0.15rem 1.25rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; line-height: 1.4; }
.trust-names b { color: var(--dark-aubergine); font-weight: 800; margin-right: 0.3rem; }

/* How it works: big numbered steps in a row */
.big-steps { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.big-steps li { position: relative; padding: 2rem 1.75rem 1.75rem; background: var(--white); border: 1px solid var(--border); }
.big-num { display: block; font-size: clamp(3.5rem, 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--warm-plum); margin-bottom: 1.5rem; }
.big-steps li p { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.55; color: var(--dark-aubergine); }
.big-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -1.05rem; top: 50%; transform: translateY(-50%); z-index: 1; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--warm-gold); color: var(--dark-aubergine); font-weight: 800; font-size: 0.9rem; }

/* Guarantee as one large statement with the detail beside it */
.guarantee-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 4rem; align-items: end; }
.statement { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; max-width: 18ch; margin-bottom: 0; }
.guarantee-layout .guarantee-card { max-width: none; }

/* Motion: staggered reveals */
.stagger > .fade-up:nth-child(2) { transition-delay: 0.08s; }
.stagger > .fade-up:nth-child(3) { transition-delay: 0.16s; }
.stagger > .fade-up:nth-child(4) { transition-delay: 0.24s; }
.stagger > .fade-up:nth-child(5) { transition-delay: 0.32s; }
.stagger > .fade-up:nth-child(6) { transition-delay: 0.40s; }
.module-card.fade-up { transition: opacity 0.6s ease, transform 0.6s ease, background 0.2s ease, box-shadow 0.2s ease; }
.module-card.fade-up.visible:hover { transform: translateY(-4px); transition-delay: 0s; }

/* Motion: buttons press in when tapped */
.button:active, .btn-module:active { transform: translateY(0) scale(0.98); }

/* Motion: the testimonial in view is in focus, neighbours step back */
.carousel-track > .case { transition: opacity 0.35s ease, transform 0.35s ease; }
.carousel-track > .case:not(.is-active) { opacity: 0.55; transform: scale(0.97); }

@media (max-width: 960px) {
  .big-steps { grid-template-columns: 1fr; gap: 1rem; }
  .big-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1.5rem; }
  .big-num { margin: 0; font-size: 3.2rem; }
  .big-steps li:not(:last-child)::after { content: "↓"; right: auto; left: 2.4rem; top: auto; bottom: -1.5rem; transform: none; }
  .guarantee-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .trust-strip { display: flex; align-items: flex-start; margin-top: 2rem; }
  .trust-names { flex-direction: column; font-size: 0.8rem; }
  .big-steps li { padding: 1.25rem; gap: 1rem; }
  .big-num { font-size: 2.6rem; }
  .big-steps li p { font-size: 0.98rem; }
  .big-steps li:not(:last-child)::after { left: 1.9rem; }
  .statement { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .module-card.fade-up.visible:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .stagger > .fade-up { transition-delay: 0s !important; }
  .carousel-track > .case:not(.is-active) { opacity: 1; transform: none; }
}

/* Typography details */
.module-price, .price-box .price, .module-price-future, .price-future, .big-num, .module-delivery { font-variant-numeric: tabular-nums; }
.eyebrow, .module-name, .price-label, .footer-title, .case-label { font-feature-settings: "case" 1; }
.lead { letter-spacing: -0.005em; }

/* Page transitions: a soft cross-fade between pages, header stays put (browsers without support just load normally) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Module finder */
.finder { margin-top: 2.5rem; }
.finder-label { margin: 0 0 0.85rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm-plum); }
.finder-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.6rem 1rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text-body);
  font-size: 0.86rem; font-weight: 700; line-height: 1.3; text-align: left; cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.chip::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--warm-plum); transition: background 0.2s; }
.chip:hover { border-color: var(--warm-plum); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--dark-aubergine); border-color: var(--dark-aubergine); color: var(--white); }
.chip[aria-pressed="true"]::before { background: var(--warm-gold); border-color: var(--warm-gold); }
.module-grid.has-focus .module-card { opacity: 0.38; }
.module-grid.has-focus .module-card.is-focus { opacity: 1; background: var(--white); box-shadow: var(--shadow), inset 0 0 0 2px var(--warm-plum); z-index: 3; }
.module-grid.has-focus .module-card.is-focus .module-letter { color: var(--warm-gold); }

@media (max-width: 640px) {
  /* chips become a swipeable strip so they do not push the cards far down */
  .finder-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: -1rem; padding: 0 1rem 0.25rem; }
  .finder-chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; max-width: 78vw; scroll-snap-align: start; }
}

/* =====================================================================
   Module pages
   ===================================================================== */
.module-price-box { position: relative; overflow: hidden; padding: 2.25rem 2rem; }
.price-letter { position: absolute; right: -0.5rem; bottom: -2.5rem; font-size: 11rem; font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--border); pointer-events: none; }
.module-price-box .price-label { color: var(--petrol-teal); }
.module-price-box .price { font-size: clamp(2.6rem, 5vw, 3.4rem); margin: 0.5rem 0 0.35rem; position: relative; }
.module-price-box .price-future { margin: 0; position: relative; }

.deliverable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.deliverable { padding: 1.75rem; background: var(--white); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.deliverable:hover { border-color: var(--warm-plum); transform: translateY(-3px); box-shadow: var(--shadow); }
.deliverable-num { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--warm-plum); margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.deliverable p { margin: 0; font-weight: 700; line-height: 1.55; color: var(--dark-aubergine); }
.stagger > .fade-up:nth-child(7) { transition-delay: 0.48s; }
.stagger > .fade-up:nth-child(8) { transition-delay: 0.56s; }

.steps-list.on-dark { border-color: var(--line-dark); }
.steps-list.on-dark li { border-color: var(--line-dark); color: var(--off-white); }
.steps-list.on-dark li b { color: var(--warm-gold); }

.case-study { margin-top: 2.5rem; padding: 2.25rem; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--warm-plum); }
.case-study .case-person { margin-bottom: 1.75rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.before-after p { margin: 0; line-height: 1.75; }
.case-study .shaped { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.88rem; font-weight: 700; font-style: italic; color: var(--warm-plum); }

.faq-a p { margin: 0 0 0.75rem; }
.faq-a p:last-child { margin-bottom: 0; }
.cta-band .cta-secondary { margin-top: 1.75rem; }
.cta-band .cta-secondary a { color: var(--white); }
.drop-link[aria-current="page"] { border-color: var(--border); background: var(--off-white); }

@media (max-width: 960px) {
  .deliverable-grid { grid-template-columns: 1fr 1fr; }
  .drop-link[aria-current="page"] { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
}
@media (max-width: 640px) {
  .deliverable-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .deliverable { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.25rem; }
  .deliverable-num { margin: 0; font-size: 2rem; }
  .before-after { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-study { padding: 1.5rem 1.25rem; }
  .module-price-box { padding: 1.75rem 1.5rem; }
  .price-letter { font-size: 8rem; bottom: -1.75rem; }
}

/* =====================================================================
   Tools, FAQ, privacy, lead-gated tools, diagnostic chat
   ===================================================================== */
.tool-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 18ch; }
.tool-card p { position: relative; }
.tool-graphic { position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; font-size: 4.5rem; font-weight: 800; color: var(--teal-pale); pointer-events: none; transition: transform 0.3s, background 0.3s; }
.tool-card:hover .tool-graphic { transform: scale(1.08); background: var(--off-white); }
.tool-foot { margin-top: auto; position: relative; }
.tool-note { margin: 1rem 0 0; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.tool-note a, .prose a, .callout a { color: var(--petrol-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.faq-h { margin: 0; font-size: inherit; max-width: none; letter-spacing: 0; line-height: inherit; }

.prose h2 { font-size: 1.3rem; letter-spacing: -0.015em; margin: 2.5rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.8; }

/* Lead-gated tool pages: intro on the left, form on the right */
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 4rem; align-items: start; }
.tool-intro .lead { font-size: 1.05rem; }
.tool-intro .callout { margin: 1.5rem 0 0; padding: 1.25rem 1.5rem; }
.tool-intro .callout p { margin: 0; font-weight: 400; font-size: 0.95rem; }
.dark-callout { margin: 1.75rem 0; padding: 1.5rem 1.75rem; background: var(--deep-aubergine); color: var(--pale-gold); font-weight: 800; line-height: 1.6; border-left: 4px solid var(--warm-gold); }
.tool-form { position: sticky; top: 100px; box-shadow: var(--shadow); border-top: 3px solid var(--warm-plum); }
.form-title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-plum); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-aubergine); }
.form-group input { width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--off-white); font-size: 1rem; font-weight: 600; color: var(--dark-aubergine); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus { border-color: var(--petrol-teal); box-shadow: 0 0 0 3px rgba(31,122,128,0.15); }
.form-group input::placeholder { color: #B9A6C2; font-weight: 400; }
.error-msg { display: none; margin-top: 0.35rem; font-size: 0.8rem; font-weight: 700; color: #B3261E; }
.submit-btn { width: 100%; margin-top: 0.75rem; min-height: 56px; font-size: 0.95rem; }
.submit-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.privacy-note { margin: 0.9rem 0 0; text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.privacy-note a { color: var(--warm-plum); font-weight: 700; }

/* SCALED diagnostic chat */
.diag-hero { padding: 4rem 0; }
.diag-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.diag-intro { position: sticky; top: 110px; }
.diag-intro h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.diag-note { font-size: 0.9rem; line-height: 1.7; margin-top: 1.25rem; }
.chat-shell { display: flex; flex-direction: column; height: min(78vh, 760px); background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--warm-plum); box-shadow: var(--shadow); }
.chat-area { flex: 1; overflow-y: auto; padding: 1.75rem 1.5rem 1rem; display: flex; flex-direction: column; gap: 1.1rem; scroll-behavior: smooth; overscroll-behavior: contain; }
.message { display: flex; flex-direction: column; max-width: 88%; animation: msg-in 0.3s ease; }
.message.assistant { align-self: flex-start; }
.message.user { align-self: flex-end; }
.message-bubble { padding: 0.9rem 1.1rem; font-size: 0.95rem; line-height: 1.7; }
.message.assistant .message-bubble { background: var(--off-white); color: var(--text-body); border: 1px solid var(--border); border-radius: 2px 14px 14px 14px; }
.message.user .message-bubble { background: var(--deep-aubergine); color: var(--white); border-radius: 14px 2px 14px 14px; }
.message-bubble strong { font-weight: 800; color: var(--dark-aubergine); }
.message-bubble h1, .message-bubble h2, .message-bubble h3 { font-weight: 800; color: var(--dark-aubergine); margin: 1rem 0 0.5rem; line-height: 1.3; letter-spacing: -0.01em; max-width: none; }
.message-bubble h1 { font-size: 1.1rem; }
.message-bubble h2 { font-size: 1rem; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1.25rem; }
.message-bubble h3 { font-size: 0.95rem; color: var(--petrol-teal); }
.message-bubble p { margin-bottom: 0.6rem; color: inherit; }
.message-bubble p:last-child { margin-bottom: 0; }
.message-bubble ul, .message-bubble ol { margin: 0.5rem 0 0.5rem 1.25rem; padding: 0; }
.message-bubble li { margin-bottom: 0.25rem; }
.message-bubble a { color: var(--petrol-teal); font-weight: 700; }
.message-bubble hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.typing { display: flex; align-items: center; gap: 6px; width: fit-content; padding: 0.9rem 1.1rem; background: var(--off-white); border: 1px solid var(--border); border-radius: 2px 14px 14px 14px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--warm-plum); animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.input-area { flex-shrink: 0; padding: 1rem 1.25rem 1.1rem; border-top: 1px solid var(--border); background: var(--white); }
.input-row { display: flex; gap: 0.6rem; align-items: flex-end; }
.input-row textarea { flex: 1; min-height: 50px; max-height: 140px; padding: 0.8rem 1rem; resize: none; outline: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--off-white); font-size: 1rem; line-height: 1.5; color: var(--dark-aubergine); transition: border-color 0.2s, box-shadow 0.2s; }
.input-row textarea:focus { border-color: var(--petrol-teal); box-shadow: 0 0 0 3px rgba(31,122,128,0.15); }
.send-btn { min-height: 50px; white-space: nowrap; }
.send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.input-hint { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--text-muted); }
body.diagnostic-page .mobile-action-bar { display: none; }

@media (max-width: 960px) {
  .tool-layout, .diag-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .tool-form, .diag-intro { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; padding: 1.5rem 1.25rem; }
  .tool-graphic { width: 160px; height: 160px; font-size: 3rem; right: -40px; bottom: -50px; }
  .tool-card .button { width: 100%; }
  .diag-hero { padding: 2rem 0 1.5rem; }
  .diag-layout { gap: 1.5rem; }
  body.diagnostic-page { padding-bottom: 0; }
  .chat-shell { height: calc(100dvh - 90px); margin-inline: -1rem; border-left: 0; border-right: 0; }
  .chat-area { padding: 1.25rem 1rem 0.75rem; }
  .message { max-width: 94%; }
  .input-area { padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom)); }
  .input-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .message { animation: none; } }

/* Registered company details in the footer */
.company-info { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin: 0.9rem 0 0; font-size: 0.76rem; font-weight: 600; line-height: 1.6; color: rgba(248,246,242,0.62); }
.company-info span + span::before { content: "·"; display: inline-block; width: 1.5rem; text-align: center; }
.site-footer .company-info a { display: inline; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.site-footer .company-info a:hover { color: var(--white); }
@media (max-width: 1100px) {
  .company-info { flex-direction: column; }
  .company-info span + span::before { content: none; }
}

/* Footer links: comfortable tap targets on phones */
@media (max-width: 640px) {
  .site-footer .footer-grid a { display: flex; align-items: center; min-height: 44px; margin: 0; }
  .legal a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Cookie consent banner */
.cookie-banner { position: fixed; z-index: 80; left: 1rem; bottom: 1rem; width: min(440px, calc(100% - 2rem)); padding: 1.25rem 1.25rem 1.1rem; background: var(--deep-aubergine); color: var(--off-white); border-top: 3px solid var(--warm-gold); box-shadow: 0 20px 50px rgba(26,8,32,0.35); animation: msg-in 0.3s ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.88rem; line-height: 1.6; color: rgba(248,246,242,0.85); }
.cookie-banner a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-actions .button { flex: 1; }
.cookie-banner .button.ghost { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.cookie-banner .button.ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.legal-links { display: inline-flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.cookie-link { padding: 0; border: 0; background: none; cursor: pointer; font-size: 0.78rem; font-weight: 700; color: var(--muted-on-dark); transition: color 0.2s; }
.cookie-link:hover { color: var(--white); }
body.has-cookie-banner .mobile-action-bar { display: none; }
@media (max-width: 640px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; width: 100%; padding-bottom: max(1.1rem, env(safe-area-inset-bottom)); }
  .cookie-actions .button { min-height: 48px; }
  .cookie-link { min-height: 44px; }
}

/* "Worked with" logo row */
.logo-band { padding: 2.25rem 0; background: var(--white); border-bottom: 1px solid var(--border); }
.logo-band-label { margin: 0 0 1.25rem; text-align: center; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3rem; }
.logo-row img { display: block; height: 30px; width: auto; opacity: 0.75; transition: opacity 0.2s; }
.logo-row img:hover { opacity: 1; }
/* wide wordmarks sit a little smaller so all logos carry similar visual weight */
.logo-row img[src*="flashhub"], .logo-row img[src*="manageditexperts"] { height: 24px; }
@media (max-width: 640px) {
  .logo-band { padding: 1.75rem 0; }
  .logo-row { gap: 1.25rem 1.75rem; }
  .logo-row img { height: 22px; }
  .logo-row img[src*="flashhub"], .logo-row img[src*="manageditexperts"] { height: 18px; }
}
.logo-row img[src*="ettesaq"] { height: 46px; }
@media (max-width: 640px) { .logo-row img[src*="ettesaq"] { height: 36px; } }
.logo-row img[src*="brightview"] { height: 44px; }
@media (max-width: 640px) { .logo-row img[src*="brightview"] { height: 34px; } }
/* thin-line logos get full strength so they read as clearly as the bolder ones */
.logo-row img[src*="impactory"], .logo-row img[src*="manageditexperts"] { opacity: 1; }

/* Logo row as an even grid: 4 x 2 on desktop, 2 x 4 on phones */
.logo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 980px; margin-inline: auto; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.logo-row li { display: flex; align-items: center; justify-content: center; height: 96px; padding: 0 1.25rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-row img { max-width: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-row li { height: 76px; padding: 0 0.9rem; }
  .logo-row img { height: 24px; }
  .logo-row img[src*="flashhub"], .logo-row img[src*="manageditexperts"] { height: 19px; }
  .logo-row img[src*="ettesaq"] { height: 40px; }
  .logo-row img[src*="brightview"] { height: 38px; }
}

/* =====================================================================
   Clearer affordances: client strip link + module finder
   ===================================================================== */

/* Client strip: visible "see results" cue */
.trust-strip { flex-wrap: wrap; cursor: pointer; }
.trust-cta { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: 0.75rem; padding: 0.45rem 0.8rem; border-radius: 999px; background: rgba(139,42,107,0.08); color: var(--warm-plum); font-size: 0.8rem; font-weight: 800; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.trust-arrow { display: inline-block; animation: nudge-down 1.8s ease-in-out infinite; }
.trust-strip:hover .trust-cta, .trust-strip:focus-visible .trust-cta { background: var(--warm-plum); color: var(--white); }
@keyframes nudge-down { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(3px); } }

/* Module finder: say what to do, make options look like buttons */
.finder-hint { display: block; margin-top: 0.35rem; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
.chip { border: 1.5px solid rgba(139,42,107,0.35); box-shadow: 0 2px 0 rgba(26,8,32,0.06); }
.chip::after { content: "→"; margin-left: 0.15rem; color: var(--warm-plum); font-weight: 800; transition: transform 0.2s; }
.chip:hover::after { transform: translateX(3px); }
.chip[aria-pressed="true"]::after { content: "✓"; color: var(--warm-gold); }
.finder-result { margin: 1.1rem 0 0; padding: 0.9rem 1.1rem; background: rgba(139,42,107,0.07); border-left: 3px solid var(--warm-gold); font-size: 0.95rem; font-weight: 600; color: var(--text-body); animation: msg-in 0.3s ease; }
.finder-result[hidden] { display: none; }
.finder-result a { color: var(--warm-plum); text-decoration: underline; text-underline-offset: 3px; }
.finder-result b { font-weight: 800; }

@media (max-width: 640px) {
  .trust-cta { margin: 0.6rem 0 0; flex-basis: 100%; justify-content: center; }
  /* Phones: a clear vertical list of tappable options instead of a sideways strip */
  .finder-chips { flex-direction: column; flex-wrap: nowrap; overflow: visible; margin-inline: 0; padding: 0; gap: 0.5rem; }
  .chip { width: 100%; max-width: none; justify-content: flex-start; border-radius: 12px; padding: 0.85rem 1rem; font-size: 0.92rem; }
  .chip span { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .trust-arrow { animation: none; } }

/* Client strip, refined: no box, faces + names + quiet text link */
.trust-strip { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 1rem; margin-top: 2.75rem; padding: 0; border: 0; background: none; box-shadow: none; }
.trust-strip:hover { border: 0; box-shadow: none; transform: none; }
.trust-avatars img { width: 48px; height: 48px; border-color: var(--off-white); }
.trust-text { display: flex; flex-direction: column; gap: 0.35rem; }
.trust-cta { display: inline-flex; align-self: flex-start; gap: 0.35rem; margin: 0; padding: 0 0 1px; border-radius: 0; background: none; color: var(--warm-plum); font-size: 0.85rem; font-weight: 800; border-bottom: 1.5px solid rgba(139,42,107,0.35); transition: border-color 0.2s, gap 0.2s; }
.trust-strip:hover .trust-cta, .trust-strip:focus-visible .trust-cta { background: none; color: var(--warm-plum); border-bottom-color: var(--warm-plum); gap: 0.55rem; }

@media (max-width: 640px) {
  .trust-strip { display: flex; align-items: flex-start; margin-top: 2.25rem; }
  .trust-avatars img { width: 40px; height: 40px; }
  .trust-cta { flex-basis: auto; justify-content: flex-start; margin: 0.25rem 0 0; }
}

/* =====================================================================
   Articles: overview cards + article template
   ===================================================================== */
.article-col { max-width: 720px; }
.article-wide { max-width: 1000px; }

.article-head { padding: 4.5rem 0 2.5rem; }
.article-back { display: inline-block; margin-bottom: 1.75rem; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.article-back:hover { color: var(--warm-plum); }
.article-head .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 22ch; }
.article-hook { margin: 0 0 1.75rem; padding-left: 1.1rem; border-left: 3px solid var(--warm-plum); font-size: clamp(1.1rem, 1.8vw, 1.25rem); line-height: 1.6; color: var(--warm-plum); font-weight: 600; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-meta b { color: var(--dark-aubergine); }

.article-figure { margin: 0 0 2.75rem; }
.article-figure img { width: 100%; height: auto; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-figure figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.85rem; font-style: italic; color: var(--text-muted); }
.article-body .article-figure { margin: 2.75rem 0; }

.article-body p { font-size: 1.1rem; line-height: 1.85; margin-bottom: 1.4rem; color: var(--text-body); }
.article-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); max-width: none; margin: 3rem 0 1rem; letter-spacing: -0.02em; }
.article-body a { color: var(--warm-plum); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.article-cta { margin: 3.5rem 0 5rem; padding: 2.5rem; background: var(--deep-aubergine); color: var(--off-white); border-top: 3px solid var(--warm-gold); }
.article-cta-label { margin: 0 0 0.75rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm-gold); }
.article-cta h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.8rem); max-width: 24ch; margin-bottom: 0.9rem; }
.article-cta p { color: var(--text-on-dark); margin-bottom: 1.5rem; }

/* Overview */
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.article-card { background: var(--white); border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--warm-plum); }
.article-card-link { display: block; height: 100%; }
.article-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border); }
.article-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.article-card h2 { font-size: 1.35rem; line-height: 1.25; max-width: none; margin-bottom: 0.6rem; letter-spacing: -0.015em; }
.article-card p { font-size: 0.95rem; margin-bottom: 1rem; }
.article-card-meta { font-size: 0.82rem; font-weight: 700; color: var(--text-muted); }

@media (max-width: 640px) {
  .article-head { padding: 2.5rem 0 1.75rem; }
  .article-body p { font-size: 1.02rem; line-height: 1.8; }
  .article-cta { padding: 1.75rem 1.25rem; margin-bottom: 3rem; }
  .article-cta .button { width: 100%; }
  .article-grid { grid-template-columns: 1fr; }
  .article-figure figcaption { font-size: 0.8rem; }
}

/* Article images: framed and narrower than the text so they read as previews, not headlines */
.article-body .article-figure { width: 82%; margin: 2.75rem auto; padding: 0.75rem; background: var(--white); border: 1px solid var(--border); }
.article-body .article-figure img { border: 0; box-shadow: none; }
.article-body .article-figure figcaption { margin-top: 0.6rem; }
/* Overview cards: branded cover instead of a picture */
.article-cover { position: relative; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 16 / 7; padding: 1.25rem 1.5rem; background: var(--deep-aubergine); border-bottom: 3px solid var(--warm-gold); }
.article-cover-letter { position: absolute; right: -0.5rem; bottom: -2.5rem; font-size: 11rem; font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(232,212,184,0.45); }
.article-cover-label { position: relative; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pale-gold); line-height: 1.6; }
.article-cover-label b { color: var(--warm-gold); }
@media (max-width: 640px) {
  .article-body .article-figure { width: 100%; padding: 0.5rem; }
  .article-cover { aspect-ratio: 16 / 8; }
  .article-cover-letter { font-size: 8rem; bottom: -1.75rem; }
}
.article-back { display: block; width: max-content; }

/* Overview cards: text only, thin plum line on top, read-more cue */
.article-card { border-top: 3px solid var(--warm-plum); }
.article-card-body { display: flex; flex-direction: column; height: 100%; padding: 1.75rem 1.75rem 1.5rem; }
.article-card h2 { font-size: 1.5rem; }
.article-card-meta { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; }
.article-card-meta::after { content: "Read →"; color: var(--warm-plum); font-weight: 800; transition: transform 0.2s; }
.article-card:hover .article-card-meta::after { transform: translateX(3px); }
@media (max-width: 640px) { .article-card-body { padding: 1.5rem 1.25rem 1.25rem; } .article-card h2 { font-size: 1.3rem; } }
