/* ============================================================
   PREMIUM DESIGN LAYER (all pages)
   Dark navy sections alternating with white, wide-tracked
   uppercase headings with one bold word, hairline dividers,
   square navy/white + outline buttons.
   ============================================================ */
:root {
  /* Palette taken directly from the logo: navy #323850 and light blue #84adc5 */
  --color-navy: #323850;
  --color-navy-light: #3d4460;
  --color-navy-deep: #262b3f;
  --color-gold: #84adc5;
  --color-gold-hover: #4d7b9b;
  --color-gold-soft: #e8f0f6;
  --h-dark: #1f2335;
  --h-dark-2: #2d3350;
  --h-blue: #84adc5;
  --h-blue-dk: #4d7b9b;     /* darker shade of the logo blue, readable as text on white */
  --h-blue-lt: #a9c9dc;     /* lighter shade, readable as text on dark navy */
  --h-line-dark: rgba(255, 255, 255, .16);
  --h-line-light: #dfe3ea;
  --h-text-dark: rgba(255, 255, 255, .76);
  --h-track: .14em;
  --h-header: 88px;
}

/* ---------- Header: solid white so the full-colour logo shows exactly as designed ---------- */
body .site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e6e9ef; transition: transform .3s ease, box-shadow .35s ease; }
body .site-header.is-scrolled { box-shadow: 0 10px 30px rgba(31, 35, 53, .08); }
body .site-header .container { max-width: 1760px; height: var(--h-header); padding: 0 40px; }
body .logo-img { height: 54px; width: auto; filter: none; }
body .logo-title { color: var(--color-navy); letter-spacing: .02em; }
body .logo-subtitle { color: #6b7286; }
body .nav-toggle-bar { background: var(--color-navy); }
/* Menu fit is re-measured after this change (see test notes in the build log). */
@media (min-width: 1300px) {
  body .nav a { color: var(--color-navy); font-weight: 600; font-size: .78rem; letter-spacing: var(--h-track); text-transform: uppercase; }
  body .nav a::after { background: var(--h-blue); height: 2px; }
  body .nav a:hover { color: var(--h-blue-dk); }
  body .nav a.is-active, body .nav a.is-active:hover { color: var(--color-navy); }
  body .nav a.is-active::after, body .nav a:hover::after { width: 100%; }
}
@media (min-width: 1300px) { body .header-cta { display: none; } }
@media (min-width: 1300px) and (max-width: 1679px) {
  body .logo-title-wrap { display: none; }
  body .nav { gap: 20px; }
  body .nav a { font-size: .75rem; letter-spacing: .1em; }
}
@media (max-width: 1299px) {
  body.nav-open { overflow: hidden; }
  body .nav { display: none; position: fixed; top: var(--h-header); left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0; padding: 16px 0;
    background: #fff; overflow-y: auto; box-shadow: none; border-top: 1px solid #e6e9ef; }
  body.nav-open .nav { display: flex; }
  body .nav a { display: block; padding: 18px 32px; color: var(--color-navy); font-size: .88rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid #eef0f4; }
  body .nav a:hover, body .nav a.is-active { color: var(--h-blue-dk); background: #f6f8fb; }
  body .nav a::after { display: none; }
  body .nav-toggle { display: flex; }
}
@media (max-width: 480px) { :root { --h-header: 72px; } body .logo-img { height: 44px; } }

/* ---------- Shared building blocks ---------- */
.h-section { padding: 110px 0; position: relative; }
.h-dark { background: radial-gradient(circle at 15% 0%, var(--h-dark-2), transparent 55%), linear-gradient(160deg, var(--h-dark) 0%, #1b2130 100%); color: var(--h-text-dark); }
.h-light { background: #fff; }
.h-soft { background: #f6f5f2; }
.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.h-center { text-align: center; }

.h-eyebrow { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #8a8f99; margin: 0 0 16px; }
.h-dark .h-eyebrow { color: var(--h-blue-lt); }
.h-title { font-family: var(--font-heading); font-weight: 300; text-transform: uppercase; letter-spacing: var(--h-track); line-height: 1.25; font-size: clamp(1.55rem, 2.8vw, 2.35rem); color: var(--color-navy-deep, #1d2333); margin: 0 0 24px; }
.h-title strong { font-weight: 800; }
.h-dark .h-title { color: #fff; }
.h-lead { font-size: 1.04rem; line-height: 1.85; letter-spacing: .02em; max-width: 62ch; }
.h-dark .h-lead, .h-dark p { color: var(--h-text-dark); }
.h-center .h-lead { margin-left: auto; margin-right: auto; }
.h-rule { border: 0; height: 1px; background: var(--h-line-dark); margin: 72px 0; }
.h-light .h-rule, .h-soft .h-rule { background: var(--h-line-light); }

.h-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.h-center .h-btns { justify-content: center; }
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 2px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; cursor: pointer; font-family: inherit; }
/* Solid: navy on light backgrounds, white on dark ones; both turn brand blue on hover */
.h-btn--solid { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.h-btn--solid:hover { background: var(--h-blue-dk); border-color: var(--h-blue-dk); color: #fff; transform: translateY(-2px); }
.h-dark .h-btn--solid, .h-on-image .h-btn--solid, .h-hero .h-btn--solid, .h-page-hero .h-btn--solid { background: #fff; color: var(--h-dark); border-color: #fff; }
.h-dark .h-btn--solid:hover, .h-on-image .h-btn--solid:hover, .h-hero .h-btn--solid:hover, .h-page-hero .h-btn--solid:hover { background: var(--h-blue); border-color: var(--h-blue); color: #fff; }
.h-btn--line { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.h-btn--line:hover { background: var(--color-navy); color: #fff; }
.h-dark .h-btn--line, .h-on-image .h-btn--line, .h-hero .h-btn--line, .h-page-hero .h-btn--line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.h-dark .h-btn--line:hover, .h-on-image .h-btn--line:hover, .h-hero .h-btn--line:hover, .h-page-hero .h-btn--line:hover { background: #fff; color: var(--h-dark); border-color: #fff; }
.h-btn .h-arrow { transition: transform .3s ease; }
.h-btn:hover .h-arrow { transform: translateX(4px); }

/* Image + text split */
.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.h-split--wide-text { grid-template-columns: 1.05fr .95fr; }
.h-split-media { position: relative; border-radius: 6px; overflow: hidden; }
.h-split-media img { width: 100%; height: 100%; min-height: 460px; max-height: 560px; object-fit: cover; display: block; border-radius: 6px; transition: transform 1.2s ease; }
.h-split-media:hover img { transform: scale(1.04); }
.h-split-media::after { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px; pointer-events: none; }

/* Circle-check list */
.h-checks { list-style: none; padding: 0; margin: 28px 0 0; }
.h-checks li { position: relative; padding: 0 0 22px 38px; line-height: 1.7; letter-spacing: .02em; }
.h-checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.h-dark .h-checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23161b27' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.h-checks strong { display: block; font-weight: 700; letter-spacing: .06em; color: var(--color-navy); }
.h-dark .h-checks strong { color: #fff; }
.h-checks a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.h-checks a:hover { border-bottom-color: var(--h-blue-lt); }

/* ---------- 1. Hero ---------- */
.h-hero { position: relative; min-height: calc(100vh - var(--h-header)); min-height: calc(100svh - var(--h-header)); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; }
.h-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: eaaKenBurns 20s ease-out both; border-radius: 0; max-width: none; }
.h-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 18, 28, .82) 0%, rgba(14, 18, 28, .68) 45%, rgba(14, 18, 28, .9) 100%); }
.h-hero-inner { position: relative; z-index: 1; padding: 100px 24px 120px; max-width: 1100px; }
.h-hero-inner > * { animation: eaaRise .9s cubic-bezier(.2, .7, .2, 1) both; }
.h-hero-inner > *:nth-child(2) { animation-delay: .15s; }
.h-hero-inner > *:nth-child(3) { animation-delay: .3s; }
.h-hero-inner > *:nth-child(4) { animation-delay: .45s; }
.h-hero .h-eyebrow { color: rgba(255, 255, 255, .78); letter-spacing: .34em; }
.h-hero h1 { font-family: var(--font-heading); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(2.1rem, 6.2vw, 4.6rem); line-height: 1.12; color: #fff; margin: 0 0 22px; }
.h-hero h1 strong { font-weight: 800; }
.h-hero-sub { font-size: clamp(.95rem, 1.6vw, 1.15rem); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .82); margin: 0 auto; max-width: 60ch; }
.h-scroll { position: absolute; z-index: 1; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.h-scroll span { display: block; width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .8), transparent); animation: hScroll 2s ease-in-out infinite; transform-origin: top; }
@keyframes hScroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 2. Statement band ---------- */
.h-statement { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; line-height: 1.4; font-size: clamp(1.15rem, 2.4vw, 1.9rem); color: #fff; margin: 0 auto 26px; max-width: 46ch; }

/* ---------- 3. Pillars ---------- */
.h-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--h-line-light); }
.h-pillar { padding: 40px 36px 8px; border-right: 1px solid var(--h-line-light); }
.h-pillar:last-child { border-right: none; }
.h-pillar-num { display: block; font-family: var(--font-heading); font-size: .8rem; letter-spacing: .3em; color: var(--h-blue-dk); margin-bottom: 18px; }
.h-pillar h3 { font-size: .98rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-navy); margin: 0 0 14px; }
.h-pillar p { font-size: .96rem; line-height: 1.8; margin: 0; }

/* ---------- 4/5. Stats strip ---------- */
.h-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--h-line-dark); border-bottom: 1px solid var(--h-line-dark); margin-top: 80px; }
.h-stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--h-line-dark); }
.h-stat:last-child { border-right: none; }
.h-stat .stat-number { display: block; font-family: var(--font-heading); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; }
.h-stat .stat-label { display: block; margin-top: 12px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--h-blue-lt); }

/* ---------- 6. Process ---------- */
.h-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.h-step { position: relative; text-align: center; padding: 0 8px; }
.h-step:not(:last-child)::before { content: ''; position: absolute; top: 32px; left: calc(50% + 32px); width: calc(100% - 64px + 24px); height: 1px; background: var(--color-navy); opacity: .45; }
.h-step-num { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--h-blue-dk); color: var(--h-blue-dk); font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: .08em; background: #f6f5f2; position: relative; z-index: 1; transition: background .3s ease, color .3s ease; }
.h-step:hover .h-step-num { background: var(--h-blue-dk); color: #fff; }
.h-step h3 { margin: 26px 0 12px; font-size: .95rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-navy); }
.h-step p { font-size: .93rem; line-height: 1.75; margin: 0 auto; max-width: 30ch; }

/* ---------- 7. Project tiles ---------- */
.h-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.h-tile { position: relative; display: block; height: 460px; border-radius: 6px; overflow: hidden; text-decoration: none; color: #fff; }
.h-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; transition: transform 1s ease; }
.h-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 18, 28, 0) 35%, rgba(14, 18, 28, .92) 100%); transition: background .4s ease; }
.h-tile:hover img { transform: scale(1.07); }
.h-tile:hover::after { background: linear-gradient(180deg, rgba(14, 18, 28, .15) 0%, rgba(14, 18, 28, .95) 100%); }
.h-tile-body { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.h-tile-meta { display: block; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--h-blue-lt); margin-bottom: 10px; }
.h-tile h3 { color: #fff; font-size: 1.12rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; margin: 0 0 14px; }
.h-tile-link { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.h-tile-link .h-arrow { display: inline-block; transition: transform .3s ease; }
.h-tile:hover .h-tile-link .h-arrow { transform: translateX(6px); }

/* ---------- 8. Full-bleed CTA ---------- */
.h-cta { position: relative; padding: 150px 0; overflow: hidden; color: #fff; }
.h-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; }
.h-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 18, 28, .92) 0%, rgba(14, 18, 28, .7) 50%, rgba(14, 18, 28, .35) 100%); }
.h-cta .h-wrap { position: relative; z-index: 1; }
.h-cta h2 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; line-height: 1.2; font-size: clamp(1.8rem, 4vw, 3.1rem); color: #fff; margin: 0 0 22px; max-width: 18ch; }
.h-cta p { color: rgba(255, 255, 255, .82); max-width: 52ch; line-height: 1.85; letter-spacing: .02em; }

/* ---------- 9. FAQ ---------- */
.h-faq { max-width: 960px; margin: 56px auto 0; }
.h-faq details { border: 1px solid var(--h-line-light); margin-bottom: 14px; background: #fff; transition: border-color .3s ease, box-shadow .3s ease; }
.h-faq details[open] { border-color: var(--color-navy); box-shadow: 0 12px 30px rgba(22, 27, 39, .06); }
.h-faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative; font-size: .86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-navy); }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; transition: transform .3s ease; color: var(--color-navy); }
.h-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.h-faq summary:focus-visible { outline: 2px solid var(--color-gold); outline-offset: -2px; }
.h-faq .h-faq-body { padding: 0 24px 22px; line-height: 1.85; letter-spacing: .02em; }
.h-faq .h-faq-body p { margin: 0; max-width: none; }
.h-faq .h-faq-body a { color: var(--color-navy); text-decoration: underline; }

/* ---------- 10. Contact ---------- */
.h-contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: stretch; }
.h-contact-card { position: relative; border-radius: 6px; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; }
.h-contact-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; }
.h-contact-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 18, 28, .1) 20%, rgba(14, 18, 28, .94) 100%); }
.h-contact-details { position: relative; z-index: 1; padding: 40px; width: 100%; }
.h-contact-details h3 { color: #fff; font-weight: 300; font-size: 1.2rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--h-blue-lt); }
.h-contact-details h3 strong { font-weight: 800; }
.h-contact-details ul { list-style: none; margin: 0; padding: 0; }
.h-contact-details li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; color: #fff; letter-spacing: .06em; font-size: .92rem; }
.h-contact-details li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; stroke: var(--h-blue-lt); fill: none; stroke-width: 1.6; }
.h-contact-details a { color: #fff; text-decoration: none; }
.h-contact-details a:hover { color: var(--h-blue-lt); }

.h-form .form-field { margin-bottom: 26px; }
.h-form label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 6px; }
.h-form input, .h-form select, .h-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); border-radius: 0; padding: 10px 0; color: #fff; font: inherit; font-size: .98rem; letter-spacing: .03em; transition: border-color .3s ease; box-shadow: none; }
.h-form select { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23a9c6dd' stroke-width='2'/%3E%3C/svg%3E") right 2px center/16px no-repeat; padding-right: 26px; }
.h-form select option { color: #1b1e23; }
.h-form textarea { resize: vertical; min-height: 110px; }
.h-form input::placeholder, .h-form textarea::placeholder { color: rgba(255, 255, 255, .35); }
.h-form input:focus, .h-form select:focus, .h-form textarea:focus { outline: none; border-bottom-color: var(--h-blue-lt); box-shadow: none; }
.h-form .form-row { gap: 0 32px; }
.h-form .h-btn { width: 100%; margin-top: 6px; }
.h-form .form-note { color: rgba(255, 255, 255, .5); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .h-split, .h-split--wide-text, .h-contact { gap: 48px; }
  .h-tile { height: 400px; }
}
@media (max-width: 900px) {
  .h-section { padding: 80px 0; }
  .h-split, .h-split--wide-text, .h-contact { grid-template-columns: 1fr; }
  .h-split-media img { min-height: 300px; max-height: 380px; }
  .h-split--media-first .h-split-media { order: -1; }
  .h-pillars { grid-template-columns: 1fr; }
  .h-pillar { border-right: none; border-bottom: 1px solid var(--h-line-light); padding: 32px 4px; }
  .h-pillar:last-child { border-bottom: none; }
  .h-stats { grid-template-columns: repeat(2, 1fr); }
  .h-stat:nth-child(2) { border-right: none; }
  .h-stat:nth-child(-n+2) { border-bottom: 1px solid var(--h-line-dark); }
  .h-tiles { grid-template-columns: 1fr; }
  .h-tile { height: 360px; }
  .h-process { grid-template-columns: 1fr; gap: 0; }
  .h-step { text-align: left; padding: 0 0 36px 92px; min-height: 64px; }
  .h-step-num { position: absolute; left: 0; top: 0; }
  .h-step:not(:last-child)::before { top: 64px; left: 32px; width: 1px; height: calc(100% - 64px); }
  .h-step h3 { margin-top: 18px; }
  .h-step p { margin: 0; max-width: none; }
  .h-contact-card { min-height: 420px; }
  .h-rule { margin: 56px 0; }
  .h-cta { padding: 110px 0; }
}
@media (max-width: 560px) {
  .h-btns { flex-direction: column; }
  .h-btn { width: 100%; }
  .h-hero h1 { letter-spacing: .1em; }
  .h-contact-details { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-hero-bg, .h-hero-inner > *, .h-scroll span { animation: none; }
  .h-split-media img, .h-tile img { transition: none; }
}

/* ============================================================
   SITE-WIDE ADDITIONS FOR INNER PAGES
   ============================================================ */
/* Remove the amber accent everywhere: base styles that used it now use brand blue */
:root { --color-accent2: #4f7ea3; --color-accent2-soft: #e4edf4; }
.scroll-progress { background: linear-gradient(90deg, #4f7ea3, #a9c6dd); }
.back-to-top { background: var(--h-blue-dk); }
.back-to-top:hover { background: var(--h-blue); }

/* ---------- Inner-page hero ---------- */
.h-page-hero { position: relative; min-height: 60vh; min-height: 60svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; background: var(--h-dark); }
.h-page-hero .h-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; animation: eaaKenBurns 20s ease-out both; }
.h-page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 18, 28, .84) 0%, rgba(14, 18, 28, .7) 50%, rgba(14, 18, 28, .9) 100%); }
.h-page-hero--plain::after { background: radial-gradient(circle at 80% 10%, rgba(110, 155, 191, .22), transparent 50%), linear-gradient(160deg, #161b27, #1f2636); }
.h-page-hero .h-hero-inner { padding: 100px 24px 90px; max-width: 1000px; }
.h-page-hero h1 { font-family: var(--font-heading); font-weight: 300; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.15; color: #fff; margin: 0 0 22px; }
.h-page-hero h1 strong { font-weight: 800; }
.h-page-hero .h-hero-sub { text-transform: none; letter-spacing: .03em; font-size: clamp(.98rem, 1.5vw, 1.12rem); line-height: 1.8; color: rgba(255, 255, 255, .8); }
.h-page-hero .h-eyebrow { color: var(--h-blue-lt); }
.h-crumbs { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.h-crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.h-crumbs a:hover { color: #fff; }
.h-crumbs span { margin: 0 10px; opacity: .5; }

/* ---------- Pillars: variants ---------- */
.h-dark .h-pillars { border-top-color: var(--h-line-dark); }
.h-dark .h-pillar { border-right-color: var(--h-line-dark); }
.h-dark .h-pillar h3 { color: #fff; }
.h-dark .h-pillar-num { color: var(--h-blue-lt); }
.h-pillars--4 { grid-template-columns: repeat(4, 1fr); }
.h-pillars--2 { grid-template-columns: repeat(2, 1fr); }
.h-pillars--2 .h-pillar { padding-right: 48px; }
@media (max-width: 1024px) { .h-pillars--4 { grid-template-columns: repeat(2, 1fr); } .h-pillars--4 .h-pillar:nth-child(2) { border-right: none; } .h-pillars--4 .h-pillar:nth-child(-n+2) { border-bottom: 1px solid var(--h-line-light); } .h-dark .h-pillars--4 .h-pillar:nth-child(-n+2) { border-bottom-color: var(--h-line-dark); } }
@media (max-width: 900px) { .h-pillars--4, .h-pillars--2 { grid-template-columns: 1fr; } .h-dark .h-pillar { border-bottom-color: var(--h-line-dark); } }

/* ---------- Category cards (engineering overview) ---------- */
.h-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--h-line-light); border-left: 1px solid var(--h-line-light); }
.h-card { position: relative; display: flex; flex-direction: column; padding: 38px 34px 34px; border-right: 1px solid var(--h-line-light); border-bottom: 1px solid var(--h-line-light); text-decoration: none; color: inherit; background: #fff; transition: background .4s ease, color .4s ease; overflow: hidden; }
.h-card::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--h-blue); transition: width .5s ease; }
.h-card:hover { background: var(--h-dark); }
.h-card:hover::before { width: 100%; }
.h-card-num { font-family: var(--font-heading); font-size: .78rem; letter-spacing: .3em; color: var(--h-blue-dk); margin-bottom: 22px; transition: color .4s ease; }
.h-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.45; color: var(--color-navy); margin: 0 0 14px; transition: color .4s ease; }
.h-card p { font-size: .93rem; line-height: 1.75; margin: 0 0 26px; flex-grow: 1; transition: color .4s ease; }
.h-card-link { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--color-navy); transition: color .4s ease; }
.h-card-link .h-arrow { display: inline-block; transition: transform .3s ease; }
.h-card:hover h3, .h-card:hover .h-card-link { color: #fff; }
.h-card:hover p { color: rgba(255, 255, 255, .72); }
.h-card:hover .h-card-num { color: var(--h-blue-lt); }
.h-card:hover .h-card-link .h-arrow { transform: translateX(6px); }
@media (max-width: 1024px) { .h-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .h-cards { grid-template-columns: 1fr; } .h-card { padding: 30px 24px; } }

/* ---------- Numbered scope list (engineering detail) ---------- */
.h-scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin-top: 48px; counter-reset: scope; }
.h-scope-item { display: grid; grid-template-columns: 56px 1fr; gap: 0 8px; padding: 28px 0; border-top: 1px solid var(--h-line-light); counter-increment: scope; }
.h-scope-item::before { content: counter(scope, decimal-leading-zero); font-family: var(--font-heading); font-size: .8rem; letter-spacing: .2em; color: var(--h-blue-dk); padding-top: 3px; }
.h-scope-item h3 { font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-navy); margin: 0 0 10px; line-height: 1.45; }
.h-scope-item p { font-size: .94rem; line-height: 1.8; margin: 0; }
@media (max-width: 900px) { .h-scope { grid-template-columns: 1fr; } }

/* ---------- Related links ---------- */
.h-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.h-links a { padding: 12px 20px; border: 1px solid var(--h-line-dark); border-radius: 2px; color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .3s ease, border-color .3s ease; }
.h-links a:hover { background: #fff; color: var(--h-dark); border-color: #fff; }

/* ---------- Facts row (detail pages) ---------- */
.h-facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--h-line-light); }
.h-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--h-line-light); font-size: .92rem; }
.h-facts li span:first-child { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #8a8f99; padding-top: 3px; }
.h-facts li span:last-child { color: var(--color-navy); font-weight: 600; text-align: right; }

/* ---------- Gallery ---------- */
.h-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
.h-gallery figure { margin: 0; overflow: hidden; border-radius: 6px; }
.h-gallery img { width: 100%; height: 440px; object-fit: cover; display: block; max-width: none; border-radius: 0; transition: transform 1s ease; }
.h-gallery figure:hover img { transform: scale(1.04); }
.h-gallery--single { grid-template-columns: 1fr; }
.h-gallery--single img { height: 560px; }
@media (max-width: 900px) { .h-gallery { grid-template-columns: 1fr; } .h-gallery img, .h-gallery--single img { height: 300px; } }

/* ---------- CEO quote ---------- */
.h-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.h-quote blockquote { margin: 0 0 36px; font-family: var(--font-heading); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.6; letter-spacing: .04em; color: var(--color-navy); }
.h-quote blockquote::before { content: '\201C'; display: block; font-size: 4rem; line-height: .6; color: var(--h-blue); margin-bottom: 18px; }
.h-quote .h-lead { margin: 0 auto 18px; }
.h-sign { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--h-line-light); display: inline-block; }
.h-sign strong { display: block; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-navy); }
.h-sign span { display: block; font-size: .82rem; letter-spacing: .06em; color: #8a8f99; margin-top: 6px; }

/* ---------- Vision / Mission statements ---------- */
.h-statements { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--h-line-dark); }
.h-statements > div { padding: 44px 44px 8px 0; }
.h-statements > div + div { padding-left: 44px; border-left: 1px solid var(--h-line-dark); }
.h-statements h3 { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.h-statements p { line-height: 1.85; margin: 0; }
@media (max-width: 900px) { .h-statements { grid-template-columns: 1fr; } .h-statements > div + div { padding-left: 0; border-left: none; border-top: 1px solid var(--h-line-dark); } }

/* ---------- Legal / long text ---------- */
.h-prose { max-width: 820px; margin: 0 auto; }
.h-prose h2 { font-size: .95rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-navy); margin: 44px 0 14px; padding-top: 30px; border-top: 1px solid var(--h-line-light); }
.h-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.h-prose p { line-height: 1.9; letter-spacing: .02em; max-width: none; }
.h-prose a { color: var(--color-navy); text-decoration: underline; }

