/* =====================================================================
   Theme layer: the architecture of the current bridgizz.com theme.
   White page, vertical guide lines, two-column section heads, ruled
   lists, soft grey alternate bands, dark buttons, full-bleed photo bands.
   Loaded after site.css. Colours still come from the brand tokens.
   ===================================================================== */
:root {
  --line: color-mix(in srgb, var(--atlantic) 9%, transparent);
  --soft: color-mix(in srgb, var(--atlantic) 4%, var(--white));
  --r: 8px;
}
body { background: var(--white); padding-inline: 0; font-weight: 400; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--muted) !important; }
.on-dark .eyebrow, .fill .eyebrow, .card .top .eyebrow { color: inherit !important; }

/* Header */
.site-header { background: var(--white); margin: 0; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.nav ul a { color: var(--ink); font-weight: 500; }
.nav ul a:hover { color: var(--royal); }
.nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.nav-toggle { background: var(--soft); color: var(--ink); border-radius: var(--r); }

/* Buttons */
.btn { border-radius: var(--r); min-height: 48px; padding: 8px 24px; }
.btn.royal { background: var(--atlantic); }
.btn.royal:hover { background: var(--royal); }
.btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.more { color: var(--ink); }

/* Full-width sections with a centred content column and guide lines */
main.wrap { max-width: none; position: relative; }
main.wrap::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100% - 48px, var(--max) - 48px); pointer-events: none; z-index: 2;
  background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 25% 100%; border-right: 1px solid var(--line); }
main section { padding-block: 72px; }
main section:nth-of-type(even) { background: var(--soft); }
main section > .grid, main section > .proof, main section > .tile { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
main section > .grid.block { margin-top: 56px; }
.grid { gap: 32px 24px; }

/* Tiles become plain columns; only filled blocks keep a surface */
.tile { background: transparent; border-radius: 0; overflow: visible; }
.pad { padding: 0; }
.fill, .royal-tile, .deep-tile, .case, .card, .tcard { border-radius: var(--r); overflow: hidden; }
.fill.pad, .royal-tile.pad, .deep-tile.pad { padding: 32px; }
.fill { background: var(--acc); }
.royal-tile { background: var(--royal); }
.deep-tile { background: var(--deep); }
.ph, .tile.ph { border-radius: 0; overflow: hidden; }

/* Section heads: label and heading left, text or link right */
.feat-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: end; padding: 0; margin-bottom: 8px; }
.feat-head > :only-child { grid-column: 1 / -1; }
.feat-head > .btn, .feat-head > a { justify-self: end; }
.feat-head h2, .band h2 { color: var(--ink); font-size: clamp(30px, 3.5vw, 46px); max-width: 20ch; }
.feat-head p { max-width: 52ch; }
.h-sm, .h-md, .mini h3, .mini h4, .case h3, .card h2, .card h3, .person h3, .prose h2, .faq summary, .offers tbody th, .steps b { color: var(--ink); font-weight: 500; }
.fill .h-sm, .fill .h-md, .mini.fill h3, .mini.fill h4 { color: var(--on-acc); }
.h-md { font-size: clamp(26px, 2.8vw, 36px); }

