/* ==========================================================================
   Westlake Insurance Agency
   One stylesheet. No framework, no build step.
   Visual language: the cover note. Field labels, hairline rules, a schedule
   grid, one stamp. Sharp corners throughout — documents are not rounded.
   ========================================================================== */

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand — sampled from the logo files */
  --navy: #052965;
  --sky: #46c9f7;
  --orange: #f9740d;

  /* Surfaces */
  --paper: #f1f4f9;
  --white: #ffffff;
  --ink: var(--navy);
  --ink-2: #3d5a8f;
  --ink-3: #566c96;

  /* Rules */
  --rule: rgba(5, 41, 101, 0.13);
  --rule-2: rgba(5, 41, 101, 0.3);
  --rule-ink: rgba(255, 255, 255, 0.22);
  --rule-ink-2: rgba(255, 255, 255, 0.5);
  --stamp-ink: #b34a00;

  /* Type */
  --sans: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-h3: 1.1875rem;
  --t-h2: clamp(1.5rem, 1.14rem + 1.45vw, 2.05rem);
  --t-h1: clamp(1.95rem, 1.3rem + 2.6vw, 3rem);
  --t-display: clamp(2.3rem, 1.35rem + 4.1vw, 4rem);

  /* Space */
  --gap: clamp(1.25rem, 2.5vw, 2rem);
  --band: clamp(3.5rem, 7vw, 7rem);
  --wrap: 1180px;
  --pad: clamp(1.25rem, 4.5vw, 3.5rem);
  --head-h: 68px;

  /* Motion — exponential ease-out, the only curve used for entrances */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.62;
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

/* ---------- browser surfaces, themed ---------- */

::selection {
  background: var(--navy);
  color: var(--paper);
}

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

.band--ink :focus-visible,
.site-foot :focus-visible,
.actionbar :focus-visible {
  outline-color: var(--sky);
}

@supports (scrollbar-width: thin) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(5, 41, 101, 0.42) transparent;
  }
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(5, 41, 101, 0.36);
  border: 3px solid var(--paper);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 41, 101, 0.55);
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-h1);
  letter-spacing: -0.032em;
}

h2 {
  font-size: var(--t-h2);
  letter-spacing: -0.026em;
}

h3 {
  font-size: var(--t-h3);
  line-height: 1.24;
  letter-spacing: -0.018em;
}

h4 {
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

p {
  text-wrap: pretty;
}

.lead {
  font-size: var(--t-lg);
  line-height: 1.56;
  color: var(--ink-2);
  max-width: 54ch;
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose p,
.prose li {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2.4em;
}

.prose h3 {
  margin-top: 1.9em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.75em;
}

.prose ul {
  max-width: 68ch;
}

.prose ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-top: 0.55em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--ink-2);
}

.prose strong {
  font-weight: 600;
}

.small {
  font-size: var(--t-sm);
  color: var(--ink-2);
}

.tiny {
  font-size: var(--t-xs);
  color: var(--ink-2);
  line-height: 1.5;
}

.num {
  font-variant-numeric: tabular-nums;
}

.ta-r {
  text-align: right;
}

/* The schedule's native voice: a field label. */
.lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.4;
}

.band--ink .lbl,
.site-foot .lbl {
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- links ---------- */

a.link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.19em;
  text-decoration-color: rgba(5, 41, 101, 0.32);
  transition: text-decoration-color 140ms ease, text-decoration-thickness 140ms ease;
}

a.link:hover {
  text-decoration-color: var(--navy);
  text-decoration-thickness: 2px;
}

.band--ink a.link,
.site-foot a.link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.band--ink a.link:hover,
.site-foot a.link:hover {
  text-decoration-color: #fff;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.band {
  padding-block: var(--band);
  border-top: 1px solid var(--rule);
  position: relative;
}

.band--flush {
  border-top: 0;
  padding-block: 0;
}

