/* ==========================================================================
   Upgrade Home Point — main stylesheet ("city point" look)
   Column layout uses the Bootstrap grid (bootstrap-grid.min.css, loaded first).
   1 Tokens · 2 Base · 3 Header · 4 Buttons · 5 Hero · 6 Upgrade shortlist
   7 Services · 8 Sections · 9 Blog · 10 Forms · 11 Footer
   12 Responsive · 13 Motion & print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --white: #ffffff;
  --steel: #eef0f2;
  --steel-2: #dfe3e7;
  --ink: #1b1d22;
  --ink-700: #2a2d34;
  --ink-600: #3a3e47;
  --brick: #a8372a;
  --brick-700: #8a2c21;
  --brick-soft: #f6e4e1;
  --yellow: #f4c430;
  --yellow-soft: #fdf3d2;
  --text: #23262c;
  --muted: #5a606a;
  --line: #d7dbe0;
  --on-dark: #d3d6dc;
  --danger: #9b2a1f;
  --danger-bg: #fbe9e6;
  --success: #22603b;
  --success-bg: #e2f0e6;

  --font-head: "Red Hat Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-body: "Red Hat Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --fs-sm: .94rem;
  --fs-base: 1.05rem;
  --fs-lg: 1.17rem;
  --fs-h3: 1.24rem;
  --fs-h2: clamp(1.85rem, 1.35rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3.6vw, 4rem);

  --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6rem;
  --cut: 22px;
  --shadow: 0 22px 44px -30px rgba(27, 29, 34, .6);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; background: var(--steel-2); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 var(--s-4); color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
a { color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--brick-700); }
ul, ol { padding-left: 1.2rem; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
.hero :focus-visible, .bg-ink :focus-visible, .site-footer :focus-visible, .side-card-ink :focus-visible, .contact-card :focus-visible, .cta-block :focus-visible { outline-color: var(--yellow); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--ink); color: #fff; padding: .75rem 1rem; font-weight: 700; }
.skip-link:focus { top: .75rem; color: #fff; }
.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; }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.65; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brick); margin-bottom: var(--s-3); }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; }
.eyebrow-yellow { color: var(--yellow); }
.tag { display: inline-block; padding: .2rem .6rem; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s-3); }
.pillar-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; background: var(--yellow); color: var(--ink); flex: none; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.pillar-ico svg { width: 22px; height: 22px; }
img.img-failed { object-position: -9999px -9999px; background: linear-gradient(135deg, var(--steel), var(--steel-2)); }

/* 3. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); white-space: nowrap; flex: none; }
.brand img { width: 42px; height: 42px; background: none; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.32rem; line-height: 1; letter-spacing: -.02em; }
.brand-name span { color: var(--brick); }
.brand:hover { color: var(--ink); }
.primary-nav { margin-left: auto; display: flex; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav-link { position: relative; display: block; white-space: nowrap; padding: .55rem .8rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); }
.mobile-extra { display: none; }
.nav-toggle { display: none; align-items: center; gap: .45rem; min-height: 46px; padding: 0 1rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 4. Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1.5rem; border: 2px solid transparent; border-radius: 0; font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn-sm { min-height: 44px; padding: .45rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; white-space: normal; }
.sidebar > * { min-width: 0; }
.btn-brick { background: var(--brick); color: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn-brick:hover { background: var(--brick-700); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--brick); }
.btn-yellow:hover { background: #ffd65a; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-600); color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-line-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.btn-row-end { justify-content: flex-end; margin-top: 0; }
.more-link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 800; text-decoration: none; color: var(--brick); }
.more-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }

/* 5. Hero ------------------------------------------------------------------ */
.hero { position: relative; padding: var(--s-8) 0 var(--s-9); background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hl { color: var(--yellow); }
.hero .lead { color: var(--on-dark); max-width: 34rem; }
.hero-chips { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border: 1px solid rgba(255, 255, 255, .25); font-size: .92rem; font-weight: 600; color: var(--white); }
.hero-chips svg { width: 17px; height: 17px; color: var(--yellow); }
.hero-frame { position: relative; padding: 0 var(--s-5) var(--s-5) 0; }
.hero-frame::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%); }
.hero-photo { position: relative; margin: 0; clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%); }
.hero-photo img { width: 100%; aspect-ratio: 6 / 5; }
.hero-badge { position: absolute; left: -18px; top: 34px; display: grid; place-items: center; width: 64px; height: 64px; background: var(--brick); color: var(--white); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: var(--shadow); }
.hero-badge svg { width: 28px; height: 28px; transform: rotate(45deg); }

