/* Coming-soon site only: the email box, the hero without a top bar, and a small footer.
   Everything else (hero room, sign, story, Colosseum, saying, plane) comes from site.css, copied in by tools/build-coming-soon.py.
   This file is hand-written and is not overwritten by the build. */

/* THE PAGE OPENS ON THE COLOSSEUM STORY (owner: skip the green landing). On top, only the bordeaux band with the sign. */
.cs-head { background: var(--wine); padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 18px; text-align: center }
.cs-head .hero-logo { margin: 0 }
.cs-head .bigsign { display: inline-block; width: auto; padding: 0; box-shadow: none; background: none }
.cs-head .bigsign-in { padding: 12px clamp(18px, 4vw, 30px) 10px }
.cs-head .sign-name { font-size: clamp(26px, 7vw, 38px) }
.cs-head .sign-sub { font-size: clamp(9.5px, 2.4vw, 12px); margin-top: 8px; gap: 10px }
.cs-head .sign-sub::before, .cs-head .sign-sub::after { width: 18px }
.cs-head .bigsign > .tricolore { display: none }

.cs .story { padding-block: 44px 80px }
/* computers: the Colosseum sits in the left column, right under the email box (it used to hang at the bottom of the
   section, far below everything once the story grew with Nonna's photo, leaving an empty gap). Phones keep the faint
   sketch behind the heading (.colosseo-bg). */
.cs-colosseo { display: none }
@media (min-width: 861px) {
  .cs .story { padding-bottom: 90px }
  .cs .story .colosseo-bg { display: none }
  .cs-colosseo { display: block; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 36px auto 0; pointer-events: none;
    background: url(colosseo.webp) center / contain no-repeat; opacity: .16 }
}
@media (min-width: 861px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cs-colosseo { filter: invert(1); opacity: .12 } }
/* the big outlined "Nella" lives under the Colosseum on computers (owner: it filled the empty space there better than
   behind the heading); same lettering as the main site's watermark */
.cs-nella { display: none }
@media (min-width: 861px) {
  .cs .story .wm { display: none }
  .cs-nella { display: block; margin: 10px 0 0; text-align: center; font-family: var(--f-body); font-style: italic; line-height: 1;
    font-size: clamp(150px, 15vw, 230px); color: transparent; -webkit-text-stroke: 1px var(--line); user-select: none; pointer-events: none }
}
/* "Coming soon" says itself loud and clear (owner: it was too small and too faint): a solid bordeaux badge, then when and where */
.cs-soon { margin: 0 0 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px }
.cs-soon-big { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 8px; background: var(--wine); color: var(--wine-ink); border-radius: 3px;
  font: 700 clamp(19px, 5.4vw, 24px)/1.1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 10px 22px -14px rgba(43,28,23,.6) }
.cs-soon-big::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent) }
.cs-soon-sub { font: 700 clamp(14px, 3.8vw, 16px)/1.4 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--wine) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cs-soon-sub { color: var(--accent) } }
.cs-first { margin-top: 26px; position: relative; border: 1px solid var(--line); border-top: 4px solid var(--wine); box-shadow: 0 24px 50px -30px rgba(43,28,23,.45) }
.cs-box-h { margin: 0 0 12px; font: 400 23px/1.25 var(--f-display); color: var(--accent) }
/* the Colosseum must stay in view, never under the email box:
   computers — bottom left, below the heading/saying/email column (that column doesn't follow the scroll);
   phones — higher, behind the heading and the saying, ending before the email box */
@media (max-width: 860px) {
  .cs .story { padding-block: 30px 56px }
  .cs .story .wm { display: none }   /* owner: no big "Nella" lettering on phones, only on computers */
  .cs .story .colosseo-bg { top: -14px; right: -18vw; width: 88vw; opacity: .13 }
}

/* the email box: cream card, one field, one big button */
.cs-box { width: 100%; background: var(--paper); color: var(--ink); text-align: left; border-radius: 4px; border-top: 4px solid var(--wine);
  padding: 20px 20px 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6) }
