/* MhetaData — shared stylesheet for mhetadatamarketing.com and mhetadata.com
   Two halves of the Vitruvian logo: the notebook (paper, sepia ink) and the circuit (navy, glow).
   Change a color here once and it changes everywhere. */

:root {
  --paper: #f2efea;       /* matches the paper in the Da Vinci artwork */
  --paper-deep: #e8e1d5;  /* notebook page, for alternating sections */
  --ink: #2e271f;         /* sepia-black body text */
  --sepia: #5a5448;       /* icon line color, secondary text */
  --rule: #cdc2b0;        /* hand-drawn rule lines */
  --blue: #2f6db5;        /* MhetaData logo blue */
  --blue-ink: #245a98;    /* blue for text on paper (AA contrast) */
  --navy: #0c2340;        /* circuit half */
  --navy-2: #13345c;
  --glow: #8ccbf2;        /* circuit trace glow, text accents on navy */

  --f-display: "Marcellus", "Copperplate", "Trajan Pro", Georgia, serif;
  --f-body: "Alegreya Sans", "Gill Sans", "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--f-body);
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--sepia); max-width: 60ch; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 400 1.15rem/1 var(--f-display); letter-spacing: .03em;
  padding: .85em 1.3em; border-radius: var(--radius);
  background: var(--blue); color: #fff; text-decoration: none;
  border: 1px solid var(--blue);
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--sepia); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--glow { background: transparent; color: #fff; border-color: var(--glow); }
.btn--glow:hover { background: var(--glow); color: var(--navy); border-color: var(--glow); }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 239, 234, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand img { width: 200px; height: auto; }
.mainnav { margin-left: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav__link {
  display: block; padding: 10px 12px; color: var(--ink); text-decoration: none;
  font-size: 1.05rem; cursor: pointer; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--blue-ink); }
.nav__link.is-current { border-bottom-color: var(--blue); }
summary.nav__link { list-style: none; }
summary.nav__link::-webkit-details-marker { display: none; }
summary.nav__link::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub[open] summary.nav__link::after { transform: translateY(0) rotate(225deg); }
.nav__item--has-sub { position: relative; }
.sub__list {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 12px 30px -12px rgba(46, 39, 31, .35);
}
.sub__list a { display: block; padding: 8px 18px; color: var(--ink); text-decoration: none; }
.sub__list a:hover, .sub__list a[aria-current] { background: var(--paper-deep); color: var(--blue-ink); }

.phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.1; white-space: nowrap; }
.phone__label { font-size: .85rem; color: var(--sepia); }
.phone__num { font: 400 1.45rem/1.1 var(--f-display); color: var(--blue-ink); letter-spacing: .02em; }
.phone:hover .phone__num { color: var(--navy); }

.menu-toggle { display: none; }

