/* Layout: architectural drawing sheet. Limestone ground, steel ink, one brick-red accent matched to the shield logo. */
:root {
  --ground: #F2F3F1;
  --surface: #FFFFFF;
  --ink: #16212A;
  --muted: #55636D;
  --rule: #D3D9D7;
  --accent: #9B2C2C;
  --accent-ink: #FFFFFF;
  --steel: #7E8286;
  --tint: #DDE7EC;
  --tint-ink: #1F3A4A;
  --display: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --wordmark: "Montserrat", "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 3px; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: inherit; }
.eyebrow {
  font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--label); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em; color: var(--muted); }
.mono a { color: var(--accent); text-decoration: none; font-weight: 600; word-break: break-word; }
.mono a:hover { text-decoration: underline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 3px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, filter .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav { display: flex; align-items: center; justify-content: flex-start; gap: 24px; padding-block: 12px; }
.nav-phone { font-family: var(--label); font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--accent); }

/* Logo lockup: shield mark beside PROPERTY RISK / PARTNERS, set in the logo's geometric face */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 44px; height: auto; display: block; }
.brand-text { display: grid; gap: 4px; line-height: 1; }
.brand-name { font-family: var(--wordmark); font-weight: 500; font-size: 1.45rem; letter-spacing: 0.07em; text-transform: uppercase; color: #1F2A33; margin-right: -0.07em; white-space: nowrap; }
.brand-sub { font-family: var(--wordmark); font-weight: 600; font-size: 0.88rem; letter-spacing: 1.33em; text-transform: uppercase; color: #1F2A33; white-space: nowrap; margin-right: -1.33em; }
@media (max-width: 480px) {
  .brand { gap: 9px; }
  .brand-mark { width: 36px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.68rem; letter-spacing: 1.3em; margin-right: -1.3em; }
}
@media (max-width: 400px) { .nav-phone { font-size: 0.82rem; } }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav-cta { white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 16px; font-size: 0.9rem; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--label); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; list-style: none; margin: 0; padding: 8px; min-width: 220px; display: grid; gap: 2px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.menu a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 3px; }
.menu a:hover { background: var(--tint); }
@media (max-width: 1240px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .menu { display: block; margin-left: auto; }
  .nav-phone { margin-left: auto; font-size: 0.9rem; }
}
@media (max-width: 480px) { .nav { gap: 12px; } }

/* Hero: full-width Chicago River photo with a left-side scrim for legible text */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(84px, 11vw, 150px); color: #FFFFFF; background: #22303B; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,22,30,.82) 0%, rgba(14,22,30,.64) 42%, rgba(14,22,30,.18) 78%, rgba(14,22,30,0) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 680px); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 { color: #FFFFFF; }
.hero .lede { color: rgba(255,255,255,.9); }
.hero .eyebrow { color: rgba(255,255,255,.88); }
.hero .eyebrow::before { background: #E8585E; }
.hero .btn-ghost { border-color: rgba(255,255,255,.9); color: #FFFFFF; }
.hero .btn-ghost:hover { background: #FFFFFF; color: #16212A; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span, .hero-note a { font-family: var(--label); font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,.85); text-decoration: none; }
.hero-note a:hover { color: #fff; text-decoration: underline; }
.hero-note > *::before { content: "■ "; color: #E8585E; font-size: 0.6rem; vertical-align: 2px; }
@media (max-width: 900px) {
  .hero { padding-block: 72px 64px; }
  .hero::before { background: linear-gradient(180deg, rgba(14,22,30,.58) 0%, rgba(14,22,30,.76) 100%); }
}

/* Promise strip under the hero */
.promise { background: var(--ink); color: #E9EDEF; }
.promise ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.promise li { display: grid; gap: 2px; font-size: 0.92rem; line-height: 1.4; padding-left: 14px; border-left: 2px solid var(--accent); }
.promise strong { font-family: var(--label); font-weight: 700; font-size: 0.95rem; color: #fff; }
.promise span { color: #B9C3C9; }
@media (max-width: 900px) { .promise ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .promise ul { grid-template-columns: 1fr; } }

.type-img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; background: var(--tint); margin-bottom: 6px; }

/* Sections */
section { padding-block: 88px; }
@media (max-width: 700px) { section { padding-block: 60px; } }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.alt { background: var(--surface); border-block: 1px solid var(--rule); }

/* Who we insure */
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.type { padding: 30px 32px 32px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--rule); }
.type:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--rule); }
.type-num { font-family: var(--label); font-size: 0.75rem; color: var(--accent); letter-spacing: 0.08em; }
.type p { color: var(--muted); max-width: 52ch; }
.type .lines { font-family: var(--label); font-size: 0.78rem; color: var(--tint-ink); background: var(--tint); padding: 6px 10px; border-radius: 3px; justify-self: start; }
@media (max-width: 760px) {
  .types { grid-template-columns: 1fr; }
  .type, .type:nth-child(even) { padding: 26px 0; border-left: 0; }
}

/* Owners */
.assoc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.checks svg { width: 22px; height: 22px; margin-top: 3px; stroke: var(--accent); fill: none; stroke-width: 2.2; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--muted); }
@media (max-width: 900px) { .assoc-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 26px 24px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 10px; align-content: start; position: relative; }
.step + .step { padding-left: 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.step p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } .step:nth-child(3) { padding-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; padding-right: 0; } }
.indep { margin-top: 56px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 26px 28px; background: var(--tint); color: var(--tint-ink); border-radius: 4px; }
.indep strong { font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; }
.indep p { max-width: 70ch; }
@media (max-width: 700px) { .indep { grid-template-columns: 1fr; gap: 10px; } }

/* Client services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 26px; display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.svc p { color: var(--muted); font-size: 0.96rem; }
.svc ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.92rem; display: grid; gap: 4px; align-content: start; }
.svc .btn { justify-self: start; margin-top: 6px; }
.svc .mono { color: var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; border-top: 2px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--label); font-weight: 500; font-size: 1.5rem; color: var(--accent); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 70ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy { display: grid; gap: 22px; min-width: 0; }
.contact-lines { display: grid; gap: 14px; margin-top: 8px; }
.contact-lines div { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--rule); }
.contact-lines .mono { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
.contact-lines .val { font-weight: 600; word-break: break-word; text-decoration: none; }
.contact-lines a.val:hover { color: var(--accent); }
form { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 30px; display: grid; gap: 18px; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } form { padding: 22px; } }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-size: 0.85rem; font-weight: 600; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground);
  border: 1px solid var(--rule); border-radius: 3px; padding: 11px 12px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
textarea { min-height: 110px; resize: vertical; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot .mono { max-width: 38ch; }
.notice { padding: 14px 16px; border-radius: 3px; background: var(--tint); color: var(--tint-ink); font-size: 0.95rem; }
.notice a { font-weight: 600; }
.err { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Footer */
footer { border-top: 2px solid var(--ink); padding-block: 48px 40px; font-size: 0.92rem; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-family: var(--label); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; color: var(--accent); }
.foot-grid p { color: var(--muted); max-width: 36ch; margin-top: 16px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--rule);
  }
  .mobile-bar .btn { padding: 12px 10px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* About page */
.page-head { padding-block: clamp(56px, 8vw, 96px) 0; }
.page-head h1 { max-width: 18ch; }
.story { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; align-items: start; }
.portrait { margin: 0; display: grid; gap: 12px; position: sticky; top: 100px; }
.portrait-frame { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--tint); border: 1px solid var(--rule); display: grid; place-items: center; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-frame .initials { font-family: var(--wordmark); font-weight: 500; font-size: 4rem; letter-spacing: 0.08em; color: var(--tint-ink); opacity: .55; }
.portrait figcaption { display: grid; gap: 2px; }
.portrait figcaption strong { font-family: var(--display); font-size: 1.1rem; }
.story-body { display: grid; gap: 22px; font-size: 1.12rem; max-width: 62ch; }
.story-body p { color: var(--ink); }
.story-body p:first-child { font-size: 1.32rem; line-height: 1.5; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.story-body .pull { border-left: 3px solid var(--accent); padding-left: 20px; color: var(--muted); }
.signoff { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9C3C9; margin-top: 8px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.9); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 36px; }
  .portrait { position: static; max-width: 260px; }
}
.portrait-frame > * { grid-area: 1 / 1; }

/* Specialty pages */
.hero--page { padding-block: clamp(64px, 8vw, 112px); }
.hero--page h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.crumbs { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,.8); }
.crumbs a { color: rgba(255,255,255,.92); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin-inline: 6px; opacity: .6; }
.prose { display: grid; gap: 16px; max-width: 70ch; color: var(--muted); }
.prose strong { color: var(--ink); }
.cov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cov { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.cov h3 { font-size: 1.05rem; }
.cov p { color: var(--muted); font-size: 0.95rem; }
.alt .cov { background: var(--ground); }
@media (max-width: 900px) { .cov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cov-grid { grid-template-columns: 1fr; } }
.law { background: var(--tint); color: var(--tint-ink); border-radius: 6px; padding: 28px; display: grid; gap: 16px; }
.law h3 { color: var(--ink); }
.law ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.law li strong { color: var(--ink); }
.law .fine { font-size: 0.85rem; opacity: .85; }
.issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 2px solid var(--ink); counter-reset: issue; }
.issue { padding: 24px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; counter-increment: issue; }
.issue::before { content: counter(issue, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--accent); line-height: 1.1; }
.issue h3 { font-size: 1.05rem; }
.issue p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 760px) { .issues { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.docs { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 26px; display: grid; gap: 14px; }
.alt .docs { background: var(--ground); }
.docs h3 { font-size: 1.05rem; }
.docs ol { margin: 0; padding: 0; list-style: none; counter-reset: doc; }
.docs ol li { counter-increment: doc; display: grid; grid-template-columns: 34px 1fr; padding-block: 10px; border-top: 1px dashed var(--rule); font-size: 0.95rem; }
.docs ol li::before { content: counter(doc, decimal-leading-zero); font-family: var(--label); font-size: 0.78rem; color: var(--accent); padding-top: 2px; }
.docs .btn { justify-self: start; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); text-decoration: none; transition: border-color .15s; }
.related a:hover { border-color: var(--accent); }
.related strong { font-family: var(--display); }
.related span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }
.disclaimer { font-size: 0.85rem; color: var(--muted); max-width: 80ch; margin-top: 18px; }
.type-link { font-weight: 600; color: var(--accent); text-decoration: none; justify-self: start; }
.type-link:hover { text-decoration: underline; }