/* ---------- Offices strip (contact page) ---------- */
.h-offices { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--h-line-light); }
.h-office { padding: 34px 34px 8px 0; }
.h-office + .h-office { padding-left: 34px; border-left: 1px solid var(--h-line-light); }
.h-office h3 { font-size: .9rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-navy); margin: 0 0 6px; }
.h-office .h-tag { display: block; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--h-blue-dk); margin-bottom: 14px; }
.h-office p { font-size: .94rem; line-height: 1.75; margin: 0; }
.h-map { margin-top: 56px; height: 440px; border: 1px solid var(--h-line-light); border-radius: 6px; overflow: hidden; }
.h-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .h-offices { grid-template-columns: 1fr; } .h-office + .h-office { padding-left: 0; border-left: none; border-top: 1px solid var(--h-line-light); } .h-map { height: 320px; } }

/* ---------- Forms: file upload on dark ---------- */
.h-form input[type="file"] { padding: 14px 0; color: rgba(255, 255, 255, .7); font-size: .88rem; cursor: pointer; }
.h-form input[type="file"]::file-selector-button { margin-right: 16px; padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 2px; background: transparent; color: #fff; font: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease; }
.h-form input[type="file"]::file-selector-button:hover { background: #fff; color: var(--h-dark); }
.h-form-hint { display: block; margin-top: 8px; font-size: .78rem; color: rgba(255, 255, 255, .45); letter-spacing: .03em; }
.h-form .h-btn--solid { background: #fff; color: var(--h-dark); border-color: #fff; }
.h-form .h-btn--solid:hover { background: var(--h-blue); border-color: var(--h-blue); color: #fff; }

/* ---------- Footer (light, so the full-colour logo shows as designed) ---------- */
.h-footer { background: #f3f5f8; color: #596076; padding: 90px 0 0; font-size: .92rem; border-top: 1px solid #e3e6ec; }
.h-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 64px; }
.h-footer-logo { height: 64px; width: auto; filter: none; border-radius: 0; max-width: none; margin-bottom: 22px; }
.h-footer-name { color: var(--color-navy); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; }
.h-footer p { color: #596076; line-height: 1.8; margin: 0; max-width: 34ch; }
.h-footer h4 { color: var(--color-navy); font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 22px; }
.h-footer ul { list-style: none; margin: 0; padding: 0; }
.h-footer li { margin-bottom: 12px; line-height: 1.6; }
.h-footer a { color: #3a4159; text-decoration: none; transition: color .3s ease; }
.h-footer a:hover { color: var(--h-blue-dk); }
.h-footer-bottom { border-top: 1px solid #dfe3ea; padding: 26px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #7a8195; }
.h-footer-bottom a { color: #596076; }
@media (max-width: 1024px) { .h-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h-footer-grid { grid-template-columns: 1fr; gap: 36px; } .h-footer { padding-top: 64px; } }
.h-links--light a { color: var(--color-navy); border-color: var(--h-line-light); background: #fff; }
.h-links--light a:hover { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
/* Fix: the base stylesheet colours the current page's link navy, which vanished on the dark header */

/* ============================================================
   BLOG
   ============================================================ */
.b-tag { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; background: var(--color-gold-soft); color: var(--h-blue-dk); }
.b-tag--dark { background: rgba(132, 173, 197, .18); color: var(--h-blue-lt); }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .78rem; letter-spacing: .06em; color: #7a8195; }
.b-meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin-right: 18px; vertical-align: middle; }
.h-dark .b-meta, .b-hero .b-meta { color: rgba(255, 255, 255, .7); }

/* Filter chips */
.b-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.b-filter { padding: 11px 22px; border: 1px solid var(--h-line-light); border-radius: 999px; background: #fff; color: var(--color-navy); font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.b-filter:hover { border-color: var(--color-navy); }
.b-filter.is-active { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }

/* Featured article */
.b-featured { display: grid; grid-template-columns: 1.25fr 1fr; margin-top: 56px; border-radius: 6px; overflow: hidden; background: var(--h-dark); color: #fff; text-decoration: none; box-shadow: 0 24px 60px rgba(31, 35, 53, .16); }
.b-featured-media { position: relative; overflow: hidden; min-height: 440px; }
.b-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; transition: transform 1.2s ease; }
.b-featured:hover .b-featured-media img { transform: scale(1.05); }
.b-featured-badge { position: absolute; top: 22px; left: 22px; z-index: 1; background: #fff; color: var(--color-navy); font-size: .64rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; padding: 8px 14px; border-radius: 2px; }
.b-featured-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.b-featured-body .b-tag { align-self: flex-start; }
.b-featured-body h2 { color: #fff; font-family: var(--font-heading); font-size: clamp(1.35rem, 2.3vw, 1.9rem); font-weight: 700; line-height: 1.3; letter-spacing: .02em; margin: 0; }
.b-featured-body p { color: rgba(255, 255, 255, .74); line-height: 1.8; margin: 0; }
.b-readmore { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--color-navy); margin-top: auto; }
.b-featured .b-readmore { color: #fff; margin-top: 8px; }
.b-readmore .h-arrow { display: inline-block; transition: transform .3s ease; }
a:hover > * .b-readmore .h-arrow, a:hover .b-readmore .h-arrow { transform: translateX(6px); }

/* Post grid */
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.b-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--h-line-light); border-radius: 6px; overflow: hidden; transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease; }
.b-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(31, 35, 53, .12); border-color: transparent; }
.b-card-media { position: relative; height: 230px; overflow: hidden; }
.b-card-media img { width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; transition: transform 1s ease; }
.b-card:hover .b-card-media img { transform: scale(1.06); }
.b-card-media .b-tag { position: absolute; left: 18px; bottom: 18px; background: #fff; }
.b-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.b-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.45; letter-spacing: .01em; color: var(--color-navy); margin: 0; }
.b-card p { font-size: .92rem; line-height: 1.75; margin: 0; }
.b-card[hidden], .b-featured[hidden] { display: none; }
.b-empty { display: none; text-align: center; margin-top: 40px; }

/* Article hero */
.b-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--h-dark); }
.b-hero .h-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; animation: eaaKenBurns 20s ease-out both; }
.b-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 36, .55) 0%, rgba(20, 23, 36, .72) 50%, rgba(20, 23, 36, .95) 100%); }
.b-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px 24px 64px; }
.b-hero-inner > * { animation: eaaRise .9s cubic-bezier(.2, .7, .2, 1) both; }
.b-hero-inner > *:nth-child(2) { animation-delay: .12s; } .b-hero-inner > *:nth-child(3) { animation-delay: .24s; } .b-hero-inner > *:nth-child(4) { animation-delay: .36s; }
.b-hero h1 { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; letter-spacing: .01em; max-width: 22ch; margin: 18px 0 22px; }
.b-hero .h-crumbs { margin-bottom: 22px; }

/* Article layout: sticky contents + body */
.b-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.b-toc { position: sticky; top: calc(var(--h-header) + 28px); border-left: 1px solid var(--h-line-light); padding-left: 22px; }
.b-toc-title { font-size: .68rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--color-navy); margin: 0 0 16px; }
.b-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.b-toc li { counter-increment: toc; margin: 0 0 4px; }
.b-toc ol a { display: block; position: relative; padding: 8px 0 8px 30px; font-size: .86rem; line-height: 1.45; color: #6b7286; text-decoration: none; transition: color .25s ease; }
.b-toc ol a::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 9px; font-size: .68rem; letter-spacing: .1em; color: #a3a9b8; }
.b-toc ol a::after { content: ''; position: absolute; left: -23px; top: 6px; bottom: 6px; width: 2px; background: transparent; transition: background .25s ease; }
.b-toc ol a:hover { color: var(--color-navy); }
.b-toc ol a.is-current { color: var(--color-navy); font-weight: 600; }
.b-toc ol a.is-current::before { color: var(--h-blue-dk); }
.b-toc ol a.is-current::after { background: var(--h-blue); }
.b-share { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--h-line-light); }
.b-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.b-share-btns a, .b-share-btns button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--h-line-light); background: #fff; color: var(--color-navy); cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.b-share-btns a:hover, .b-share-btns button:hover { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.b-share-btns svg { width: 17px; height: 17px; fill: currentColor; }
.b-copied { display: block; margin-top: 10px; font-size: .78rem; color: var(--h-blue-dk); min-height: 1.2em; }

