/* Destination identity, shared by the masthead and the directory. */
:root {
  --visit-display: Literata, Georgia, serif;
  --book: var(--visit-display);
  --brand-green: #18443d;
  --brand-paper: #fcfbf7;
  --brand-ink: #1c211d;
  --brand-honey: #ffd16a;
}
.cover .wordmark, .end .end-mark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: inherit;
  font: 700 clamp(23px, 2.3vw, 34px)/1.1 var(--ui);
  letter-spacing: -.056em;
  white-space: nowrap;
}
.cover .wordmark i, .end .end-mark i {
  display: inline;
  margin-left: .16em;
  font: italic 400 1em/1.1 var(--visit-display);
  letter-spacing: -.058em;
}
.brand-emblem {
  width: 1.16em;
  height: 1.16em;
  flex: none;
  margin-right: .32em;
  color: var(--brand-honey);
}
.cover .wordmark { min-height: 44px; }
.cover .mast {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .36);
}
.cover .mast-catalog { text-underline-offset: .25em; }
.cover .menu summary, .cover #language { min-height: 44px; }
.cover .mast :focus-visible, .cover .frame-foot :focus-visible {
  outline: 3px solid var(--brand-honey);
  outline-offset: 3px;
}
.cover .cover-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}
.cover h1 > span { font-weight: 500; letter-spacing: -.036em; }
.cover h1 i {
  font: 500 clamp(72px, 8.3vw, 138px)/1.13 var(--visit-display);
  letter-spacing: -.055em;
}
.cover .finder label { font-weight: 700; font-size: 12px; }
.cover .finder :is(input, select) { font: 500 1rem/1.4 var(--ui); }
.cover .shortcuts button { background-color: #173c35eb; }
.cover .frame-foot > a:last-child {
  font-size: .75rem;
  line-height: 1.5;
}
:is(#provinces, #guides, #journeys, #first-days, #travel-tools) h2,
#results-heading, #isle-results strong {
  font-family: var(--visit-display);
  letter-spacing: -.04em;
}
@media (min-width: 681px) {
  .cover .cover-center { margin-top: 46px; }
  .cover .mast-tools .menu summary { padding-inline: 18px; }
}
@media (max-width: 680px) {
  .cover .mast { padding-bottom: 8px; }
  .cover .wordmark, .cover .wordmark i { font-size: clamp(22px, 5.8vw, 30px); }
  .cover .menu summary, .cover #language { min-width: 44px; }
  .cover h1 i { font-size: clamp(48px, 13.4vw, 86px); }
  .cover .frame-foot > a:last-child { font-size: .69rem; }
}
@media (max-width: 540px) {
  /* The same directory is present in the menu and the persistent guide navigation. */
  .cover .mast-catalog { display: none; }
  .cover .mast-tools { margin-left: auto; gap: 6px; }
}

.cover .shortcuts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #ffffff80;
  border-radius: 24px;
  background: #173c35eb;
  color: white;
  text-decoration: none;
  font: 600 13px/1.25 var(--ui);
}
.cover .shortcuts a:is(:hover, :focus-visible) {
  background: #fcf4dc;
  color: #17362f;
}
.cover .shortcuts a:focus-visible { outline: 3px solid var(--brand-honey); outline-offset: 2px; }
.end .end-mark { align-self: start; text-decoration: none; min-height: 44px; }
@media (max-width: 680px) {
  .cover .shortcuts a { gap: 5px; padding-inline: 10px; font-size: 12px; }
}