/* Resources: article index and article pages */
.page-head .crumbs, .article-head .crumbs { color: var(--muted); }
.page-head .crumbs a, .article-head .crumbs a { color: var(--ink); }
.page-head .lede { margin-top: 16px; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; text-decoration: none; transition: border-color .15s; }
.post-card:hover { border-color: var(--accent); }
.post-card h2, .post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: 0.95rem; }
.post-card .more { font-weight: 600; color: var(--accent); }
.post-tag { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tint-ink); }
@media (max-width: 900px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-list { grid-template-columns: 1fr; } }
.article-head { padding-block: clamp(48px, 7vw, 88px) 0; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; margin-top: 14px; }
.article-meta { font-family: var(--label); font-size: 0.8rem; color: var(--muted); margin-top: 18px; }
.article { display: grid; gap: 18px; max-width: 70ch; font-size: 1.08rem; }
.article p, .article li { color: #2C3A44; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 22px; }
.article h3 { margin-top: 8px; }
.article ul, .article ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.article a { color: var(--accent); font-weight: 600; }
.article .key { background: var(--tint); color: var(--tint-ink); border-radius: 6px; padding: 22px 24px; display: grid; gap: 10px; }
.article .key strong { color: var(--ink); }
.article .example { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; display: grid; gap: 8px; }
.article-cta { margin-top: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; display: grid; gap: 12px; }
.article-cta .btn { justify-self: start; color: var(--accent-ink); }

/* Phones: show the hero photo as a full-width band above the text instead of a
   cropped, upscaled background, so the 1000px source images stay sharp. */
@media (max-width: 600px) {
  .hero, .hero--page { padding-block: 0 48px; }
  .hero::before { display: none; }
  .hero-bg { position: static; display: block; height: auto; aspect-ratio: 16 / 10; margin-bottom: 32px; }
}