/* UMI CAFE — one stylesheet. Sections in the order they appear on the page. */

/* ---------- tokens ---------- */
:root {
  --ink: #10243f;
  --ink-soft: #46586f;
  --navy: #1b2f5b;
  --blue: #2f6fd0;
  --blue-deep: #255ba8;
  --sky: #9cc3e6;
  --ice: #e4eefa;
  --cream: #f7f2ea;
  --cream-2: #fcfaf6;
  --sand: #ebe2d4;
  --gold: #d9a441;
  --line: rgba(16, 36, 63, 0.12);
  --line-soft: rgba(16, 36, 63, 0.07);
  --shadow: 0 1px 2px rgba(16, 36, 63, .04), 0 12px 32px -12px rgba(16, 36, 63, .18);
  --shadow-lg: 0 2px 4px rgba(16, 36, 63, .05), 0 32px 64px -24px rgba(16, 36, 63, .28);
  --r: 18px;
  --r-lg: 28px;
  --pad: clamp(18px, 4.2vw, 56px);
  --max: 1320px;
  --head: 68px;
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* faint vertical rules, the quiet grid behind everything */
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--pad);
  display: none;
}
.grid-lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
@media (min-width: 900px) { .grid-lines { display: block; } }

/* ---------- type helpers ---------- */
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.h-xl { font-size: clamp(2.6rem, 7.4vw, 5.6rem); }
.h-lg { font-size: clamp(2.1rem, 5vw, 3.7rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; border-radius: 999px;
  padding: 14px 24px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), background .3s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(47, 111, 208, .7); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(16, 36, 63, .05); box-shadow: none; }
.btn-light { --bg: rgba(255,255,255,.14); --fg: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.26); box-shadow: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--navy); color: #eaf2fc; font-size: 13.5px; text-align: center;
  padding: 9px 16px; position: relative; z-index: 60;
}
.announce b { color: #fff; font-weight: 600; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

.head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 234, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.head.is-stuck { border-bottom-color: var(--line); background: rgba(247, 242, 234, .94); }
.head-in { display: flex; align-items: center; gap: 18px; height: var(--head); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .04em; font-size: 16px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav { display: none; margin-left: auto; gap: 28px; align-items: center; }
@media (min-width: 1040px) { .nav { display: flex; } }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--blue); transition: right .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1040px) { .head-right { margin-left: 0; } }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: background .25s var(--ease);
}
.lang-btn:hover { background: rgba(16, 36, 63, .05); }
.lang-btn svg { width: 17px; height: 17px; flex: none; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 164px;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 70;
}
.lang.is-open .lang-list { display: block; animation: pop .22s var(--ease); }
.lang-list a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; }
.lang-list a:hover { background: rgba(16, 36, 63, .06); }
.lang-list a[aria-current="true"] { color: var(--blue); font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1039px) { .lang-btn span { display: none; } .lang-btn { padding: 10px 11px; } }
@media (max-width: 639px) { .head-right > .btn { display: none; } .announce { font-size: 12.5px; padding: 8px 14px; } }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); background: none; border-radius: 999px; cursor: pointer; }
@media (min-width: 1040px) { .burger { display: none; } }
.burger span { display: block; width: 17px; height: 9px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--cream);
  padding: 22px var(--pad); display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--head); margin-bottom: 14px; }
.drawer nav a { font-family: var(--display); font-size: clamp(1.9rem, 8vw, 2.6rem); padding: 9px 0; border-bottom: 1px solid var(--line-soft); display: block; }
.drawer .btn { margin-top: 22px; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  /* No blur any more: the photo is 4000 px wide and the build serves up to
     2560, so it holds up on a big screen even under the slow zoom. The scrims
     below are what carry the white text. */
  filter: saturate(1.04);
  transform: scale(1.1); animation: kb 18s var(--ease) forwards;
}
@keyframes kb { to { transform: scale(1.02); } }
/* A phone shows a slot taller than it is wide, so a 16:9 photo is cropped
   left and right and the middle of this one is the wall beside the door. Pull
   the frame over to the shopfront and the terrace — the vertical half of
   object-position does nothing here, the image already fills the height. */
