/* Pistritto: main stylesheet */
@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* REPLACEABLE IMAGES: no images are set through CSS on this site; every picture is an <img> listed in assets/manifest.json */

  /* Brand colours (from pistritto.com) */
  --navy: #020331;       /* Extra-Color-1: buttons, hero bands */
  --indigo: #0b0c59;     /* hero gradient corners */
  --navy-soft: #1b1d6b;  /* lighter step of the navy for borders on dark */
  --ink: #181818;        /* body text */
  --grey: #575757;       /* secondary text */
  --cyan: #2ac4ea;       /* Extra-Color-2, on dark backgrounds only */
  --cyan-dark: #0a6f88;  /* same hue, darkened for text on white */
  --white: #ffffff;
  --mist: #f3f4f9;       /* navy-tinted neutral */
  --line: #dfe1ec;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);
  --radius: 14px;
  --pill: 999px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan-dark); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--grey); max-width: 62ch; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--grey); }

.kicker {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}

/* Buttons: pill, as on the original site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem;
  border-radius: var(--pill); border: 2px solid var(--navy);
  background: var(--navy); color: var(--white);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--indigo); border-color: var(--indigo); color: var(--white); box-shadow: 0 0 0 4px rgba(42,196,234,.25); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--white); color: var(--navy); border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(42,196,234,.35); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--cyan); padding-bottom: 2px; }
.text-link:hover { color: var(--navy); border-bottom-color: var(--navy); }
.dark .text-link { color: var(--white); }
.dark .text-link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 160px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: rgba(255,255,255,.88); text-decoration: none; font-size: .98rem;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { color: var(--white); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.header-phone:hover { color: var(--cyan); }
.header-cta .btn { min-height: 44px; padding: .55rem 1.3rem; }
.menu-toggle, .phone-icon { display: none; }

@media (max-width: 1080px) { .header-phone { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { width: 128px; }
  .header-inner { gap: .75rem; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; margin: 0; }
  .nav ul { flex-wrap: wrap; padding-bottom: .75rem; }
  .header-cta { margin-left: auto; }
  .header-cta .btn { display: none; }
  .phone-icon, .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white);
  }
  .phone-icon:hover, .menu-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
  .menu-toggle { cursor: pointer; }
  .menu-toggle svg, .phone-icon svg { width: 20px; height: 20px; }
  .js .menu-toggle { display: inline-flex; }
  html:not(.js) .menu-toggle { display: none; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 0 1rem; gap: 0; }
  .js .nav a { padding: .85rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1.05rem; }
  .js .nav a[aria-current="page"] { box-shadow: none; color: var(--cyan); }
  .js .nav .nav-cta { display: block; }
}
.nav .nav-cta { display: none; }
.js .nav .nav-cta a { margin-top: 1rem; border: 0; border-radius: var(--pill); justify-content: center; display: flex; color: var(--navy); }

/* Dark bands (hero, page heads, method, CTA) */
.dark {
  color: rgba(255,255,255,.88);
  background:
    radial-gradient(ellipse 60% 70% at 0% 0%, rgba(11,12,89,.95), transparent 70%),
    radial-gradient(ellipse 55% 70% at 100% 100%, rgba(11,12,89,.9), transparent 70%),
    var(--navy);
}
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark a:not(.btn) { color: var(--white); }
.dark .lead { color: rgba(255,255,255,.82); }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-waves { position: absolute; inset: auto -10% -20% -10%; height: 70%; opacity: .5; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .45em; }
.hero .lead { max-width: 36rem; }
.hero-note { margin-top: 1.25rem; font-size: .98rem; color: rgba(255,255,255,.75); }
.hero-note a { white-space: nowrap; }
.hero-books { margin: 0; }
.book-fan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.book-fan img { width: 100%; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.book-fan a { display: block; border-radius: 10px; transition: transform .25s; }
.book-fan a:hover { transform: translateY(-4px); }
.hero-books figcaption { margin-top: 1rem; font-size: .95rem; color: rgba(255,255,255,.78); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .book-fan { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
  .book-fan img { border-radius: 6px; }
}

/* Credentials strip */
.credentials { border-bottom: 1px solid var(--line); }
.credentials ul {
  list-style: none; margin: 0; padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.credentials li { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 3px solid var(--navy); }
.credentials strong { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--navy); }
.credentials span { color: var(--grey); font-size: .95rem; }
@media (max-width: 800px) { .credentials ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .credentials ul { grid-template-columns: 1fr; } }

/* Two ways to work with us */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.offer-col { border-top: 4px solid var(--navy); padding-top: 1.75rem; }
.offer-col.consult { border-top-color: var(--cyan); }
.offer-col h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: .35em; }
.offer-col > p { color: var(--grey); }
.offer-list { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }
.offer-list li { border-bottom: 1px solid var(--line); }
.offer-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 0; text-decoration: none; font-weight: 600; color: var(--ink);
}
.offer-list a::after { content: "→"; color: var(--cyan-dark); transition: transform .2s; }
.offer-list a:hover { color: var(--navy); }
.offer-list a:hover::after { transform: translateX(4px); }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }

