/*
 * THE COMBINED DESIGN (owner's brief, 9 October 2026). Option B "Letterpress" - texture and
 * type - with option A "Ember"'s laptop story and timelines and option C "Workbench"'s drawn
 * underline and recreated screens. The record is docs/marketing-site-redesign/combined.md.
 *
 * Linked after site.css and site-footer.css on every page. It restyles page content only: the
 * top bar and the footer copy the application on the owner's ruling, and site-footer.css is the
 * application's footer stylesheet too.
 *
 * THE BRIEF'S RULES, AND WHERE EACH LANDS HERE.
 * - THE PALETTE STAYS THE IDENTITY'S, PLUS ONE COLOUR: Letterpress's plum, #9f437c. Plum marks
 *   borders, icons, buttons and secondary type, and it is NEVER A PAGE OR SECTION BACKGROUND (owner,
 *   10 October 2026; it was "never a ground" before) - no rule below sets it
 *   as a background except a button's fill and a rule's stroke. Letterpress's aubergine, brass,
 *   mauve and newsprint are gone: its aubergine bands are legacy's navy chevrons, and what brass
 *   marked on a dark ground, paper or the 50 step marks now.
 * - NO NUMERALS. Letterpress's margin numerals are not drawn; the short plum rule that ran under
 *   each one now runs above the heading instead.
 * - THE TITLE SECTIONS KEEP THE SITE'S OWN GROUND AND HEADING SIZE: .hero and .page-head take
 *   their ground and their h1 size from site.css, untouched here.
 *
 * Plum, measured with the WCAG 2.x formula against the grounds it sits on: 5.64:1 on paper
 * #fbfaf8, 5.89:1 on white, 5.22:1 on the page tint #f4f1ec, 5.00:1 on the hero's #e5eef4 - so
 * it sets type of any size on every light ground. Paper on a plum button is 5.64:1. On the navy
 * grounds it is under 3:1, so there it is never type: paper and the 50 step are.
 *
 * MOTION is Letterpress's two kinds - ONE-SHOT ON LOAD, and LINKED TO THE SCROLL for decoration
 * only - plus Ember's ONCE-ON-ARRIVAL reveal, which needs reveal.js because a CSS scroll timeline
 * keeps no state and leaves content invisible in a full-page capture and in print. Nothing loops
 * (WCAG 2.2.2). Only transform, opacity, clip-path, visibility and colours animate, so nothing
 * shifts the layout. Every animated thing rests on its final frame, and the block at the foot of
 * this file stops all of it under reduced motion and in print.
 *
 * Every image this file names carries a year in its file name, because a url() here cannot carry
 * the ?v= the templates give an <img>, and the apex serves images immutable for a year.
 */

:root {
  /* The one colour the brief adds. */
  --lp-plum: #9f437c;

  /* Legacy's navy chevrons (Content/Images/slider/1.jpg, copied byte for byte). Its lightest
     pixel is #144566: paper on it is 9.71:1 and the 50 step 8.62:1. */
  --lp-navy-ground: var(--color-primary-800) url('images/texture/navy-chevron-2026.jpg') center /
    cover no-repeat;

  --lp-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  /* The top bar is sticky; a sticky heading sits below it. */
  --lp-bar: 71px;
}

/* ------------------------------------------------------------------ type */

/* DaxRegular has one weight. A bold heading is a synthesised bold, which smears at display
   sizes, so the large section headings take the face's own weight. The hero and page-head h1
   keep site.css's, as the brief keeps their size. */
.section h2 {
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4rem);
  line-height: 1.02;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.section h3 {
  font-weight: 400;
  font-size: 1.375rem;
}

/* The legal documents keep their own reading sizes; the display size above would otherwise
   reach their clause headings through .section. */
.legal-body h2 {
  font-size: 1.375rem;
  line-height: 1.25;
}

.legal-body h3 {
  font-size: 1.1875rem;
}

/* Where Letterpress drew a numeral and a rule beneath it, a plum rule stands above the heading. */
.chapter-head h2::before,
.spread h2::before,
.section-cta h2::before {
  content: '';
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background: var(--lp-plum);
  transform-origin: left;
}