@media (max-width: 760px) {
  .hero-media img { object-position: 58% 50%; }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* two scrims: one down the page, one from the left, so the title and the
     paragraph always sit on something dark whatever the photo does */
  background:
    linear-gradient(180deg, rgba(9, 24, 45, .50) 0%, rgba(9, 24, 45, .20) 30%, rgba(7, 20, 38, .88) 100%),
    linear-gradient(90deg, rgba(7, 20, 38, .62) 0%, rgba(7, 20, 38, .26) 46%, rgba(7, 20, 38, 0) 78%);
}
.hero-in { color: #fff; padding-block: clamp(42px, 9vw, 92px); width: 100%; }
.hero .kicker { color: var(--sky); }
.hero h1 { margin: 16px 0 18px; max-width: 16ch; text-wrap: balance; }
.hero .lede { color: rgba(255, 255, 255, .93); max-width: 54ch; text-shadow: 0 1px 14px rgba(5, 16, 32, .5); }
.hero h1 { text-shadow: 0 2px 30px rgba(5, 16, 32, .42); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin-top: 34px; font-size: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px);
}
/* the rating pill opens the café's Google Maps page */
.pill-link { color: inherit; text-decoration: none; transition: background .3s var(--ease), border-color .3s var(--ease); }
.pill-link:hover, .pill-link:focus-visible { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #5ddc9a; box-shadow: 0 0 0 3px rgba(93, 220, 154, .25); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }

/* ---------- marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.marquee-track > span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.marquee-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); display: inline-block; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- sections ---------- */
section { position: relative; z-index: 1; }
.sec { padding-block: clamp(64px, 10vw, 128px); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 60px); }
.sec-head h2 { max-width: 20ch; text-wrap: balance; }
@media (min-width: 900px) {
  .sec-head.split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 40px; }
  .sec-head.split .lede { margin-bottom: 6px; }
}
.sec-alt { background: var(--cream-2); }

/* about */
.about-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); } }
.about-img { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.04); }
.about-text p + p { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats .n { font-family: var(--display); font-size: clamp(1.5rem, 2.9vw, 2.15rem); line-height: 1.1; text-wrap: balance; }
.stats .l { font-size: 13px; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

/* dish cards */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { position: relative; overflow: hidden; background: var(--sand); }
.card-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; color: var(--blue-deep);
}
.tag.veg { color: #2e7d4f; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; }
.card h3 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.price { font-size: 14.5px; font-weight: 600; color: var(--blue-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.card p {
  font-size: 14.2px; color: var(--ink-soft); line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}

/* coffee split */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); } }
.split.rev > :first-child { order: 2; }
.split-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; transition: transform 1.2s var(--ease); }
.split-img:hover img { transform: scale(1.04); }
.split-text p + p { margin-top: 18px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
.shots img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; transition: transform .6s var(--ease); }
.shots img:hover { transform: scale(1.06); }
.beans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-top: 28px; }
.bean { display: flex; gap: 14px; align-items: center; background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: 16px; padding: 12px; }
.bean img { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; flex: none; }
.bean .n { font-size: 14px; font-weight: 600; line-height: 1.35; }
.bean .p { font-size: 13px; color: var(--blue-deep); font-weight: 600; margin-top: 3px; }

