/* Site-wide reading, spacing and motion refinement — September 2026 */
:root, .ahl-site {
  --site-gutter: var(--ahl-space-gutter);
  --site-section: var(--ahl-space-section);
  --site-section-compact: var(--ahl-space-section-compact);
  --site-line: #d8d8d3;
  --site-red: var(--ahl-color-accent);
}

html { scroll-behavior: smooth; }
body { overflow-wrap: break-word; }
main > [id], main section[id] { scroll-margin-top: 96px; }

/* One restrained line icon, independent of the surrounding display typeface. */
svg.ahl-arrow {
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  margin-inline-start: .4rem;
  vertical-align: -.2em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
}
:is(.pro-button, .button, .project-prompt-action) > .ahl-arrow { margin-inline-start: auto; }
:is(.hc-next, .hp-next, .in-next) > a > .ahl-arrow { align-self: end; margin-bottom: .15rem; color: var(--site-red); }
main :is(h1, h2, h3) { overflow-wrap: anywhere; text-wrap: balance; }
main :is(p, li, dd) { text-wrap: pretty; }
main :is(section, article, div, figure, header, nav, aside, dl) { min-width: 0; }

/* Home page: keep the editorial scale while removing empty screens. */
.home-professional .pro-hero { min-height: 620px; height: min(860px, 88svh); }
.home-professional .pro-intro { padding: var(--site-section) var(--site-gutter); gap: clamp(2rem, 5vw, 5rem); }
.home-professional .pro-solutions,
.home-professional .pro-process { padding: 0 var(--site-gutter) var(--site-section); }
.home-professional .pro-centres,
.home-professional .project-approach { padding: var(--site-section) var(--site-gutter); }
.home-professional .pro-section-head { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.home-professional .solution-card > a:first-child { height: clamp(300px, 30vw, 420px); }
.home-professional .red-card { min-height: clamp(480px, 43vw, 610px); }
.home-professional .centre-photo { height: clamp(340px, 35vw, 480px); }
.home-professional .partner-rail { min-height: 120px; padding: 1.6rem var(--site-gutter); }
.home-professional .pro-process li { min-height: 230px; }
.home-professional .demo-copy,
.home-professional .demo-form { padding: var(--site-section) var(--site-gutter); }

/* Experience-center pages. */
.centre-page .centre-hero { min-height: 720px; }
.centre-page .centre-hero-media { min-height: 560px; }
.centre-page .centre-video-tour { padding: var(--site-section) var(--site-gutter); gap: clamp(2.5rem, 6vw, 6rem); }
.centre-page .centre-story { padding: var(--site-section) 0; }
.centre-page .centre-feature { min-height: 620px; }
.centre-page .centre-feature-media { min-height: 540px; }
.centre-page .centre-feature-copy,
.centre-page .centre-visit-copy,
.centre-page .centre-address { padding: var(--site-section) var(--site-gutter); }

/* SmartNode uses the same rhythm as the rest of the site. */
.smartnode-page { --sn-gutter: var(--site-gutter); --sn-section: var(--site-section); }
.smartnode-page .sn-section-head { margin-bottom: clamp(2.5rem, 4vw, 3.8rem); }
.smartnode-page :is(.sn-demo-grid article, .sn-scene-grid article, .sn-assurance-grid article, .sn-plan li) { min-height: 210px; }

/* Journal index and long-form articles. */
.journal-page .journal-mast,
.journal-page .journal-archive,
.journal-page .article-shell,
.journal-page .outdoor-gallery-section { padding-top: var(--site-section); padding-bottom: var(--site-section); }
.journal-page .article-hero { min-height: 0; }
.journal-page .article-hero-copy { padding-top: var(--site-section); padding-bottom: var(--site-section); }
.journal-page .article-hero-media { min-height: clamp(480px, 52vw, 680px); }
.journal-page .article-body { font-size: clamp(1rem, 1.05vw, 1.1rem); line-height: 1.78; }
.journal-page .article-body > p,
.journal-page .article-body > ul,
.journal-page .article-body > ol { max-width: 74ch; }
.journal-page .outdoor-gallery-card img { max-height: 560px; }

/* Home-cinema collection and product families. */
.hc-page .hc-hub-hero,
.hc-page .hc-family-hero,
.hc-page .hekla-hero { min-height: 650px; }
.hc-page .hc-hub-copy,
.hc-page .hc-family-copy,
.hc-page .hekla-hero-copy { padding-top: var(--site-section); padding-bottom: var(--site-section); }
.hc-page :is(.hc-opening, .hc-position, .hc-workflow, .hc-tech) { padding: var(--site-section) var(--site-gutter); gap: clamp(2.5rem, 7vw, 7rem); }
.hc-page :is(.hc-range-section, .hc-compare, .hc-room-intro, .hc-products, .hc-detail-gallery, .hc-configurations) { padding: var(--site-section) var(--site-gutter); }
.hc-page .hc-india-copy,
.hc-page .hc-pune > div { padding: var(--site-section) var(--site-gutter); }
.hc-page .hc-india figure,
.hc-page .hc-pune figure { min-height: clamp(500px, 48vw, 660px); }
.hc-page .hc-related,
.hc-page .hc-next { padding: var(--site-section-compact) var(--site-gutter); }
.hc-page :is(.hekla-opening, .hekla-gallery, .hekla-modes, .hekla-specs) { padding: var(--site-section) var(--site-gutter); }
.hc-page :is(.hekla-room > div, .hekla-drivers-copy, .hekla-tuning > div, .hekla-connect > div) { padding: var(--site-section) var(--site-gutter); }
.hc-page .hekla-room figure { min-height: clamp(500px, 50vw, 650px); }
.hc-page .hekla-drivers figure { min-height: clamp(540px, 55vw, 720px); }
.hc-page .hekla-tuning figure { min-height: clamp(440px, 46vw, 560px); }
.hc-page .hekla-connect figure { min-height: clamp(520px, 54vw, 680px); }

/* Architectural indoor solutions. */
.in-page :is(.in-hero, .in-family-hero, .in-product-hero) { min-height: 640px; }
.in-page :is(.in-hero > div, .in-family-hero > div, .in-product-hero > div) { padding: var(--site-section) var(--site-gutter); }
.in-page :is(.in-opening, .in-family-intro, .in-product-story, .in-source, .in-cta, .in-families, .in-products, .in-compare, .in-process, .in-checklist, .in-faq) { padding: var(--site-section) var(--site-gutter); }
.in-page .in-section-heading { margin-bottom: clamp(2.5rem, 4vw, 3.8rem); }
.in-page .in-product-card { min-height: 0; }

/* Headphones hub and model pages. */
.hp-page :is(.hp-hub-hero, .hp-product-hero) { min-height: 640px; }
.hp-page :is(.hp-hub-hero > div, .hp-product-hero > div) { padding: var(--site-section) var(--site-gutter); }
.hp-page :is(.hp-opening, .hp-models, .hp-compare, .hp-engineering, .hp-specifications, .hp-materials, .hp-fit) { padding: var(--site-section) var(--site-gutter); }
.hp-page :is(.hp-choice article, .hp-system > div, .hp-pune > div) { padding: var(--site-section) var(--site-gutter); }
.hp-page :is(.hp-system figure, .hp-pune figure, .hp-product-gallery figure) { min-height: clamp(480px, 50vw, 620px); }
.hp-page .hp-section-heading { margin-bottom: clamp(2.5rem, 4vw, 3.8rem); }
.hp-page .hp-next { padding: var(--site-section-compact) var(--site-gutter); }

/* Commercial guide. */
.cs-page .cs-hero { min-height: 640px; }
.cs-page .cs-hero-copy { padding: var(--site-section) var(--site-gutter); }
.cs-page :is(.cs-opening, .cs-cta, .cs-spaces, .cs-ranges, .cs-products, .cs-scenes, .cs-faq, .cs-system-copy, .cs-outdoor > div, .cs-coordination) { padding: var(--site-section) var(--site-gutter); }
.cs-page :is(.cs-system figure, .cs-outdoor figure) { min-height: clamp(500px, 52vw, 650px); }
.cs-page .cs-space-grid article { min-height: 440px; }
.cs-page .cs-section-heading { margin-bottom: clamp(2.5rem, 4vw, 3.8rem); }

/* Subtle, progressive enhancement: content remains visible without JavaScript. */
.site-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.site-reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* A quiet, non-modal consultation prompt. */
.project-prompt {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  width: min(380px, calc(100vw - 48px));
  padding: 1.45rem 1.45rem 1.35rem;
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--site-red);
  background: rgba(8, 8, 8, .97);
  color: var(--ahl-color-white);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .38s ease, transform .38s ease, visibility .38s;
}
.project-prompt.is-open { opacity: 1; visibility: visible; transform: none; }
.project-prompt-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ahl-color-subtle);
  cursor: pointer;
  font: 400 1.4rem/1 var(--ahl-font-body), sans-serif;
}
.project-prompt-close:hover,
.project-prompt-close:focus-visible { color: var(--ahl-color-white); }
.project-prompt-kicker { margin: 0 2.5rem .8rem 0; color: var(--site-red); font: 600 .68rem/1.3 var(--ahl-font-body), sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.project-prompt h2 { margin: 0; color: var(--ahl-color-white); font: 500 2.3rem/.94 var(--ahl-font-display), serif; letter-spacing: -.025em; }
.project-prompt-copy { margin: .8rem 0 1.2rem; color: #bdbdbd; font-size: .86rem; line-height: 1.6; }
.project-prompt-action { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 1rem; background: var(--site-red); color: #080808; font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.project-prompt-action:hover { background: var(--ahl-color-white); }

@media (max-width: 1080px) {
  /* Keep copy in document flow: absolute children cannot size an auto-height hero. */
  .home-professional .pro-hero { height: auto; min-height: 0; padding: 5rem var(--site-gutter) 6rem; }
  .home-professional .pro-hero-copy { position: relative; inset: auto; transform: none; width: min(650px, 100%); }
  .centre-page .centre-hero { min-height: 0; }
  .centre-page .centre-hero-media { min-height: 520px; }
  .hc-page :is(.hc-hub-copy, .hc-family-copy, .hekla-hero-copy),
  .hp-page :is(.hp-hub-hero > div, .hp-product-hero > div) { min-height: 0; }
}

@media (max-width: 800px) {
  :root, .ahl-site { --site-section: var(--ahl-space-section-mobile); --site-section-compact: var(--ahl-space-section-compact-mobile); }
  main > [id], main section[id] { scroll-margin-top: 78px; }
  .home-professional .pro-hero { padding: var(--site-section) var(--site-gutter); }
  .home-professional .pro-intro { grid-template-columns: 1fr; gap: 1.8rem; }
  .home-professional .pro-intro .pro-index { margin-bottom: 0; }
  .home-professional .solution-card > a:first-child,
  .home-professional .centre-photo { height: auto; aspect-ratio: 4 / 3; }
  .home-professional .red-card { min-height: 0; }
  .home-professional .pro-process li { min-height: 0; padding-top: 2rem; padding-bottom: 2rem; }
  .home-professional .demo-copy,
  .home-professional .demo-form { padding-left: var(--site-gutter); padding-right: var(--site-gutter); }

  .centre-page .centre-hero-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .centre-page .centre-feature { min-height: 0; }
  .centre-page .centre-feature-media { min-height: 0; aspect-ratio: 4 / 3; }

  .journal-page .article-hero-media { min-height: 0; aspect-ratio: 4 / 3; }

  .hc-page :is(.hc-hub-hero, .hc-family-hero, .hekla-hero),
  .in-page :is(.in-hero, .in-family-hero, .in-product-hero),
  .hp-page :is(.hp-hub-hero, .hp-product-hero),
  .cs-page .cs-hero { min-height: 0; }
  .hc-page :is(.hc-hub-visual, .hc-family-visual, .hekla-hero-visual),
  .in-page :is(.in-hero figure, .in-family-hero figure, .in-product-hero figure),
  .hp-page :is(.hp-hub-hero figure, .hp-product-hero figure),
  .cs-page .cs-hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  .hc-page :is(.hc-india figure, .hc-pune figure, .hekla-room figure, .hekla-drivers figure, .hekla-tuning figure, .hekla-connect figure),
  .hp-page :is(.hp-system figure, .hp-pune figure, .hp-product-gallery figure),
  .cs-page :is(.cs-system figure, .cs-outdoor figure) { min-height: 0; aspect-ratio: 4 / 3; }

  .project-prompt { right: 16px; bottom: 76px; width: calc(100vw - 32px); }
}

@media (max-width: 560px) {
  .home-professional .centre-editorial-copy { grid-template-columns: 1fr; gap: .7rem; }
  .home-professional .centre-editorial-copy strong { text-align: left; }
  .home-professional .partner-rail { padding-top: 2rem; padding-bottom: 2rem; }
  .home-professional .red-card { min-height: 0; }
  .centre-page .centre-hero-media,
  .centre-page .centre-feature-media,
  .journal-page .article-hero-media,
  .hc-page :is(.hc-hub-visual, .hc-family-visual, .hekla-hero-visual),
  .in-page :is(.in-hero figure, .in-family-hero figure, .in-product-hero figure),
  .hp-page :is(.hp-hub-hero figure, .hp-product-hero figure),
  .cs-page .cs-hero-media { aspect-ratio: 4 / 3; }
  .project-prompt { padding: 1.25rem; }
  .project-prompt h2 { font-size: 2rem; }
}

/* Shared navigation stays independent from article navigation and sticky actions. */
:is(.hc-table-wrap, .hp-table-wrap, .in-table-wrap, .cs-table-wrap) { max-width: 100%; min-width: 0; overscroll-behavior-x: contain; }
:is(.hc-range-nav, .hp-model-nav, .in-family-nav, .sn-jump) { max-width: 100%; min-width: 0; gap: 0; overscroll-behavior-x: contain; }
:is(.pro-footer, .demo-form, .sn-enquiry-form, .consultation-form) > * { min-width: 0; }
.pro-footer a, .sn-enquiry-copy a { max-width: 100%; overflow-wrap: anywhere; }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--site-red); outline-offset: 4px; }
.project-prompt { max-height: calc(100dvh - 120px); overflow-y: auto; }
.project-prompt-close { width: 44px; height: 44px; }

@media (max-width: 1100px) {
  body .header { height: 70px; }
  body .header .menu { min-width: 64px; min-height: 44px; font-size: .875rem; }
  body .header #nav { top: 100%; gap: .25rem; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior-y: contain; padding: 1rem var(--site-gutter) max(1rem, env(safe-area-inset-bottom)); }
  body .header #nav a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: .8rem 1rem; font-size: .875rem; line-height: 1.5; white-space: normal; }
  body :is(.hc-breadcrumb, .hp-breadcrumb, .in-breadcrumb, .cs-breadcrumb, .journal-mast, .article-hero, .pro-hero) { margin-top: 70px; }
}

@media (max-width: 800px) {
  body[class] { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  body .mobile-action-bar { height: calc(58px + env(safe-area-inset-bottom, 0px)); padding: 0 0 env(safe-area-inset-bottom, 0px); align-items: stretch; }
  body .mobile-action-bar a { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: .5rem; font-size: .75rem; letter-spacing: .04em; }
  body[class] main h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; }
  body[class] main h1 em { font-size: clamp(2rem, 7.3vw, 3.2rem); line-height: 1.12; margin-top: .85rem; }
  body[class] main h2 { font-size: clamp(2.25rem, 8vw, 3.4rem); line-height: 1.08; }
  body[class] main h3 { line-height: 1.15; }
  body[class] main :is(p, li, dd) { line-height: 1.7; }
  body[class] main p:not([class]),
  body[class] main :is(.pro-hero-copy, .pro-process li, .in-product-facts, .hp-materials li, .sn-scene-grid) p:not(.pro-kicker) { font-size: 1rem; }
  body[class] main :is(.pro-kicker, .article-meta, .eyebrow) { font-size: .8125rem; line-height: 1.6; letter-spacing: .1em; }
  body[class] :is(.pro-button, .button, .solid-button, .outline-button) { min-height: 48px; max-width: 100%; white-space: normal; font-size: .8125rem; line-height: 1.5; gap: 1rem; }
  body[class] :is(input, select, textarea) { max-width: 100%; min-width: 0; font-size: 1rem; }
  body[class] :is(input:not([type=checkbox]):not([type=radio]), select, button[type=submit]) { min-height: 48px; }
  body[class] fieldset { min-width: 0; }
  body[class] form label { font-size: .875rem; line-height: 1.5; }
  .sn-control-choice label, .sn-consent { min-height: 44px; }
  body[class] :is(.hc-breadcrumb, .hp-breadcrumb, .in-breadcrumb, .cs-breadcrumb) { flex-wrap: wrap; white-space: normal; padding: 1rem var(--site-gutter); font-size: .8125rem; line-height: 1.6; }
  :is(.hc-range-nav, .hp-model-nav, .in-family-nav, .sn-jump) a { min-height: 48px; font-size: .8125rem; }
  body[class] :is(.hc-table-wrap, .hp-table-wrap, .in-table-wrap, .cs-table-wrap) :is(th, td) { font-size: .9375rem; line-height: 1.55; padding: 1rem; }
  body[class] :is(.hp-proof, .in-proof, .cs-proof, .hekla-proof) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[class] :is(.hp-proof, .in-proof, .cs-proof, .hekla-proof) > div { min-height: 0; padding: 1.25rem var(--site-gutter); flex-direction: column; align-items: flex-start; gap: .7rem; }
  body[class] :is(.hp-proof, .in-proof, .cs-proof, .hekla-proof) dt { font-size: 2.4rem; line-height: 1.1; }
  body[class] :is(.hp-proof, .in-proof, .cs-proof, .hekla-proof) dd { font-size: .8125rem; }
  .home-professional .pro-process { padding-top: var(--site-section); }
  .home-professional .pro-section-head, .smartnode-page .sn-section-head,
  body[class] :is(.hc-section-head, .hp-section-heading, .in-section-heading, .cs-section-heading) { margin-bottom: 2rem; gap: 1.5rem; }
  .home-professional .pro-hero h1 em { font-size: inherit; }
  .home-professional .pro-hero-copy > p:not(.pro-kicker) { margin: 1.5rem 0; }
  .home-professional .red-card { padding: 2rem var(--site-gutter); }
  .home-professional .red-card h3 { margin-top: 1.5rem; }
  .centre-page .centre-hero { padding: 100px var(--site-gutter) var(--site-section); gap: 2rem; }
  .centre-page .centre-hero-copy { padding: 0; }
  .centre-page .experience-rooms { margin-top: 2rem; }
  .centre-page .centre-hero-mark { left: 1rem; right: 1rem; bottom: 1rem; font-size: .75rem; flex-wrap: wrap; }
  .centre-page .centre-hero-mark > * { min-width: 0; }
  .theatre-page .theatre-hero { height: auto; min-height: 0; padding: 110px 0 var(--site-section); }
  .theatre-page .theatre-hero-copy { padding-bottom: 0; }
  .theatre-page :is(.theatre-intro, .systems, .theatre-process, .consultation) { padding-top: var(--site-section); padding-bottom: var(--site-section); }
  .theatre-page :is(.systems-grid, .theatre-steps, .theatre-pillars) { margin-top: 2rem; }
  .journal-page :is(.journal-feature-copy, .journal-story-card > div, .article-cta, .article-faq),
  .in-page :is(.in-next, .in-geometry article, .in-product-facts article) { padding: var(--site-section) var(--site-gutter); }
  .journal-page .article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
  .journal-page .article-body > :first-child { margin-top: 0; }
  .journal-page .article-shell { gap: 0; }
  body[class] :is(.sn-demo-grid article, .sn-scene-grid article, .sn-assurance-grid article, .sn-plan li, .in-product-facts article, .in-geometry article, .hp-model-card > div, .hp-engineering-grid article, .cs-space-grid article, .cs-scene-grid article) { min-height: 0; }
  body[class] :is(.in-product-facts, .in-geometry) h2 { margin-top: 1.25rem; }
  body[class] :is(.hp-materials, .in-process, .in-checklist) li { grid-template-columns: 36px minmax(0, 1fr); gap: .8rem; }
  body[class] :is(.hp-materials, .in-process, .in-checklist) li p { grid-column: 2; }
  body[class] :is(.hp-spec-list, .hp-system dl, .hp-fit dl) > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  body[class] :is(.hc-opening, .hc-position, .hc-tech, .hc-workflow, .hc-section-head, .hc-next, .hc-related, .hp-opening, .hp-fit, .hp-section-heading, .hp-choice, .hp-next, .in-opening, .in-family-intro, .in-product-story, .in-source, .in-cta, .in-process, .in-checklist, .in-section-heading, .in-next, .cs-opening, .cs-cta, .cs-coordination, .cs-section-heading) { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  body[class] :is(.in-geometry, .in-product-facts, .hp-model-grid, .in-family-grid, .in-product-grid) { grid-template-columns: minmax(0, 1fr); }
  body[class] :is(.hp-model-card, .hp-model-card:last-child, .in-family-card, .in-family-card:last-child:nth-child(odd), .in-product-card:last-child:nth-child(odd)) { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  body .pro-footer { padding-top: var(--site-section); padding-bottom: var(--site-section); gap: 2rem; }
  body .pro-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
  body .pro-footer p { font-size: .9375rem; }
  .project-prompt { display: none; }
}

@media (max-width: 560px) {
  body[class] :is(.pro-actions, .centre-hero-actions, .hc-hero-actions, .hekla-actions) { align-items: stretch; flex-direction: column; gap: .85rem; }
  body[class] :is(.pro-actions, .centre-hero-actions, .hc-hero-actions, .hekla-actions) > a { width: 100%; }
  .home-professional .centre-photo .centre-photo-logo { width: 150px; height: 46px; }
  .journal-page .outdoor-gallery-placement img { height: auto; aspect-ratio: 4 / 3; }
}

/* Compact project path: larger icons, shorter heading and content-sized steps. */
.home-professional .pro-process { padding: clamp(2rem, 3.5vw, 3.5rem) var(--site-gutter); }
.home-professional .pro-process .pro-section-head { grid-template-columns: 1.4fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.home-professional .pro-process .pro-kicker { margin-bottom: .8rem; }
.home-professional .pro-process h2 { font-size: clamp(2.5rem, 4.2vw, 4.5rem); line-height: 1.06; }
.home-professional .pro-process .pro-section-head > p { margin: 0; max-width: 38ch; justify-self: end; font-size: 1rem; line-height: 1.65; }
.home-professional .pro-process ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-professional .pro-process li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  column-gap: 1rem;
  min-height: 0;
  padding: 1.5rem;
}
.home-professional .pro-process li:first-child { padding-left: 0; }
.home-professional .pro-process li:last-child { padding-right: 0; }
.home-professional .pro-process li > b { grid-column: 2; grid-row: 1; align-self: start; font-size: .875rem; font-weight: 600; line-height: 1.4; }
.home-professional .pro-process .pro-process-icon { grid-column: 1; grid-row: 1; width: 72px; height: 72px; margin: 0 0 1rem; }
.home-professional .pro-process h3 { grid-column: 1 / -1; margin: 0 0 .6rem; font-size: clamp(1.9rem, 2.4vw, 2.4rem); line-height: 1.15; }
.home-professional .pro-process li p { grid-column: 1 / -1; margin: 0; max-width: 34ch; font-size: 1rem; line-height: 1.65; }

@media (max-width: 1000px) {
  .home-professional .pro-process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-professional .pro-process li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .home-professional .pro-process li:nth-child(2n + 1) { padding-left: 0; }
  .home-professional .pro-process li:nth-child(n + 3) { border-top: 1px solid var(--pro-line); }
}

@media (max-width: 800px) {
  .home-professional .pro-process .pro-section-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
  .home-professional .pro-process .pro-section-head > p { justify-self: start; max-width: 50ch; }
  .home-professional .pro-process .pro-process-icon { width: 60px; height: 60px; }
}

@media (max-width: 560px) {
  .home-professional .pro-process ol { grid-template-columns: minmax(0, 1fr); }
  .home-professional .pro-process li { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-rows: auto auto; padding: 1.25rem 0; border-right: 0; border-bottom: 0; }
  .home-professional .pro-process li + li { padding-left: 0; border-top: 1px solid var(--pro-line); }
  .home-professional .pro-process li > b { grid-column: 3; grid-row: 1; }
  .home-professional .pro-process .pro-process-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .home-professional .pro-process h3 { grid-column: 2; grid-row: 1; font-size: 1.8rem; }
  .home-professional .pro-process li p { grid-column: 2 / -1; grid-row: 2; max-width: none; }
}

/* Compact experience-center cards keep the visit choices together on screen. */
.home-professional .pro-centres { padding: clamp(2rem, 3vw, 3rem) var(--site-gutter); }
.home-professional .pro-centres .pro-section-head {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.home-professional .pro-centres .pro-kicker { margin-bottom: .75rem; font-size: .75rem; letter-spacing: .12em; }
.home-professional .pro-centres h2 { font-size: clamp(2.5rem, 3.6vw, 3.6rem); line-height: 1.08; }
.home-professional .pro-centres h2 em { display: inline-block; }
.home-professional .pro-centres .pro-section-head > p { margin: 0; color: #bdbdbd; font-size: .9375rem; line-height: 1.6; }
.home-professional .pro-centres .centre-editorial-grid { gap: 1.25rem; background: transparent; }
.home-professional .pro-centres .centre-editorial-grid > article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-bottom: 0;
  background: var(--ahl-color-white);
  color: #171717;
  border: 1px solid #363636;
}
.home-professional .pro-centres .centre-photo { flex-shrink: 0; height: clamp(170px, 14vw, 230px); aspect-ratio: auto; }
.home-professional .pro-centres .centre-photo > img { object-position: center 58%; }
.home-professional .pro-centres article:first-child .centre-photo > img { object-position: center 40%; }
.home-professional .pro-centres .centre-photo > span:not(.centre-photo-logo) { padding: .4rem .65rem; font-size: .6875rem; letter-spacing: .04em; }
.home-professional .pro-centres .centre-photo .centre-photo-logo { top: .8rem; left: .8rem; width: 170px; height: 50px; padding: .55rem .7rem; }
.home-professional .pro-centres .centre-editorial-copy { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.25rem 0; }
.home-professional .pro-centres .centre-editorial-copy p { color: #626262; font-size: .75rem; line-height: 1.5; letter-spacing: .04em; }
.home-professional .pro-centres .centre-editorial-copy h3 { margin: .4rem 0 0; color: #171717; font-size: 2rem; line-height: 1.05; }
.home-professional .pro-centres .centre-editorial-copy h3 span { display: block; margin-top: .3rem; font: 500 .875rem/1.4 var(--ahl-font-body), Arial, sans-serif; letter-spacing: 0; }
.home-professional .pro-centres .centre-editorial-copy > strong { color: var(--ahl-color-accent-readable); font-size: 1.75rem; line-height: 1.1; text-align: right; }
.home-professional .pro-centres .centre-editorial-copy strong small { max-width: 145px; margin-top: .4rem; color: #626262; font-size: .75rem; line-height: 1.4; letter-spacing: .02em; text-transform: none; }
.home-professional .pro-centres .centre-editorial-grid > article > p { max-width: none; margin: .8rem 0 1rem; padding: 0 1.25rem; color: var(--ahl-color-body); font-size: .9375rem; line-height: 1.6; }
.home-professional .pro-centres .inline-links { flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: auto; padding: .5rem 1.25rem; border-top: 1px solid #e3e3e3; }
.home-professional .pro-centres .inline-links a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: .2rem 0; border-bottom: 0; color: #303030; font-size: .8125rem; letter-spacing: .03em; }
.home-professional .pro-centres .inline-links a:first-child { color: var(--ahl-color-accent-readable); }
.home-professional .pro-centres .inline-links a:hover { text-decoration: underline; text-underline-offset: .3em; }
.home-professional .pro-centres a:focus-visible { outline: 2px solid var(--ahl-color-accent-readable); outline-offset: -4px; }

@media (max-width: 800px) {
  .home-professional .pro-centres .pro-section-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .home-professional .pro-centres .pro-section-head > p { max-width: 560px; }
  .home-professional .pro-centres .centre-photo { height: clamp(170px, 30vw, 210px); }
  .home-professional .pro-centres .centre-editorial-copy strong small { max-width: 125px; }
}
@media (max-width: 380px) {
  .home-professional .pro-centres .centre-editorial-copy { gap: .75rem; padding-inline: 1rem; }
  .home-professional .pro-centres .centre-editorial-copy strong small { max-width: 85px; }
  .home-professional .pro-centres .centre-editorial-grid > article > p,
  .home-professional .pro-centres .inline-links { padding-inline: 1rem; }
}

/* A pale architectural plan grounds the consultation copy without adding height. */
.home-professional .demo-copy { position: relative; isolation: isolate; overflow: hidden; background: var(--ahl-color-white); }
.home-professional .demo-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url("assets/coordination-plan-wire.webp") 78% center / cover no-repeat;
  opacity: .7;
}
@media (max-width: 800px) {
  .home-professional .demo-copy::before { background-position: 88% center; opacity: .6; }
}

/* A clearly defined enquiry card with visible controls and inline feedback. */
.home-professional .demo-form {
  align-self: center;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: clamp(1.25rem, 2.3vw, 2.5rem);
  border: 1px solid #d5d5d5;
  border-top: 4px solid var(--site-red);
  background: var(--ahl-color-white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .07);
}
.home-professional .demo-form-heading,
.home-professional .demo-error-summary,
.home-professional .demo-send-guide,
.home-professional .demo-contact-help { grid-column: 1 / -1; }
.home-professional .demo-form-heading { padding-bottom: 1.1rem; border-bottom: 1px solid #e1e1e1; }
.home-professional .demo-form-heading h3 { margin: 0 0 .65rem; font: 500 clamp(1.9rem, 2.6vw, 2.5rem)/1.1 var(--ahl-font-display), serif; }
.home-professional .demo-form-heading p { margin: 0; color: var(--ahl-color-body); font-size: 1rem; line-height: 1.6; }
.home-professional .demo-form .field { gap: .5rem; align-self: start; }
.home-professional .demo-form .field label { color: #242424; font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.demo-form .demo-required { color: var(--ahl-color-accent-readable); }
.demo-form .demo-optional { margin-left: .25rem; color: var(--ahl-color-muted); font-size: .8125rem; font-weight: 400; }
.home-professional .demo-form .field :is(input, select) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: .85rem .9rem;
  border: 1px solid #a8a8a8;
  border-radius: 4px;
  background: #f8f8f8;
  color: #161616;
  font: 400 1rem/1.4 var(--ahl-font-body), Arial, sans-serif;
  color-scheme: light;
  scroll-margin-top: 110px;
}
.home-professional .demo-form .field input::placeholder { color: #686868; }
.home-professional .demo-form .field :is(input, select):focus { border-color: #bd2027; outline: 2px solid #bd2027; outline-offset: 2px; background: var(--ahl-color-white); }
.home-professional .demo-form .field [aria-invalid="true"] { border: 2px solid var(--ahl-color-accent-readable); background: #fff7f7; }
.home-professional .demo-form .demo-field-hint { margin: 0; color: #606060; font-size: .875rem; line-height: 1.55; }
.home-professional .demo-form .demo-field-error { margin: 0; color: #a31d24; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.home-professional .demo-error-summary { border: 1px solid var(--ahl-color-accent-readable); border-left-width: 4px; padding: 1rem; background: #fff7f7; color: #8f1b21; }
.home-professional .demo-error-summary p { margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; }
.home-professional .demo-error-summary ul { margin: 0; padding-left: 1.2rem; }
.home-professional .demo-error-summary a { text-decoration: underline; text-underline-offset: .2em; font-size: .9375rem; }
.home-professional .demo-send-guide { margin: .25rem 0 0; color: var(--ahl-color-body); font-size: .875rem; line-height: 1.6; }
.home-professional .demo-form .demo-submit { margin-top: 0; min-height: 54px; padding: 1rem; line-height: 1.5; }
.home-professional .demo-form .form-note { padding: 1rem; border-left: 3px solid var(--site-red); background: #f4f4f4; color: var(--ahl-color-text); font-size: .9375rem; line-height: 1.6; }
.home-professional .demo-form .form-note:empty { display: none; }
.home-professional .demo-contact-help { margin: 0; color: var(--ahl-color-body); font-size: .875rem; line-height: 1.7; }
.demo-contact-help a { color: #1c1c1c; text-decoration: underline; text-underline-offset: .2em; }
.demo-form [hidden] { display: none; }

@media (max-width: 1100px) and (min-width: 801px), (max-width: 640px) {
  .home-professional .demo-form { grid-template-columns: minmax(0, 1fr); }
}

/* A signature footer: a compact brand statement and useful, legible contact paths. */
.pro-footer.signature-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(2.5rem, 4vw, 4rem) var(--site-gutter) 1rem;
  border-top: 3px solid var(--site-red);
  background: #0b0b0b;
  color: #c2c2c2;
  font-size: 1rem;
  line-height: 1.65;
}
.signature-footer > :is(div, nav) { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.signature-footer h2 { margin: 0 0 1.15rem; font: 600 .875rem/1.5 var(--ahl-font-body), Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--ahl-color-white); }
.signature-footer a { transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.signature-footer a:focus-visible { outline: 2px solid var(--site-red); outline-offset: 5px; }
.signature-footer .footer-brand-panel .brand { display: block; flex-shrink: 0; width: 208px; height: 58px; margin: 0 0 1.15rem; padding: 5px 9px; background: var(--ahl-color-white); }
.signature-footer .footer-brand-panel .logo { width: 100%; height: 100%; object-fit: contain; }
.signature-footer .footer-brand-panel .footer-signature { margin: 0; color: var(--ahl-color-white); font: 500 clamp(2rem, 2.7vw, 2.9rem)/1.04 var(--ahl-font-display), Georgia, serif; letter-spacing: -.025em; }
.signature-footer .footer-signature em { color: var(--ahl-color-accent-on-dark); }
.signature-footer .footer-brand-panel .footer-services { margin: .85rem 0 1rem; color: var(--ahl-color-on-dark); font-size: .875rem; }
.signature-footer .footer-socials { display: flex; flex-wrap: wrap; gap: .65rem; }
.signature-footer .footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-height: 48px; border: 1px solid #454545; border-radius: 50%; background: #151515; color: var(--ahl-color-white); }
.signature-footer .footer-socials a:hover { background: var(--ahl-color-white); border-color: var(--ahl-color-white); color: #ae2026; transform: translateY(-3px); }
.signature-footer svg { flex-shrink: 0; width: 22px; height: 22px; }
.signature-footer address { margin: 0; font-style: normal; line-height: 1.75; }
.signature-footer .footer-hours { margin: 1rem 0 .5rem; color: #999; font-size: .875rem; line-height: 1.65; }
.signature-footer .footer-directions { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--ahl-color-white); font-size: .875rem; }
.signature-footer .footer-directions svg { width: 18px; height: 18px; color: var(--ahl-color-accent-on-dark); }
.signature-footer .footer-explore a { display: flex; align-items: center; min-height: 42px; padding: .35rem 0; font-size: .9375rem; line-height: 1.5; }
.signature-footer .footer-explore a:hover { color: var(--ahl-color-white); text-decoration: underline; text-decoration-color: var(--ahl-color-accent-on-dark); text-underline-offset: .3em; }
.signature-footer .footer-contact { padding-left: 1.5rem; border-left: 1px solid #373737; }
.signature-footer .footer-contact > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.signature-footer .footer-contact .footer-phone { color: var(--ahl-color-white); font: 500 clamp(1.7rem, 2.2vw, 2.15rem)/1.2 var(--ahl-font-display), Georgia, serif; letter-spacing: -.02em; }
.signature-footer .footer-contact .footer-landline { flex-wrap: wrap; gap: 0 .5rem; color: var(--ahl-color-subtle); font-size: .875rem; }
.signature-footer .footer-landline span { color: #929292; }
.signature-footer .footer-contact .footer-enquiry { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin-top: 1.1rem; padding: .8rem 0; border-top: 1px solid #484848; color: var(--ahl-color-white); line-height: 1.5; font-weight: 500; }
.signature-footer .footer-enquiry svg { color: var(--ahl-color-accent-on-dark); width: 20px; height: 20px; }
.signature-footer .footer-enquiry:hover { color: #ff777a; border-color: var(--ahl-color-accent-on-dark); }
.signature-footer .footer-bottom { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; margin-top: 0; padding-top: .85rem; border-top: 1px solid var(--ahl-color-text); }
.signature-footer .footer-bottom p { margin: 0; font-size: .8125rem; color: #999; }
.signature-footer .footer-bottom .footer-method { font-size: .75rem; letter-spacing: .055em; }
.signature-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #bcbcbc; font-size: .8125rem; }

@media (max-width: 1100px) {
  .pro-footer.signature-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signature-footer .footer-contact { padding-left: 0; border-left: 0; }
  .signature-footer .footer-bottom .footer-method { display: none; }
}
@media (max-width: 600px) {
  .pro-footer.signature-footer { gap: 1.75rem 1.25rem; padding-top: 2.25rem; }
  .signature-footer .footer-brand-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ahl-color-text); }
  .signature-footer .footer-brand-panel .brand { grid-column: 1 / -1; width: 184px; height: 52px; margin-bottom: 1rem; }
  .signature-footer .footer-brand-panel .footer-signature { font-size: 2.25rem; }
  .signature-footer .footer-brand-panel .footer-services { grid-column: 1 / -1; grid-row: 3; margin-bottom: 0; }
  .signature-footer .footer-socials { flex-direction: column; gap: .45rem; grid-column: 2; grid-row: 2 / 4; }
  .signature-footer .footer-socials a { width: 44px; min-height: 44px; }
  .signature-footer .footer-visit { grid-column: 1; }
  .signature-footer .footer-explore { grid-column: 2; }
  .signature-footer h2 { font-size: .8125rem; letter-spacing: .05em; margin-bottom: .75rem; }
  .signature-footer address { font-size: .9375rem; }
  .signature-footer .footer-explore a { font-size: .875rem; min-height: 44px; }
  .signature-footer .footer-contact { grid-column: 1 / -1; border-top: 1px solid var(--ahl-color-text); padding-top: 1.5rem; }
  .signature-footer .footer-contact .footer-phone { font-size: 2.1rem; }
  .signature-footer .footer-contact .footer-enquiry { margin-top: .5rem; }
  .signature-footer .footer-bottom { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .signature-footer a { transition: none; }
  .signature-footer .footer-socials a:hover { transform: none; }
  html { scroll-behavior: auto; }
  .site-reveal,
  .project-prompt { opacity: 1; transform: none; transition: none; will-change: auto; }
  .project-prompt { visibility: hidden; }
  .project-prompt.is-open { visibility: visible; }
}
