/* Hallmark · macrostructure: Interval Table (custom maintenance-schedule home) · tone: utilitarian · anchor hue: safety yellow (oklch ~85 0.17 95) over graphite steel
 * audited with the hallmark skill 2026-12-03: side-stripe cards removed, tokens only, hero image eager, small mono sizes raised */
:root {
  --paper: #eceff3;
  --card: #fafbfc;
  --ink: #1b2027;
  --ink-soft: #3a444f;
  --muted: #566170;
  --line: #c5cdd6;
  --steel: #dde3ea;
  --steel-deep: #aab4c0;
  --yellow: #f5c400;
  --yellow-deep: #d9ab00;
  --link: #0b4a7a;
  --white: #ffffff;
  --scrim: rgb(27 32 39 / 0.72);
  --foot-line: rgb(250 251 252 / 0.2);
  --shadow: 0 1px 0 rgb(27 32 39 / 0.06), 0 8px 24px -16px rgb(27 32 39 / 0.35);
  --radius: 6px;
  --font-head: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, li, dd, dt, td, th, a { overflow-wrap: anywhere; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; border-radius: 2px; }
.asg-wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.asg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.asg-skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--yellow); color: var(--ink); padding: 0.6rem 0.9rem; z-index: 50; }
.asg-skip:focus { top: 0.5rem; }
.asg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* top bar and menu sheet (one Menu at every width) */
.asg-top { background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--yellow); position: sticky; top: 0; z-index: 30; }
.asg-top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.asg-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--paper); text-decoration: none; min-width: 0; }
.asg-brand-text { display: grid; line-height: 1.15; min-width: 0; }
.asg-brand-text strong { font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.01em; }
.asg-brand-text small { font-family: var(--font-mono); font-size: 0.75rem; color: var(--steel-deep); }
.asg-m-a { fill: var(--yellow); }
.asg-m-b { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.asg-menu-btn { font: inherit; font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; background: var(--yellow); color: var(--ink); border: 0; border-radius: var(--radius); padding: 0.7rem 1.1rem; min-height: 2.75rem; cursor: pointer; font-weight: 500; }
.asg-menu-btn:hover { background: var(--yellow-deep); }
.asg-sheet { position: fixed; inset: 0; background: var(--scrim); z-index: 60; display: grid; place-items: start center; padding: 1rem; overflow-y: auto; }
.asg-sheet[hidden] { display: none; }
.asg-sheet-card { background: var(--card); width: min(100%, 64rem); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.asg-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-family: var(--font-head); font-size: 1.2rem; }
.asg-sheet-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.asg-navbox { border-top: 3px solid var(--yellow); padding-top: 0.6rem; }
.asg-navbox h2 { margin: 0; font-family: var(--font-head); font-size: 1.1rem; }
.asg-navbox p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.asg-navbox ul { list-style: none; margin: 0; padding: 0; }
.asg-navbox a { display: block; padding: 0.4rem 0; }

/* hero */
.asg-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2.5rem 0 1.5rem; }
.asg-hero-plain { grid-template-columns: minmax(0, 1fr); }
.asg-crumbs { margin: 0 0 0.6rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.asg-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; margin: 0 0 0.8rem; font-weight: 700; letter-spacing: -0.01em; }
.asg-lede { font-size: 1.15rem; color: var(--ink-soft); margin: 0; max-width: 40rem; }
.asg-photo { margin: 0; }
.asg-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }

/* the interval table (signature element) */
.asg-tablesec { padding-top: 0.5rem; }
.asg-tablewrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.asg-interval { width: 100%; border-collapse: collapse; table-layout: fixed; }
.asg-interval th, .asg-interval td { border: 1px solid var(--line); padding: 0.9rem 1rem; vertical-align: top; text-align: left; font-size: 1rem; line-height: 1.4; }
.asg-interval thead th { background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; border-color: var(--ink); border-bottom: 4px solid var(--yellow); }
.asg-interval tbody th { background: var(--steel); font-family: var(--font-head); font-size: 1.05rem; width: 15rem; }
.asg-interval td a { display: block; text-decoration: none; color: var(--ink); font-weight: 500; padding: 0.1rem 0; }
.asg-interval td { background: var(--card); }
.asg-interval td:hover { background: var(--yellow); }
.asg-interval td:hover a { text-decoration: underline; }
.asg-corner span { color: var(--yellow); }

