/* ============================================================
   For presse (/for-press/) — the owner's approved mock-up, 2026-11-30, on the site's own components and tokens:
   the hero stage, the destination cards and the buttons of site.css. Only what the press page adds is here, all under
   main.press. Left-aligned, like the rest of the site.
   ============================================================ */
.press {
  --warm-ink:  oklch(0.22 0.03 70);
  --fresh:     oklch(0.80 0.16 152);
  --stage-ink: oklch(0.14 0.02 248);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.press h1, .press h2, .press h3, .press p, .press ul, .press figure { margin: 0; }
.press h1, .press h2, .press h3 { text-wrap: balance; }
.press :focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 4px; }

/* Buttons: the site's .btn family, plus a small one and the "copied" state */
.press .btn { justify-content: center; white-space: nowrap; }
.press .btn svg { flex: none; }
.press .btn-warm { color: var(--warm-ink); }
.press .btn-sm { font-size: 13.5px; padding: 8px 15px; }
.press .is-done, .press .is-done:hover { border-color: var(--fresh); color: var(--fresh); }
.press .btn-warm.is-done, .press .btn-primary.is-done { background: var(--fresh); color: var(--stage-ink); }

/* Stage: the site's cinematic hero, on the index and on every place's page */
.press .stage { position: relative; isolation: isolate; width: 100%; max-width: 100%; aspect-ratio: 16 / 7; min-height: 420px; max-height: 600px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-lg); }
.press .stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.press .stage::after { content: ''; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(to top, oklch(0.14 0.02 248 / 0.95) 0%, oklch(0.14 0.02 248 / 0.3) 48%, oklch(0.14 0.02 248 / 0) 75%),
  linear-gradient(to right, oklch(0.14 0.02 248 / 0.72) 0%, oklch(0.14 0.02 248 / 0) 58%); }
.press .stage-content { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 48px; max-width: 700px; }
.press .stage h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -0.028em; line-height: 1.02; }
.press .stage p { margin-top: 16px; font-size: 17.5px; color: var(--ink-soft); max-width: 48ch; }
.press .stage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.press-hero { padding-top: 24px; }
.press-hero .stage > img { object-position: 50% 22%; }
.press .photo-credit { margin-top: 12px; font-size: 13.5px; color: var(--ink-mute); text-align: right; }
.press .credit { color: var(--ink); font-weight: 600; }

/* The two rules */
.press .rules { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; background: oklch(0.84 0.094 78 / 0.12); border-radius: var(--r-lg); padding: 26px 32px; }
.press .rules h2 { font-size: 18px; letter-spacing: -0.01em; color: var(--warm); }
.press .rules p { margin-top: 6px; font-size: 15.5px; color: var(--ink-soft); max-width: 44ch; }

/* Section heads */
.press-section { padding-top: 72px; }
.press .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.press .sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.press .sec-head .sub { margin-top: 8px; font-size: 15px; color: var(--ink-mute); max-width: 60ch; }
.press-field { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-strong); flex: 0 1 360px; min-width: 0; }
.press-field:focus-within { border-color: var(--warm); }
.press-field svg { width: 18px; height: 18px; color: var(--ink-mute); flex: none; }
.press-field input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 15.5px; }
.press-field input::placeholder { color: var(--ink-mute); }
.press-field input::-webkit-search-cancel-button { display: none; }

/* Place cards: the site's .card */
.press .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.press .card { min-width: 0; }
.press .card:hover { transform: translateY(-5px); }
.press .card-media { aspect-ratio: 16 / 10; max-width: 100%; }
.press .card-media::after { background: linear-gradient(to top, oklch(0.235 0.017 248) 1%, oklch(0.235 0.017 248 / 0) 42%); }
.press .card-body { padding: 14px 20px 18px; }
.press .card-body h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.2; }
.press .card-body .card-meta { margin-top: 5px; font-size: 14px; color: var(--ink-mute); display: block; }
.press .last { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-mute); }
.press .card-body .last { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); line-height: 1.5; -webkit-line-clamp: unset; }
.press .last.fresh { color: var(--ink-soft); }
.press .last.fresh::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--fresh); flex: none; }
.press-empty { padding: 40px 0; color: var(--ink-mute); }

/* Terms and contact */
.press .info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; }
.press .info h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 16px; }
.press .info p { color: var(--ink-soft); margin-bottom: 10px; max-width: 58ch; }
.press .info ul { padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 15.5px; max-width: 58ch; }
.press .info li::marker { color: var(--ink-mute); }
.press-contact { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.press-contact .addr { font-size: 17px; font-weight: 600; user-select: all; }
.press-contact .phone { color: var(--ink-mute); }

/* A place's page */
.press .back { display: inline-flex; align-items: center; gap: 6px; margin: 22px 0 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 6px 12px 6px 6px; border-radius: var(--r-sm); }
.press .back:hover { color: var(--ink); background: oklch(1 0 0 / 0.05); }
.press .back svg { width: 18px; height: 18px; }
.press .panels { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; }
.press .panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 24px; display: grid; gap: 12px; align-content: start; justify-items: start; }
.press .panel h2 { font-size: 18px; letter-spacing: -0.01em; }
.press .panel p { font-size: 14.5px; color: var(--ink-mute); max-width: 54ch; }
.press .link { font: 13px/1.55 var(--mono); color: var(--ink); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.press .link:hover { text-decoration-color: var(--ink); }
.press .code { margin: 0; width: 100%; font: 12.5px/1.55 var(--mono); color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.press .cams { display: grid; gap: 36px; }
.press .cam h3 { font-size: 16px; letter-spacing: -0.005em; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.press .shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px 22px; }
.press .shot { min-width: 0; }
.press .shot-pic { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background-color: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.press .shot-pic img { width: 100%; height: 100%; object-fit: cover; }
.press .shot-pic:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.press .shot-row { margin-top: 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.press .shot-name { min-width: 0; padding-top: 5px; font-size: 15.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.press .shot .last { margin-top: 4px; }
.press .site-foot { margin-top: 56px; }

/* Toast, and the text to copy by hand when the browser stops the copy */
.press-toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); background: var(--ink); color: var(--bg); font-size: 14.5px; font-weight: 600; padding: 12px 20px; border-radius: var(--r-sm); box-shadow: 0 14px 40px -10px oklch(0 0 0 / 0.7); text-align: center; }
.press-manual { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 41; width: min(560px, calc(100% - 32px)); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow-lg); }
.press-manual p { font-size: 14.5px; margin: 0; }
.press-manual textarea { width: 100%; min-height: 110px; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; resize: vertical; }
.press-manual .btn { justify-self: end; font-size: 13.5px; padding: 8px 15px; }
.press-toast[hidden], .press-manual[hidden], .press [hidden] { display: none !important; }

@media (max-width: 980px) {
  .press .rules { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .press .rules .btn { justify-self: start; }
  .press .panels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .press-hero { padding-top: 16px; }
  .press .stage { aspect-ratio: auto; min-height: 440px; }
  .press .stage-site { min-height: 380px; }
  .press .stage-content { padding: 22px; }
  .press .stage p { font-size: 16px; }
  .press .photo-credit { text-align: left; }
  .press .rules { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .press-section { padding-top: 56px; }
  .press-field { flex: 1 1 100%; }
  .press .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .press .info { grid-template-columns: minmax(0, 1fr); }
  .press .shots { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .press .btn, .press .card, .press .card-media img, .press .shot-pic { transition: none; }
  .press .btn:hover, .press .card:hover, .press .card:hover .card-media img, .press .shot-pic:hover { transform: none; }
}