.band--tight {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.band--white {
  background: var(--white);
}

.band--ink {
  background: var(--navy);
  color: #fff;
  border-top: 0;
}

.band--ink h1,
.band--ink h2,
.band--ink h3,
.band--ink h4 {
  color: #fff;
}

.band--ink p,
.band--ink li {
  color: rgba(255, 255, 255, 0.86);
}

.band--rule {
  border-top: 2px solid var(--navy);
}

.split {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 820px) {
  .split--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }

  .split--wide {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
}

.stack {
  display: grid;
  gap: var(--gap);
}

.stack--sm {
  gap: 0.85rem;
}

.stack--lg {
  gap: clamp(2rem, 4vw, 3.5rem);
}

.measure {
  max-width: 62ch;
}

.measure-wide {
  max-width: 74ch;
}

.sec-head {
  display: grid;
  gap: 0.9rem;
  max-width: 60ch;
}

.sec-head p {
  color: var(--ink-2);
}

.band--ink .sec-head p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- header ---------- */

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  font-size: var(--t-sm);
  transition: top 160ms var(--ease-out);
}

.skip:focus {
  top: 0.75rem;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--head-h);
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: auto;
  height: 27px;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav a,
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 140ms ease;
}

.nav a:hover,
.nav-btn:hover {
  color: var(--ink-2);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.4em;
  text-decoration-thickness: 2px;
}

.nav-btn::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms var(--ease-out);
}

.nav-btn[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.5rem;
  min-width: 17rem;
  background: var(--white);
  border: 1px solid var(--rule-2);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out),
    visibility 160ms;
}

.nav-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.7rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--rule);
}

.nav-panel li:last-child a {
  border-bottom: 0;
}

.nav-panel a span:last-child {
  color: var(--ink-3);
  font-size: var(--t-xs);
}

.nav-panel a:hover {
  background: var(--paper);
}

.head-cta {
  display: none;
}

.head-in .head-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid var(--rule-2);
  padding: 0.5rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 40px;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  transition: background 120ms ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 200ms var(--ease-out);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* mobile sheet */

.sheet {
  position: fixed;
  inset: var(--head-h) 0 0 0;
  z-index: 55;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 1.5rem var(--pad) 3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
}

.sheet[data-open="true"] {
  display: block;
}

.sheet-group + .sheet-group {
  margin-top: 1.6rem;
}

.sheet-group > .lbl {
  margin-bottom: 0.4rem;
}

.sheet a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
}

.sheet .sheet-cta {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 1000px) {
  .nav {
    display: block;
  }

  .nav-toggle,
  .sheet {
    display: none !important;
  }

  .head-cta {
    display: inline-flex;
  }

  .head-in .head-cta {
    display: inline-flex;
  }

  .brand img {
    height: 33px;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease,
    color 160ms ease, border-color 160ms ease;
}

.btn:active {
  transform: scale(0.975);
}

.btn.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.is-locked:active {
  transform: none;
}

.btn--cta {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}

.btn--cta:hover {
  background: #ff8a24;
  border-color: #ff8a24;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule-2);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(5, 41, 101, 0.04);
}

.band--ink .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.band--ink .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
  min-height: 42px;
  padding: 0.5rem 0.95rem;
  font-size: 0.8125rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- page head ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-xs);
  color: var(--ink-3);
  padding-block: 1.15rem 0;
}

.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 140ms ease;
}

.crumbs a:hover {
  border-bottom-color: var(--rule-2);
}

.crumbs span[aria-hidden] {
  color: var(--ink-3);
  opacity: 0.6;
}

.page-head {
  padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2.25rem, 4vw, 3.5rem);
}

.page-head h1 {
  max-width: 22ch;
}

.page-head .lead {
  margin-top: 1.15rem;
}

.page-head .btn-row {
  margin-top: 1.9rem;
}

/* ---------- hero (home) ---------- */

