/* ============================================================
   Homepage — editorial paper layout on the v6 design system.
   Tonal steps inside one warm family; a single espresso band
   at the close. No second accent, no colour jumps.
   ============================================================ */

.home-page-v5 .site-header .wrap,
.home-page-v5 .site-footer .wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); }

.home-page-v5 {
  background:
    radial-gradient(70% 46% at 78% 2%, rgba(138, 75, 42, .06), transparent 62%),
    linear-gradient(180deg, var(--wash) 0, var(--paper) 620px) no-repeat;
  background-color: var(--paper);
}
.home-v5 {
  --edge: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.home-v5 * { box-sizing: border-box; }
.home-v5 .wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.home-v5 .wrap > * { min-width: 0; }
.home-v5 section[id] { scroll-margin-top: calc(var(--hdr-h) + 24px); }

/* Entry choreography: heavy, staggered, transform and opacity only */
.v5-reveal { opacity: 1; transform: none; }
.home-v5.has-js .v5-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.home-v5.has-js .v5-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.v5-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.v5-button:hover { text-decoration: none; transform: translateY(-2px); }
/* Trailing icon nested in its own disc, flush with the inner padding */
.v5-button-primary, .v5-button-dark, .v5-button-light { padding-right: 8px; }
.v5-button-primary::after, .v5-button-dark::after, .v5-button-light::after {
  content: '\2197'; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; font-size: 13px; line-height: 1;
  background: rgba(252, 250, 246, .14); color: inherit;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.v5-button-light::after { background: rgba(27, 24, 21, .08); }
.v5-button-primary:hover::after, .v5-button-dark:hover::after, .v5-button-light:hover::after {
  transform: translate(2px, -2px) scale(1.06);
  background: rgba(252, 250, 246, .22);
}
.v5-button-light:hover::after { background: rgba(27, 24, 21, .13); }
.v5-button:active { transform: scale(.98); }
.v5-button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 16px 30px -20px rgba(27, 24, 21, .9); }
.v5-button-primary:hover { background: #2c2620; color: var(--paper); box-shadow: 0 24px 40px -22px rgba(27, 24, 21, .8); }
.v5-button-dark { background: var(--ink); color: var(--paper); }
.v5-button-dark:hover { background: #2c2620; color: var(--paper); }
.v5-button-light { background: var(--paper); color: var(--ink); }
.v5-button-light:hover { background: #fff; color: var(--ink); }
.v5-text-link {
  display: inline-flex; align-items: center;
  color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding: 8px 0 5px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.v5-text-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ---------- Hero ---------- */
.v5-hero { position: relative; padding: clamp(16px, 3vw, 40px) 0 var(--sec-y); background: transparent; }
.v5-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr);
  gap: clamp(40px, 5vw, 66px); align-items: center; min-height: 560px;
}
.v5-hero-copy { padding: 10px 0; min-width: 0; }
.v5-hero-copy h1 {
  max-width: 21ch; margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.3vw, 56px); font-weight: 500;
  line-height: 1.06; letter-spacing: -0.035em; color: var(--ink);
  text-wrap: balance;
}
.v5-hero-copy h1 span { display: block; color: var(--accent); font-style: italic; letter-spacing: -0.03em; }
.v5-lead { max-width: 50ch; margin: 24px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.v5-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }

/* Format chips */
.v5-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; max-width: 100%; }
.v5-chips a { max-width: 100%; overflow-wrap: anywhere; }
.v5-chips a {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .7); color: var(--ink-soft);
  font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.v5-chips a:hover { border-color: var(--accent); color: var(--accent); background: #fff; text-decoration: none; transform: translateY(-1px); }

/* Facts, set as a hairline rail with tabular figures */
.v5-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-strong);
}
.v5-facts div { min-width: 0; padding-right: 16px; }
.v5-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.v5-facts strong {
  display: block; font-family: var(--display); font-size: 27px; line-height: 1;
  font-weight: 600; letter-spacing: -0.03em;
}
.v5-facts span {
  display: block; max-width: 17ch; margin-top: 9px;
  color: var(--ink-faint); font-size: 10px; line-height: 1.45;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
}

