/* AZero INC. website styles
   Brand: navy #14213D, brick #C8371E, stone #EFECE7, white panels, ink #14171D
   Font: Schibsted Grotesk (self hosted, SIL Open Font License) */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
}

:root {
  --navy: #14213d;
  --navy-2: #22355c;
  --navy-tint: #e5e9f1;
  --brick: #c8371e;
  --brick-dark: #a52b15;
  --stone: #efece7;
  --stone-2: #e6e2db;
  --paper: #ffffff;
  --ink: #14171d;
  --muted: #4b5262;
  --rule: #d9d4cc;
  --rule-strong: #b8b1a6;

  --radius-s: 4px;
  --radius-m: 6px;
  --radius-l: 10px;

  --wrap: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2rem);

  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h4: 1.125rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.65rem, 2.6vw, 2.125rem);
  --fs-h1: clamp(2.1rem, 4.6vw, 3.4rem);

  --font: "Schibsted Grotesk", Arial, Helvetica, sans-serif;
}

*,
*::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 { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
}

img, svg { display: block; max-width: 100%; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-sm { width: 1.1rem; height: 1.1rem; flex: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--navy);
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }
p { margin: 0 0 1em; }
p, li { max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 700; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--brick-dark); }

:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.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 link */
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.25rem;
  border-radius: var(--radius-s); border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--stone); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1; margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand-name { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-tag { font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.3rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; max-width: none; }
.site-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a,
.sub-toggle {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 44px; padding: 0.5rem 0.7rem;
  color: var(--ink); text-decoration: none; font: inherit; font-weight: 500; font-size: 1rem;
  background: none; border: 0; border-radius: var(--radius-s); cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover { color: var(--brick-dark); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--brick); border-radius: 0; }
.sub-toggle .icon-sm { transition: transform 0.15s ease; }
.sub-toggle[aria-expanded="true"] .icon-sm { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub {
  display: none;
  position: absolute; left: 0; top: calc(100% + 6px);
  min-width: 260px; padding: 0.5rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.12);
}
.sub a { display: flex; width: 100%; padding: 0.6rem 0.75rem; }
.sub a:hover { background: var(--stone); color: var(--navy); }
.site-nav .sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brick); border-radius: 0; }
.sub-toggle[aria-expanded="true"] + .sub { display: block; }
.no-js .has-sub:hover .sub,
.no-js .has-sub:focus-within .sub { display: block; }

.menu-toggle {
  display: none;
  align-items: center; gap: 0.4rem;
  min-height: 44px; padding: 0.5rem 0.85rem;
  font: inherit; font-weight: 700; color: var(--navy);
  background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius-s); cursor: pointer;
}

.header-cta { display: inline-block; line-height: 1.5; }
.page-hero + .section-tight { padding-top: 0.5rem; }

