/* Josh Morley - personal site
   One stylesheet, no framework.

   Palette note: the partner badges are brand-coloured (Woo purple, WordPress
   blue, Jetpack green, GoDaddy teal, Google multicolour). The page is therefore
   deliberately warm and neutral, so the badges stay the most saturated thing on
   it. Warm paper ground, near-black warm ink, burnt sienna for actions, deep
   teal for links, and one hue per skill card. */

:root {
  --bg: #fbfaf8;
  --bg-2: #f4efe8;
  --bg-3: #ebe4d9;
  --surface: #ffffff;
  --ink: #1b1a17;
  --ink-2: #524c45;
  --ink-3: #7b746a;
  --line: #e4ddd3;
  --line-2: #cec5b8;
  --accent: #1b4f6b;
  --accent-soft: #e8f0f4;
  --cta: #b4451f;
  --cta-ink: #ffffff;
  --good: #1f6b4a;
  --gold: #b5852a;
  --radius: 10px;
  --wrap: 1120px;
  --pad: clamp(1rem, 4vw, 2rem);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17161a;
    --bg-2: #1e1d22;
    --bg-3: #27262c;
    --surface: #1e1d22;
    --ink: #eceae6;
    --ink-2: #b5aea5;
    --ink-3: #8e877e;
    --line: #312f36;
    --line-2: #423f49;
    --accent: #83c6e4;
    --accent-soft: #16303c;
    --cta: #dd6f3f;
    --cta-ink: #15120f;
    --good: #6cc49c;
    --gold: #d9ae55;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.018em; margin: 0 0 0.5em; font-weight: 650; }
h1 { font-size: clamp(2rem, 1.25rem + 2.8vw, 3.1rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2.05rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li + li { margin-top: 0.35rem; }

strong { font-weight: 600; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--cta); color: var(--cta-ink); padding: 0.75rem 1rem; }
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; border-radius: 3px; }

/* ------------------------------------------------------------------ header */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }

.brand { color: inherit; text-decoration: none; margin-right: auto; display: flex; align-items: center; gap: 0.6rem; }
.brand::before {
  content: 'JM';
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 7px;
  background: var(--cta); color: var(--cta-ink);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.brand__name { display: block; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.brand__role { display: block; font-size: 0.75rem; color: var(--ink-3); }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav__links { display: flex; align-items: center; gap: 1.4rem; }
.site-nav__links a {
  color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a[aria-current] { color: var(--ink); border-bottom-color: var(--cta); }

.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    content: ''; display: block; width: 1rem; height: 2px; background: var(--ink); border-radius: 2px;
  }
  .nav-toggle__bar { position: relative; }
  .nav-toggle__bar::before { position: absolute; top: -5px; }
  .nav-toggle__bar::after { position: absolute; top: 5px; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0.5rem; padding-bottom: 1rem; }
  .site-nav[hidden] { display: none; }
  .site-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__links a { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { justify-content: center; }
}

/* ------------------------------------------------------------------ bands */

.band { padding-block: clamp(2.75rem, 6vw, 4.75rem); border-bottom: 1px solid var(--line); }
.band--alt { background: var(--bg-2); }
.band--tight { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.band:last-of-type { border-bottom: 0; }

.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cta); margin-bottom: 0.75rem;
}
.eyebrow::before { content: ''; width: 1.35rem; height: 2px; background: var(--cta); border-radius: 2px; }

.lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem); color: var(--ink-2); max-width: 44rem; }

/* ------------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.75rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60rem 26rem at 88% -12%, var(--accent-soft) 0%, transparent 62%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 70%);
}
.hero__inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.hero__text h1 { margin-bottom: 1rem; }
.hero__text .lede { margin-bottom: 1.25rem; }

.hero__photo { margin: 0; }
.hero__photo .hero__frame { position: relative; }
.hero__photo .hero__frame::before {
  content: ''; position: absolute; inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  background: var(--cta); opacity: 0.13; border-radius: var(--radius);
}
.hero__photo img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line-2);
}
.hero__photo figcaption {
  margin-top: 1.5rem; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { max-width: 17rem; }
}

.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cta); color: var(--cta-ink);
  padding: 0.72rem 1.2rem; border-radius: 8px; border: 1px solid transparent;
  font: 600 0.9375rem/1 var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.07); text-decoration: none; }
.btn--sm { padding: 0.5rem 0.85rem; font-size: 0.875rem; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-2); filter: none; }

/* Small proof line that sits under the hero buttons. */
.trustline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem;
  margin-top: 1.25rem; font-size: 0.875rem; color: var(--ink-2);
}
.trustline .stars { width: 5.4rem; }
.trustline strong { color: var(--ink); font-weight: 650; }

/* ------------------------------------------------------------------ stats */

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--surface); padding: 1.15rem 1.25rem; position: relative; }
.stat::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--cta); opacity: 0.85; }
.stat__value { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.7rem); font-weight: 700; letter-spacing: -0.025em; }
.stat__label { font-size: 0.875rem; font-weight: 500; margin-top: 0.15rem; }
.stat__note { font-size: 0.8125rem; color: var(--ink-3); margin-top: 0.1rem; }

