/* ============================================================
   Coastal Draft — carlsbadcriminaldefenselaw.com
   Law Office of Angelo Reyes, APC · Carlsbad Criminal Defense Law

   Identity: marine drafting table. Clear royal-blue drafting ink on
   white blueprint paper, driftwood tan sandline accents, drafting
   furniture (title blocks, dimension rules, sheet numbers, registration
   ticks). Geometric sans display, mono drafting annotations.
   Zero external fonts. Zero JavaScript beyond the year stamp.
   ============================================================ */

:root {
  /* drafting ink */
  --royal: #1C4FC4;
  --royal-bright: #2E63D8;
  --royal-deep: #12368F;
  --royal-ink: #0B2A73;
  --royal-tint: #EDF2FC;
  --royal-tint-2: #DFE8F9;
  /* paper */
  --paper: #FBFCFE;
  --paper-2: #F4F7FC;
  --white: #FFFFFF;
  --gridline: #E7ECF7;
  /* driftwood tan */
  --sand: #EDE4CF;
  --sand-deep: #DECDAC;
  --tan: #A6875B;
  --tan-deep: #7A6542;
  /* graphite */
  --ink: #1B2430;
  --ink-soft: #4A5568;
  --ink-faint: #6B7689;
  /* hairlines */
  --line: #C6D4EE;
  --line-dark: #9DB3DE;

  --sans: 'Avenir Next', Avenir, Futura, 'Century Gothic', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SF Mono', 'IBM Plex Mono', 'Courier New', monospace;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--royal-deep); }
::selection { background: var(--royal); color: var(--white); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- drafting sheet grid ground ---------- */
.sheet {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 31px, var(--gridline) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, var(--gridline) 31px 32px);
}

/* ---------- kickers / sheet numbers ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--royal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--tan);
  flex: none;
}
.kicker.tan { color: var(--tan-deep); }

h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--royal-ink);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--royal-ink);
  font-weight: 700;
}
h3 { font-size: 1.12rem; color: var(--royal-ink); font-weight: 700; }
.lede { font-size: 1.06rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .03em;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-royal { background: var(--royal); color: var(--white); }
.btn-royal:hover { background: var(--royal-deep); }
.btn-ghost { border-color: var(--royal); color: var(--royal-deep); background: transparent; }
.btn-ghost:hover { background: var(--royal); color: var(--white); }
.btn-paper { background: var(--white); color: var(--royal-deep); }
.btn-paper:hover { background: var(--royal-tint); }
.btn-tan { background: var(--tan); color: var(--white); }
.btn-tan:hover { background: var(--tan-deep); }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
header.site .toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; flex: none; }
.brand .btxt { display: flex; flex-direction: column; line-height: 1.15; }
.brand .bname {
  font-weight: 700;
  color: var(--royal-ink);
  font-size: 1.06rem;
  letter-spacing: -.01em;
}
.brand .bfirm {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}
header.site .right { display: flex; align-items: center; gap: 22px; }
header.site .phone {
  font-weight: 700;
  color: var(--royal-deep);
  text-decoration: none;
  font-size: 1.02rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
header.site .phone:hover { color: var(--royal); }
header.site .phone small {
  display: block;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
}
nav.main {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0 0 0;
}
nav.main a {
  display: inline-block;
  padding: 11px 12px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
  position: relative;
}
nav.main a:hover { color: var(--royal-deep); }
nav.main a.on {
  color: var(--royal-deep);
  border-bottom-color: var(--royal);
}
nav.main a.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background:
    linear-gradient(var(--tan) 0 100%) left 0 top 0 / 14px 3px no-repeat,
    linear-gradient(var(--tan) 0 100%) right 0 top 0 / 14px 3px no-repeat;
}
nav.main .sheetno {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--tan-deep);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- hero (index) ---------- */
.hero { padding: 72px 0 64px; position: relative; }
.hero .cols {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 18px 0 20px; }
.hero .sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 34rem; }
.hero .sub strong { color: var(--royal-deep); }
.hero .ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero .fine {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--ink-faint);
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  text-transform: uppercase;
}
.hero .fine span::before { content: "▸"; color: var(--tan); margin-right: 8px; }

/* ---------- drafting title-block panel ---------- */
.panel {
  background: var(--white);
  border: 2px solid var(--royal);
  position: relative;
}
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--tan);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}
.panel::before { top: -2px; left: -2px; border-top-width: 4px; border-left-width: 4px; }
.panel::after { bottom: -2px; right: -2px; border-bottom-width: 4px; border-right-width: 4px; }
.panel .pin {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em;
  color: var(--ink-faint); text-transform: uppercase;
}
.panel .pin.rev { right: 8px; left: auto; }