@media (max-width: 1060px) {
  .masthead__inner { flex-wrap: wrap; gap: 8px 16px; }
  .brand img { width: 170px; }
  .phone { margin-left: auto; }
  .phone__label { display: none; }
  .phone__num { font-size: 1.2rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; order: 3; margin-left: 4px;
    font: 500 1rem var(--f-body); color: var(--ink); background: transparent;
    border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 12px; cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
  .mainnav { order: 4; flex-basis: 100%; margin: 0; }
  .js .mainnav { display: none; }
  .js .mainnav.is-open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px; }
  .nav__link { padding: 12px 4px; border-bottom: 1px solid var(--rule); font-size: 1.15rem; }
  .nav__link.is-current { border-bottom-color: var(--rule); color: var(--blue-ink); }
  .sub__list { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .sub__list a { padding: 10px 4px; }
}
@media (max-width: 560px) { .brand img { width: 128px; } .phone__num { font-size: 1.05rem; } .menu-toggle { padding: 7px 9px; font-size: .95rem; } .masthead__inner { gap: 8px 10px; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--blue); color: #fff; text-decoration: none;
    font: 400 1.25rem/1 var(--f-display); letter-spacing: .03em;
    box-shadow: 0 -6px 18px rgba(12, 35, 64, .25);
  }
  .callbar:hover { color: #fff; background: var(--navy); }
  body { padding-bottom: 64px; }
}

/* ---------- Home hero: the Vitruvian split ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(24px, 4vw, 48px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.6rem); line-height: 1.02; margin-bottom: .35em; }
.hero__kicker { font: 400 1.15rem/1.3 var(--f-display); color: var(--sepia); margin-bottom: .9em; letter-spacing: .02em; }
.hero .lead { margin-bottom: 1.4em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__art { position: relative; }
.hero__art img { mix-blend-mode: darken; width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 48%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 72% at 50% 48%, #000 62%, transparent 100%); }
.hero__caption { font-style: italic; color: var(--sepia); font-size: 1rem; text-align: center; margin-top: -8px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { max-width: 300px; margin: 0 auto; }
  .hero__caption { display: none; }
}

/* ---------- Inner page head ---------- */
.pagehead {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, var(--paper) 35%, rgba(242,239,234,.6) 70%, rgba(242,239,234,.2)),
    url("/assets/images/davinci-notebook-direct-mail-automation.jpg") right center / auto 100% no-repeat,
    var(--paper);
}
.pagehead__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 60px) var(--gutter) clamp(28px, 4vw, 48px); position: relative; z-index: 1; }
.pagehead h1 { max-width: 22ch; }
.pagehead--image .pagehead__inner { padding-right: calc(var(--gutter) + 300px); }
.pagehead__art { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: 24px; width: 260px; border: 6px solid #fff; box-shadow: 0 10px 30px -10px rgba(46,39,31,.45); transform: rotate(2deg); }
@media (max-width: 820px) {
  .pagehead { background: var(--paper); }
  .pagehead--image .pagehead__inner { padding-right: var(--gutter); }
  .pagehead__art { display: none; }
}
.crumbs { font-size: .95rem; color: var(--sepia); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--sepia); }

/* ---------- Body: prose + rail ---------- */
.body { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .body { grid-template-columns: 1fr; } }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--blue); font-style: italic; color: var(--sepia); }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose code { font-size: .95em; background: var(--paper-deep); padding: .1em .35em; border-radius: 2px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .5em .7em; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-family: var(--f-display); font-weight: 400; color: var(--navy); }