:root:not([data-theme=dark]) { --accent: var(--brand-green); }
.cover .finder .go { background: var(--brand-green); color: var(--brand-paper); }
.cover .shortcuts a[href="#provinces"], .trip-toggle,
#island-atlas .ia-actions .ia-directions {
  background: var(--brand-honey); border-color: transparent; color: var(--brand-ink);
}
.cover .shortcuts a[href="#provinces"]:hover, .featured-trip:hover .trip-toggle,
#island-atlas .ia-actions .ia-directions:hover { background: #ffe09a; }
.end { background: var(--brand-green); }
#catalog .catalog-sign>a:first-child { display: inline-flex; align-items: center; min-height: 44px; }
.catalog-sign .brand-emblem { color: var(--brand-green); --emblem-line: var(--brand-paper); }
:root[data-theme=dark] .catalog-sign .brand-emblem { color: var(--brand-honey); --emblem-line: var(--brand-green); }
#journeys .journey>summary, #ia-detail h3 { font-family: var(--visit-display); font-weight: 500; }
#island-atlas .ia-actions .ia-directions { min-height: 44px; display: inline-flex; align-items: center; }
#trip-efate-family { border-top: 0; }
#journeys .featured-trip {
  display: grid; grid-template-columns: .94fr 1.06fr; align-items: stretch; gap: 0; padding: 0;
  background: var(--brand-green); color: var(--brand-paper);
}
#journeys .featured-trip::after { content: none; }
.featured-trip-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  padding: clamp(20px,4vw,60px); min-width:0; }
.featured-trip-copy small, .featured-trip-photo small { font: 600 .86rem/1.4 var(--ui); letter-spacing: normal; }
.featured-trip-copy strong { font: 500 clamp(34px,4.6vw,70px)/1.08 var(--visit-display);
  letter-spacing: -.035em; max-width: 12ch; margin: .24em 0 .45em; text-wrap: balance; }
.trip-toggle { display:inline-flex; align-items:center; gap:.8em; min-height:44px; padding:8px 17px; border-radius:6px; font:600 .95rem/1.35 var(--ui); letter-spacing:normal; }
.trip-close-label, [open]>.featured-trip .trip-open-label { display:none; }
[open]>.featured-trip .trip-close-label { display:inline; }
[open]>.featured-trip .trip-toggle [aria-hidden] { transform:rotate(180deg); }
.featured-trip-photo { position:relative; min-height:clamp(255px,25vw,365px); }
.featured-trip-photo img { position:absolute; width:100%; height:100%; object-fit:cover; }
.featured-trip-photo small { position:absolute; right:.6rem; bottom:.6rem; padding:4px 8px;
  font-size:.72rem; background:var(--brand-green); color:var(--brand-paper); }
#journeys .featured-trip:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
#trip-efate-family[open] .journey-services { margin-top:1.2rem; }
@media (max-width: 640px) {
  #journeys .featured-trip {grid-template-columns:1fr;}
  .featured-trip-photo {grid-row:1; min-height:0; aspect-ratio:2.2;}
  .featured-trip-copy {padding:20px;}
  .featured-trip-copy strong {max-width:none;}
}