/* On a navy ground plum is under 3:1, so the rule there is paper. */
.spread h2::before,
.section-cta h2::before {
  background: rgb(251 250 248 / 70%);
}

/* ------------------------------------------------------------------ buttons */

/* A row of buttons wraps with a gap on every side. */
.section-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.section-actions.center {
  justify-content: center;
}

.button {
  transition:
    background-color 150ms ease-in-out,
    border-color 150ms ease-in-out,
    color 150ms ease-in-out;
}

/* THE SECOND CHOICE IS PLUM. The primary action stays the brand blue (owner, 31 August 2026);
   the quiet button beside it takes plum's rule and type, 5.64:1 on paper, and fills plum under
   the pointer with paper type, 5.64:1. */
.button-quiet {
  border-color: var(--lp-plum);
  color: var(--lp-plum);
}

.button-quiet:hover {
  background: var(--lp-plum);
  border-color: var(--lp-plum);
  color: var(--color-background-primary);
}

/* On the navy grounds the brand-blue fill would vanish, so the primary is paper, as the top
   bar's Register is, and the quiet button is a paper rule. */
.button-primary.button-on-dark {
  background: var(--color-background-primary);
  border-color: var(--color-background-primary);
  color: var(--color-primary-700);
}

.button-primary.button-on-dark:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-50);
  color: var(--color-primary-800);
}

.button-quiet.button-on-dark {
  border-color: rgb(251 250 248 / 70%);
  color: var(--color-background-primary);
}

.button-quiet.button-on-dark:hover {
  background: var(--color-background-primary);
  border-color: var(--color-background-primary);
  color: var(--color-primary-700);
}

/* The site-wide ring is primary-500, under 3:1 on the navy grounds; paper clears 9:1. */
.section-cta :focus-visible,
.spread :focus-visible,
.strip :focus-visible {
  outline-color: var(--color-background-primary);
}

/* An arrow after a link that leads on. An inline-block inside the inline link, so the link's
   underline stops at its words. */
.arrow-link {
  font-weight: 600;
}

.arrow-link::after {
  content: '\2192';
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--lp-plum);
  transition: transform 200ms var(--lp-ease);
}

.arrow-link:hover::after {
  transform: translateX(0.35rem);
}

/* ------------------------------------------------------------------ the navy grounds */

/* LEGACY'S NAVY CHEVRONS, on the spread and the closing band. The texture is a layer of its own
   so it can drift with the scroll without repainting the text above it, and it overhangs its
   band by 8% each way so the drift never shows an edge. */
.spread,
.section-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-primary-800);
  color: var(--color-primary-50);
  border: 0;
}

.spread::before,
.section-cta::before {
  content: '';
  position: absolute;
  inset: -8% -6%;
  z-index: -1;
  background: var(--lp-navy-ground);
}

.section-cta::before {
  background-position: right center;
}

/* ------------------------------------------------------------------ hero */

/* The ground and the h1's size are site.css's (the brief). What changes is the type's colour
   and its motion. */
.hero-eyebrow {
  letter-spacing: 0.16em;
  color: var(--lp-plum);
}

/* Each line clips its own words, so a word can rise from below its line without the line box
   moving. The padding keeps the descenders, and the underline under "ever", inside the clip. */
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.hero-line > span {
  display: inline-block;
}

/* "ever", underlined as Workbench underlines it - a drawn stroke, not a text decoration - in
   plum. */
.marked {
  position: relative;
  white-space: nowrap;
}

