/* Storysloom — site styles
   Palette: bookcloth navy, white, cool stone, ribbon crimson.
   Type: Libre Caslon (headings), Hanken Grotesk (body). */

:root {
  color-scheme: light;
  --navy: #172a45;
  --navy-2: #22385a;
  --navy-deep: #101e33;
  --white: #ffffff;
  --stone: #f1f2ee;
  --stone-2: #e6e8e2;
  --rule: #d9dcd4;
  --ribbon: #b32a2f;
  --ribbon-dark: #92211f;
  --slate: #5a6577;
  --ink-soft: #2f3d52;
  --gilt: #a97d2c;
  --ok: #2f6b4f;

  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-serif: "Libre Caslon Text", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-book: 0 1px 1px rgba(16, 30, 51, .08), 0 12px 28px -8px rgba(16, 30, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ribbon); }
:focus-visible { outline: 3px solid var(--ribbon); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--navy); font-weight: 400; }
h1 { font-family: var(--font-display); font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.005em; }
h3 { font-family: var(--font-serif); font-size: 22px; line-height: 1.3; }
h4 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--slate); }
.small { font-size: 14.5px; }
ul.plain { list-style: none; padding: 0; margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--stone { background: var(--stone); }
.section--navy { background: var(--navy); color: #e8ecf2; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--slate); font-size: 18px; }
.section--navy .section-head p { color: #b9c3d3; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--radius); border: 1.5px solid transparent; font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--primary { background: var(--ribbon); color: var(--white); }
.btn--primary:hover { background: var(--ribbon-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--stone); color: var(--navy); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,.55); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #c7d0dd; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e8ecf2; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar__offer strong { color: var(--white); font-weight: 600; }
.topbar__contact { display: flex; gap: 20px; }
@media (max-width: 860px) { .topbar__contact { display: none; } .topbar .wrap { justify-content: center; text-align: center; } }

/* Header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(6px); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo:hover { color: var(--navy); }
.logo__mark { width: 14px; height: 30px; }
.logo__word { font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: .005em; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 15.5px; font-weight: 500; color: var(--navy); text-decoration: none; border-radius: var(--radius); background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--stone); color: var(--navy); }
.nav__link[aria-current="page"] { color: var(--ribbon); }
.nav__link svg { width: 12px; height: 12px; transition: transform .15s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.header__cta { margin-left: 8px; }
.has-mega { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-42%); width: min(860px, 92vw); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: 0 24px 48px -16px rgba(16,30,51,.28); padding: 26px 28px; display: none; }
.mega.is-open { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.mega__group h4 { font-family: var(--font-serif); font-weight: 400; font-size: 15px; color: var(--slate); margin: 0 0 10px; font-style: italic; }
.mega__group a { display: block; padding: 5px 0; font-size: 15px; text-decoration: none; color: var(--navy); line-height: 1.35; }
.mega__group a:hover { color: var(--ribbon); }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--navy); border-radius: var(--radius); width: 46px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--white); overflow-y: auto; padding: 18px var(--gutter) 40px; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-menu__close { background: none; border: 1.5px solid var(--navy); border-radius: var(--radius); width: 46px; height: 42px; font-size: 26px; line-height: 1; cursor: pointer; color: var(--navy); }
.mobile-menu nav > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 19px; text-decoration: none; font-weight: 500; }
.mobile-menu details { border-bottom: 1px solid var(--rule); }
.mobile-menu summary { padding: 14px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: "+"; font-size: 22px; line-height: 1; }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu details a { display: block; padding: 8px 0 8px 14px; text-decoration: none; }
.mobile-menu .btn { width: 100%; margin-top: 24px; }

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--slate); margin-bottom: 20px; }
.crumbs a { color: var(--slate); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--ink-soft); }
.proof li { display: flex; align-items: center; gap: 9px; }
.proof svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }
.proof strong { color: var(--navy); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero__art { max-width: 420px; width: 100%; margin: 4px auto 0; } }

/* Book stack + ribbon */
.stack { position: relative; aspect-ratio: 1 / .92; max-width: 520px; margin-left: auto; }
.stack__panel { position: absolute; inset: 8% 0 0 10%; background: var(--stone); border-radius: var(--radius-lg); }
.stack .cover { position: absolute; width: 46%; box-shadow: var(--shadow-book); border-radius: 2px 5px 5px 2px; overflow: hidden; }
.stack .cover:nth-child(2) { left: 6%; top: 18%; transform: rotate(-7deg); }
.stack .cover:nth-child(3) { right: 4%; top: 14%; transform: rotate(6deg); }
.stack .cover:nth-child(4) { left: 28%; top: 4%; width: 50%; z-index: 2; }
.stack__ribbon { position: absolute; left: 69%; top: 0; z-index: 3; width: 5%; min-width: 20px; height: 93%; }
@media (max-width: 900px) { .stack { margin: 0 auto; } }

.ribbon { background: var(--ribbon); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 14px), 0 100%); box-shadow: inset -5px 0 0 rgba(0,0,0,.12); }

/* Store strip */
.stores { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); }
.stores .wrap { display: flex; align-items: center; gap: 12px 30px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.stores__label { font-family: var(--font-serif); font-style: italic; color: var(--slate); font-size: 16px; }
.stores ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.stores li { font-weight: 600; font-size: 15.5px; color: var(--navy-2); }

/* Contents (services table of contents) */
.contents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 64px; align-items: start; }
.contents__col { display: grid; gap: 0; }
.contents__help { border: 1px solid var(--rule); border-left: 4px solid var(--ribbon); border-radius: var(--radius); padding: 20px 22px; background: var(--white); margin-top: 6px; }
.contents__help h3 { font-size: 21px; margin-bottom: 6px; }
.contents__help p { color: var(--slate); font-size: 15.5px; }
.section--stone .contents__help { background: var(--white); }
.contents__part { break-inside: avoid; margin-bottom: 28px; }
.contents__part h3 { display: flex; align-items: baseline; gap: 12px; font-size: 24px; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1.5px solid var(--navy); }
.contents__part h3 .num { font-family: var(--font-serif); font-style: italic; color: var(--ribbon); font-size: 18px; min-width: 28px; }
.contents__part h3 .desc { margin-left: auto; font-family: var(--font-sans); font-size: 14px; color: var(--slate); }
.toc-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--navy); }
.toc-item:hover { color: var(--navy); background: linear-gradient(90deg, var(--stone), transparent); }
.toc-item__row { display: flex; align-items: baseline; gap: 10px; }
.toc-item__name { font-weight: 600; font-size: 17.5px; }
.toc-item:hover .toc-item__name { color: var(--ribbon); }
.toc-item__dots { flex: 1; border-bottom: 2px dotted #aab2bf; transform: translateY(-5px); min-width: 24px; }
.toc-item__price { font-family: var(--font-serif); font-size: 17px; white-space: nowrap; }
.toc-item__price small { font-family: var(--font-sans); font-size: 13px; color: var(--slate); margin-right: 4px; }
.toc-item__desc { display: block; font-size: 15px; color: var(--slate); margin-top: 3px; max-width: 46ch; }
@media (max-width: 860px) { .contents { grid-template-columns: 1fr; } }

/* Packages */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pkgs--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 30px 28px 28px; }
.section--stone .pkg { border-color: var(--stone-2); }
.pkg--featured { border: 2px solid var(--navy); }
.pkg__ribbon { position: absolute; top: -2px; right: 26px; width: 30px; height: 58px; }
.pkg__flag { font-size: 14px; font-weight: 600; color: var(--ribbon); margin: 0 0 6px; }
.pkg__flag--blank { visibility: hidden; }
@media (max-width: 960px) { .pkg__flag--blank { display: none; } }
.pkg h3 { font-size: 24px; margin-bottom: 6px; padding-right: 36px; }
.pkg__for { color: var(--slate); font-size: 15.5px; margin-bottom: 18px; }
.pkg__price { font-family: var(--font-display); font-size: 46px; line-height: 1; margin: 0 0 4px; }
.pkg__price small { font-family: var(--font-sans); font-size: 15px; color: var(--slate); vertical-align: middle; margin-right: 4px; }
.pkg__time { font-size: 14.5px; color: var(--slate); margin-bottom: 20px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15.5px; }
.pkg li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.pkg li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--ok); }
.pkg .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; max-width: 560px; } .pkgs--2 { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-serif); font-weight: 400; font-size: 18px; background: var(--stone); }
.compare thead th small { display: block; font-family: var(--font-sans); font-size: 14px; color: var(--slate); }
.compare tbody th { font-weight: 500; color: var(--ink-soft); width: 34%; }
.compare td.yes { color: var(--ok); font-weight: 600; }
.compare td.no { color: #9aa3b0; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 36px 40px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 18px; border-top: 1.5px solid var(--navy); }
.steps li::before { content: counter(step); position: absolute; top: -17px; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--navy); display: grid; place-items: center; font-family: var(--font-serif); font-size: 16px; }
.section--stone .steps li::before { background: var(--stone); }
.steps h3 { font-size: 20px; margin: 14px 0 6px; }
.steps p { color: var(--slate); font-size: 15.5px; margin: 0; }
.steps .step-time { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy-2); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 24px; text-align: left; display: flex; flex-direction: column; }
.person__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.monogram { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--stone); color: var(--navy); border: 1px solid var(--rule); font-family: var(--font-display); font-size: 24px; line-height: 1; }
.person--founder { border-top: 3px solid var(--ribbon); }
.person--founder .monogram { background: var(--navy); color: var(--white); border-color: var(--navy); }
.person h3 { font-size: 20px; margin: 0; }
.person__role { font-size: 13.5px; color: var(--ribbon); font-weight: 600; margin: 3px 0 0; }
.person p { font-size: 15px; color: var(--slate); margin: 0; }
.person__genres { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px !important; color: var(--ink-soft) !important; }
.person__text { margin-bottom: 14px !important; }
.person__genres span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 2px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 40px; border-top: 1px solid var(--rule); }
.roles div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.roles h4 { margin: 0 0 2px; }
.roles p { margin: 0; color: var(--slate); font-size: 15px; }
@media (max-width: 860px) { .roles { grid-template-columns: 1fr; } }