/* The shared masthead keeps directory tools available outside the photograph. */
:root { --vn-sticky: 68px; }
.site-head {
  position:sticky; top:0; z-index:12; height:var(--vn-sticky); padding-inline:var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:clamp(10px,2vw,34px);
  background:var(--paper); color:var(--ink); border-bottom:1px solid var(--line);
}
.site-head .wordmark {
  position:static; transform:none; display:inline-flex; align-items:center; min-height:44px;
  color:inherit; font:700 clamp(21px,2vw,32px)/1 Manrope,sans-serif;
  letter-spacing:-.065em; white-space:nowrap; text-decoration:none;
}
.site-head .wordmark i {display:inline; margin-left:.16em; font:italic 400 1em/1 var(--visit-display);}
.site-head .brand-emblem {color:var(--brand-green); --emblem-line:var(--brand-paper);}
:root[data-theme=dark] .site-head .brand-emblem {color:var(--brand-honey); --emblem-line:var(--brand-green);}
.site-head .vn-bar {position:static; background:transparent; border:0; color:inherit;}
.site-head .vn-bar-inner {padding:0; gap:clamp(4px,1.4vw,20px);}
.site-head .vn-bar a {min-height:var(--vn-sticky); font-size:.94rem; padding-inline:4px;}
.site-head .vn-glyph {display:none;}
.site-head .mast-tools {margin:0; display:flex; align-items:center; gap:6px;}
.site-head .head-search, .site-head #language, .site-head .menu summary {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  color:inherit; background:transparent; border:0; font:600 .86rem/1.1 var(--ui);
  cursor:pointer; padding:0 9px; gap:6px;
}
.site-head #language {color-scheme:inherit; background:var(--paper);}
.site-head .menu nav {width:max-content; max-width:calc(100vw - 28px); max-height:calc(100svh - var(--vn-sticky) - 16px); overflow:auto;}
.site-head :focus-visible,.search-head button:focus-visible,.cover-actions :focus-visible {
  outline:3px solid #368e84;outline-offset:2px;
}
#site-search {
  position:fixed; inset:calc(var(--vn-sticky) + 4px) var(--gutter) auto auto; margin:0;
  width:min(660px,calc(100% - 2 * var(--gutter))); max-height:calc(100svh - var(--vn-sticky) - 18px);
  overflow:auto; border:1px solid var(--line); border-radius:10px; padding:clamp(16px,2.5vw,32px);
  background:var(--paper);color:var(--ink);box-shadow:0 18px 48px #142e2840;
}
#site-search::backdrop {background:#142e281e;}
.search-head {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.search-head h2 {margin:0;font:500 clamp(24px,2.5vw,34px)/1.15 var(--visit-display);}
.search-head button {width:44px;height:44px;border:0;background:none;color:inherit;font-size:26px;cursor:pointer;}
#site-search .finder {margin:14px 0 4px;box-shadow:none;border:1px solid #c6cec8;}
#site-search .go {background:var(--brand-green);color:var(--brand-paper);}
.search-links {display:flex;flex-wrap:wrap;column-gap:24px;}
.search-links a {display:inline-flex;align-items:center;gap:6px;color:var(--accent);min-height:44px;font:600 .88rem var(--ui);text-underline-offset:3px;}

.cover.destination-cover {
  height:clamp(465px,69svh,750px); min-height:0; margin:0; padding:0;
  display:flex; align-items:flex-end; justify-content:flex-start; color:#fff;
}
.cover.destination-cover::after {
  background:linear-gradient(0deg,#0c242bd1 0%,#0b26266b 30%,transparent 69%),linear-gradient(90deg,#0b22283d,transparent 70%);
}
.cover.destination-cover .land {object-position:50% 59%;}
.cover.destination-cover .cover-center {
  width:min(930px,calc(100% - 2 * var(--gutter))); margin:0 var(--gutter) clamp(55px,6vw,84px);
  padding:0; text-align:left;
}
.cover.destination-cover h1 {margin:0;}
.cover.destination-cover h1>span {font:600 clamp(21px,2.35vw,38px)/1.18 var(--ui);letter-spacing:-.035em;}
.cover.destination-cover h1 i {display:block;margin:2px 0 20px;font:500 clamp(80px,10.7vw,171px)/1.02 var(--visit-display);color:var(--brand-honey);letter-spacing:-.065em;}
.cover-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;}
.cover-actions>a,.cover.destination-cover #open-film {display:inline-flex;align-items:center;gap:8px;min-height:44px;border:0;border-radius:6px;padding:0 18px;font:650 .95rem var(--ui);text-decoration:none;cursor:pointer;}
.cover-actions>a {background:var(--brand-honey);color:var(--brand-ink);}
.cover-actions>a:hover {background:#ffe1a2;}
.cover.destination-cover #open-film {background:#142f29a6;color:white;border:1px solid #fff6;}
.cover.destination-cover .frame-foot {bottom:12px;inset-inline:auto var(--gutter);width:auto;}
.cover.destination-cover .frame-foot>a:last-child {margin:0;font-size:.72rem;text-shadow:0 1px 4px #14332c;}

#provinces #isle-results .isle-feature {
  position:relative;isolation:isolate; display:grid; border:0; overflow:hidden;
  background:var(--brand-green); border-radius:8px; min-height:clamp(205px,21vw,340px); margin-bottom:14px;
}
#isle-results .isle-feature .isle-guide {display:flex;align-self:stretch;align-items:end;gap:0;padding:18px 16px 58px;color:white;}
.isle-feature .isle-landscape {position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover;}
.isle-feature .isle-guide::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#092620ed 0%,#082b259c 28%,transparent 80%);}
#isle-results .isle-feature .isle-name strong {font:500 clamp(24px,2.6vw,42px)/1.08 var(--visit-display);letter-spacing:-.04em;}
#isle-results .isle-feature .isle-name small {color:#fff;line-height:1.35;}
#isle-results .isle-feature .isle-guide svg {position:absolute;right:12px;top:12px;width:38px;height:38px;padding:4px;border-radius:50%;background:#fffcf2ed;color:var(--brand-green);}
#isle-results .isle-feature .isle-map {position:absolute;bottom:6px;left:16px;color:white;}
#isle-results .isle-feature :focus-visible {outline:3px solid var(--brand-honey);outline-offset:-3px;}
@media(min-width:681px){#provinces #isle-results{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(10px,1.7vw,28px);}}
@media(max-width:1050px){
  .site-head .head-search span {display:none;}
  .site-head .head-search {width:44px;}
}
@media(max-width:850px){
  .site-head .vn-bar {display:none;}
  :root {--vn-sticky:60px;}
  .site-head .mast-tools .menu summary {font-size:0;width:44px;padding:0;}
  .site-head .menu summary span {font-size:18px;}
  .site-head .mast-tools {gap:0;}
}
@media(max-width:680px){
  .site-head {padding-inline:14px;}
  .site-head #language {width:47px;padding:0;}
  .site-head .wordmark {font-size:clamp(19px,5.4vw,27px);}
  .cover.destination-cover {height:clamp(440px,64svh,660px);}
  .cover.destination-cover .land {object-position:58% 56%;}
  .cover.destination-cover .cover-center {margin-bottom:55px;}
  .cover.destination-cover h1 i {font-size:clamp(62px,14vw,96px);margin:5px 0 17px;}
  .cover.destination-cover .frame-foot {inset-inline:var(--gutter);justify-content:flex-start;}
  .cover-actions {gap:6px;}
  .cover-actions>a,.cover.destination-cover #open-film {padding-inline:11px;font-size:.82rem;}
  #site-search .finder-choice {display:none;}
  #site-search {width:calc(100% - 20px);right:10px;}
  #provinces #isle-results {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;}
  #provinces #isle-results li:not(.isle-feature),#provinces #isle-results .isle-feature:first-child {grid-column:1/-1;}
  #provinces #isle-results .isle-feature {min-height:190px;margin-bottom:10px;}
  #provinces #isle-results .isle-feature:first-child {min-height:220px;}
  #isle-results .isle-feature .isle-guide {padding:12px 10px 52px;}
  #isle-results .isle-feature .isle-map {left:10px;bottom:4px;}
  #isle-results .isle-feature .isle-name strong {font-size:22px;}
}

#provinces {padding-top:clamp(32px,4.6vw,74px);}
#provinces>header {align-items:center;margin-bottom:8px;}
#isle-directory {display:grid;grid-template-columns:1fr auto;align-items:baseline;column-gap:12px;}
#isle-filter-panel {grid-column:1;min-width:0;}
#isle-filter-panel summary {display:list-item;cursor:pointer;width:fit-content;padding:.6rem 0;min-height:44px;font:600 .9rem/1.65 var(--ui);color:var(--accent);}
#isle-filter-panel .isle-filters {padding:.25rem 0 1rem;}
#isle-count {grid-row:1;grid-column:2;margin:0;font-size:.8rem;}
#isle-results,#isle-more {grid-column:1/-1;}
#isle-more {justify-self:start;}
@media(max-width:680px){
  #provinces>header {flex-direction:row;flex-wrap:wrap;gap:8px 14px;justify-content:space-between;}
  #provinces #province-title {font-size:clamp(27px,7vw,38px);}
  #provinces #isle-modes {flex:0 0 auto;}
  #provinces #isle-modes button {padding-inline:8px;font-size:.78rem;}
  #isle-filter-panel[open] {grid-column:1/-1;}
  #isle-filter-panel[open]+#isle-count {grid-row:auto;grid-column:1/-1;margin-bottom:6px;}
}