.page-hero { padding: var(--s-7) 0 var(--s-8); background: var(--steel); border-bottom: 4px solid var(--yellow); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 40rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: .3rem; font-size: .9rem; color: var(--muted); }
.breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.breadcrumb li + li::before { content: "\203A"; margin-right: .35rem; color: var(--brick); font-weight: 700; }
.breadcrumb a { color: var(--muted); }
.angled-photo { position: relative; margin: 0; }
.angled-photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%; background: var(--brick); z-index: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.angled-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 10 / 11; clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%, 0 86%); }
.angled-photo-sm img { aspect-ratio: 4 / 3; }
.bg-ink .angled-photo::after { background: var(--yellow); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-5); }
.chip-row a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; background: var(--white); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.chip-row a:hover { border-color: var(--ink); background: var(--yellow-soft); }
.chip-row svg { width: 16px; height: 16px; color: var(--brick); }

/* 6. Upgrade shortlist ----------------------------------------------------- */
.picks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.pick { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); padding: var(--s-4); background: var(--white); border: 2px solid var(--line); transition: border-color .2s, background-color .2s; min-width: 0; }
.pick:hover { border-color: var(--steel-2); }
.pick.is-picked { border-color: var(--ink); background: var(--yellow-soft); }
.pick-ico { display: grid; place-items: center; width: 46px; height: 46px; background: var(--steel); color: var(--brick); }
.pick.is-picked .pick-ico { background: var(--yellow); color: var(--ink); }
.pick-ico svg { width: 22px; height: 22px; }
.pick-text h3 { font-size: 1.04rem; margin-bottom: .15rem; }
.pick-text p { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.pick-btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; min-width: 44px; padding: .4rem .8rem; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .92rem; cursor: pointer; transition: background-color .2s, color .2s; }
.pick-btn[hidden] { display: none; }
.pick-btn svg { width: 17px; height: 17px; }
.pick-btn .pick-check, .pick-btn[aria-pressed="true"] .pick-plus { display: none; }
.pick-btn[aria-pressed="true"] .pick-check { display: block; }
.pick-btn:hover { background: var(--steel); }
.pick-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pick-link { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.pick-link svg { width: 16px; height: 16px; }
.shortlist.is-live .pick-link { display: none; }
.tray { position: sticky; top: 100px; padding: var(--s-5); background: var(--ink); color: var(--on-dark); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.tray[hidden], .tray-actions[hidden], .tray-empty[hidden] { display: none; }
.tray h3 { display: flex; align-items: center; gap: .5rem; color: var(--white); font-size: 1.3rem; }
.tray h3 svg { width: 22px; height: 22px; color: var(--yellow); }
.tray-empty { font-size: .95rem; }
.tray-list { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: .4rem; }
.tray-list li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem 0 .45rem .7rem; border-left: 3px solid var(--yellow); background: var(--ink-700); color: var(--white); font-weight: 600; font-size: .95rem; min-width: 0; }
.tray-list li span { min-width: 0; overflow-wrap: anywhere; }
.tray-remove { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--on-dark); cursor: pointer; }
.tray-remove:hover { color: var(--yellow); }
.tray-remove svg { width: 18px; height: 18px; }
.tray-actions { display: grid; gap: var(--s-3); }
.tray .btn-line { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.tray .btn-line:hover { background: var(--white); color: var(--ink); }
.tray-note { margin-top: var(--s-4); font-size: .85rem; color: #aeb3bc; }

/* 7. Services -------------------------------------------------------------- */
.svc-card { height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-card-photo { position: relative; }
.svc-card-photo img { width: 100%; aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.svc-pin { position: absolute; right: var(--s-5); bottom: -6px; display: grid; place-items: center; width: 52px; height: 52px; background: var(--yellow); color: var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.svc-pin svg { width: 24px; height: 24px; transform: rotate(45deg); }
.svc-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: var(--s-4) var(--s-5) var(--s-5); }
.svc-short { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brick); margin-bottom: var(--s-2); }
.svc-short svg { width: 17px; height: 17px; }
.svc-card-body h2, .svc-card-body h3 { font-size: 1.28rem; }
.svc-card-body p { color: var(--muted); }
.svc-card-body > p:last-of-type { margin-bottom: var(--s-5); }
.svc-card-body .btn { margin-top: auto; }
.card-note { font-size: .9rem; padding: .6rem .8rem; background: var(--yellow-soft); border-left: 3px solid var(--yellow); color: var(--text) !important; }
.svc-rows { display: grid; gap: var(--s-6); }
.svc-row { background: var(--white); border: 1px solid var(--line); scroll-margin-top: 100px; overflow: hidden; }
.svc-row-photo { min-height: 280px; }
.svc-row-photo img { width: 100%; height: 100%; aspect-ratio: auto; }
.svc-row-body { height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); border-left: 6px solid var(--yellow); }
.svc-row-flip .row { flex-direction: row-reverse; }
.svc-row-flip .svc-row-body { border-left: 0; border-right: 6px solid var(--brick); }
.svc-row-body h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.svc-row-body p { color: var(--muted); max-width: 38rem; }
.svc-row-body .btn { margin-top: var(--s-3); }

/* 8. Sections -------------------------------------------------------------- */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }
.section-top-tight { padding-top: var(--s-7); }
.bg-steel { background: var(--steel); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink .eyebrow { color: var(--yellow); }
.bg-ink .section-title p, .on-dark { color: var(--on-dark); }
.section-title { max-width: 44rem; margin-bottom: var(--s-7); }
.section-title p { color: var(--muted); font-size: var(--fs-lg); }
.section-title-center { margin-left: auto; margin-right: auto; text-align: center; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }
.title-row .section-title { margin-bottom: 0; }
.city-card { position: relative; height: 100%; padding: var(--s-5); padding-top: var(--s-6); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--ink); }
.bg-steel .city-card { border-color: var(--steel-2); border-top-color: var(--ink); }
.city-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; background: var(--brick); color: var(--white); margin-bottom: var(--s-4); }
.city-ico svg { width: 22px; height: 22px; }
.city-card h3 { font-size: 1.14rem; }
.city-card p { font-size: .98rem; color: var(--muted); }
.pillar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.pillar-list li { display: flex; gap: var(--s-4); }
.pillar-list h3 { font-size: 1.14rem; margin-bottom: .35rem; }
.bg-ink .pillar-list p { color: var(--on-dark); }
.value-card, .who-card { height: 100%; padding: var(--s-5); }
.value-card { background: var(--ink-700); border: 1px solid rgba(255, 255, 255, .12); }
.value-card .pillar-ico { margin-bottom: var(--s-4); }
.value-card h3 { font-size: 1.14rem; }
.who-card { background: var(--white); border: 1px solid var(--steel-2); }
.who-card .pillar-ico { margin-bottom: var(--s-4); }
.who-card h3 { font-size: 1.14rem; }
.who-card p { color: var(--muted); }
.route { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); position: relative; }
.route::before { content: ""; position: absolute; left: 30px; right: 30px; top: 29px; height: 6px; background: var(--brick); border-radius: 3px; }
.route li { position: relative; min-width: 0; }
.stop-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 6px solid var(--ink); color: var(--ink); margin-bottom: var(--s-4); }
.route li:last-child .stop-dot { background: var(--yellow); }
.stop-dot svg { width: 24px; height: 24px; }
.route h3 { font-size: 1.14rem; }
.route p { font-size: .98rem; color: var(--muted); }
.faq-box { display: grid; gap: var(--s-3); }
.faq-box details { background: var(--white); border: 1px solid var(--line); }
.faq-box details[open] { border-color: var(--ink); }
.faq-box summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.faq-box summary::-webkit-details-marker { display: none; }
.faq-mark { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--yellow); }
.faq-mark svg { width: 18px; height: 18px; color: var(--ink); transition: transform .25s var(--ease); }
.faq-box details[open] .faq-mark svg { transform: rotate(45deg); }
.faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--muted); }
.news-strip { padding: clamp(1.5rem, 4vw, 3rem); background: var(--yellow); color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.news-strip .eyebrow { color: var(--ink); }
.news-strip h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.news-strip a { color: var(--ink); }
.news-strip input[type="email"] { border-color: var(--ink); }
.news-strip .field-error { color: #7a1d12; }
.news-strip .checkbox input { accent-color: var(--ink); }
.cta-block { position: relative; padding: clamp(1.75rem, 5vw, 3.5rem); background: var(--brick); color: #f8e3df; overflow: hidden; }
.cta-block::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border: 18px solid rgba(255, 255, 255, .12); border-radius: 50%; pointer-events: none; }
.cta-block h2 { color: var(--white); }
.cta-block .row { position: relative; z-index: 1; }
.status-page { padding: var(--s-9) 0; text-align: center; }
.status-page .btn-row { justify-content: center; }
.status-page .lead { max-width: 36rem; margin-left: auto; margin-right: auto; }

/* 9. Blog ------------------------------------------------------------------ */
.post-card { height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.post-card-photo { overflow: hidden; }
.post-card-photo img { width: 100%; aspect-ratio: 16 / 10; transition: transform .5s var(--ease); }
.post-card:hover .post-card-photo img { transform: scale(1.04); }
.post-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: var(--s-5); }
.post-card-body .tag { margin-top: -2.4rem; position: relative; }
.post-card h2, .post-card h3 { font-size: 1.22rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brick); text-decoration: underline; }
.post-card p { color: var(--muted); }
.post-card .more-link { margin-top: auto; }
.article-head { padding: var(--s-7) 0 0; background: linear-gradient(180deg, var(--steel) 0, var(--steel) 70%, var(--white) 70%); }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); max-width: 22ch; }
.article-head .lead { max-width: 42rem; }
.byline { font-size: .92rem; font-weight: 600; color: var(--muted); }
.article-photo { margin: var(--s-6) 0 0; }
.article-photo img { width: 100%; aspect-ratio: 16 / 7; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); }
.article-photo figcaption { font-size: .82rem; color: var(--muted); padding-top: .5rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: var(--s-7); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: var(--s-5); }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--brick); }
.callout { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); margin-top: var(--s-6); padding: var(--s-4) var(--s-5); background: var(--yellow-soft); border-left: 4px solid var(--yellow); }
.callout svg { width: 22px; height: 22px; color: var(--brick); margin-top: 3px; }
.article-foot { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.article-foot .btn-row { margin-top: 0; }
.copy-status { margin: var(--s-3) 0 0; font-weight: 600; color: var(--success); }
.copy-status:empty { display: none; }
.sidebar { position: sticky; top: 100px; display: grid; gap: var(--s-5); }
.side-card { padding: var(--s-5); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); }
.side-card h2 { font-size: 1.22rem; }
.side-card-ink { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.side-card-ink h2 { color: var(--white); }
.side-card-ink .pillar-ico { margin-bottom: var(--s-4); }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; padding: .5rem 0 .5rem .8rem; border-left: 3px solid var(--steel-2); color: var(--text); text-decoration: none; font-weight: 600; font-size: .96rem; }
.toc a:hover { color: var(--brick); border-left-color: var(--brick); }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; }
.tick-list svg { width: 20px; height: 20px; color: var(--brick); margin-top: 3px; }

