:root {
  --pink: #d71343; --pink-deep: #b30f37; --ink: #111111; --slate: #4a4f55; --paper: #fbf8f3; --line: #e6e0d6; --white: #ffffff;
  --mono: "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

.page { min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; }
.photo { position: relative; aspect-ratio: 4 / 5; max-height: 62vh; overflow: hidden; background: #9fc3dc; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.photo .logo { position: absolute; display: block; left: 16px; bottom: 16px; background: var(--white); padding: 12px 14px 10px; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.28); width: min(210px, 56%); }
.photo .logo img { width: 100%; height: auto; }

/* Lane rope: alternating pink and white floats, the one thing only a pool cafe would have. */
.rope { height: 18px; background:
    radial-gradient(circle at 9px 9px, var(--pink) 0 6px, transparent 7px) 0 0 / 36px 18px repeat-x,
    radial-gradient(circle at 9px 9px, var(--ink) 0 6px, transparent 7px) 18px 0 / 36px 18px repeat-x,
    linear-gradient(var(--line), var(--line)) 0 8px / 100% 2px repeat-x;
  animation: drift 14s linear infinite; }
@keyframes drift { to { background-position: 36px 0, 54px 0, 0 8px; } }

.copy { padding: 28px 20px 8px; max-width: 560px; }
.where { font: 14px/1.4 var(--mono); color: var(--slate); margin: 0 0 18px; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 800; }
h1 em { font-style: normal; color: var(--pink); }
.lede { font-size: 1.05rem; color: var(--slate); margin: 0 0 24px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 4px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; }
.btn.alt { background: transparent; color: var(--ink); }
.btn:hover, .btn:focus-visible { background: var(--pink); border-color: var(--pink); color: #fff; outline: none; }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--pink); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 18px; font-size: .95rem; }
dl.facts dt { font: 13px/1.6 var(--mono); color: var(--slate); }
dl.facts dd { margin: 0; }
dl.facts a { text-decoration-color: var(--pink); text-decoration-thickness: 2px; }

.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 20px 34px; max-width: 560px; }
.plates figure { margin: 0; text-align: center; }
.plates picture { display: block; }
.plates figure { align-self: start; }
.plates img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.plates figcaption { font: 12.5px/1.4 var(--mono); color: var(--slate); margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding: 16px 20px 22px; font-size: 13px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
footer .credit a { color: var(--slate); }

@media (min-width: 900px) {
  .page { grid-template-columns: minmax(420px, 46%) 1fr; grid-template-rows: 1fr auto auto; grid-template-areas: "copy photo" "plates photo" "footer photo"; min-height: 100vh; }
  .copy { grid-area: copy; padding: 56px 56px 0; max-width: none; align-self: end; }
  .plates { grid-area: plates; padding: 26px 56px 48px; max-width: 560px; }
  .photo { grid-area: photo; aspect-ratio: auto; max-height: none; min-height: 0; position: sticky; top: 0; height: 100vh; }
  .photo > picture, .photo > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .photo .logo { z-index: 2; }
  .photo img { object-position: 50% 70%; }
  .photo .logo { left: auto; right: 32px; bottom: 32px; width: 240px; }
  .rope { display: none; }
  .rope.desk { display: block; position: absolute; left: 0; right: 0; bottom: 0; }
  footer { grid-area: footer; padding: 16px 56px 22px; position: relative; z-index: 3; background: var(--paper); flex-direction: row; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
  h1 { font-size: clamp(2.6rem, 3.9vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) { .rope { animation: none; } }

table.hours { border-collapse: collapse; font-size: .95rem; margin: 0 0 8px; min-width: 260px; }
table.hours caption { text-align: left; font: 13px/1.6 var(--mono); color: var(--slate); padding: 0 0 4px; }
table.hours th { text-align: left; font-weight: 500; padding: 3px 18px 3px 0; color: var(--ink); }
table.hours td { padding: 3px 0; font-variant-numeric: tabular-nums; }
.hours-note { font-size: .88rem; color: var(--slate); margin: 0 0 30px; max-width: 34em; }

/* Day dial (drum). Sits on today; wheel, drag, arrows or the buttons turn it. */
.dial { margin: 0 0 8px; max-width: 360px; }
.dial-label { font: 13px/1.6 var(--mono); color: var(--slate); margin: 0 0 4px; }
.drum-wrap { display: grid; grid-template-columns: 1fr; position: relative; }
.drum { position: relative; height: 138px; overflow: hidden; perspective: 520px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); cursor: ns-resize; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.drum.grab { cursor: grabbing; }
.drum:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--pink); }
.drum-list { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 50%; height: 0; transform-style: preserve-3d; }
.drum-item { position: absolute; left: 0; right: 0; top: -23px; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 1rem; backface-visibility: hidden; will-change: transform, opacity; transition: transform 320ms cubic-bezier(.2,.8,.2,1), opacity 320ms ease; cursor: pointer; }
.drum-item .d { font-weight: 600; }
.drum-item .d em { font: 12px/1 var(--mono); font-style: normal; color: var(--pink); margin-left: 8px; letter-spacing: .02em; }
.drum-item .h { font-variant-numeric: tabular-nums; color: var(--slate); }
.drum-item.on .h { color: var(--ink); font-weight: 600; }
.drum-marker { position: absolute; left: 10px; right: 10px; top: 50%; height: 46px; transform: translateY(-50%); border-top: 2px solid var(--pink); border-bottom: 2px solid var(--pink); border-radius: 4px; pointer-events: none; }
.drum::before, .drum::after { content: ""; position: absolute; left: 0; right: 0; height: 34px; z-index: 20; pointer-events: none; }
.drum::before { top: 0; background: linear-gradient(var(--white), rgba(255,255,255,0)); }
.drum::after { bottom: 0; background: linear-gradient(rgba(255,255,255,0), var(--white)); }
.drum-btn { position: absolute; right: 8px; z-index: 30; width: 30px; height: 26px; border: 0; border-radius: 4px; background: transparent; color: var(--slate); font-size: 11px; cursor: pointer; }
.drum-btn.up { top: 4px; } .drum-btn.down { bottom: 4px; }
.drum-btn:hover, .drum-btn:focus-visible { color: var(--pink); outline: none; background: rgba(215,19,67,.08); }
.dial-status { font-size: .88rem; color: var(--slate); margin: 8px 0 0; min-height: 1.3em; }
.dial.still .drum-item { transition: none; }
table.hours.as-fallback { position: absolute; left: -9999px; }
