/* Shared finishing layer: fluid type, consistent insets and touch interactions. */
@layer polish {
  .button, .text-link { max-width: 100%; }
  .button > span[aria-hidden], .text-link > span[aria-hidden], .related-link > span { flex-shrink: 0; }
  .cover-content, .hero-copy, .consultation-details, .enquiry-person > div,
  .enquiry-recipient > div, .enquiry-contact-fields > div { min-width: 0; }
  .consultation-details, .enquiry-person > div { overflow-wrap: break-word; }
  /* Keep the uploaded portrait's hairline and eyes in every card crop. */
  .consultation-portrait, .team-preview-founder img, .expert-card img,
  .enquiry-person > img, .enquiry-recipient > img {
    object-position: 50% 16%;
  }
  /* Preserve the full standing portrait on the founder's profile at every size. */
  .founder-portrait > img { aspect-ratio: 1063 / 1535; object-position: center; }
  .menu-backdrop[hidden], .mobile-nav[hidden] { display: none; }
  .menu-backdrop { position: fixed; inset: var(--nav-offset, var(--header-height)) 0 0; z-index: 28; background: #10251e66; }
  html.menu-is-open { overflow: hidden; }
  html.menu-is-open body { position: fixed; top: var(--menu-scroll-offset); width: 100%; overflow: hidden; }
  html.menu-is-open .header { position: fixed; inset: 0 0 auto; width: 100%; max-width: none; }
  .mobile-nav { max-height: calc(100vh - var(--nav-offset, var(--header-height))); max-height: calc(100dvh - var(--nav-offset, var(--header-height))); overscroll-behavior-y: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .menu-toggle { touch-action: manipulation; }
  .menu-toggle:focus-visible { outline-offset: 2px; }
  .mobile-nav > a, .mobile-solutions > summary { min-height: 52px; }
  .mobile-solutions > summary { align-items: center; overflow-wrap: anywhere; hyphens: auto; }
  .mobile-solutions a { min-height: 48px; display: flex; align-items: center; line-height: 1.5; padding-block: 12px; }
  .mobile-solutions a:last-child { margin-top: 0; color: var(--ink); font-weight: 400; }
  .mobile-nav > a:last-child { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; margin-top: 16px; background: var(--forest); color: #fff; border-radius: 4px; }
  .mobile-nav [aria-current=page] { font-weight: 650; }
  .enquiry-progress button, .enquiry-context button, .enquiry-review-heading button { min-height: 44px; }
  .enquiry-page input:not([type=radio]), .enquiry-page select, .enquiry-page textarea { max-width: 100%; min-width: 0; scroll-margin-block: calc(var(--nav-offset, 84px) + 24px) 24px; }
  .enquiry-context > span, .enquiry-review h3 { min-width: 0; overflow-wrap: break-word; }
  .enquiry-context button, .enquiry-review-heading button { flex-shrink: 0; }
  .enquiry-person a, .enquiry-direct > a, .closing-email { min-height: 44px; display: inline-flex; align-items: center; }

  @media (max-width: 1080px) {
    .header { gap: 20px; }
    .menu-toggle { width: 48px; height: 48px; flex-basis: 48px; margin-right: -10px; }
    .text-link { min-height: 44px; line-height: 1.6; }
    .button { white-space: normal; }
    .footer-columns nav > a, .footer-columns > div > a:not(.wordmark) { display: flex; align-items: center; min-height: 44px; padding-block: 8px; margin-bottom: 0; }
    .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  }

  @media (max-width: 860px) {
    :root { --gutter: max(28px, env(safe-area-inset-left), env(safe-area-inset-right)); }
    .split-content, .preparation-grid, .closing-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .closing-contact { border-left: 0; border-top: 1px solid #496256; padding: 26px 0 0; }
    .closing-contact .button { display: flex; justify-content: space-between; max-width: 380px; }
    .expert-card { max-width: 620px; }
    .section-heading .section-intro { margin-top: 0; }
    .situation-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .situation-card { min-height: 0; }
    .journey-step { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
    .enquiry-layout { gap: 24px; }
    .enquiry-person { margin-top: 0; }
    .enquiry-person > img { width: 76px; height: 94px; }
    .enquiry-person { grid-template-columns: 76px minmax(0, 1fr); }
    .enquiry-person a { margin-top: 0; padding-top: 5px; }
    .enquiry-direct { gap: 0 18px; }
    .enquiry-direct > span { flex-basis: 100%; }
  }

  @media (max-width: 680px) {
    .header-cta { display: none; }
    .header .wordmark { width: 210px; max-width: calc(100% - 60px); }
    .menu-toggle { margin-left: auto; }
    .hero, .cover-panel { width: calc(100% - 24px); min-height: 0; margin-top: 12px; border-radius: 7px; }
    .hero-copy, .cover-content { width: 100%; padding: 34px 24px 30px; }
    .hero-art, .cover-art { width: 100%; height: 100%; inset: 0 -18% 0 auto; opacity: .45; object-fit: cover; object-position: 65% center; }
    .hero::after, .cover-panel::after { background: linear-gradient(100deg, #10251efa 4%, #10251ecf 52%, #10251e66); }
    .hero-caption, .cover-caption, .cover-discover { display: none; }
    .hero h1, .cover-panel h1 { font-size: clamp(2.25rem, 10vw, 3.6rem); line-height: 1.08; margin-top: 24px; letter-spacing: -.035em; }
    .hero .eyebrow, .cover-panel .cover-eyebrow { font-size: .6875rem; letter-spacing: .055em; line-height: 1.65; }
    .hero .eyebrow { align-items: baseline; gap: 9px; }
    .hero .short-rule { width: 18px; }
    .hero-description, .cover-description { max-width: 440px; font-size: 1rem; line-height: 1.75; margin: 22px 0 26px; }
    .hero-scroll { position: relative; right: auto; bottom: auto; justify-content: flex-end; min-height: 44px; padding: 0 24px 22px; gap: 12px; }
    .hero-scroll span { width: 32px; height: 32px; }
    .cover-panel .cover-button { width: 100%; max-width: 380px; justify-content: space-between; padding-inline: 18px; gap: 16px; }
    .consultation-card { width: 100%; max-width: 440px; grid-template-columns: 80px minmax(0, 1fr); gap: 15px; padding: 10px; }
    .consultation-portrait { width: 80px; height: 114px; }
    .consultation-name { font-size: 1.25rem; line-height: 1.35; }
    .consultation-role { font-size: .8125rem; line-height: 1.5; }
    .consultation-experience { font-size: .6875rem; line-height: 1.5; }
    .consultation-prompt { font-size: .9375rem; line-height: 1.5; }
    .consultation-arrow { display: none; }
    .section { padding-block: 56px; }
    .section-heading { gap: 20px; margin-bottom: 28px; }
    .section h2, .split-content h2, .preparation-grid h2, .closing-band h2,
    .about-contact h2, .enquiry-next-steps h2 { font-size: clamp(2rem, 8.2vw, 2.75rem); line-height: 1.16; }
    .section h2, .section h3, .soft-panel h2, .soft-panel h3, .preparation-grid h2 { hyphens: auto; }
    .section-label, .eyebrow.section-label { font-size: .75rem; letter-spacing: .065em; }
    .section-intro, .support-copy { max-width: none; }
    .solution-card { grid-template-areas: 'index title' 'copy copy' 'link link'; gap: 13px 12px; padding-block: 26px; }
    .solution-card h3 { font-size: clamp(1.4rem, 5.6vw, 1.75rem); line-height: 1.35; }
    .solution-card .card-top { margin: 0; padding-top: 5px; }
    .solution-card > p { margin: 0; }
    .solution-card .card-link { margin-top: 0; padding-block: 8px; }
    .finance-tile-copy { padding: 22px; }
    .finance-tile h3 { font-size: 1.5rem; line-height: 1.3; hyphens: auto; }
    .finance-tile-art { aspect-ratio: 16 / 8; }
    .team-preview-founder, .founder-preview .team-preview-founder { padding: 24px; gap: 22px; }
    .founder-preview .team-preview-founder img { width: 120px; height: 144px; }
    .founder-preview .team-preview-founder h3 { font-size: 1.75rem; hyphens: none; }
    .expert-card { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 16px; padding: 22px; }
    .expert-card img { width: 72px; height: 92px; }
    .expert-card h3 { font-size: 1.25rem; hyphens: none; }
    .expert-card .eyebrow { font-size: .6875rem; letter-spacing: .04em; }
    .expert-card .text-link { margin-top: 10px; }
    .journey-step { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 25px; }
    .journey-step h3 { font-size: 1.2rem; }
    .journey-step .journey-result { padding-left: 12px; }
    .related-pages { padding-bottom: 44px; }
    .related-link { padding-block: 16px; min-height: 56px; }
    .faq-list summary { gap: 20px; padding-block: 4px; min-height: 44px; }
    .faq-list summary::after { flex-shrink: 0; }
    .faq-list details p { padding-right: 0; }
    .closing-assurances { flex-direction: column; gap: 10px; }
    .closing-email { margin-top: 10px; }
    .profile-content h2 { font-size: clamp(2rem, 8.5vw, 2.75rem); line-height: 1.2; }
    .profile-lead { font-size: 1.25rem; line-height: 1.65; }
    .founder-portrait figcaption { padding: 20px; gap: 18px; }
    .founder-portrait .experience-number { flex-shrink: 0; font-size: 3rem; }
    .founder-portrait .experience-caption { min-width: 0; font-size: .875rem; line-height: 1.6; }
    .founder-portrait .experience-caption br { display: none; }
    .career-context .eyebrow { line-height: 1.7; }
    .about-contact { gap: 26px; }
  }

  @media (max-width: 600px) {
    :root { --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); --header-height: 72px; }
    .header { min-height: 72px; padding-block: 10px; padding-top: max(10px, env(safe-area-inset-top)); gap: 12px; }
    .header .wordmark { width: clamp(184px, 48vw, 210px); }
    .principles, .cover-facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 20px; border-bottom: 0; }
    .principles p, .principles p:last-child, .cover-facts > p, .cover-facts > p:first-child { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; align-items: center; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); }
    .principles p:last-child, .cover-facts > p:last-child { border-bottom: 0; }
    .principles strong, .principles p:last-child strong, .cover-facts strong { font-size: 1.125rem; font-weight: 550; line-height: 1.4; letter-spacing: -.025em; }
    .principles p > span, .principles p:last-child > span, .cover-facts span { max-width: none; font-size: .875rem; line-height: 1.6; text-align: left; }
    .career-strip { padding-block: 0 28px; gap: 16px; }
    .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 30px; }
    .footer-columns > div, .footer-columns > div:nth-child(3), .footer-columns > div:last-child { grid-column: 1; grid-row: auto; }
    .footer-columns > div:not(:first-child) { padding-top: 24px; border-top: 1px solid #496256; }
    .footer-label { margin-bottom: 10px; }
    .footer-person { margin-bottom: 2px; }
    .footer-bottom { gap: 8px; padding-top: 22px; }
    .footer-bottom > div { gap: 24px; }
    .footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .enquiry-page .enquiry-layout { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); gap: 24px; padding-top: 20px; padding-bottom: 44px; }
    .enquiry-advisor h1 { font-size: clamp(2.1rem, 8.8vw, 2.8rem); line-height: 1.12; }
    .enquiry-person { margin-top: 0; }
    .enquiry-person > div { padding-block: 2px; }
    .enquiry-person p { font-size: .8125rem; }
    .enquiry-person a { font-size: .8125rem; }
    .enquiry-surface { border-radius: 7px; }
    .enquiry-surface-top { flex-wrap: wrap; padding: 14px 20px; gap: 5px 16px; }
    .enquiry-surface-top > span:first-child { max-width: 185px; font-size: .6875rem; }
    .enquiry-form { padding: 22px 20px; }
    .enquiry-question h2, .enquiry-ready h2 { font-size: clamp(1.9rem, 8.2vw, 2.3rem); line-height: 1.15; }
    .enquiry-progress { margin-bottom: 22px; }
    .enquiry-progress ol { gap: 12px; }
    .enquiry-progress button { padding-block: 10px 6px; line-height: 1.5; }
    .enquiry-step-number { display: none; }
    .enquiry-purpose-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .enquiry-choice { padding: 14px; min-height: 80px; align-items: center; }
    .enquiry-choice-copy { gap: 4px; }
    .enquiry-choice-copy strong { font-size: 1rem; overflow-wrap: break-word; hyphens: auto; }
    .enquiry-choice-open { min-height: 74px; }
    .enquiry-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
    .enquiry-actions .enquiry-next, .enquiry-actions-first .enquiry-next { width: 100%; margin: 0; justify-content: space-between; }
    .enquiry-actions-first > p br { display: none; }
    .enquiry-back { justify-self: start; }
    .enquiry-page .enquiry-actions .button, .enquiry-ready .button { padding-inline: 16px; gap: 12px; min-height: 54px; }
    .enquiry-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .enquiry-review { padding: 16px; }
    .enquiry-review dl > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .enquiry-review-heading { gap: 10px; }
    .enquiry-review h3 { max-width: none; }
    .enquiry-context { padding-block: 8px; padding-inline: 12px 6px; gap: 8px; }
    .enquiry-context > span { hyphens: auto; }
    .enquiry-recipient { padding: 14px; gap: 12px; }
    .enquiry-recipient > img { width: 54px; height: 68px; }
    .enquiry-recipient a { overflow-wrap: anywhere; }
    .enquiry-surface-bottom { padding: 14px 20px; }
    .enquiry-next-steps, .enquiry-page .faq-section { padding-block: 44px; }
    .legal-page h1 { font-size: clamp(2rem, 9vw, 3rem); }
  }

  @media (max-width: 380px) {
    .hero-copy, .cover-content { padding-inline: 20px; }
    .consultation-card { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 9px; }
    .consultation-portrait { width: 64px; height: 110px; }
    .consultation-name { font-size: 1.125rem; }
    .consultation-prompt { font-size: .875rem; }
    .expert-card { padding: 20px; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 14px; }
    .expert-card img { width: 64px; height: 84px; }
    .founder-preview .team-preview-founder { padding: 20px; }
    .principles p, .principles p:last-child, .cover-facts > p, .cover-facts > p:first-child { gap: 12px; }
    .principles strong, .principles p:last-child strong, .cover-facts strong { font-size: 1.0625rem; }
    .enquiry-form, .enquiry-surface-top, .enquiry-surface-bottom { padding-inline: 16px; }
    .enquiry-choice { padding: 12px; }
    .enquiry-amount > span { font-size: .875rem; padding-inline: 6px; }
  }

  @media (max-width: 360px) {
    :root { --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  }

  @media (hover: none) {
    .button:hover, .consultation-card:hover, .finance-tile:hover img { transform: none; }
  }
}
