/* Brand: nocoroofcare.homes — NOCO Roofing, Fort Collins CO
   Namespace: noc69 · dark paprika field brief · Schibsted Grotesk + Source Sans 3
   Shared foundation only: tokens, topbar header, minimal footer, primitives.
   Page sections live in css/home.css, css/services.css, etc. */

:root {
  --noc69-char: #14110f;
  --noc69-char-2: #1c1816;
  --noc69-spice: color-mix(in srgb, var(--dna-accent, hsl(6, 68%, 50%)) 88%, #c24b3a);
  --noc69-spice-2: color-mix(in srgb, var(--dna-accent-2, hsl(14, 58%, 56%)) 80%, #d9b4a8);
  --noc69-bg: color-mix(in srgb, var(--dna-bg, #14110f) 86%, var(--noc69-char));
  --noc69-surface: color-mix(in srgb, var(--dna-surface, #1c1816) 78%, var(--noc69-char-2));
  --noc69-surface-2: color-mix(in srgb, var(--dna-surface-2, #241e1b) 72%, #2a221f);
  --noc69-ink: var(--dna-ink, #efe8e2);
  --noc69-soft: var(--dna-ink-soft, #b7a79d);
  --noc69-line: var(--dna-line, rgba(194, 75, 58, 0.18));
  --noc69-accent-ink: var(--dna-accent-ink, #1a0e0c);
  --noc69-wrap: 1140px;
  --noc69-gap: clamp(16px, 2.8vw, 32px);
  --noc69-display: var(--dna-font-display, "Schibsted Grotesk", "Avenir Next", sans-serif);
  --noc69-body: var(--dna-font-body, "Source Sans 3", "Segoe UI", system-ui, sans-serif);
  --noc69-ease: cubic-bezier(0.2, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(820px 380px at 92% -12%, color-mix(in srgb, var(--noc69-spice) 16%, transparent), transparent 62%),
    radial-gradient(640px 320px at 0% 8%, rgba(40, 24, 20, 0.55), transparent 58%),
    var(--noc69-bg);
  color: var(--noc69-ink);
  font-family: var(--noc69-body);
  font-size: 16.25px;
  line-height: 1.62;
  overflow-x: hidden;
}

html[data-dna-palette] body {
  background:
    radial-gradient(820px 380px at 92% -12%, color-mix(in srgb, var(--noc69-spice) 16%, transparent), transparent 62%),
    radial-gradient(640px 320px at 0% 8%, rgba(40, 24, 20, 0.55), transparent 58%),
    var(--noc69-bg);
  color: var(--noc69-ink);
}

body.noc69-nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--noc69-display);
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.018em;
  text-wrap: balance;
  font-weight: 600;
}

p { margin: 0 0 1em; text-wrap: pretty; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--noc69-spice);
  outline-offset: 3px;
}

::selection {
  background: var(--noc69-spice);
  color: var(--noc69-accent-ink);
}

.noc69-wrap {
  width: 100%;
  max-width: var(--noc69-wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 3.6vw, 28px);
}

.noc69-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--noc69-spice);
  color: var(--noc69-accent-ink);
  font-weight: 600;
}

.noc69-skip:focus {
  left: 12px;
  top: 12px;
}

.noc69-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--noc69-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.18s var(--noc69-ease), color 0.18s var(--noc69-ease), border-color 0.18s var(--noc69-ease);
}

.noc69-btn--solid {
  background: var(--noc69-spice);
  color: var(--noc69-accent-ink);
}

.noc69-btn--solid:hover {
  background: var(--noc69-spice-2);
}

.noc69-btn--line {
  background: transparent;
  border-color: color-mix(in srgb, var(--noc69-spice) 50%, transparent);
  color: var(--noc69-ink);
}

.noc69-btn--line:hover {
  border-color: var(--noc69-spice);
  background: color-mix(in srgb, var(--noc69-spice) 10%, transparent);
}

/* ---------- header: topbar ---------- */

.noc69-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--noc69-bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--noc69-line);
}

.noc69-topbar {
  border-bottom: 1px solid var(--noc69-line);
  background: color-mix(in srgb, var(--noc69-surface) 88%, #0e0c0b);
  font-size: 0.78rem;
  color: var(--noc69-soft);
}

.noc69-topbar-row {
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  min-height: 34px;
  flex-wrap: wrap;
}

.noc69-topbar p { margin: 0; }

.noc69-topbar a:hover { color: var(--noc69-ink); }

.noc69-topbar-tel,
.noc69-topbar-mail {
  margin-left: auto;
  font-weight: 600;
  color: var(--noc69-spice-2);
}

.noc69-topbar-mail { margin-left: 0; }

.noc69-nav-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
}

.noc69-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  min-width: 0;
}

.noc69-brand img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.noc69-brand span {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.noc69-brand b {
  font-family: var(--noc69-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.noc69-brand small {
  color: var(--noc69-soft);
  font-size: 0.76rem;
  font-weight: 500;
}

.noc69-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.noc69-links a { color: var(--noc69-soft); }

.noc69-links a:hover,
.noc69-links a[aria-current="page"] { color: var(--noc69-ink); }

.noc69-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--noc69-spice);
}

.noc69-nav-call,
.noc69-nav-cta { flex-shrink: 0; }

.noc69-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--noc69-line);
  border-radius: 2px;
  background: var(--noc69-surface);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.noc69-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--noc69-ink);
}

.noc69-drawer {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  background: var(--noc69-surface);
}

.noc69-drawer.is-open { display: flex; }

.noc69-drawer a {
  padding: 0.7rem 0;
  font-family: var(--noc69-display);
  font-weight: 600;
  color: var(--noc69-ink);
  border-bottom: 1px solid var(--noc69-line);
}

.noc69-drawer a[aria-current="page"] { color: var(--noc69-spice-2); }

.noc69-drawer-phone {
  margin-top: 0.3rem;
  color: var(--noc69-spice-2) !important;
  border-bottom: 0 !important;
}

/* ---------- main slot ---------- */

main[data-page-slot] {
  flex: 1 0 auto;
  min-height: 40vh;
}

/* ---------- footer: minimal ---------- */

.noc69-foot {
  margin-top: auto;
  border-top: 1px solid var(--noc69-line);
  background: color-mix(in srgb, var(--noc69-surface) 92%, #0c0a09);
  padding: 1.15rem 0;
}

.noc69-foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
}

.noc69-foot-brand {
  margin-right: 0;
}

.noc69-foot-brand img {
  width: 28px;
  height: 28px;
}

.noc69-foot-brand span {
  display: block;
  font-family: var(--noc69-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.noc69-foot-legal {
  margin: 0;
  color: var(--noc69-soft);
  font-size: 0.82rem;
}

.noc69-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--noc69-soft);
}

.noc69-foot-links a:hover { color: var(--noc69-ink); }

.noc69-foot-copy {
  margin: 0;
  width: 100%;
  color: var(--noc69-soft);
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .noc69-topbar-place,
  .noc69-topbar-hours { display: none; }

  .noc69-links,
  .noc69-nav-call,
  .noc69-nav-cta { display: none; }

  .noc69-burger { display: inline-flex; }

  .noc69-foot-links { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .noc69-brand small { display: none; }
}