/* Split media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr .85fr; }
.split img { width: 100%; border-radius: var(--radius); }
.split figure { margin: 0; }
@media (max-width: 860px) { .split, .split--wide-media { grid-template-columns: 1fr; } }

/* Method: three steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.22); }
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--cyan); margin-bottom: .75rem;
}
.steps h3 { margin-bottom: .4em; }
.steps p { margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps--light li { border-top-color: var(--line); }
.steps--light li::before { color: var(--cyan-dark); }

/* Book quote feature */
.quote-feature { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.quote-feature blockquote { margin: 0; }
.quote-feature blockquote p {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; color: var(--navy); margin-bottom: 1rem;
}
.quote-feature cite { font-style: normal; color: var(--grey); }
.quote-feature cite em { color: var(--ink); }
.quote-feature figure { margin: 0; }
.quote-feature img { width: 100%; max-width: 360px; margin-left: auto; border-radius: var(--radius); }
@media (max-width: 760px) { .quote-feature { grid-template-columns: 1fr; } .quote-feature img { margin: 0; max-width: 260px; } }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.post-grid--all { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 14px 34px rgba(2,3,49,.1); transform: translateY(-3px); }
.post-card .post-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-text { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.35rem; margin-bottom: .5em; }
.post-card h3 a { text-decoration: none; color: var(--navy); }
.post-card h3 a:hover { color: var(--cyan-dark); }
.post-card time { font-size: .88rem; color: var(--grey); margin-bottom: .6rem; }
.post-card p { color: var(--grey); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid, .post-grid--all { grid-template-columns: 1fr; } }

/* Philadelphia band */
.city { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.city figure { margin: 0; }
.city img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; }
@media (max-width: 860px) { .city { grid-template-columns: 1fr; } }

/* Contact list */
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: .2rem; color: var(--cyan-dark); }
.dark .contact-list svg { color: var(--cyan); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* CTA band */
.cta-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }
.cta-band .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Inner page head */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-bottom: 0; }
.page-head--narrow h1 { max-width: 26ch; font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.breadcrumb { font-size: .9rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.7); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Services list */
.service-list { display: grid; gap: 0; counter-reset: svc; }
.service-row {
  counter-increment: svc;
  display: grid; grid-template-columns: 4.5rem 1fr 1.4fr; gap: 1.5rem;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row::before { content: "0" counter(svc); font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--cyan-dark); }
.service-row h3 { margin: 0; }
.service-row p { margin: 0; color: var(--grey); }
@media (max-width: 760px) { .service-row { grid-template-columns: 3rem 1fr; } .service-row p { grid-column: 2; } }
.service-group + .service-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.service-group-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: end; margin-bottom: 1.5rem; }
.service-group-head h2 { margin: 0; }
.service-group-head p { margin: 0; color: var(--grey); }
@media (max-width: 760px) { .service-group-head { grid-template-columns: 1fr; } }

