/* ==========================================================================
   rebartec.com - shared stylesheet
   Loaded after Pico.css (CDN). Mobile-first: base rules target ~360px,
   wider layouts are layered on at 480px, 768px and 1024px.
   Light theme only.
   ========================================================================== */

:root {
  color-scheme: only light;
  --bg: #FFFDF8;
  --surface: #F5EFE3;
  --ink: #1B2A41;
  --muted: #5E6B7E;
  --accent: #B8860B;
  --accent-ink: #1B2A41;
  --rule: #DDD2BA;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 2px;
  --gutter: 20px;
  --col: 600px;
  --wide: 1040px;
  --space-section: 3.25rem;
}

/* Pin Pico to its light theme and map its tokens to this palette */
html:root[data-theme="light"] {
  color-scheme: only light;
  font-size: 100%;
  --pico-font-size: 100%;
  --pico-font-family: var(--sans);
  --pico-line-height: 1.7;
  --pico-background-color: #FFFDF8;
  --pico-color: #1B2A41;
  --pico-muted-color: #5E6B7E;
  --pico-muted-border-color: #DDD2BA;
  --pico-primary: #1B2A41;
  --pico-primary-background: #B8860B;
  --pico-primary-underline: #B8860B;
  --pico-primary-hover: #1B2A41;
  --pico-primary-hover-background: #1B2A41;
  --pico-primary-hover-underline: #B8860B;
  --pico-primary-focus: #1B2A41;
  --pico-primary-inverse: #1B2A41;
  --pico-secondary: #5E6B7E;
  --pico-h1-color: #1B2A41;
  --pico-h2-color: #1B2A41;
  --pico-h3-color: #1B2A41;
  --pico-h4-color: #1B2A41;
  --pico-card-background-color: transparent;
  --pico-card-border-color: #DDD2BA;
  --pico-card-box-shadow: none;
  --pico-card-sectioning-background-color: transparent;
  --pico-blockquote-border-color: #B8860B;
  --pico-form-element-background-color: #FFFFFF;
  --pico-form-element-border-color: #5E6B7E;
  --pico-form-element-color: #1B2A41;
  --pico-form-element-placeholder-color: #5E6B7E;
  --pico-form-element-active-border-color: #1B2A41;
  --pico-form-element-focus-color: #1B2A41;
  --pico-border-radius: 2px;
  --pico-text-selection-color: rgba(184, 134, 11, .3);
}

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

html {
  background-color: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body > header,
body > main,
body > footer { padding-block: 0; padding-inline: 0; }

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

p, ul, ol, blockquote, figure, fieldset { margin-top: 0; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  background-color: transparent;
  transition: color .2s ease, text-decoration-color .2s ease, background-color .2s ease;
}
a:hover { color: var(--ink); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: none;
}

::selection { background-color: var(--accent); color: var(--accent-ink); }

/* ---- Skip link --------------------------------------------------------- */
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; color: var(--bg); }

/* ---- Masthead (split) ---------------------------------------------------- */
.masthead {
  background-color: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 12px var(--gutter);
}
.masthead-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.crest {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--bg);
  color: var(--ink);
  text-decoration: none;
}
.crest:hover { background-color: var(--surface); color: var(--ink); }
.crest img { width: 36px; height: 36px; flex: none; }
.crest .name {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
}
.crest .domain {
  display: block;
  margin-top: 4px;
  font-size: .6875rem;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.masthead-meta {
  flex: 1 1 100%;
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}
.masthead-meta .label-line {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.masthead-meta .sec { display: block; }
.masthead-meta time { display: block; }

/* ---- Opening: tinted panel + overlapping image ------------------------------- */
.opening {
  max-width: var(--wide);
  margin: 0 auto;
}
.hero {
  position: relative;
  margin: 0;
  padding: 1.75rem var(--gutter) calc(2.5rem + 56px);
  background-color: var(--surface);
  color: var(--ink);
  border: 0;
}
.kicker {
  margin: 0 0 .9rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}
.hero h1 {
  max-width: 17em;
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--ink);
  text-align: left;
  text-wrap: balance;
}
.dek {
  max-width: 36em;
  margin: 0 0 1.4rem;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
}
.meta {
  margin: 0;
  padding-top: .9rem;
  border-top: 1px solid rgba(27, 42, 65, .2);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
}
.hero-media {
  position: relative;
  z-index: 1;
  margin: -56px var(--gutter) 0;
}
.hero-media .frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 22px 40px -22px rgba(27, 42, 65, .55);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* ---- Captions -------------------------------------------------------------- */
figcaption {
  padding: .6rem 0 0;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--muted);
}
figcaption::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 2px;
  margin-right: .5rem;
  vertical-align: middle;
  background-color: var(--accent);
}

/* ---- Article column ---------------------------------------------------------- */
article {
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
article > section {
  display: flow-root;
  max-width: calc(var(--col) + (var(--gutter) * 2));
  margin: var(--space-section) auto 0;
  padding: 0 var(--gutter);
  background-color: transparent;
}
article > section.intro { margin-top: 2.75rem; }

.lead {
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink);
}
article p { margin-bottom: 1.15rem; }

