/*
Theme Name: Hollinbrook Construction
Author: Hollinbrook Ltd
Description: A polished, mobile-first company website for Hollinbrook Ltd. Pair with the Hollinbrook Site Tools plugin for quote, projects and portal features.
Version: 2.1.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: hollinbrook
*/

:root {
  --midnight: #080b12;
  --midnight-soft: #0e1421;
  --midnight-lift: #131d31;
  --blue: #287bff;
  --blue-deep: #1655c8;
  --blue-light: #72aaff;
  --orange: #ff7a1a;
  --paper: #f4f6fb;
  --muted: #a8b1c2;
  --line: rgba(183, 202, 232, .18);
  --white: #fff;
  --container: 1200px;
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--midnight); color: var(--paper); font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(40, 123, 255, .65); color: white; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.hb-container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.hb-skip { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-160%); padding: 10px 16px; color: #fff; background: var(--blue); border-radius: 9px; }
.hb-skip:focus { transform: none; }
.hb-topline { min-height: 38px; display: flex; align-items: center; background: var(--blue); color: #fff; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.hb-topline .hb-container { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.hb-topline strong { font-weight: 750; }
.hb-topline a { opacity: .92; }
.hb-header { position: sticky; top: 0; z-index: 30; background: rgba(8, 11, 18, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.hb-nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hb-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.hb-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 13px 13px 13px 3px; background: linear-gradient(140deg, var(--blue), #113e93 76%); color: #fff; font-size: 20px; font-weight: 850; letter-spacing: -.1em; box-shadow: 0 8px 24px rgba(40,123,255,.22); }
.hb-brand-title { display: block; font-size: 15px; font-weight: 850; line-height: 1.1; letter-spacing: .09em; }
.hb-brand-subtitle { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hb-brand img { display: block; width: auto; max-width: 190px; max-height: 48px; object-fit: contain; }
.hb-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.hb-nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); margin: 0; padding: 0; list-style: none; }
.hb-nav a { color: #ccd5e4; font-size: 13px; font-weight: 650; transition: color .2s ease; }
.hb-nav a:hover, .hb-nav .current-menu-item > a { color: #fff; }
.hb-nav .hb-button { color: #fff; }
.hb-nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; color: white; border-radius: 12px; cursor: pointer; }
.hb-nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .2s; }
.hb-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 750; letter-spacing: .01em; box-shadow: 0 9px 25px rgba(40,123,255,.2); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
.hb-button:hover { transform: translateY(-2px); background: #3987ff; box-shadow: 0 13px 34px rgba(40,123,255,.31); }
.hb-button--orange { background: var(--orange); color: var(--midnight); box-shadow: 0 9px 25px rgba(255,122,26,.18); }
.hb-button--orange:hover { background: #ff8b39; }
.hb-button--outline { border-color: rgba(255,255,255,.32); background: transparent; box-shadow: none; }
.hb-button--outline:hover { background: rgba(255,255,255,.08); }
.hb-button--small { min-height: 42px; padding-inline: 15px; }
.hb-arrow { display: inline-block; font-size: 18px; line-height: 0; transition: transform .2s ease; }
a:hover .hb-arrow { transform: translateX(4px); }

.hb-hero { position: relative; overflow: hidden; padding: clamp(62px, 8vw, 112px) 0 58px; background: radial-gradient(ellipse at 75% 24%, rgba(40,123,255,.22), transparent 40%), var(--midnight); }
.hb-hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(92,145,224,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(92,145,224,.18) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, transparent 20%, black 100%); }
.hb-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(32px, 6vw, 76px); }
.hb-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-light); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hb-eyebrow::before { width: 23px; height: 2px; content: ""; background: var(--orange); }
.hb-hero h1 { max-width: 690px; margin: 22px 0 20px; color: #fff; font-size: clamp(43px, 6.2vw, 78px); line-height: .99; letter-spacing: -.065em; font-weight: 780; }
.hb-hero h1 em { color: var(--blue-light); font-style: normal; }
.hb-lead { max-width: 560px; margin: 0; color: #b9c4d5; font-size: clamp(16px, 1.55vw, 19px); line-height: 1.7; }
.hb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hb-hero-note { display: flex; align-items: center; gap: 11px; margin-top: 38px; color: var(--muted); font-size: 12px; }
.hb-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,122,26,.14); }
.hb-hero-art { position: relative; min-height: 485px; display: grid; place-items: center; border: 1px solid rgba(126,170,239,.22); border-radius: 34px; background: linear-gradient(145deg, rgba(32,84,165,.78), rgba(13,26,49,.96) 55%, rgba(8,11,18,.92)); box-shadow: 0 30px 90px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.08); overflow: hidden; }
.hb-hero-art::after { position: absolute; inset: auto -10% -40% 10%; height: 56%; content: ""; background: radial-gradient(ellipse, rgba(40,123,255,.28), transparent 66%); }
.hb-hero-art svg { position: relative; z-index: 1; width: 100%; height: auto; max-height: 500px; }
.hb-art-tag { position: absolute; z-index: 2; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; background: rgba(8,11,18,.78); color: #dae4f5; font-size: 11px; backdrop-filter: blur(10px); }
.hb-art-tag i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hb-credential-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 62px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.hb-credential { min-height: 75px; display: flex; align-items: center; gap: 13px; padding: 14px 20px; background: rgba(14,20,33,.96); }
.hb-credential strong { display: block; color: #fff; font-size: 12px; }
.hb-credential span { color: var(--muted); font-size: 10px; }
.hb-credential-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: rgba(40,123,255,.15); color: var(--blue-light); font-size: 16px; }

.hb-section { padding: clamp(72px, 9vw, 112px) 0; }
.hb-section--tight { padding: 54px 0; }
.hb-section--blue { background: linear-gradient(130deg, #123b83, #1457bd 55%, #0f3675); }
.hb-section--blue .hb-eyebrow { color: #cae0ff; }
.hb-section--blue .hb-eyebrow::before { background: var(--orange); }
.hb-section--soft { background: linear-gradient(145deg, #0d1422, #0c111b); border-block: 1px solid rgba(255,255,255,.05); }
.hb-section-head { max-width: 690px; margin: 0 auto 46px; text-align: center; }
.hb-section-head h2, .hb-page-intro h1 { margin: 15px 0 12px; color: #fff; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.04; letter-spacing: -.052em; }
.hb-section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.hb-section--blue .hb-section-head p { color: #d5e5ff; }
.hb-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hb-service-card { position: relative; min-height: 245px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(20,30,48,.94), rgba(12,17,27,.96)); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; overflow: hidden; }
.hb-service-card:hover { transform: translateY(-5px); border-color: rgba(98,157,255,.63); box-shadow: 0 18px 38px rgba(0,0,0,.22); }
.hb-service-card::after { position: absolute; top: -50px; right: -50px; width: 130px; height: 130px; content: ""; border-radius: 50%; background: rgba(40,123,255,.08); filter: blur(4px); }
.hb-service-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 25px; border: 1px solid rgba(114,170,255,.26); border-radius: 14px; background: rgba(40,123,255,.14); color: var(--blue-light); }
.hb-service-icon svg { width: 24px; height: 24px; }
.hb-service-card h3 { position: relative; z-index: 1; margin: 0 0 9px; color: white; font-size: 18px; letter-spacing: -.02em; }
.hb-service-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.hb-service-card .hb-card-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 21px; color: #d8e7ff; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.hb-section--blue .hb-service-card { border-color: rgba(255,255,255,.16); background: rgba(8,20,43,.4); }
.hb-section--blue .hb-service-card:hover { background: rgba(8,20,43,.6); }
.hb-section--blue .hb-service-card p { color: #d4e2f8; }

.hb-split { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(42px, 8vw, 105px); }
.hb-portrait-card { position: relative; min-height: 450px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: radial-gradient(circle at 52% 38%, rgba(40,123,255,.46), transparent 38%), linear-gradient(150deg, #142b50, #101827 72%); }
.hb-portrait-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-portrait-placeholder { width: 164px; height: 164px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: linear-gradient(145deg, var(--blue), #123469); color: #fff; font-size: 58px; font-weight: 850; letter-spacing: -.09em; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.hb-portrait-caption { position: absolute; inset: auto 16px 16px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(8,11,18,.78); backdrop-filter: blur(14px); }
.hb-portrait-caption strong { display: block; color: white; font-size: 16px; }
.hb-portrait-caption span { color: var(--muted); font-size: 12px; }
.hb-copy h2 { margin: 14px 0 18px; color: #fff; font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -.055em; line-height: 1.05; }
.hb-copy p { margin: 0 0 17px; color: #b8c2d2; font-size: 15px; }
.hb-check-list { display: grid; gap: 12px; margin: 27px 0 30px; padding: 0; list-style: none; }
.hb-check-list li { display: flex; gap: 12px; align-items: flex-start; color: #e6ebf4; font-size: 13px; }
.hb-check-list li::before { content: "✓"; display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; background: rgba(40,123,255,.2); color: var(--blue-light); font-size: 12px; font-weight: 800; }
.hb-detail-note { padding: 15px 17px; border-left: 2px solid var(--orange); background: rgba(255,255,255,.045); color: #bec8d8; font-size: 12px; }

.hb-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.hb-project-card { position: relative; min-height: 345px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, #14233b, #0c111a); }
.hb-project-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 20%, rgba(5,8,14,.94)); z-index: 1; pointer-events: none; }
.hb-project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hb-project-card:hover img { transform: scale(1.045); }
.hb-project-image { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 24%, rgba(40,123,255,.45), transparent 28%), linear-gradient(145deg, #173d7a, #101a2b); color: rgba(255,255,255,.28); }
.hb-project-image svg { width: 78px; height: 78px; }
.hb-project-content { position: relative; z-index: 2; padding: 23px; }
.hb-project-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #b8d1f9; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.hb-project-meta i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hb-project-content h3 { margin: 0 0 5px; color: #fff; font-size: 21px; letter-spacing: -.03em; }
.hb-project-content p { margin: 0; color: #c0cad8; font-size: 12px; }
.hb-project-image-button { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(8,11,18,.55); color: white; cursor: zoom-in; }
.hb-project-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -14px 0 28px; }
.hb-project-filter { padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.hb-project-filter[aria-pressed="true"] { border-color: var(--blue); background: rgba(40,123,255,.18); color: white; }
.hb-empty-state { padding: 54px 28px; border: 1px dashed rgba(157,182,223,.32); border-radius: 19px; background: rgba(14,20,33,.58); text-align: center; }
.hb-empty-state-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 16px; background: rgba(40,123,255,.17); color: var(--blue-light); font-size: 25px; }
.hb-empty-state h3 { margin: 0 0 8px; color: white; font-size: 20px; }
.hb-empty-state p { max-width: 530px; margin: 0 auto; color: var(--muted); font-size: 13px; }

.hb-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: hb-steps; }
.hb-process-card { position: relative; padding: 8px 25px 8px 0; }
.hb-process-card:not(:last-child)::after { position: absolute; top: 25px; left: 60px; right: 18px; height: 1px; content: ""; background: linear-gradient(90deg, rgba(114,170,255,.52), rgba(114,170,255,.04)); }
.hb-step-number { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(114,170,255,.32); border-radius: 14px; background: #101c31; color: var(--blue-light); font-size: 13px; font-weight: 850; }
.hb-process-card h3 { margin: 0 0 8px; color: white; font-size: 17px; }
.hb-process-card p { margin: 0; color: var(--muted); font-size: 12px; }

.hb-cta-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(30px, 5vw, 56px); overflow: hidden; border: 1px solid rgba(255,255,255,.19); border-radius: 25px; background: linear-gradient(115deg, #144fb0, #2379f5 58%, #1557bf); }
.hb-cta-panel::after { position: absolute; right: 15%; bottom: -140px; width: 360px; height: 260px; content: ""; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 75px rgba(255,255,255,.025); }
.hb-cta-panel > * { position: relative; z-index: 1; }
.hb-cta-panel h2 { max-width: 650px; margin: 0 0 9px; color: white; font-size: clamp(28px, 4vw, 43px); line-height: 1.06; letter-spacing: -.05em; }
.hb-cta-panel p { margin: 0; color: #d7e6ff; font-size: 14px; }
.hb-cta-panel .hb-button { flex: 0 0 auto; background: var(--orange); color: var(--midnight); }

.hb-page-hero { padding: 78px 0 64px; background: radial-gradient(ellipse at 80% 0, rgba(40,123,255,.24), transparent 45%), linear-gradient(180deg, #0d1524, var(--midnight)); border-bottom: 1px solid var(--line); }
.hb-page-intro { max-width: 780px; }
.hb-page-intro h1 { font-size: clamp(40px, 6vw, 68px); }
.hb-page-intro p { max-width: 680px; margin: 0; color: #b7c1d0; font-size: 17px; }
.hb-breadcrumb { margin-bottom: 19px; color: #8393ab; font-size: 11px; }
.hb-breadcrumb a { color: var(--blue-light); }
.hb-content { padding: 62px 0 94px; }
.hb-content h2 { margin-top: 45px; color: white; font-size: 30px; letter-spacing: -.035em; }
.hb-content p, .hb-content li { color: #bcc5d3; }
.hb-content a:not(.hb-button) { color: var(--blue-light); text-decoration: underline; text-underline-offset: 3px; }
.hb-service-detail { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 23px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.hb-service-detail:last-child { border-bottom: 0; }
.hb-service-detail h2 { margin: 0 0 7px; font-size: 23px; }
.hb-service-detail p { margin: 0; }
.hb-service-detail .hb-service-icon { margin: 0; }
.hb-contact-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); gap: 40px; align-items: start; }
.hb-contact-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--midnight-soft); }
.hb-contact-card h2 { margin: 0 0 16px; color: white; font-size: 21px; }
.hb-contact-line { padding: 14px 0; border-top: 1px solid var(--line); }
.hb-contact-line strong { display: block; color: #fff; font-size: 12px; }
.hb-contact-line span, .hb-contact-line address { color: var(--muted); font-size: 13px; font-style: normal; }

.hb-form { display: grid; gap: 17px; }
.hb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hb-field { display: grid; gap: 7px; }
.hb-field--wide { grid-column: 1 / -1; }
.hb-field label { color: #e6ecf6; font-size: 12px; font-weight: 700; }
.hb-field input, .hb-field select, .hb-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(183,202,232,.22); border-radius: 10px; background: #0b101a; color: white; }
.hb-field textarea { min-height: 126px; resize: vertical; }
.hb-field input::placeholder, .hb-field textarea::placeholder { color: #718098; }
.hb-field small { color: #8492a8; font-size: 11px; }
.hb-check-field { display: flex; align-items: flex-start; gap: 10px; color: #aeb9c9; font-size: 11px; }
.hb-check-field input { margin-top: 4px; accent-color: var(--blue); }
.hb-form-notice { padding: 13px 16px; border: 1px solid rgba(75,195,137,.34); border-radius: 10px; background: rgba(75,195,137,.1); color: #b4f1d2; font-size: 13px; }
.hb-form-notice--error { border-color: rgba(255,122,26,.38); background: rgba(255,122,26,.1); color: #ffd1b0; }
.hb-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.hb-portal { max-width: 880px; margin-inline: auto; }
.hb-portal-login { max-width: 490px; margin-inline: auto; padding: 30px; border: 1px solid var(--line); border-radius: 19px; background: var(--midnight-soft); }
.hb-portal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.hb-portal-head h2 { margin: 0; color: white; font-size: 26px; letter-spacing: -.04em; }
.hb-portal-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.hb-portal-list { display: grid; gap: 10px; margin: 0 0 35px; padding: 0; list-style: none; }
.hb-portal-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 12px; background: rgba(14,20,33,.72); }
.hb-portal-item strong { display: block; color: #fff; font-size: 13px; }
.hb-portal-item span { color: var(--muted); font-size: 11px; }
.hb-portal-item a { color: var(--blue-light); font-size: 11px; font-weight: 700; }
.hb-portal-form { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--midnight-soft); }
.hb-portal-form h3 { margin: 0 0 18px; color: white; font-size: 20px; }
.hb-logout { color: var(--blue-light); font-size: 12px; }

.hb-single-project-hero { position: relative; min-height: 410px; display: flex; align-items: end; background: linear-gradient(180deg, rgba(8,11,18,.05), rgba(8,11,18,.9)); }
.hb-single-project-hero > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-single-project-hero .hb-container { padding-block: 45px; }
.hb-project-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 26px; }
.hb-project-gallery button { display: block; padding: 0; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 12px; background: #101827; overflow: hidden; cursor: zoom-in; }
.hb-project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hb-project-gallery button:hover img { transform: scale(1.04); }
.hb-lightbox { position: fixed; z-index: 200; inset: 0; display: none; place-items: center; padding: 32px; background: rgba(3,5,10,.94); }
.hb-lightbox.is-open { display: grid; }
.hb-lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 100px #000; }
.hb-lightbox-close { position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 26px; cursor: pointer; }

.hb-footer { padding: 58px 0 25px; border-top: 1px solid var(--line); background: #06080d; }
.hb-footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .9fr; gap: 48px; padding-bottom: 40px; }
.hb-footer-about p { max-width: 350px; color: #8995a8; font-size: 12px; }
.hb-footer h3 { margin: 0 0 14px; color: white; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hb-footer-links { display: grid; gap: 9px; color: #aeb8c7; font-size: 12px; }
.hb-footer-links a:hover { color: var(--blue-light); }
.hb-legal-line { padding: 17px 0; border-block: 1px solid rgba(255,255,255,.09); color: #8591a3; font-size: 10px; line-height: 1.7; }
.hb-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: #687487; font-size: 10px; }
.hb-cookie-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.hb-cookie-link:hover { color: var(--blue-light); }

.hb-cookie-banner { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: min(420px, calc(100% - 32px)); padding: 21px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #111a2a; box-shadow: 0 20px 65px rgba(0,0,0,.5); }
.hb-cookie-banner[hidden] { display: none; }
.hb-cookie-banner h2 { margin: 0 0 7px; color: #fff; font-size: 16px; }
.hb-cookie-banner p { margin: 0; color: #aebbd0; font-size: 11px; line-height: 1.6; }
.hb-cookie-actions { display: flex; gap: 8px; margin-top: 15px; }
.hb-cookie-actions button { min-height: 39px; flex: 1; padding-inline: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; background: transparent; color: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.hb-cookie-actions button[data-consent="analytics"] { border-color: var(--blue); background: var(--blue); }

.hb-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.hb-reveal.is-visible { opacity: 1; transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hb-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.hb-pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; color: #dce5f4; }
.hb-pagination .current { border-color: var(--blue); background: var(--blue); color: white; }

@media (max-width: 1000px) {
  .hb-nav { gap: 14px; }
  .hb-nav ul { gap: 14px; }
  .hb-nav a { font-size: 12px; }
  .hb-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: 32px; }
  .hb-hero-art { min-height: 420px; }
  .hb-services-grid, .hb-project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .hb-container { width: min(var(--container), calc(100% - 34px)); }
  .hb-topline .hb-container { justify-content: center; text-align: center; }
  .hb-topline .hb-contact-mini { display: none; }
  .hb-nav-wrap { min-height: 72px; }
  .hb-nav-toggle { display: block; margin-left: auto; }
  .hb-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; padding: 12px 17px 22px; border-bottom: 1px solid var(--line); background: rgba(8,11,18,.99); }
  .hb-nav.is-open { display: grid; }
  .hb-nav ul { display: grid; gap: 0; }
  .hb-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .hb-nav li a { display: block; padding: 13px 3px; font-size: 14px; }
  .hb-nav .hb-button { margin-top: 10px; }
  .hb-hero { padding-top: 58px; }
  .hb-hero-grid, .hb-split, .hb-contact-grid { grid-template-columns: 1fr; }
  .hb-hero-grid { gap: 34px; }
  .hb-hero-art { min-height: 350px; }
  .hb-credential-row { margin-top: 37px; }
  .hb-credential { padding: 12px; gap: 8px; }
  .hb-credential-mark { width: 31px; height: 31px; flex-basis: 31px; }
  .hb-credential strong { font-size: 10px; }
  .hb-credential span { font-size: 9px; }
  .hb-split { gap: 34px; }
  .hb-portrait-card { min-height: 370px; }
  .hb-process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .hb-process-card:not(:last-child)::after { display: none; }
  .hb-cta-panel { align-items: flex-start; flex-direction: column; }
  .hb-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hb-footer-about { grid-column: 1/-1; }
}
@media (max-width: 520px) {
  .hb-container { width: calc(100% - 30px); }
  .hb-hero h1 { font-size: 46px; }
  .hb-hero-art { min-height: 285px; border-radius: 23px; }
  .hb-credential-row { grid-template-columns: 1fr; }
  .hb-credential { min-height: 60px; padding-inline: 15px; }
  .hb-services-grid, .hb-project-grid { grid-template-columns: 1fr; }
  .hb-service-card { min-height: 215px; }
  .hb-section-head { margin-bottom: 31px; }
  .hb-process-grid { grid-template-columns: 1fr; }
  .hb-process-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; padding: 0; }
  .hb-step-number { grid-row: span 2; margin: 0; }
  .hb-process-card h3 { align-self: end; }
  .hb-portrait-card { min-height: 325px; }
  .hb-page-hero { padding: 57px 0 46px; }
  .hb-form-grid { grid-template-columns: 1fr; }
  .hb-field--wide { grid-column: auto; }
  .hb-service-detail { grid-template-columns: 50px 1fr; gap: 15px; }
  .hb-service-detail .hb-service-icon { width: 44px; height: 44px; }
  .hb-project-gallery { grid-template-columns: repeat(2, 1fr); }
  .hb-footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .hb-footer-about { grid-column: auto; }
  .hb-footer-bottom { flex-direction: column; gap: 7px; }
  .hb-cookie-banner { right: 10px; bottom: 10px; width: calc(100% - 20px); }
  .hb-cookie-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hb-reveal { opacity: 1; transform: none; }
}

/* Hollinbrook visual identity: architectural ink, warm stone and restrained brass. */
:root { --midnight:#101a1a; --midnight-soft:#192522; --midnight-lift:#20302a; --blue:#9c784c; --blue-deep:#705437; --blue-light:#dbc7a4; --orange:#d5ae78; --paper:#f7f5ef; --muted:#bcc8c0; --line:rgba(223,226,211,.18); --container:1240px; }
body { background:var(--midnight); color:var(--paper); }
::selection { background:#b4966b; color:#101a1a; }
.hb-topline { min-height:36px; background:#d3ba92; color:#182521; font-size:10px; letter-spacing:.15em; }
.hb-header { background:rgba(16,26,26,.96); border-color:rgba(224,223,204,.13); }
.hb-nav-wrap { min-height:88px; }
.hb-brand-mark { width:48px; height:48px; border:1px solid #c7ae84; border-radius:0; background:transparent; color:#e5d7bc; box-shadow:none; font-family:Georgia,serif; font-size:25px; font-weight:400; letter-spacing:0; }
.hb-brand-title { font-size:15px; letter-spacing:.16em; }
.hb-brand-subtitle { color:#b5c1b8; letter-spacing:.2em; }
.hb-nav a { color:#d8dfd8; font-size:13px; font-weight:550; }
.hb-nav a:hover,.hb-nav .current-menu-item>a { color:#e6cda6; }
.hb-button { min-height:50px; border-radius:3px; background:#b99868; color:#101a1a; box-shadow:none; font-size:12px; letter-spacing:.035em; }
.hb-button:hover { background:#d7bf98; color:#101a1a; box-shadow:none; }
.hb-button--orange { background:#d7bb8e; color:#17231f; }
.hb-button--orange:hover { background:#ead5af; }
.hb-button--outline { border-color:rgba(228,231,218,.55); background:transparent; color:#f6f4eb; }
.hb-button--outline:hover { background:#e8dfcc; border-color:#e8dfcc; color:#17231f; }
.hb-nav .hb-button { background:#d2b88e; color:#14201c; }
.hb-nav .hb-button:hover { color:#14201c; background:#ead5af; }
.hb-hero { padding-top:clamp(72px,9vw,120px); background:radial-gradient(ellipse at 79% 28%,rgba(104,132,110,.19),transparent 42%),#101a1a; }
.hb-hero::before { opacity:.10; background-image:linear-gradient(rgba(202,205,184,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(202,205,184,.2) 1px,transparent 1px); background-size:68px 68px; }
.hb-hero-grid { gap:clamp(42px,7vw,90px); }
.hb-eyebrow { color:#d6bd94; font-size:10px; letter-spacing:.2em; }
.hb-eyebrow::before { width:30px; height:1px; background:#d2b88e; }
.hb-hero h1,.hb-section-head h2,.hb-copy h2,.hb-page-intro h1,.hb-cta-panel h2,.hb-director-story h2 { font-family:Georgia,'Times New Roman',serif; font-weight:400; letter-spacing:-.045em; }
.hb-hero h1 { font-size:clamp(52px,6.6vw,86px); line-height:1.02; }
.hb-hero h1 em { color:#d8bf97; font-style:italic; font-weight:400; }
.hb-lead { color:#c5d0c7; line-height:1.8; }
.hb-hero-note { font-size:12px; color:#c4cec4; }
.hb-hero-art { min-height:500px; border-radius:4px; border-color:rgba(220,215,190,.2); background:linear-gradient(145deg,#496057,#233730 55%,#172621); box-shadow:0 26px 70px rgba(0,0,0,.2); }
.hb-hero-art::after { background:radial-gradient(ellipse,rgba(193,165,120,.2),transparent 66%); }
.hb-art-tag { border-radius:2px; background:rgba(15,25,22,.88); color:#e7e4d7; }
.hb-credential-row { border-radius:3px; border-color:rgba(232,225,208,.18); }
.hb-credential { min-height:84px; background:#1a2824; }
.hb-credential-mark { border-radius:0; background:transparent; border:1px solid rgba(216,191,151,.42); color:#d8bf97!important; }
.hb-credential strong { font-size:12px; }.hb-credential span { font-size:11px; }
.hb-section--blue { background:#eae7dc; color:#1b2c25; }
.hb-section--blue .hb-eyebrow { color:#6b5940; }.hb-section--blue .hb-eyebrow::before { background:#a88758; }
.hb-section--blue .hb-section-head h2 { color:#1b2c25; }.hb-section--blue .hb-section-head p { color:#52645a; }
.hb-section--soft { background:#192722; border-color:rgba(224,223,204,.11); }
.hb-section-head { max-width:760px; margin-bottom:52px; }.hb-section-head h2 { font-size:clamp(38px,4.5vw,58px); }
.hb-section-head p { font-size:16px; line-height:1.75; }
.hb-services-grid { gap:16px; }
.hb-service-card,.hb-section--blue .hb-service-card { min-height:260px; padding:30px; border:1px solid #d4d1c4; border-radius:3px; background:#f5f3ec; box-shadow:none; }
.hb-section--blue .hb-service-card:hover { background:#fffdf7; border-color:#a69371; box-shadow:0 18px 34px rgba(32,45,36,.08); }
.hb-service-card::after { display:none; }
.hb-service-icon { width:49px; height:49px; border-radius:0; border-color:#cbbca0; background:#e9e4d6; color:#526550; }
.hb-section--blue .hb-service-card h3 { color:#203229; font-size:20px; }.hb-section--blue .hb-service-card p { color:#53635a; font-size:14px; }
.hb-section--blue .hb-service-card .hb-card-link { color:#745f41; font-size:10px; }
.hb-portrait-card { min-height:490px; border-radius:3px; background:radial-gradient(circle at 50% 40%,rgba(173,155,121,.24),transparent 44%),linear-gradient(145deg,#465b50,#1b2a23); }
.hb-portrait-placeholder { border-radius:50%; background:transparent; border-color:rgba(229,214,183,.5); box-shadow:none; color:#ebdcc1; font-family:Georgia,serif; font-weight:400; }
.hb-portrait-caption { border-radius:2px; background:rgba(14,27,22,.9); }
.hb-copy p { color:#c4cec5; font-size:16px; line-height:1.75; }
.hb-check-list li { font-size:14px; }.hb-check-list li::before { background:rgba(215,187,142,.15); color:#e4c99d; }
.hb-process-card p { font-size:14px; }.hb-step-number { border-radius:0; }
.hb-project-card,.hb-empty-state,.hb-contact-card,.hb-portal-login,.hb-portal-form { border-radius:3px; }
.hb-project-image { background:radial-gradient(circle at 70% 24%,rgba(189,168,127,.26),transparent 35%),linear-gradient(145deg,#3c5548,#1a2923); }
.hb-empty-state { background:#192722; }.hb-empty-state-mark { border-radius:2px; background:#30443a; color:#e1c79e; }
.hb-cta-panel { border-radius:3px; background:linear-gradient(115deg,#304a3e,#1c3329); border:1px solid rgba(226,213,182,.2); }
.hb-cta-panel p { color:#d4ded3; }.hb-cta-panel .hb-button { background:#d7bb8e; color:#17231f; }
.hb-page-hero { background:radial-gradient(ellipse at 82% 0,rgba(166,152,116,.15),transparent 45%),linear-gradient(180deg,#20322b,#101a1a); }
.hb-content p,.hb-content li { color:#c6d0c6; }.hb-contact-card { background:#1b2b24; }
.hb-field input,.hb-field select,.hb-field textarea { border-radius:3px; background:#101a16; border-color:#64776b; }
.hb-footer { background:#0b1412; }.hb-footer h3 { color:#e2d4b9; }.hb-footer-about p,.hb-footer-links { font-size:13px; }.hb-footer-bottom,.hb-legal-line { font-size:11px; }
.hb-director-story { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr); gap:clamp(32px,6vw,80px); }
.hb-director-story h2 { margin:14px 0 8px; color:#fff; font-size:clamp(36px,4vw,52px); line-height:1.08; }.hb-director-role { color:#d0ba94; }.hb-director-bio { color:#d0d9d0; font-size:16px; line-height:1.8; }.hb-director-bio p:first-child { margin-top:0; }
/* Content stays visible if JavaScript is unavailable. */
.hb-reveal { opacity:1; transform:none; }
@media (max-width:780px) { .hb-nav { background:#101a1a; }.hb-director-story { grid-template-columns:1fr; }.hb-hero-art { min-height:370px; }.hb-nav-wrap { min-height:74px; } }
@media (max-width:520px) { .hb-hero h1 { font-size:clamp(44px,12vw,58px); }.hb-hero-art { min-height:285px; }.hb-service-card,.hb-section--blue .hb-service-card { min-height:0; padding:26px; }.hb-portrait-card { min-height:340px; }.hb-credential { min-height:64px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }

/* Director imagery stays legible on narrow screens and respects custom portraits. */
.hb-portrait-card img { object-position: center 25%; }
.hb-director-story-content.hb-has-portrait { display:grid; grid-template-columns:minmax(0,1fr) minmax(140px, 200px); align-items:start; gap:clamp(24px,3vw,40px); }
.hb-director-story-portrait { overflow:hidden; aspect-ratio:4/5; background:#263b31; border:1px solid rgba(216,191,151,.3); }
.hb-director-story-portrait img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 25%; }
@media (max-width:520px) { .hb-director-story-content.hb-has-portrait { grid-template-columns:1fr; } .hb-director-story-portrait { width:min(58%,200px); } }
.hb-step-number { border-color:rgba(215,187,142,.45); background:#20352b; color:#e7d2b1; }
.hb-project-filter[aria-pressed="true"] { background:#4a5845; border-color:#c9b188; }
.hb-project-meta { color:#e2d0ae; }
.hb-cookie-banner { border-radius:3px; background:#1b2a24; }
.hb-pagination .current { background:#c5a77b; border-color:#c5a77b; color:#122019; }
/* Keep project filters functional and motion optional. */
.hb-project-card[hidden] { display:none; }
@media (prefers-reduced-motion:no-preference) {
  .hb-reveal.is-visible { animation:hb-rise-in .55s ease-out both; }
  .hb-hero-art svg { animation:hb-art-arrive .9s ease-out both; }
}
@keyframes hb-rise-in { from { opacity:.65; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes hb-art-arrive { from { opacity:.65; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
