/*
Theme Name: HekliConsult
Theme URI: https://hekliconsult.com/
Author: HekliConsult GmbH
Description: Klar gestaltetes Block-Theme für technische Beratung. Mit direkt bearbeitbarer Startseite, Leistungsbausteinen und Bilderportfolio.
Version: 1.3.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hekliconsult
Tags: block-patterns, full-site-editing, portfolio, custom-colors, custom-logo, editor-style, wide-blocks
*/

:root {
  --hc-navy: #102b45;
  --hc-blue: #0c699c;
  --hc-ink: #192633;
  --hc-muted: #51616f;
  --hc-pale: #f2f5f7;
  --hc-line: #bac7d1;
  --hc-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0 !important; overflow: clip; }
.wp-site-blocks > *, .wp-site-blocks > * + *, .hc-main > * { margin-block-start: 0; margin-block-end: 0; }
.hc-main { margin: 0 !important; max-width: none; }
.hc-main > .wp-block-post-content { margin: 0; max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
.hc-main > .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.hc-shell { width: min(var(--hc-shell), calc(100% - 104px)); max-width: var(--hc-shell); margin-left: auto !important; margin-right: auto !important; }
.hc-section, .hc-header, .hc-footer, .hc-hero { margin-left: 0 !important; margin-right: 0 !important; }
.hc-main .hc-section, .hc-main .hc-hero { margin-left: 0; margin-right: 0; }
.hc-section p, .hc-section h1, .hc-section h2, .hc-section h3, .hc-hero p, .hc-hero h1, .hc-header p, .hc-footer p { margin-top: 0; }
.hc-section p:last-child { margin-bottom: 0; }
.hc-section h2 { font-size: clamp(28px, 2.65vw, 36px); line-height: 1.12; letter-spacing: -.028em; margin-bottom: 22px; }
.hc-section h3 { color: var(--hc-navy); }
.hc-eyebrow { color: var(--hc-navy); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .24em; margin-bottom: 20px; }
.hc-accent.wp-block-separator { border: 0; background: var(--hc-blue); width: 52px; height: 4px; border-radius: 3px; margin: 24px 0 !important; opacity: 1; }
.hc-icon img, .hc-service-icon img, .hc-shield img { width: 100%; height: 100%; object-fit: contain; }
.wp-block-button__link { transition: background-color .18s ease, box-shadow .18s ease; text-decoration: none; line-height: 1.3; }
.wp-block-button__link:hover { background-color: #084f78; box-shadow: 0 4px 14px #102b4518; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #26a1cf; outline-offset: 4px; }
.hc-document { min-height: 55vh; padding-top: 72px; padding-bottom: 80px; }
.hc-document > h1 { margin-bottom: 36px; }

/* Logo and navigation. The mobile menu is the native WordPress navigation block. */
.hc-header { background: #fff; border-bottom: 1px solid #d8e0e6; }
.hc-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 30px; }
.hc-header-controls { display: flex; align-items: center; flex-shrink: 0; gap: 29px; }
.hc-header-controls > *, .hc-language-switcher > * { margin-block-start: 0; margin-block-end: 0; }
.hc-language-switcher { display: flex; align-items: center; flex-shrink: 0; gap: 10px; padding-left: 22px; border-left: 1px solid #c8d4dc; }
.hc-language-switcher p { flex: 0 0 auto; margin: 0; font-size: 12px; line-height: 1.5; }
/* Size the links themselves so their complete touch areas remain clickable. */
.hc-language-switcher a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 4px; color: #5a6d7b; line-height: 1.3; text-decoration: none; }
.hc-language-switcher a:hover { color: var(--hc-blue); background: #edf4f8; }
.hc-language-switcher a[aria-current="page"] { color: var(--hc-blue); font-weight: 700; }
.hc-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hc-brand-logo.wp-block-image { width: 180px; height: 76px; margin: 0; overflow: hidden; }
.hc-brand-logo a { display: block; width: 100%; height: 100%; }
.hc-brand-logo img { display: block; width: 180px; height: 101.25px; max-width: none; margin-top: -14px; object-fit: contain; }
.hc-brand-name { margin: 0; font-size: 27px; font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.hc-brand-name a { color: var(--hc-navy); text-decoration: none; }
.hc-navigation { color: var(--hc-navy); margin: 0; }
.hc-navigation .wp-block-navigation__container { gap: 31px; }
.hc-navigation .wp-block-navigation-item__content { padding: 25px 0; color: var(--hc-navy); font-size: 14px; text-decoration: none; }
body.home .hc-navigation .wp-block-navigation-item:first-child .wp-block-navigation-item__content { font-weight: 700; }
.hc-navigation .wp-block-navigation-item__content:hover { color: var(--hc-blue); }
.hc-navigation .wp-block-navigation-item { position: relative; }
body.home .hc-navigation .wp-block-navigation-item:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 3px; border-radius: 3px; background: var(--hc-blue); }
.hc-navigation .wp-block-navigation__responsive-container-open { padding: 10px; }

/* The photographic opening follows the supplied mockup. */
.hc-hero.wp-block-cover { min-height: 510px; padding: 0; align-items: center; isolation: isolate; }
.hc-hero .wp-block-cover__image-background { object-position: 58% 50%; }
.hc-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg,rgba(12,33,48,.92) 0%,rgba(15,40,58,.83) 31%,rgba(14,38,56,.32) 62%,rgba(14,38,56,.03) 100%); pointer-events: none; }
.hc-hero .wp-block-cover__inner-container { width: 100%; position: relative; z-index: 1; }
.hc-hero-inner { padding-top: 46px; padding-bottom: 48px; }
.hc-hero .hc-eyebrow { color: #fff; margin-bottom: 20px; font-size: 12px; letter-spacing: .23em; }
.hc-hero .hc-hero-title { color: #fff; font-size: clamp(34px, 3.5vw, 46px); line-height: 1.06; letter-spacing: -.016em; max-width: 690px; margin-top: 0; margin-bottom: 0; font-weight: 700; text-wrap: balance; }
.hc-hero .hc-accent { background: #62cce9; margin-top: 27px !important; margin-bottom: 18px !important; }
.hc-hero .hc-hero-copy { color: #fff; font-size: 20px; line-height: 1.4; max-width: 480px; margin-bottom: 24px; }
.hc-hero .wp-block-button__link { padding: 17px 25px; min-width: 196px; background: linear-gradient(180deg,#167eaf,#0b6a9a); border: 1px solid #2386b0; }
.hc-hero .wp-block-button__link:hover { background: #085c89; }

/* Four compact proof points. */
.hc-proof { background: linear-gradient(110deg,#f4f6f8,#eef2f5); }
.hc-proof-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-top: 30px; padding-bottom: 30px; }
.hc-proof-item { display: flex; align-items: center; gap: 24px; min-height: 55px; padding: 0 30px; border-left: 1px solid var(--hc-line); }
.hc-proof-item:first-child { padding-left: 0; border-left: 0; }
.hc-proof-item:last-child { padding-right: 0; }
.hc-proof-item .hc-icon { flex: 0 0 42px; width: 42px; height: 42px; margin: 0; }
.hc-proof-text { font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--hc-navy); margin: 0; }

/* Services: editorial introduction plus the six compact technical topics. */
.hc-services { padding-top: 62px; padding-bottom: 52px; background: #fff; }
.hc-services-layout { display: grid; grid-template-columns: .95fr 2fr; gap: 42px; align-items: start; }
.hc-services-intro { padding-top: 2px; }
.hc-services-intro .hc-eyebrow { margin-bottom: 22px; }
.hc-services-intro p:not(.hc-eyebrow) { font-size: 17px; line-height: 1.48; }
.hc-services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.hc-service-card { display: flex; gap: 18px; padding: 15px; border-radius: 8px; background: linear-gradient(120deg,#f4f6f8,#f0f3f6); min-height: 127px; align-items: flex-start; }
.hc-service-icon.wp-block-image { flex: 0 0 60px; width: 60px; height: 60px; padding: 12px; margin: 0; background: #e7eef3; border-radius: 7px; }
.hc-service-copy { padding-top: 5px; }
.hc-service-card h3 { font-size: 18px; line-height: 1.2; letter-spacing: -.025em; margin-top: 0; margin-bottom: 9px; }
.hc-service-card p { font-size: 12px; line-height: 1.45; margin-bottom: 0; }

/* Images belong to the native Group background controls; overlays preserve the design. */
.hc-expertise, .hc-cta { position: relative; isolation: isolate; }
.hc-expertise.wp-block-group { padding: 40px 0; }
.hc-cta.wp-block-group { padding: var(--hc-cta-padding-top, 34px) 0 34px; }
.hc-expertise::before, .hc-cta::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hc-expertise > *, .hc-cta > * { position: relative; z-index: 1; }
.hc-expertise { padding-top: 40px; padding-bottom: 40px; background-color: #edf2f5; }
.hc-expertise::before { background: linear-gradient(90deg,rgba(244,247,249,.98) 0%,rgba(241,245,248,.95) 57%,rgba(233,240,245,.57) 100%); }
.hc-expertise-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 50px; align-items: center; }
.hc-expertise-intro p:not(.hc-eyebrow) { font-size: 17px; line-height: 1.45; }
.hc-expertise-intro .hc-eyebrow { margin-bottom: 16px; }
.hc-expertise-intro h2 { margin-bottom: 0; }
.hc-expertise-intro .hc-accent { margin-top: 24px !important; margin-bottom: 20px !important; }
.hc-expertise-list { border-left: 1px solid #b4c3ce; padding: 2px 0 2px 45px; }
.hc-check-list { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.35; }
.hc-check-list li { position: relative; padding-left: 39px; margin: 0 0 15px; }
.hc-check-list li:last-child { margin-bottom: 0; }
.hc-check-list li::before { content: "✓"; display: flex; align-items: center; justify-content: center; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: #0a6798; color: #fff; font-size: 14px; font-weight: 700; }

/* Independent advice and the first contact invitation. */
.hc-neutral { background: #fff; padding-top: 43px; padding-bottom: 43px; }
.hc-neutral-layout { display: flex; gap: 38px; align-items: center; }
.hc-shield.wp-block-image { width: 77px; height: 87px; flex: 0 0 77px; margin: 0 0 0 8px; }
.hc-neutral-copy { border-left: 1px solid #8da1b2; padding-left: 38px; }
.hc-neutral-copy h2 { font-size: 25px; letter-spacing: -.025em; margin-bottom: 10px; }
.hc-neutral-copy p { font-size: 16px; line-height: 1.5; }
.hc-cta { padding-top: 34px; padding-bottom: 34px; background-color: #164661; color: #fff; }
.hc-cta::before { background: linear-gradient(95deg,rgba(14,46,66,.98),rgba(22,71,102,.89)); }
.hc-cta-layout { display: flex; gap: 45px; align-items: center; justify-content: space-between; }
.hc-cta-copy { max-width: 810px; }
.hc-cta-copy h2 { font-size: 23px; color: #fff; margin-bottom: 7px; letter-spacing: -.016em; }
.hc-cta-copy p { font-size: 16px; line-height: 1.4; max-width: 660px; }
.hc-cta-layout > .wp-block-buttons { flex-shrink: 0; }
.hc-button-light .wp-block-button__link { background: #fff; color: #0b4d77; border: 1px solid #cfdae3; padding: 14px 24px; white-space: nowrap; }
.hc-button-light .wp-block-button__link:hover { background: #e6f1f7; color: #102b45; }

/* Editable image portfolio with a subtle hover effect. */
.hc-portfolio { padding-top: 75px; padding-bottom: 68px; background: #fff; }
.hc-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.hc-section-heading h2 { margin-bottom: 0; }
.hc-section-heading .hc-eyebrow { margin-bottom: 16px; }
.hc-section-lead { max-width: 310px; color: var(--hc-muted); font-size: 16px; line-height: 1.5; padding-bottom: 3px; }
.hc-gallery.wp-block-gallery { margin: 0; gap: 24px; }
.hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { position: relative; margin: 0; width: calc(33.33333% - 16px); flex-grow: 0; border-radius: 7px; overflow: hidden; background: #e9eff3; }
.hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4/3; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.hc-gallery figure:hover img { transform: scale(1.025); }
.hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { padding: 38px 20px 19px; font-size: 17px; font-weight: 700; line-height: 1.35; text-align: left; background: linear-gradient(0deg,rgba(8,27,40,.84),transparent); max-height: none; color: white; }
.hc-image-note { font-size: 12px; color: #667684; line-height: 1.5; margin-top: 17px !important; }

/* Personal background and a useful, uncluttered contact section. */
.hc-about { padding-top: 58px; padding-bottom: 58px; background: #f2f5f7; }
.hc-about-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 70px; }
.hc-about-intro h2 { margin-bottom: 0; }
.hc-about-copy h3 { margin-top: 0; margin-bottom: 6px; font-size: 27px; }
.hc-qualification { font-size: 15px; color: var(--hc-blue); margin-bottom: 23px; font-weight: 700; }
.hc-about-copy p:not(.hc-qualification) { font-size: 16px; line-height: 1.65; }
.hc-contact { padding-top: 75px; padding-bottom: 76px; background: #fff; }
.hc-contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.hc-contact-intro > p:not(.hc-eyebrow) { font-size: 16px; line-height: 1.6; max-width: 355px; }
.hc-contact-note { color: var(--hc-blue); font-weight: 700; font-size: 14px !important; margin-top: 25px !important; }
.hc-contact-details { padding: 32px 36px; background: #f2f5f7; border-left: 3px solid #0c699c; border-radius: 0 7px 7px 0; }
.hc-contact-details h3 { font-size: 25px; margin-bottom: 12px; }
.hc-contact-role { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.hc-contact-address { font-size: 19px; font-weight: 700; margin-bottom: 25px; }
.hc-contact-details a { overflow-wrap: anywhere; }

/* Native flow spacing must not add offsets inside the explicit grid and row layouts. */
.hc-header-inner > *, .hc-brand > *, .hc-proof-grid > *, .hc-proof-item > *,
.hc-services-layout > *, .hc-services-grid > *, .hc-service-card > *,
.hc-expertise-layout > *, .hc-neutral-layout > *, .hc-cta-layout > *,
.hc-section-heading > *, .hc-about-layout > *, .hc-contact-layout > *,
.hc-footer-inner > * { margin-block-start: 0; margin-block-end: 0; }

.hc-footer { border-top: 1px solid #d9e2e8; padding-top: 23px; padding-bottom: 23px; background: #f6f8fa; color: #5c6b78; font-size: 12px; }
.hc-footer-inner { display: flex; align-items: center; gap: 25px; }
.hc-footer-descriptor { flex: 1; }
.hc-footer p { margin-bottom: 0; }
.hc-copyright { color: var(--hc-navy); font-weight: 700; }
.hc-top-link { margin-left: 0; }
.hc-top-link a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; font-size: 23px; line-height: 1; }
.hc-footer a { color: #33546e; text-decoration: none; }
.hc-footer a:hover { text-decoration: underline; }
.hc-privacy-link { padding-top: 10px; }
.hc-footer-legal { margin: 0; white-space: nowrap; }

/* Photograph-led headers for biography and content pages share the homepage's visual language. */
.hc-hero.hc-profile-photo.wp-block-cover { min-height: 380px; }
.hc-hero.hc-profile-photo .hc-profile-name { font-size: clamp(46px,5vw,66px); max-width: 800px; margin-bottom: 0; }
.hc-profile-photo .hc-qualification { color: #fff; font-size: 20px; line-height: 1.5; margin-bottom: 0; }
.hc-profile-intro-section { padding-top: 58px; padding-bottom: 58px; background: #f4f7f9; }
.hc-profile-intro-section .hc-profile-section-title h2 { font-size: 28px; line-height: 1.2; }
.hc-hero.hc-subpage-hero.wp-block-cover { min-height: 315px; }
.hc-page-hero-fallback.wp-block-group { padding: 0; margin-block: 0; }
.hc-page-hero-fallback > .wp-block-cover { margin-block: 0; }
.hc-hero.hc-subpage-hero .hc-hero-title { max-width: 950px; font-size: clamp(34px,4vw,52px); }
.hc-subpage-hero .hc-accent { margin-bottom: 0 !important; }
.hc-page-content { margin: 0; padding-left: 24px; padding-right: 24px; }

/* The detailed biography keeps longer original texts comfortably readable. */
.hc-profile-hero { padding-top: 78px; padding-bottom: 70px; background: linear-gradient(125deg,#f5f8fa,#eaf1f5); }
.hc-profile-hero-layout, .hc-profile-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 75px; align-items: start; }
.hc-profile-hero-layout > *, .hc-profile-layout > * { margin-block-start: 0; margin-block-end: 0; }
.hc-profile-name { font-size: clamp(44px,4.4vw,60px); line-height: 1.04; letter-spacing: -.045em; margin-top: 0; margin-bottom: 23px; color: var(--hc-navy); }
.hc-profile-title .hc-qualification { font-size: 15px; line-height: 1.55; font-weight: 600; }
.hc-profile-introduction h2 { font-size: 27px; line-height: 1.2; margin-bottom: 23px; }
.hc-profile-introduction p, .hc-timeline p, .hc-profile-prose p { font-size: 16px; line-height: 1.75; margin-bottom: 21px; }
.hc-profile-introduction p:last-child, .hc-timeline p:last-child, .hc-profile-prose p:last-child { margin-bottom: 0; }
.hc-profile-career, .hc-profile-engagement, .hc-profile-publications { padding-top: 65px; padding-bottom: 65px; }
.hc-profile-section-title h2 { font-size: 32px; }
.hc-profile-section-title p:not(.hc-eyebrow) { font-size: 16px; line-height: 1.6; }
.hc-timeline { border-left: 1px solid #b8cbd7; }
.hc-timeline-entry { position: relative; padding: 0 0 40px 33px; margin-block-start: 0 !important; }
.hc-timeline-entry:last-child { padding-bottom: 0; }
.hc-timeline-entry::before { content: ""; position: absolute; top: 5px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--hc-blue); box-shadow: 0 0 0 5px #fff; }
.hc-timeline-entry .hc-timeline-date { font-size: 11px; line-height: 1.4; letter-spacing: .11em; font-weight: 700; color: var(--hc-blue); margin-bottom: 10px; }
.hc-timeline-entry h3 { margin-top: 0; margin-bottom: 14px; font-size: 23px; line-height: 1.2; }
.hc-profile-specialisms { padding-top: 52px; padding-bottom: 52px; background: #f1f5f8; }
.hc-profile-specialism-list { font-size: 16px; line-height: 1.55; padding-top: 5px; }
.hc-profile-specialism-list li { margin-bottom: 19px; }
.hc-profile-specialism-list li::before { top: 2px; }
.hc-profile-engagement { border-bottom: 1px solid #e0e7ec; }
.hc-publication-list { margin: 0; padding-left: 24px; font-size: 15px; line-height: 1.65; }
.hc-publication-list li { padding: 0 0 21px 10px; margin: 0 0 21px; border-bottom: 1px solid #e1e8ed; }
.hc-publication-list li:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.hc-publication-list li::marker { color: var(--hc-blue); font-size: 12px; font-weight: 700; }
.hc-publication-list a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; }
.hc-profile-actions { max-width: 255px; gap: 12px; }
.hc-button-outline .wp-block-button__link { background: transparent; border: 1px solid #b0c3cf; color: #fff; padding: 13px 23px; font-size: 14px; }
.hc-button-outline .wp-block-button__link:hover { background: #ffffff18; color: #fff; }
.hc-about-copy > .wp-block-buttons { margin-top: 26px; }

@media (min-width: 1450px) {
  .hc-hero.wp-block-cover { min-height: 540px; }
}
@media (max-width: 1100px) {
  .hc-header-controls { gap: 22px; }
  .hc-language-switcher { padding-left: 16px; }
  .hc-shell { width: calc(100% - 80px); }
  .hc-header-inner { min-height: 70px; gap: 20px; }
  .hc-brand-name { font-size: 24px; }
  .hc-brand-logo.wp-block-image { width: 180px; height: 76px; }
  .hc-brand-logo img { width: 180px; height: 101.25px; margin-top: -14px; }
  .hc-navigation .wp-block-navigation__container { gap: 26px; }
  .hc-navigation .wp-block-navigation-item__content { font-size: 13px; }
  .hc-hero.wp-block-cover { min-height: 470px; }
  .hc-hero .hc-hero-title { max-width: 580px; font-size: 39px; }
  .hc-hero .hc-hero-copy { font-size: 19px; max-width: 435px; }
  .hc-proof-item { gap: 20px; padding: 0 23px; }
  .hc-proof-text { font-size: 16px; }
  .hc-services-layout { grid-template-columns: .95fr 2fr; gap: 30px; }
  .hc-services-grid { gap: 13px; }
  .hc-service-card { gap: 14px; padding: 13px; min-height: 125px; }
  .hc-service-icon.wp-block-image { width: 52px; height: 52px; flex-basis: 52px; padding: 10px; }
  .hc-service-card h3 { font-size: 17px; }
  .hc-service-card p { font-size: 11.5px; }
  .hc-services-intro p:not(.hc-eyebrow) { font-size: 16px; }
  .hc-expertise-layout { gap: 35px; }
  .hc-expertise-list { padding-left: 35px; }
  .hc-check-list { font-size: 14px; }
  .hc-cta-copy h2 { font-size: 21px; }
  .hc-cta-layout { gap: 30px; }
  .hc-cta-copy p { font-size: 15px; }
  .hc-contact-layout { gap: 55px; }
}
@media (max-width: 850px) {
  .hc-header-controls { gap: 18px; }
  .hc-language-switcher { padding-left: 13px; gap: 8px; }
  .hc-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .hc-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .hc-navigation .wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; color: var(--hc-navy) !important; padding: 28px; }
  .hc-navigation .is-menu-open .wp-block-navigation-item__content { padding: 12px 0; font-size: 21px; }
  .hc-profile-hero-layout, .hc-profile-layout { grid-template-columns: 1fr; gap: 28px; }
  .hc-profile-hero { padding-top: 55px; padding-bottom: 50px; }
  .hc-profile-name { font-size: 50px; }
  .hc-profile-career, .hc-profile-engagement, .hc-profile-publications { padding-top: 48px; padding-bottom: 48px; }
  .hc-shell { width: calc(100% - 48px); }
  .hc-brand-name { font-size: 22px; }
  .hc-header-inner { gap: 15px; }
  .hc-navigation .wp-block-navigation__container { gap: 19px; }
  .hc-navigation .wp-block-navigation-item__content { font-size: 12px; }
  .hc-hero.wp-block-cover { min-height: 465px; }
  .hc-hero .hc-hero-title { font-size: 37px; max-width: 560px; }
  .hc-hero::after { background: linear-gradient(90deg,rgba(12,33,48,.94),rgba(15,40,58,.78) 55%,rgba(14,38,56,.21)); }
  .hc-proof-item { gap: 14px; padding: 0 16px; }
  .hc-proof-item .hc-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .hc-proof-text { font-size: 14px; }
  .hc-services { padding-top: 45px; padding-bottom: 45px; }
  .hc-services-layout { grid-template-columns: 1fr; gap: 28px; }
  .hc-services-intro { max-width: 600px; }
  .hc-services-intro p:not(.hc-eyebrow) { max-width: 600px; }
  .hc-service-card { min-height: 116px; padding: 17px; }
  .hc-service-card h3 { font-size: 18px; }
  .hc-service-card p { font-size: 13px; }
  .hc-expertise-layout { grid-template-columns: 1fr 1.5fr; gap: 28px; }
  .hc-expertise-intro p:not(.hc-eyebrow) { font-size: 15px; }
  .hc-expertise-list { padding-left: 25px; }
  .hc-check-list li { padding-left: 32px; margin-bottom: 17px; }
  .hc-neutral-layout { gap: 25px; }
  .hc-neutral-copy { padding-left: 25px; }
  .hc-neutral-copy h2 { font-size: 22px; }
  .hc-neutral-copy p { font-size: 15px; }
  .hc-cta-layout { align-items: flex-start; }
  .hc-cta-copy h2 { font-size: 20px; line-height: 1.3; }
  .hc-cta-copy p { font-size: 14px; }
  .hc-button-light .wp-block-button__link { padding: 13px 17px; font-size: 14px; }
  .hc-section-heading { display: block; }
  .hc-section-lead { margin-top: 20px !important; max-width: none; }
  .hc-gallery.wp-block-gallery { gap: 15px; }
  .hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { width: calc(33.33333% - 10px); }
  .hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { font-size: 15px; padding: 35px 13px 14px; }
  .hc-about-layout { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .hc-contact-layout { grid-template-columns: 1fr 1.35fr; gap: 38px; }
  .hc-footer-inner { flex-wrap: wrap; gap: 10px 25px; }
}
@media (max-width: 650px) {
  .hc-header-controls { gap: 12px; }
  .hc-language-switcher { padding-left: 11px; gap: 8px; }
  .hc-language-switcher p { font-size: 12px; }
  .hc-hero.hc-profile-photo.wp-block-cover { min-height: 335px; }
  .hc-hero.hc-profile-photo .hc-profile-name { font-size: 43px; }
  .hc-profile-photo .hc-qualification { font-size: 17px; }
  .hc-hero.hc-subpage-hero.wp-block-cover { min-height: 285px; }
  .hc-hero.hc-subpage-hero .hc-hero-title { font-size: 35px; }
  .hc-profile-intro-section { padding-top: 39px; padding-bottom: 39px; }
  .hc-profile-intro-section .hc-profile-section-title h2 { font-size: 26px; }
  html { scroll-padding-top: 20px; }
  .hc-shell { width: calc(100% - 40px); }
  .hc-header-inner { min-height: 70px; }
  .hc-brand-name { font-size: 22px; }
  .hc-brand-logo.wp-block-image { width: 150px; height: 64px; }
  .hc-brand-logo img { width: 150px; height: 84.375px; margin-top: -12px; }
  .hc-brand { gap: 8px; }
  .hc-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { gap: 12px; }
  .hc-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .hc-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .hc-navigation .wp-block-navigation__responsive-container.is-menu-open { background: #fff !important; color: var(--hc-navy) !important; padding: 28px; }
  .hc-navigation .is-menu-open .wp-block-navigation-item__content { padding: 12px 0; font-size: 21px; }
  .hc-navigation .is-menu-open .wp-block-navigation-item::after { bottom: 4px !important; }
  .hc-hero.wp-block-cover { min-height: 568px; }
  .hc-hero .wp-block-cover__image-background { object-position: 68% 50%; }
  .hc-hero::after { background: linear-gradient(90deg,rgba(10,30,45,.94),rgba(12,35,51,.78) 65%,rgba(12,35,51,.43)); }
  .hc-hero-inner { padding-top: 45px; padding-bottom: 45px; }
  .hc-hero .hc-eyebrow { font-size: 10px; letter-spacing: .2em; margin-bottom: 23px; }
  .hc-hero .hc-hero-title { font-size: clamp(31px,8.15vw,41px); line-height: 1.08; text-wrap: initial; max-width: 510px; }
  .hc-hero .hc-hero-copy { font-size: 17px; line-height: 1.5; max-width: 360px; }
  .hc-hero .hc-accent { margin-top: 26px !important; margin-bottom: 21px !important; }
  .hc-hero .wp-block-button__link { min-width: 190px; padding: 16px 22px; }
  .hc-proof-grid { grid-template-columns: 1fr 1fr; padding-top: 22px; padding-bottom: 22px; gap: 23px 0; }
  .hc-proof-item { padding: 0 0 0 20px; gap: 14px; min-height: 45px; }
  .hc-proof-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hc-proof-text { font-size: 13px; line-height: 1.4; }
  .hc-proof-item .hc-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .hc-services { padding-top: 45px; padding-bottom: 40px; }
  .hc-section h2 { font-size: 29px; line-height: 1.15; }
  .hc-eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hc-services-intro .hc-eyebrow { margin-bottom: 18px; }
  .hc-services-intro p:not(.hc-eyebrow) { font-size: 16px; line-height: 1.6; }
  .hc-services-grid { grid-template-columns: 1fr; gap: 12px; }
  .hc-service-card { min-height: 106px; gap: 18px; padding: 17px; }
  .hc-service-icon.wp-block-image { width: 55px; height: 55px; flex-basis: 55px; }
  .hc-service-card h3 { font-size: 18px; }
  .hc-service-card h3 br { display: block; }
  .hc-service-card p { font-size: 13px; line-height: 1.5; }
  .hc-service-copy { padding-top: 2px; }
  .hc-expertise { padding-top: 40px; padding-bottom: 40px; }
  .hc-expertise-layout { grid-template-columns: 1fr; gap: 25px; }
  .hc-expertise-intro p:not(.hc-eyebrow) { font-size: 16px; line-height: 1.55; max-width: 430px; }
  .hc-expertise-list { padding: 0; border: 0; }
  .hc-check-list { font-size: 14px; }
  .hc-check-list li { padding-left: 33px; margin-bottom: 18px; line-height: 1.5; }
  .hc-check-list li::before { top: 1px; }
  .hc-neutral { padding-top: 35px; padding-bottom: 35px; }
  .hc-neutral-layout { align-items: flex-start; gap: 20px; }
  .hc-shield.wp-block-image { width: 45px; height: 57px; flex-basis: 45px; margin-left: 0; margin-top: 3px; }
  .hc-neutral-copy { border: 0; padding: 0; }
  .hc-neutral-copy h2 { font-size: 22px; line-height: 1.2; }
  .hc-neutral-copy p { font-size: 14px; line-height: 1.55; }
  .hc-cta { --hc-cta-padding-top: 33px; padding-top: 33px; padding-bottom: 34px; }
  .hc-cta-layout { display: block; }
  .hc-cta-copy h2 { font-size: 23px; line-height: 1.25; }
  .hc-cta-copy p { font-size: 15px; line-height: 1.5; }
  .hc-cta-layout > .wp-block-buttons { margin-top: 23px; }
  .hc-button-light .wp-block-button__link { padding: 14px 22px; font-size: 15px; }
  .hc-portfolio { padding-top: 47px; padding-bottom: 43px; }
  .hc-section-heading { margin-bottom: 24px; }
  .hc-section-heading h2 { font-size: 28px; }
  .hc-section-lead { font-size: 15px; }
  .hc-gallery.wp-block-gallery { flex-direction: column; gap: 16px; }
  .hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { width: 100%; }
  .hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 16/10; }
  .hc-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { padding: 40px 20px 20px; font-size: 19px; }
  .hc-image-note { font-size: 11px; }
  .hc-about { padding-top: 40px; padding-bottom: 40px; }
  .hc-about-layout { grid-template-columns: 1fr; gap: 18px; }
  .hc-about-copy h3 { font-size: 25px; }
  .hc-about-copy p:not(.hc-qualification) { font-size: 15px; line-height: 1.65; }
  .hc-qualification { font-size: 14px; }
  .hc-contact { padding-top: 43px; padding-bottom: 47px; }
  .hc-contact-layout { grid-template-columns: 1fr; gap: 29px; }
  .hc-contact-intro > p:not(.hc-eyebrow) { max-width: none; font-size: 15px; }
  .hc-contact-note { margin-top: 19px !important; font-size: 13px !important; }
  .hc-contact-details { padding: 27px 24px; }
  .hc-contact-address { font-size: 17px; }
  .hc-footer { padding-top: 24px; padding-bottom: 24px; }
  .hc-footer-inner { align-items: flex-start; gap: 9px 20px; }
  .hc-footer-descriptor { flex-basis: 100%; order: 3; }
  .hc-footer-legal { order: 4; white-space: normal; }
  .hc-top-link { margin-left: auto; }
  .hc-document { padding-top: 40px; padding-bottom: 50px; }
  .hc-profile-hero { padding-top: 43px; padding-bottom: 39px; }
  .hc-profile-name { font-size: 43px; }
  .hc-profile-title .hc-qualification { font-size: 14px; }
  .hc-profile-introduction h2 { font-size: 25px; }
  .hc-profile-introduction p, .hc-timeline p, .hc-profile-prose p { font-size: 15px; line-height: 1.7; }
  .hc-profile-career, .hc-profile-engagement, .hc-profile-publications { padding-top: 40px; padding-bottom: 40px; }
  .hc-profile-specialisms { padding-top: 40px; padding-bottom: 40px; }
  .hc-profile-section-title h2 { font-size: 28px; }
  .hc-timeline-entry { padding-left: 24px; padding-bottom: 32px; }
  .hc-timeline-entry h3 { font-size: 21px; }
  .hc-profile-specialism-list { font-size: 15px; }
  .hc-publication-list { font-size: 14px; padding-left: 20px; }
  .hc-publication-list li { padding-left: 7px; }
  .hc-profile-actions { max-width: none; }
}
@media (max-width: 380px) {
  .hc-header-inner, .hc-header-controls { gap: 8px; }
  .hc-language-switcher { padding-left: 0; border-left: 0; }
  .hc-brand-logo.wp-block-image { width: 120px; height: 51px; }
  .hc-brand-logo img { width: 120px; height: 67.5px; margin-top: -9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .hc-navigation, .hc-top-link { display: none !important; }
  .hc-section { break-inside: avoid; }
  .hc-hero::after { background: #173f59; }
  .hc-shell { width: 100%; }
}