/* 10. Forms ---------------------------------------------------------------- */
.form-shell { padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--brick); }
.form-intro { color: var(--muted); }
.list-note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: var(--s-3) var(--s-4); background: var(--yellow-soft); border-left: 4px solid var(--yellow); font-weight: 600; }
.list-note[hidden] { display: none; }
.list-note svg { width: 20px; height: 20px; margin-top: 3px; color: var(--success); }
.form { display: grid; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-weight: 700; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 50px; padding: .7rem 1rem; border: 2px solid #a9afb8; border-radius: 0; background: var(--white); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 196, 48, .7); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .925rem; font-weight: 700; margin: .4rem 0 0; }
.field .field-error { margin-top: 0; }
.field-error:empty { display: none; }
.hint { font-size: .9rem; color: var(--muted); margin: 0; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; }
.checkbox input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--brick); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: var(--s-4) var(--s-5); font-weight: 700; }
.form-alert svg { width: 22px; height: 22px; margin-top: 2px; }
.form-alert p { margin: 0; }
.form-alert[hidden] { display: none; }
.form-alert-error { background: var(--danger-bg); color: var(--danger); }
.form-alert-success { background: var(--success-bg); color: var(--success); }
.inline-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); align-items: start; }
.contact-card { padding: var(--s-6) var(--s-5); background: var(--ink); color: var(--on-dark); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-card h3 { font-family: var(--font-head); font-weight: 800; color: var(--yellow); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.contact-card a { color: var(--white); }
.contact-card .more-link { color: var(--yellow); margin-top: var(--s-3); }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.contact-rows li { display: flex; gap: var(--s-4); min-width: 0; }
.contact-rows li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-rows p { margin: 0; }

/* 11. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: var(--s-7) 0 var(--s-5); border-top: 6px solid var(--yellow); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer .btn-yellow, .site-footer .btn-yellow:hover { color: var(--ink); text-decoration: none; }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); text-decoration: none; }
.site-footer .brand-name span { color: var(--yellow); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-blurb { margin: 0 0 var(--s-5); max-width: 34rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }
.footer-col h2 { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-split { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5) !important; }
.footer-sub { margin-top: var(--s-6); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; border: 0; background: var(--yellow); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s; }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--ink); color: var(--yellow); }

/* 12. Responsive ----------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .header-cta { display: none; }
}
@media (max-width: 1199.98px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .primary-nav { position: fixed; top: var(--nav-top, 79px); left: 0; right: 0; bottom: 0; z-index: 120; margin: 0; background: var(--white); padding: var(--s-6) clamp(16px, 4vw, 40px) var(--s-7); overflow-y: auto; display: none; }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { font-size: 1.55rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--brick); }
  .mobile-extra { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
  .m-link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
  .m-link svg { width: 20px; height: 20px; color: var(--brick); flex: none; }
  .picks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
  .section { padding: var(--s-8) 0; }
  .sidebar, .tray { position: static; }
  .btn-row-end { justify-content: flex-start; }
  .section-title { margin-bottom: var(--s-6); }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); }
  .route::before { display: none; }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-frame { max-width: 560px; }
}
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .inline-field { grid-template-columns: minmax(0, 1fr); }
  .inline-field .btn { width: 100%; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .footer-split { grid-template-columns: minmax(0, 1fr); }
  .picks { grid-template-columns: minmax(0, 1fr); }
  .svc-row-photo { min-height: 0; }
  .svc-row-photo img { aspect-ratio: 16 / 10; height: auto; }
  .svc-row-body, .svc-row-flip .svc-row-body { border-left: 0; border-right: 0; border-top: 6px solid var(--yellow); }
  .svc-row-flip .row { flex-direction: row; }
  .article-photo img { aspect-ratio: 16 / 10; }
  .hero-badge { left: 6px; top: 12px; width: 52px; height: 52px; }
  .faq-body { padding-right: var(--s-5); }
  .btn { white-space: normal; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.08rem; }
  .brand img { width: 36px; height: 36px; }
  .header-inner { gap: var(--s-3); min-height: 70px; }
  .nav-toggle-text { display: none; }
  .nav-toggle { width: 46px; padding: 0; justify-content: center; }
  .btn { padding-left: 1.1rem; padding-right: 1.1rem; }
  .route { grid-template-columns: minmax(0, 1fr); }
  .pick { gap: .7rem; padding: .75rem; }
  .pick-ico { width: 40px; height: 40px; }
  .pick-btn { padding: .4rem .65rem; }
  .hero-frame { padding: 0 var(--s-3) var(--s-3) 0; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .98rem; }
  .brand { gap: .4rem; }
  .brand img { width: 32px; height: 32px; }
}

/* 13. Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .svc-card:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .back-to-top, .news-strip, .cta-block, .sidebar, .tray, .pick-btn { display: none !important; }
  .hero { background: #fff; color: #000; }
  .hero h1 { color: #000; }
}