.marked-stroke {
  position: absolute;
  left: -4%;
  bottom: -0.12em;
  width: 108%;
  height: 0.3em;
  overflow: visible;
  fill: none;
  stroke: var(--lp-plum);
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ------------------------------------------------------------------ the laptop's story */

/* Option A's story, on the hero's light ground. The schedule's total rests marked in the
   accent's tint, as site.css marks it. */
.laptop-lid {
  box-shadow:
    0 40px 80px -24px rgb(13 66 98 / 45%),
    inset 0 0 0 1px #2c323a;
}

.laptop-screen,
.viewer-body {
  position: relative;
}

/* "Schedule ready to download": the story's last frame, and so its resting state. */
.story-toast {
  position: absolute;
  right: 3cqi;
  bottom: 3cqi;
  display: flex;
  align-items: center;
  gap: 1cqi;
  margin: 0;
  padding: 1.1cqi 1.8cqi;
  border-radius: 0.6cqi;
  background: var(--color-primary-900);
  color: var(--color-background-primary);
  font-size: 1.75cqi;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 1.2cqi 3cqi -1cqi rgb(0 0 0 / 45%);
}

/* A tick in a teal disc: teal is the accent the application marks a finished step in. */
.story-tick {
  position: relative;
  flex: none;
  width: 2.4cqi;
  height: 2.4cqi;
  border-radius: 50%;
  background: var(--color-accent);
}

.story-tick::after {
  content: '';
  position: absolute;
  left: 0.85cqi;
  top: 0.45cqi;
  width: 0.6cqi;
  height: 1.15cqi;
  border: solid var(--color-background-primary);
  border-width: 0 0.28cqi 0.28cqi 0;
  transform: rotate(45deg);
}

/* THE STORY'S FIRST ACT: the application's Fast Track screen. Its resting state is HIDDEN; the
   motion block shows it for the first three seconds and then fades it away. The values follow
   the SPA's own rules (styles/components.css: .step-accordion-header, .step-accordion-number),
   scaled to the screen in cqi. */
.story-app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  background: var(--color-background-secondary);
  color: var(--color-primary-700);
  font-size: 1.7cqi;
  line-height: 1.35;
}

.story-app p {
  margin: 0;
}

.story-app-bar {
  display: flex;
  align-items: center;
  gap: 1.2cqi;
  padding: 1.4cqi 3cqi;
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-800) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.9cqi;
}

.story-app-bar i {
  width: 2.4cqi;
  height: 2.4cqi;
  border: 0.3cqi solid #fff;
  border-radius: 0.3cqi;
}

.story-app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2cqi;
  padding: 2.4cqi 5cqi;
}

.story-app-title {
  font-size: 2.8cqi;
  font-weight: 700;
}

.story-step {
  background: var(--color-background-elevation);
  border: 1px solid var(--color-gray-200);
}

.story-step-head {
  display: flex;
  align-items: center;
  gap: 1.4cqi;
  padding: 0.9cqi 1.4cqi;
  background: var(--color-background-secondary);
  border-bottom: 1px solid var(--color-primary-700);
  border-left: 0.5cqi solid transparent;
  font-size: 2cqi;
  font-weight: 600;
}

.story-step-1 .story-step-head {
  border-left-color: var(--color-primary-700);
}

.story-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6cqi;
  height: 3.6cqi;
  border-radius: 50%;
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  font-size: 1.8cqi;
}

.story-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2cqi 2.4cqi;
  padding: 1.8cqi 1.8cqi 2cqi;
}

.story-field {
  display: flex;
  flex-direction: column;
  gap: 0.5cqi;
  color: var(--color-gray-700);
  font-size: 1.5cqi;
  font-weight: 600;
}

.story-input {
  display: block;
  padding: 0.7cqi 1cqi;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.3cqi;
  background: var(--color-background-primary);
  color: var(--color-primary-700);
  font-weight: 400;
  font-size: 1.7cqi;
}

.story-type {
  display: inline-block;
  white-space: nowrap;
}

.story-button {
  align-self: flex-end;
  padding: 1cqi 2.4cqi;
  border-radius: 0.3cqi;
  background: var(--color-action);
  color: var(--color-action-text);
  font-weight: 600;
}

/* ------------------------------------------------------------------ the call-us strip */

/* Centred and large, as Letterpress sets it. "Call us today" is one of the three places
   DaxRegular may stand. The underline is Letterpress's - 2px, set off the words - in plum, which
   is decoration here: the words themselves are paper, 15.50:1. */
.strip {
  padding: 1.25rem 0;
  text-align: center;
}