@media (max-width: 1060px) {
  .header-inner { flex-wrap: wrap; gap: 0.75rem; min-height: 68px; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .brand-name { font-size: 1.4rem; }
  .menu-toggle { display: inline-flex; order: 2; }
  .header-cta { order: 1; padding: 0.6rem 0.9rem; font-size: 0.95rem; }
  .site-nav { order: 3; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.25rem 0 0.5rem; border-top: 1px solid var(--rule); }
  .site-nav a, .sub-toggle { width: 100%; justify-content: space-between; padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--stone-2); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brick); padding-left: 0.75rem; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .no-js .sub { display: block; }
}
@media (max-width: 560px) {
  .cta-long { display: none; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
  .header-cta { padding: 0.6rem 0.8rem; }
}

/* Sections */
main { display: block; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-navy { background: var(--navy); color: #e9ecf3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-navy .section-head p { color: #c9d0de; }

/* Ledger rule: the double underline accountants use under a final total */
.ledger-rule { border: 0; border-top: 3px double var(--navy); margin: 0; }

/* Hero */
.hero { padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 56ch; }
.hero-note { font-size: 0.95rem; color: var(--muted); margin: 0; }
.page-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 20ch; }
.crumb { font-size: 0.95rem; margin-bottom: 1rem; color: var(--muted); }
.crumb a { color: var(--muted); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Ledger panels: the "get to zero" visuals */
.ledger {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-l);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -24px rgba(20, 33, 61, 0.35);
  margin: 0;
}
.ledger figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.ledger-title { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.ledger-tag { font-size: 0.8rem; color: var(--muted); }
.ledger table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums; }
.ledger th, .ledger td { padding: 0.6rem 0; border-bottom: 1px solid var(--stone-2); text-align: left; vertical-align: baseline; font-weight: 400; }
.ledger th { padding-right: 1rem; }
.ledger td { text-align: right; white-space: nowrap; }
.ledger .sub-label { display: block; font-size: 0.85rem; color: var(--muted); }
.ledger tr.total th, .ledger tr.total td { border-bottom: 0; padding-top: 0.8rem; font-weight: 700; color: var(--navy); }
.ledger tr.total td { font-size: 1.6rem; line-height: 1; font-variant-numeric: proportional-nums lining-nums; }
.ledger tr.total td span { border-bottom: 4px double var(--navy); padding-bottom: 0.15rem; }
.ledger-foot { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--stone-2); font-size: 0.9rem; color: var(--muted); }
.ledger-foot .icon-sm { color: var(--brick); }

/* Zero board on the home page */
.zero-board .zb-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 0.95rem 0; border-bottom: 1px solid var(--stone-2); }
.zero-board .zb-row:last-of-type { border-bottom: 0; }
.zb-label { font-weight: 700; color: var(--navy); }
.zb-detail { display: block; font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.zb-value { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1; font-variant-numeric: proportional-nums lining-nums; letter-spacing: -0.02em; }
.zb-value span { border-bottom: 5px double var(--brick); padding-bottom: 0.1rem; }

/* Process map (business analysis) */
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; counter-reset: none; }
.flow li { max-width: none; margin: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem; padding: 0.6rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--stone); position: relative; }
.flow li + li::before { content: ""; position: absolute; left: 1.4rem; top: -0.55rem; width: 2px; height: 0.5rem; background: var(--rule-strong); }
.flow .wait { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow li.bottleneck { background: #fbeae6; border-color: var(--brick); }
.flow li.bottleneck .wait { color: var(--brick-dark); font-weight: 700; }

/* Schedule chart (project management) */
.gantt { display: grid; grid-template-columns: 7.5rem repeat(10, minmax(0, 1fr)); row-gap: 0.55rem; align-items: center; font-size: 0.9rem; }
.gantt .wk { font-size: 0.75rem; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.gantt .task { grid-column: 1; color: var(--ink); padding-right: 0.5rem; line-height: 1.25; }
.gantt .bar { height: 0.9rem; border-radius: 3px; background: var(--navy); }
.gantt .bar.done { background: var(--navy-2); opacity: 0.55; }
.gantt .bar.now { background: var(--brick); }
.g-c1 { grid-column: 2 / span 1; } .g-c2 { grid-column: 3 / span 2; } .g-c3 { grid-column: 4 / span 4; }
.g-c4 { grid-column: 7 / span 3; } .g-c5 { grid-column: 10 / span 2; }

/* Checklist (IT) */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--stone-2); max-width: none; margin: 0; }
.checks .ok { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--navy); font-weight: 700; font-size: 0.9rem; }

