/* Section layouts shared by every page: hero, editorial rows, photo bands, lists. */

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 940px); display: grid; align-content: end;
  background: var(--navy-900);
  padding-top: 140px; padding-bottom: var(--s-6);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-photo, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 15% 50%; background-size: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: drift 28s var(--ease) both; transform-origin: 70% 60%; }
}
@keyframes drift { from { transform: scale(1.035); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 0, 52, 0.38) 0%, rgba(2, 0, 52, 0) 22%),
    linear-gradient(90deg, rgba(2, 0, 52, 0.8) 0%, rgba(2, 0, 52, 0.5) 34%, rgba(2, 0, 52, 0.04) 60%, rgba(2, 0, 52, 0) 100%),
    linear-gradient(0deg, rgba(2, 0, 52, 0.6) 0%, rgba(2, 0, 52, 0) 34%);
}
.hero-inner { padding-bottom: var(--s-8); }
.hero-copy { display: grid; gap: var(--s-5); max-width: 44rem; }
.hero .display { color: var(--ivory-100); text-shadow: 0 2px 24px rgba(1, 0, 31, 0.35); }
.hero .lead { color: var(--mist-300); max-width: 32em; }
.hero-facts { margin-top: var(--s-2); }
.hero-note { max-width: 38em; opacity: 0.9; margin-top: var(--s-5); }
@media (max-width: 860px) {
  .hero { min-height: 100svh; padding-top: 45svh; }
  .hero-photo img { object-position: 50% 70%; transform-origin: 50% 40%; }
  .hero .display { font-size: 38px; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(2, 0, 52, 0.45) 0%, rgba(2, 0, 52, 0.05) 16%, rgba(2, 0, 52, 0.1) 31%, rgba(2, 0, 52, 0.86) 44%, rgba(2, 0, 52, 0.97) 100%);
  }
  .hero-inner { padding-bottom: var(--s-6); }
  .hero-copy { gap: var(--s-4); }
}

/* ---------- Facts strip ---------- */
.strip { background: var(--navy-900); border-top: 1px solid var(--navy-700); }
.strip-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-list li { padding: var(--s-7) var(--s-6) var(--s-7) 0; border-left: 1px solid var(--navy-700); display: grid; gap: var(--s-2); align-content: start; }
.strip-list li + li { padding-left: var(--s-6); }
.strip-list li:first-child { border-left: 0; }
.strip-list strong { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ivory-100); }
.strip-list span { font-size: var(--fs-small); color: var(--mist-300); max-width: 28ch; }
@media (max-width: 960px) {
  .strip-list { grid-template-columns: 1fr 1fr; }
  .strip-list li, .strip-list li + li { padding: var(--s-5) var(--s-4) var(--s-5) 0; border-left: 0; border-top: 1px solid var(--navy-700); }
  .strip-list li:nth-child(-n+2) { border-top: 0; }
  .strip-list li:nth-child(even) { padding-left: var(--s-4); border-left: 1px solid var(--navy-700); }
}
@media (max-width: 520px) {
  .strip-list { grid-template-columns: 1fr; }
  .strip-list li, .strip-list li:nth-child(even) { padding: var(--s-5) 0; border-left: 0; border-top: 1px solid var(--navy-700); }
  .strip-list li:first-child { border-top: 0; }
}

/* ---------- Editorial photo + copy ---------- */
.editorial { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-9); align-items: center; }
.editorial-flip { grid-template-columns: 1.1fr 0.9fr; }
.editorial-flip .editorial-photo { order: 2; }
.editorial-photo { margin: 0; position: relative; }
.editorial-photo .photo { border-radius: var(--r-glass); overflow: hidden; aspect-ratio: 4 / 5; }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; background-size: cover; }
.editorial-copy { display: grid; gap: var(--s-5); align-content: center; }
.editorial-copy .btn { justify-self: start; margin-top: var(--s-2); }
.moments { list-style: none; display: grid; border-top: 1px solid var(--stone-200); margin-top: var(--s-2); }
.moments li { padding: var(--s-5) 0; border-bottom: 1px solid var(--stone-200); display: grid; gap: var(--s-2); }
.moments p { color: var(--ink-600); max-width: 48ch; }
.steps-stack { grid-template-columns: 1fr; border-top: 1px solid var(--stone-200); }
.steps-stack li, .steps-stack li + li { grid-template-columns: 64px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-left: 0; border-bottom: 1px solid var(--stone-200); }
.steps-stack li > div { display: grid; gap: var(--s-2); }
.steps-stack .step-num { font-size: 44px; line-height: 1.1; }
.steps-stack p { max-width: 46ch; }
.plain { margin: 0; display: grid; gap: var(--s-5); }
.plain dt { font-family: var(--font-display); font-size: 22px; line-height: 1.3; margin-bottom: var(--s-2); }
.plain dd { margin: 0; color: var(--ink-600); max-width: 52ch; }
@media (max-width: 860px) {
  .editorial, .editorial-flip { grid-template-columns: 1fr; gap: var(--s-7); }
  .editorial-flip .editorial-photo { order: 0; }
  .editorial-photo .photo { aspect-ratio: 4 / 3; }
  .editorial-photo img { object-position: 50% 30%; }
}

