/* Café Bébé: a little Paris café screen-printed in chocolate on thick cream card. The page is wide chocolate-and-cream
   cabana stripes (Gemini's awning stripes, tiled); every section sits on Gemini's die-cut menu card, the name ideas on
   its plates, the wishes on its order tickets held by a clothespin or tape. One light for everything: every cut-out
   piece gets the same shadow, down and to the right. Colors and fonts come from vars.css. */

body{background:var(--paper) url(../art/stripes.jpg) repeat; background-size:300px auto}

/* ---------- header: the street, the café with her name on its sign, the things out front ----------
   The café and the front layers are sized by --u, the café's width (the front layers are drawn with the café 560 px
   wide: 1800 px wide on laptops, 760 on phones), so the pieces stand in the same spots on every screen. */
.hero.painted.cafe-hero{container-type:size; background:none; --u:min(86vw, 54cqh); --base:12cqh}
.hero.painted.cafe-hero::after{display:none}
.hero.painted.cafe-hero .back{-webkit-mask-image:linear-gradient(#000 84%, transparent 99%); mask-image:linear-gradient(#000 84%, transparent 99%)}
.hero.painted.cafe-hero .front{top:0; left:0; right:0; bottom:calc(var(--base) - var(--u) * .03); transform:none;
  background:var(--art-hero-front) no-repeat center bottom / calc(var(--u) * 1800 / 560) auto;
  filter:drop-shadow(5px 8px 6px rgba(var(--shadow-rgb),.28))}
@media (max-width:899px){.hero.painted.cafe-hero .front{background-image:url(../art/hero-front-phone.webp); background-size:calc(var(--u) * 760 / 560) auto}}
.cafe-shop{position:absolute; left:50%; bottom:var(--base); width:var(--u); z-index:1; container-type:inline-size;
  transform:translateX(-50%) translateY(calc(var(--depth) * 9cqh)); filter:drop-shadow(6px 10px 8px rgba(var(--shadow-rgb),.3))}
.cafe-front{aspect-ratio:900 / 894; background:url(../art/shop.webp) no-repeat center / contain}
/* her name on the café's empty sign band (12.6% to 87.1% across, 8.6% to 18.6% down the picture), printed in the
   café's brown: multiply lets the card's grain through the letters */
.cafe-sign{position:absolute; left:13.5%; right:13.5%; top:8.8%; height:9.6%; margin:0; display:grid; place-items:center;
  font:400 6.4cqw/1 var(--f-script); font-variant-caps:small-caps; letter-spacing:.02em; color:var(--ink);
  text-align:center; white-space:nowrap; overflow:hidden; mix-blend-mode:multiply; -webkit-text-stroke:.25px currentColor}
/* the script line sits just over the café's roof, in the empty top of the street */
.hero-title.cafe-over{top:auto; bottom:calc(var(--base) + var(--u) * .993 + 4px); width:min(92vw, 760px); text-align:center}
.cafe-sub{pointer-events:auto; margin:0; font:400 clamp(26px, 7.4vw, 42px)/1.15 "La Belle Aurore", var(--f-script); color:var(--ink)}
@media (max-width:899px){.hero.painted.cafe-hero{height:clamp(460px, 64svh, 640px)}}
@media (min-width:900px){.hero.painted.cafe-hero{--u:min(60vw, 54cqh)}}

/* ---------- sections: each on Gemini's die-cut menu card (its loose double border kept at the corners, the middle
   stretched), with one shadow down and to the right like every other piece ---------- */
section{padding-block:22px 6px}
.card, .invite, footer{--pad:max(10px, 3vw); border-style:solid; border-width:26px; border-image:url(../art/card.webp) 70 fill / 26px stretch;
  background:none; filter:drop-shadow(4px 7px 5px rgba(var(--shadow-rgb),.26))}
.card{padding:4px var(--pad) 14px}
.card::before{display:none}
.sec-title{font-variant-caps:small-caps; font-size:clamp(32px, 8.6vw, 42px); line-height:1.05; color:var(--ink); -webkit-text-stroke:.3px currentColor}
.lede{color:var(--soft)}
.caps, .btn{letter-spacing:.2em}

/* the invitation: the same card, her names big in the script */
.invite{padding:14px var(--pad) 18px; margin-top:14px}
.honoree{font-family:"La Belle Aurore", var(--f-script); color:var(--ink); line-height:1.2}

/* a page of its own's header (the board) on the same card, so its words never sit on the stripes */
.page-head{border-style:solid; border-width:26px; border-image:url(../art/card.webp) 70 fill / 26px stretch; background:none;
  filter:drop-shadow(4px 7px 5px rgba(var(--shadow-rgb),.26)); max-width:min(92vw, 560px); margin:18px auto 0; padding:6px 14px 10px}
.page-head .page-party{margin-top:12px}

/* the footer on a card too, so its words never sit on the stripes */
footer{margin:26px auto 30px; max-width:min(92vw, 560px); padding:6px 14px 10px}
.foot-line{font-family:"La Belle Aurore", var(--f-script); color:var(--ink); font-size:clamp(28px, 8vw, 40px); line-height:1.2}

/* ---------- pieces: one shadow for every cut-out ---------- */
.piece, .foot-art, .note-attach, .racer{filter:drop-shadow(3px 5px 3px rgba(var(--shadow-rgb),.3))}

/* ---------- countdown, buttons, boxes ---------- */
.log{border:1.5px solid var(--ink); border-radius:3px; background:rgba(var(--field-rgb),.8)}
.log::before{inset:3px; border-color:rgba(var(--ink-rgb),.3)}
.count div{border-left:1px dashed rgba(var(--ink-rgb),.35)}
.count span{letter-spacing:.12em}   /* Josefin runs wide: on a phone the countdown goes two by two (invite/guest.js) */
.btn{border-radius:3px; border-width:1.5px}
.btn.solid{background:var(--ink); color:var(--card)}
.btn.solid:hover{background:var(--ink-deep)}
input[type=text], input[type=date], input[type=email], input[type=tel], input[type=number], select, textarea{border-radius:3px; background:var(--field)}
.chip{border-radius:3px}

@media (min-width:900px){
  .col{max-width:700px}
  .detail-grid{grid-template-columns:1fr 1fr; gap:22px 40px}
  .detail-grid > .span{grid-column:auto}
}

/* ---------- the vote: a blue pram and a pink pram, racing down a café floor of cream and latte tiles ---------- */
.pick{border-radius:3px; border:1.5px solid var(--ink)}
.pick .script{font-family:"Dancing Script", var(--f-script); font-weight:600; line-height:1.15; padding-bottom:2px}   /* Boy and Girl: Aaron's pick, the easiest script to read */
.pick.boy{background:rgba(var(--wash-rgb),.45)}
.pick.girl{background:rgba(var(--girl-soft-rgb),.45)}
.pick.boy .script{color:var(--leaf)}
/* the small team labels a shade deeper than the tile's color, so they read on its tint (4.5:1) */
.pick.boy .caps{color:color-mix(in srgb, var(--leaf) 70%, var(--ink-deep))}
.pick.girl .caps{color:color-mix(in srgb, var(--girl) 70%, var(--ink-deep))}
.pick.boy[aria-pressed=true]{background:var(--wash); border-color:var(--leaf); box-shadow:inset 0 0 0 2px var(--leaf)}
.pick.girl[aria-pressed=true]{background:var(--girl-soft); border-color:var(--girl); box-shadow:inset 0 0 0 2px var(--girl)}
.lane{border-bottom:1.5px dashed rgba(var(--ink-rgb),.4); border-radius:0; background:rgba(var(--field-rgb),.6)}
.lane.boy .who, .lane.boy .pct{color:var(--leaf)}
:root{--racer-size:70px}

/* ---------- name ideas: each name on Gemini's plate, two plates across; the name and its heart sit in the plate's
   middle, a reason under the plate ---------- */
.name-lists h3{border-bottom-style:dashed}
.name-list{display:grid; grid-template-columns:repeat(auto-fill, minmax(124px, 1fr)); gap:8px 10px}
.name-list li{display:grid; grid-template-columns:1fr; grid-template-rows:auto; gap:0; padding:0; border:0; text-align:center; align-items:start}
.name-list li::before{content:""; grid-area:1 / 1; aspect-ratio:1; background:url(../art/plate.webp) no-repeat center / contain;
  filter:drop-shadow(3px 5px 3px rgba(var(--shadow-rgb),.24))}
.name-list .nm{grid-area:1 / 1; align-self:center; justify-self:center; max-width:66%; margin-bottom:42px;
  font-size:24px; font-variant-caps:small-caps; overflow-wrap:anywhere; line-height:1; position:relative}
.name-list .heart{grid-area:1 / 1; align-self:center; justify-self:center; margin-top:34px; padding:5px 11px; min-height:32px;
  background:rgba(var(--card-rgb),.9); position:relative}
.name-list .heart::before{content:""; position:absolute; inset:-6px 0}   /* the pill stays small on the plate; the finger gets 44px */
.name-list .why{grid-area:auto; grid-column:1; grid-row:2; margin-top:2px; text-align:center}
.name-list .del{grid-area:auto; grid-column:1; grid-row:3; justify-self:center}

/* ---------- wishes: Gemini's order tickets (zigzag top and foot, a double line under the top), growing taller with
   the words; the shared notes put a clothespin or tape over each ---------- */
.note{border-style:solid; border-width:40px 16px 30px; border-image:url(../art/ticket.webp) 90 36 66 fill / 40px 16px 30px stretch;
  background:none; box-shadow:none; border-radius:0; padding:2px 4px 2px; filter:drop-shadow(3px 6px 4px rgba(var(--shadow-rgb),.22))}
.note .by{color:var(--accent)}
/* the big screen: each heading stands on the menu card, so it reads over the stripes */
#tv .tv-head .sec-title{display:inline-block; max-width:100%; box-sizing:border-box; padding:0 .3em .06em; text-shadow:none;
  border-style:solid; border-width:26px; border-image:url(../art/card.webp) 70 fill / 26px stretch; filter:drop-shadow(5px 8px 6px rgba(var(--shadow-rgb),.28))}