/* Paper stack */
.v5-showcase { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.v5-paper-scene { position: relative; width: 100%; height: 580px; display: grid; place-items: center; isolation: isolate; }
.v5-paper-shadow {
  position: absolute; width: 356px; aspect-ratio: 210/297;
  border: 1px solid var(--line); background: var(--wash);
  box-shadow: 0 18px 44px -38px rgba(60, 44, 28, .5);
  border-radius: 3px;
}
.v5-paper-shadow-a { transform: translate(-22px, 14px) rotate(-2.6deg) scale(.965); }
.v5-paper-shadow-b { transform: translate(21px, 8px) rotate(1.9deg) scale(.975); background: var(--wash-deep); }
.v5-live-paper {
  position: relative; z-index: 3; width: 380px; max-width: 84%;
  aspect-ratio: 210/297; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset,
              0 40px 80px -46px rgba(60, 44, 28, .55),
              0 4px 14px -8px rgba(60, 44, 28, .3);
}
/* A whisper of light across the top edge, so the sheet reads as paper */
.v5-live-paper::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(190deg, rgba(255, 255, 255, .65) 0%, rgba(255, 255, 255, 0) 22%),
              linear-gradient(0deg, rgba(60, 44, 28, .05), transparent 18%);
}
.v5-live-paper iframe { display: block; border: 0; pointer-events: none; }

/* ---------- Statement ---------- */
.v5-statement { padding: var(--sec-y-lg) 0; }
.v5-statement-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 84px; align-items: start;
}
.v5-statement-copy h2 {
  max-width: 14ch; margin: 0; font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 60px); line-height: 1.02;
  letter-spacing: -0.038em; font-weight: 500;
}
.v5-statement-copy > p { max-width: 56ch; margin: 24px 0 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.76; }
.v5-principles { border-top: 1px solid var(--line); }
.v5-principles article { display: grid; grid-template-columns: 36px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.v5-principles article > span { grid-row: 1 / span 2; color: var(--ink-faint); font: 500 13px/1 var(--display); padding-top: 4px; }
.v5-principles h3 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.v5-principles p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.64; }

/* ---------- Selected templates (bento on a deeper paper tone) ---------- */
.v5-selected { padding: var(--sec-y-lg) 0; background: var(--wash-deep); }
.v5-selected-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .7fr);
  gap: 64px; align-items: end; margin-bottom: 48px;
}
.v5-selected-head h2 {
  margin: 0; font-family: var(--display); font-size: clamp(44px, 4.8vw, 62px);
  line-height: .99; letter-spacing: -0.04em; font-weight: 500;
}
.v5-selected-head > p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.74; }

.v5-template-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.v5-template-card {
  grid-column: span 3; padding: 10px;
  background: rgba(255, 255, 255, .62); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.v5-template-card:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow-md); }
