/* Authored homepage navigation only; evidence styles and values stay shared. */
/* Adapted from aa707df index.html#heroModal / common/css/global.css.
   Native dialog supplies inert background, focus containment and Escape. */
.home-guided-open { font: inherit; cursor: pointer; margin-top: .5rem; }
.home-guided-open[hidden] { display: none; }
.home-guided-dialog { box-sizing: border-box; width: min(960px, calc(100% - 2rem)); max-width: none; max-height: 92dvh; padding: 0; border: 1px solid #667d80; border-radius: 14px; background: #f5faf7; color: #17332e; box-shadow: 0 12px 55px #0005; }
.home-guided-dialog::backdrop { background: #081d23bb; }
.home-guided-dialog[open] { display: flex; flex-direction: column; opacity: 1; animation: guided-appear .15s ease-out; }
.home-guided-dialog [hidden] { display: none !important; }
.guided-modal-header { position: static; display: flex; flex-shrink: 0; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid #b9cfc5; background: #154e41; color: #fff; }
.guided-modal-identity { display: grid; flex: 1; gap: .15rem; min-width: 0; }
.guided-modal-identity strong { font-size: .82rem; letter-spacing: .075em; }
.guided-modal-identity span { font-size: .8rem; color: #e1efea; }
.guided-modal-header button { border-color: #d9ebe5; background: #fff; color: #154e41; font-weight: 700; white-space: nowrap; }
.guided-modal-header > button { min-width: max-content; }
.home-guided-dialog button { min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--color-primary); border-radius: 999px; background: var(--color-secondary); color: var(--color-secondary-text); font: inherit; font-weight: 800; cursor: pointer; }
.home-guided-dialog button:hover { background: var(--color-secondary-hover); }
.guided-modal-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem; }
.guided-modal-preference { display: flex; flex-shrink: 0; align-items: center; gap: .6rem; min-height: 52px; padding: .35rem 1rem; border-top: 1px solid #b9cfc5; background: #edf6f2; }
.guided-modal-preference input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: #186754; }
.guided-modal-preference label { font-size: .9rem; font-weight: 700; cursor: pointer; }
.home-guided-dialog h2 { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.guided-modal-hook { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.1rem; align-items: center; }
.guided-modal-hook img { width: 100%; height: 210px; object-fit: contain; background: #142128; border-radius: 10px; }
.guided-modal-hook [data-modal-video] a { display: block; width: 100%; }
.guided-modal-hook img { display: block; }
.guided-modal-hook p { font-size: .9rem; margin: 0 0 .7rem; }
.guided-modal-continuity { color: #154e41; font-weight: 800; }
.guided-modal-hook a:not(.button) { display: inline-block; min-height: 44px; text-underline-offset: .2em; }
.guided-modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.home-guided-dialog .home-journey-grid a { padding: .8rem; min-height: 104px; }
.home-guided-dialog .home-journey-grid strong { font-size: 1rem; }
.home-guided-dialog .home-journey-panel { margin: 0; padding: 0; border: 0; }
.home-guided-dialog :is(button, a, input, iframe):focus-visible { outline: 3px solid #b05d00; outline-offset: 3px; }
.home-guided-dialog :is(#guided-modal-title, #home-journey-title):focus { outline: 0; border: 0; background: transparent; box-shadow: none; }
@keyframes guided-appear { from { transform: translateY(8px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .home-guided-dialog[open] { animation: none; } }
@media (max-width: 600px) {
  .home-guided-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .guided-modal-header { gap: .5rem; padding: .55rem; }
  .guided-modal-identity strong { font-size: .72rem; letter-spacing: .04em; }
  .guided-modal-identity span { font-size: .68rem; line-height: 1.25; }
  .guided-modal-scroll { padding: 1rem; }
  .guided-modal-hook { grid-template-columns: 1fr; gap: .6rem; }
  .guided-modal-hook img { height: 155px; }
  .home-guided-dialog .home-journey-grid a { min-height: 80px; }
}
.page-home .home-front-door { --hero-image: none; }
.page-home .home-front-door h1 { max-width: none; font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.page-home .home-front-door .lead { max-width: 52ch; margin-bottom: 1rem; }
.page-home #story { scroll-margin-top: 5rem; }
.page-home .home-story-invitation { max-width: 58ch; margin: .75rem 0; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 750; color: #e1eae8; }
.government-review { --chrome-section-y: 2rem; }
.government-review .section-header { margin-bottom: 1rem; }
.government-review h2 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.government-review .card { color: var(--ink); text-decoration: none; }
.government-review .card h3 { font-size: 1rem; line-height: 1.4; }
.government-review .card p { margin-bottom: 0; font-size: .95rem; font-weight: 400; }
.government-review .card:hover { border-color: var(--teal); }
.government-review .card:focus-visible { outline: 3px solid #b05d00; outline-offset: 4px; }
.working-standard { --chrome-section-y: 2rem; }
.working-standard h2 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.working-standard .grid + .grid { margin-top: 1rem; }
.working-standard .card { min-width: 0; }
.working-standard .card > :last-child { margin-bottom: 0; }
.working-standard-question { font-weight: 650; }
.working-standard dt { font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.working-standard dd { margin: .25rem 0 1rem; }
.working-standard-synthesis { margin-top: 1.5rem; margin-bottom: 0; }
.home-motorcycle-hook { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: center; }
.home-motorcycle-hook figure { margin: 0; }
.home-motorcycle-hook img { display: block; width: 100%; height: 240px; object-fit: contain; background: #142128; border-radius: 10px; }
.home-motorcycle-hook figcaption { font-size: .8rem; margin-top: .4rem; color: #e1eae8; }
.home-motorcycle-hook h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin: 0 0 .6rem; color: inherit; }
.home-motorcycle-hook p { margin: .6rem 0; }
.home-hook-answer { font-size: 1.1rem; }
.home-hook-answer a { color: #ffdc96; text-decoration: underline; text-underline-offset: .15em; }
.home-hook-answer a:hover, .home-hook-answer a:focus-visible { color: #fff; }
.home-front-door .home-hook-context { max-width: 90ch; font-size: .95rem; margin: 1rem 0 0; color: #e1eae8; }
.home-journeys .section-header { margin-bottom: 1rem; }
.home-journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.home-journey-grid a { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 112px; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; text-decoration: none; }
.home-journey-grid strong { font-size: 1.1rem; line-height: 1.3; }
.home-journey-grid span { display: block; margin-top: .5rem; color: #465b60; font-size: .875rem; font-weight: 400; }
.home-journey-grid a:hover, .home-journey-grid a[aria-expanded="true"] { border-color: #186754; background: #edf6f2; }
.home-journey-grid .home-journey-accommodation { border-left: 4px solid #186754; }
.home-journey-panel { margin-top: 1rem; padding: 1.25rem; border: 2px solid #186754; border-radius: var(--radius); background: #f5faf7; }
.home-journey-panel[hidden] { display: none; }
.home-journey-panel h3 { margin-top: 0; }
.home-journey-panel .button { max-width: 100%; white-space: normal; text-align: center; }
.page-lifelong main .button { max-width: 100%; white-space: normal; text-align: center; }
.page-lifelong main :focus-visible { outline: 3px solid #b05d00; outline-offset: 4px; }
.home-journey-followups { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.home-journey-followups a { margin: 0; }
.home-journey-panel label { display: block; font-weight: 700; }
.home-journey-panel textarea { width: 100%; max-width: 100%; margin: .5rem 0; padding: .75rem; font: inherit; line-height: 1.5; color: var(--ink); background: white; border: 1px solid #667d80; border-radius: 6px; }
.home-journey-panel summary, .home-prospective-details > summary { padding: .75rem 0; min-height: 44px; cursor: pointer; font-weight: 700; }
.home-journey-close { min-height: 44px; margin-top: .5rem; padding: .5rem .75rem; color: #154e41; background: white; border: 1px solid #667d80; border-radius: 6px; font: inherit; cursor: pointer; }
.home-journey-note { font-size: .875rem; color: #465b60; margin-bottom: 0; }
.home-journey-feedback { font-size: .875rem; }
.home-front-door a:focus-visible, .home-journeys :focus-visible, .home-prospective-details :focus-visible { outline: 3px solid #b05d00; outline-offset: 4px; }
.home-front-door a:focus-visible { outline-color: #ffdc96; }
.home-observatory .button-row { align-items: center; }
.page-home #requested-change .button { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 900px) {
  /* A tall sticky menu must not cover the question receiving keyboard focus. */
  .page-home .site-header { position: static; }
  .home-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .page-home .nav-wrap { gap: .5rem; }
  .page-home .site-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
  .page-home .site-nav a, .page-home .site-nav summary { min-height: 44px; padding: .5rem .25rem; font-size: .8rem; }
  .page-home .nav-dropdown { grid-column: auto; top: 0; }
  .page-home .nav-dropdown[open] { grid-column: 1 / -1; }
  .page-home .home-front-door .hero-inner { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .home-motorcycle-hook { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .home-motorcycle-hook img { height: 200px; }
  .home-journey-grid { grid-template-columns: minmax(0, 1fr); }
  .home-journey-grid a { min-height: 88px; }
}
