/* A photographic, spacious desktop layout. Small-screen rules remain independent. */
@media (min-width: 60rem) {
  :root {
    --desktop-gutter: clamp(1.5rem, 4vw, 4.5rem);
    --desktop-width: 90rem;
  }

  html { scroll-padding-top: 7.5rem; }
  body { line-height: 1.95; }

  body > header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 92px;
    padding-block: 17px;
    padding-inline: max(var(--desktop-gutter), calc((100% - var(--desktop-width)) / 2));
    background: rgb(255 255 255 / 97%);
    border-bottom-color: #e5ece7;
  }
  header .brand { letter-spacing: .08em; }
  header .brand small { color: #53685d; letter-spacing: .12em; }
  header .desktop-navigation { flex-wrap: wrap; gap: 0 clamp(.75rem, 1.2vw, 1.4rem); }
  header .desktop-navigation > a { color: #35534a; border-bottom-width: 1px; }
  header .desktop-navigation > a[aria-current="page"] { color: #123f34; }
  header .language-picker a { border-radius: 2px; }
  header .language-picker a[aria-current="page"] { background: #edf3ef; color: #173f35; }
  header .site-menu nav { border-radius: 4px; box-shadow: 0 18px 48px #183c3417; }

  /* An inset landscape and a quieter, consistently aligned caption. */
  .hero.aerial-hero {
    width: 100%;
    aspect-ratio: auto;
    max-width: 100rem;
    padding: 24px var(--desktop-gutter) 0;
    margin-inline: auto;
    overflow: visible;
  }
  .cinematic.aerial-hero .hero-photograph {
    min-height: clamp(32rem, 43vw, 40rem);
    border-radius: 4px;
  }
  .hero-photograph::before { display: none; }
  .hero-photograph::after {
    background: linear-gradient(90deg, #102e38b8 0%, #102e3873 33%, #102e3820 62%, transparent 88%);
  }
  .cinematic.aerial-hero .hero-photo-title {
    max-width: 38rem;
    margin: clamp(2.5rem, 4.5vw, 4.5rem) clamp(2.5rem, 5vw, 5rem);
    align-self: center;
  }
  .hero-photo-title .eyebrow { font-size: .8125rem; letter-spacing: .2em; margin: 0 0 22px; }
  .aerial-hero .hero-photo-title h1 {
    font-size: clamp(3.25rem, 4.8vw, 4.5rem);
    line-height: 1.4;
    letter-spacing: .075em;
    margin: 0;
    text-shadow: 0 2px 24px #102b3430;
  }
  html[lang="en"] .aerial-hero .hero-photo-title h1 {
    font-size: clamp(3.5rem, 5.2vw, 5rem);
    line-height: 1.12;
    letter-spacing: .015em;
  }
  html[lang="th"] .aerial-hero .hero-photo-title h1 {
    font-size: clamp(2.8rem, 4.1vw, 3.8rem);
    line-height: 1.5;
    letter-spacing: 0;
  }
  .hero-photo-title .hero-location {
    max-width: 34em;
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: .025em;
  }
  .hero-photo-title .hero-future {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: .035em;
    color: #f0f5f1;
  }
  .cinematic.aerial-hero .hero-content { padding: 24px 0; }
  .hero-content .hero-actions { justify-content: flex-start; gap: 12px; }
  .hero-content .hero-actions > a { max-width: 260px; min-height: 52px; border-radius: 2px; }
  .hero-actions .hero-primary { background: #164b3f; border-color: #164b3f; }
  .hero-actions .hero-secondary { border-color: #b9c9c1; }
  .cinematic.aerial-hero .hero-bottom { padding: 18px 0; border-color: #e1e8e3; }
  .hero-bottom > span { color: #657c70; letter-spacing: .2em; }
  .slide-controls { gap: 10px; }
  .slide-controls button { min-width: 38px; min-height: 42px; border-radius: 2px; }

  /* Seven existing stories, with one rhythm for photos, copy and links. */
  .home-gateway {
    max-width: var(--desktop-width);
    padding: clamp(72px, 7vw, 108px) var(--desktop-gutter) 80px;
  }
  .gateway-introduction { max-width: 58rem; }
  .gateway-introduction .overline { margin-bottom: 20px; color: #587469; }
  .gateway-introduction h2 { font-size: clamp(2.25rem, 3.4vw, 3.25rem); line-height: 1.6; margin: 0 0 24px; }
  .gateway-introduction h2 > span { display: inline; }
  .gateway-introduction h2 > span + span { margin-left: .25em; }
  .gateway-introduction p { font-size: 1rem; line-height: 2; color: #536b60; }
  .gateway-introduction .intro-lead { font-size: 1.1875rem; color: #315447; }
  .home-gateway .explore-grid { gap: 64px 40px; margin: 64px 0; }
  .explore-card img, .explore-card:nth-child(even) img {
    aspect-ratio: 16 / 10;
    border-radius: 4px;
  }
  .explore-card .explore-copy, .explore-card:nth-child(even) .explore-copy { padding-top: 26px; }
  .explore-card .explore-number { margin-bottom: 12px; color: #617c6f; }
  .explore-card h3, html[lang="ja"] .explore-card h3 { font-size: clamp(1.75rem, 2.25vw, 2.2rem); line-height: 1.5; margin-bottom: 14px; }
  .explore-card .explore-lead { font-size: 1.1875rem; line-height: 1.8; margin-bottom: 12px; }
  .explore-card .explore-description { max-width: 34em; font-size: 1rem; line-height: 1.95; color: #536b60; }
  .explore-card > div > .explore-link { min-width: 132px; margin-top: 18px; border-color: #afc0b5; }
  .explore-card:first-child {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
    padding-bottom: 52px;
    border-bottom-color: #dce6df;
  }
  .explore-card:first-child img { aspect-ratio: 16 / 11; }
  .explore-card:first-child .explore-copy { padding: 8px 0; }
  .explore-card:first-child h3, html[lang="ja"] .explore-card:first-child h3 { font-size: clamp(2rem, 3vw, 2.75rem); }
  .explore-card:nth-child(4) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); background: #173f35; border-radius: 4px; }
  .explore-card:nth-child(4) img { aspect-ratio: 4 / 3; min-height: 390px; height: 100%; border-radius: 0; }
  .explore-card:nth-child(4) .explore-copy { padding: clamp(32px, 4vw, 58px); }
  .explore-card:nth-child(4) .explore-number, .explore-card:nth-child(4) .explore-description { color: #dbe8df; }
  .explore-card:nth-child(4) .explore-link { color: #fff; border-color: #a3bdae; }
  .explore-card:nth-child(4):hover .explore-link { color: #fff; }
  .explore-card:last-child { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6%; padding-top: 48px; }
  .explore-card:last-child img { aspect-ratio: 16 / 10; }
  .explore-card:last-child .explore-copy { padding: 0; }
  .gateway-actions { padding-top: 32px; border-color: #dce6df; }
  .gateway-actions .button { min-width: 180px; border-color: #a9bdb0; }

  /* Shared page proportions, with readable line lengths and restrained borders. */
  .page-heading:not(.stay-page-heading) { max-width: 82rem; padding: 56px var(--desktop-gutter) 24px; }
  .page-heading > span { letter-spacing: .15em; color: #597467; }
  .page-heading h1 { font-size: clamp(2.75rem, 4.3vw, 3.75rem); line-height: 1.4; margin-top: 16px; }
  .section { max-width: 82rem; padding: 72px var(--desktop-gutter); }
  .section h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.6; letter-spacing: .035em; }
  .section p, .section li { line-height: 2; }
  .section p { max-width: 42em; }
  .section .split { gap: clamp(40px, 5vw, 76px); }
  .section img { border-radius: 4px; }
  .button { border-radius: 2px; letter-spacing: .035em; }
  .section .details { max-width: 56rem; }
  .details summary { min-height: 48px; }
  .offgrid-story, .group-inquiry { max-width: none; }
  .owner-layout figure { top: 116px; }

  /* Keep the stay choices compact; all details still open on demand. */
  .page-heading.stay-page-heading {
    width: calc(100% - 2 * var(--desktop-gutter));
    max-width: 72rem;
    min-height: 17rem;
    margin-top: 32px;
    border-radius: 4px;
  }
  .stay-page-heading .stay-hero-copy { padding: 32px 40px; }
  .page-heading.stay-page-heading h1 { font-size: 2.75rem; }
  .stay-page-heading .stay-hero-copy p { margin-top: 10px; font-size: 1rem; }
  #stay.section { max-width: calc(72rem + 2 * var(--desktop-gutter)); padding: 36px var(--desktop-gutter) 64px; }
  #stay > h2 { font-size: 1.75rem; margin-bottom: 10px; }
  #stay > .stay-minimum { margin-bottom: 26px; }
  #stay .stay-plan-list { gap: 16px; }
  #stay .stay-plan { border-color: #d8e3db; border-radius: 4px; }
  #stay .stay-plan > summary, #stay .stay-family-link { grid-template-columns: 112px minmax(0, 1fr) 24px; gap: 26px; padding: 20px 28px; }
  #stay .stay-plan > summary > img, #stay .stay-family-link > img { width: 112px; height: 100px; border-radius: 3px; }
  #stay .stay-plan-label > strong { font-size: 1.25rem; font-weight: 500; }
  #stay .stay-plan-content { padding: 28px; }
  #stay .stay-option-copy { padding: 28px; }
  #stay .stay-booking-action { margin-top: 28px; }
  #stay .stay-booking-action > .button { max-width: 100%; }
  #stay details[id] { scroll-margin-top: 7.5rem; }

  .fund-hero { max-width: 92rem; min-height: 550px; margin: 24px var(--desktop-gutter) 0; border-radius: 4px; overflow: hidden; }
  .fund-hero > img { min-height: 550px; }
  .fund-intro { padding: clamp(36px, 4.5vw, 68px); }
  .fund-intro h1 { font-size: clamp(2.25rem, 3.3vw, 3rem); }
  .rewards { gap: 24px; }
  .reward, .private-plan { border-radius: 4px; border-color: #d7e3da; }
  .reward { padding: 36px; }
  .access-section iframe { border-radius: 4px; }
  .contact-section { border-top: 1px solid #dce6df; }

  footer {
    padding: 48px max(var(--desktop-gutter), calc((100% - var(--desktop-width)) / 2));
    background: #f3f7f4;
    border-top-color: #dce6df;
    gap: 40px;
  }
  footer .brand { font-size: 1.625rem; }
  footer > div { max-width: 32rem; color: #526b5d; }
}

@media (min-width: 60rem) and (max-width: 74.999rem) {
  body > header { padding-inline: 24px; column-gap: 16px; }
  .cinematic.aerial-hero .hero-photo-title { max-width: 34rem; margin: 40px; }
  .home-gateway .explore-grid { gap: 48px 32px; }
  .explore-card:nth-child(4) .explore-copy { padding: 32px; }
}

@media (min-width: 80rem) {
  .hero.aerial-hero { display: grid; grid-template-columns: 1.1fr 1fr; }
  .cinematic.aerial-hero .hero-photograph { grid-column: 1 / -1; }
  .cinematic.aerial-hero .hero-content { grid-column: 1; grid-row: 2; padding-right: 28px; }
  .cinematic.aerial-hero .hero-bottom { grid-column: 2; grid-row: 2; align-items: center; padding: 24px 0 24px 28px; border-top: 0; }
}

@media (min-width: 100rem) {
  .fund-hero { margin-inline: auto; width: calc(100% - 2 * var(--desktop-gutter)); }
}

@media (min-width: 60rem) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  header .desktop-navigation > a { transition: color .2s ease, border-color .2s ease; }
  header .desktop-navigation > a:hover { color: #123f34; border-bottom-color: #5c806c; text-decoration: none; }
  .hero-actions a { transition: background .2s ease, border-color .2s ease; }
  .hero-actions .hero-primary:hover { background: #22644f; border-color: #22644f; transform: none; }
  .hero-actions .hero-secondary:hover { background: #f0f5f1; transform: none; }
  #stay .stay-plan > summary, #stay .stay-family-link { transition: background .2s ease; }
}