.hero {
  padding-block: clamp(2.25rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.hero h1 {
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.038em;
  max-width: 17ch;
}

.hero .lead {
  margin-top: 1.3rem;
  max-width: 46ch;
  font-size: 1.125rem;
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-note::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  flex: none;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(2rem, 4vw, 4.5rem);
  }
}

/* ---------- schedule panel ---------- */

.schedule {
  background: var(--white);
  border: 1px solid var(--rule-2);
  position: relative;
  margin-bottom: 2.4rem;
}

.schedule__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.15rem;
  border-bottom: 1.5px solid var(--navy);
}

.schedule__body {
  counter-reset: srow;
}

.schedule__row {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.schedule__row::before {
  counter-increment: srow;
  content: counter(srow, decimal-leading-zero);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding-top: 0.28rem;
  font-variant-numeric: tabular-nums;
}

.schedule__row h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.schedule__row p {
  font-size: var(--t-sm);
  color: var(--ink-2);
  margin-top: 0.18rem;
  line-height: 1.5;
}

.schedule__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 8rem 0.7rem 1.15rem;
  border-top: 1.5px solid var(--navy);
}

/* the stamp */

.stamp {
  position: absolute;
  right: -1.3rem;
  bottom: -1.7rem;
  width: 118px;
  height: 118px;
  color: var(--stamp-ink);
  opacity: 0.92;
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.stamp text {
  fill: currentColor;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.14em;
}

@media (max-width: 640px) {
  .schedule {
    margin-bottom: 1.9rem;
  }

  .schedule__foot {
    padding-right: 6rem;
  }

  .stamp {
    width: 88px;
    height: 88px;
    right: -0.2rem;
    bottom: -1.25rem;
  }
}

/* ---------- trust strip ---------- */

.trust {
  border-top: 1.5px solid var(--navy);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust > div {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
}

.trust > div:nth-child(odd) {
  padding-right: 1rem;
}

.trust > div:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
}

.trust > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.trust .lbl {
  display: block;
  margin-bottom: 0.3rem;
}

.trust b {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
}

.trust small {
  display: block;
  font-size: var(--t-xs);
  color: var(--ink-2);
  margin-top: 0.15rem;
}

@media (min-width: 760px) {
  .trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust > div {
    padding: 1.25rem 1.4rem;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .trust > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .trust > div:nth-child(even) {
    padding-left: 1.4rem;
  }
}

/* ---------- index (product entry) ---------- */

.index-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 3rem);
}

@media (min-width: 760px) {
  .index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.index-col > .lbl {
  padding-bottom: 0.55rem;
  border-bottom: 1.5px solid var(--navy);
  display: block;
}

.index-col ul {
  border-bottom: 1px solid var(--rule);
}

.index-col li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  transition: color 140ms ease, padding-left 200ms var(--ease-out);
}

.index-col li:first-child a {
  border-top: 0;
}

.index-col li a svg {
  width: 14px;
  height: 14px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  opacity: 0.45;
  transition: opacity 160ms ease, transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .index-col li a:hover {
    padding-left: 0.3rem;
  }

  .index-col li a:hover svg {
    opacity: 1;
    transform: translateX(2px);
  }
}

.index-col li a:active {
  transform: scale(0.995);
}

/* ---------- ledger table ---------- */

.ledger-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.ledger caption {
  caption-side: top;
  text-align: left;
  font-size: var(--t-xs);
  color: var(--ink-2);
  padding-bottom: 0.7rem;
}

.ledger th,
.ledger td {
  padding: 0.85rem 1rem 0.85rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.ledger thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  border-bottom: 1.5px solid var(--navy);
}

.ledger tbody th {
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-right: 1.5rem;
}

.ledger td:last-child,
.ledger th:last-child {
  padding-right: 0;
}

.ledger tbody tr:last-child td,
.ledger tbody tr:last-child th {
  border-bottom: 1.5px solid var(--navy);
}

