/* NorthStar Strategic AI
   Brand: Navy #283c63, Cream #fbe8d3, Orange #ef6910 */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #283c63;
  --navy-deep: #1b2a48;
  --ink: #16223a;
  --cream: #fbe8d3;
  --cream-soft: #fdf4ea;
  --orange: #ef6910;
  --orange-text: #b44f08;
  --slate: #5b6b82;
  --line: #e4d6c6;
  --white: #ffffff;

  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--sans); color: var(--navy); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--ink); padding: 0.75rem 1rem; font-family: var(--sans); font-weight: 700; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 66ch; }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.005em;
  padding: 0.95rem 1.5rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--cream); color: var(--ink); border-color: var(--orange); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.on-navy .btn-ghost { color: var(--cream); border-color: var(--cream); }
.on-navy .btn-ghost:hover { background: var(--cream); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 800; font-size: 1.35rem; color: var(--orange); letter-spacing: -0.03em; }
.brand-sub { font-family: var(--sans); font-weight: 500; font-size: 0.86rem; color: var(--navy); letter-spacing: 0.04em; margin-top: 0.2rem; }

.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: 8px; padding: 0.5rem 0.75rem; font-family: var(--sans); font-weight: 700; color: var(--navy); cursor: pointer; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.2rem; }
.primary-nav a { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--navy); text-decoration: none; white-space: nowrap; padding: 0.55rem 0.6rem; border-radius: 6px; }
.primary-nav a:hover { background: var(--cream-soft); color: var(--navy); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.primary-nav .nav-cta a { background: var(--navy); color: var(--white); border-radius: 999px; padding: 0.65rem 1.15rem; margin-left: 0.5rem; }
.primary-nav .nav-cta a:hover { background: var(--orange); color: var(--ink); }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.5rem; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .primary-nav a { display: block; padding: 0.85rem 0.5rem; font-size: 1.05rem; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 1rem; }
  .primary-nav .nav-cta a { margin: 0.75rem 0 0; text-align: center; }
}

