/* Conradsen Realestate Brokerage — main stylesheet
   Palette from the logo: steel blue #105078, slate #507890, silver #90A8C0 / #C0CCD8 / #D8E4E4,
   dark steel #486C78, black text on white. */

@font-face {
  font-family: "Marcellus";
  src: url("assets/fonts/marcellus-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  /* REPLACEABLE IMAGES */
  /* (no CSS background images are used: every picture is an <img> listed in assets/manifest.json) */

  /* Brand colours (from the logo) */
  --steel: #105078;
  --steel-700: #0c4060;
  --steel-900: #082b41;
  --slate: #507890;
  --slate-ink: #3f6175;
  --outline: #486C78;
  --silver: #90A8C0;
  --silver-200: #C0CCD8;
  --mist: #D8E4E4;
  --mist-50: #EEF3F6;
  --ink: #0b1116;
  --text: #1c262d;
  --muted: #4a5a64;
  --white: #ffffff;

  --serif: "Marcellus", "Trajan Pro", "Times New Roman", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --radius: 14px;
  --radius-lg: 28px;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 1px 2px rgba(8, 43, 65, .06), 0 10px 30px rgba(8, 43, 65, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--steel-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.18; margin: 0 0 .6em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .3em; }
strong { font-weight: 600; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden, .hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--steel); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons (one CTA vocabulary: "Call 949 510 4885" + "Send Conrad a message") ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  font: 600 1.02rem/1.2 var(--sans); letter-spacing: .01em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-900); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--steel); border-color: var(--steel); }
.btn-secondary:hover { background: var(--steel); color: #fff; }
.on-dark .btn-primary { background: #fff; color: var(--steel-900); }
.on-dark .btn-primary:hover { background: var(--mist); color: var(--steel-900); }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.8); }
.on-dark .btn-secondary:hover { background: #fff; color: var(--steel-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.text-link::after { content: "→"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--silver-200);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 128px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; max-width: 15.5em; }
.brand-name { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }
.brand-sub { font-size: .8rem; color: var(--slate-ink); white-space: nowrap; }
.brand:hover .brand-name { color: var(--steel); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; padding: .55rem .7rem; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.site-nav a:hover { color: var(--steel); background: var(--mist-50); }
.site-nav a[aria-current="page"] { color: var(--steel); box-shadow: inset 0 -2px 0 var(--steel); border-radius: 0; }
.header-call { min-height: 44px; padding: .55em 1.1em; font-size: .97rem; }
.header-call .long { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: .5rem .9rem; border: 2px solid var(--silver-200); border-radius: 999px;
  background: #fff; color: var(--ink); font: 600 .97rem var(--sans); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--steel); }
.no-js .nav-toggle, .nav-toggle[hidden] { display: none; }
.nav-toggle .bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

/* Small screens: nav below the bar; collapsed only when JS is running */
@media (max-width: 1079px) {
  .site-nav { order: 10; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; padding-bottom: .6rem; }
  .site-nav ul { flex-direction: column; }
  .js .site-nav a { padding: .8rem .6rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--steel); }
  .no-js .site-nav ul { flex-direction: row; }
}
@media (max-width: 560px) {
  .brand { gap: .55rem; min-width: 0; flex: 1 1 auto; }
  .brand img { width: 76px; }
  .brand-sub { display: none; }
  .brand-name { font-size: .86rem; max-width: 8.2em; }
  .header-inner { gap: .45rem; min-height: 68px; }
  .header-call, .nav-toggle { padding: .5em .8em; }
  .nav-toggle .label { display: none; }
}
@media (min-width: 1080px) {
  .nav-toggle { display: none !important; }
  .site-nav { display: block !important; }
  .header-call .long { display: inline; }
  .header-call .short { display: none; }
  .header-inner { flex-wrap: nowrap; min-height: 84px; }
  .site-nav { order: 1; }
  .site-nav ul { flex-wrap: nowrap; }
  .header-call { order: 2; white-space: nowrap; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-mist { background: var(--mist-50); }
.bg-steel { background: var(--steel-900); color: #e6eef3; }
.bg-steel h2, .bg-steel h3 { color: #fff; }
.bg-steel a { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.bg-steel .section-head p { color: #c9d7e0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--silver-200); margin: 2.5rem 0; }

/* ---------- Home hero ---------- */
.hero { background: linear-gradient(180deg, var(--mist-50) 0%, #fff 100%); padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.kicker { font-weight: 600; color: var(--slate-ink); font-size: 1rem; margin-bottom: .9rem; }
.hero h1 { max-width: 15em; }
.signature {
  font-family: var(--serif); color: var(--steel);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.3;
  margin: .2rem 0 1.1rem; padding-left: 1rem; border-left: 3px solid var(--silver);
}
.hero .lead { max-width: 34em; }
.hero .btn-row { margin: 1.6rem 0 1.2rem; }
.fine { font-size: .92rem; color: var(--muted); }
.hero-photo { position: relative; justify-self: center; width: min(100%, 380px); margin: 0; }
.portrait-panel {
  position: relative; padding: 1.5rem 1.5rem 0;
  background: linear-gradient(150deg, #f4f8fa 0%, var(--mist) 45%, var(--silver-200) 100%);
  border: 3px solid var(--outline); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.65), var(--shadow);
}
.portrait-panel img { width: 100%; height: auto; margin: 0 auto; }
.photo-caption { margin-top: .8rem; text-align: center; font-size: .95rem; color: var(--muted); }
.photo-caption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.25fr .85fr; }
  .hero-photo { justify-self: end; grid-column: 2; grid-row: 1; }
}
@media (max-width: 859px) {
  .hero-grid { display: block; }
  .hero-grid::after { content: ""; display: table; clear: both; }
  .hero-photo { float: right; width: min(38%, 220px); margin: .2rem 0 .8rem 1rem; }
  .portrait-panel { padding: .7rem .7rem 0; border-radius: 18px; border-width: 2px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.65); }
  .photo-caption { display: none; }
  .hero .kicker { font-size: .92rem; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}

/* ---------- Credentials strip ---------- */
.creds { background: var(--steel); color: #fff; }
.creds ul { list-style: none; margin: 0; padding: 1.3rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.2rem; }
@media (min-width: 700px) { .creds ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .creds ul { grid-template-columns: repeat(6, 1fr); } }
.creds li { margin: 0; padding-left: .9rem; border-left: 2px solid var(--silver); line-height: 1.3; font-size: .98rem; }
.creds li b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }

/* ---------- FREE ESCROW ---------- */
.escrow { display: grid; gap: 2rem; align-items: center; }
.escrow-title { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--steel); }
.escrow-quote { font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.4; color: var(--ink); margin: 0 0 1.4rem; }
.panel {
  background: #fff; border: 1px solid var(--silver-200); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.panel h3 { margin-bottom: .4em; }
.panel-steel { border-top: 4px solid var(--steel); }
@media (min-width: 860px) { .escrow { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }

/* ---------- Services (three columns, not cards) ---------- */
.service-cols { display: grid; gap: 2.2rem; }
.service-col { border-top: 3px solid var(--steel); padding-top: 1.2rem; }
.service-col:nth-child(2) { border-top-color: var(--slate); }
.service-col:nth-child(3) { border-top-color: var(--outline); }
.service-col ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.service-col li { padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid var(--mist); position: relative; margin: 0; }
.service-col li::before { content: ""; position: absolute; left: 0; top: .95em; width: .55rem; height: .55rem; border: 2px solid var(--silver); border-radius: 2px; }
.service-col .links { display: flex; flex-direction: column; gap: .35rem; }
@media (min-width: 860px) { .service-cols { grid-template-columns: repeat(3, 1fr); gap: 2.6rem; } }

/* ---------- Referrals & causes ---------- */
.referrals { display: grid; gap: 2.4rem; align-items: start; }
.pull {
  font-family: var(--serif); font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.3; color: var(--steel);
  margin: 1.4rem 0; padding: 1.2rem 0 1.2rem 1.3rem; border-left: 3px solid var(--steel);
}
.causes-panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--silver-200); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow); }
.causes { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.causes li { display: flex; gap: .9rem; align-items: flex-start; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--mist); }
.causes li:last-child { border-bottom: 0; }
.causes svg { flex: none; width: 34px; height: 34px; color: var(--steel); }
.causes small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (min-width: 860px) { .referrals { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; } }

/* ---------- Background "spec sheet" (precision engineering) ---------- */
.spec-grid { display: grid; gap: 2.4rem; align-items: start; }
.spec { margin: 0; border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--silver-200); }
.spec dt { font-weight: 600; color: var(--steel); }
.spec dd { margin: 0; }
@media (min-width: 860px) { .spec-grid { grid-template-columns: 1fr 1.25fr; gap: 3.5rem; } }
@media (max-width: 480px) { .spec div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Areas ---------- */
.wide-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 2.2rem; aspect-ratio: 21 / 8; background: var(--mist); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
@media (max-width: 640px) { .wide-photo { aspect-ratio: 16 / 9; } }
.areas { display: grid; gap: 2rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { margin: 0; padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--silver); font-weight: 600; font-size: .97rem; color: var(--ink); }
.areas h3 { font-size: 1.2rem; }
@media (min-width: 860px) { .areas { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }

/* ---------- News ---------- */
.news-grid { display: grid; gap: 2rem; align-items: start; }
.news-photo { border-radius: var(--radius); overflow: hidden; }
.news-list { display: grid; gap: 0; }
.news-item { padding: 1.4rem 0; border-bottom: 1px solid var(--silver-200); }
.news-item:first-child { padding-top: 0; }
.news-item time { font-size: .92rem; font-weight: 600; color: var(--slate-ink); }
.news-item h3 { margin: .25rem 0 .5rem; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a:hover { color: var(--steel); text-decoration: underline; }
.news-item p { color: var(--muted); }
@media (min-width: 860px) { .news-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; } }

/* ---------- Contact band ---------- */
.cta-band { text-align: left; }
.cta-band .closer { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: #fff; max-width: 22em; margin-bottom: 1.6rem; }
.cta-band .contact-lines { margin-top: 1.4rem; color: #c9d7e0; }
.cta-band .contact-lines a { color: #fff; font-weight: 600; }

/* ---------- Inner page header ---------- */
.page-hero { background: linear-gradient(180deg, var(--mist-50), #fff); padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--mist); }
.page-hero .lead { max-width: 40em; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; }
.page-hero-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 860px) { .page-hero-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }
.breadcrumb { font-size: .92rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb a { color: var(--slate-ink); }

/* ---------- Two-column content ---------- */
.content-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; } }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.8rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--steel); font-weight: 600; }
.formula { background: var(--mist-50); border-left: 3px solid var(--steel); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.3rem; font-variant-numeric: tabular-nums; }
.formula p { margin: 0; }
.formula .total { border-top: 1px solid var(--silver); margin-top: .4rem; padding-top: .4rem; font-weight: 600; color: var(--ink); }
.tip { background: #fff; border: 1px solid var(--silver-200); border-left: 4px solid var(--slate); border-radius: 8px; padding: .9rem 1.2rem; margin: 1.2rem 0; }
.tip strong { color: var(--steel); }
.article-meta { color: var(--muted); font-size: .98rem; }

.aside-card { position: sticky; top: 7rem; }
.aside-card .portrait-mini { width: 120px; margin: 0 0 1rem; background: linear-gradient(150deg, #f4f8fa, var(--mist) 50%, var(--silver-200)); border: 2px solid var(--outline); border-radius: 18px; padding: .6rem .6rem 0; }
.aside-card .btn { width: 100%; margin-top: .6rem; }
.aside-card p { font-size: .98rem; }

/* Lists in two columns on wide screens */
.cols-2 { columns: 2 16rem; column-gap: 2.5rem; }
.cols-2 li { break-inside: avoid; }

/* Feature rows on service pages */
.features { display: grid; gap: 1.5rem; }
.feature { padding: 1.4rem 0 0; border-top: 2px solid var(--steel); }
.feature h2, .feature h3 { font-size: 1.3rem; }
.feature p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; } }

/* About page photo */
.casual-photo { max-width: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--silver-200); }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--silver); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(16, 80, 120, .2); }
.consent { font-size: .92rem; color: var(--muted); }
.form-status { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: #e6f1ec; color: #1d4d36; border: 1px solid #a8cdb9; }
.form-status.err { background: #fbeeee; color: #6b1f1f; border: 1px solid #e1b4b4; }
.contact-direct { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.contact-direct li { padding: .7rem 0; border-bottom: 1px solid var(--mist); margin: 0; }
.contact-direct span { display: block; font-size: .9rem; color: var(--muted); }
.contact-direct a { font-weight: 600; font-size: 1.1rem; text-decoration: none; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel-900); color: #c9d7e0; padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; font-size: .98rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: .6rem .8rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo img { width: 140px; }
.site-footer h2 { font-size: 1.2rem; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-contact a { font-weight: 600; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-fine { margin-top: 2.8rem; padding-top: 1.3rem; border-top: 1px solid rgba(201, 215, 224, .25); font-size: .88rem; color: #a9bccb; display: grid; gap: .4rem; }
.footer-fine p { margin: 0; }
.footer-fine a { color: #dbe6ee; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }

/* ---------- 404 ---------- */
.notfound { text-align: left; }
.notfound .links { columns: 2 12rem; }

@media print {
  .site-header, .site-footer, .btn-row, .aside-card .btn { display: none; }
}

/* Keep the logo full size where the full nav first appears */
.brand img, .brand picture { flex-shrink: 0; }
@media (min-width: 1080px) and (max-width: 1199px) {
  .brand-sub { display: none; }
}