.ledger--tight th,
.ledger--tight td {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* Narrow screens: a table that keeps its row labels on one line starves the
   value columns. Let everything wrap and tighten the gutters instead. */
@media (max-width: 719px) {
  .ledger {
    font-size: 0.875rem;
  }

  .ledger th,
  .ledger td {
    padding-right: 0.65rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .ledger tbody th {
    white-space: normal;
    padding-right: 0.9rem;
  }

  .ledger thead th {
    letter-spacing: 0.07em;
  }
}

.band--ink .ledger th,
.band--ink .ledger td {
  border-bottom-color: var(--rule-ink);
}

.band--ink .ledger thead th,
.band--ink .ledger tbody tr:last-child td,
.band--ink .ledger tbody tr:last-child th {
  border-bottom-color: var(--rule-ink-2);
}

.band--ink .ledger thead th,
.band--ink .ledger caption {
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- definition schedule ---------- */

.dl {
  display: grid;
  gap: 0;
}

.dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--rule);
}

.dl > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.dl dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 0.15rem;
}

.dl dd {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.008em;
}

.dl a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  transition: border-color 140ms ease;
}

.dl a:hover {
  border-bottom-color: var(--navy);
}

@media (min-width: 560px) {
  .dl > div {
    grid-template-columns: 10.5rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.band--ink .dl > div,
.site-foot .dl > div {
  border-color: var(--rule-ink);
}

.band--ink .dl dt,
.site-foot .dl dt {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- steps ---------- */

.steps {
  counter-reset: step;
  border-top: 1.5px solid var(--navy);
}.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--ink-3);
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.steps p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin-top: 0.2rem;
  max-width: 56ch;
}

.band--ink .steps {
  border-top-color: var(--rule-ink-2);
}

.band--ink .steps li {
  border-bottom-color: var(--rule-ink);
}

.band--ink .steps li::before {
  color: var(--sky);
}

.band--ink .steps p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- risk block ---------- */

.risk {
  border-top: 1.5px solid var(--navy);
  padding-top: 1rem;
}

.band--ink .risk {
  border-top-color: var(--rule-ink-2);
}

.risk p {
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: 52ch;
}

.band--ink .risk p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- ruled list ---------- */

.ruled-list {
  display: grid;
}

.ruled-list li {
  padding: 0.68rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--ink);
}

.ruled-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.band--ink .ruled-list li {
  border-color: var(--rule-ink);
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- plates ---------- */

.plate {
  margin: 0;
}

.plate img {
  width: 100%;
  border: 1px solid var(--rule-2);
  background: #dfe5ee;
}

.plate figcaption {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.65rem;
  font-size: var(--t-xs);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 48ch;
}

.plate figcaption::before {
  content: "";
  flex: none;
  width: 16px;
  height: 1px;
  background: var(--rule-2);
  margin-top: 0.62em;
}

.plate--wide figcaption {
  max-width: 62ch;
}

.plate--bleed {
  margin-inline: calc(var(--pad) * -1);
}

@media (min-width: 900px) {
  .plate--bleed {
    margin-inline: 0;
  }
}

.figure-pair {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 760px) {
  .figure-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .figure-pair > :nth-child(2) {
    margin-top: 3rem;
  }
}

/* ---------- pull quote ---------- */

.pull {
  border-top: 1.5px solid var(--navy);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.6rem;
  display: grid;
  gap: 0.6rem;
}

.pull p {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.024em;
  font-weight: 600;
  max-width: 34ch;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1.5px solid var(--navy);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.012em;
  transition: color 140ms ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--ink-2);
}

.faq summary .mark {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.34rem;
}

.faq summary .mark::before,
.faq summary .mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 220ms var(--ease-out), opacity 220ms ease;
}

.faq summary .mark::before {
  left: 0;
  top: 6.2px;
  width: 14px;
  height: 1.6px;
}