/* ---------- Home hero: the night sky ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 3rem; padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lede { color: var(--cream); max-width: 40ch; margin-top: 1.4rem; }
.hero-mark { justify-self: center; width: min(360px, 100%); }
.hero-mark img { width: 100%; }
.hero-note { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--cream); opacity: 0.85; margin-top: 1.4rem; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

/* ---------- Interior page hero ---------- */
.page-hero { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%);
  background: url("../img/northstar-mark-light.png") center / contain no-repeat; opacity: 0.1; pointer-events: none;
}
.page-hero .wrap { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5rem); position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 20ch; }
.page-hero .lede { color: var(--cream); max-width: 52ch; }
.breadcrumb { font-family: var(--sans); font-size: 0.88rem; font-weight: 600; margin-bottom: 1.4rem; color: var(--cream); }
.breadcrumb a { color: var(--cream); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-cream { background: var(--cream); }
.section-soft { background: var(--cream-soft); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy a:not(.btn) { color: var(--cream); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head p { font-size: 1.2rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* Big statement */
.statement { font-family: var(--sans); font-weight: 800; color: var(--navy); font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0; max-width: 16ch; }
.statement .second { display: block; color: var(--slate); }

/* ---------- The route: 5-part approach ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; position: relative; counter-reset: route; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 10px, transparent 10px 18px); opacity: 0.35; }
.route li { position: relative; counter-increment: route; padding-top: 4.2rem; }
.route li::before {
  content: counter(route); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--sans); font-weight: 800; font-size: 1.05rem;
  background: var(--white); color: var(--navy); border: 2px solid var(--navy);
}
.route li:last-child::before { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.route h3 { margin-bottom: 0.35em; }
.route p { font-size: 1rem; line-height: 1.6; margin: 0; }
@media (max-width: 960px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--navy) 0 10px, transparent 10px 18px); }
  .route li { padding: 0.35rem 0 2rem 4.5rem; }
}

/* ---------- Commitments list (secure band) ---------- */
.commitments { list-style: none; margin: 0; padding: 0; }
.commitments li { padding: 1.3rem 0 1.3rem 2.6rem; border-top: 1px solid rgba(251,232,211,0.25); position: relative; }
.commitments li:last-child { border-bottom: 1px solid rgba(251,232,211,0.25); }
.commitments li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem; width: 18px; height: 18px;
  background: url("../img/northstar-mark-light.png") center / contain no-repeat;
}
.commitments strong { display: block; font-family: var(--sans); font-weight: 700; color: var(--white); font-size: 1.08rem; margin-bottom: 0.2rem; }
.section-navy .commitments li { color: var(--cream); }
.light-list li { border-color: var(--line) !important; }
.light-list li::before { background-image: url("../img/northstar-mark.png"); }
.light-list strong { color: var(--navy); }

/* ---------- Estimator & assessment panels ---------- */
.tool-panel { background: var(--white); border: 2px solid var(--navy); border-radius: 18px; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.field { margin-bottom: 1.4rem; }
.field label, .field legend { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.98rem; color: var(--navy); margin-bottom: 0.45rem; }
.field .hint { display: block; font-family: var(--serif); font-weight: 400; font-size: 0.92rem; color: var(--slate); margin-top: 0.15rem; }
input[type="number"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 0.8rem 0.9rem; border: 1.5px solid #b9c1ce; border-radius: 10px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
input[type="range"] { width: 100%; accent-color: var(--orange); }
.range-value { font-family: var(--sans); font-weight: 800; color: var(--orange-text); }
.results { background: var(--navy); color: var(--cream); border-radius: 14px; padding: 1.6rem; margin-top: 0.5rem; }
.result-figure { font-family: var(--sans); font-weight: 800; color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.result-label { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--cream); margin: 0.35rem 0 1.2rem; }
.results .fine { font-size: 0.9rem; opacity: 0.9; margin: 0; }
.two-col-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 560px) { .two-col-fields { grid-template-columns: 1fr; } }

/* Assessment */
.assess-progress { height: 6px; background: var(--cream); border-radius: 99px; overflow: hidden; margin-bottom: 1.6rem; }
.assess-progress span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s ease; }
.assess-count { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--slate); margin-bottom: 0.4rem; }
.assess-q { font-family: var(--sans); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--navy); line-height: 1.2; margin: 0 0 1.4rem; letter-spacing: -0.02em; }
.options { display: grid; gap: 0.7rem; }
.option { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.1rem; border: 1.5px solid #c8cfda; border-radius: 12px; cursor: pointer; background: var(--white); }
.option:hover { border-color: var(--navy); background: var(--cream-soft); }
.option input { margin-top: 0.35rem; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.option:has(input:checked) { border-color: var(--orange); background: var(--cream-soft); box-shadow: inset 4px 0 0 var(--orange); }
.assess-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.assess-nav .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.assess-result h2 { margin-top: 0.2rem; }
.score-line { font-family: var(--sans); font-weight: 700; color: var(--orange-text); }
.flag { background: var(--cream); border-left: 4px solid var(--orange); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.privacy-note { font-size: 0.95rem; color: var(--slate); margin-top: 1.4rem; }
[hidden] { display: none !important; }

/* ---------- Industries strip ---------- */
.industry-links { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.industry-links li { border-bottom: 1px solid var(--line); }
.industry-links a { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: baseline; padding: 1.35rem 0; text-decoration: none; color: var(--ink); }
.industry-links a:hover { background: var(--cream-soft); }
.industry-links .ind-name { font-family: var(--sans); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--navy); letter-spacing: -0.02em; padding-left: 0.2rem; }
.industry-links .ind-desc { font-size: 1.02rem; color: var(--slate); }
@media (max-width: 700px) { .industry-links a { grid-template-columns: 1fr; gap: 0.3rem; } }

/* ---------- Service rows ---------- */
.service { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(2.5rem, 5vw, 3.8rem) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 2px solid var(--navy); }
.service h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.service .outcome { font-family: var(--sans); font-weight: 600; color: var(--orange-text); font-size: 1rem; }
.service h3 { font-size: 1.02rem; margin-top: 1.4rem; }
.service ul { margin: 0.4rem 0 0; }
.service li { margin-bottom: 0.35rem; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* ---------- Two-column plain lists ---------- */
.pair-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.pair-list li { padding: 1rem 0 1rem 1.9rem; border-top: 1px solid var(--line); position: relative; }
.pair-list li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
@media (max-width: 760px) { .pair-list { grid-template-columns: 1fr; } }

/* Questions block */
.questions { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.questions li { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.3; padding: 1.1rem 0; border-top: 1px solid rgba(40,60,99,0.2); letter-spacing: -0.01em; }

/* Framework detail (sequence) */
.framework { list-style: none; margin: 0; padding: 0; counter-reset: fw; }
.framework > li { counter-increment: fw; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.5rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.framework > li::before { content: counter(fw); font-family: var(--sans); font-weight: 800; font-size: 3.4rem; line-height: 0.9; color: var(--orange); letter-spacing: -0.04em; }
.framework .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.framework .tags li { font-family: var(--sans); font-weight: 600; font-size: 0.85rem; background: var(--cream); color: var(--navy); border-radius: 999px; padding: 0.35rem 0.8rem; }
@media (max-width: 600px) { .framework > li { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Timeline (engagement) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 2.2rem 4rem; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: -0.1rem; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--navy); font-family: var(--sans); font-weight: 800; display: grid; place-items: center; }
.timeline li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: rgba(251,232,211,0.35); }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin-bottom: 0.3rem; }
.timeline p { margin: 0; }

/* Industry detail */
.industry { padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.industry:first-of-type { border-top: 0; }
.industry-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 4rem); }
.guard { background: var(--cream-soft); border-left: 4px solid var(--navy); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; font-size: 1rem; margin-top: 1.4rem; }
.guard strong { font-family: var(--sans); color: var(--navy); }
@media (max-width: 860px) { .industry-grid { grid-template-columns: 1fr; } }
.jump-links { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.jump-links a { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--cream); border: 1.5px solid rgba(251,232,211,0.5); border-radius: 999px; padding: 0.45rem 0.95rem; text-decoration: none; }
.jump-links a:hover { background: var(--cream); color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 4.5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--cream); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.2rem); }
.contact-card dl { margin: 0; }
.contact-card dt { font-family: var(--sans); font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-top: 1.1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.15rem 0 0; font-size: 1.1rem; }
.hp-field { position: absolute; left: -5000px; }
.form-consent { font-size: 0.95rem; color: var(--slate); }

/* CTA band */
.cta-band { background: var(--orange); color: var(--ink); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.cta-band h2 { color: var(--ink); max-width: 22ch; }
.cta-band p { max-width: 56ch; font-size: 1.2rem; }
.cta-band .btn-primary { background: var(--navy); color: var(--white); }
.cta-band .btn-primary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cta-band .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta-band .btn-ghost:hover { background: var(--ink); color: var(--white); }

/* Sister note */
.sister { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.6rem 0; }
.sister img { width: 64px; }

/* Legal pages */
.legal h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.legal .updated { font-family: var(--sans); font-weight: 600; color: var(--slate); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: 1rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand img { width: 56px; margin-bottom: 1rem; }
.footer-brand .tagline { font-family: var(--sans); font-weight: 700; color: var(--white); font-size: 1.1rem; line-height: 1.35; max-width: 22ch; }
.site-footer h2 { font-size: 0.98rem; color: var(--white); letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-base { border-top: 1px solid rgba(251,232,211,0.2); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.9rem; opacity: 0.9; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: left; padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound img { width: 120px; margin-bottom: 2rem; }

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

/* Utilities (kept in CSS so the security policy can block inline styles) */
.m0 { margin: 0; }
.fieldset-reset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pair-list.single-col { grid-template-columns: 1fr; }
.site-footer li { overflow-wrap: anywhere; }

/* Top contact bar */
.top-bar { background: var(--navy-deep); color: var(--cream); font-family: var(--sans); font-size: 0.84rem; font-weight: 500; }
.top-bar-inner { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.35rem 1.75rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.top-bar a { color: var(--cream); text-decoration: none; }
.top-bar a:hover { color: var(--white); text-decoration: underline; }
.tb-label { color: var(--orange); font-weight: 700; margin-right: 0.3rem; }
@media (max-width: 700px) {
  .top-bar-inner { justify-content: center; text-align: center; gap: 0.1rem 1rem; font-size: 0.74rem; padding-top: 0.35rem; padding-bottom: 0.35rem; }
  .tb-address { flex-basis: 100%; }
  .tb-label { margin-right: 0.2rem; }
}
@media (max-width: 1240px) { .header-inner { min-height: 64px; } .brand img { width: 40px; height: 40px; } }