/* Ruled lists and numbered steps */
.mini { padding: 20px 24px 0 0; border-top: 1px solid var(--ink); gap: 8px; }
.mini .bar { display: none; }
.mini h3, .mini h4 { font-size: 20px; }
.mini .n { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.mini .n::after { content: "."; }
.mini.fill { border-top: 0; padding: 24px; }
.mini.fill .n { color: var(--on-acc); }
.stat { padding: 20px 24px 0 0; border-top: 1px solid var(--ink); justify-content: flex-start; }
.stat b, .proof .stat b { color: var(--ink); font-weight: 500; font-size: clamp(34px, 3.6vw, 48px); }
.proof { gap: 24px; }
.proof .stat { min-height: 0; padding: 20px 16px 0 0; }
.proof .stat.royal-tile { border-top: 0; padding: 24px; }
.proof .stat b.places { font-size: 22px; font-weight: 500; margin-top: 0; color: var(--white); }

/* Cards: showcase, doors, journal */
.card { background: var(--soft); padding: 0 0 24px; gap: 14px; }
main section:nth-of-type(even) .card, main section:nth-of-type(even) .case, main section:nth-of-type(even) .partners li { background: var(--white); }
.card .top { border-radius: 0; min-height: 200px; padding: 24px; }
.card h2, .card h3 { font-size: 22px; padding-inline: 24px; }
.card p, .card .more, .card .meta, .card .tags, .card > .eyebrow { padding-inline: 24px !important; }
.card .more { padding-bottom: 0; }
.post-card .ph { border-radius: 0; }
.case { background: var(--soft); border-top: 4px solid var(--acc); }
.case .result { color: var(--royal); font-weight: 500; }
.partners li { background: var(--soft); color: var(--ink); border-radius: var(--r); }
.tags li { background: var(--soft); color: var(--ink); border-radius: var(--r); }
.filters { padding: 0; }
.filters button { background: var(--soft); color: var(--ink); border-radius: var(--r); }
.filters button[aria-pressed="true"] { background: var(--atlantic); color: var(--white); }
.person .ph { border-radius: 0; max-width: none; aspect-ratio: 4 / 3; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { background: var(--white); border: 1px solid var(--muted); border-radius: var(--r); }

/* Home hero: full-bleed photo, heading on the right, about box and three entries below */
.hero-ohio { position: relative; padding: 0 !important; min-height: min(88vh, 860px); display: grid; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo > span { top: 16px; bottom: auto; left: 24px; }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding: 72px 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr auto; }
.hero-copy { grid-column: 3 / span 2; padding: 0 0 56px 24px; display: grid; gap: 22px; align-content: center; }
.hero-copy h1 { font-size: clamp(36px, 4.2vw, 60px); color: var(--white); }
.hero-copy .lede, .hero-copy .trust, .hero-copy .eyebrow { color: var(--white) !important; }
.hero-copy .lede { font-size: 18px; }
.hero-about { grid-column: 1 / span 2; grid-row: 2; align-self: end; background: var(--atlantic); padding: 32px; max-width: 440px; display: grid; gap: 12px; }
.hero-about p { color: var(--white); font-size: 16px; }
.hero-tabs { grid-column: 3 / span 2; grid-row: 2; align-self: end; list-style: none; margin: 0; padding: 0 0 32px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hero-tabs a { display: block; border-top: 1px solid var(--white); padding-top: 12px; color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.hero-tabs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-tabs span { display: block; font-size: 13px; margin-bottom: 4px; }

/* Inner page titles: large heading on the plain page */
.phero, .phero.royal-tile { background: transparent; padding: 0; min-height: 0; gap: 24px; border-radius: 0; overflow: visible; }
.phero h1 { color: var(--ink); font-weight: 500; font-size: clamp(40px, 5.4vw, 76px); }
.phero.royal-tile, .phero.royal-tile p { color: var(--ink); }
.phero .lede { color: var(--muted) !important; }
.phero .todo { color: var(--muted); background: var(--ice); border-color: var(--muted); }
.phero .btn.lime { background: var(--atlantic); color: var(--white); }
.phero .btn.white { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.phero :focus-visible { outline-color: var(--royal); }
.phero-side.motif-tile, .phero-side.dgtile { display: none; }
main > section:first-of-type:not(.hero-ohio), main > article > section:first-of-type { padding-block: 72px 48px; }

/* Closing band: full-bleed photo with heading and button */
main section[aria-labelledby="cta-h"] { padding: 0; background: var(--photo-blue); }
main section[aria-labelledby="cta-h"] > .grid { padding-block: 96px; }
.contact { background: transparent; padding: 0; border-radius: 0; align-items: center; }
.contact h2 { font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); }
.contact .m-steps { display: none; }
.info { background: color-mix(in srgb, var(--atlantic) 82%, transparent); border-radius: var(--r); padding: 32px; }
.info p { color: var(--white); }

/* Footer */
.site-footer { max-width: none; margin: 0; border-radius: 0; padding: 72px max(24px, calc((100% - var(--max)) / 2 + 24px)) 32px; }

.prose { padding-inline: 0; }
.route, .sec-foot { padding: 0; }
.guide { padding: 40px !important; }

@media (max-width: 960px) {
  main section { padding-block: 56px; }
  .feat-head { grid-template-columns: minmax(0, 1fr); }
  .feat-head > .btn, .feat-head > a { justify-self: start; }
  .hero-ohio { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .hero-about, .hero-tabs { grid-column: 1; grid-row: auto; padding-left: 0; }
  .hero-about { max-width: none; margin-bottom: 24px; }
  .nav-menu { border: 1px solid var(--line); border-radius: var(--r); }
}
@media (max-width: 640px) {
  .hero-tabs { grid-template-columns: minmax(0, 1fr); }
  main section[aria-labelledby="cta-h"] > .grid { padding-block: 64px; }
  .site-footer { padding-top: 48px; }
  .mini, .stat { padding-right: 0; }
}