.faq summary .mark::after {
  left: 6.2px;
  top: 0;
  width: 1.6px;
  height: 14px;
}

.faq details[open] summary .mark::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq .answer {
  padding-bottom: 1.25rem;
  max-width: 68ch;
}

.faq .answer p {
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.faq .answer > * + * {
  margin-top: 0.8rem;
}

@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 240ms var(--ease-out),
      content-visibility 240ms allow-discrete;
    transition-behavior: allow-discrete;
  }

  .faq details[open]::details-content {
    block-size: auto;
  }
}

/* ---------- callout ---------- */

.callout {
  border: 1px solid var(--rule-2);
  background: var(--white);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.callout p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.callout strong {
  color: var(--navy);
  font-weight: 600;
}

.band--ink .callout {
  background: transparent;
  border-color: var(--rule-ink-2);
}

.band--ink .callout p {
  color: rgba(255, 255, 255, 0.82);
}

.band--ink .callout strong {
  color: #fff;
}

/* ---------- CTA block ---------- */

.cta-block {
  border-top: 1.5px solid var(--navy);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.4rem;
}

.cta-block h2 {
  max-width: 24ch;
}

.cta-block p {
  color: var(--ink-2);
  max-width: 52ch;
}

@media (min-width: 820px) {
  .cta-block {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
  }
}

/* ---------- offices ---------- */

.offices {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 720px) {
  .offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.office {
  border-top: 1.5px solid var(--navy);
  padding-top: 1.1rem;
}

.office h2,
.office h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.office h2 span,
.office h3 span {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.office .dl {
  margin-top: 0.9rem;
}

/* ---------- composer (quote) ---------- */

.composer {
  border: 1px solid var(--rule-2);
  background: var(--white);
  display: grid;
  gap: 0;
}

.composer__step {
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 1rem;
}

.composer__step:last-of-type {
  border-bottom: 0;
}

.composer__num {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.composer__num b {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field > label,
.field > .lbl {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 620px) {
  .field-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-flex;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  transition: border-color 140ms ease, background-color 140ms ease,
    color 140ms ease, transform 140ms var(--ease-out);
}

.chip input:hover + span {
  border-color: var(--ink-3);
}

.chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.chip input:active + span {
  transform: scale(0.98);
}

.check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.5;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 0.1rem 0 0;
  accent-color: var(--navy);
}

.composer__out {
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
  border-top: 1.5px solid var(--navy);
  display: grid;
  gap: 0.9rem;
  background: var(--paper);
}

.preview {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.preview:empty {
  display: none;
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--navy);
  color: #fff;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  font-size: 0.9375rem;
}

.foot-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 640px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .foot-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.42fr;
  }
}

.foot-brand img {
  height: 31px;
  width: auto;
}

.foot-brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 30ch;
}

.foot-col > .lbl {
  display: block;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--rule-ink);
}

.foot-col ul {
  display: grid;
  gap: 0.5rem;
}

.foot-col a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 0.9375rem;
  border-bottom: 1px solid transparent;
  transition: border-color 140ms ease, color 140ms ease;
}

.foot-col a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.site-foot .dl {
  margin-top: 0.2rem;
}

/* The footer columns are too narrow for a label column beside the value,
   so the schedule stacks here. */
.site-foot .dl > div {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.1rem;
  padding: 0.7rem 0;
}

.site-foot .dl dd,
.site-foot .dl a {
  font-size: 0.875rem;
  line-height: 1.5;
}

.site-foot .dl dt {
  color: rgba(255, 255, 255, 0.55);
}

.site-foot .dl dd,
.site-foot .dl a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
}

.site-foot .dl a {
  border-bottom-color: var(--rule-ink);
}

.foot-bar {
  border-top: 1px solid var(--rule-ink);
  padding-block: 1.35rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.66);
}

