/* Layout: one model city. Letters stand behind it, plans stand in it, words sit under it.
   Section two takes four corners out of that city and lights each one for the hour its plan happens. */
:root {
  --dusk: #f6b7c3;        /* sky, high */
  --blush: #fde3dc;       /* sky, at the water */
  --wine: #762c39;        /* Beans burgundy, kept from the current site */
  --ink: #3a1119;
  --bay: #1c5e97;
  --window: #ffe08a;      /* lit windows */
  --chalk: #fff6ec;
  --display: "Bagel Fat One", "Arial Rounded MT Bold", "Arial Black", sans-serif;
  --text: Manrope, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blush); color: var(--ink); font: 400 1rem/1.5 var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 20; left: 16px; top: 16px; padding: 10px 16px; background: var(--chalk); border-radius: 99px; }
:focus-visible { outline: 3px solid var(--bay); outline-offset: 3px; }

.hero { position: relative; overflow: hidden; height: 910px; background: linear-gradient(180deg, var(--dusk) 0%, #f9cbcd 38%, var(--blush) 78%); }
#sf { position: absolute; inset: 0; width: 100%; height: 100%; }
header { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 18px max(20px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; gap: 9px; align-items: center; color: var(--wine); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; }
.btn { display: inline-block; background: var(--wine); color: var(--chalk); font-weight: 700; text-decoration: none; border-radius: 99px; padding: 15px 24px; font-size: 1rem; box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn.small { padding: 10px 18px; font-size: .94rem; box-shadow: 0 3px 0 var(--ink); }
.copy { position: absolute; z-index: 4; left: 0; right: 0; top: 660px; padding: 0 22px; }
.copy p { margin: 0; max-width: 34ch; }
.copy .lead { font: 400 1.65rem/1.1 var(--display); color: var(--wine); margin-bottom: 4px; }
.copy .cta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 12px; max-width: none; }
.quiet { font-weight: 600; text-underline-offset: 5px; }

.pin { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); will-change: transform; }
.pin i { position: absolute; left: -1.25px; bottom: 0; width: 2.5px; height: var(--h); background: var(--ink); transform-origin: bottom; transform: scaleY(var(--s, 1)); border-radius: 2px; }
.pin i::after { content: ""; position: absolute; left: -3.5px; bottom: -3px; width: 9px; height: 6px; border-radius: 50%; background: var(--ink); }
.pin span { position: absolute; left: -23px; bottom: calc(var(--h) - 2px); width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--chalk); box-shadow: 0 0 0 2px var(--ink), 0 3px 0 2px var(--ink); overflow: hidden; transform: scale(var(--s, 1)); transform-origin: 50% 100%; transition: box-shadow .15s, border-color .15s; }
.pin span img { width: 100%; height: 100%; object-fit: cover; }
.pin[aria-pressed="true"] span { border-color: var(--window); }
.pin::before { content: ""; position: absolute; left: -26px; bottom: 0; width: 52px; height: calc(var(--h) + 48px); }

.card { position: absolute; z-index: 6; left: 20px; right: 20px; top: 530px; display: grid; grid-template-columns: 104px 1fr; background: var(--chalk); border-radius: 18px; box-shadow: 0 0 0 2px var(--ink), 0 6px 0 2px var(--ink); overflow: hidden; transform-origin: 50% 0; transform: translateY(calc((1 - var(--k, 1)) * 24px)) scale(calc(.86 + .14 * var(--k, 1))); opacity: var(--o, 1); }
.card > img { width: 104px; height: 100%; min-height: 100px; object-fit: cover; }
.card div { padding: 11px 14px 12px; min-width: 0; }
.card h3 { margin: 0; font: 400 1.28rem/1.1 var(--display); color: var(--wine); }
.card p { margin: 2px 0 0; font-size: .9rem; line-height: 1.35; }
.card .go { font-weight: 700; margin-top: 6px; }

.plans { background: var(--wine); color: var(--chalk); padding: 72px max(20px, env(safe-area-inset-left, 0px)) 64px; }
.plans h2 { margin: 0 auto 36px; max-width: 1240px; font: 400 clamp(2.3rem, 7vw, 4.4rem)/1 var(--display); text-wrap: balance; }
.tiles { display: grid; gap: 52px 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); max-width: 1240px; margin: 0 auto; }
.tile canvas { display: block; width: 100%; aspect-ratio: 1.22; border-radius: 26px; box-shadow: 0 0 0 2px var(--ink); }
.tile h3 { margin: 18px 0 2px; font: 400 1.75rem/1.1 var(--display); }
.tile p { margin: 0; max-width: 46ch; }
.tile .when { font-weight: 700; color: var(--window); }
.tile .host { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-weight: 600; }
.tile .host img { width: 36px; height: 36px; border-radius: 50%; }
.fine { max-width: 1240px; margin: 44px auto 0; font-size: .9rem; color: #f3c9cd; }

@media (min-width: 900px) {
  .hero { height: 900px; }
  header { padding: 24px 48px; }
  .copy { left: 48px; right: auto; top: auto; bottom: 36px; width: 310px; padding: 0; }
  .copy .lead { font-size: 1.95rem; }
  .card { left: auto; right: 48px; top: auto; bottom: 48px; width: 400px; grid-template-columns: 130px 1fr; }
  .card > img { width: 130px; min-height: 128px; }
  .pin span { width: 60px; height: 60px; left: -30px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Embedded in the portfolio: the city only. */
.embed header,.embed .copy,.embed .plans,.embed .skip{display:none}
.embed body{overflow:hidden}
@media(min-width:900px){.embed .hero{height:780px}}
@media(max-width:899px){.embed .hero{height:690px}}
