:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #262321;
  --muted: #544a40;
  --line: #d9cdbb;
  --blue: #30527f;
  --display: Georgia, 'Times New Roman', serif;
  --body: Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--body); }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 24px; padding: 12px; background: var(--paper); transform: translateY(-120%); }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.header { border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: bold clamp(22px,3vw,30px) var(--display); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: clamp(12px,3vw,32px); font-size: 14px; }
nav a, .footer a { display: inline-flex; align-items: center; min-height: 44px; }
.hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px,5vw,72px); align-items: center; padding-block: clamp(32px,6vw,76px); }
h1, h2, h3, p, figure { margin: 0; }
h1 { font: 700 clamp(42px,5.6vw,82px)/.98 var(--display); letter-spacing: -.05em; }
h2 { font: 700 clamp(30px,4vw,50px)/1.08 var(--display); letter-spacing: -.035em; }
h3 { font: 700 25px/1.1 var(--display); }
.hero p { max-width: 35ch; margin: 22px 0 26px; color: var(--muted); }
.hero-copy { position: relative; container-type: inline-size; }
#hero-city { display: inline-block; max-width: 100%; border: 0; border-bottom: 1px dashed var(--blue); padding: 0; background: none; color: var(--blue); font: inherit; font-size: min(1em, 15cqi); letter-spacing: inherit; cursor: pointer; white-space: nowrap; }
#hero-city:disabled { cursor: inherit; border-color: transparent; }
#hero-city:not(:disabled):hover { border-bottom-style: solid; }
.rotation { min-height: 44px; border: 0; padding: 0; background: none; color: var(--muted); font: 14px var(--body); text-decoration: underline; text-underline-offset: .24em; cursor: pointer; }
.destinations { position: absolute; z-index: 2; inset-inline: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; border: 1px solid var(--line); padding: 8px; background: var(--paper); box-shadow: 0 8px 20px #26232124; }
.destinations button { min-height: 44px; border: 0; padding: 6px 8px; background: none; color: var(--ink); font: 14px var(--body); text-align: left; cursor: pointer; }
.destinations button:hover, .destinations [aria-pressed="true"] { background: #d7e8e6; }
.hero-notebook { position: relative; }
.hero-print { position: absolute; left: 49.9%; top: 37.45%; width: 15%; height: 26.25%; overflow: hidden; pointer-events: none; transform: skewX(1.4deg); transform-origin: top left; }
.hero-print img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.83); }
.hero-inscription { position: absolute; left: 50.1%; top: 64%; width: 15.1%; height: 5.45%; display: flex; align-items: center; justify-content: space-between; gap: 2%; padding: 1%; container-type: inline-size; transform: skewX(1.4deg); transform-origin: top left; background: #ded7c0; color: #35352c; }
.hero-inscription span { font: 8.3cqi/1 var(--display); white-space: nowrap; }
.hero-inscription img { width: 34%; height: auto; max-height: 100%; }
[hidden] { display: none; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 12px 18px; text-decoration: none; font: 700 14px var(--body); cursor: pointer; }
.button:hover { background: var(--blue); border-color: var(--blue); }
.button:active { background: var(--ink); }
.button:disabled { opacity: .62; cursor: wait; }
picture, picture img, video { display: block; width: 100%; }
picture img { height: auto; background: var(--line); }
.section { border-top: 1px solid var(--line); padding-block: clamp(30px,5vw,64px); }
.section h2 { margin-bottom: 22px; }
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.story-heading h2 { margin-bottom: 5px; }
.story-heading p { color: var(--muted); }
.story-heading img { width: clamp(82px,12vw,120px); height: auto; }
.story-scene { display: block; width: 100%; height: auto; aspect-ratio: 1; background: var(--line); }
figcaption { padding-block: 14px; }
figcaption p, .note { color: var(--muted); margin-top: 6px; }
.note { font-size: 13px; }
.privacy-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,5vw,64px); padding: clamp(22px,5vw,60px); margin-bottom: clamp(30px,5vw,64px); background: #d7e8e6; }
.privacy-card h2, .privacy-card h3 { margin-bottom: 12px; }
.privacy-card .note { margin-top: 16px; }
video { aspect-ratio: 16 / 9; background: var(--ink); }
.join { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.join h2 { margin-bottom: 8px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-row { display: flex; gap: 8px; }
input { min-width: 0; min-height: 48px; flex: 1; padding: 10px 12px; background: white; color: var(--ink); border: 1px solid var(--muted); font: inherit; border-radius: 0; }
[aria-invalid="true"] { border-color: #a33533; }
#form-message { min-height: 1.5em; margin-top: 6px; font-size: 14px; font-weight: 700; }
.footer { border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .story { gap: 14px; }
  .form-row { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header { flex-direction: column; align-items: flex-start; gap: 1px; padding-top: 12px; }
  .hero, .join, .story, .privacy-card { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  picture img { aspect-ratio: 9 / 16; }
  .hero-notebook { width: min(100%, 440px); }
  .hero-print { left: 24.9%; width: 39.7%; }
  .hero-inscription { left: 25.4%; width: 39.75%; padding-inline: 1% 2%; }
  .story figure { max-width: 440px; }
  .footer { flex-wrap: wrap; }
  .footer small { order: 3; width: 100%; padding-bottom: 12px; }
}