.v5-template-frame > iframe, .v5-preview-placeholder { transition: transform .6s var(--ease), opacity .45s var(--ease), visibility .3s var(--ease); }
@media (hover: hover) {
  .v5-template-card:hover .v5-template-frame iframe { transform: scale(1.02); }
}
.v5-template-card.is-large { grid-column: span 6; }
.v5-template-visual { display: block; text-decoration: none; }
.v5-template-frame {
  position: relative; height: auto; aspect-ratio: 1.105/1; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--r-lg) - 10px);
}
.v5-template-frame iframe {
  position: relative; z-index: 2; display: block; border: 0;
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
}
.v5-template-frame.is-loaded iframe { opacity: 1; }
.v5-template-frame.is-loaded .v5-preview-placeholder { opacity: 0; visibility: hidden; }
.v5-preview-placeholder {
  position: absolute; z-index: 1; left: 50%; top: 8%; width: 60%; height: 84%;
  transform: translateX(-50%); background: #fff;
  box-shadow: 0 20px 42px -32px rgba(60, 44, 28, .5);
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.v5-preview-placeholder span { display: block; width: 70%; height: 5px; margin: 13px auto 0; background: var(--wash-deep); }
.v5-preview-placeholder span:first-child { width: 43%; height: 14px; margin-top: 32px; background: var(--ink); }
.v5-preview-placeholder span:nth-child(2) { width: 56%; margin-top: 11px; background: var(--accent); opacity: .5; }
.v5-preview-placeholder span:nth-child(3) { margin-top: 35px; }

.v5-template-info {
  display: grid; grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 14px; align-items: start; padding: 18px 8px 8px;
}
.v5-template-number { grid-column: 1; grid-row: 1 / span 2; padding-top: 4px; color: var(--ink-faint); font: 500 12px/1 var(--display); }
.v5-template-info > div:nth-child(2) { grid-column: 2; min-width: 0; }
.v5-template-info span { display: block; color: var(--accent); font-size: 9.5px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.v5-template-info h3 { margin: 6px 0 0; font-family: var(--display); font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.v5-template-info p { margin: 7px 0 0; color: var(--ink-soft); font-size: 11.5px; line-height: 1.55; }
.v5-template-info > a {
  grid-column: 2; justify-self: start; margin-top: 13px;
  color: var(--ink); font-size: 11.5px; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.v5-template-info > a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.v5-selected-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-strong);
}
.v5-selected-footer p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Process ---------- */
.v5-process { padding: var(--sec-y-lg) 0; }
.v5-process-layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: 88px; }
.v5-process-title { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.v5-process-title h2 {
  max-width: 13ch; margin: 0; font-family: var(--display);
  font-size: clamp(42px, 4.3vw, 58px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500;
}
.v5-process-list { border-top: 1px solid var(--line); }
.v5-process-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.v5-process-item > span { color: var(--accent); font: 500 15px/1 var(--display); padding-top: 4px; }
.v5-process-item h3 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -0.025em; }
.v5-process-item p { max-width: 54ch; margin: 9px 0 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.68; }

/* ---------- Audience routes ---------- */
.v5-audiences { padding: var(--sec-y-lg) 0; background: var(--wash); }
.v5-audience-head { margin-bottom: 40px; }
.v5-audience-head h2 {
  max-width: 14ch; margin: 0; font-family: var(--display);
  font-size: clamp(40px, 4.1vw, 56px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500;
}
.v5-audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong);
}
.v5-audience-grid a {
  min-height: 196px; display: flex; flex-direction: column; padding: 26px;
  border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  color: var(--ink); text-decoration: none;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.v5-audience-grid a:hover { background: rgba(255, 255, 255, .8); text-decoration: none; }
.v5-audience-grid span { color: var(--ink-faint); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.v5-audience-grid strong { margin-top: auto; font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -0.028em; }
.v5-audience-grid small { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.v5-audience-grid a { position: relative; }
.v5-audience-grid a::after {
  content: '\2192'; position: absolute; top: 24px; right: 24px;
  color: var(--accent); font-size: 15px; opacity: 0; transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.v5-audience-grid a:hover::after { opacity: 1; transform: none; }

/* ---------- Format guides ---------- */
.v5-formats { padding: var(--sec-y-lg) 0; }
.v5-formats-head { max-width: 62ch; margin-bottom: 40px; }
.v5-formats-head h2 {
  max-width: 17ch; margin: 0; font-family: var(--display);
  font-size: clamp(40px, 4.1vw, 56px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500;
}
.v5-formats-head p { margin: 20px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.v5-format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v5-format-grid a {
  display: flex; flex-direction: column; min-height: 210px; padding: 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.v5-format-grid a:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); text-decoration: none; }
.v5-format-grid span { color: var(--accent); font-size: 9.5px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.v5-format-grid strong { margin-top: 12px; font-family: var(--display); font-size: 23px; line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; }
.v5-format-grid small {
  display: -webkit-box; margin-top: 12px; color: var(--ink-soft); font-size: 12px; line-height: 1.62;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.v5-formats-footer { margin-top: 30px; }

/* ---------- Price ---------- */
.v5-price { padding: 0 0 var(--sec-y); }
.v5-price-shell {
  display: grid; grid-template-columns: minmax(0, 1.12fr) auto minmax(230px, .64fr);
  gap: 12px; align-items: stretch;
  padding: 12px; border-radius: var(--r-lg);
  background: var(--wash-deep); border: 1px solid var(--line);
}
.v5-price-copy, .v5-price-value, .v5-price-action {
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 34px; border-radius: calc(var(--r-lg) - 6px);
}
.v5-price-copy {
  background: var(--card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, var(--shadow-sm);
}
.v5-price-copy h2 {
  max-width: 14ch; margin: 0; font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500;
}
.v5-price-copy > p { max-width: 44ch; margin: 16px 0 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.68; }
.v5-price-value { text-align: center; padding-inline: 40px; }
.v5-price-value span { display: block; color: var(--ink-faint); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.v5-price-value strong { display: block; font: 500 74px/.92 var(--display); letter-spacing: -0.05em; color: var(--ink); }
.v5-price-value small { display: block; margin-top: 10px; color: var(--ink-faint); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.v5-price-action { background: var(--card); box-shadow: var(--shadow-sm); }
.v5-price-action p { margin: 0 0 20px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.7; }
.v5-price-action .v5-button-light { background: var(--ink); color: var(--paper); }
.v5-price-action .v5-button-light:hover { background: #2c2620; color: var(--paper); }

/* ---------- FAQ ---------- */
.v5-faq { padding: 0 0 var(--sec-y-lg); }
.v5-faq-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 84px; }
.v5-faq-heading { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.v5-faq-heading h2 {
  max-width: 12ch; margin: 0; font-family: var(--display);
  font-size: clamp(40px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500;
}
.v5-faq-heading > p { margin: 20px 0 0; color: var(--ink-soft); font-size: 13.5px; }
.v5-faq-heading a { color: var(--accent); font-weight: 700; }
.v5-faq-list { border-top: 1px solid var(--line); }
.v5-faq-list details { border-bottom: 1px solid var(--line); }
.v5-faq-list summary {
  list-style: none; display: grid; grid-template-columns: 36px minmax(0, 1fr) 34px;
  gap: 16px; align-items: center; min-height: 72px; padding: 24px 0; cursor: pointer;
}
.v5-faq-list summary::-webkit-details-marker { display: none; }
.v5-faq-list summary > span { color: var(--ink-faint); font: 500 11px/1 var(--display); }
.v5-faq-list summary b { font-family: var(--display); font-size: 20px; line-height: 1.28; font-weight: 600; letter-spacing: -0.02em; }
.v5-faq-list summary i { position: relative; width: 30px; height: 30px; }
.v5-faq-list summary i:before, .v5-faq-list summary i:after {
  content: ""; position: absolute; left: 7px; right: 7px; top: 14px; height: 1px;
  background: var(--ink); transition: transform .3s var(--ease);
}
.v5-faq-list summary i:after { transform: rotate(90deg); }
.v5-faq-list details[open] summary i:after { transform: rotate(0); }
.v5-faq-list details > p { max-width: 62ch; margin: 0; padding: 0 49px 26px 52px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.74; }

/* ---------- Final band ---------- */
.v5-final { padding: var(--sec-y-lg) 0 calc(var(--sec-y-lg) + env(safe-area-inset-bottom, 0px)); background: #241e18; color: var(--paper); }
.v5-final-inner { text-align: center; }
.v5-final h2 {
  max-width: 13ch; margin: 0 auto 32px; font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 70px); line-height: 1.0; letter-spacing: -0.042em;
  font-weight: 500; color: var(--paper);
}
.v5-final-inner > span { display: block; margin-top: 18px; color: rgba(252, 250, 246, .55); font-size: 10.5px; letter-spacing: .04em; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .v5-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 44px; }
  .v5-hero-copy h1 { font-size: clamp(38px, 4.8vw, 52px); }
  .v5-paper-scene { height: 560px; }
  .v5-paper-shadow, .v5-live-paper { width: 350px; }
  .v5-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .v5-statement-grid, .v5-process-layout, .v5-faq-layout { gap: 54px; }
  .v5-template-card, .v5-template-card.is-large { grid-column: span 6; }
  .v5-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .v5-price-shell { grid-template-columns: minmax(0, 1fr) auto; }
  .v5-price-copy { grid-column: 1 / -1; }
  .v5-price-action { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .v5-price-action p { margin: 0; }
}
@media (max-width: 940px) {
  .v5-hero { padding: 56px 0 76px; }
  .v5-hero-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .v5-hero-copy { text-align: center; }
  .v5-hero-copy h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(38px, 6.6vw, 54px); }
  .v5-lead { margin-inline: auto; }
  .v5-actions, .v5-chips { justify-content: center; }
  .v5-facts { max-width: 640px; margin-inline: auto; }
  .v5-showcase { width: min(600px, 100%); margin: auto; }
  .v5-statement-grid { grid-template-columns: 1fr; gap: 40px; }
  .v5-process-layout, .v5-faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .v5-process-title, .v5-faq-heading { position: static; }
}
@media (max-width: 820px) {
  .home-v5 .wrap { padding-inline: 24px; }
  .v5-statement, .v5-selected, .v5-process, .v5-audiences, .v5-formats, .v5-faq { padding-top: 80px; padding-bottom: 80px; }
  .v5-selected-head { grid-template-columns: 1fr; gap: 18px; }
  .v5-final { padding: 84px 0; }
}
@media (max-width: 700px) {
  .v5-template-mosaic { display: block; }
  .v5-template-card { margin-top: 22px; }
  .v5-template-card:first-child { margin-top: 0; }
  .v5-audience-grid { grid-template-columns: 1fr; }
  .v5-format-grid { grid-template-columns: 1fr; }
  .v5-format-grid a { min-height: 0; }
  .v5-price-shell { grid-template-columns: 1fr; }
  .v5-price-value { padding: 26px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .v5-price-action { display: block; padding: 24px 12px 12px; }
  .v5-price-action p { margin-bottom: 18px; }
  .v5-price-action .v5-button { width: 100%; }
  .v5-selected-footer { flex-direction: column; align-items: flex-start; }
  .v5-selected-footer .v5-button { width: 100%; }
  .v5-faq-list summary b { font-size: 18px; }
}
@media (max-width: 580px) {
  .home-v5 .wrap { padding-inline: 20px; }
  .v5-hero { padding: 42px 0 62px; }
  .v5-hero-copy h1 { font-size: clamp(34px, 10.5vw, 44px); line-height: 1.04; }
  .v5-lead { font-size: 15px; }
  .v5-actions { flex-direction: column; gap: 12px; }
  .v5-actions .v5-button { width: 100%; max-width: 330px; }
  .v5-facts { grid-template-columns: 1fr; border-top: 0; padding-top: 0; margin-top: 32px; }
  .v5-facts div, .v5-facts div + div {
    display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 14px;
    padding: 13px 0; border-left: 0; border-top: 1px solid var(--line);
  }
  .v5-facts strong { font-size: 22px; }
  .v5-facts span { max-width: none; margin-top: 0; font-size: 9.5px; }
  .v5-paper-scene { height: 400px; }
  .v5-paper-shadow { width: 246px; }
  .v5-live-paper { width: 256px; max-width: 88%; }
  .v5-paper-shadow-a { transform: translate(-16px, 10px) rotate(-2.6deg); }
  .v5-paper-shadow-b { transform: translate(17px, 6px) rotate(2deg); }
  .v5-statement-copy h2, .v5-selected-head h2, .v5-process-title h2,
  .v5-audience-head h2, .v5-formats-head h2, .v5-faq-heading h2 { font-size: clamp(34px, 10.5vw, 44px); }
  .v5-process-item { grid-template-columns: 38px 1fr; padding: 24px 0; }
  .v5-process-item h3 { font-size: 22px; }
  .v5-price-copy { padding: 30px 22px; }
  .v5-price-value strong { font-size: 64px; }
  .v5-faq-list summary { grid-template-columns: minmax(0, 1fr) 30px; gap: 12px; }
  .v5-faq-list summary > span { display: none; }
  .v5-faq-list details > p { padding: 0 30px 20px 0; font-size: 13.5px; }
  .v5-final { padding: 72px 0; }
  .v5-final h2 { font-size: clamp(40px, 12.5vw, 54px); }
  .v5-final .v5-button { width: 100%; max-width: 330px; }
}
@media (max-width: 430px) {
  .v5-hero-copy h1 { font-size: clamp(31px, 9.6vw, 39px); letter-spacing: -0.032em; }
  .v5-lead { font-size: 14.5px; line-height: 1.68; }
  .v5-chips a { font-size: 11.5px; padding: 7px 12px; }
  .v5-paper-scene { height: 340px; }
  .v5-paper-shadow { width: 212px; }
  .v5-live-paper { width: 222px; }
  .v5-facts div, .v5-facts div + div { grid-template-columns: 76px 1fr; gap: 12px; }
  .v5-facts strong { font-size: 20px; }
  .v5-template-info { grid-template-columns: 1fr; }
  .v5-template-number { display: none; }
  .v5-template-info > div:nth-child(2), .v5-template-info > a { grid-column: 1; }
  .v5-audience-grid a { min-height: 0; padding: 22px; }
  .v5-audience-grid strong { margin-top: 14px; font-size: 24px; }
  .v5-audience-grid a::after { top: 20px; right: 20px; }
  .v5-price-copy, .v5-price-action { padding: 26px 20px; }
  .v5-price-value strong { font-size: 58px; }
  .v5-final h2 { font-size: clamp(34px, 12vw, 46px); }
}
@media (hover: none) {
  .v5-button:hover, .v5-template-card:hover, .v5-format-grid a:hover,
  .v5-chips a:hover, .fmt-hub-card:hover { transform: none; }
  .v5-button-primary::after, .v5-button-dark::after, .v5-button-light::after { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v5 *, .home-v5 *:before, .home-v5 *:after { transition: none !important; animation: none !important; }
  .home-v5.has-js .v5-reveal { opacity: 1; transform: none; }
}

/* ---------- Two services ---------- */
.v5-services { padding: var(--sec-y-lg) 0 0; }
.v5-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.v5-service {
  display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  box-shadow: var(--shadow-sm);
}
.v5-service.is-lead {
  background: linear-gradient(180deg, var(--accent-wash), var(--card) 62%);
  border-color: #e4d2c5;
}
.v5-service > span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.v5-service h2 { margin: 12px 0 0; font-family: var(--display); font-size: clamp(28px, 3vw, 36px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 500; }
.v5-service p { margin: 14px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.v5-service ul { list-style: none; margin: 18px 0 26px; padding: 0; }
.v5-service li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); }
.v5-service li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
/* One action row per card, pinned to the bottom so the buttons line up
   across cards whatever the copy above them does. */
.v5-service-actions {
  margin-top: auto; padding-top: 6px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.v5-service .v5-button { align-self: center; }
@media (max-width: 520px) {
  .v5-service-actions { gap: 14px; }
  .v5-service-actions .v5-button { width: 100%; justify-content: center; }
}
@media (max-width: 860px) { .v5-services-grid { grid-template-columns: 1fr; } }
