/* Photo-led fieldnotes: blue hour, warm paper and a deliberate editorial grid. */
:root { --photo-white: #fffdf8; --photo-dark: #101f1c; --journal-accent: #a45b32; }
.masthead__inner { align-items: center; }
.wordmark { line-height: 1.2; }
.masthead__note { max-width: 260px; line-height: 1.5; }
.masthead__nav { display: flex; gap: 16px; }
.member-trigger { font: inherit; font-size: 13px; background: var(--clear); color: var(--paper-card); border: 1px solid var(--clear); border-radius: 24px; padding: 9px 16px; cursor: pointer; }
.home-hero { position: relative; isolation: isolate; background: var(--photo-dark); padding: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -2; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 24 21 / 89%), rgb(9 24 21 / 52%) 46%, rgb(9 24 21 / 8%)); z-index: -1; }
.home-hero__grid { min-height: 640px; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: center; gap: 72px; padding-block: 72px 90px; }
.home-hero .claim { white-space: pre-line; color: var(--photo-white); font-size: clamp(40px, 5vw, 68px); letter-spacing: -.035em; line-height: 1.15; margin-bottom: 28px; text-wrap: initial; }
.home-hero .kicker { color: var(--photo-white); font-size: 11px; letter-spacing: .18em; }
.home-hero .standfirst { color: var(--photo-white); max-width: 33ch; font-size: 18px; line-height: 1.8; }
.home-hero .plan-primary { background: var(--paper-card); color: var(--photo-dark); border-color: var(--paper-card); margin-top: 28px; }
.home-hero .plan-primary:hover { background: var(--clear-bg); }
.home-hero .plan-caption { color: var(--photo-white); font-size: 13px; }
.home-hero .dest { align-self: end; border: 0; background: var(--paper-card); padding: 26px 28px; box-shadow: 0 18px 40px rgb(0 0 0 / 12%); position: relative; }
.home-hero .dest::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 56px; background: var(--journal-accent); }
.home-hero .dest__name { font-size: 25px; }
.home-hero .dest__opt { padding-block: 18px; }
.home-hero .dest__meta { font-size: 12.5px; }
.home-hero .dest__pending { font-size: 12px; margin-bottom: 0; }
.photo-credit { position: absolute; bottom: 16px; right: max(24px, calc((100vw - 1132px)/2)); margin: 0; color: var(--photo-white); font-size: 10px; letter-spacing: .06em; background: rgb(0 0 0 / 55%); padding: 5px 9px; }
.travel-index { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--rule-strong); font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.travel-index span:last-child { font-family: var(--text); }
.country-photo { position: relative; height: 230px; overflow: hidden; background: var(--photo-dark); }
.country-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.country-photo p { position: absolute; bottom: 14px; right: 24px; padding: 4px 8px; color: var(--photo-white); background: rgb(0 0 0 / 65%); font-size: 11px; }
.journal { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; padding-block: 80px; align-items: center; }
.journal-photo { margin: 0; position: relative; }
.journal-photo img { display: block; width: 100%; height: 500px; object-fit: cover; }
.journal-photo figcaption { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); margin-top: 12px; }
.journal-copy h2 { font-size: clamp(30px, 3vw, 43px); line-height: 1.25; max-width: 14ch; }
.journal-copy > p:not(.kicker) { font-size: 16px; color: var(--ink-soft); margin-block: 24px; }
.creator-note { display: flex; gap: 20px; padding-top: 24px; border-top: 1px solid var(--rule-strong); }
.creator-monogram { font-family: var(--display); font-size: 44px; font-style: italic; color: var(--journal-accent); line-height: 1; }
.creator-note h3 { font-family: var(--text); font-size: 16px; line-height: 1.5; }
.creator-note p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; margin: 8px 0; }
.journal-links { display: flex; gap: 28px; margin-top: 24px; font-size: 14px; }
.journal-links a { color: var(--ink); }
.audit-note { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--clear); background: var(--clear-bg); font-size: 14px; }
.audit-note p { margin: 6px 0 0; }
.audit-status { font-size: 12px; color: var(--ink-soft); border-top: 1px dashed var(--rule-strong); padding-top: 12px; margin-top: auto; }
.text-button { font: inherit; color: var(--link); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.member-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 40px; border: 1px solid var(--rule-strong); background: var(--paper-card); color: var(--ink); border-radius: 12px; }
.member-dialog::backdrop { background: rgb(15 25 22 / 65%); backdrop-filter: blur(4px); }
.member-dialog h2 { font-size: 30px; margin-bottom: 16px; }
.member-dialog p { font-size: 14px; line-height: 1.8; }
.dialog-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; cursor: pointer; color: var(--ink); }
.member-dialog button:not(.dialog-close):not(.plan-primary) { font: inherit; font-size: 14px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--ink); cursor: pointer; }
.member-dialog input:not([type="checkbox"]) { width: 100%; border: 1px solid var(--rule-strong); background: var(--paper); font: inherit; font-size: 14px; padding: 12px; margin-block: 8px 16px; }
.member-dialog input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--clear); }
.member-dialog label { font-size: 14px; }
.member-consent { display: flex; align-items: start; gap: 8px; margin-block: 24px 18px; }
.member-restore, .member-privacy { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 24px; font-size: 14px; }
.member-restore summary, .member-privacy summary { cursor: pointer; }
#member-login { padding-top: 16px; }
.key-warning { padding: 12px; border-left: 3px solid var(--partial); background: var(--partial-bg); }
.member-plan-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.member-secondary { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#member-status { color: var(--clear); }
.metrics-consent { position: static; width: calc(100% - 48px); margin: 24px auto; max-width: 920px; border: 1px solid var(--rule-strong); background: var(--paper-card); padding: 20px 24px; display: flex; gap: 24px; align-items: center; }
.metrics-consent strong { font-size: 14px; }
.metrics-consent p { font-size: 12px; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.7; }
.metrics-buttons { display: flex; flex-shrink: 0; gap: 8px; flex-wrap: wrap; }
.metrics-buttons button { font: inherit; font-size: 12px; padding: 10px 14px; min-height: 44px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--ink); cursor: pointer; }
.metrics-buttons button:first-child { background: var(--clear); color: var(--paper-card); }
@media(max-width: 900px) {
  .home-hero__grid { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .masthead__note { display: none; }
  .journal { gap: 32px; }
  .metrics-consent { align-items: start; flex-direction: column; gap: 12px; }
}
@media(max-width: 620px) {
  .masthead__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 100px; padding-block: 8px; column-gap: 12px; row-gap: 0; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .masthead__spacer { display: none; }
  .member-trigger { grid-column: 2; grid-row: 1; }
  .masthead__nav:not(.masthead__langs) { grid-column: 1; grid-row: 2; margin: 0; gap: 10px; }
  .masthead__langs { grid-column: 2; grid-row: 2; padding: 0; margin: 0; border: 0; gap: 10px; }
  .masthead__link { font-size: 12px; padding-block: 8px; }
  .home-hero__grid { display: block; min-height: 0; padding-top: 48px; padding-bottom: 64px; }
  .home-hero .claim { font-size: 42px; }
  .home-hero .standfirst { font-size: 16px; max-width: 28ch; }
  .home-hero .dest { margin-top: 40px; padding: 20px 24px; }
  .home-hero::before { background: linear-gradient(180deg, rgb(9 24 21 / 70%), rgb(9 24 21 / 35%) 65%, rgb(9 24 21 / 72%)); }
  .hero-photo { object-position: 63% center; }
  .photo-credit { bottom: 12px; right: 20px; font-size: 9px; }
  .travel-index { font-size: 10px; flex-wrap: wrap; gap: 10px; }
  .travel-index span:last-child { flex-basis: 100%; }
  .journal { display: block; padding-block: 48px; }
  .journal-photo img { height: 340px; }
  .journal-copy { margin-top: 32px; }
  .journal-copy h2 { max-width: 18ch; }
  .country-photo { height: 170px; }
  .member-trigger { padding: 8px 12px; margin-left: auto; }
  .member-dialog { padding: 32px 24px; }
  .member-dialog h2 { font-size: 26px; padding-right: 16px; }
  .metrics-consent { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
}
@media(max-width: 360px) {
  .masthead__inner { min-height: 132px; }
  .masthead__nav:not(.masthead__langs) { grid-column: 1 / -1; }
  .masthead__langs { grid-column: 1 / -1; grid-row: 3; }
}
@media print { .country-photo, .metrics-consent, .member-trigger, dialog { display: none !important; } .home-hero .claim, .home-hero .standfirst, .home-hero .kicker, .home-hero .plan-caption { color: var(--ink); } .hero-photo { opacity: .15; } }