.cs-label { display: block; margin-bottom: 6px; font: 600 13px var(--f-ui); color: var(--ink) }
.cs-row { display: flex; gap: 10px }
.cs-row input { flex: 1; min-width: 0; height: 54px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 3px; background: #fff; color: #2B1C17; font: 17px var(--f-ui) }
.cs-row input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wine) 20%, transparent) }
.cs-row input[aria-invalid="true"] { border-color: #B3242F }
.cs-btn { height: 54px; padding: 0 22px; border: 0; border-radius: 3px; background: var(--wine); color: var(--wine-ink); cursor: pointer; white-space: nowrap;
  font: 700 15px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; transition: filter .2s, transform .15s }
.cs-btn:hover { filter: brightness(1.1) } .cs-btn:active { transform: scale(.98) } .cs-btn[disabled] { opacity: .7; cursor: progress }
.cs-err { margin: 8px 0 0; font: 600 14px var(--f-ui); color: #B3242F }
/* dark mode: the box is dark, so the error needs a lighter red to stay readable */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cs-err { color: #FF9AA2 } }
:root[data-theme="dark"] .cs-err { color: #FF9AA2 }
.cs-fine { margin: 10px 0 0; font: 13px/1.5 var(--f-ui); color: var(--muted) }
.cs-done { text-align: center; padding: 4px 0 2px }
.cs-done:focus { outline: none }
.cs-tick { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: var(--wine); color: var(--wine-ink); display: grid; place-items: center }
.cs-tick svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.cs-done .cs-done-h { margin: 0 0 4px; max-width: none; font: 400 26px var(--f-display); color: var(--accent) }   /* (was beaten by .cs-done p: the title showed small and grey) */
.cs-first:has(.cs-done:not([hidden])) .cs-box-h { display: none }   /* once signed up, the box only says thank you */
.cs-done p { margin: 0 auto; max-width: 32ch; color: var(--muted); font-size: 16px }
.cs-done .hand { display: block; margin-top: 8px; font-size: 26px; color: var(--accent) }
@media (max-width: 520px) { .cs-row { flex-direction: column } .cs-row input { flex: none; width: 100% } .cs-btn { width: 100% } }

/* the second box, at the end of the story, sits on the sage panel */
.notify .cs-box { box-shadow: none }

.cs-foot { background: var(--wine); color: var(--wine-ink); text-align: center; padding: 34px 20px calc(30px + env(safe-area-inset-bottom, 0px)); font: 15px var(--f-ui) }
.cs-foot-name { font: 400 22px var(--f-display); letter-spacing: .08em; text-transform: uppercase }
.cs-foot p { margin: 6px 0 0; opacity: .85 }



/* EDGES (mobile first). The main site reserves 68px under the page for its phone action bar; this page has no bar,
   so that space showed up as a cream strip under the footer: removed. The band on top, the footer and the colour a phone
   shows when you pull past either end are all the same bordeaux (--wine), so the page meets the screen edges with no seam. */
html:has(body.cs) { background: var(--wine) }
body.cs { padding-bottom: 0 }

/* TELL A FRIEND (after signing up): one big share button, phone-sized taps; Text · WhatsApp · Copy link where there's no share sheet */
.cs-share { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 10px; justify-items: center }
.cs-done .cs-share-h { margin: 0; max-width: none; font: 700 16px var(--f-ui); color: var(--ink) }
.cs-share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 340px; min-height: 52px; padding: 0 20px;
  border: 0; border-radius: 3px; background: var(--wine); color: var(--wine-ink); cursor: pointer; font: 700 15px var(--f-ui); letter-spacing: .08em; text-transform: uppercase }
.cs-share-btn:hover { filter: brightness(1.1) } .cs-share-btn:active { transform: scale(.98) }
.cs-share svg, .cs-foot svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.cs-share-alt { display: flex; gap: 8px; width: 100%; max-width: 340px }
.cs-share-alt a, .cs-share-alt button { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 8px; border: 1.5px solid var(--accent);
  border-radius: 3px; background: none; color: var(--accent); font: 700 14px var(--f-ui); text-decoration: none; cursor: pointer }
.cs-done .cs-copied { margin: 0; font: 600 14px var(--f-ui); color: var(--accent) }

/* the address in the footer, a tap opens it in Maps */
.cs-foot-addr { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; color: inherit; text-decoration: none; text-align: left; font-weight: 600; line-height: 1.35 }
.cs-foot-addr span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(245,230,207,.5) }

/* =====================================================================
   MENU SNEAK PEEK (owner, Nov 2026): the real printed menu sits behind, sharp for a moment, then it blurs away and only
   a few dishes stay, lifted out as cards set in the menu's own style (bordeaux spaced caps, rolling-pin mark,
   the cream "Classici Romani" box, the beige "Secondi" panel). Mobile first: one column; two on computers.
   ===================================================================== */
.peek { position: relative; overflow: hidden; overflow: clip; padding-block: 56px 60px; background: var(--paper) }
/* dark mode: the cream writing over the blurred menu is only slightly lighter than the page's cream (#F1E4D0), so it reads a little better without losing the cream-on-cream look (owner) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .peek { --ink: #F7EDDC; color: var(--ink) } }
:root[data-theme="dark"] .peek { --ink: #F7EDDC; color: var(--ink) }
.peek-menu { position: absolute; inset: -20px; background: url(menu-blur.jpg) center 40px / min(1000px, 160%) auto repeat-y; opacity: .7; pointer-events: none }   /* the file itself is pre-blurred (tools/img/blur-menu.mjs): unreadable even if someone opens or screenshots it */
@media (max-width: 600px) { .peek-menu { background-size: 100% auto } }   /* phones: the whole page width on screen, so every dish's spot is visible (the fly-out starts there) */
.peek::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--paper), transparent 9%, transparent 92%, var(--paper)) }
.peek .wrap { position: relative; z-index: 1 }
.peek-head { text-align: center; max-width: 560px; margin: 0 auto 26px }
.peek-head h2 { font-size: clamp(32px, 8vw, 50px); line-height: 1.08; margin: 10px 0 10px }
.peek-head h2 em { display: block; color: var(--wine) }
.peek-head p { margin: 0 auto; color: var(--ink); font-size: 17px; max-width: 34ch }