/* Article typography */
.b-article { max-width: 760px; font-size: 1.06rem; line-height: 1.9; color: #3a4159; }
.b-article > p:first-of-type { font-size: 1.2rem; line-height: 1.8; color: var(--color-navy); }
.b-article h2 { font-family: var(--font-heading); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; line-height: 1.3; color: var(--color-navy); margin: 64px 0 18px; scroll-margin-top: calc(var(--h-header) + 24px); }
.b-article h3 { font-size: 1.12rem; font-weight: 700; color: var(--color-navy); margin: 34px 0 10px; }
.b-article p { max-width: none; color: #3a4159; margin: 0 0 20px; }
.b-article ul, .b-article ol { margin: 0 0 24px; padding-left: 1.3em; }
.b-article li { margin-bottom: 10px; padding-left: 4px; }
.b-article li::marker { color: var(--h-blue-dk); font-weight: 700; }
.b-article a { color: var(--h-blue-dk); text-decoration: underline; text-underline-offset: 3px; }
.b-article a:hover { color: var(--color-navy); }
.b-article strong { color: var(--color-navy); }
.b-article figure { margin: 40px 0; }
.b-article figure img { width: 100%; border-radius: 6px; max-height: 460px; object-fit: cover; }
.b-article figcaption { font-size: .84rem; color: #7a8195; margin-top: 10px; text-align: center; }
.b-callout { margin: 34px 0; padding: 26px 30px; border-left: 3px solid var(--h-blue); background: #f3f7fa; border-radius: 0 6px 6px 0; }
.b-callout-title { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--h-blue-dk); margin-bottom: 10px; }
.b-callout p:last-child, .b-callout ul:last-child { margin-bottom: 0; }
.b-callout--warn { border-left-color: var(--color-navy); background: #f4f5f8; }
.b-table-wrap { margin: 32px 0; overflow-x: auto; border: 1px solid var(--h-line-light); border-radius: 6px; }
.b-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.b-table th { background: var(--color-navy); color: #fff; text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 14px 18px; }
.b-table td { padding: 14px 18px; border-top: 1px solid var(--h-line-light); vertical-align: top; line-height: 1.6; }
.b-table tr:nth-child(even) td { background: #f8f9fb; }
.b-table td:first-child { font-weight: 700; color: var(--color-navy); }
.b-article .h-faq { margin-top: 24px; }
.b-author { display: flex; gap: 22px; align-items: center; margin-top: 56px; padding: 28px; border: 1px solid var(--h-line-light); border-radius: 6px; }
.b-author img { width: 110px; height: auto; flex-shrink: 0; border-radius: 0; }
.b-author strong { display: block; color: var(--color-navy); font-size: .95rem; letter-spacing: .04em; margin-bottom: 6px; }
.b-author p { margin: 0; font-size: .92rem; line-height: 1.7; }
.b-updated { font-size: .82rem; color: #7a8195; margin-top: 28px; font-style: italic; }

@media (max-width: 1024px) {
  .b-grid { grid-template-columns: repeat(2, 1fr); }
  .b-featured { grid-template-columns: 1fr; }
  .b-featured-media { min-height: 300px; }
  .b-featured-body { padding: 36px 30px; }
  .b-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .b-toc { position: static; border-left: none; padding: 24px; margin-bottom: 40px; background: #f6f8fb; border-radius: 6px; }
  .b-toc ol a::after { display: none; }
}
@media (max-width: 640px) {
  .b-grid { grid-template-columns: 1fr; }
  .b-hero { min-height: 70vh; }
  .b-hero-inner { padding: 100px 20px 44px; }
  .b-article { font-size: 1rem; }
  .b-article > p:first-of-type { font-size: 1.08rem; }
  .b-callout { padding: 22px; }
  .b-author { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .b-hero .h-hero-bg, .b-hero-inner > * { animation: none; } }

/* ---------- Header: smaller logo so the company name shows on desktop (v4) ---------- */
@media (min-width: 1366px) {
  body .site-header .container { padding: 0 28px; }
  body .logo-img { height: 42px; }
  body .logo { gap: 10px; }
  body .logo-title-wrap { display: flex; }
  body .logo-title { font-size: .9rem; }
  body .logo-subtitle { font-size: .64rem; }
  body .nav { gap: 16px; }
  body .nav a { font-size: .72rem; letter-spacing: .08em; }
}
@media (min-width: 1600px) {
  body .nav { gap: 24px; }
  body .nav a { font-size: .76rem; letter-spacing: .11em; }
}
@media (min-width: 1300px) and (max-width: 1365px) {
  body .logo-img { height: 42px; }
  body .logo-title-wrap { display: none; }
}

/* ---------- About: Message from the Founder (photo background) ---------- */
.h-founder { background: linear-gradient(180deg, rgba(14, 22, 40, .82) 0%, rgba(16, 30, 54, .74) 50%, rgba(12, 20, 36, .88) 100%), url('../images/stock/about-founder-bg.jpg') center right / cover no-repeat; color: #fff; overflow: hidden; }
.h-founder .h-eyebrow { color: rgba(255, 255, 255, .8); }
.h-founder .h-quote blockquote { color: #fff; text-shadow: 0 2px 16px rgba(6, 12, 26, .5); }
.h-founder .h-quote blockquote::before { color: var(--h-blue-lt); }
.h-founder .h-lead { color: rgba(255, 255, 255, .88); }
.h-founder .h-sign { border-top-color: rgba(255, 255, 255, .3); }
.h-founder .h-sign strong { color: #fff; }
.h-founder .h-sign span { color: rgba(255, 255, 255, .72); }
@media (max-width: 760px) { .h-founder { background-position: 70% center; } }


/* ---------- Gallery: 3 columns for portrait interior photos ---------- */
.h-gallery--3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-gallery--3 img { height: 420px; }
@media (max-width: 1000px) { .h-gallery--3 { grid-template-columns: repeat(2, 1fr); } .h-gallery--3 img { height: 340px; } }
@media (max-width: 600px) { .h-gallery--3 { grid-template-columns: 1fr; } .h-gallery--3 img { height: 360px; } }


/* ---------- Homepage: moving client / institution logos ---------- */
.h-clients { background: #fff; padding: 64px 0 56px; border-bottom: 1px solid #e6e9ef; overflow: hidden; }
.h-clients-title { font-family: var(--font-heading); font-weight: 300; text-transform: uppercase; letter-spacing: var(--h-track); font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: var(--color-navy-deep, #1d2333); margin: 0 0 34px; }
.h-clients-title strong { font-weight: 800; }
.h-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-marquee-track { display: flex; width: max-content; margin: 0; padding: 6px 0; list-style: none; animation: hMarquee 28s linear infinite; }
.h-marquee:hover .h-marquee-track { animation-play-state: paused; }
.h-marquee-track li { flex: 0 0 auto; width: 152px; padding: 0 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.h-marquee-track img { width: 72px; height: 72px; object-fit: contain; border-radius: 0; max-width: none; display: block; }
.h-marquee-track span { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6b7286; line-height: 1.3; }
@keyframes hMarquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (max-width: 600px) {
  .h-clients { padding: 48px 0 42px; }
  .h-marquee-track li { width: 118px; padding: 0 10px; }
  .h-marquee-track img { width: 56px; height: 56px; }
  .h-marquee-track { animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) {
  .h-marquee { -webkit-mask-image: none; mask-image: none; }
  .h-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 22px; padding: 6px 24px; }
  .h-marquee-dup { display: none !important; }
}


/* ---------- Before / After (project pages): full photos, no crop, no zoom ---------- */
.h-ba { display: grid; grid-template-columns: 3fr 4fr; gap: 22px; max-width: 820px; margin: 32px auto 0; align-items: start; }
.h-ba-item { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: #e9ecf1; }
.h-ba-item img { display: block; width: 100%; height: auto; max-width: none; border-radius: 0; transform: none; transition: none; }
.h-ba-item:hover img { transform: none; }
.h-ba-tag { position: absolute; left: 14px; top: 14px; background: #fff; color: #323850; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border-radius: 3px; box-shadow: 0 2px 10px rgba(20, 28, 48, .18); }
.h-ba-tag--after { background: #323850; color: #fff; }
@media (max-width: 700px) { .h-ba { grid-template-columns: 1fr; gap: 18px; max-width: 460px; } }


/* ---------- Social links (LinkedIn / Facebook) ---------- */
.h-social { display: flex; gap: 12px; margin-top: 22px; }
.h-social a { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform .2s ease, opacity .2s ease; }
.h-social a:hover, .h-social a:focus-visible { transform: translateY(-2px); opacity: .88; }
.h-social svg { width: 34px; height: 34px; display: block; }
.h-contact-details .h-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--h-blue-lt); }
.h-contact-details .h-social-links > span { color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-right: 4px; }
.h-contact-details .h-social-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #323850; padding: 8px 16px 8px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.h-contact-details .h-social-pill:hover { color: #323850; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(10, 18, 36, .28); }
.h-contact-details .h-social-pill svg { width: 24px; height: 24px; flex-shrink: 0; margin: 0; fill: none; stroke: none; }


/* ---------- Gallery: full-frame photos, no crop, no zoom (16:9 interiors) ---------- */
.h-gallery--natural { margin-top: 32px; }
.h-gallery--natural img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.h-gallery--natural figure:hover img { transform: none; }

.h-gallery--natural.h-gallery--trio { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .h-gallery--natural.h-gallery--trio { grid-template-columns: 1fr; } }
