/* LoversSwitzerland: the inner pages (Inside the Codex, Travel Scripts, Our story, free places, coming soon, legal).
   Shared pieces (font, colours, buttons, cards, top bar, footer, postcards, messages, the offer, snow) are in site.css.
   Same rules as the home page: one font, 2px ink edges, solid shadows, CSS motion that stops off screen. */

/* ---------- the page head: label, title, one paragraph ---------- */
.phead { position: relative; padding: 88px 0 var(--sec); }
.phead-in { display: flex; flex-direction: column; align-items: flex-start; }
.phead h1, .story-hero h1 { margin-top: 26px; max-width: 15em; font-size: 72px; line-height: 1.06; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.lead { margin-top: 28px; max-width: 40em; font-size: 21px; line-height: 1.5; color: var(--text); }
.pill .ico { color: var(--red); width: 18px; height: 18px; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.center { text-align: center; }
.center .sub, .center .lead { margin-left: auto; margin-right: auto; }
.center .btns { justify-content: center; }
@media (max-width: 860px) {
  .phead { padding: 40px 0 var(--sec); }
  .phead h1, .story-hero h1 { margin-top: 18px; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; }
  .lead { margin-top: 18px; font-size: 18px; }
}

/* =================== Inside the Codex =================== */

/* ---------- the book: four leaves that turn. On phones one page shows at a time and the book slides to it. ---------- */
.book-sec { padding-bottom: var(--sec); }
.book-sec .phead { padding-bottom: 56px; }
.book-stage { display: flex; justify-content: center; perspective: 2600px; padding: 0 0 12px; }
.book {
  --pw: min(380px, 42vw);
  --shift: calc(var(--pw) / -2);
  position: relative; flex: none; width: calc(var(--pw) * 2); height: calc(var(--pw) * 1.414);
  transform-style: preserve-3d; transform: translateX(var(--shift)) rotateX(6deg);
  transition: transform .9s var(--ease);
}
.book[data-side="center"] { --shift: 0px; }
.book[data-side="left"] { --shift: calc(var(--pw) / 2); }
.leaf { position: absolute; left: 50%; top: 0; width: var(--pw); height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.645, .045, .355, 1); cursor: pointer; }
.leaf.flipped { transform: rotateY(-180deg); }
.pg { position: absolute; inset: 0; overflow: hidden; background: var(--card); border: var(--edge); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pg.front { border-radius: 3px 12px 12px 3px; box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); }
.pg.back { transform: rotateY(180deg); border-radius: 6px 3px 3px 12px; box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); }
.pg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.pg.front::after { box-shadow: inset 14px 0 18px -14px rgba(23, 19, 14, .4); }
.pg.back::after { box-shadow: inset -14px 0 18px -14px rgba(23, 19, 14, .4); }
.pg-full { width: 100%; height: 100%; object-fit: cover; }
.paper { display: flex; flex-direction: column; padding: 9%; background: var(--paper); font-size: calc(var(--pw) / 30); color: var(--ink); }
.pg-k { font-size: .78em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pg-h { margin-top: .5em; font-size: 2.3em; line-height: 1; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.toc .pg-h { margin-bottom: 1.2em; }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6em; counter-reset: j; }
.toc li { display: flex; align-items: baseline; gap: .6em; font-size: 1.05em; font-weight: 600; counter-increment: j; }
.toc li::before { content: counter(j, decimal-leading-zero); font-size: .8em; font-weight: 700; color: var(--red); }
.toc li::after { content: ""; flex: 1; order: 2; border-bottom: 1.5px dotted rgba(23, 19, 14, .4); }
.toc li span { order: 3; font-size: .85em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-foot { margin-top: auto; font-size: .8em; font-weight: 600; color: var(--muted); }
.place-pic { position: relative; height: 50%; margin: -9.9% -9.9% 0; border-bottom: var(--edge); }
.place-pic img { width: 100%; height: 100%; object-fit: cover; }
.place-pin { position: absolute; left: 8%; bottom: -1.2em; padding: .55em .9em; border: var(--edge); border-radius: 8px; background: var(--red); color: #FFFFFF; font-size: .78em; font-weight: 700; letter-spacing: .1em; }
.place .pg-h { margin-top: 1.5em; }
.pg-p { margin-top: .6em; font-size: 1.05em; line-height: 1.4; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8em 1em; margin-top: auto; padding-top: 1em; border-top: var(--edge); }
.facts b { display: block; font-size: .72em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.facts span { display: block; font-size: .92em; font-weight: 600; line-height: 1.25; }
.times { display: flex; flex-direction: column; gap: .5em; margin-top: 1em; font-size: .95em; font-weight: 600; }
.times b { display: inline-block; min-width: 3.4em; color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-mid { justify-content: center; }
.pg-end { justify-content: center; align-items: center; gap: 1em; padding: 10%; background: var(--red); color: #FFFFFF; text-align: center; font-size: calc(var(--pw) / 30); }
.pg-end .pg-k { color: #FFFFFF; }
.pg-end .pg-h { font-size: 2.6em; }
.pg-end .btn { margin-top: .4em; }
.pg-cover { display: grid; place-items: center; background: var(--navy); }
.pg-cover img { width: 60%; }
.book-ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.book-ctrl .btn:disabled { opacity: .3; cursor: default; transform: none; box-shadow: 0 6px 16px -8px rgba(23, 19, 14, .28); }
.book-ctrl .back .ico { transform: rotate(180deg); }
.book-lbl { min-width: 250px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) {
  .book-stage { overflow: hidden; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; perspective: 1800px; }
  .book { --pw: calc(100vw - var(--gutter) * 2 - 8px); transform: translateX(var(--shift)); }
  .book-ctrl { gap: 12px; margin-top: 28px; }
  .book-lbl { min-width: 0; flex: 1; font-size: 14px; }
}

/* ---------- a Codex page, part by part ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.anat-img { position: relative; justify-self: center; max-width: 470px; overflow: hidden; transform: none; }
.anat-hl { position: absolute; left: 6%; right: 6%; border-radius: 8px; background: rgba(217, 26, 36, .12); outline: 3px solid var(--red); opacity: 0; transform: scale(.98); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.anat-hl.on { opacity: 1; transform: none; }
.anat-list { list-style: none; padding: 0; margin-top: 36px; display: flex; flex-direction: column; gap: 8px; }
.anat-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; padding: 14px 16px; border: 2px solid transparent; border-radius: 8px; background: none; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.anat-item:hover { border-color: rgba(23, 19, 14, .25); }
.anat-item.on { background: var(--card); border-color: var(--line); box-shadow: 0 6px 16px -8px rgba(23, 19, 14, .28); }
.anat-k { width: 44px; height: 44px; display: grid; place-items: center; border: var(--edge); border-radius: 50%; background: var(--card); font-size: 15px; font-weight: 700; transition: background .2s, color .2s; }
.anat-item.on .anat-k { background: var(--red); color: #FFFFFF; }
.anat-item b { display: block; margin-top: 2px; font-size: 19px; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.anat-d { display: block; margin-top: 2px; font-size: 16px; color: var(--text); }

/* ---------- what is close to where you stay: the Master Map on a navy band ---------- */
.near { position: relative; background: var(--navy); color: var(--card); padding: var(--sec) 0; }
.near-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: center; }
.near .pill { color: var(--ink); }
.near .h2 { margin-top: 24px; }
.near-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.near-chips button { padding: 9px 14px; border: 2px solid rgba(255, 253, 247, .35); border-radius: 999px; background: none; color: var(--card); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.near-chips button:hover { border-color: var(--card); }
.near-chips button[aria-pressed="true"] { background: var(--red); border-color: var(--card); }
.near-count { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; }
.near-count b { font-size: 104px; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: .8; font-variant-numeric: tabular-nums; }
.near-count span { max-width: 15em; color: #A9B6C9; font-weight: 600; }
.near-range { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A9B6C9; }
.near-range b { color: var(--card); }
.near-range input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 253, 247, .2); outline-offset: 8px; }
.near-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red); border: 3px solid var(--card); cursor: pointer; }
.near-range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid var(--card); cursor: pointer; }
.near-note { margin-top: 24px; font-size: 15px; color: #A9B6C9; }
.near-map { position: relative; cursor: crosshair; }
.near-map svg { width: 100%; height: auto; overflow: visible; }
.near-hint { position: absolute; right: 0; top: -8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8796AF; }
.near-map .ch-land { fill: #1D3150; stroke: #6F86A8; stroke-opacity: .7; stroke-width: 1.3; }
.near-map .ch-borders { fill: none; stroke: #8AA0BD; stroke-opacity: .2; stroke-width: .8; }
.near-map .ch-lakes { fill: #36557C; }
.near-map .ch-dots circle { fill: #6A7F9E; r: 3.6; transition: fill .3s, r .3s; }
.near-map .ch-dots circle.hit { fill: #FF4B55; r: 5.4; }
.near-ring { fill: rgba(217, 26, 36, .14); stroke: #FF4B55; stroke-width: 2; stroke-dasharray: 6 6; transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; transition: r .35s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
.near-you .p { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.near-you .w { fill: none; stroke: var(--card); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 2s var(--ease) infinite; }
@keyframes ripple { from { transform: scale(.5); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.hot circle { fill: #F2B33D; stroke: var(--navy); stroke-width: 2; }
.hot text { fill: #F2B33D; font: 800 15px var(--font); paint-order: stroke; stroke: var(--navy); stroke-width: 5px; }

@media (max-width: 1180px) {
  .near-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .anatomy { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .anat-item b { font-size: 17px; }
  .anat-d { font-size: 15px; }
  .near-count b { font-size: 80px; }
  .hot text { font-size: 22px; }
}

/* =================== The Travel Scripts =================== */

/* ---------- the departure board: the tiles turn over once, row by row ---------- */
.board { margin-top: 56px; padding: 26px 28px 20px; border-radius: 10px; background: var(--ink); color: var(--card); box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); border: var(--edge); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px solid rgba(255, 253, 247, .14); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #B9AE9D; }
.board-top .live { display: inline-flex; align-items: center; gap: 10px; color: var(--card); font-size: 16px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.board-top .live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF4B55; animation: blink 2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.board-head, .board-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 86px; gap: 16px; align-items: center; }
.board-head { padding: 14px 8px 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8C8170; }
.board-head span:last-child { text-align: right; }
.board-rows { list-style: none; padding: 0; }
.board-row { padding: 10px 8px; border-radius: 10px; text-decoration: none; color: var(--card); transition: background .2s; }
.board-row:hover { background: #2A241C; color: var(--card); }
.flaps { display: flex; gap: 3px; }
.flaps.no { justify-content: flex-end; }
.flap { display: grid; place-items: center; width: 1.25em; height: 1.6em; border-radius: 5px; background: #2A241C; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .6), inset 0 calc(.8em - 1px) 0 rgba(255, 255, 255, .03); animation: flap .5s var(--ease) both; animation-delay: var(--d, 0s); }
.flap.sep { width: .5em; background: none; box-shadow: none; }
.no .flap { background: var(--red); }
@keyframes flap { from { transform: perspective(200px) rotateX(-90deg); opacity: 0; } }
.board-name { font-size: 22px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: type .7s steps(18, end) both; animation-delay: var(--d, 0s); }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.board-row.more .board-name { color: #FF8A90; }
.board-note { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- one script, opened ---------- */
.sd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.sd-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.sd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1s, transform 1s var(--ease); }
.sd-photo .snow { opacity: 0; transition: opacity .8s; }
.sd-photo:not(.snowy) .flake { animation-play-state: paused; }
.sd-photo.snowy img { filter: saturate(.45) brightness(1.08); transform: scale(1.04); }
.sd-photo.snowy .snow { opacity: 1; }
.sd-photo .tag { position: absolute; left: 18px; top: 18px; right: 18px; justify-content: flex-start; width: fit-content; max-width: calc(100% - 36px); background: var(--card); color: var(--ink); border: var(--edge); }
.sd .h2 { margin-top: 0; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sd-chips .chip { background: var(--card); border: var(--edge); color: var(--ink); }
.switch { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 10px 12px 10px 18px; border: var(--edge); border-radius: 999px; background: var(--card); box-shadow: 0 6px 16px -8px rgba(23, 19, 14, .28); font-size: 17px; font-weight: 700; cursor: pointer; }
.switch .ico { color: var(--red); }
.switch .sw { position: relative; width: 52px; height: 30px; border: var(--edge); border-radius: 999px; background: var(--paper); transition: background .3s; }
.switch .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] .sw { background: var(--red); }
.switch[aria-checked="true"] .sw::after { background: #FFFFFF; transform: translateX(22px); }
.tl { list-style: none; position: relative; margin-top: 36px; padding: 0 0 0 32px; display: flex; flex-direction: column; gap: 26px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 3px; background: var(--red); }
.tl li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
.tl li::before { content: ""; position: absolute; left: -32px; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--red); border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--ink); }
.tl time, .tl .t { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl .t .ico { width: 22px; height: 22px; color: var(--red-deep); }
.tl h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.tl p { margin-top: 4px; font-size: 16px; color: var(--text); }
.tl li.planb { display: none; padding: 14px 16px; margin-left: -16px; border: var(--edge); border-radius: 8px; background: var(--red-tint); }
.tl li.planb::before { left: -18px; top: 19px; background: var(--card); border-color: var(--red); box-shadow: none; }
.tl li.planb .t { color: var(--red-deep); }
.tl li.planb h3::after { content: "Plan B"; margin-left: 10px; padding: 3px 8px; border-radius: 6px; background: var(--red); color: #FFFFFF; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.planb-on li.planb { display: grid; animation: drop .45s var(--ease) both; }
.sd-note { margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ticketbox { position: relative; margin-top: 20px; padding: 22px 26px; border: 1px dashed var(--line); border-radius: 10px; background: var(--card); }
.ticketbox::before, .ticketbox::after { content: ""; position: absolute; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--paper); border: 1px dashed var(--line); }
.ticketbox::before { left: -13px; clip-path: inset(0 0 0 50%); }
.ticketbox::after { right: -13px; clip-path: inset(0 50% 0 0); }
.ticketbox b { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ticketbox p { margin-top: 8px; color: var(--text); }
@media (max-width: 1000px) {
  .sd { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sd-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  .board { margin-top: 40px; padding: 18px 14px 12px; }
  .board-head, .board-row { grid-template-columns: 96px minmax(0, 1fr) 60px; gap: 10px; }
  .board-head { padding: 12px 4px 6px; font-size: 11px; }
  .board-row { padding: 8px 4px; }
  .flap { font-size: 15px; border-radius: 4px; }
  .board-name { font-size: 14px; line-height: 1.25; white-space: normal; overflow: visible; }
  .tl li { grid-template-columns: 60px minmax(0, 1fr); }
  .tl time, .tl .t { font-size: 18px; }
  .tl h3 { font-size: 17px; }
}
@media (max-width: 420px) {
  .board-head, .board-row { grid-template-columns: 80px minmax(0, 1fr) 50px; gap: 8px; }
  .flap { font-size: 13px; }
  .board-name { font-size: 12.5px; }
}

/* =================== Our story =================== */

/* ---------- the first scene: the Matterhorn photo in two layers, "Since 2019" rises behind the mountains ---------- */
.story-hero { position: relative; overflow: hidden; padding: 88px 0 var(--sec); }
.story-hero .lead { margin-top: 24px; }
.sh-frame { position: relative; margin-top: 56px; overflow: hidden; aspect-ratio: 2400 / 1294; container-type: inline-size; background: #2C63B5; }
.sh-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-word { position: absolute; left: 0; right: 0; top: 15%; text-align: center; font-size: 16.5cqw; line-height: 1; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase; color: #FFFFFF; white-space: nowrap; animation: sh-rise 1.6s var(--ease) .35s both; }
@keyframes sh-rise { from { transform: translateY(55%); } }
.sh-frame .snow { z-index: 2; }
.sh-frame .flake { box-shadow: none; opacity: .9; }

/* ---------- from posts to a guide ---------- */
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.yr { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.yr b { font-size: 64px; line-height: .95; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; color: var(--red); }
.yr h3 { margin-top: 8px; font-size: 22px; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.yr p { font-size: 16px; color: var(--text); }

/* ---------- say hello on Instagram ---------- */
.ig { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ig a { display: block; overflow: hidden; aspect-ratio: 1; border: var(--edge); border-radius: 8px; box-shadow: 0 6px 16px -8px rgba(23, 19, 14, .28); transition: transform .15s ease, box-shadow .15s ease; }
.ig a:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); }
.ig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- questions: open one at a time or all, no script needed ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.faq-side p { margin-top: 20px; color: var(--text); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq { border: var(--edge); border-radius: 10px; background: var(--card); box-shadow: 0 6px 16px -8px rgba(23, 19, 14, .28); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 19px; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border: var(--edge); border-radius: 50%; background: var(--paper) center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2317130E' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .25s var(--ease), background-color .25s; }
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--red-tint); }
.faq p { padding: 0 22px 22px; color: var(--text); }
.faq a, .faq-side a { text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 860px) {
  .story-hero { padding: 40px 0 var(--sec); }
  .sh-frame { margin-top: 36px; aspect-ratio: 4 / 3; }
  .sh-frame > img { object-position: 42% 50%; }
  .sh-word { top: 21%; font-size: 17cqw; }
  .yr b { font-size: 52px; }
  .faq summary { padding: 18px; font-size: 17px; }
  .faq p { padding: 0 18px 18px; }
}
@media (max-width: 560px) {
  .years { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ig { gap: 10px; }
}

/* =================== 10 places most tourists miss =================== */
.fr-list { display: flex; flex-direction: column; gap: 32px; }
.fr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden; scroll-margin-top: calc(var(--top) + 24px); }
.fr:nth-child(even) .fr-photo { order: 2; border-right: 0; border-left: var(--edge); }
.fr-photo { position: relative; min-height: 360px; border-right: var(--edge); }
.fr-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fr-no { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border: var(--edge); border-radius: 999px; background: var(--red); color: #FFFFFF; font-size: 14px; font-weight: 700; }
.fr-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; padding: 36px; }
.fr-body h2 { font-size: 38px; line-height: 1.05; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.fr-body > p { font-size: 17px; color: var(--text); }
.fr-facts { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 4px 0 6px; padding-top: 14px; border-top: 2px solid rgba(23, 19, 14, .14); }
.fr-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.fr-facts dt { padding-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.fr-facts dd { margin: 0; }
.fr-empty { font-size: 21px; color: var(--text); }
.endcard { position: relative; margin-top: 64px; padding: 56px; border-radius: 10px; border: var(--edge); background: var(--navy); color: var(--card); box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); }
.endcard .h2 { max-width: 14em; }
.endcard p { margin-top: 18px; max-width: 36em; font-size: 19px; color: #DCE3EE; }
.endcard .btns { margin-top: 32px; gap: 24px; }
.endcard .btn { border-color: var(--paper); box-shadow: none; }
.endcard a:not(.btn) { color: var(--card); font-weight: 600; text-underline-offset: 5px; }
@media (max-width: 860px) {
  .fr { grid-template-columns: minmax(0, 1fr); }
  .fr-photo, .fr:nth-child(even) .fr-photo { order: 0; min-height: 260px; border: 0; border-bottom: var(--edge); }
  .fr-body { padding: 24px 20px 28px; }
  .fr-body h2 { font-size: 30px; }
  .fr-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .endcard { margin-top: 48px; padding: 32px 22px; }
}

/* =================== Coming soon =================== */
.soon { min-height: calc(100vh - var(--top)); display: flex; align-items: center; }
.owner-note { margin-top: 32px; max-width: 40em; padding: 18px 22px; border: var(--edge); border-left: 8px solid var(--red); border-radius: 8px; background: var(--card); color: var(--text); }
.owner-note b { color: var(--ink); }
.three-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; margin-top: 48px; }
.link-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.link-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); }
.link-card b { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.link-card b .ico { color: var(--red); }
.link-card span { color: var(--text); font-size: 16px; }
@media (max-width: 860px) {
  .three-links { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 36px; }
}

/* =================== legal pages =================== */
.legal { padding: 88px 0 var(--sec); }
.legal-in { max-width: 760px; }
.legal h1 { margin-top: 24px; font-size: 64px; line-height: 1.05; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.legal-date { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.legal-body { margin-top: 40px; padding: 40px; border: var(--edge); border-radius: 10px; background: var(--card); box-shadow: 0 18px 40px -22px rgba(23, 19, 14, .35); }
.legal-body h2 { margin: 36px 0 10px; font-size: 24px; font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.65; color: var(--text); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-body a { text-underline-offset: 3px; }
.legal-body b, .legal-body strong { color: var(--ink); }
.todo { padding: 1px 6px; border-radius: 5px; background: var(--red-tint); color: var(--red-deep); font-weight: 700; }
.legal-other { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 860px) {
  .legal { padding: 40px 0 var(--sec); }
  .legal h1 { margin-top: 18px; font-size: 40px; }
  .legal-body { margin-top: 28px; padding: 24px 20px; }
  .legal-body h2 { font-size: 21px; }
  .legal-body p, .legal-body li { font-size: 16px; }
}