.strip-inner p {
  font-family: var(--font-heading);
  font-size: clamp(1.1875rem, 0.9rem + 1.1vw, 1.75rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.strip a {
  font-weight: 400;
  text-decoration-color: var(--lp-plum);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.strip a:hover {
  color: var(--color-primary-50);
  text-decoration-color: currentColor;
}

/* ------------------------------------------------------------------ chapters */

.chapter {
  background: var(--color-background-primary);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

/* The section the brief asks to be white: About's benefits. Plum on it is 5.89:1. */
.section-white {
  background: #fff;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-block: 1px solid var(--color-gray-200);
}

/* A margin column for the heading, which stays in view while its body scrolls past, and a wider
   column for the body. */
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.chapter-grid .chapter-head {
  position: sticky;
  top: calc(var(--lp-bar) + 2rem);
}

.chapter-head h2 {
  margin-bottom: 0;
}

.chapter-grid .chapter-head h2 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
}

.chapter-head-wide {
  max-width: 54rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.chapter-head-wide h2 {
  margin-bottom: 1rem;
}

.chapter-head-wide p {
  max-width: 46ch;
  font-size: 1.1875rem;
  color: var(--color-gray-700);
}

.chapter-body .lead {
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-primary-700);
}

@media (max-width: 60rem) {
  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .chapter-grid .chapter-head {
    position: static;
  }
}

/* Legacy's two lists, each under a rule. */
.list-pair {
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem;
}

.list-pair h3 {
  padding-top: 1rem;
  border-top: 2px solid var(--color-primary-700);
}

/* Every bullet on the site is a teal tick: "this is included". 4.91:1 on paper. */
.feature-list li::before {
  top: 0.95rem;
  left: 0.2rem;
  width: 0.4rem;
  height: 0.75rem;
  border-radius: 0;
  background: none;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
}

.feature-list li {
  border-bottom: 1px solid var(--color-gray-200);
}

.feature-list strong {
  color: var(--color-primary-700);
}

/* site.css centres the list; here it hangs from the heading's edge. */
.section-alt .feature-list {
  margin-inline: 0;
}

/* ------------------------------------------------------------------ the navy spread */

.spread {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.spread-cols {
  gap: 0;
}

.spread-col {
  padding-right: clamp(1.5rem, 4vw, 4rem);
}

/* A rule between the two columns, as a broadsheet rules its columns. */
.spread-col + .spread-col {
  padding-right: 0;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid rgb(251 250 248 / 35%);
}

.spread h2 {
  color: var(--color-background-primary);
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
}

.spread p {
  font-size: 1.125rem;
  max-width: 40ch;
}

.spread .spread-single {
  max-width: 52rem;
}

.spread .spread-single p {
  max-width: 56ch;
}

.spread a:not(.button) {
  color: var(--color-background-primary);
}

.spread a:not(.button):hover {
  color: var(--color-primary-50);
}

.spread .arrow-link::after {
  color: currentColor;
}

@media (max-width: 48rem) {
  .spread-col {
    padding-right: 0;
  }

  .spread-col + .spread-col {
    margin-top: 3rem;
    padding-top: 3rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgb(251 250 248 / 35%);
  }
}

/* ------------------------------------------------------------------ services: a ruled grid */

/* Hairlines, not boxes: the grid's own ground shows through a 1px gap, as the rules of a
   newspaper page do. */
.card-grid-4 {
  gap: 1px;
  background: var(--color-gray-300);
  border: 1px solid var(--color-gray-300);
}

.card-grid-4 .card {
  position: relative;
  padding: 1.75rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--color-background-primary);
  transition: background-color 200ms ease-in-out;
}

/* A plum rule that draws across the top of a card under the pointer. */
.card-grid-4 .card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--lp-plum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--lp-ease);
}

.card-grid-4 .card:hover {
  background: var(--color-background-secondary);
}

.card-grid-4 .card:hover::before {
  transform: scaleX(1);
}

.card-grid-4 .card-feature {
  border-top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 2rem;
  align-content: center;
}

.card-grid-4 .card-feature .service-icon {
  grid-row: span 3;
  margin-bottom: 0;
}

.card-grid-4 .card-feature h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem);
}