@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------- partner badges */

/* The badge artwork is supplied by each vendor, so the shapes do not match:
   five are wide pills, Codeable is a circular seal. A fixed tile height with
   object-fit: contain normalises them without distorting anyone's mark. */
.badges {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.75rem;
}
.badge { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch; text-align: center; }
.badge + .badge { margin-top: 0; }
.badge img {
  display: block; width: 100%; height: 4.5rem; object-fit: contain;
  background: #ffffff; border: 1px solid var(--line); border-radius: 9px;
  padding: 0.6rem 0.75rem;
}
.badge__link { display: block; text-decoration: none; }
.badge__link:hover img { border-color: var(--cta); }
.badge__note { font-size: 0.75rem; color: var(--ink-3); line-height: 1.35; }

/* Codeable seal. Kept out of the badge wall because it is a round seal rather
   than a pill, and it carries the rating, so it earns its own block. */
.verified {
  display: flex; align-items: center; gap: 1.1rem;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.verified__seal { flex: none; display: block; }
.verified__seal img { width: 5.5rem; height: 5.5rem; object-fit: contain; }
.verified__text { margin: 0; font-size: 0.875rem; color: var(--ink-2); max-width: 46rem; }

@media (max-width: 560px) {
  .verified { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

/* ----------------------------------------------------------- band figure */

.band-figure { margin: 0 0 2rem; }
.band-figure img {
  width: 100%; aspect-ratio: 16 / 7; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line-2);
}
.band-figure figcaption { margin-top: 0.6rem; font-size: 0.8125rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ cards */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); gap: 1rem; }
.card {
  --card: var(--accent);
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem;
  background: var(--surface); color: inherit; text-decoration: none;
  border-top: 3px solid var(--card);
}
.card:hover { border-color: var(--line-2); border-top-color: var(--card); background: var(--bg-2); text-decoration: none; }
.card__num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: var(--card); }
.card__title { margin: 0; font-size: 1.0625rem; }
.card__body { margin: 0; font-size: 0.9375rem; color: var(--ink-2); flex: 1; }
.card__more { font-size: 0.875rem; font-weight: 600; color: var(--card); }

.card--seo { --card: #1b6b7a; }
.card--ppc { --card: #b4451f; }
.card--content-writing { --card: #7a4a86; }
.card--web-design { --card: #a8415c; }
.card--web-development { --card: #2f5296; }
.card--hosting { --card: #1f6b4a; }
.card--security { --card: #8a5a1f; }

@media (prefers-color-scheme: dark) {
  .card--seo { --card: #6cc0ce; }
  .card--ppc { --card: #e2884f; }
  .card--content-writing { --card: #bf92c9; }
  .card--web-design { --card: #e2869c; }
  .card--web-development { --card: #8aa6e0; }
  .card--hosting { --card: #6cc49c; }
  .card--security { --card: #d4a75e; }
}

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { margin: 0; }
.pill-list a {
  display: inline-block; font-size: 0.875rem; text-decoration: none; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 0.35rem 0.85rem; background: var(--surface);
}
.pill-list a:hover { color: var(--ink); border-color: var(--cta); }

/* --------------------------------------------------------- spec panel */

/* Scannable summary at the top of each skill page. A hiring manager checking
   whether I fit a role should not have to read prose to find out. */
.spec {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin: 0 0 2.25rem;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 900px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } }
.spec > div { background: var(--surface); padding: 0.95rem 1.1rem; }
.spec dt {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--cta); margin-bottom: 0.2rem;
}
.spec dd { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }

/* --------------------------------------------------------- cta strip */

.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem; padding: 1.4rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--cta); border-radius: var(--radius);
}
.cta-strip__title { margin: 0 0 0.3rem; font-size: 1.125rem; }
.cta-strip .muted { max-width: 42rem; font-size: 0.9375rem; }

/* ------------------------------------------------------------------- jobs */

.jobs { display: grid; gap: 1rem; }
.job {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(1.1rem, 3vw, 1.65rem);
}
.job__head { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; margin-bottom: 0.9rem; }
.job__title { margin: 0; font-size: 1.0625rem; }
.job__tag {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cta); background: color-mix(in srgb, var(--cta) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--cta) 28%, transparent);
  border-radius: 100px; padding: 0.2rem 0.65rem;
  text-decoration: none; white-space: nowrap;
}
a.job__tag:hover { background: var(--cta); color: var(--cta-ink); border-color: var(--cta); }
.job dl { margin: 0; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.5rem 1rem; }
.job dt { font-size: 0.75rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 0.2rem; }
.job dd { margin: 0; }
.job dd p:last-child, .job dd ul:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .job dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .job dt { margin-top: 0.6rem; }
}

.result { color: var(--ink); font-weight: 500; }
.result strong { color: var(--good); font-weight: 700; }

/* --------------------------------------------------------------- metrics */

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; }
.metric { background: var(--surface); padding: 1.05rem 1.15rem; }
.metric__value { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.025em; color: var(--cta); }
.metric__label { font-size: 0.8125rem; color: var(--ink-2); margin-top: 0.15rem; }

/* ------------------------------------------------------------------ lists */

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.bullets li { position: relative; padding-left: 1.4rem; margin: 0; }
.bullets li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 0.45rem; height: 0.45rem; border-radius: 2px; background: var(--cta); transform: rotate(45deg);
}

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(1.5rem, 4vw, 2.75rem); }

.tool-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; }
.tool-group h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--cta); margin-bottom: 0.4rem; }
.tool-group p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }

/* --------------------------------------------------------------- timeline */

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-2); }
.timeline li { margin: 0; padding: 0 0 1.6rem 1.5rem; position: relative; }
.timeline li::before {
  content: ''; position: absolute; left: -0.4rem; top: 0.45rem;
  width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--cta); border: 2px solid var(--bg);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline__when { font-size: 0.8125rem; font-weight: 600; color: var(--cta); letter-spacing: 0.02em; }
.timeline__what { font-weight: 650; margin: 0.1rem 0 0.3rem; }
.timeline p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- quotes */

.stars { display: block; width: 5.8rem; color: var(--gold); }
.stars svg { width: 100%; height: auto; fill: currentColor; }

/* Column flow rather than a grid: the quotes vary a lot in length, and equal
   height grid rows left a lot of dead space under the short ones. */
.quotes { columns: 20rem; column-gap: 1rem; }
.quote {
  margin: 0 0 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; background: var(--surface);
  break-inside: avoid; page-break-inside: avoid;
}
.quote blockquote { margin: 0.85rem 0 0; font-size: 0.9375rem; color: var(--ink); }
.quote blockquote::before { content: '\201C'; }
.quote blockquote::after { content: '\201D'; }
.quote figcaption { display: flex; align-items: center; gap: 0.65rem; margin-top: 1rem; }

.mono {
  flex: none; display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em;
  background: hsl(var(--mono-h) 42% 92%);
  color: hsl(var(--mono-h) 48% 28%);
  border: 1px solid hsl(var(--mono-h) 38% 82%);
}
@media (prefers-color-scheme: dark) {
  .mono { background: hsl(var(--mono-h) 28% 22%); color: hsl(var(--mono-h) 55% 78%); border-color: hsl(var(--mono-h) 25% 32%); }
}

.quote__who { display: flex; flex-direction: column; min-width: 0; }
.quote__name { font-size: 0.875rem; font-weight: 650; }
.quote__meta { font-size: 0.8125rem; color: var(--ink-3); }

/* -------------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.25rem; top: 0.8rem; font-size: 1.35rem; font-weight: 400; color: var(--cta); }
.faq details[open] summary::after { content: '\2013'; }
.faq details > *:not(summary) { margin-bottom: 1rem; }
.faq details > p { color: var(--ink-2); max-width: 46rem; }

/* ------------------------------------------------------------------- form */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 3rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field > label { font-size: 0.875rem; font-weight: 600; }
.field .hint { font-size: 0.8125rem; color: var(--ink-3); }

input[type="text"], input[type="email"], input[type="url"], select, textarea {
  font: inherit; font-size: 0.9375rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0.6rem 0.7rem; width: 100%;
}
textarea { min-height: 8.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cta); outline: 2px solid color-mix(in srgb, var(--cta) 22%, transparent); outline-offset: 0; }

.field--hp { position: absolute; left: -9999px; }

.form__status { font-size: 0.9375rem; padding: 0.75rem 0.9rem; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-2); }
.form__status[hidden] { display: none; }
.form__status--ok { border-color: var(--good); color: var(--good); }
.form__status--err { border-color: #b4342f; color: #b4342f; }

.contact-aside { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--surface); }
.contact-aside dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.45rem 1rem; margin: 0 0 1rem; font-size: 0.9375rem; }
.contact-aside dt { font-weight: 650; color: var(--ink-2); }
.contact-aside dd { margin: 0; }

/* ------------------------------------------------------------------ notes */

.note { border-left: 3px solid var(--line-2); padding: 0.1rem 0 0.1rem 1rem; color: var(--ink-2); font-size: 0.9375rem; margin: 1.25rem 0; }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft); padding: 1rem 1.15rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { font-size: 0.9375rem; }

/* ----------------------------------------------------------------- footer */

.site-foot { background: var(--bg-3); border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3rem); }
.site-foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
.site-foot__name { font-weight: 700; margin-bottom: 0.2rem; }
.site-foot__id p { margin-bottom: 0.2rem; font-size: 0.9375rem; }
.site-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.site-foot__h { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); margin-bottom: 0.6rem; }
.site-foot__cols ul { list-style: none; margin: 0; padding: 0; }
.site-foot__cols li { margin: 0 0 0.35rem; }
.site-foot__cols a { font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; }
.site-foot__cols a:hover { color: var(--ink); text-decoration: underline; }
.site-foot__legal { margin: 2rem 0 0; font-size: 0.8125rem; max-width: 52rem; }

@media (max-width: 900px) {
  .site-foot__top { grid-template-columns: 1fr; }
  .site-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-head, .site-foot__cols, .nav-toggle, .actions, .form { display: none; }
  body { font-size: 11pt; background: #fff; }
  .band { page-break-inside: avoid; border: 0; }
}
