/*
Theme Name: Henry Charles Consulting
Theme URI: https://henrycharlesconsulting.com/
Author: WD23
Description: Lightweight native WordPress block theme for Henry Charles Consulting.
Version: 0.7.35
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: henry-charles-consulting
*/

:root { --hcc-header-height: 126px; }
html { scroll-behavior: smooth; }
body { text-wrap: pretty; }
a { text-underline-offset: .2em; }
.wp-site-blocks { min-height: 100vh; overflow: clip; }
.wp-site-blocks > header + main,
.wp-site-blocks > main + footer,
main > * { margin-block-start: 0 !important; }
.hcc-eyebrow { color: var(--wp--preset--color--copper); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hcc-site-header { backdrop-filter: blur(18px); background: color-mix(in srgb, var(--wp--preset--color--navy) 96%, transparent); border-bottom: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--cream); max-width: none; position: sticky; top: 0; width: 100%; z-index: 50; }
.hcc-utility { border-bottom: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--mist); font-size: .61rem; letter-spacing: .14em; text-transform: uppercase; }
.hcc-utility__inner { box-sizing: border-box; display: flex; justify-content: space-between; margin: auto; max-width: 1240px; padding: .55rem clamp(1.25rem, 4vw, 2.5rem); }
.hcc-main-bar { align-items: center; box-sizing: border-box; display: grid; gap: clamp(1.5rem,3vw,3.5rem); grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); margin: auto; max-width: 1400px; min-height: 86px; padding: 1.15rem clamp(1.25rem,4vw,2.5rem); position: relative; }
.hcc-wordmark { color: var(--wp--preset--color--cream); display: inline-flex; flex-direction: column; font-family: Arial,Helvetica,sans-serif; font-size: 1.32rem; font-weight: 500; grid-column: 2; letter-spacing: .19em; line-height: 1; text-align: center; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.hcc-wordmark span { color: var(--wp--preset--color--copper); font-size: .52rem; letter-spacing: .46em; margin-top: .24rem; }
.hcc-nav { align-items: center; display: flex; gap: clamp(1rem,2vw,1.75rem); list-style: none; margin: 0; padding: 0; }
.hcc-nav > li { align-items: center; display: flex; min-height: 44px; }
.hcc-nav--left { justify-content: flex-end; }
.hcc-nav--right { justify-content: flex-start; }
.hcc-nav a, .hcc-nav button { align-items: center; background: transparent; border: 0; box-sizing: border-box; color: var(--wp--preset--color--cream); cursor: pointer; display: flex; font: inherit; font-size: .7rem; font-weight: 400; height: 44px; letter-spacing: .11em; line-height: 1; padding: .7rem 0; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.hcc-menu-cta a { position: relative; }
.hcc-menu-cta a::after { background: var(--wp--preset--color--copper); bottom: 7px; content: ""; height: 1px; left: 0; position: absolute; width: 100%; }
.hcc-nav a:hover, .hcc-nav a:focus-visible, .hcc-nav button:hover, .hcc-nav button:focus-visible { color: var(--wp--preset--color--copper); }
.hcc-has-mega { position: static; }
.hcc-mega { background: var(--wp--preset--color--navy); border-bottom: 1px solid var(--wp--preset--color--line); border-top: 1px solid var(--wp--preset--color--line); box-sizing: border-box; display: grid; gap: 2rem; grid-template-columns: 1.1fr repeat(2,1fr); left: 0; opacity: 0; padding: 2.25rem max(calc((100vw - 1180px)/2),2.5rem); pointer-events: none; position: absolute; top: 100%; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease; visibility: hidden; width: 100%; }
.hcc-has-mega.is-open .hcc-mega { opacity: 1; pointer-events: auto; transform: translateY(0); visibility: visible; }
.hcc-mega h2 { color: var(--wp--preset--color--cream); font-size: 1.65rem; margin: .3rem 0 .75rem; }
.hcc-mega p { color: var(--wp--preset--color--mist); font-size: .85rem; line-height: 1.6; margin: 0; max-width: 25rem; }
.hcc-mega ul { list-style: none; margin: 0; padding: 0; }
.hcc-mega li + li { border-top: 1px solid var(--wp--preset--color--line); }
.hcc-mega a { display: block; font-size: .74rem; padding: .8rem 0; }
.hcc-menu-toggle, .hcc-mobile-menu { display: none; }
.hcc-hero { background: var(--wp--preset--color--navy); min-height: min(780px,84vh); position: relative; }
.hcc-hero__image { height: 100%; inset: 0; margin: 0; position: absolute; }
.hcc-hero__image::after { background: linear-gradient(100deg,rgba(16,29,50,.94) 5%,rgba(16,29,50,.68) 55%,rgba(10,18,32,.4)); content: ""; inset: 0; position: absolute; }
.hcc-hero__image img { filter: saturate(.65) contrast(1.06); height: 100%; object-fit: cover; object-position: center 48%; width: 100%; }
.hcc-hero__inner { align-items: center; box-sizing: border-box; display: flex; margin: auto; min-height: inherit; padding: clamp(5rem,10vw,8rem) clamp(1.5rem,5vw,3rem); position: relative; width: min(100%,1336px); z-index: 2; }
.hcc-hero__copy { max-width: 820px; }
.hcc-hero h1 { color: var(--wp--preset--color--cream); font-size: 3rem; letter-spacing: -.025em; line-height: 1.06; margin: 1rem 0 1.5rem; max-width: 820px; }
.hcc-hero__lead { color: color-mix(in srgb,var(--wp--preset--color--cream) 82%,transparent); font-size: 1rem; font-weight: 400; line-height: 1.65; max-width: 620px; }
.hcc-link { border-bottom: 1px solid var(--wp--preset--color--copper); color: inherit; display: inline-block; font-size: .72rem; letter-spacing: .13em; padding: .8rem 0; text-decoration: none; text-transform: uppercase; }
.hcc-link:hover, .hcc-link:focus-visible { color: var(--wp--preset--color--copper); }
.hcc-link--light { color: var(--wp--preset--color--cream); }
.hcc-proof { background: var(--wp--preset--color--paper); }
.hcc-proof__grid { display: grid; gap: 2rem; grid-template-columns: repeat(4,1fr); margin: auto; max-width: 1240px; padding: clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,3rem); }
.hcc-stat { border-top: 1px solid var(--wp--preset--color--line-dark); padding-top: 1.25rem; }
.hcc-stat strong { color: var(--wp--preset--color--navy); display: block; font-family: var(--wp--preset--font-family--sans); font-size: clamp(2.2rem,4vw,3.75rem); font-weight: 400; line-height: 1; }
.hcc-stat span { color: var(--wp--preset--color--slate); display: block; font-size: .68rem; letter-spacing: .13em; margin-top: .65rem; text-transform: uppercase; }
.hcc-section { box-sizing: border-box; padding: clamp(4.5rem,9vw,8rem) clamp(1.5rem,5vw,3rem); }
.hcc-section__inner { margin: auto; max-width: 1240px; }
.hcc-section h2 { color: var(--wp--preset--color--navy); font-size: clamp(2.15rem,3.4vw,3.35rem); letter-spacing: 0; line-height: 1.06; margin: .8rem 0 1.25rem; max-width: 850px; }
.hcc-intro { color: var(--wp--preset--color--slate); font-size: clamp(1rem,1.6vw,1.2rem); line-height: 1.7; max-width: 760px; }
.hcc-service-grid { display: grid; gap: 0 clamp(1.5rem,3vw,3rem); grid-template-columns: repeat(3,1fr); margin-top: 3.5rem; }
.hcc-service { border-top: 1px solid var(--wp--preset--color--line-dark); display: flex; flex-direction: column; min-height: 240px; padding: 1.5rem 0 2rem; }
.hcc-service span { color: var(--wp--preset--color--copper); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; }
.hcc-service h3 { color: var(--wp--preset--color--navy); font-size: clamp(1.3rem,1.7vw,1.65rem); font-weight: 400; line-height: 1.18; margin: auto 0 .75rem; }
.hcc-service p { color: var(--wp--preset--color--slate); font-size: .9rem; line-height: 1.6; margin: 0; }
.hcc-service a { color: inherit; text-decoration: none; }
.hcc-service:has(a:hover) { border-color: var(--wp--preset--color--copper); }
.hcc-editorial { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream); }
.hcc-split { align-items: stretch; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.hcc-split__media { min-height: 620px; }
.hcc-split__media img { filter: saturate(.78); height: 100%; object-fit: cover; width: 100%; }
.hcc-split__copy { align-self: center; box-sizing: border-box; padding: clamp(4rem,8vw,7rem); }
.hcc-split__copy h2 { color: var(--wp--preset--color--cream); font-size: clamp(2.15rem,3.4vw,3.35rem); letter-spacing: 0; line-height: 1.06; }
.hcc-split__copy p:not(.hcc-eyebrow) { color: color-mix(in srgb,var(--wp--preset--color--cream) 76%,transparent); line-height: 1.75; }
.hcc-process { background: var(--wp--preset--color--cream); }
.hcc-process-grid { display: grid; gap: clamp(1.5rem,3vw,3rem); grid-template-columns: repeat(3,1fr); margin-top: 3rem; }
.hcc-step { border-top: 1px solid var(--wp--preset--color--line-dark); padding: 1.5rem 0 2rem; }
.hcc-step span { color: var(--wp--preset--color--copper); font-size: .68rem; letter-spacing: .18em; }
.hcc-step h3 { color: var(--wp--preset--color--navy); font-size: 1.35rem; margin: 3rem 0 .75rem; }
.hcc-step p { color: var(--wp--preset--color--slate); line-height: 1.65; }
.hcc-cta { background: var(--wp--preset--color--blue); color: var(--wp--preset--color--cream); padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,3rem); }
.hcc-cta__inner { align-items: end; display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr) auto; margin: auto; max-width: 1240px; }
.hcc-cta h2 { color: inherit; font-size: clamp(2.15rem,3.4vw,3.35rem); letter-spacing: 0; line-height: 1.06; margin: .75rem 0 0; max-width: 780px; }
.hcc-page-hero { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream); padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,3rem); }
.hcc-page-hero__inner { margin: auto; max-width: 1144px; }
.hcc-breadcrumbs { color: var(--wp--preset--color--mist); display: flex; flex-wrap: wrap; font-size: .64rem; gap: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.hcc-breadcrumbs a { color: var(--wp--preset--color--copper); text-decoration: none; }
.hcc-page-hero h1 { color: inherit; font-size: clamp(2.5rem,4vw,3.75rem); letter-spacing: -.04em; line-height: .98; margin: 1.5rem 0 0; max-width: 950px; }
.hcc-page-hero__lede { color: color-mix(in srgb,var(--wp--preset--color--cream) 78%,transparent); font-size: 1.05rem; line-height: 1.65; margin: 1.25rem 0 0; max-width: 720px; }
.hcc-page-content { box-sizing: border-box; margin: auto; max-width: 1240px; min-height: 45vh; overflow: hidden; padding: clamp(3rem,5vw,4.5rem) clamp(1.5rem,5vw,3rem); }
.hcc-page-content > * { max-width: 880px; }
.hcc-page-content h2 { border-top: 1px solid var(--wp--preset--color--line-dark); color: var(--wp--preset--color--navy); font-size: clamp(1.8rem,3vw,2.8rem); letter-spacing: -.025em; line-height: 1.08; margin-top: clamp(4rem,8vw,7rem); padding-top: 1.5rem; }
.hcc-page-content p, .hcc-page-content li { color: var(--wp--preset--color--slate); line-height: 1.75; }
.hcc-page-content h2:first-child { margin-top: 0; }
.hcc-page-content h3 { color: var(--wp--preset--color--navy); font-size: 1.35rem; font-weight: 400; margin-top: 2.5rem; }
.hcc-page-content ul, .hcc-page-content ol { padding-left: 1.25rem; }
.hcc-page-content ul:not(.wp-block-post-template) { column-gap: 3rem; columns: 2; list-style-position: inside; max-width: 1060px; padding: 0; }
.hcc-page-content li { break-inside: avoid; border-top: 1px solid color-mix(in srgb,var(--wp--preset--color--line-dark) 55%,transparent); padding: .8rem 0; }
.hcc-page-visual { height: clamp(360px,48vw,620px); margin: 0 0 clamp(3.5rem,7vw,6rem); max-width: none !important; overflow: hidden; position: relative; width: 100%; }
.hcc-page-visual::after { background: linear-gradient(110deg,rgba(16,29,50,.24),transparent 62%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.hcc-page-visual img { filter: saturate(.72) contrast(1.03); height: 100%; object-fit: cover; width: 100%; }
.hcc-page-content > .hcc-intro { color: var(--wp--preset--color--navy); font-size: clamp(1.25rem,2.2vw,1.75rem); line-height: 1.5; max-width: 960px; }
.hcc-page-content blockquote { border-left: 1px solid var(--wp--preset--color--copper); margin: 3rem 0; padding: .5rem 0 .5rem 2rem; }
.hcc-team-grid { display: grid; gap: 0 3rem; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: clamp(3rem,6vw,5rem); max-width: none !important; }
.hcc-team-profile { border-top: 1px solid var(--wp--preset--color--line-dark); padding: 1.5rem 0 3rem; }
.hcc-team-profile h2 { border: 0; font-size: clamp(1.4rem,2vw,1.8rem); margin: 0 0 1rem; padding: 0; }
.hcc-team-profile p { font-size: .92rem; }
.hcc-directory-page, .hcc-directory-page > * { max-width: 1240px; }
.hcc-school-library-main .hcc-directory-page, .hcc-school-library-main .hcc-directory-page > * { margin: 0; max-width: none; padding: 0; }
.hcc-directory { margin-top: clamp(3rem,6vw,5rem); max-width: none !important; }
.hcc-directory__summary { border-bottom: 1px solid var(--wp--preset--color--line-dark); border-top: 1px solid var(--wp--preset--color--line-dark); display: grid; gap: 2rem; grid-template-columns: .65fr .65fr 2fr; margin-bottom: 3rem; padding: 2rem 0; }
.hcc-directory__summary span { color: var(--wp--preset--color--navy); display: block; font-size: clamp(2.5rem,5vw,4.25rem); line-height: .9; }
.hcc-directory__summary p { font-size: .84rem; line-height: 1.6; margin: .7rem 0 0; }
.hcc-directory__controls { display: grid; gap: 1rem; grid-template-columns: minmax(0,2fr) minmax(220px,1fr); }
.hcc-directory__controls label { color: var(--wp--preset--color--navy); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hcc-directory__controls input, .hcc-directory__controls select { background: transparent; border: 0; border-bottom: 1px solid var(--wp--preset--color--line-dark); border-radius: 0; box-sizing: border-box; color: var(--wp--preset--color--navy); display: block; font: 400 1rem/1.4 Arial,Helvetica,sans-serif; margin-top: .65rem; min-height: 3.25rem; padding: .75rem 0; width: 100%; }
.hcc-directory__controls input:focus, .hcc-directory__controls select:focus { border-color: var(--wp--preset--color--copper); outline: 0; }
.hcc-directory__count { font-size: .72rem; letter-spacing: .13em; margin: 2.5rem 0 1rem; text-transform: uppercase; }
.hcc-directory__letters { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 2rem; }
.hcc-directory__letters button { background: transparent; border: 1px solid var(--wp--preset--color--line-dark); border-radius: 0; color: var(--wp--preset--color--navy); cursor: pointer; font: 600 .66rem/1 Arial,Helvetica,sans-serif; height: 2rem; min-width: 2rem; padding: .5rem; text-transform: uppercase; }
.hcc-directory__letters button:hover, .hcc-directory__letters button:focus-visible, .hcc-directory__letters button.is-active { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream); }
.hcc-directory__grid { border-top: 1px solid var(--wp--preset--color--line-dark); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.hcc-school-card { border-bottom: 1px solid var(--wp--preset--color--line-dark); min-height: 170px; padding: 1.5rem; }
.hcc-school-card:not(:nth-child(3n+1)) { border-left: 1px solid var(--wp--preset--color--line-dark); }
.hcc-school-card[hidden] { display: none; }
.hcc-school-card h2 { font-size: 1.25rem; line-height: 1.18; margin: 2rem 0 .6rem; }
.hcc-school-card h2 a { color: inherit; text-decoration: none; }
.hcc-school-card h2 a:hover, .hcc-school-card h2 a:focus-visible { color: var(--wp--preset--color--copper); }
.hcc-school-card > p:last-child { font-size: .85rem; margin: 0; }
.hcc-directory__empty { border-top: 1px solid var(--wp--preset--color--line-dark); padding-top: 2rem; }
.hcc-school-profile .hcc-school-facts { border-bottom: 1px solid var(--wp--preset--color--line-dark); border-top: 1px solid var(--wp--preset--color--line-dark); display: grid; gap: 1.5rem; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 0 3rem; max-width: none; padding: 1.5rem 0; }
.hcc-school-facts dt { color: var(--wp--preset--color--copper); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hcc-school-facts dd { color: var(--wp--preset--color--navy); margin: .35rem 0 0; }
.hcc-related { margin-top: clamp(4rem,8vw,7rem); max-width: none !important; }
.hcc-related > h2 { margin-top: .75rem; }
.hcc-related__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.hcc-related__grid a { border-bottom: 1px solid var(--wp--preset--color--line-dark); border-top: 1px solid var(--wp--preset--color--line-dark); color: var(--wp--preset--color--navy); display: flex; flex-direction: column; min-height: 150px; padding: 1.5rem; text-decoration: none; }
.hcc-related__grid a + a { border-left: 1px solid var(--wp--preset--color--line-dark); }
.hcc-related__grid span { font-size: 1.2rem; line-height: 1.2; }
.hcc-related__grid small { color: var(--wp--preset--color--copper); font-size: .64rem; letter-spacing: .13em; margin-top: auto; text-transform: uppercase; }
.hcc-insights-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 1240px !important; }
.hcc-insight-card { border-top: 1px solid var(--wp--preset--color--line-dark); min-height: 260px; padding: 2rem; }
.hcc-insight-card:nth-child(even) { border-left: 1px solid var(--wp--preset--color--line-dark); }
.hcc-insight-card h2 { font-size: clamp(1.45rem,2.2vw,2rem); line-height: 1.15; margin: 2rem 0 1rem; }
.hcc-insight-card h2 a { color: inherit; text-decoration: none; }
.hcc-site-footer { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); padding: clamp(4rem,7vw,6rem) clamp(1.5rem,5vw,3rem) 2rem; }
.hcc-footer-grid { display: grid; gap: 3rem; grid-template-columns: 1.7fr 1fr 1fr; margin: auto; max-width: 1240px; }
.hcc-footer-grid h2 { color: var(--wp--preset--color--copper); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.hcc-footer-grid ul { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.hcc-footer-grid li + li { margin-top: .7rem; }
.hcc-footer-grid a { color: inherit; font-size: .85rem; text-decoration: none; }
.hcc-footer-grid a:hover { color: var(--wp--preset--color--copper); }
.hcc-footer-about p { color: var(--wp--preset--color--mist); line-height: 1.65; max-width: 420px; }
.hcc-footer-legal { border-top: 1px solid var(--wp--preset--color--line); display: flex; flex-wrap: wrap; font-size: .72rem; gap: 1rem 1.5rem; justify-content: center; margin: 3.5rem auto 0; max-width: 1240px; padding-top: 1.75rem; }
.hcc-footer-legal a { color: var(--wp--preset--color--mist); text-decoration: none; }
@media (max-width: 1100px) {
  :root { --hcc-header-height: 112px; }
  .hcc-utility__inner { justify-content: center; }
  .hcc-utility__inner span:not(:first-child) { display: none; }
  .hcc-main-bar { display: flex; justify-content: flex-end; min-height: 74px; }
  .hcc-wordmark { left: 50%; position: absolute; transform: translateX(-50%); }
  .hcc-desktop { display: none; }
  .hcc-menu-toggle { background: transparent; border: 0; color: var(--wp--preset--color--cream); display: block; height: 44px; padding: 10px; width: 44px; }
  .hcc-menu-toggle span { background: currentColor; display: block; height: 1px; margin: 6px 0; width: 24px; }
  .hcc-mobile-menu { background: var(--wp--preset--color--navy); box-sizing: border-box; display: none; inset: 0; overflow-y: auto; padding: 6rem 1.5rem 2rem; position: fixed; z-index: 100; }
  .hcc-mobile-menu.is-open { display: block; }
  .hcc-mobile-menu__close { background: transparent; border: 0; color: var(--wp--preset--color--cream); font-size: 2rem; position: absolute; right: 1.5rem; top: 1.25rem; }
  .hcc-mobile-menu a { border-bottom: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--cream); display: block; font-size: .88rem; letter-spacing: .1em; padding: 1rem 0; text-decoration: none; text-transform: uppercase; }
  .hcc-mobile-label { color: var(--wp--preset--color--copper); font-size: .64rem; letter-spacing: .18em; margin: 2rem 0 .4rem; text-transform: uppercase; }
  body.hcc-menu-open { overflow: hidden; }
  .hcc-hero { min-height: 680px; }
  .hcc-hero__image::after { background: linear-gradient(100deg,rgba(16,29,50,.92),rgba(16,29,50,.52)); }
  .hcc-hero h1 { font-size: 2.35rem; line-height: 1; }
  .hcc-proof__grid { grid-template-columns: repeat(2,1fr); }
  .hcc-service-grid, .hcc-process-grid { grid-template-columns: 1fr; }
  .hcc-service { min-height: 0; }
  .hcc-service h3 { margin-top: 2.5rem; }
  .hcc-split { grid-template-columns: 1fr; }
  .hcc-split__media { min-height: 480px; }
  .hcc-cta__inner, .hcc-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .hcc-wordmark { font-size: 1.12rem; }
  .hcc-wordmark span { font-size: .46rem; }
  .hcc-proof__grid { grid-template-columns: 1fr 1fr; }
  .hcc-stat strong { font-size: 2.2rem; }
  .hcc-split__media { min-height: 360px; }
}
@media (max-width: 700px) {
  .hcc-hero h1 { font-size: 2.35rem; line-height: 1; max-width: 360px; }
  .hcc-hero__lead { font-size: 1rem; line-height: 1.6; max-width: 340px; }
  .hcc-section h2, .hcc-split__copy h2, .hcc-cta h2 { font-size: 1.95rem; }
  .hcc-directory__controls, .hcc-directory__grid { grid-template-columns: 1fr; }
  .hcc-insights-grid { grid-template-columns: 1fr; }
  .hcc-insight-card { border-left: 0 !important; padding-inline: 0; }
  .hcc-school-card { border-left: 0 !important; padding-inline: 0; }
  .hcc-page-content ul:not(.wp-block-post-template) { columns: 1; }
  .hcc-team-grid, .hcc-related__grid { grid-template-columns: 1fr; }
  .hcc-related__grid a + a { border-left: 0; border-top: 0; }
  .hcc-directory__summary { grid-template-columns: 1fr 1fr; }
  .hcc-directory__summary > p { grid-column: 1 / -1; }
  .hcc-page-visual { height: 360px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hcc-mega { transition: none; } }

/* Keep WordPress constrained block margins inside the page's padded column. */
.hcc-page-content { width: 100%; }
.hcc-page-content > .hcc-page-visual { box-sizing: border-box; margin-inline: 0 !important; width: 100%; max-width: 100% !important; }
.hcc-page-visual img { display: block; }
.hcc-page-content > p, .hcc-page-content > h2, .hcc-page-content > h3, .hcc-page-content > ul, .hcc-page-content > ol { margin-inline: auto; }
.hcc-page-content .wp-block-image { max-width: 100%; }
.hcc-page-content .wp-block-image img { height: auto; max-width: 100%; }
.hcc-page-content .wp-block-columns { gap: clamp(24px,4vw,48px); }
.hcc-page-content .wp-block-column { min-width: 0; }

/* Original HCC artwork, supplied on the live website. */
.hcc-wordmark .hcc-brand-logo { display:block; width:250px; height:auto; max-width:100%; }
.hcc-footer-about .hcc-wordmark { position:static; transform:none; }
.hcc-footer-about .hcc-brand-logo { width:230px; }
@media(max-width:781px) { .hcc-main-bar .hcc-brand-logo { width:210px; } }

/* Mobile navigation uses two independent, accessible sliding panels. */
@media (max-width: 1100px) {
  .hcc-mobile-menu { overflow: hidden; padding: 0; }
  .hcc-mobile-menu__close { z-index: 2; width: 44px; height: 44px; }
  .hcc-mobile-panel { position: absolute; inset: 5.5rem 0 0; padding: 0 1.5rem max(2rem, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; transition: transform .3s ease; }
  .hcc-mobile-panel--services { transform: translateX(100%); visibility: hidden; }
  .is-services-open .hcc-mobile-panel--main { transform: translateX(-100%); visibility: hidden; }
  .is-services-open .hcc-mobile-panel--services { transform: translateX(0); visibility: visible; }
  .hcc-mobile-services-toggle, .hcc-mobile-back { background: transparent; border: 0; color: var(--wp--preset--color--cream); cursor: pointer; font: inherit; min-height: 48px; text-align: left; }
  .hcc-mobile-services-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); padding: 1rem 0; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; }
  .hcc-mobile-back { display: flex; gap: 1rem; align-items: center; padding: 0; font-size: .85rem; }
  .hcc-mobile-panel button:focus-visible, .hcc-mobile-panel a:focus-visible { outline: 2px solid var(--wp--preset--color--copper); outline-offset: -2px; }
}
@media (prefers-reduced-motion: reduce) { .hcc-mobile-panel { transition: none; } }

.hcc-arrow-icon { display: inline-block; width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: middle; margin-inline-start: .35em; }

.hcc-legal-links { display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 1100px) {
 .hcc-mobile-menu.is-closing { display: block; pointer-events: none; animation: hcc-menu-out .3s ease both; }
 .hcc-mobile-menu.is-open { animation: hcc-menu-in .3s ease both; }
 .hcc-mobile-panel a, .hcc-mobile-services-toggle { border: 0; letter-spacing: .015em; text-transform: none; padding: .6rem 0; min-height: 44px; box-sizing: border-box; }
 .hcc-mobile-panel--main > a, .hcc-mobile-services-toggle { font-size: clamp(1.35rem, 5.5vw, 1.8rem); line-height: 1.25; }
 .hcc-mobile-panel--services > a { font-size: 1.1rem; }
 .hcc-mobile-panel a:hover, .hcc-mobile-panel a:focus-visible { color: var(--wp--preset--color--copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
 .is-open .hcc-mobile-panel--main > a, .is-open .hcc-mobile-services-toggle { animation: hcc-menu-link .55s cubic-bezier(.22,1,.36,1) both; }
 .is-open .hcc-mobile-panel--main > :nth-child(2) { animation-delay: .04s; }
 .is-open .hcc-mobile-panel--main > :nth-child(3) { animation-delay: .08s; }
 .is-open .hcc-mobile-panel--main > :nth-child(4) { animation-delay: .12s; }
 .is-open .hcc-mobile-panel--main > :nth-child(5) { animation-delay: .16s; }
 .is-open .hcc-mobile-panel--main > :nth-child(6) { animation-delay: .20s; }
 .hcc-mobile-menu__close { padding: 10px; }
 .hcc-mobile-menu__close span { display: block; position: absolute; left: 10px; top: 21px; width: 24px; height: 1px; background: currentColor; transform-origin: center; }
 .is-open .hcc-mobile-menu__close span:first-child { animation: hcc-x-first .5s cubic-bezier(.22,1,.36,1) both; }
 .is-open .hcc-mobile-menu__close span:last-child { animation: hcc-x-last .5s cubic-bezier(.22,1,.36,1) both; }
 .is-closing .hcc-mobile-menu__close span:first-child { animation: hcc-x-first .3s ease reverse both; }
 .is-closing .hcc-mobile-menu__close span:last-child { animation: hcc-x-last .3s ease reverse both; }
 .hcc-menu-toggle span:last-child { width: 18px; margin-left: 6px; }
 .hcc-footer-legal { min-width: 0; display: block; text-align: center; }
 .hcc-footer-legal > span { display: block; margin-bottom: .6rem; }
 .hcc-legal-links { flex-wrap: nowrap; justify-content: flex-start; gap: 1.2rem; overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; }
 .hcc-legal-links a { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
}
@keyframes hcc-menu-link { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hcc-menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hcc-menu-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes hcc-x-first { from { transform: translateY(-4px); } to { transform: rotate(45deg); } }
@keyframes hcc-x-last { from { transform: translateY(4px); width: 18px; } to { transform: rotate(-45deg); width: 24px; } }
@media (prefers-reduced-motion: reduce) {
 .hcc-mobile-menu, .hcc-mobile-panel > a, .hcc-mobile-services-toggle, .hcc-mobile-menu__close span { animation: none !important; }
 .hcc-mobile-menu__close span:first-child { transform: rotate(45deg); }
 .hcc-mobile-menu__close span:last-child { transform: rotate(-45deg); }
}

/* Brand interaction policy: visible keyboard focus without rectangular rings. */
html body :is(a, button, summary, input, select, textarea):is(:hover, :focus, :focus-visible) { outline: none !important; }
html body :is(a, button, summary):focus-visible { box-shadow: none !important; text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .3em; }
html body :is(input, select, textarea):focus-visible { box-shadow: inset 0 -2px 0 currentColor !important; }
html body :is(.hcc-menu-toggle, .hcc-mobile-menu__close, [data-hcc-booking-close]):focus-visible { background: #805a3d; color: #fff; border-radius: 50%; }
html body a:focus-visible img { opacity: .75; }

/* Original brand palette on a light header. Dark menus keep their reverse colors. */
.hcc-site-header { background: #f4f0e7; color: #003556; border-bottom-color: #d6d1c7; backdrop-filter: none; }
.hcc-site-header .hcc-utility { color: #435b69; border-bottom-color: #d6d1c7; }
.hcc-nav > li > a, .hcc-nav > li > button, .hcc-site-header .hcc-menu-toggle { color: #003556; }
.hcc-nav > li > a:hover, .hcc-nav > li > button:hover { color: #076198; }

@media (min-width: 1101px) {
 .hcc-utility__inner, .hcc-main-bar { max-width: 1400px; padding-inline: clamp(1.25rem, 3vw, 2.5rem); }
 .hcc-utility__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; padding-block: .45rem; font-size: .57rem; letter-spacing: .12em; }
 .hcc-utility__inner span:nth-child(2) { text-align: center; }
 .hcc-utility__inner span:last-child { text-align: right; }
 .hcc-main-bar { gap: 1.5rem; padding-block: .85rem; }
 .hcc-nav { gap: clamp(.7rem, 1.3vw, 1.25rem); }
 .hcc-nav--left { justify-content: flex-start; }
 .hcc-nav--right { justify-content: flex-end; }
 .hcc-nav > li > a, .hcc-nav > li > button { font-size: .65rem; letter-spacing: .07em; }
}

.hcc-capability-grid { grid-auto-rows: 1fr; }
.hcc-capability-grid h3 { min-height: 3.75em; }
.hcc-capability-grid article > p { margin-bottom: 1.5rem; }
.hcc-method-grid { align-items: stretch; }
.hcc-image-reveal { opacity: .35; transform: translateY(18px) scale(.97); transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.22,1,.36,1); }
.hcc-image-reveal.hcc-revealed { opacity: 1; transform: none; }
.hcc-border-reveal { position: relative; border-top-color: transparent !important; }
.hcc-border-reveal::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: #a57852; transform: scaleX(0); transform-origin: left; transition: transform 1.8s ease; }
.hcc-border-reveal.hcc-revealed::before { transform: scaleX(1); }
@media(max-width:781px) { .hcc-capability-grid { grid-auto-rows: auto; } .hcc-capability-grid h3 { min-height: 0; } }
@media(prefers-reduced-motion:reduce) { .hcc-image-reveal { opacity:1; transform:none; transition:none; } .hcc-border-reveal::before { transform:none; transition:none; } }

/* Keep decorative dividers clear of headings and image edges flush. */
.hcc-section-label.hcc-border-reveal { padding-top: 28px; }
.hcc-split__media { margin: 0; line-height: 0; overflow: hidden; }
.hcc-split__media img { display: block; }
.hcc-split__media .hcc-image-reveal { transform: scale(1.035); }
.hcc-split__media .hcc-image-reveal.hcc-revealed { transform: none; }
@media(prefers-reduced-motion:reduce) { .hcc-split__media .hcc-image-reveal { transform:none; } }

.hcc-header-calendar { position: absolute; left: calc(50% - 179px); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width:44px; height:44px; color:#003556; text-decoration:none; }
.hcc-header-calendar:hover { color:#805a3d; }
html body .hcc-header-calendar:focus-visible { background:#e4d9c9; border-radius:50%; }
@media(max-width:1100px) { .hcc-header-calendar { left:clamp(1rem,4vw,2.5rem); } }
@media(max-width:360px) { .hcc-main-bar .hcc-brand-logo { width:180px; } }

.hcc-main-bar .hcc-header-calendar { top:0; bottom:0; margin-block:auto; transform:none; line-height:0; }
.hcc-header-calendar svg { display:block; width:23px; height:23px; }
html body .hcc-booking-header [data-hcc-booking-close] { position:relative; display:block; width:44px; height:44px; padding:0; border:0; border-radius:0; background:transparent; color:#003556; cursor:pointer; text-decoration:none !important; }
html body .hcc-booking-header [data-hcc-booking-close]:focus-visible { background:transparent; color:#003556; box-shadow:inset 0 -2px #003556 !important; }
[data-hcc-booking-close] span { position:absolute; width:24px; height:1.5px; top:21px; left:10px; background:currentColor; transition:transform .28s ease, opacity .28s ease; }
[data-hcc-booking-close] span:first-child { transform:rotate(45deg); }
[data-hcc-booking-close] span:last-child { transform:rotate(-45deg); }
.hcc-booking-dialog.is-closing [data-hcc-booking-close] span:first-child { transform:rotate(135deg); opacity:0; }
.hcc-booking-dialog.is-closing [data-hcc-booking-close] span:last-child { transform:rotate(45deg); opacity:0; }
.hcc-booking-dialog.is-closing { animation:hcc-booking-dismiss .28s ease both; }
.hcc-booking-dialog.is-closing::backdrop { animation:hcc-menu-out .28s ease both; }
@keyframes hcc-booking-dismiss { to { opacity:0; transform:translateY(8px); } }
@media(prefers-reduced-motion:reduce) { [data-hcc-booking-close] span { transition:none; } }

.hcc-calendar-pulse { transform-box:fill-box; transform-origin:center; animation:hcc-calendar-breathe 7s ease-in-out infinite; }
@keyframes hcc-calendar-breathe { 0%,65%,100% { opacity:.65; transform:scale(1); } 78% { opacity:1; transform:scale(1.55); } }
@media(max-width:1100px) {
 .hcc-header-calendar { width:48px; height:48px; }
 .hcc-header-calendar svg { width:29px; height:29px; }
 .hcc-menu-toggle { width:48px; height:48px; padding:9px; }
 .hcc-menu-toggle span { width:30px; margin:7px 0; }
 .hcc-menu-toggle span:last-child { width:23px; margin-left:7px; }
 .hcc-mobile-menu__close { width:48px; height:48px; }
 .hcc-mobile-menu__close span { width:30px; left:9px; top:23px; }
}
@media(prefers-reduced-motion:reduce) { .hcc-calendar-pulse { animation:none; } }

@media(min-width:1101px) {
 .hcc-header-calendar--mobile { display:none; }
 .hcc-main-bar .hcc-header-calendar--desktop { position:static; transform:none; margin:0; width:44px; height:44px; padding:0; display:inline-flex; justify-content:center; }
 .hcc-nav--right { gap:clamp(.6rem,1vw,1rem); }
}