/* Covers */
.covers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.covers--4 { grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cover { aspect-ratio: 2 / 3; background: var(--stone); box-shadow: var(--shadow-book); border-radius: 2px 5px 5px 2px; overflow: hidden; position: relative; }
.cover svg { width: 100%; height: 100%; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5%; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.08) 60%, transparent); z-index: 1; pointer-events: none; }
figure.cover-fig { margin: 0; }
figure.cover-fig figcaption { margin-top: 12px; font-size: 14px; color: var(--slate); line-height: 1.4; }
figure.cover-fig figcaption strong { display: block; color: var(--navy); font-weight: 600; font-size: 15px; }
.sample-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--gilt); padding: 12px 16px; border-radius: var(--radius); margin-top: 28px; max-width: 760px; }
.section--stone .sample-note { background: var(--white); }
@media (max-width: 1000px) { .covers { grid-template-columns: repeat(3, 1fr); } .covers--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .covers, .covers--4 { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* Promises (in writing) */
.agreement { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.agreement__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy); }
.agreement__list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.agreement__list svg { width: 22px; height: 22px; color: var(--ribbon); margin-top: 2px; }
.agreement__list h3 { font-family: var(--font-sans); font-size: 17.5px; font-weight: 600; margin: 0 0 2px; }
.agreement__list p { margin: 0; color: var(--slate); font-size: 15.5px; }
.section--navy .agreement__list { border-top-color: rgba(255,255,255,.6); }
.section--navy .agreement__list li { border-bottom-color: rgba(255,255,255,.14); }
.section--navy .agreement__list p { color: #b9c3d3; }
.section--navy .agreement__list h3 { color: var(--white); }
.section--navy .agreement__list svg { color: #e9a8a6; }
@media (max-width: 900px) { .agreement { grid-template-columns: 1fr; } }

/* Stats */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--navy); border-bottom: 1px solid var(--rule); }
.figures div { padding: 22px 20px 20px 0; }
.figures div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.figures strong { display: block; font-family: var(--font-display); font-size: 46px; line-height: 1; font-weight: 400; margin-bottom: 6px; }
.figures span { color: var(--slate); font-size: 15px; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr 1fr; } .figures div:nth-child(3) { border-left: 0; padding-left: 0; } .figures div:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* FAQ */
.faq { border-top: 1.5px solid var(--navy); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-top: 6px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq summary:hover { color: var(--ribbon); }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); max-width: 72ch; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(26px, 2.6vw, 32px); }