/* hero chart panel */
.chart-panel { padding: 18px 18px 30px; }
.chart-panel .chartframe {
  border: 1px solid var(--line);
  background: var(--paper);
}
.chart-panel .tb {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-top: 2px solid var(--royal);
  margin-top: 14px;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--royal-deep);
}
.chart-panel .tb .dim { color: var(--ink-faint); }

/* ---------- dimension rules ---------- */
.dim {
  position: relative;
  border-top: 2px solid var(--line-dark);
  margin: 26px 0;
}
.dim::before, .dim::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 10px; height: 10px;
  background: var(--royal);
}
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim .dlabel {
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 14px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-deep);
  white-space: nowrap;
}
.dim.solid { border-top: 2px solid var(--royal); }

/* ---------- sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--paper-2); }
section.block.sand { background: var(--sand); }
section.block.sand .dlabel, .dim.sandbg .dlabel { background: var(--sand); }
.sec-head { margin-bottom: 40px; }
.sec-head h2 { margin: 12px 0 12px; }
.sec-head .kicker { display: inline-flex; }

/* ---------- carlsbad angle ---------- */
.angle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.angle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--royal);
  padding: 26px 24px 22px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.angle-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,42,115,.08); }
.angle-card .no {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--tan-deep);
  text-transform: uppercase;
}
.angle-card h3 { margin: 10px 0 8px; }
.angle-card p { font-size: .95rem; color: var(--ink-soft); }

/* route strip */
.route-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--royal);
  padding: 20px 24px;
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.route-strip .rlbl {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal-deep);
  white-space: nowrap;
}
.route-strip .rpath { flex: 1; min-width: 220px; }
.route-strip .rpath svg { width: 100%; height: 34px; display: block; }

/* ---------- practice plate cards ---------- */
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plate {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--royal);
  padding: 30px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plate:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,42,115,.08); }
.plate .tab {
  position: absolute;
  top: -3px; right: 18px;
  background: var(--royal);
  color: var(--white);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
}
.plate .iconbox {
  width: 58px; height: 58px;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-deep);
  margin-bottom: 18px;
  flex: none;
}
.plate .iconbox svg { width: 40px; height: 40px; }
.plate h3 { margin-bottom: 8px; }
.plate p { font-size: .93rem; color: var(--ink-soft); flex: 1; }
.plate .plink {
  margin-top: 16px;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--royal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.plate .plink::after { content: "→"; color: var(--tan); }
.plate .plink:hover { color: var(--royal); }

/* ---------- firm section ---------- */
.firm-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.portrait-frame { position: relative; justify-self: center; max-width: 340px; }
.portrait-frame .offset {
  position: absolute;
  inset: 0;
  transform: translate(12px, 12px);
  background: var(--royal);
  z-index: 0;
}
.portrait-frame .offset2 {
  position: absolute;
  inset: 0;
  transform: translate(6px, 6px);
  background: var(--sand);
  z-index: 0;
}
.portrait-frame img {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-dark);
}
.portrait-frame .cap {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -30px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tan-deep);
}
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.pillar {
  border-left: 3px solid var(--royal);
  padding: 4px 0 4px 18px;
}
.pillar .pno {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: var(--tan-deep);
  text-transform: uppercase;
}
.pillar h3 { margin: 6px 0 6px; }
.pillar p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- mention strips ---------- */
.strip {
  border: 1px dashed var(--line-dark);
  background: var(--white);
  padding: 18px 24px;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.strip p { font-size: .95rem; color: var(--ink-soft); max-width: 46rem; }
.strip p strong { color: var(--royal-ink); }
.strip .btn { flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--royal-deep);
  color: var(--white);
  position: relative;
  padding: 58px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.28);
  pointer-events: none;
}
.cta-band .cols {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin: 12px 0 8px; }
.cta-band .sub { color: rgba(255,255,255,.82); max-width: 34rem; }
.cta-band .callbox {
  text-align: center;
  flex: none;
  min-width: 250px;
}
.cta-band .callbox .lbl {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
}
.cta-band .callbox a.num {
  display: block;
  color: var(--white);
  font-size: 1.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
  margin: 8px 0 16px;
}
.cta-band .callbox a.num:hover { color: var(--sand); }

