/*
Theme Name: HGB Legal & Tech Business
Theme URI: https://hgbprivacy.nl/
Author: Hendra Blacquiere
Description: Lichte zakelijke WordPress-website voor HGB Legal & Tech, gebaseerd op de stabiele portfolio-opmaak.
Version: 1.1.0
Text Domain: hgb-business-portfolio
*/

:root {
  --hgb-blue: #2b6cb0;
  --hgb-blue-deep: #1f4e79;
  --hgb-blue-dark: #143a5c;
  --hgb-blue-pale: #edf5fb;
  --hgb-orange: #b85c1e;
  --hgb-orange-dark: #984914;
  --hgb-ink: #17263a;
  --hgb-muted: #5f6f82;
  --hgb-line: #d9e4ec;
  --hgb-paper: #fbfdff;
  --hgb-shadow: 0 18px 50px rgba(24, 62, 95, .09);
  --hgb-content: 1128px;
  --hgb-feature-width: 1062px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hgb-paper); color: var(--hgb-ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
body, button, input, textarea, select, .wp-block-heading, .wp-block-button__link, .site-title, .site-tagline, .main-navigation { font-family: Arial, Helvetica, sans-serif !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.hgb-shell { width: min(var(--hgb-content), calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(31,78,121,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-branding { display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.site-title { color: var(--hgb-blue); font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.site-tagline { margin-top: 8px; color: var(--hgb-orange); font-size: 14px; font-weight: 700; }
.main-navigation ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; color: #40516a; font-size: 15px; }
.main-navigation a { position: relative; display: block; padding: 30px 0; }
.main-navigation a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 2px; background: var(--hgb-orange); transition: right .2s; }
.main-navigation a:hover::after, .main-navigation .current-menu-item a::after { right: 0; }
.main-navigation .current-menu-item a { color: var(--hgb-blue-deep); font-weight: 700; }

.site-main > .entry-content { margin: 0; }
.entry-content > *:not(.alignfull):not(.alignwide) { width: min(var(--hgb-content), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { width: min(var(--hgb-content), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.entry-content > .alignfull { width: 100%; }
.entry-content h1, .entry-content h2, .entry-content h3 { line-height: 1.12; letter-spacing: -.035em; }
.entry-content h1 { font-size: clamp(42px, 4.8vw, 64px); font-weight: 400 !important; }
.entry-content h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400 !important; }
.entry-content h3 { font-size: clamp(23px, 2vw, 30px); font-weight: 500 !important; }
.entry-content p { margin-top: 0; }

.hgb-hero { position: relative; overflow: hidden; min-height: 570px; display: flex; align-items: center; padding: 0 max(24px, calc((100vw - var(--hgb-content))/2)); background: var(--hgb-blue); color: #fff; }
.hgb-hero::after { content: ""; position: absolute; right: -150px; top: -230px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 95px rgba(255,255,255,.04), 0 0 0 190px rgba(255,255,255,.035); }
.hgb-hero > .wp-block-group__inner-container { position: relative; z-index: 2; width: min(var(--hgb-content), 100%); }
.hgb-hero-grid { min-height: 570px; display: grid !important; grid-template-columns: minmax(0,1.7fr) minmax(260px,.7fr); gap: 86px; align-items: center; margin: 0 !important; }
.hgb-hero-copy { padding: 88px 0; }
.hgb-eyebrow { margin: 0 0 14px !important; color: var(--hgb-blue); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hgb-hero .hgb-eyebrow, .hgb-page-hero .hgb-eyebrow, .hgb-cta .hgb-eyebrow { color: #d9ebfb; }
.hgb-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(42px, 4.7vw, 64px); font-weight: 400 !important; line-height: 1.04; letter-spacing: -.045em; }
.hgb-hero .hgb-lead { max-width: 760px; margin: 28px 0 0; color: #eff7ff; font-size: 18px; line-height: 1.65; }
.hgb-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.hgb-actions > .wp-block-buttons, .hgb-actions > p { margin: 0; }
.wp-block-button__link, .hgb-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 6px; background: var(--hgb-blue-deep); color: #fff !important; font-weight: 700; transition: transform .2s, background .2s, box-shadow .2s; }
.wp-block-button__link:hover, .hgb-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,58,92,.18); }
.is-style-hgb-orange .wp-block-button__link, .hgb-button-orange { background: var(--hgb-orange); }
.is-style-hgb-orange .wp-block-button__link:hover, .hgb-button-orange:hover { background: var(--hgb-orange-dark); }
.hgb-text-link { color: var(--hgb-blue-deep); font-weight: 700; border-bottom: 1px solid currentColor; }
.hgb-hero .hgb-text-link { color: #fff; }
.hgb-hero-note { width: 286px; justify-self: start; align-self: end; margin: 0 0 74px; padding: 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.hgb-hero-note .hgb-note-number { margin: 0; color: #d9ebfb; font-size: 13px; }
.hgb-hero-note .hgb-note-main { margin: 44px 0 26px; color: #fff; font-size: 24px; font-weight: 400; line-height: 1.35; }
.hgb-hero-note .hgb-note-small { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); color: #d9ebfb; font-size: 13px; }

.hgb-section { width: min(var(--hgb-content), calc(100% - 48px)) !important; max-width: var(--hgb-content) !important; margin-left: auto !important; margin-right: auto !important; padding: 100px 0 !important; }
.hgb-section > .wp-block-group__inner-container { width: 100% !important; max-width: none !important; margin: 0 !important; }
.hgb-section-tint { width: 100% !important; max-width: none !important; padding-left: max(24px, calc((100vw - var(--hgb-content))/2)) !important; padding-right: max(24px, calc((100vw - var(--hgb-content))/2)) !important; background: var(--hgb-blue-pale); }
.hgb-section-tint > .wp-block-group__inner-container { width: min(var(--hgb-content), 100%) !important; max-width: var(--hgb-content) !important; margin: 0 auto !important; }
.hgb-section-heading { max-width: 720px; margin-bottom: 48px !important; }
.hgb-section-heading.hgb-centered { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.hgb-section-heading h2 { margin: 0; font-size: clamp(32px, 3.2vw, 46px); font-weight: 400 !important; }
.hgb-section-heading p:last-child { margin-top: 20px; color: var(--hgb-muted); font-size: 16px; line-height: 1.55; }
.hgb-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 24px; }
.hgb-cards > .wp-block-column { min-width: 0; }
.hgb-card { min-height: 365px; padding: 34px; border: 1px solid var(--hgb-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(34,85,130,.04); }
.hgb-card-top { display: flex; align-items: flex-start; justify-content: space-between; color: #8da1b5; }
.hgb-card-top > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.hgb-card-number { color: var(--hgb-orange); font-size: 13px; font-weight: 800; }
.hgb-card-top .hgb-card-number { color: #8da1b5; }
.hgb-card h3 { margin: 32px 0 12px; font-size: 26px; font-weight: 400 !important; }
.hgb-card p { color: var(--hgb-muted); font-size: 16px; }
.hgb-card a { color: var(--hgb-blue); font-weight: 700; }
.hgb-line-icon { position: relative; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 12px; background: var(--hgb-blue-pale); color: var(--hgb-blue); }
.hgb-scale-bar { position: absolute; left: 14px; right: 14px; top: 20px; border-top: 2px solid; }
.hgb-scale-bar::before { content: ""; position: absolute; left: 14px; top: -9px; height: 34px; border-left: 2px solid; }
.hgb-scale-left, .hgb-scale-right { position: absolute; top: 23px; width: 15px; height: 10px; border-bottom: 2px solid; border-radius: 0 0 12px 12px; }
.hgb-scale-left { left: 9px; }
.hgb-scale-right { right: 9px; }
.hgb-shield-icon span { position: absolute; inset: 12px 16px; border: 2px solid; border-radius: 12px 12px 18px 18px; transform: scaleY(1.05); }
.hgb-nodes-icon span, .hgb-nodes-icon i { position: absolute; width: 9px; height: 9px; border: 2px solid var(--hgb-blue); background: #fff; border-radius: 50%; }
.hgb-nodes-icon span:nth-child(1) { left: 12px; top: 13px; }
.hgb-nodes-icon span:nth-child(2) { right: 10px; top: 24px; }
.hgb-nodes-icon span:nth-child(3) { left: 22px; bottom: 9px; }
.hgb-nodes-icon i { left: 24px; top: 22px; }
.hgb-nodes-icon b::before, .hgb-nodes-icon b::after { content: ""; position: absolute; width: 24px; left: 17px; top: 28px; border-top: 2px solid var(--hgb-blue); transform: rotate(25deg); }
.hgb-nodes-icon b::after { transform: rotate(-55deg); }
.hgb-process { gap: 72px; }
.hgb-process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c7dbea; }
.hgb-process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid #c7dbea; }
.hgb-process-list li > strong { color: var(--hgb-orange); font-size: 13px; }
.hgb-process-list b { display: block; font-size: 21px; }
.hgb-process-list p { margin: 3px 0 0; color: var(--hgb-muted); }
.hgb-process-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid #c7dbea; }
.hgb-process-item .hgb-process-number { margin: 0; color: var(--hgb-orange); font-size: 13px; font-weight: 700; }
.hgb-process-copy h3 { margin: 0; font-size: 21px; font-weight: 700 !important; letter-spacing: 0; }
.hgb-process-copy p { margin: 3px 0 0; color: var(--hgb-muted); }
.hgb-featured-heading { width: min(var(--hgb-feature-width), 100%); max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 0 auto 42px !important; }
.hgb-featured-heading .hgb-section-heading { max-width: 680px; margin: 0 !important; }
.hgb-featured-heading .hgb-all-projects { flex: 0 0 auto; margin-bottom: 8px; color: var(--hgb-blue-deep); font-size: 15px; font-weight: 700; border-bottom: 1px solid currentColor; }
.hgb-feature { width: min(var(--hgb-feature-width), 100%); overflow: hidden; margin-left: auto; margin-right: auto; border-radius: 14px; background: var(--hgb-blue-dark); color: #fff; box-shadow: var(--hgb-shadow); }
.hgb-feature > .wp-block-columns { min-height: 407px; display: grid !important; grid-template-columns: 53.5% 46.5%; margin: 0 !important; }
.hgb-feature .wp-block-column { min-width: 0; padding: 52px; }
.hgb-feature .hgb-visual { min-height: 407px; padding: 48px; display: grid; place-items: center; background: linear-gradient(145deg,#dfeffc,#f7fbff); color: var(--hgb-blue-deep); }
.hgb-visual-window { position: relative; width: min(468px,100%); min-height: 270px; padding: 24px; border: 1px solid #bdd4e6; border-radius: 12px; background: #fff; box-shadow: 0 18px 50px rgba(31,78,121,.12); }
.hgb-visual-dots { color: #b9c9d7; letter-spacing: 7px; }
.hgb-visual-line { height: 9px; width: 76%; margin-top: 34px; border-radius: 10px; background: #d8e7f2; }
.hgb-visual-line.short { width: 52%; margin-top: 18px; }
.hgb-visual-tag { position: absolute; left: 42px; bottom: 54px; padding: 10px 14px; border-radius: 7px; background: var(--hgb-blue); color: #fff; font-size: 13px; }
.hgb-visual-tag.second { left: auto; right: 30px; bottom: 20px; background: var(--hgb-orange); }
.hgb-feature h3 { margin: 16px 0; color: #fff; font-size: 32px; font-weight: 400 !important; line-height: 1.12; }
.hgb-feature p { color: #dce9f5; font-size: 15px; line-height: 1.7; }
.hgb-pill { display: inline-block; margin: 0 5px 5px 0; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hgb-orgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin: 48px 0 30px; }
.hgb-orgs strong { color: #66798d; font-size: 22px; font-weight: 700 !important; }
.hgb-cta { padding: 74px max(24px, calc((100vw - var(--hgb-content))/2)); background: var(--hgb-blue-deep); color: #fff; }
.hgb-cta > .wp-block-group__inner-container { width: min(var(--hgb-content), 100%); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hgb-cta h2 { margin: 0; color: #fff; font-size: 34px; font-weight: 400 !important; }

.hgb-page-hero { padding: 88px max(24px, calc((100vw - var(--hgb-content))/2)) 94px; background: var(--hgb-blue); color: #fff; }
.hgb-page-hero > .wp-block-group__inner-container { width: min(var(--hgb-content), 100%); }
.hgb-page-hero-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(250px,.62fr); align-items: center; gap: 72px; }
.hgb-page-hero-copy { min-width: 0; }
.hgb-page-hero h1 { max-width: 820px; margin: 0; color: #fff; font-size: clamp(40px, 4.5vw, 58px); font-weight: 400 !important; line-height: 1.05; }
.hgb-page-hero-copy > p:last-child { max-width: 760px; margin: 24px 0 0; color: #eaf5ff; font-size: 18px; }
.hgb-page-quote { width: 286px; justify-self: end; padding: 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.hgb-page-quote .hgb-note-number { margin: 0; color: #d9ebfb; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hgb-page-quote .hgb-note-main { margin: 28px 0 22px; color: #fff; font-size: 21px; font-weight: 400; line-height: 1.4; }
.hgb-page-quote .hgb-note-small { margin: 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.3); color: #d9ebfb; font-size: 13px; line-height: 1.55; }
.hgb-cv-hero-grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: 72px; }
.hgb-cv-hero-grid:has(.hgb-cv-portrait) { grid-template-columns: minmax(0,1.5fr) minmax(230px,.55fr); }
.hgb-cv-portrait { width: 252px; aspect-ratio: 4 / 5; justify-self: end; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(255,255,255,.08); box-shadow: 0 18px 45px rgba(20,58,92,.22); }
.hgb-cv-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.hgb-article { width: min(var(--hgb-feature-width),100%); margin-left: auto !important; margin-right: auto !important; gap: 80px; }
.hgb-article > .wp-block-column:first-child { flex-basis: 63% !important; }
.hgb-article > .wp-block-column:first-child h2:nth-of-type(2) { margin-top: 48px; }
.hgb-article h2 { margin-top: 0; font-size: 32px; font-weight: 400 !important; }
.hgb-article p { color: #52667b; }
.hgb-quote { align-self: flex-start; padding: 40px; border-left: 5px solid var(--hgb-orange); border-radius: 12px; background: var(--hgb-blue-pale); }
.hgb-quote p { margin-bottom: 18px; color: var(--hgb-ink); font-size: 22px; line-height: 1.4; }
.hgb-list-card { margin-bottom: 24px; padding: 35px; border: 1px solid var(--hgb-line); border-radius: 12px; background: #fff; }
.hgb-list-card h2 { margin: 0 0 12px; font-size: 24px; font-weight: 500 !important; }
.hgb-list-card p { margin: 0; color: var(--hgb-muted); }
.hgb-expertise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 22px; }
.hgb-expertise-grid .hgb-list-card { min-height: 190px; display: grid; grid-template-columns: 44px 1fr; align-content: center; column-gap: 20px; margin: 0; padding: 30px 32px; }
.hgb-expertise-grid .hgb-card-number { grid-row: 1 / span 2; padding-top: 3px; }
.hgb-expertise-grid .hgb-list-card h2 { margin-bottom: 12px; }
.hgb-timeline { position: relative; width: min(890px, calc(100% - 48px)) !important; max-width: 890px !important; }
.hgb-timeline::before { content: ""; position: absolute; left: 18px; top: 18px; bottom: 86px; width: 1px; background: #cfe0ec; }
.hgb-timeline-item { position: relative; min-height: 118px; margin: 0; padding: 3px 0 34px 113px; border: 0; }
.hgb-timeline-item::before { content: attr(data-number); position: absolute; z-index: 1; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--hgb-blue-pale); color: var(--hgb-blue); font-size: 12px; font-weight: 800; }
.hgb-timeline-item h2 { margin: 0; font-size: 28px; font-weight: 500 !important; }
.hgb-timeline-item p { color: var(--hgb-muted); }
.hgb-project-card { overflow: hidden; margin-bottom: 30px; border: 1px solid var(--hgb-line); border-radius: 14px; background: #fff; box-shadow: var(--hgb-shadow); }
.hgb-project-card .hgb-project-meta { display: flex; justify-content: space-between; gap: 20px; padding: 18px 30px; background: var(--hgb-blue-pale); color: var(--hgb-blue-deep); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hgb-project-body { padding: 46px; }
.hgb-project-body h2 { margin: 0 0 12px; font-size: 34px; font-weight: 400 !important; }
.hgb-project-body p { color: var(--hgb-muted); }
.hgb-project-card-featured { width: min(var(--hgb-feature-width),100%); margin-left: auto; margin-right: auto; }
.hgb-project-card-featured .hgb-project-meta { padding: 16px 28px; }
.hgb-project-feature-grid { min-height: 468px; display: grid; grid-template-columns: 46% 54%; }
.hgb-project-feature-intro { padding: 52px 58px; }
.hgb-project-feature-intro h2 { margin: 0 0 2px; font-size: 40px; font-weight: 400 !important; line-height: 1.08; }
.hgb-project-feature-intro p { max-width: 390px; margin: 0; color: var(--hgb-muted); }
.hgb-project-feature-sections { padding: 48px 58px 40px 28px; }
.hgb-project-feature-section { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--hgb-line); }
.hgb-project-feature-section:last-child { margin-bottom: 0; }
.hgb-project-feature-section strong { display: block; margin-bottom: 10px; color: var(--hgb-orange); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.hgb-project-feature-section p { margin: 0; color: var(--hgb-muted); }
.hgb-projects-hero { min-height: 363px; padding: 42px max(24px, calc((100vw - var(--hgb-feature-width))/2)) 78px; }
.hgb-projects-hero > .wp-block-group__inner-container { width: min(var(--hgb-feature-width),100%); }
.hgb-projects-hero h1 { max-width: 720px; }
.hgb-projects-hero p:last-child { max-width: 660px; }
.hgb-growing-portfolio { width: min(var(--hgb-feature-width),100%); min-height: 204px; display: flex; align-items: center; justify-content: space-between; gap: 48px; margin: 64px auto 0; padding: 36px 38px; border-radius: 12px; background: var(--hgb-blue-pale); }
.hgb-growing-portfolio-copy { max-width: 650px; }
.hgb-growing-portfolio h2 { margin: 0; font-size: 30px; font-weight: 400 !important; line-height: 1.5; }
.hgb-growing-portfolio .hgb-button { flex: 0 0 auto; background: var(--hgb-blue-deep); }
.hgb-project-detail { max-width: 820px; }
.hgb-project-detail h2 { margin-top: 48px; color: var(--hgb-orange); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.hgb-insights { width: min(var(--hgb-feature-width),100%); margin-left: auto !important; margin-right: auto !important; gap: 20px; }
.hgb-insights .wp-block-column { min-height: 268px; padding: 30px; border: 1px solid var(--hgb-line); border-radius: 12px; background: #fff; }
.hgb-insights h2 { font-size: 23px; font-weight: 500 !important; }
.hgb-insights p { color: var(--hgb-muted); }
.hgb-insights .hgb-eyebrow { color: var(--hgb-orange); }
.hgb-coming-soon { display: inline-block; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--hgb-blue-pale); color: var(--hgb-blue-deep); font-size: 14px; }
.hgb-cv { width: min(var(--hgb-feature-width),100%); margin-left: auto !important; margin-right: auto !important; gap: 100px; }
.hgb-cv > .wp-block-column { flex-basis: 50% !important; }
.hgb-cv h2 { font-size: 34px; }
.hgb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hgb-pills span { padding: 6px 10px; border-radius: 999px; background: var(--hgb-blue-pale); color: var(--hgb-blue-deep); font-size: 13px; }
.hgb-cv .hgb-button { margin-top: 30px; }
.hgb-contact-layout { width: min(var(--hgb-feature-width),100%); margin-left: auto !important; margin-right: auto !important; gap: 88px; align-items: flex-start; }
.hgb-contact-copy h2 { margin: 0; font-size: 36px; }
.hgb-contact-copy > p { max-width: 430px; color: var(--hgb-muted); }
.hgb-availability { margin-top: 36px; padding: 20px; border-left: 3px solid var(--hgb-orange); background: var(--hgb-blue-pale); }
.hgb-availability strong { display: block; }
.hgb-availability p { margin: 2px 0 0; color: #42566c; font-size: 14px; }
.hgb-quote-source { font-size: 13px !important; }
.hgb-contact-form { padding: 34px; border: 1px solid var(--hgb-line); border-radius: 12px; background: #fff; box-shadow: var(--hgb-shadow); }
.hgb-contact-form label { display: block; margin-bottom: 17px; color: var(--hgb-ink); font-size: 14px; font-weight: 700; }
.hgb-contact-form input, .hgb-contact-form select, .hgb-contact-form textarea { width: 100%; margin-top: 7px; padding: 10px 12px; border: 1px solid #bfd2e2; border-radius: 5px; background: #fff; color: var(--hgb-ink); font: inherit; }
.hgb-contact-form input, .hgb-contact-form select { min-height: 43px; }
.hgb-contact-form textarea { min-height: 126px; resize: vertical; }
.hgb-contact-form .hgb-button { border: 0; background: var(--hgb-orange); cursor: pointer; }
.hgb-form-note { margin: 0; color: var(--hgb-muted); font-size: 11px; }

.site-footer { padding: 52px 0; border-top: 1px solid var(--hgb-line); background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 60px; }
.footer-brand strong { color: var(--hgb-blue-deep); font-size: 20px; }
.footer-brand p, .copyright { margin: 5px 0 0; color: var(--hgb-muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; color: var(--hgb-blue-deep); font-size: 14px; }
.archive-intro { padding: 95px 0 75px; }
.archive-intro h1 { max-width: 820px; margin: 0; font-size: clamp(40px,4.5vw,58px); font-weight: 400; }
.archive-intro p { max-width: 760px; color: var(--hgb-muted); font-size: 18px; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .main-navigation ul { flex-wrap: wrap; gap: 8px 20px; }
  .main-navigation a { padding: 5px 0; }
  .main-navigation a::after { bottom: 0; }
  .hgb-hero { min-height: 0; }
  .hgb-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 12px; }
  .hgb-hero-copy { padding: 76px 0 28px; }
  .hgb-hero-note { max-width: 430px; margin-bottom: 58px; }
  .hgb-section { padding-top: 78px !important; padding-bottom: 78px !important; }
  .hgb-cards { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .hgb-page-hero-grid, .hgb-cv-hero-grid, .hgb-cv-hero-grid:has(.hgb-cv-portrait) { grid-template-columns: 1fr; gap: 32px; }
  .hgb-page-quote, .hgb-cv-portrait { justify-self: start; }
  .hgb-process, .hgb-feature, .hgb-article, .hgb-cv { flex-wrap: wrap !important; }
  .hgb-process > .wp-block-column, .hgb-feature > .wp-block-column, .hgb-article > .wp-block-column, .hgb-cv > .wp-block-column { flex-basis: 100% !important; }
  .hgb-feature > .wp-block-columns { grid-template-columns: 1fr; }
  .hgb-feature .hgb-visual { min-height: 300px; }
  .hgb-featured-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hgb-expertise-grid { grid-template-columns: 1fr; }
  .hgb-project-feature-grid { grid-template-columns: 1fr; }
  .hgb-project-feature-sections { padding: 0 42px 42px; }
  .hgb-growing-portfolio { align-items: flex-start; flex-direction: column; }
  .hgb-contact-layout { flex-wrap: wrap !important; }
  .hgb-contact-layout > .wp-block-column { flex-basis: 100% !important; }
  .hgb-cta > .wp-block-group__inner-container { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  .hgb-page-quote, .hgb-cv-portrait { width: 100%; }
  body { font-size: 16px; }
  .hgb-shell, .entry-content > *:not(.alignfull):not(.alignwide), .entry-content > .alignwide { width: calc(100% - 28px); }
  .hgb-hero h1, .hgb-page-hero h1 { font-size: 37px; }
  .hgb-hero .hgb-lead, .hgb-page-hero p:last-child { font-size: 18px; }
  .hgb-actions { align-items: flex-start; flex-direction: column; }
  .hgb-hero-note { width: min(286px, 100%); max-width: none; justify-self: start; }
  .hgb-section { width: calc(100% - 28px) !important; }
  .hgb-section-tint { width: 100% !important; padding-left: 14px !important; padding-right: 14px !important; }
  .hgb-cards { grid-template-columns: 1fr !important; }
  .hgb-feature .wp-block-column { padding: 30px; }
  .hgb-feature .hgb-visual { min-height: 270px; padding: 28px; }
  .hgb-visual-window { min-height: 230px; }
  .hgb-project-body { padding: 30px; }
  .hgb-project-card .hgb-project-meta { flex-direction: column; }
  .hgb-expertise-grid .hgb-list-card { grid-template-columns: 36px 1fr; padding: 26px 22px; }
  .hgb-timeline { width: calc(100% - 28px) !important; }
  .hgb-timeline-item { min-height: 112px; padding-left: 62px; }
  .hgb-project-feature-intro, .hgb-project-feature-sections { padding: 30px; }
  .hgb-project-feature-intro h2 { font-size: 31px; }
  .hgb-projects-hero { min-height: 0; padding-top: 58px; padding-bottom: 62px; }
  .hgb-growing-portfolio { min-height: 0; padding: 28px; }
  .hgb-growing-portfolio h2 { font-size: 25px; }
  .hgb-insights { flex-wrap: wrap !important; }
  .hgb-insights > .wp-block-column { flex-basis: 100% !important; }
  .hgb-contact-form { padding: 24px; }
}