.card-grid-4 .card-feature p:last-child {
  font-size: 1.125rem;
}

/* Plum on paper 5.64:1, on the tint under the pointer 5.22:1. */
.card .card-kind {
  color: var(--lp-plum);
  letter-spacing: 0.14em;
}

@media (max-width: 36rem) {
  .card-grid-4 .card-feature {
    display: block;
  }

  .card-grid-4 .card-feature .service-icon {
    margin-bottom: 0.75rem;
  }
}

/* ------------------------------------------------------------------ pricing */

/* The homepage's pricing: the ticket in the narrower column, so the list beside it keeps its two
   columns from 75rem; below that the list is one column. */
.pricing-pair {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}

@media (max-width: 75rem) {
  .pricing-pair .feature-list {
    columns: 1;
  }
}

@media (max-width: 48rem) {
  .pricing-pair {
    grid-template-columns: 1fr;
  }
}

/* The pricing page: option A's pair, the ticket beside three benefits. */
.pricing-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

@media (max-width: 48rem) {
  .pricing-split {
    grid-template-columns: 1fr;
  }
}

/* The call-us block as a ticket: paper under a plum rule, with a perforation under its
   heading. */
.ticket {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-background-elevation);
  border: 1px solid var(--color-gray-300);
  border-top: 4px solid var(--lp-plum);
}

.ticket h2,
.ticket h3 {
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem);
  line-height: 1.2;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px dashed var(--color-gray-300);
}

.ticket .ticket-label {
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-plum);
}

.ticket .contact-large {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

/* A plum rule draws under a telephone number or an address under the pointer. */
.contact-large a {
  text-decoration: none;
  background: linear-gradient(var(--lp-plum), var(--lp-plum)) left bottom / 0 3px no-repeat;
  transition: background-size 250ms var(--lp-ease);
}

.contact-large a:hover {
  background-size: 100% 3px;
}

/* Three of the About page's benefits, under hairlines rather than on a card's ground. Each
   icon sits in a plum ring. */
.benefits-teaser {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-block: 1px solid var(--color-gray-300);
  font-size: 1.125rem;
}

.benefits-teaser p {
  margin: 0;
}

.benefits-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-primary-700);
  font-weight: 600;
  line-height: 1.35;
}

.benefits-teaser-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.benefits-teaser-list img {
  flex: none;
  box-sizing: content-box;
  padding: 8px;
  border: 1.5px solid var(--lp-plum);
  border-radius: 50%;
}

.benefits-teaser > p {
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-300);
}

/* ------------------------------------------------------------------ page heads */

/* The ground and the h1's size are site.css's (the brief). The lead is the secondary type. */
.page-head .page-head-lead {
  max-width: 48ch;
}

/* ------------------------------------------------------------------ the closing band */

.section-cta {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

/* The band's copy hangs from the same left edge as every other band's, not from a centred
   narrow column. */
.section-cta .container.narrow {
  width: min(72rem, 100% - 2.5rem);
}

.section-cta h2 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5rem);
  line-height: 1;
  color: var(--color-background-primary);
}

.section-cta p {
  max-width: 52ch;
  color: var(--color-primary-50);
}

.section-cta .lead {
  font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.4375rem);
  color: var(--color-background-primary);
}

.section-cta a:not(.button) {
  color: var(--color-background-primary);
  text-decoration-thickness: 2px;
}

.section-cta a:not(.button):hover {
  color: var(--color-primary-50);
}

/* ------------------------------------------------------------------ about: the timeline */

/* Option A's story so far - legacy's three paragraphs on a line - in Letterpress's colours:
   navy words, plum markers, a plum line. */
.timeline {
  position: relative;
  max-width: 54rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: calc(9rem + 1.5rem - 1px);
  width: 2px;
  background: var(--lp-plum);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: calc(9rem + 1.5rem - 8px);
  width: 17px;
  height: 17px;
  border: 2px solid var(--lp-plum);
  border-radius: 50%;
  background: var(--color-background-primary);
}