/* ---------- footer ---------- */
footer.site {
  background: var(--royal-ink);
  color: rgba(255,255,255,.78);
  font-size: .88rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1.4fr;
  gap: 40px;
  padding: 52px 0 40px;
}
footer.site h4 {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
  font-weight: 400;
}
footer.site a { color: rgba(255,255,255,.78); text-decoration: none; }
footer.site a:hover { color: var(--sand); }
footer.site .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
footer.site .f-brand img { width: 40px; height: 40px; }
footer.site .f-brand .fname { font-weight: 700; color: var(--white); line-height: 1.2; }
footer.site .f-brand .ffirm {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
footer.site .faddr { margin-bottom: 10px; color: rgba(255,255,255,.66); }
footer.site .fphone { color: var(--white); font-weight: 700; font-size: 1.02rem; display: inline-block; margin-top: 6px; }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 7px; }
footer.site .family { column-count: 2; column-gap: 26px; }
footer.site .family li { break-inside: avoid; font-size: .8rem; }
footer.site .self { color: rgba(255,255,255,.45); }
footer.site .legalbar {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .76rem;
  color: rgba(255,255,255,.55);
}
footer.site .legalbar .mono {
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .64rem;
}

/* ---------- interior page hero ---------- */
.page-hero { padding: 52px 0 40px; border-bottom: 1px solid var(--line); }
.crumbs {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.crumbs a { color: var(--royal-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { color: var(--tan); margin: 0 8px; }
.page-hero h1 { margin: 10px 0 14px; max-width: 46rem; }
.page-hero .lede { max-width: 42rem; }
.page-hero .tb-strip {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tb-chip {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--royal-deep);
  border: 1px solid var(--line-dark);
  background: var(--white);
  padding: 5px 12px;
}

/* ---------- article ---------- */
.article {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  padding: 52px 0 40px;
  align-items: start;
}
.prose h2 { margin: 38px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.prose ul { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose ul li { margin-bottom: 8px; }
.prose a { font-weight: 700; }

/* case path steps */
.steplist { margin: 26px 0 8px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--royal);
  padding: 20px 24px 18px;
  margin-bottom: 16px;
  position: relative;
}
.step .sno {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-deep);
  margin-bottom: 6px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--royal-ink); }
.step p { color: var(--ink-soft); font-size: .95rem; }
.step p:last-child { margin-bottom: 0; }

/* statute law boxes */
.lawbox {
  background: var(--royal-tint);
  border: 1px solid var(--line);
  border-left: 4px solid var(--royal);
  padding: 20px 22px 16px;
  margin: 24px 0;
}
.lawbox .lcode {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--royal-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lawbox .lcode::before { content: "§"; color: var(--tan); font-size: 1rem; }
.lawbox p { margin: 8px 0 0; font-size: .95rem; color: var(--ink-soft); }
.lawbox.warn {
  background: #FBF4E4;
  border-left-color: var(--tan);
}
.lawbox.warn .lcode { color: var(--tan-deep); }

/* side rail */
.rail { position: sticky; top: 120px; }
.rail .railcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--tan);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.rail .railcard h4 {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-deep);
  margin-bottom: 10px;
  font-weight: 400;
}
.rail .railcard p { font-size: .88rem; color: var(--ink-soft); }
.rail .railcard .num {
  display: block;
  font-weight: 700;
  color: var(--royal-deep);
  font-size: 1.14rem;
  text-decoration: none;
  margin-top: 8px;
}
.rail .railcard ul { list-style: none; }
.rail .railcard ul li { margin-bottom: 8px; }
.rail .railcard ul a { text-decoration: none; font-weight: 700; font-size: .9rem; }
.rail .railcard ul a:hover { text-decoration: underline; }
.railh {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tan-deep);
  font-weight: 400;
  margin: 22px 2px 10px;
}
.railinks { list-style: none; margin: 0 0 18px; }
.railinks li { margin-bottom: 9px; }
.railinks a {
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  color: var(--royal-deep);
  border-bottom: 1px solid var(--line);
  display: block;
  padding-bottom: 9px;
}
.railinks li:last-child a { border-bottom: none; padding-bottom: 0; }
.railinks a:hover { color: var(--royal); }
.railcta { display: block; width: 100%; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-list { max-width: 840px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--royal);
  padding: 24px 26px;
  margin-bottom: 20px;
}
.faq-item .qno {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tan-deep);
}
.faq-item h2 {
  font-size: 1.22rem;
  margin: 8px 0 12px;
  color: var(--royal-ink);
}
.faq-item p { color: var(--ink-soft); margin-bottom: 10px; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item ul { margin: 0 0 10px 22px; color: var(--ink-soft); }
.qa { padding-left: 34px; border-left: 1px solid var(--line); margin-left: 6px; }
.qa p { margin-bottom: 10px; }
.qa p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 52px 0 64px;
}
.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--royal);
  padding: 26px 26px 22px;
}
.office-card .city {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--royal-ink);
}
.office-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--royal-ink);
  margin: 14px 0 0;
}
.office-card .iconbox {
  width: 58px; height: 58px;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-deep);
  flex: none;
}
.office-card .iconbox svg { width: 40px; height: 40px; }
.office-card .addr { color: var(--ink-soft); margin-top: 10px; font-size: .97rem; }
.office-card .oaddr { color: var(--ink-soft); margin-top: 10px; font-size: .97rem; }
.office-card .onote { color: var(--ink-faint); margin-top: 8px; font-size: .88rem; }
.office-card .ph { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--royal-deep); text-decoration: none; font-size: 1.05rem; }
.office-card .ph:hover { color: var(--royal); }
.office-card .plink {
  margin-top: 16px;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--royal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.office-card .plink::after { content: "→"; color: var(--tan); }
.office-card .plink:hover { color: var(--royal); }
.form-card {
  background: var(--white);
  border: 2px solid var(--royal);
  padding: 30px 28px;
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  border-top: 4px solid var(--tan);
  border-right: 4px solid var(--tan);
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .fnote { font-size: .88rem; color: var(--ink-faint); margin-bottom: 20px; }
.form-card label {
  display: block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 16px 0 6px;
}
.form-card input, .form-card textarea, .form-card select {
  width: 100%;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  border-radius: 2px;
}
.form-card input:focus, .form-card textarea:focus {
  outline: 2px solid var(--royal);
  outline-offset: 1px;
  border-color: var(--royal);
}
.form-card .btn { margin-top: 20px; width: 100%; text-align: center; }
.form-card .mailnote { margin-top: 14px; font-size: .8rem; color: var(--ink-faint); }
.form-card .frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-card .fcol { min-width: 0; }
.form-card .fcol label { margin-top: 16px; }
.form-card .fcol:first-child label { margin-top: 0; }
.form-card .fsubmit { margin-top: 22px; text-align: center; }
.form-card .fsubmit .btn { width: auto; min-width: 300px; }
.form-card .fine { font-size: .8rem; color: var(--ink-faint); margin-top: 16px; }

/* ---------- 404 ---------- */
.notfound { padding: 90px 0 110px; text-align: center; }
.notfound .big {
  font-family: var(--mono);
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  color: var(--royal);
  letter-spacing: .04em;
  line-height: 1;
}
.notfound h1 { margin: 18px 0 14px; }
.notfound p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 30px; }

/* ---------- footer mini-cta ---------- */
.mini-cta {
  background: var(--sand);
  border-top: 1px solid var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
  padding: 26px 0;
}
.mini-cta .cols {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.mini-cta p { font-weight: 700; color: var(--royal-ink); }
.mini-cta a.num { font-weight: 700; color: var(--royal-deep); text-decoration: none; font-size: 1.25rem; }
.mini-cta a.num:hover { color: var(--royal); }

/* ---------- utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--royal-deep); color: var(--white);
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .cols, .firm-grid, .article, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .angle-grid, .plates { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .rail { position: static; }
  nav.main a { padding: 10px 8px; font-size: .74rem; }
  nav.main .sheetno { display: none; }
  .portrait-frame { margin-bottom: 30px; }
}
@media (max-width: 640px) {
  .angle-grid, .plates { grid-template-columns: 1fr; }
  .form-card .frow { grid-template-columns: 1fr; gap: 0; }
  .form-card .fsubmit .btn { min-width: 0; width: 100%; }
  footer.site .cols { grid-template-columns: 1fr; }
  header.site .right { gap: 12px; }
  header.site .phone small { display: none; }
  header.site .phone { font-size: .9rem; }
  header.site .toprow .btn { display: none; }
  .strip { flex-direction: column; align-items: stretch; }
  .strip .btn { flex: 1 1 auto; text-align: center; }
  .cta-band .cols { justify-content: center; text-align: center; }
  .hero { padding: 48px 0 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