/* CTA band */
.cta-band { position: relative; background: var(--navy); color: #dfe5ee; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 64px) clamp(36px, 5vw, 64px) clamp(70px, 9vw, 120px); overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band__ribbon { position: absolute; left: clamp(24px, 4vw, 50px); top: 0; width: 28px; height: 74%; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; max-width: 26ch; font-size: clamp(28px, 3.1vw, 40px); }
.cta-band p { margin: 0; color: #b9c3d3; max-width: 56ch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--wide-left { grid-template-columns: 1.3fr .9fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0 1.6em; font-size: 15.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 600; border-bottom: 1.5px solid var(--navy); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ribbon); color: var(--ink-soft); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.ticks svg { width: 18px; height: 18px; color: var(--ok); margin-top: 4px; }
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 700px) { .ticks--2 { grid-template-columns: 1fr; } }

/* Service hero facts */
.facts { border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); }
.facts dl { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 22px; border-bottom: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--slate); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts__price { padding: 22px; border-bottom: 1px solid var(--rule); }
.facts__price strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1; }
.facts__price span { color: var(--slate); font-size: 15px; }
.facts__cta { padding: 18px 22px 22px; }
.facts__cta .btn { width: 100%; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--rule); background: var(--white); border-radius: 40px; padding: 6px 14px; font-size: 14.5px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1.5px solid var(--navy); }
.related a { display: block; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.related a strong { display: block; font-size: 17.5px; }
.related a span { font-size: 15px; color: var(--slate); }
.related a:hover strong { color: var(--ribbon); }
@media (max-width: 800px) { .related { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--slate); font-size: 14px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; font: 16px/1.4 var(--font-sans); color: var(--navy); background: var(--white); border: 1.5px solid #bfc5cc; border-radius: var(--radius); padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(179, 42, 47, .25); outline-offset: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.check, .field .check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 400; margin: 0; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ribbon); flex-shrink: 0; }
.file-drop { border: 1.5px dashed #9aa3b0; border-radius: var(--radius); padding: 18px; background: var(--stone); }
.file-drop input { font: 15px var(--font-sans); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-size: 15.5px; display: none; }
.form-status.is-ok { display: block; background: #e7f2ec; color: #1f4d37; border: 1px solid #b9d9c7; }
.form-status.is-err { display: block; background: #f8e9e8; color: #7d1d1b; border: 1px solid #e6bfbd; }
.form-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); }
.req { color: var(--ribbon); }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.contact-list svg { width: 22px; height: 22px; color: var(--ribbon); margin-top: 2px; }
.contact-list strong { display: block; }
.map { border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; border-top: 1.5px solid var(--navy); padding-top: 18px; }
.post-card h3 { font-size: 22px; margin: 6px 0 10px; }
.post-card:hover h3 { color: var(--ribbon); }
.post-card p { color: var(--slate); font-size: 15.5px; }
.post-meta { font-size: 14px; color: var(--slate); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.article-head { max-width: 780px; }
.article-head h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: none; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; margin-top: 1.8em; }
.legal .updated { color: var(--slate); font-size: 15px; }

/* Footer */
.footer { background: var(--navy-deep); color: #b9c3d3; font-size: 15px; padding: 64px 0 28px; }
.footer a { color: #dfe5ee; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: var(--white); font-family: var(--font-serif); font-weight: 400; font-size: 18px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer .logo:hover { color: var(--white); }
.footer address { font-style: normal; line-height: 1.6; margin-bottom: 8px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pay span { border: 1px solid rgba(255,255,255,.22); border-radius: 4px; padding: 3px 8px; font-size: 13px; color: #dfe5ee; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Chat assistant */
.chat-launch { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--navy); color: var(--white); border: 0; border-radius: 40px; padding: 0 20px 0 16px; height: 56px; font: 600 15.5px var(--font-sans); cursor: pointer; box-shadow: 0 10px 28px -8px rgba(16,30,51,.55); }
.chat-launch:hover { background: var(--navy-2); }
.chat-launch svg { width: 24px; height: 24px; }
.chat-launch__dot { width: 9px; height: 9px; border-radius: 50%; background: #4fbf86; box-shadow: 0 0 0 3px rgba(79,191,134,.25); }
.chat-teaser { position: fixed; right: 20px; bottom: 88px; z-index: 69; max-width: 280px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 14px 38px 14px 16px; font-size: 15px; box-shadow: 0 16px 34px -14px rgba(16,30,51,.4); display: none; }
.chat-teaser.is-on { display: block; }
.chat-teaser button.x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--slate); }
.chat-teaser .link { background: none; border: 0; padding: 0; color: var(--ribbon); font: 600 15px var(--font-sans); cursor: pointer; margin-top: 6px; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(390px, calc(100vw - 24px)); height: min(620px, calc(100vh - 40px)); background: var(--white); border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(16,30,51,.55); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); }
.chat.is-open { display: flex; }
.chat__head { background: var(--navy); color: var(--white); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.chat__avatar svg { width: 12px; height: 24px; }
.chat__title { font-weight: 600; font-size: 16px; line-height: 1.25; }
.chat__sub { font-size: 13px; color: #b9c3d3; }
.chat__close { margin-left: auto; background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; line-height: 1; padding: 4px 6px; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--stone); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg--bot { background: var(--white); border: 1px solid var(--rule); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--ribbon); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: stretch; }
.chip { background: var(--white); border: 1.5px solid var(--navy); color: var(--navy); border-radius: 30px; padding: 8px 14px; font: 500 14.5px var(--font-sans); cursor: pointer; text-align: left; }
.chip:hover, .chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.chip--done { border-color: var(--ribbon); background: var(--ribbon); color: var(--white); }
.chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule); background: var(--white); }
.chat__input input { flex: 1; min-width: 0; font: 15.5px var(--font-sans); border: 1.5px solid #bfc5cc; border-radius: 30px; padding: 0 16px; height: 46px; color: var(--navy); }
.chat__input input:focus { outline: 3px solid rgba(179,42,47,.25); border-color: var(--navy); }
.chat__input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ribbon); color: var(--white); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.chat__input button svg { width: 20px; height: 20px; }
.chat__input button:disabled, .chat__input input:disabled { opacity: .45; cursor: not-allowed; }
.chat__foot { font-size: 12px; color: var(--slate); text-align: center; padding: 0 12px 10px; background: var(--white); }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b0; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (max-width: 560px) { .chat-launch span.label { display: none; } .chat-launch { padding: 0 16px; } .chat { right: 12px; bottom: 12px; height: calc(100vh - 24px); } }

/* Misc */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.notfound { padding: 120px 0; }
.price-note { font-size: 14.5px; color: var(--slate); margin-top: 18px; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; border: 1px solid var(--rule); border-left: 4px solid var(--ribbon); border-radius: var(--radius); padding: 18px 22px; background: var(--white); margin-top: 32px; }
.inline-cta p { margin: 0; font-weight: 500; }

/* Keep grid children from forcing the page wider than the screen */
.hero .wrap > *, .split > *, .form-grid > *, .field, .form-card { min-width: 0; }
.file-drop input { max-width: 100%; }

/* Section links land below the sticky header */
[id] { scroll-margin-top: 104px; }

/* Section labels */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-sans); font-size: 12.5px; line-height: 1.2; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ribbon); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex-shrink: 0; }
.section--navy .eyebrow { color: #f0a7a9; }
.hero .eyebrow { margin-bottom: 18px; }

/* Figures band */
.stats { background: var(--navy); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 34px; padding-bottom: 34px; }
.stats__grid div { padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.16); }
.stats__grid div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 46px); line-height: 1; margin-bottom: 8px; }
.stats span { color: #b9c3d3; font-size: 15px; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 22px 0; padding-top: 28px; padding-bottom: 28px; }
  .stats__grid div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Keep the chat button off the footer links */
.footer__bottom { padding-bottom: 76px; }

/* "Sample cover designs" label under hero art */
.hero__art { position: relative; }
.hero__caption { margin: 10px 0 0; text-align: right; font-size: 12.5px; letter-spacing: .04em; color: var(--slate); }

/* Chat button turns into a round icon over the footer */
.chat-launch.is-compact .label { display: none; }
.chat-launch.is-compact { padding: 0 16px; }

/* ---------- Phone refinements ---------- */
.person__genres span { font-size: 12.5px; }
.file-drop input[type=file] { min-height: 44px; width: 100%; font: 15px/1.3 var(--font-sans); color: var(--slate); }
.file-drop input[type=file]::file-selector-button { min-height: 44px; margin-right: 12px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: var(--radius); background: var(--white); color: var(--navy); font: 600 15px/1 var(--font-sans); cursor: pointer; }
.swipe-hint { display: none; margin: 0 0 10px; font-size: 14px; color: var(--slate); }
@media (max-width: 700px) {
  .swipe-hint { display: block; }
  .compare thead th:first-child, .compare tbody th { position: sticky; left: 0; z-index: 1; box-shadow: inset -1px 0 0 var(--rule); }
  .compare tbody th { background: var(--white); width: 128px; min-width: 128px; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare thead th:first-child { background: var(--stone); }
}
@media (max-width: 760px) {
  .footer li a { display: inline-block; padding: 9px 0; }
  .footer__grid ul { gap: 0; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) { .topbar__more { display: none; } .topbar__offer { font-size: 13.5px; } }