/* article layout: sticky "at a glance" card */
.asg-cols { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 2rem; }
.asg-areacols { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 2rem; }
.asg-glance { position: sticky; top: 5.5rem; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--yellow); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.asg-glance h2 { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.6rem; }
.asg-glance dl, .asg-card dl { margin: 0; display: grid; gap: 0.7rem; }
.asg-glance dt, .asg-card dt { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.asg-glance dd, .asg-card dd { margin: 0; font-weight: 600; }
.asg-outwrap { position: sticky; top: 5.5rem; }
.asg-outline { width: 100%; max-width: 12rem; }
.asg-county { fill: var(--steel); stroke: var(--steel-deep); stroke-width: 1.5; }
.asg-roads { fill: none; stroke: var(--steel-deep); stroke-width: 1.2; stroke-dasharray: 3 2; }
.asg-dot { fill: var(--ink-soft); }
.asg-dot-on { fill: var(--yellow-deep); stroke: var(--ink); stroke-width: 1.5; }
.asg-article { min-width: 0; }
.asg-solo { padding-bottom: 2rem; }
.asg-sec { margin: 0 0 2rem; }
.asg-article .asg-sec { max-width: 46rem; }
.asg-sec h2 { font-family: var(--font-head); font-size: 1.55rem; line-height: 1.2; margin: 0 0 0.6rem; padding-top: 0.6rem; border-top: 3px solid var(--ink); }
.asg-sec h3 { font-family: var(--font-head); font-size: 1.1rem; margin: 1.1rem 0 0.3rem; }
.asg-sec p { margin: 0 0 1rem; }
.asg-sec ul, .asg-sec ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.asg-sec li { margin-bottom: 0.35rem; }
.asg-faq h3 { font-size: 1.05rem; }
.asg-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 2rem; max-width: 46rem; }
.asg-card h3 { margin: 0 0 0.7rem; font-family: var(--font-head); font-size: 1.1rem; }
.asg-card dl { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.asg-community { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem 0.4rem; margin: 0 0 2rem; max-width: 46rem; }
.asg-community h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 0.6rem; }
.asg-ent { border-top: 1px solid var(--line); padding-top: 0.7rem; }
.asg-ent p { margin: 0 0 0.8rem; }
.asg-community ul { padding-left: 1.2rem; }

/* chips, lists, cards */
.asg-chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.asg-chips a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 0.9rem; background: var(--card); border: 1px solid var(--steel-deep); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.asg-chips a:hover { background: var(--yellow); border-color: var(--yellow-deep); }
.asg-guidelist, .asg-arealist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.asg-guidelist a, .asg-arealist a { display: grid; gap: 0.25rem; height: 100%; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--steel-deep); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.asg-guidelist a:hover, .asg-arealist a:hover { border-top-color: var(--yellow-deep); background: var(--white); }
.asg-guidelist strong, .asg-arealist strong { font-family: var(--font-head); font-size: 1.1rem; }
.asg-guidelist span, .asg-arealist span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }

/* directory */
.asg-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; }
.asg-filter[hidden] { display: none; }
.asg-filter button { font: inherit; font-size: 0.95rem; min-height: 2.75rem; padding: 0.35rem 1rem; background: var(--card); border: 1px solid var(--steel-deep); border-radius: 999px; cursor: pointer; color: var(--ink); }
.asg-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.asg-cards { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.asg-cards li { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--steel-deep); border-radius: var(--radius); padding: 1rem 1.1rem; }
.asg-cards li:hover { border-top-color: var(--yellow-deep); }
.asg-cards li[hidden] { display: none; }
.asg-cards h3 { margin: 0 0 0.4rem; font-family: var(--font-head); font-size: 1.15rem; }
.asg-cards p { margin: 0 0 0.5rem; font-size: 0.97rem; }
.asg-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.asg-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.asg-tags span { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--steel); padding: 0.2rem 0.5rem; border-radius: 3px; }
.asg-spec-table { width: 100%; max-width: 46rem; border-collapse: collapse; margin: 0 0 2rem; background: var(--card); }
.asg-spec-table th, .asg-spec-table td { border: 1px solid var(--line); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; }
.asg-spec-table th { width: 9rem; background: var(--steel); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.asg-note { color: var(--muted); font-size: 0.95rem; }

/* guides: pager and sources */
.asg-pager { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 3rem; }
.asg-pager a { display: grid; gap: 0.2rem; padding: 0.9rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); min-width: 11rem; }
.asg-pager span { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; color: var(--muted); }
.asg-next { text-align: right; }
.asg-refs { max-width: 46rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.92rem; }
.asg-refs h2 { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.4rem; }
.asg-refs ol { padding-left: 1.3rem; margin: 0; columns: 2 16rem; }

/* forms and map */
.asg-contact { display: grid; gap: 0.9rem; max-width: 36rem; margin: 0 0 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.asg-contact h2 { font-family: var(--font-head); font-size: 1.35rem; margin: 0; }
.asg-contact label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }
.asg-contact input, .asg-contact textarea { font: inherit; padding: 0.7rem 0.8rem; border: 1px solid var(--steel-deep); border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%; }
.asg-btn { font: inherit; font-weight: 600; background: var(--yellow); color: var(--ink); border: 0; border-radius: var(--radius); min-height: 2.9rem; padding: 0.6rem 1.4rem; cursor: pointer; justify-self: start; }
.asg-btn:hover { background: var(--yellow-deep); }
.asg-status { margin: 0; min-height: 1.4em; color: var(--ink-soft); }
.asg-map iframe { width: 100%; height: 22rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--steel); }
.asg-section { padding: 2.5rem 0; }
.asg-measure { max-width: 44rem; }
.asg-measure h1 { font-family: var(--font-head); font-size: 2.2rem; margin: 0 0 1rem; }
.asg-measure h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 1.6rem 0 0.4rem; }

/* footer: a short ruled service log */
.asg-foot { background: var(--ink); color: var(--paper); margin-top: 3rem; padding: 2rem 0 1.5rem; border-top: 4px solid var(--yellow); }
.asg-log { margin: 0 0 1.2rem; display: grid; gap: 0; }
.asg-log div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--foot-line); }
.asg-log dt { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-deep); }
.asg-log dd { margin: 0; }
.asg-foot a { color: var(--yellow); }
.asg-foot-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: 0 0 1rem; }
.asg-foot-nav a { display: inline-block; padding: 0.5rem 0; }
.asg-fine { margin: 0; font-size: 0.85rem; color: var(--steel-deep); }

/* small screens: the table becomes stacked rows, the side cards move above the text */
@media (max-width: 56rem) {
  .asg-hero { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
  .asg-cols, .asg-areacols { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .asg-glance, .asg-outwrap { position: static; }
  .asg-outline { max-width: 8rem; }
  .asg-interval, .asg-interval tbody, .asg-interval tr, .asg-interval th, .asg-interval td { display: block; width: 100%; }
  .asg-interval thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .asg-interval tbody th { width: 100%; background: var(--ink); color: var(--paper); border: 0; border-bottom: 4px solid var(--yellow); }
  .asg-interval td { border: 0; border-bottom: 1px solid var(--line); padding: 0.8rem 1rem; }
  .asg-interval td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.15rem; }
  .asg-interval tr { border-bottom: 0; }
  .asg-log div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .asg-pager { flex-direction: column; }
  .asg-next { text-align: left; }
  .asg-brand-text small { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .asg-interval td, .asg-chips a, .asg-menu-btn { transition: background-color 0.15s ease; }
}