.rail { position: sticky; top: 100px; display: grid; gap: 14px; }
@media (max-width: 900px) { .rail { position: static; } }
.rail__call { background: var(--navy); color: #dfe9f5; padding: 22px; border-radius: var(--radius); margin-bottom: 14px; }
.rail__call p { margin-bottom: .9em; }
.rail__call .rail__title { color: #fff; }
.rail__call .btn { background: transparent; border-color: var(--glow); color: #fff; width: 100%; justify-content: center; }
.rail__call .btn:hover { background: var(--glow); color: var(--navy); }
.rail__title { font: 400 1.2rem var(--f-display); color: var(--navy); margin: 0; }
.rail__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rail__list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.rail__list a:hover { color: var(--blue-ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 7vw, 88px) 0; }
.section--notebook { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--circuit { background: var(--navy); color: #d6e2f0; position: relative; overflow: hidden; }
.section--circuit::before {
  /* faint circuit traces, drawn in CSS so there's no extra image to load */
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.6%, var(--glow) 49.6% 50.4%, transparent 50.4%) 0 0 / 120px 120px,
    linear-gradient(0deg, transparent 0 49.6%, var(--glow) 49.6% 50.4%, transparent 50.4%) 60px 0 / 120px 240px,
    radial-gradient(circle, var(--glow) 0 3px, transparent 4px) 57px 57px / 120px 120px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.section--circuit h2, .section--circuit h3 { color: #fff; }
.section--circuit a { color: var(--glow); }
.section__head { max-width: 60ch; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head p { color: var(--sepia); font-size: 1.2rem; }
.section--circuit .section__head p { color: #b9cde3; }

/* Who we serve */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.audience > div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.audience h3 { margin-bottom: .3em; }
.audience p { margin: 0; color: var(--sepia); }

/* Service index — reads like a notebook index, not a card grid */
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 64px); }
.index li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--rule); }
.index img { width: 64px; height: 64px; }
.index h3 { margin: 0 0 .3em; }
.index h3 a { color: var(--navy); text-decoration: none; }
.index h3 a:hover { color: var(--blue-ink); text-decoration: underline; }
.index p { margin: 0; color: var(--sepia); }
@media (max-width: 760px) { .index { grid-template-columns: 1fr; } .index li { grid-template-columns: 48px 1fr; } .index img { width: 48px; height: 48px; } }

/* A hands-free job, step by step (a real sequence, so it's numbered) */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; z-index: 1; }
.flow li { counter-increment: step; padding: 22px 26px 26px 0; border-top: 1px solid rgba(140, 203, 242, .35); }
.flow li::before { content: counter(step); display: block; font: 400 2.4rem/1 var(--f-display); color: var(--glow); margin-bottom: 10px; }
.flow h3 { font-size: 1.25rem; margin-bottom: .3em; }
.flow p { margin: 0; color: #b9cde3; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Variable image strip */
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 5px solid #fff; box-shadow: 0 8px 22px -12px rgba(46,39,31,.5); }
.strip li:nth-child(odd) img { transform: rotate(-1.2deg); }
.strip li:nth-child(even) img { transform: rotate(1.4deg); }
.strip figcaption { font-size: 1rem; margin-top: 10px; color: var(--sepia); }
@media (max-width: 820px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip li:last-child { grid-column: 1 / -1; max-width: 50%; } }

/* Variable image detail rows */
.vi { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 40px); align-items: start; padding: 28px 0; border-top: 1px solid var(--rule); }
.vi img { border: 6px solid #fff; box-shadow: 0 10px 26px -14px rgba(46,39,31,.55); margin: 0; }
.vi h2 { margin-top: 0; font-size: 1.6rem; }
@media (max-width: 640px) { .vi { grid-template-columns: 1fr; } .vi img { max-width: 280px; } }

/* Partner logos */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px 28px; align-items: center; }
.logos li { display: flex; justify-content: center; align-items: center; height: 70px; }
.logos img { max-height: 56px; width: auto; max-width: 100%; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .75; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.55; }
.quote blockquote::before { content: "\201C"; display: block; font: 400 3.4rem/0.8 var(--f-display); color: var(--blue); margin-bottom: 4px; }
.quote figcaption { font-size: 1rem; color: var(--sepia); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quotes--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .quotes--all { grid-template-columns: 1fr; } }

/* Press */
.press { display: grid; grid-template-columns: auto auto 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; }
.press img { border: 5px solid #fff; box-shadow: 0 8px 22px -12px rgba(46,39,31,.5); }
@media (max-width: 640px) { .press { grid-template-columns: 1fr 1fr; } .press > div { grid-column: 1 / -1; } }

/* Split feature (text + image) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Closing call */
.closing { text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.closing h2 { margin: 0 0 .2em; }
.closing p { margin: 0; color: var(--sepia); }
.closing__num { font: 400 clamp(1.8rem, 1.2rem + 2vw, 2.6rem)/1 var(--f-display); color: var(--blue-ink); text-decoration: none; white-space: nowrap; }
.closing__num:hover { color: var(--navy); }
@media (max-width: 700px) { .closing { grid-template-columns: 1fr; } }

/* Pricing (Jetletter) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.plan { padding: 26px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.plan:first-child { border-left: 0; }
.plan--pro { background: var(--navy); color: #d6e2f0; }
.plan--pro h3 { color: #fff; }
.plan h3 { margin-bottom: .2em; }
.plan__price { font: 400 1.6rem/1.1 var(--f-display); color: var(--blue-ink); margin: .2em 0 .1em; }
.plan--pro .plan__price { color: var(--glow); }
.plan__terms { color: var(--sepia); margin-bottom: 1em; font-size: 1rem; }
.plan--pro .plan__terms { color: #b9cde3; }
.plan ul { padding-left: 1.1em; margin: 0 0 1.4em; font-size: 1rem; }
.plan li { margin-bottom: .35em; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan--pro .btn { background: transparent; border-color: var(--glow); }
.plan--pro .btn:hover { background: var(--glow); color: var(--navy); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan { border-left: 0; border-top: 1px solid var(--rule); } .plan:first-child { border-top: 0; } }

/* Big stat line (Jetletter speed record — the one number worth shouting) */
.record { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; align-items: end; position: relative; z-index: 1; }
.record__num { font: 400 clamp(4rem, 2rem + 8vw, 8rem)/.85 var(--f-display); color: #fff; }
.record__num small { font-size: .35em; color: var(--glow); margin-left: .15em; }
.record p { margin: 0; font-size: 1.25rem; color: #d6e2f0; max-width: 34ch; }
@media (max-width: 640px) { .record { grid-template-columns: 1fr; } }

/* Lists of articles / guides */
.more { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--rule); }
.more h2 { font-size: 1.5rem; }
.more__list, .toc { list-style: none; margin: 0; padding: 0; }
.more__list li, .toc li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.more__list a, .toc a { font: 400 1.2rem/1.3 var(--f-display); text-decoration: none; color: var(--navy); }
.more__list a:hover, .toc a:hover { color: var(--blue-ink); text-decoration: underline; }
.more__list span, .toc span { display: block; color: var(--sepia); font-size: 1rem; margin-top: 4px; }
.toc h2 { margin-top: 1.4em; }

/* Featured service (mhetadata.com) */
.featured { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.featured__tag { display: inline-block; font: 400 1rem var(--f-display); color: var(--navy); background: var(--glow); padding: .35em .8em; border-radius: 2px; margin-bottom: 1em; }
.featured h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); line-height: 1.05; }
.featured ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.featured li { margin-bottom: .4em; }
.featured li::marker { color: var(--blue); }
.featured__art img { border: 6px solid #fff; box-shadow: 0 16px 40px -18px rgba(12,35,64,.55); transform: rotate(1.5deg); }
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } .featured__art { order: -1; max-width: 460px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9cde3; margin-top: 0; }
.footer a { color: #e3eefa; text-decoration: none; }
.footer a:hover { color: var(--glow); text-decoration: underline; }
.footer__call { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(140,203,242,.25); }
.footer__pitch { font: 400 clamp(1.3rem, 1rem + 1vw, 1.7rem)/1.3 var(--f-display); color: #fff; margin: 0; max-width: 34ch; }
.footer__grid { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter) 20px; display: grid; grid-template-columns: 1.2fr 1.4fr 1fr .8fr; gap: 28px; font-size: 1rem; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 8px; }
.footer__head, .footer__name { font: 400 1.1rem var(--f-display); color: #fff; margin-bottom: .8em; }
.footer__mark { width: 56px; margin-bottom: 12px; filter: brightness(1.4); }
.footer__legal { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 36px; font-size: .95rem; color: #8ea6c2; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Background video behind a circuit section (Jetletter speed record) */
.section--video .section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; pointer-events: none; }
.section--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,35,64,.92) 30%, rgba(12,35,64,.55)); pointer-events: none; }
.section--video > .wrap { position: relative; z-index: 2; }
.section--video::before { z-index: 1; }
.section--circuit .quote blockquote { color: #fff; }
.quote__by { display: flex; gap: 12px; align-items: center; }
.quote__by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--glow); }
.section--circuit .quote__by { color: #b9cde3; }
.section--circuit .quote__by strong { color: #fff; }

/* Screenshot gallery */
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; border: 6px solid #fff; box-shadow: 0 10px 26px -14px rgba(46,39,31,.55); }
.shots figcaption { margin-top: 10px; color: var(--sepia); font-size: 1rem; }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } }

/* Feature thumbnails in the PSL feature guide */
.prose .feat { float: right; margin: .2em 0 1em 1.4em; max-width: 200px; border: 5px solid #fff; box-shadow: 0 8px 20px -12px rgba(46,39,31,.5); border-radius: 0; }
.prose h2 { clear: both; }
@media (max-width: 560px) { .prose .feat { float: none; margin: .5em 0 1em; max-width: 240px; } }

/* Full-width film band (homepage, About) */
.film { margin: 0; background: #e9e1cf; border-block: 1px solid var(--rule); }
.film video, .film img { width: 100%; height: auto; display: block; max-height: 520px; object-fit: cover; }
.film figcaption { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); color: var(--sepia); font-style: italic; font-size: 1rem; }

/* Dark logo film on mhetadata.com hero */
.hero__film { margin: 0; }
.hero__film video, .hero__film img { width: 100%; border: 6px solid #fff; box-shadow: 0 16px 40px -18px rgba(12,35,64,.6); background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