/* menu */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: none; -ms-overflow-style: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; border: 1px solid var(--line); background: none; border-radius: 999px;
  padding: 9px 17px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tab:hover { background: rgba(16, 36, 63, .05); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-panel { display: none; }
.menu-panel.is-on { display: block; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.menu-intro { margin: 22px 0 6px; max-width: 70ch; color: var(--ink-soft); font-size: 15px; }
.menu-list { margin-top: 20px; display: grid; gap: 2px; }
.mrow {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 3px 16px; align-items: baseline;
  padding: 13px 14px; border-bottom: 1px solid var(--line-soft);
}
/* one square per line of the carte: the picture the café uses on its own
   order page, so the menu reads the same here and there */
.mthumb { grid-row: 1 / span 2; align-self: start; margin-top: 1px; width: 56px; height: 56px; border-radius: 13px; overflow: hidden; background: var(--ice); }
.mthumb img { width: 100%; height: 100%; object-fit: cover; }
.mthumb.is-empty { background: linear-gradient(135deg, var(--ice), #eef4fb); display: grid; place-items: center; color: var(--blue-deep); }
.mthumb.is-empty svg { width: 52%; height: 52%; opacity: .62; }
@media (max-width: 560px) {
  .mrow { grid-template-columns: 46px 1fr auto; gap: 3px 12px; padding: 12px 8px; }
  .mthumb { width: 46px; height: 46px; border-radius: 11px; }
}
.mrow:hover { background: rgba(16, 36, 63, .025); }
.mrow .n { font-weight: 600; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.mrow .d { grid-column: 2 / -1; font-size: 14.2px; color: var(--ink-soft); max-width: 78ch; }
.mrow .p { font-weight: 600; font-size: 15px; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.chip { font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--ice); color: var(--blue-deep); }
.chip.veg { background: #e4f3ea; color: #2e7d4f; }
.menu-note { margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); max-width: 72ch; }

/* gallery */
.gal { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gal { grid-template-columns: repeat(4, 1fr); } }
.gal figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.gal img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform 1s var(--ease); }
.gal figure:hover img { transform: scale(1.06); }
@media (min-width: 760px) {
  .gal figure:nth-child(1), .gal figure:nth-child(6) { grid-column: span 2; }
  .gal figure:nth-child(1) img, .gal figure:nth-child(6) img { aspect-ratio: 3 / 2; }
}

/* reviews */
.rev-grid { display: grid; gap: clamp(14px, 1.7vw, 20px); align-items: start; }
@media (min-width: 720px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
.rev {
  background: var(--cream-2); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 22px 24px; display: flex; flex-direction: column; gap: 11px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.rev:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.rev q { font-size: 15.4px; line-height: 1.6; quotes: none; color: var(--ink); }
.rev-who { display: flex; align-items: center; gap: 11px; padding-top: 2px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--ice); color: var(--blue-deep); display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
/* name over date, set tight: a <br> here inherited the card's line-height
   and left a hole between the two lines */
.rev-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rev-who .nm { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.rev-who .dt { font-size: 12.5px; color: var(--ink-soft); line-height: 1.25; }
.rev-score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.big-score { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }

/* order */
.order-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ocard {
  border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); border: 1px solid var(--line-soft);
  background: var(--cream-2); display: flex; flex-direction: column; gap: 12px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ocard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ocard.accent { background: var(--navy); color: #fff; border-color: transparent; }
.ocard.accent p { color: rgba(255, 255, 255, .8); }
.ocard.accent .ic { background: rgba(255, 255, 255, .14); color: #fff; }
.ic { width: 46px; height: 46px; border-radius: 14px; background: var(--ice); color: var(--blue-deep); display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; }
.ocard h3 { font-family: var(--sans); font-weight: 600; font-size: 1.22rem; }
.ocard .btn { align-self: flex-start; margin-top: 10px; }

/* find us */
.find-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .find-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.info { display: grid; gap: 22px; margin-top: 30px; }
.info-row { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.info-row .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.info-row .v { font-size: 17px; font-weight: 500; }
.info-row a.v:hover { color: var(--blue); }
/* The block shows a plan of the quarter straight away — stitched from
   OpenStreetMap once by tools/make-map.mjs and served from here, so nothing
   is fetched from anyone until the visitor asks for the Google map. The café
   is the middle pixel of that picture and the slot crops around the middle,
   so the pin can simply stand in the centre whatever the size. */
.map-box { display: grid; gap: 12px; }
@media (min-width: 900px) { .map-box { grid-template-rows: minmax(0, 1fr) auto; height: 100%; } }
.map {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; height: 100%;
  background: var(--ice); display: grid; align-content: start; justify-items: center;
  border: 1px solid var(--line-soft);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the café's own logo as the marker, on a white disc with a little tail: the
   tip of the tail is the door, so the whole thing hangs above the centre */
.map-pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.map-pin img {
  position: absolute; left: -31px; bottom: 9px; width: 62px; height: 62px; max-width: none;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(16, 36, 63, .38);
}
.map-pin::after {
  content: ""; position: absolute; left: -8px; bottom: -1px;
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 12px solid #fff;
  filter: drop-shadow(0 4px 4px rgba(16, 36, 63, .22));
}
/* the only thing floating on the plan is the button; the line about Google
   sits under the block, where it hides neither the logo nor the sea */
.map .map-load { position: relative; z-index: 1; margin-top: 18px; box-shadow: 0 10px 26px rgba(16, 36, 63, .3); }
.map-note { font-size: 12.5px; color: var(--ink-soft); }
/* bottom left, out of the way of the sea in the bottom right corner */
.map-credit {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  font-size: 10.5px; color: var(--ink-soft); background: rgba(255, 255, 255, .8);
  border-radius: 999px; padding: 3px 9px;
}
.map-credit:hover { color: var(--blue); }

/* footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, .78); padding-block: clamp(48px, 7vw, 84px) 28px; margin-top: 0; }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 14px; }
.foot a:hover { color: #fff; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; letter-spacing: .04em; }
.foot-brand img { width: 40px; height: 40px; border-radius: 50%; }
.foot ul li { padding: 5px 0; font-size: 14.5px; }
.foot-bar { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 13px; }
.soc { display: flex; gap: 10px; margin-top: 18px; }
.soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; transition: background .3s var(--ease), transform .3s var(--ease); }
.soc a:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.soc svg { width: 18px; height: 18px; }

/* legal page */
.legal { padding-block: clamp(56px, 8vw, 110px); }
.legal h2 { margin-top: 38px; font-size: 1.4rem; font-family: var(--sans); font-weight: 600; }
.legal p { margin-top: 10px; color: var(--ink-soft); max-width: 72ch; }

/* ---------- reveal animation ----------
   Everything arrives as the page is scrolled: a block fades and rises, a
   group's children follow one another, a photo eases out of a slight zoom,
   and a big heading comes in word by word, each word rising out of its own
   line. The resting state is the element's own CSS — the reveal only ever
   describes where it starts (:not(.in)), so hover zooms keep working once a
   thing has arrived. .rv is doubled so it outweighs rules such as the one on
   .shots img, which sets a transition of its own. */
[data-reveal], .rv.rv { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal]:not(.in), .rv:not(.in) { opacity: 0; transform: translateY(26px); }

/* a photo settles instead of sliding */
[data-reveal="img"]:not(.in) { transform: translateY(14px); }
[data-reveal="img"]:not(.in) img, .rv:not(.in) img { transform: scale(1.06); }

/* a heading, word by word */
.wd { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.wdi { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); }
.in .wdi, .wsplit.in .wdi { transform: none; }
.wsplit:not(.in) { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .rv { opacity: 1; transform: none; }
  .wd { overflow: visible; }
  .wdi { transform: none; }
  .hero-media img { transform: none; animation: none; }
}
