/* NordoniaHills.tech, homepage v1.0. Tokens: SPEC section 3. No third-party requests; the font is self-hosted (SIL OFL).
   "NHT Sans" is a latin subset of IBM Plex Sans (variable, 400-700), renamed as the OFL requires (fonts/OFL-IBMPlex.txt). */
@font-face {
  font-family: "NHT Sans";
  src: url("fonts/nht-sans-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks (Plex ascent 1025 / descent 275 per 1000, average advance of the hero copy vs Arial) so the
   swap to the web font does not move layout (CLS 0). */
@font-face {
  font-family: "NHT Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Helvetica");
  font-weight: 400;
  size-adjust: 100.64%;
  ascent-override: 101.85%;
  descent-override: 27.32%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "NHT Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Helvetica Bold");
  font-weight: 600 700;
  size-adjust: 96.69%;
  ascent-override: 106.01%;
  descent-override: 28.44%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;
  --ink-0: #1c1a33;
  --ink-0b: #262447;
  --paper: #f6f6fa;
  --surface: #ffffff;
  --ink: #16152b;
  --ink-2: #4a4862;
  --line: #e3e2ee;
  --line-strong: #8a879f;
  --accent: #c42b3c;
  --on-accent: #ffffff;
  --accent-text: #b0263a;
  --accent-on-dark: #ff8a94;
  --on-dark: #f1f0f8;
  --on-dark-2: #c9c6e0;
  --line-on-dark: #5b5790;
  --tile-ico-bg: #fbe9eb;
  --focus: #3b2fc9;
  --focus-on-dark: #ffd166;
  --font: "NHT Sans", "NHT Sans Fallback", system-ui, sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink-0: #13122a;
    --ink-0b: #1f1d3d;
    --paper: #0f0e20;
    --surface: #1a1930;
    --ink: #ecebf5;
    --ink-2: #b0aec6;
    --line: #2c2a48;
    --line-strong: #7a7799;
    --accent: #ff7a85;
    --on-accent: #13122a;
    --accent-text: #ff8a94;
    --accent-on-dark: #ff8a94;
    --on-dark: #f1f0f8;
    --on-dark-2: #c9c6e0;
    --line-on-dark: #5b5790;
    --tile-ico-bg: #2e1f36;
    --focus: #ffd166;
    --focus-on-dark: #ffd166;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--accent-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
/* inline text links: at least 24 px tall (WCAG 2.5.8) without changing the line box */
p a, li > a, address a { padding-block: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .topbar :focus-visible, .site-footer :focus-visible, .cta :focus-visible, .factband :focus-visible {
  outline-color: var(--focus-on-dark);
}
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.visually-hidden {
  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 {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* announcement bar */
.topbar { background: var(--ink-0); color: var(--on-dark); font-size: .9375rem; border-bottom: 1px solid var(--ink-0b); }
.topbar-in { padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar p { margin: 0; }
.topbar a { color: var(--accent-on-dark); font-weight: 600; margin-left: .35em; white-space: nowrap; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 50; }
  html { scroll-padding-top: 88px; }
}
.header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.wordmark {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.3rem;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none;
}
.wordmark .tld { color: var(--accent-text); }
.nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px;
  color: var(--ink-2); font-weight: 600; text-decoration: none;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
@media (min-width: 900px) { nav[aria-label="Main"] { margin-left: auto; } }
@media (max-width: 639px) {
  .site-header .header-cta { display: none; }
  .header-in { justify-content: flex-start; }
  nav[aria-label="Main"] { width: 100%; margin-left: -12px; }
  .nav a { padding: 0 10px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 10px; font-weight: 650; font-size: 1.0625rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(196, 43, 60, .35); }
.btn-light { background: #ffffff; color: #1c1a33; }
.btn-light:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }

/* hero (dark band in both schemes) */
.hero { background: var(--ink-0); color: var(--on-dark); overflow: hidden; }
.hero-in { display: grid; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.25fr 1fr; padding-top: 88px; padding-bottom: 96px; } }
.eyebrow { color: var(--on-dark-2); font-weight: 600; font-size: .9375rem; letter-spacing: .02em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; color: #ffffff; margin-bottom: 24px; }
.hero h1 .accent { display: block; color: var(--accent-on-dark); }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.2rem); color: var(--on-dark); max-width: 40em; }
.hero .small { color: var(--on-dark-2); font-size: .9375rem; margin: 0; }
.hero .btn-primary { background: var(--accent-on-dark); color: #1c1a33; }
.hero-art { display: none; justify-self: center; }
@media (min-width: 900px) { .hero-art { display: block; } }
.hero-art svg { display: block; max-width: 100%; height: auto; }
.hero-art .beams rect { fill: #ffffff; opacity: .035; }
.hero-art .links path { stroke: var(--line-on-dark); stroke-width: 2; fill: none; }
.hero-art .links .faint { stroke: #34315d; stroke-dasharray: 4 6; }
.hero-art .dots circle { fill: #7d79b0; }
.hero-art .node circle { fill: var(--ink-0b); stroke: var(--line-on-dark); stroke-width: 2; }
.hero-art .node text { fill: var(--on-dark); font: 600 13px var(--font); text-anchor: middle; }
.hero-art .hub circle { fill: var(--ink-0b); stroke: var(--accent-on-dark); stroke-width: 3; }
.hero-art .hub .core { fill: var(--accent-on-dark); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .hub .core { animation: pulse 3.2s ease-in-out infinite; transform-origin: 210px 190px; }
  @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.35); } }
}

/* sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent-text); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; margin-bottom: 10px; }
.intro { color: var(--ink-2); font-size: 1.125rem; max-width: 44em; }

/* service tiles */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 40px; }
.tile {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .15s ease, box-shadow .15s ease;
}
.tile:hover { border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(28, 26, 51, .08); }
.tile p { color: var(--ink-2); flex: 1; }
.tile-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--tile-ico-bg); color: var(--accent-text); margin-bottom: 18px;
}
.ico { width: 26px; height: 26px; }
.more { font-weight: 650; display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
.more::after { content: "\2192"; margin-left: .4em; }

/* ways to get help */
.ways { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.way p, .way address { color: var(--ink-2); }
.way address { margin-bottom: 1em; color: var(--ink); font-weight: 600; }
.way .fine { font-size: .9375rem; }
.way .more { margin-top: auto; }
.way-drop { border-color: var(--accent); border-width: 2px; padding: 27px; }

/* fact strip */
.factband { background: var(--ink-0); color: var(--on-dark); padding: 40px 0; }
.facts { display: grid; gap: 24px 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.facts li { display: flex; flex-direction: column; border-left: 3px solid var(--accent-on-dark); padding-left: 16px; }
.fact-big { font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: #ffffff; letter-spacing: -.02em; }
.fact-small { color: var(--on-dark-2); }

/* area */
.area-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .area-in { grid-template-columns: 1.2fr 1fr; } }
.area-in p { font-size: 1.125rem; max-width: 36em; }
.honest { color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 16px; }
.places { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.places li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em;
}
.places li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 12px; vertical-align: middle; }

/* FAQ */
.faq-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: 1fr 1.6fr; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0;
  font-weight: 650; font-size: 1.125rem; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent-text); font-size: 1.6rem; font-weight: 400; line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--ink-2); padding-bottom: 8px; }

/* closing call to action */
.cta { background: var(--ink-0); color: var(--on-dark); padding: 72px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.cta h2 { color: #ffffff; margin: 0; }
.cta .actions { margin: 16px 0; }
.cta .btn-primary { background: var(--accent-on-dark); color: #1c1a33; }

/* footer */
.site-footer { background: var(--ink-0); color: var(--on-dark-2); border-top: 1px solid var(--ink-0b); padding: 48px 0; font-size: .9375rem; }
.footer-in { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1fr 2fr; } }
.wordmark-footer { color: #ffffff; margin: 0; min-height: 0; }
.wordmark-footer .tld { color: var(--accent-on-dark); }
.footer-tag { margin: 4px 0 0; }
.footer-lines li { margin-bottom: 10px; }
.footer-lines strong { color: var(--on-dark); }
.site-footer a { color: var(--on-dark); }

/* 404 */
.notfound { min-height: 50vh; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }

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