/* Dark luxury, cinematic: warm black, champagne gold, a serif for the big lines,
   soft neumorphic surfaces for everything you can touch. Few words, big pictures. */
:root {
  --bg: #0a0908;
  --surface: #12110f;
  --ink: #f2ece2;
  --muted: #9c958a;
  --gold: #d4b483;
  --gold-hi: #f1d9ad;
  --gold-lo: #9a7b4f;
  --hl: rgba(255, 240, 215, .045);
  --sh-out: 12px 12px 28px rgba(0, 0, 0, .7), -10px -10px 24px rgba(255, 236, 205, .035);
  --sh-soft: 6px 6px 14px rgba(0, 0, 0, .65), -5px -5px 12px rgba(255, 236, 205, .04);
  --sh-in: inset 5px 5px 12px rgba(0, 0, 0, .7), inset -4px -4px 10px rgba(255, 236, 205, .04);
  --serif: "Dancing Script", "Brush Script MT", cursive;
  --display-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.2, .9, .25, 1.25);
  --ease: cubic-bezier(.16, .84, .2, 1);
  --gut: max(18px, env(safe-area-inset-left, 0px));
  --r: 28px;
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gut: 5vw; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; overscroll-behavior-x: none; }
body { overscroll-behavior-x: none; margin: 0; background: var(--bg); color: var(--ink); font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: 0; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 14px; }
::selection { background: var(--gold); color: #120e08; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- touchables: neumorphic, dock magnification, press ---------- */
.btn, .chip {
  --s: 1; --y: 0px; --p: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 500 14px/1 var(--sans); letter-spacing: .04em; white-space: nowrap;
  background: var(--surface); color: var(--ink); box-shadow: var(--sh-soft);
  transform: translateY(var(--y)) scale(calc(var(--s) * var(--p)));
  transform-origin: 50% 100%;
  transition: transform .32s var(--spring), box-shadow .3s ease, background .3s ease, color .3s ease;
  position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent;
}
.btn.sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn.gold { background: linear-gradient(160deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: #1a130a; box-shadow: var(--sh-soft), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.ghost { background: rgba(18, 17, 15, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(241, 217, 173, .22); }
.btn.round { width: 52px; height: 52px; padding: 0; font-size: 17px; }
.btn:hover, .chip:hover { box-shadow: var(--sh-out); }
.pressed { --p: .9 !important; box-shadow: var(--sh-in) !important; transition-duration: .12s !important; }
/* golden ripple from the click point */
.ripple { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 228, 180, .55), rgba(255, 228, 180, 0) 70%); animation: ripple .7s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(28); opacity: 0; } }
/* text links in a dock get the same magnification */
.dock .dk:not(.btn):not(.chip) { --s: 1; --y: 0px; --p: 1; display: inline-block; transform: translateY(var(--y)) scale(calc(var(--s) * var(--p))); transform-origin: 50% 100%; transition: transform .32s var(--spring), color .3s; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gut) 16px; transition: background .5s, backdrop-filter .5s; }
.nav.solid { background: rgba(10, 9, 8, .7); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
.brand { font: 500 26px/1 var(--serif); letter-spacing: .01em; }
.nav nav { display: none; gap: 34px; }
.nav nav a { font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: rgba(242, 236, 226, .7); }
.nav nav a:hover { color: var(--gold-hi); }
@media (min-width: 900px) { .nav nav { display: flex; } }

/* ---------- hero walk ---------- */
.hero { position: relative; height: 760vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #060505; }
#walk { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vignette { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 85% at 50% 45%, transparent 50%, rgba(5, 4, 3, .78) 100%),
  linear-gradient(180deg, rgba(5, 4, 3, .55), transparent 20%, transparent 62%, rgba(5, 4, 3, .8)); }
.grain { position: absolute; inset: -20%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.walk-load { position: absolute; right: 22px; bottom: 20px; z-index: 2; font: 400 11px/1 var(--sans); letter-spacing: .16em; color: var(--muted); transition: opacity .6s; }
.walk-load.done { opacity: 0; }
.overlay { position: absolute; inset: 0; pointer-events: none; }
.overlay a, .overlay button { pointer-events: auto; }
.js [data-at] { position: absolute; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.js .intro[data-at] { opacity: 1; visibility: visible; }
.intro { left: 0; right: 0; top: 18vh; display: grid; justify-items: center; text-align: center; padding: 0 var(--gut); }
.over { font: 400 12px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.intro h1 { margin-top: 18px; font-size: clamp(46px, 6.4vw, 96px); text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.intro-line { margin-top: 16px; max-width: 460px; font-size: 15px; color: rgba(242, 236, 226, .78); text-shadow: 0 2px 20px rgba(0, 0, 0, .8); }
.scrollhint { margin-top: 34px; }
.scrollhint i { display: block; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }
.chapter { left: var(--gut); bottom: 11vh; max-width: min(520px, calc(100vw - 2 * var(--gut))); padding: 26px 30px 28px; border-radius: 30px;
  background: linear-gradient(145deg, rgba(20, 18, 15, .82), rgba(10, 9, 8, .74));
  box-shadow: 18px 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 236, 205, .07), inset 0 0 0 1px rgba(241, 217, 173, .08); }
.chapter h2 { margin: 12px 0 10px; font-size: clamp(34px, 3.6vw, 52px); }
.chapter p:not(.over) { font-size: 15px; line-height: 1.6; color: rgba(242, 236, 226, .78); }
.final { left: 0; right: 0; bottom: 14vh; gap: 4px; display: grid; justify-items: center; text-align: center; padding: 0 var(--gut); }
.display { font-size: clamp(56px, 9vw, 140px); text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.progress { position: absolute; right: 22px; top: 50%; height: 22vh; width: 1px; translate: 0 -50%; background: rgba(242, 236, 226, .14); overflow: hidden; }
.progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
@media (max-width: 759px) { .progress { display: none; } .chapter { bottom: 5vh; padding: 20px 22px; } .chapter h2 { font-size: 32px; } }

/* ---------- sections ---------- */
.block { padding: clamp(90px, 12vw, 150px) var(--gut) 0; }
.sec-title { font-size: clamp(44px, 6vw, 84px); }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 40px; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { height: 42px; padding: 0 20px; font-size: 13px; color: var(--muted); }
.chip[aria-pressed="true"] { color: var(--gold-hi); box-shadow: var(--sh-in); }
.cta { padding-bottom: clamp(90px, 12vw, 150px); }
.cta-card { border-radius: 40px; padding: clamp(48px, 8vw, 110px) var(--gut); text-align: center; background: linear-gradient(145deg, #15130f, #0d0c0a); box-shadow: var(--sh-out), inset 0 1px 0 var(--hl); }
#ctaForm { margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 560px; }
#ctaForm input { flex: 1 1 240px; height: 54px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-in); color: var(--ink); font: 300 15px var(--sans); }
#ctaForm input::placeholder { color: #6f695f; }
#ctaForm input:focus { outline: none; box-shadow: var(--sh-in), 0 0 0 1px rgba(241, 217, 173, .35); }
#ctaForm .btn { height: 54px; }
.form-note { margin-top: 18px; color: var(--gold); font-size: 14px; }

.footer { padding: 0 var(--gut) 10px; overflow: hidden; }
.foot-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: 26px 0; border-top: 1px solid rgba(241, 217, 173, .1); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.foot-line nav { display: flex; gap: 26px; }
.foot-line nav a:hover { color: var(--gold-hi); }
/* wordmark sized to always fit the width */
.wordmark { padding: 2.2vw 0 3vw; text-align: center; white-space: nowrap; user-select: none;
  font: 900 clamp(38px, 9.6vw, 170px)/.92 var(--display-sans); font-stretch: 118%; letter-spacing: -.03em; overflow: hidden;
  /* a single photo of the trullo inside the letters, veiled in warm black and gold so it is only glimpsed */
  background: linear-gradient(180deg, rgba(241, 217, 173, .5), rgba(10, 9, 8, .55)), url("img/opt/15-giardino-sera-960.webp") center 58% / cover;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(241, 217, 173, .28); opacity: .92; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .grain { animation: none; }
}
.dock .dk:not(.btn):not(.chip).pressed { box-shadow: none !important; color: var(--gold-hi); }
/* a soft pool of shadow behind the opening word, so it reads on bright frames */
.over { text-shadow: 0 2px 18px rgba(0, 0, 0, .9); }

/* ---------- La casa: stage + caption + rail ---------- */
.showcase { position: relative; display: grid; gap: 22px; }
@media (min-width: 980px) { .showcase { grid-template-columns: minmax(0, 1.75fr) minmax(280px, .85fr); align-items: stretch; } }
.screen { --p: 1; position: relative; padding: 0; border: 0; border-radius: 34px; overflow: hidden; aspect-ratio: 16 / 10; background: #070605; cursor: zoom-in;
  box-shadow: var(--sh-out), inset 0 0 0 1px rgba(241, 217, 173, .06); transform: scale(var(--p)); transition: transform .4s var(--spring); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 9s linear; }
.screen img.on { opacity: 1; transform: scale(1); }
.screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5, 4, 3, .55)); pointer-events: none; }
.caption { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 34px; border-radius: 34px; background: linear-gradient(150deg, #15130f, #0d0c0a); box-shadow: var(--sh-out), inset 0 1px 0 var(--hl); transition: opacity .28s ease, transform .28s ease, filter .28s ease; }
.caption.out { opacity: 0; transform: translateY(10px); filter: blur(6px); }
.caption h3 { font-size: clamp(34px, 3.4vw, 50px); }
.cap-text { color: rgba(242, 236, 226, .74); font-size: 15px; line-height: 1.7; }
.caption .btn { align-self: flex-start; margin-top: 8px; }
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 28px 6px 18px; margin: 0 -6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { --s: 1; --y: 0px; --p: 1; flex: 0 0 auto; display: grid; gap: 10px; justify-items: start; width: 150px; padding: 8px 8px 12px; border: 0; border-radius: 22px; background: var(--surface); box-shadow: var(--sh-soft); text-align: left; scroll-snap-align: center;
  transform: translateY(var(--y)) scale(calc(var(--s) * var(--p))); transform-origin: 50% 100%; transition: transform .32s var(--spring), box-shadow .3s; }
.rail-item[aria-selected="true"] { box-shadow: var(--sh-in); }
.ri-img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; }
.ri-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.8); transition: filter .4s; }
.rail-item:hover .ri-img img, .rail-item[aria-selected="true"] .ri-img img { filter: none; }
.ri-name { padding: 0 6px; font: 400 18px/1.15 var(--serif); color: var(--muted); }
.rail-item[aria-selected="true"] .ri-name { color: var(--gold-hi); }
.cta-line { margin-top: 18px; color: var(--muted); }
.cta-card .display { margin-top: 14px; }

/* ---------- cinematic photo viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; align-items: center; gap: 18px; padding: 70px var(--gut) 22px; }
.lb-back { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(16, 13, 10, .9), rgba(4, 3, 2, .98)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lb-fig { position: relative; margin: 0; min-height: 0; height: 100%; display: grid; place-items: center; }
.lb-img { max-width: min(1400px, 92vw); max-height: 100%; border-radius: 22px; object-fit: contain; box-shadow: 0 40px 100px rgba(0, 0, 0, .75); will-change: transform; }
.lb-cap { position: relative; text-align: center; max-width: 640px; }
.lb-cap h3 { margin: 8px 0 8px; font-size: clamp(30px, 3vw, 44px); }
.lb-text { color: rgba(242, 236, 226, .72); font-size: 14.5px; }
.lb-thumbs { position: relative; display: flex; gap: 10px; }
.lb-thumbs button { --s: 1; --y: 0px; --p: 1; width: 74px; height: 52px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-soft); opacity: .55;
  transform: translateY(var(--y)) scale(calc(var(--s) * var(--p))); transform-origin: 50% 100%; transition: transform .32s var(--spring), opacity .3s; }
.lb-thumbs button[aria-current="true"] { opacity: 1; box-shadow: var(--sh-soft), 0 0 0 1px var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-close, .lb-prev, .lb-next { position: absolute !important; z-index: 2; }
.lb-close { top: 18px; right: var(--gut); }
.lb-prev { left: var(--gut); top: calc(42% - 26px); }
.lb-next { right: var(--gut); top: calc(42% - 26px); }
.lb-open { overflow: hidden; }
@media (max-width: 759px) { .lb-prev, .lb-next { top: auto; bottom: 22px; } .lightbox { padding-bottom: 86px; } .caption { padding: 26px; } }

/* ---------- mini calendar (final hero) ---------- */
.final { bottom: 9vh; }
.cal { width: min(330px, calc(100vw - 2 * var(--gut))); padding: 18px 18px 16px; border-radius: 28px; text-align: center;
  background: linear-gradient(150deg, rgba(22, 20, 17, .9), rgba(10, 9, 8, .86)); box-shadow: 18px 18px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 236, 205, .07), inset 0 0 0 1px rgba(241, 217, 173, .1); pointer-events: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { font: 600 15px/1 var(--serif); font-stretch: 112%; letter-spacing: .02em; text-transform: capitalize; }
.cal-nav { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-soft); color: var(--gold-hi); font-size: 18px; line-height: 1; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-week span { font-size: 10.5px; letter-spacing: .1em; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font: 400 13px/1 var(--sans); color: var(--ink); transition: background .2s, color .2s, transform .2s var(--spring); }
.cal-day:hover:not(:disabled) { background: rgba(241, 217, 173, .1); transform: scale(1.08); }
.cal-day:disabled { color: rgba(242, 236, 226, .2); cursor: default; }
.cal-day.in { background: rgba(212, 180, 131, .16); border-radius: 0; }
.cal-day.start, .cal-day.end { background: linear-gradient(160deg, var(--gold-hi), var(--gold)); color: #1a130a; font-weight: 600; border-radius: 10px; }
.cal-day.today { box-shadow: inset 0 0 0 1px rgba(241, 217, 173, .35); }
.cal-sum { margin: 12px 0 10px; font-size: 13px; color: rgba(242, 236, 226, .78); }
.cal-go[aria-disabled="true"] { opacity: .45; }

/* ---------- footer credit + legal ---------- */
.credit { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.credit img { height: 18px; width: auto; filter: brightness(1.35) saturate(.9); }
.legal-links a { font-size: 12px; }
#ctaDates { flex: 1 1 100%; height: 54px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-in); color: var(--gold-hi); font: 300 15px var(--sans); }
#ctaDates::placeholder { color: #6f695f; }

/* ---------- "how to move" guide ---------- */
.stage { touch-action: pan-y; }
.guide { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom, 0px)); z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 10px 20px 10px 12px; border-radius: 999px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(150deg, rgba(22, 20, 17, .88), rgba(10, 9, 8, .82)); box-shadow: 14px 14px 36px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 236, 205, .07), inset 0 0 0 1px rgba(241, 217, 173, .14);
  white-space: nowrap; max-width: calc(100vw - 24px);
  transition: opacity .6s ease, transform .6s var(--ease); }
.guide.off { opacity: 0; transform: translate(-50%, 16px); }
.guide.nudge { animation: nudge .55s ease; box-shadow: 14px 14px 36px rgba(0, 0, 0, .55), 0 0 0 2px rgba(241, 217, 173, .6); }
@keyframes nudge { 0%, 100% { transform: translateX(-50%); } 25% { transform: translate(-50%, -8px); } 60% { transform: translate(-50%, 6px); } }
.g-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-in); }
/* a mouse with its wheel on desktop, a fingertip on touch screens */
.g-dev { display: block; width: 15px; height: 23px; border: 1.5px solid var(--gold-hi); border-radius: 9px; position: relative; }
.g-dev b { position: absolute; left: 50%; top: 4px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-hi); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(-2px); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(8px); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@media (pointer: coarse) {
  .g-dev { width: 14px; height: 14px; border-radius: 50%; border: 0; background: rgba(241, 217, 173, .85); animation: swipe 1.8s var(--ease) infinite; }
  .g-dev b { display: none; }
}
@keyframes swipe { 0%, 100% { transform: translateY(8px); } 50% { transform: translateY(-8px); } }
.g-arr { position: absolute; left: 50%; font-style: normal; font-size: 11px; line-height: 1; color: var(--gold); transform: translateX(-50%); animation: blink 1.6s ease infinite; }
.g-arr.up { top: 1px; } .g-arr.down { bottom: 2px; animation-delay: .8s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.g-text { display: grid; line-height: 1.25; text-align: left; }
.g-text b { font: 700 19px/1.1 var(--serif); color: var(--ink); }
.g-how { font-size: 12.5px; letter-spacing: .02em; color: rgba(242, 236, 226, .72); }
@media (max-width: 420px) { .guide { gap: 10px; padding: 8px 16px 8px 8px; } .g-icon { width: 38px; height: 38px; } .g-text b { font-size: 17px; } .g-how { font-size: 11px; } }

/* phones: chapter cards stay small so the trullo remains visible */
@media (max-width: 759px) {
  .chapter { left: 12px; right: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); max-width: min(300px, 78vw); padding: 11px 15px 12px; border-radius: 18px; }
  .chapter .over { font-size: 9.5px; letter-spacing: .22em; }
  .chapter h2 { margin: 5px 0 4px; font-size: 21px; }
  .chapter p:not(.over) { font-size: 11.5px; line-height: 1.45; }
}