/* Books */
.book-list { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.book-row { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.book-row:nth-child(even) { grid-template-columns: 1fr minmax(220px, 380px); }
.book-row:nth-child(even) .book-cover { order: 2; }
.book-cover { width: 100%; aspect-ratio: 1909 / 2000; border-radius: var(--radius); background: #ebebeb; }
.book-row h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.book-row p { color: var(--grey); max-width: 60ch; }
@media (max-width: 760px) {
  .book-row, .book-row:nth-child(even) { grid-template-columns: 1fr; }
  .book-row:nth-child(even) .book-cover { order: 0; }
  .book-cover { max-width: 320px; }
}

/* Small books row */
.books-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.books-mini a { display: block; text-decoration: none; }
.books-mini img { width: 100%; border-radius: 10px; }
.books-mini span { display: block; margin-top: .6rem; font-size: .92rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 700px) { .books-mini { grid-template-columns: repeat(2, 1fr); } }

/* Shop catalogue */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem; background: var(--white); }
.product-card h2 { font-size: 1.6rem; margin: 0; }
.product-card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.product-card p { color: var(--grey); margin: 0 0 1rem; }
.product-card .row-actions { margin-top: auto; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } }
.product-hero-price { font-family: var(--serif); font-size: 2.2rem; color: var(--white); margin: 0 0 .25rem; }

/* Values / quotes */
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.belief { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--cyan); }
.belief p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; color: var(--navy); margin-bottom: .75rem; }
.belief footer { font-size: .92rem; color: var(--grey); }
@media (max-width: 860px) { .beliefs { grid-template-columns: 1fr; } }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 20px 50px rgba(2,3,49,.06); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--grey); }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid #b9bccd; border-radius: 10px; background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(42,196,234,.45); outline-offset: 0; border-color: var(--navy); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: .5rem 0 1.25rem; min-height: 65px; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.is-ok { color: #11663a; }
.form-status.is-error { color: #a61b1b; }
.form-success h2 { margin-bottom: .3em; }
.aside-block + .aside-block { margin-top: 2.25rem; }
.aside-block h2 { font-size: 1.55rem; }

/* Article / prose */
.article-head .meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .95rem; color: rgba(255,255,255,.75); margin-top: 1.25rem; }
.article-head .lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 46rem; margin: 0; }
.article-head { padding-bottom: clamp(5rem, 9vw, 7rem); }
.article-figure { margin: calc(-1 * clamp(3rem, 6vw, 4.5rem)) auto 0; max-width: 960px; padding: 0 var(--gutter); position: relative; }
.article-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
.article-figure + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.prose { max-width: 44rem; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.75em 0; padding-left: 1.25rem; border-left: 3px solid var(--cyan); font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; color: var(--navy); }
.prose blockquote p { margin: 0; }
.tags { max-width: 44rem; margin: 2rem auto 0; font-size: .92rem; color: var(--grey); word-spacing: .3em; }
.author-box { max-width: 44rem; margin: 3rem auto 0; padding: 1.75rem; border-radius: var(--radius); background: var(--mist); display: grid; grid-template-columns: 88px 1fr; gap: 1.25rem; align-items: center; }
.author-box img { width: 88px; border-radius: 8px; }
.author-box p { margin: 0; color: var(--grey); }
.author-box strong { color: var(--navy); }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } }

.legal { max-width: 44rem; }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: var(--navy); color: rgba(255,255,255,.78); padding: clamp(3.5rem, 6vw, 4.5rem) 0 2rem; font-size: .98rem; }
.site-footer a:not(.btn) { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--cyan); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.footer-brand p { max-width: 30ch; }
.footer-title { font-family: var(--serif); font-size: 1.2rem; color: var(--white); margin: 0 0 .8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-news { margin-top: 1.25rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--grey); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