/* ---------- Full-bleed photo bands ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); padding: var(--s-10) 0; }
.band-media { position: absolute; inset: 0; z-index: -1; }
.band-photo-wrap, .band-photo, .band-photo img { width: 100%; height: 100%; }
.band-photo-wrap { will-change: transform; }
.band-photo img { object-fit: cover; object-position: 50% 55%; background-size: cover; will-change: transform; }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 0, 52, 0.9) 0%, rgba(2, 0, 52, 0.78) 38%, rgba(2, 0, 52, 0.25) 70%, rgba(2, 0, 52, 0.08) 100%); }
.band-inner { display: grid; gap: var(--s-5); }
.band-inner > * { max-width: 38rem; }
.band .h2 { color: var(--ivory-100); }
.band-fine { max-width: 40em; }
.band-cta { padding: var(--s-10) 0; min-height: 620px; display: grid; align-items: center; }
.band-scrim-cta { background: radial-gradient(50% 60% at 50% 55%, rgba(2, 0, 52, 0.62) 0%, rgba(2, 0, 52, 0) 100%), linear-gradient(0deg, rgba(2, 0, 52, 0.82) 0%, rgba(2, 0, 52, 0.42) 50%, rgba(2, 0, 52, 0.22) 100%); }
.band-inner-cta .lead { color: var(--ivory-100); opacity: 0.9; }
.band-inner-cta { justify-items: center; text-align: center; }
.band-inner-cta > * { max-width: 34rem; }
.band-inner-cta .hero-actions { justify-content: center; }
.band-inner-cta .display { color: var(--ivory-100); }
@media (max-width: 720px) {
  .band { padding: var(--s-9) 0; }
  .band-scrim { background: linear-gradient(0deg, rgba(2, 0, 52, 0.88) 0%, rgba(2, 0, 52, 0.72) 55%, rgba(2, 0, 52, 0.35) 100%); }
}

/* ---------- What advice can cover ---------- */
.section-tint { background: var(--ivory-50); border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }
.cover-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-9); align-items: start; }
.cover-head { display: grid; gap: var(--s-4); position: sticky; top: 120px; }
.cover-photo { margin: var(--s-5) 0 0; }
.cover-photo .photo { border-radius: var(--r-glass); overflow: hidden; aspect-ratio: 1; max-width: 420px; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; background-size: cover; }
.cover-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-7); border-top: 1px solid var(--stone-200); }
.cover-list li { padding: var(--s-6) 0; border-bottom: 1px solid var(--stone-200); display: grid; gap: var(--s-2); align-content: start; }
.cover-list p { color: var(--ink-600); max-width: 34ch; }
@media (max-width: 960px) {
  .cover-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .cover-head { position: static; }
  .cover-photo .photo { aspect-ratio: 16 / 9; max-width: none; }
  .cover-photo img { object-position: 50% 45%; }
}
@media (max-width: 600px) { .cover-list { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); }
.section-head-row > div { display: grid; gap: var(--s-4); max-width: 40rem; }
.insight-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.insight-list a {
  display: grid; gap: var(--s-3); align-content: start; height: 100%;
  padding: var(--s-6); border-radius: var(--r-card); border: 1px solid var(--stone-200); background: var(--ivory-100);
  text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.insight-list a:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.insight-list a:hover .h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.insight-tag { font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); }
.insight-list p { color: var(--ink-600); }
@media (max-width: 860px) { .insight-list { grid-template-columns: 1fr; } .section-head-row { flex-direction: column; align-items: start; } }

/* ---------- Places ---------- */
.places { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-900); }
.place { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; min-height: 440px; padding: var(--s-7) var(--s-7); text-decoration: none; background: var(--navy-900); }
.place-photo { position: absolute; inset: 0; z-index: -1; }
.place-photo img { width: 100%; height: 100%; object-fit: cover; background-size: cover; transition: transform 1200ms var(--ease); }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(2, 0, 52, 0.9) 0%, rgba(2, 0, 52, 0.35) 50%, rgba(2, 0, 52, 0.15) 100%); }
.place-copy { display: grid; gap: var(--s-2); max-width: 24rem; }
.place-copy .h2 { color: var(--ivory-100); }
.place-link { margin-top: var(--s-2); font-size: var(--fs-small); font-weight: 600; color: var(--gold-200); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .place:hover .place-photo img { transform: scale(1.04); } }
.place:focus-visible { outline-offset: -4px; }
@media (max-width: 720px) {
  .places { grid-template-columns: 1fr; }
  .place { min-height: 320px; padding: var(--s-6) var(--gutter); }
}

/* Photo reveal: editorial photos settle from a slight zoom as they come in */
@media (prefers-reduced-motion: no-preference) {
  .editorial-photo.rise img, .cover-photo.rise img { transform: scale(1.06); transition: transform 1400ms var(--ease); }
  .editorial-photo.rise.is-in img, .cover-photo.rise.is-in img { transform: none; }
}

/* ---------- Region tiles ---------- */
.region-tiles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.region-tile {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end;
  aspect-ratio: 16 / 10; padding: var(--s-5); border-radius: var(--r-card); background: var(--navy-900); text-decoration: none;
}
.region-photo { position: absolute; inset: 0; z-index: -2; }
.region-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.region-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(2, 0, 52, 0.88) 0%, rgba(2, 0, 52, 0.35) 45%, rgba(2, 0, 52, 0.08) 100%); transition: opacity 300ms var(--ease); }
.region-copy { display: grid; gap: var(--s-2); }
.region-name { font-family: var(--font-display); font-size: 26px; line-height: 1.15; color: var(--ivory-100); }
.region-cta { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 600; color: var(--gold-200); }
.region-cta svg { width: 18px; height: 18px; transition: transform 240ms var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .region-tile:hover .region-photo img { transform: scale(1.05); }
  .region-tile:hover .region-cta svg { transform: translateX(4px); }
}
.region-tile:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }
@media (max-width: 1100px) { .region-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .region-tiles { grid-template-columns: 1fr; } .region-tile { aspect-ratio: 16 / 9; } .region-name { font-size: 24px; } }