.label {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .65rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--accent);
}
.label::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 2px;
  background-color: var(--accent);
}

article h2 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1.18;
  letter-spacing: -.008em;
  color: var(--ink);
  text-wrap: balance;
}
article h3 {
  margin: 0 0 .75rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

/* ---- Figures: stacked on mobile, floated at ~45% from 768px ------------------- */
article section > figure {
  margin: 0 0 1.5rem;
  padding: 0;
}
article section > figure .frame {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--surface);
}
article section > figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
article section > figure.portrait .frame { aspect-ratio: 4 / 5; }
article section > figure.portrait video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* ---- Walkthrough (numbered) ---------------------------------------------------- */
ol.steps {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
ol.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: .85rem;
  align-items: baseline;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  line-height: 1.6;
}
ol.steps li:last-child { border-bottom: 1px solid var(--rule); }
ol.steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

/* ---- Lists ------------------------------------------------------------------- */
ul.checks {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
ul.checks li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: .55rem 0 .55rem 2rem;
  line-height: 1.6;
}
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--accent);
  border-radius: 1px;
}
ul.checks li::after {
  content: "";
  position: absolute;
  left: .36rem;
  top: 1rem;
  width: .3rem;
  height: .55rem;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
ul.checks li strong { font-weight: 600; }

ul.plain {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
}
ul.plain li {
  margin: 0 0 .7rem;
  padding-left: .25rem;
  line-height: 1.6;
}
ul.plain li::marker { color: var(--accent); }

/* ---- Checklist aside ------------------------------------------------------------ */
aside.checklist {
  clear: both;
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.25rem .75rem;
  background-color: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
aside.checklist h3 { margin-bottom: .25rem; }
aside.checklist ul.checks { margin: .25rem 0 .5rem; }

/* ---- Pull quote (editorial, taken from the article's own text) ------------------ */
blockquote.pull {
  clear: both;
  position: relative;
  margin: 2rem 0 .5rem;
  padding: 1.5rem 1.25rem 1.4rem 1.5rem;
  background-color: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  line-height: 1.35;
}
blockquote.pull p { margin: 0; }
blockquote.pull::before {
  content: "\201C";
  display: block;
  margin-bottom: -.35rem;
  font-family: var(--serif);
  font-style: normal;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
}

/* ---- Call-to-action band (full width, surface coloured) ---------------------------- */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  margin: var(--space-section) 0 0;
  padding: 1.75rem max(var(--gutter), calc((100% - var(--wide)) / 2));
  background-color: var(--surface);
  color: var(--ink);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cta-band p {
  margin: 0;
  max-width: 34em;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}

.btn,
a.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: .75rem 1.75rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background-color: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 1.175rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover,
a.btn:hover,
button.btn:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

/* ---- Footer (centered colophon) ---------------------------------------------------- */
.page-footer {
  margin-top: 3.5rem;
  padding: 2rem var(--gutter) 2.5rem;
  background-color: var(--ink);
  color: var(--surface);
  text-align: center;
  font-size: .9375rem;
  line-height: 1.6;
}
.page-footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .1rem 1rem;
  max-width: 62rem;
  margin: 0 auto;
}
.page-footer .links a,
.page-footer .more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .35rem;
  color: var(--bg);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-footer .links a:hover,
.page-footer .more a:hover { color: var(--bg); text-decoration-thickness: 2px; }
.page-footer :focus-visible { outline-color: var(--bg); }
.page-footer .more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1rem;
  margin: 0 auto;
}
.page-footer .about-line {
  max-width: 65ch;
  margin: 1.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 253, 248, .22);
  color: #E4DFD2;
  font-size: .9375rem;
  line-height: 1.65;
}
.page-footer .entity {
  max-width: 52rem;
  margin: 1.25rem auto 0;
  color: #C9CFD9;
  font-size: .8125rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* ---- Legal / about pages ------------------------------------------------------------- */
.page-head {
  max-width: calc(var(--col) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}
.page-head h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}
.revision {
  margin: 0;
  padding: .75rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted);
}
article.legal > section { margin-top: 2.25rem; }
article.legal > section.first { margin-top: 2.25rem; }
article.legal h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
}
article.letter > section { margin-top: 2rem; }
article.letter .salutation { font-weight: 600; }
article.letter .signature {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

/* ==========================================================================
   OFFER PAGE (body.is-offer): its own identity - navy ground, cream card
   ========================================================================== */
.is-offer .masthead {
  background-color: var(--ink);
  border-bottom: 0;
}
.is-offer .crest {
  border-color: var(--surface);
  background-color: var(--ink);
  color: var(--surface);
}
.is-offer .crest:hover { background-color: #26395A; color: var(--surface); }
.is-offer .crest .domain { color: #C9CFD9; }
.is-offer .masthead-meta,
.is-offer .masthead-meta .label-line { color: #C9CFD9; }

.offer-hero {
  background-color: var(--ink);
  color: var(--surface);
  padding: 2rem var(--gutter) calc(2.5rem + 3rem);
}
.offer-hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
}
.offer-hero .kicker { color: var(--accent); }
.offer-hero h1 {
  max-width: 17em;
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--bg);
}
.offer-hero .dek {
  max-width: 34em;
  margin: 0;
  color: #E4DFD2;
}

.offer-grid {
  width: min(var(--wide), calc(100% - (var(--gutter) * 2)));
  margin: -3rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
.form-card {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 1.75rem;
  background-color: var(--bg);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 26px 46px -28px rgba(27, 42, 65, .6);
}
.form-card h2 {
  margin: 0 0 .5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.875rem);
  line-height: 1.2;
  color: var(--ink);
}
.form-card .intro-line {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.offer-side { color: var(--ink); }
.offer-side h2 {
  margin: 0 0 .85rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  line-height: 1.2;
  color: var(--ink);
}
.offer-side section { margin: 0 0 2.25rem; }
.offer-side ol.steps li { padding: .85rem 0; }

/* form */
.field { margin: 0 0 1.25rem; }
.field label,
fieldset.areas legend {
  display: block;
  margin: 0 0 .4rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: .7rem .85rem;
  background-color: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  background-color: #FFFFFF;
  color: var(--ink);
  box-shadow: none;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border: 2px solid var(--ink); }
.field .hint {
  display: block;
  margin-top: .35rem;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--muted);
}
.field-error {
  margin: .5rem 0 0;
  padding: .4rem .75rem;
  border-left: 4px solid var(--accent);
  background-color: var(--surface);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
}
.field-error[hidden] { display: none; }

fieldset.areas {
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}
fieldset.areas legend { margin-bottom: .25rem; }
fieldset.areas .hint-line {
  margin: 0 0 .5rem;
  font-size: .875rem;
  color: var(--muted);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-height: 44px;
  margin: 0;
  padding: .55rem 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: .1rem 0 0;
  padding: 0;
  background-color: #FFFFFF;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: 2px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.check input[type="checkbox"]:hover { background-color: var(--surface); }
.check input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231B2A41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input[type="checkbox"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.check span { display: block; }
.check a { color: var(--ink); }

.consent-field { margin: 0 0 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.consent-field .check { font-size: .9375rem; line-height: 1.55; }

.form-card .btn { width: 100%; }

.form-success {
  padding: 1.25rem 1.25rem 1rem;
  background-color: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.form-success[hidden] { display: none; }
.form-success h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.form-success p { margin-bottom: .75rem; }

.offer-note {
  margin: 1.5rem 0 0;
  font-size: .9375rem;
  color: var(--muted);
}

/* ==========================================================================
   480px
   ========================================================================== */
@media (min-width: 480px) {
  :root { --gutter: 24px; }
  .masthead-meta {
    flex: 0 1 auto;
    text-align: right;
  }
  .masthead-meta .sec,
  .masthead-meta time { display: inline; }
  .masthead-meta .sec::after { content: " \00B7  "; }
  .form-card { padding: 2rem 1.75rem 2rem; }
}

/* ==========================================================================
   768px
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; --space-section: 4.25rem; }

  .masthead { padding-block: 16px; }
  .crest .name { font-size: 1.75rem; }
  .crest img { width: 40px; height: 40px; }

  .opening {
    width: min(var(--wide), calc(100% - (var(--gutter) * 2)));
    margin: 2rem auto 0;
  }
  .hero { padding: 3.5rem 3.5rem calc(3rem + 96px); }
  .hero-media {
    width: 90%;
    margin: -96px auto 0;
  }
  .hero-media .frame { aspect-ratio: 16 / 9; }
  .hero-media figcaption { text-align: left; }

  article > section.intro { margin-top: 3.5rem; }

  article section > figure.fig-right,
  article section > figure.fig-left {
    width: 45%;
    margin-bottom: 1rem;
  }
  article section > figure.fig-right { float: right; margin-left: 1.75rem; }
  article section > figure.fig-left { float: left; margin-right: 1.75rem; }

  .cta-band {
    align-items: flex-start;
    gap: 1.25rem;
    padding-block: 2.25rem;
  }
  .cta-band p { font-size: 1.25rem; }
  .cta-band .btn { min-width: 17rem; }

  .page-footer { padding: 2.5rem var(--gutter) 3rem; }

  .offer-hero { padding: 3rem var(--gutter) calc(3rem + 4.5rem); }
  .offer-grid { margin-top: -4.5rem; }
  .form-card { padding: 2.5rem 2.5rem 2.5rem; }
}

/* ==========================================================================
   1024px
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --gutter: 40px; --space-section: 5rem; }

  /* offset media: figures step out into the margins beside the 600px column */
  article section > figure.fig-right { margin-right: -6rem; }
  article section > figure.fig-left { margin-left: -6rem; }

  .hero { padding: 4rem 4.5rem calc(3.5rem + 112px); }
  .hero-media { margin-top: -112px; }

  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }
  .cta-band p { flex: 1 1 auto; }
  .cta-band .btn { flex: 0 0 auto; }

  .offer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 4rem;
    align-items: start;
  }
  .offer-side { padding-top: calc(4.5rem + 1.75rem); }
}

/* ---- Reduced motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
