/* Copied from cairns-journal/css/responsive.css on 2026-11-19; rules for Cairns-only sections removed. */
/* Final layer: loaded last, after journey.css, journal-playful.css and
   journal-diary.css, so these breakpoints are the last word at equal specificity.

   Rules that a later component sheet owns were removed rather than forced:
   - hero title + .scene-title mobile sizing lives in journey.css
   - .hotel-strips sizing lives in journal-playful.css
   - .reef-sequence / .reef-frame / .reef-curtain sizing lives in
     components.css and journal-playful.css (the sticky scroll scene)
   Generic .photo-strips heights were dropped here because they also matched
   .reef-curtain and cut the curtain short of its frame. */
@media(min-width:1700px) {
  .hero .title-destination {
    font-size:22rem
  }
  .photo-full {
    max-height:1100px
  }
  .section-large {
    padding-block:10rem
  }
}
@media(max-width:1100px) {
  :root {
    --space-7:6rem;
    --space-6:4.5rem
  }
  .intro-grid {
    gap:3rem
  }
  .chapter-copy {
    gap:3rem
  }
  .kuranda-grid {
    gap:2.5rem
  }
  .route-summary {
    gap:2rem
  }
  .photo-full {
    min-height:550px
  }
  .hero {
    min-height:650px
  }
}
/* The drop-down menu: a stacked panel, not a squeezed row. Phones and small
   tablets share it, so the header bar never has to fit the whole navigation. */
@media(max-width:760px) {
  .menu-toggle {
    display:block;
    min-height:44px
  }
  .site-nav {
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    flex-direction:column;
    align-items:flex-start;
    gap:.85rem;
    background:var(--color-ink);
    padding:1rem var(--gutter);
    border-top:1px solid #ffffff30
  }
  .site-header.menu-open .site-nav {
    display:flex
  }
  .site-nav a {
    padding-block:.35rem
  }
}
@media(max-width:760px) {
  :root {
    --gutter:1.5rem;
    --space-6:3.75rem;
    --space-7:4.5rem
  }
  .site-header {
    padding-block:1rem
  }
  .site-nav {
    gap:1.3rem
  }
  .hero {
    height:calc(var(--journal-svh, 1svh) * 92);
    min-height:630px
  }
  .hero-title>.meta {
    font-size:.7rem
  }
  .hero-side {
    display:none
  }
  .hero-bottom {
    bottom:1.7rem
  }
  .hero-index {
    display:none
  }
  .hero-bottom .info-location {
    max-width:160px
  }
  .hero-bottom .info-location small {
    font-size:.7rem
  }
  .hero-bottom .info-location strong {
    font-size:.65rem
  }
  .scroll-cue {
    font-size:.65rem;
    gap:.6rem
  }
  .intro-grid,
.chapter-copy,
.kuranda-grid,
.route-summary {
    grid-template-columns:1fr;
    gap:2.5rem
  }
  .intro-copy {
    max-width:none
  }
  .intro-grid .title-editorial {
    font-size:clamp(2.5rem,8vw,4rem)
  }
  .trip-meta {
    gap:1rem 1.5rem;
    margin-top:2rem
  }
  .chapter-nav {
    grid-template-columns:1fr 1fr;
    margin-top:2rem
  }
  .chapter-nav a {
    padding-block:1.2rem;
    border-bottom:1px solid var(--color-line)
  }
  .chapter-nav strong {
    font-size:.9rem
  }
  .chapter-head>.meta {
    display:none
  }
  .chapter-head {
    margin-bottom:1.5rem
  }
  .title-day {
    gap:1rem
  }
  .title-day>span {
    padding-right:1rem
  }
  .scene-title {
    bottom:2rem
  }
  .scene-title h3 {
    font-size:3rem
  }
  .photo-full {
    height:calc(var(--journal-svh, 1svh) * 65);
    min-height:440px
  }
  .photo-caption {
    left:1.25rem;
    right:1.25rem;
    bottom:1.25rem
  }
  .chapter-copy {
    padding-top:2rem;
    gap:1.5rem
  }
  .kuranda-grid .photo-card {
    aspect-ratio:4/3
  }
  .photo-split {
    gap:.5rem
  }
  .photo-split>.photo {
    min-height:320px
  }
  .route-summary .route-diagram {
    padding-top:0
  }
  .route-mobile-list {
    display:flex;
    list-style:none;
    padding:0;
    margin:1rem 0;
    gap:.5rem;
    flex-wrap:wrap;
    font-size:.75rem;
    color:var(--color-muted)
  }
  .route-mobile-list li:not(:last-child):after {
    content:' →';
    color:var(--color-accent)
  }
  footer {
    align-items:start;
    flex-direction:column;
    gap:1rem
  }
  .route-summary .route-label {
    font-size:15px;
    letter-spacing:.5px
  }
  .route-summary .route-label-small {
    font-size:12px
  }
}
@media(max-width:440px) {
  .brand {
    font-size:.95rem
  }
  .title-day h2 {
    font-size:1.4rem
  }
  .photo-split>.photo {
    min-height:280px
  }
  .route-inline .route-label {
    font-size:14px;
    letter-spacing:0
  }
  .hero-bottom .info-location .travel-icon {
    display:none
  }
}
@media(max-width:760px) {
  .route-inline .route-label {
    font-size:18px;
    letter-spacing:0
  }
  .route-inline .route-label-small {
    font-size:15px
  }
  .route-summary .route-label {
    font-size:24px;
    letter-spacing:0
  }
  .route-summary .route-label-small {
    font-size:19px
  }
}
@media(max-width:1000px) {
  .journal .chapter-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .journal .chapter-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .journal .hero-title>.meta { letter-spacing:.22em; }
  .journal .hero .hero-title { margin-top:calc(var(--journal-svh, 1svh) * 20); padding-inline:1rem; }
  .journal .hero-subtitle { max-width:20rem; margin-inline:auto; }
  .journal .chapter-details,
.journal .keepsake-pair,
.journal .paronella-details { grid-template-columns:1fr; gap:2rem; }
  .journal .homecoming { gap:2rem; }
  .journal .route-summary .route-label { font-size:16px; }
  .journal .route-summary .route-label-small { font-size:12px; }
  .journal .menu-toggle { min-height:44px; }
}
/* Yakusou: 16 px side gutter on phones (plan rule), and a usable header without JavaScript. */
@media(max-width:760px) {
  :root { --gutter:1rem; }
}
html:not(.js) .menu-toggle,
html:not(.js) .motion-toggle,
html:not(.js) .sound-control { display:none; }
@media(max-width:1000px) {
  html:not(.js) .site-header { flex-wrap:wrap; }
  html:not(.js) .site-nav { display:flex; position:static; flex-direction:row; flex-wrap:wrap; gap:.25rem 1rem; padding:0; background:none; width:100%; }
}