.timeline-mark {
  margin: 0;
  text-align: right;
  color: var(--lp-plum);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
}

.timeline-item p:last-child {
  margin: 0;
  font-size: 1.1875rem;
  color: var(--color-primary-700);
}

@media (max-width: 40rem) {
  .timeline::before {
    left: 7px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-left: 2.25rem;
  }

  .timeline-item::before {
    left: 0;
  }

  .timeline-mark {
    text-align: left;
  }
}

/* ------------------------------------------------------------------ about: the benefits */

.benefits-intro {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Small capitals in plum over the list, as a broadsheet's running head. */
.running-head {
  margin-bottom: 1.5rem;
}

.section .running-head h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-plum);
}

/* Each benefit under a rule, without Letterpress's numbers. */
.benefit-grid {
  gap: 0 clamp(2rem, 5vw, 4rem);
}

.benefit {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-gray-300);
}

.benefit h4 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
}

.benefits-close {
  max-width: 60ch;
  margin-top: 2rem;
}

/* ------------------------------------------------------------------ contact */

/* Three ways to reach us as three ruled columns, each under a rule of its own colour: navy,
   plum and teal. */
.card-grid-3 {
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.card-grid-3 .card {
  padding: 2rem 0 0;
  border: 0;
  border-top: 4px solid var(--color-primary-700);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.card-grid-3 .card:nth-child(2) {
  border-top-color: var(--lp-plum);
}

.card-grid-3 .card:nth-child(3) {
  border-top-color: var(--color-accent);
}

.card-grid-3 .card h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
}

/* The email icon is plum in a plum ring: plum marks the icon, never the ground. 5.64:1. */
.card-grid-3 .card:nth-child(2) .icon-circle {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--lp-plum);
  color: var(--lp-plum);
}

.card-grid-3 .card:nth-child(3) .icon-circle {
  background: var(--color-accent-tint);
  color: var(--color-accent-hover);
}

/* The telephone number and the email address at 1.5rem (the brief), so the address fits its
   column. site.css sizes every paragraph in these cards at (0,2,1); this has to outrank it. */
.card-grid-3 .card .contact-large {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ------------------------------------------------------------------ inside the calculator */

/* Option C's tour in Letterpress's style: rows under hairlines, the words on the paper rather
   than on a card. The screens' own styles are in screens.css. */
.section-tour .heading-block {
  margin-bottom: 0.5rem;
}

.tour-row + .tour-row {
  border-top: 1px solid var(--color-gray-300);
}

.tour-copy h3 {
  font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem);
  line-height: 1.1;
}

.tour-copy > p {
  font-size: 1.125rem;
  color: var(--color-gray-700);
}

/* The row's kind, in plum capitals after a plum rule. */
.tour-kind {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-plum);
}

.tour-kind::before {
  content: '';
  width: 2.5rem;
  height: 2px;
  background: currentColor;
}

/* Option A's three Fast Track steps, set down the column on a plum line. Each number matches a
   pin on the screen beside it. */
.story-steps {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.story-steps::before {
  content: '';
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: calc(1rem - 1px);
  width: 2px;
  background: var(--lp-plum);
  transform-origin: center top;
}

.story-steps-item {
  position: relative;
  padding-left: 3.25rem;
}

.story-steps-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-primary);
}

.story-steps-item p {
  margin: 0;
  color: var(--color-gray-700);
}

/* The number drawn as its pin is: a plum disc, a paper numeral at 5.64:1 (owner, 10 October
   2026: keep the numbers and highlight them in plum). The paper ring parts it from the line. */
.story-steps-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--color-background-primary);
  border-radius: 50%;
  background: var(--lp-plum);
  color: var(--color-background-primary);
  box-shadow: 0 0 0 2px rgb(159 67 124 / 28%);
  font-size: 0.9375rem;
  font-weight: 700;
}

/* ------------------------------------------------------------------ motion */

@keyframes lp-rise {
  from {
    transform: translateY(105%);
  }
}

@keyframes lp-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
}

