/* Final, shared motion: one opacity transition per content unit. */
:root { --content-fade-duration: 4s; }
html.page-enter main { animation: none; }
[data-scroll-fade] { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.motion-enabled [data-scroll-fade] { opacity: 0; transition: none; animation: none; }
  html.motion-enabled [data-scroll-fade].fade-active { transition: opacity var(--content-fade-duration) ease; }
  html.motion-enabled [data-scroll-fade].fade-visible { opacity: 1; }
  html.motion-enabled [data-navigation-fade].navigation-entry-fade {
    animation: nohara-navigation-entry-fade var(--content-fade-duration) ease both;
  }
}
@keyframes nohara-navigation-entry-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-scroll-fade] { opacity: 1 !important; transition: none !important; animation: none !important; }
}
header { border-bottom: 0; box-shadow: none; }
header #main-navigation { border-top: 0; }
.final-booking, .footer-meta .footer-instagram { border-top: 0; border-bottom: 0; }
.footer-meta .footer-instagram {
  display: inline-flex; align-items: center; justify-content: center;
  flex-flow: row nowrap; gap: 9px; padding: 4px 0; white-space: nowrap;
  font-size: clamp(12px, 3.5vw, 14px); letter-spacing: .025em;
}
.footer-instagram > svg { flex: 0 0 22px; }
.footer-instagram > span { white-space: nowrap; }
.footer-instagram .instagram-account { display: inline; margin: 0; }
.home-guides { padding-top: 12px; }
.intro-text > :is(h2,p,.eyebrow) { margin-left: 0; padding-left: 0; text-indent: 0; }
.intro-text { padding-left: 0; }
.intro-text > p { text-align: left; }
.interior-foot { border-top: 0; padding-top: 0; }
.location-map .map-actions { margin-top: 18px; row-gap: 15px; }
.location-map .map-actions .text-link { padding-block: 0 5px; margin: 0; }
/* Remove only the rules at the end of the course notice section. */
.courses-page .course { border-bottom: 0; }
.courses-page .course::after { display: none; }
.course-booking-note { border-bottom: 0; }
.reservation-policy { border-top: 0; margin-top: 20px; padding-top: 0; }
.reservation-policy dd, .reservation-policy .policy-note { font-size: 14px; line-height: 2; }
/* Course rows remain recognizable, with a full-row disclosure control. */
details.course-entry { display: block; padding: 0; }
.course-toggle { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 30px; align-items: center; padding: 28px 20px; list-style: none; cursor: pointer; }
.course-toggle::-webkit-details-marker { display: none; }
.course-toggle::marker { content: ''; }
.course-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.course-toggle-label { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; min-height: 28px; font-size: 13px; color: #d2b77c; letter-spacing: .06em; }
.course-toggle-icon { font-size: 21px; line-height: 1; transition: transform 300ms ease; }
.course-entry[open] > .course-toggle .course-toggle-icon { transform: rotate(45deg); }
.course-entry .when-open { display: none; }
.course-entry[open] > .course-toggle .when-open { display: inline; }
.course-entry[open] > .course-toggle .when-closed { display: none; }
.course-detail-panel { padding: 0 20px 28px; }
.course-menu-title { color: #e5d5b4; font-size: 15px; margin-bottom: 18px; }
.course-menu-list { margin: 0 0 18px; padding-left: 1.3em; color: #ddd3c1; font-size: 15px; line-height: 2.1; }
.course-menu-list li { padding-left: .15em; }
.course-menu-note { font-size: 13px; line-height: 2; color: #bdb39f; margin-top: 10px; }
.course-source-link { margin-top: 17px; font-size: 13px; max-width: 100%; }
details.course-entry.is-signature {
  padding: 0; border-radius: 18px;
  background: radial-gradient(ellipse at 80% 15%, #c7a05c20, transparent 70%), #b4975e0b;
  border: 1px solid #c0a16570;
}
.is-signature .course-row-label { color: #e8ce99; }
.is-signature .course-toggle { padding-inline: 22px; }
@media(max-width:680px) {
  .home-guides { padding-top: 0; }
  .intro-text { padding-left: 0; }
  .course-toggle { grid-template-columns: minmax(0,1fr); padding: 24px 2px; gap: 8px; }
  .course-entry-price { text-align: left; margin-top: 3px; }
  .course-toggle-label { margin-top: 5px; }
  .course-detail-panel { padding: 0 2px 24px; }
  .course-menu-list { font-size: 14px; }
  .course-entry.is-signature .course-toggle, .course-entry.is-signature .course-detail-panel { padding-inline: 12px; }
  .course-entry.is-signature { margin-inline: -10px; }
  .reservation-policy dd, .reservation-policy .policy-note { font-size: 13px; }
}

footer { border-top: 0; }
/* Category disclosures must not change an individual course's label. */
details.course-entry:not([open]) > summary .when-open { display: none; }
details.course-entry:not([open]) > summary .when-closed { display: inline; }
details.course-entry[open] > summary .when-open { display: inline; }
details.course-entry[open] > summary .when-closed { display: none; }
.location-map .map-actions .text-link {
  min-height: 44px;
  align-items: flex-end;
  line-height: 1.6;
  padding: 10px 0 3px;
}

/* Keep the mobile navigation out of document flow while it retracts. */
@media (max-width: 680px) {
  .intro-text > p:first-of-type { margin-top: 24px; }
  .intro { min-height: 0; padding-bottom: 40px; }
  header { min-height: 60px; padding: 8px 12px; gap: 0 12px; }
  header #main-navigation, header #main-navigation.open {
    position: absolute; grid-area: auto; top: 100%; left: 0; right: 0; bottom: auto;
    display: flex; flex-flow: row nowrap; align-items: center; justify-content: space-between;
    width: 100%; height: 44px; padding: 0 24px; margin: 0; gap: 0;
    background: #080808; clip-path: none; transform: none;
    opacity: 1; visibility: visible;
    transition: opacity 350ms ease, visibility 0s;
  }
  html.motion-enabled header #main-navigation[data-scroll-fade] {
    opacity: 1;
    transition: opacity 350ms ease, visibility 0s;
  }
  header #main-navigation a { flex: 0 0 auto; padding-inline: 2px; }
  header.mobile-nav-hidden #main-navigation,
  html.motion-enabled header.mobile-nav-hidden #main-navigation[data-scroll-fade] {
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 350ms ease, visibility 0s 350ms;
  }
  header + main { padding-top: 44px; }
}
@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  header #main-navigation,
  html.motion-enabled header #main-navigation[data-scroll-fade] { transition: none; }
}

/* Requested footer link and access page wordmark adjustments only. */
.footer-nav a { color: #fff; }
.access-page .access-brand h2 { color: #fff; font-size: 1.04em; }