/* the cards: printed-menu look */
.peek-cards { display: grid; gap: 30px; max-width: 980px; margin: 0 auto; padding-inline: 10px }   /* wide gaps: the menu underneath shows between the cards */
.pk-card { background: #FFFCF6; color: #2B1C17; padding: 20px 20px 16px; border-radius: 2px; box-shadow: 0 18px 40px -26px rgba(43,28,23,.55), 0 0 0 1px rgba(122,31,43,.08) }
.pk-card h3 { margin: 0 0 12px; font: 700 23px/1.1 "Lora", Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: #7A1F2B }
.pk-card h3 small { display: block; margin-top: 4px; font: 500 11.5px "Lora", Georgia, serif; letter-spacing: .22em; color: #8a3b46 }
.pk-dish + .pk-dish { margin-top: 14px }
.pk-dish h4 { margin: 0; font: 700 16.5px/1.25 "Lora", Georgia, serif; letter-spacing: .05em; text-transform: uppercase; color: #7A1F2B; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px }
.pk-dish p { margin: 3px 0 0; font: 400 16px/1.45 "Lora", Georgia, serif; color: #2B1C17 }
.pin { width: 30px; height: 11px; fill: #7A1F2B; flex: none }
/* I Classici Romani: framed box, centred title, rule with a diamond, beige "key ingredient" panel */
.pk-box { border: 1.5px solid #7A1F2B; outline: 1px solid rgba(122,31,43,.35); outline-offset: -6px; text-align: left; padding: 24px 22px 20px }
.pk-box h3 { text-align: center; margin-bottom: 8px }
.pk-rule { position: relative; display: block; width: 120px; height: 9px; margin: 0 auto 14px; background:
  linear-gradient(#7A1F2B, #7A1F2B) left 50% / 48px 1.5px no-repeat, linear-gradient(#7A1F2B, #7A1F2B) right 50% / 48px 1.5px no-repeat }
.pk-rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: #7A1F2B; transform: translate(-50%, -50%) rotate(45deg) }
.pk-key { background: #F3E6CF; padding: 14px 16px; margin: 0 0 16px; text-align: center }
.pk-key b { display: block; font: 700 12px "Lora", serif; letter-spacing: .2em; text-transform: uppercase; color: #7A1F2B; margin-bottom: 6px }
.pk-key i { font: italic 400 15.5px/1.45 "Lora", serif; color: #2B1C17 }
/* Secondi: the beige panel of the printed menu */
.pk-sec { background: #F3E6CF }
.pk-legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin: 18px 0 0; font: 600 12.5px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--wine) }
.peek-end { text-align: center; margin: 30px auto 0; max-width: 520px }
.peek-end .hand { margin: 0; font-size: clamp(32px, 8vw, 44px); line-height: 1.1; color: var(--wine); transform: rotate(-2deg) }
.peek-end p { margin: 8px auto 18px; font-size: 17px; color: var(--ink); max-width: 36ch }
.peek-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 3px; background: var(--wine); color: var(--wine-ink);
  font: 700 14.5px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; text-decoration: none }
@media (min-width: 861px) {
  .peek { padding-block: 90px }
  .peek-cards { grid-template-columns: 1fr 1fr; grid-template-areas: "a c" "b c" "d e"; gap: 40px 48px; align-items: start; padding-inline: 0 }
  .pk-a { grid-area: a } .pk-b { grid-area: b } .pk-c { grid-area: c } .pk-d { grid-area: d } .pk-e { grid-area: e }
  .pk-card { padding: 24px 26px 20px }
}

/* the reveal: the whole menu shows sharp, then blurs away while the chosen dishes rise out of it (once, when scrolled into view) */
/* never sharp, not even for a moment (owner: people could read it while the cards were rising): the blurred menu fades in, then the dishes rise */
.motion .peek .peek-menu { opacity: 0; transform: scale(1.03); transition: opacity 1s ease .1s, transform 1.6s ease .1s }
.motion .peek.shown .peek-menu { opacity: .7; transform: none }

.cs-foot .cs-foot-near { margin-top: 0; font-size: 14px; opacity: .8 }

/* the reveal (owner chose the simple one; flying out of the dish's spot on the menu was tried and dropped as too much):
   the blurred menu fades in, then the cards rise one after another */
.motion .peek .pk-card, .motion .peek .pk-legend { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1) }
.motion .peek.shown .pk-card, .motion .peek.shown .pk-legend { opacity: 1; transform: none }
.motion .peek.shown .pk-a { transition-delay: .5s } .motion .peek.shown .pk-b { transition-delay: .7s }
.motion .peek.shown .pk-c { transition-delay: .9s } .motion .peek.shown .pk-d { transition-delay: 1.1s } .motion .peek.shown .pk-e { transition-delay: 1.3s } .motion .peek.shown .pk-legend { transition-delay: 1.5s }