@keyframes lp-stroke {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes lp-pin-in {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
}

/* The laptop's story: shown from the first frame, faded away at the end of its act. */
@keyframes lp-act-one {
  0%,
  88% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes lp-type {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes lp-step-done {
  to {
    background: var(--color-accent);
    color: var(--color-background-primary);
  }
}

@keyframes lp-step-active {
  to {
    background: var(--color-primary-50);
    border-left-color: var(--color-primary-700);
  }
}

@keyframes lp-press {
  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale(0.93);
    background: var(--color-primary-900);
  }
}

@keyframes lp-total {
  from {
    background-size: 0% 100%;
  }
}

@keyframes lp-toast {
  from {
    opacity: 0;
    transform: translateY(2cqi);
  }
}

@keyframes lp-fade-in {
  from {
    opacity: 0;
  }
}

/* ONE-SHOT, ON LOAD. The hero's lines rise, "ever" is underlined, and the copy follows. The
   page head's title and lead fade up. */
.hero-line > span {
  animation: lp-rise 900ms var(--lp-ease) both;
}

.hero-line:nth-child(2) > span {
  animation-delay: 110ms;
}

.marked-stroke path {
  stroke-dasharray: 1;
  animation: lp-stroke 700ms 650ms cubic-bezier(0.6, 0, 0.3, 1) both;
}

.hero-lead,
.hero-actions,
.page-head h1,
.page-head .page-head-lead {
  animation: lp-fade-up 800ms 350ms var(--lp-ease) both;
}

.page-head h1 {
  animation-delay: 0ms;
}

/* THE LAPTOP'S STORY, once, under five seconds. Act one: the case is entered. */
.story-app {
  animation: lp-act-one 3100ms linear both;
}

.story-type {
  animation: lp-type 340ms steps(12, end) backwards;
}

.story-field:nth-child(1) .story-type {
  animation-delay: 550ms;
}

.story-field:nth-child(2) .story-type {
  animation-delay: 900ms;
}

.story-field:nth-child(3) .story-type {
  animation-delay: 1250ms;
}

.story-field:nth-child(4) .story-type {
  animation-delay: 1600ms;
}

.story-step-1 .story-num {
  animation: lp-step-done 200ms ease-out 1990ms forwards;
}

.story-step-2 {
  animation: lp-step-active 200ms ease-out 2070ms forwards;
}

.story-step-2 .story-num {
  animation: lp-step-done 200ms ease-out 2340ms forwards;
}

.story-step-3 {
  animation: lp-step-active 200ms ease-out 2420ms forwards;
}

.story-button {
  animation: lp-press 280ms ease-in-out 2540ms;
}

/* Act two: the schedule is produced, line by line, to its total, which is marked once like a
   highlighter. */
.sheet-heading,
.sheet table,
.sheet tr {
  animation: lp-fade-in 260ms ease-out backwards;
}

.sheet-heading:nth-of-type(1),
.sheet table:nth-of-type(1) {
  animation-delay: 2770ms;
}

.sheet table:nth-of-type(1) tr:nth-child(1) {
  animation-delay: 2850ms;
}

.sheet table:nth-of-type(1) tr:nth-child(2) {
  animation-delay: 2930ms;
}

.sheet table:nth-of-type(1) tr:nth-child(3) {
  animation-delay: 3010ms;
}

.sheet table:nth-of-type(1) tr:nth-child(4) {
  animation-delay: 3090ms;
}

.sheet table:nth-of-type(1) tr:nth-child(5) {
  animation-delay: 3170ms;
}

.sheet-heading:nth-of-type(2),
.sheet table:nth-of-type(2) {
  animation-delay: 3280ms;
}

.sheet table:nth-of-type(2) tr:nth-child(1) {
  animation-delay: 3360ms;
}

.sheet table:nth-of-type(2) tr:nth-child(2) {
  animation-delay: 3450ms;
}

.sheet table:nth-of-type(2) tr:nth-child(3) {
  animation-delay: 3540ms;
}

.sheet table:nth-of-type(2) tr:nth-child(4) {
  animation-delay: 3700ms;
}

.sheet .total .num {
  background: linear-gradient(var(--color-accent-tint), var(--color-accent-tint)) left / 100% 100%
    no-repeat;
  animation: lp-total 700ms ease-out 3860ms both;
}

.story-toast {
  animation: lp-toast 450ms cubic-bezier(0.2, 0.7, 0.2, 1) 4300ms backwards;
}

/* ONCE, ON ARRIVAL. reveal.js marks a block `.is-in` as it first scrolls into view and sets
   `html.reveal-on`; without the script, under reduced motion, neither class exists and every
   block stands where it is. */
.reveal-on :is(.reveal, .tour-row .device) {
  transition:
    opacity 650ms var(--lp-ease),
    transform 650ms var(--lp-ease);
}

.reveal-on :is(.reveal, .tour-row .device):not(.is-in) {
  opacity: 0;
  transform: translateY(1.5rem);
}

.reveal-on .timeline-item:nth-child(2) {
  transition-delay: 120ms;
}

.reveal-on .timeline-item:nth-child(3) {
  transition-delay: 240ms;
}

/* A screen's pins pop in once the screen has arrived. */
.reveal-on .tour-row .device.is-in .pin {
  animation: lp-pin-in 450ms cubic-bezier(0.3, 1.5, 0.5, 1) both;
}

.reveal-on .tour-row .device.is-in .pin:nth-of-type(1) {
  animation-delay: 500ms;
}

.reveal-on .tour-row .device.is-in .pin:nth-of-type(2) {
  animation-delay: 700ms;
}

.reveal-on .tour-row .device.is-in .pin:nth-of-type(3) {
  animation-delay: 900ms;
}

/* The steps' line draws down as the row arrives. */
.reveal-on .story-steps::before {
  transition: transform 1100ms cubic-bezier(0.6, 0, 0.2, 1) 300ms;
}

.reveal-on .tour-copy:not(.is-in) .story-steps::before {
  transform: scaleY(0);
}

/* LINKED TO THE SCROLL, where the browser supports it - otherwise nothing moves. The navy
   textures drift a little slower than the page. A reader who stops scrolling stops all of it. NOTHING THAT CARRIES CONTENT is scroll-linked: a
   scroll-timeline reveal leaves content invisible in a full-page capture and in print. */
@supports (animation-timeline: view()) {
  @keyframes lp-parallax {
    from {
      transform: translateY(-6%);
    }

    to {
      transform: translateY(6%);
    }
  }

  .spread::before,
  .section-cta::before {
    animation: lp-parallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
}

/* THE FOLD ARROW (owner, 10 October 2026), after legacy's `.one-page-arrow`: a chevron that
   drops in from above, again and again, as legacy's `fadeInDown infinite` did. STICKY IN THE
   HERO: it waits 1rem above the window's foot while the hero runs past the fold, and rests at
   the hero's foot once the hero fits. `.hero`'s `overflow-x: clip` does not make a scroll
   container, so it does not stop the sticking; `overflow: hidden` would. The paper disc keeps
   the plum chevron readable where it floats over the laptop. Under reduced motion the block
   below stops the drop and the chevron rests in place. */
.fold-arrow {
  position: sticky;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 2rem auto 0;
  border-radius: 50%;
  color: var(--lp-plum);
  background: var(--color-background-primary);
  box-shadow: 0 2px 8px rgb(17 20 24 / 12%);
}

.fold-arrow .icon {
  width: 2rem;
  height: 2rem;
  animation: lp-fold-drop 1.4s var(--lp-ease) infinite;
}

@keyframes lp-fold-drop {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}

/* The arrow's target clears the sticky top bar, which is 70px tall. */
#what-is {
  scroll-margin-top: 70px;
}

/* A glide to the target, as legacy's `data-scrollto` gave; a jump under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* EVERYTHING STOPS under reduced motion, and in print, at its resting state - which is its final
   state. A test pins this block. */
@media print, (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on :is(.reveal, .tour-row .device),
  .reveal-on .story-steps::before {
    opacity: 1 !important;
    transform: none !important;
  }
}