.foot-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.foot-bar a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot-bar a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.foot-note {
  border-top: 1px solid var(--rule-ink);
  padding-block: 1.25rem 1.5rem;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.foot-note details summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
}

.foot-note details summary::-webkit-details-marker {
  display: none;
}

.foot-note details[open] summary {
  margin-bottom: 0.7rem;
}

.foot-note ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

/* ---------- placeholder marker ---------- */

.cf {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.1em 0.4em;
  border: 1px dashed rgba(249, 116, 13, 0.9);
  color: #a84a06;
  background: rgba(249, 116, 13, 0.09);
  vertical-align: 0.06em;
  line-height: 1.35;
}

.band--ink .cf,
.site-foot .cf {
  color: #ffd0a8;
  border-color: rgba(249, 116, 13, 0.8);
  background: rgba(249, 116, 13, 0.16);
}

/* ---------- action bar ---------- */

.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.actionbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color 140ms ease;
}

.actionbar a + a {
  background: var(--orange);
  color: var(--navy);
}

.actionbar a:active {
  background: #031b44;
}

.actionbar a + a:active {
  background: #ff8a24;
}

@media (min-width: 1000px) {
  .actionbar {
    display: none;
  }
}

body {
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1000px) {
  body {
    padding-bottom: 0;
  }
}

/* ---------- motion: one authored moment ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }

  .js [data-rise].is-in {
    opacity: 1;
    transform: none;
  }

  .js [data-rule] {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 680ms var(--ease-out);
  }

  .js [data-rule].is-in {
    transform: scaleX(1);
  }

  /* the signature move: a plate uncovered from the top, like a photograph
     laid onto a page */
  .js [data-reveal] img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 820ms var(--ease-in-out);
  }

  .js [data-reveal].is-in img {
    clip-path: inset(0 0 0 0);
  }

  .stamp {
    animation: stamp-in 620ms var(--ease-out) 260ms both;
  }

  @keyframes stamp-in {
    from {
      opacity: 0;
      transform: rotate(-9deg) scale(1.14);
    }
    to {
      opacity: 0.92;
      transform: rotate(-9deg) scale(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .stamp {
    animation: none;
  }
}

/* ---------- utilities ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

.rule--strong {
  height: 1.5px;
  background: var(--navy);
}

.mt-0 {
  margin-top: 0;
}

.mt-s {
  margin-top: 0.75rem;
}

.mt-m {
  margin-top: 1.5rem;
}

.mt-l {
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.grid-2 {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid-3 {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (min-width: 760px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aside-note {
  font-size: var(--t-sm);
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding-top: 0.85rem;
  max-width: 58ch;
}

.disclaimer {
  font-size: var(--t-xs);
  line-height: 1.6;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  max-width: 72ch;
}

.band--ink .disclaimer {
  color: rgba(255, 255, 255, 0.66);
  border-top-color: var(--rule-ink);
}

/* page-anchor rail */

.rail {
  display: none;
}

@media (min-width: 980px) {
  .with-rail {
    display: grid;
    grid-template-columns: 13.5rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
  }

  .rail {
    display: block;
    position: sticky;
    top: calc(var(--head-h) + 2rem);
  }

  .rail .lbl {
    padding-bottom: 0.6rem;
    border-bottom: 1.5px solid var(--navy);
    display: block;
  }

  .rail ul {
    display: grid;
  }

  .rail a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: var(--t-sm);
    color: var(--ink-2);
    text-decoration: none;
    transition: color 140ms ease, padding-left 200ms var(--ease-out);
  }

  .rail a:hover {
    color: var(--navy);
    padding-left: 0.25rem;
  }
}

/* ---------- print ---------- */

@media print {
  body {
    padding-bottom: 0;
    background: #fff;
  }

  .site-head,
  .actionbar,
  .sheet,
  .stamp,
  .btn-row {
    display: none !important;
  }

  .band {
    padding-block: 1.5rem;
    break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }
}