/* Services ledger list on the home page */
.service-list { border-top: 3px double var(--navy); }
.service-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 15rem; gap: 1.5rem 2.5rem;
  align-items: start; padding: 1.75rem 0; border-bottom: 1px solid var(--rule);
}
.service-row h3 { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.35rem; }
.service-row h3 .icon { color: var(--brick); }
.service-row h3 a { text-decoration: none; color: var(--navy); }
.service-row h3 a:hover { color: var(--brick-dark); text-decoration: underline; }
.service-row p { margin: 0; color: var(--muted); }
.service-row ul { margin: 0; padding-left: 1.1rem; }
.service-row ul li { margin: 0 0 0.25rem; }
.service-row .more { white-space: nowrap; font-weight: 700; justify-self: end; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* Generic grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Points: short heading plus text, separated by a top rule */
.point { border-top: 2px solid var(--navy); padding-top: 1rem; }
.point h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.point p { margin: 0; color: var(--muted); }
.section-navy .point { border-top-color: #8f9bb6; }
.section-navy .point p { color: #c9d0de; }
.project-types ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.project-types li { margin: 0 0 0.35rem; }

/* Included items */
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0; padding: 0; list-style: none; }
.included li { max-width: none; margin: 0; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.included h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.included p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .included { grid-template-columns: 1fr; } }

/* Tiles (industries and IT) */
.tile {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.25rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m);
  text-decoration: none; color: var(--ink); height: 100%;
}
.tile .icon { color: var(--brick); width: 1.75rem; height: 1.75rem; }
.tile strong { color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.tile span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
a.tile:hover { border-color: var(--navy); color: var(--ink); }
a.tile:hover strong { text-decoration: underline; }
.tile-grid { list-style: none; padding: 0; margin: 0; }
.tile-grid li { max-width: none; margin: 0; }
.after-link { margin: 1.5rem 0 0; font-weight: 500; }

/* Two column split: text and list */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.45rem 0; margin: 0; }
.check-list .icon-sm { color: var(--brick); margin-top: 0.3rem; }
.section-navy .check-list .icon-sm { color: #f0a493; }

/* Job card: service snapshot styled as a work order */
.job-card { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); overflow: hidden; }
.job-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--navy); color: #fff; }
.job-card-head h2 { color: #fff; margin: 0; font-size: 1.25rem; }
.job-card-head span { font-size: 0.85rem; color: #c9d0de; }
.job-card dl { margin: 0; display: grid; grid-template-columns: 14rem 1fr; }
.job-card dt, .job-card dd { margin: 0; padding: 0.9rem 1.5rem; border-bottom: 1px solid var(--stone-2); }
.job-card dt { font-weight: 700; color: var(--navy); background: #faf9f7; }
.job-card dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 640px) {
  .job-card dl { grid-template-columns: 1fr; }
  .job-card dt { border-bottom: 0; padding-bottom: 0.2rem; background: none; }
  .job-card dd { padding-top: 0; }
}

/* Steps: a real sequence, so numbers are used */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; margin: 0; max-width: none; border-top: 2px solid var(--navy); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: 2rem; line-height: 1; color: var(--brick); margin-bottom: 0.6rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--navy); font-size: 1.1rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon-sm { transition: transform 0.15s ease; color: var(--brick); }
.faq details[open] summary .icon-sm { transform: rotate(180deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--ink); }

/* Notes */
.note {
  border-left: 4px solid var(--brick); background: var(--paper);
  padding: 1.1rem 1.4rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; max-width: 860px;
}
.note h2, .note h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.note p { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--stone-2); }
table.data thead th { background: var(--navy); color: #fff; font-weight: 700; border-bottom: 0; }
table.data tbody th { color: var(--navy); font-weight: 700; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
table.data ul { margin: 0; padding-left: 1.1rem; }
table.data li { margin: 0 0 0.2rem; }

/* Jump links */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.jump li { margin: 0; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.8rem; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--paper); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.jump a:hover { border-color: var(--navy); color: var(--navy); }

/* IT detail blocks */
.it-detail { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: start; padding: 2rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 110px; }
.it-detail:last-of-type { margin-bottom: 2rem; }
.it-detail h3 { display: flex; gap: 0.6rem; align-items: center; margin: 0; }
.it-detail h3 .icon { color: var(--brick); }
.it-detail ul { margin: 0; }
@media (max-width: 760px) { .it-detail { grid-template-columns: 1fr; } }

/* Industry rows */
.industry-rows { list-style: none; padding: 0; margin: 0; border-top: 3px double var(--navy); }
.industry-rows li { display: grid; grid-template-columns: 2.5rem minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 1rem 1.5rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); margin: 0; max-width: none; }
.industry-rows .icon { color: var(--brick); width: 1.75rem; height: 1.75rem; }
.industry-rows h2 { font-size: 1.2rem; margin: 0; }
.industry-rows ul { margin: 0; padding-left: 1.1rem; }
@media (max-width: 720px) { .industry-rows li { grid-template-columns: 2.5rem 1fr; } .industry-rows ul { grid-column: 2; } }

/* Packages */
.package-block { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.package-block h2 { font-size: 1.35rem; margin: 0; display: flex; align-items: center; gap: 0.6rem; }
.package-block h2 .icon { color: var(--brick); }
.package-block p { margin: 0; color: var(--muted); }
.package-block .btn { align-self: flex-start; margin-top: auto; }
.price-tbd { font-weight: 700; color: var(--navy); }

/* Call to action band */
.cta-band { background: var(--navy-2); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 0.35rem; }
.cta-band p { margin: 0; color: #c9d0de; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-facts { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-facts li { display: flex; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.contact-facts .icon { color: var(--brick); margin-top: 0.15rem; }
.contact-facts strong { display: block; color: var(--navy); }

.form-panel { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius-l); padding: clamp(1.25rem, 4vw, 2.25rem); scroll-margin-top: 100px; }
.form-panel h2 { margin-bottom: 0.25rem; }
.field { margin-bottom: 1.15rem; }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; padding: 0; }
.field .hint { display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-top: 0.1rem; }
.req { color: var(--brick-dark); font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.8rem;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #8d8679; border-radius: var(--radius-s);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brick); outline-offset: 1px; border-color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; margin: 0 0 1.15rem; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.field .choice { display: inline-flex; margin: 0; color: var(--ink); align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.45rem 0.9rem; border: 1.5px solid #8d8679; border-radius: var(--radius-s); background: #fff; cursor: pointer; font-weight: 500; }
.field .choice input { width: 1.1rem; height: 1.1rem; accent-color: var(--brick); margin: 0; }
.field .choice:has(input:checked) { border-color: var(--navy); background: var(--navy-tint); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 0; }
.book-online { margin: 0 0 1.5rem; padding: 1.1rem 1.25rem; border: 1px dashed var(--rule-strong); border-radius: var(--radius-m); background: var(--stone); }
.book-online p { margin: 0 0 0.75rem; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy); color: #c9d0de; padding: 3.5rem 0 2rem; font-size: 0.98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f0a493; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem 3rem; }
.footer-brand { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
.site-footer h2 { font-size: 1rem; color: #fff; margin: 0 0 0.75rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.45rem; }
.site-footer p { margin: 0 0 0.5rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #33456c; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Thank you and 404 */
.center-panel { max-width: 640px; }
.big-zero { font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; line-height: 1; color: var(--navy); margin: 0 0 1.5rem; }
.big-zero span { border-bottom: 8px double var(--brick); }

@media print {
  .site-header, .site-footer, .cta-band, .btn-row, .skip { display: none !important; }
  body { background: #fff; }
}

/* Packages and sample pricing */
.package-head h2 { display: flex; align-items: center; gap: 0.6rem; }
.package-head h2 .icon { color: var(--brick); width: 1.75rem; height: 1.75rem; }
.tier-grid { list-style: none; padding: 0; margin: 0 0 2rem; }
.tier-grid > li { max-width: none; margin: 0; }
.tier { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius-m); }
.section-paper .tier { background: #fbfaf8; }
.tier h3 { font-size: 1.25rem; margin: 0; }
.tier-price { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tier-price span { display: block; font-size: 1.55rem; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
.tier-for { margin: 0 0 0.25rem; font-weight: 500; }
.tier .check-list li { padding: 0.3rem 0; }
.price-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-bottom: 1rem; }
.price-lists.single { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-top: 1rem; }
.price-block h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.price-list { margin: 0; border-top: 3px double var(--navy); }
.price-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 0.25rem 1.25rem; padding: 0.75rem 0; border-bottom: 1px dotted var(--rule-strong); }
.price-list dt { margin: 0; }
.price-list dd { margin: 0; text-align: right; font-weight: 700; color: var(--navy); }
@media (max-width: 860px) { .price-lists { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .price-list div { grid-template-columns: 1fr; } .price-list dd { text-align: left; } }
