/* --------------------------------------------------------------------------
   Wilbur By The Waves
   One stylesheet, no framework, no build step.
   -------------------------------------------------------------------------- */

:root {
  --ink:        #12313c;
  --ink-soft:   #4a666f;
  --ink-faint:  #7b929a;
  --sand:       #fbf7f0;
  --sand-deep:  #f2e9d9;
  --paper:      #ffffff;
  --line:       #e4dccc;
  --sea:        #0f5c6b;
  --sea-deep:   #0d3d4d;
  --sea-pale:   #dcecee;
  --coral:      #cf5738;
  --coral-pale: #fbe8e1;
  --gold:       #b7842f;

  --shadow-sm: 0 1px 2px rgba(18, 49, 60, .06), 0 2px 8px rgba(18, 49, 60, .05);
  --shadow-md: 0 2px 4px rgba(18, 49, 60, .06), 0 12px 28px rgba(18, 49, 60, .10);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           Georgia, serif;
  --sans:  ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
           Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--coral); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18;
             letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
section { padding: 4.5rem 0; }
section.tint { background: var(--sand-deep); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--sea-deep); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 247, 240, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 1.4rem; min-height: 72px; flex-wrap: wrap;
}
.site-nav { margin-left: auto; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none;
         color: var(--sea-deep); }
.brand-mark { color: var(--sea); display: flex; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text b { font-family: var(--serif); font-size: 1.32rem; font-weight: 600;
                letter-spacing: -.015em; }
.brand-text i {
  font-style: normal; font-size: .655rem; letter-spacing: .21em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 2px;
}
.site-nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none;
               margin: 0; padding: 0; justify-content: flex-end; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .93rem;
  white-space: nowrap;
  font-weight: 550; letter-spacing: .01em; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--sea-deep); border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--sea-deep); border-bottom-color: var(--coral); }
.nav-cta { padding: .5rem 1.15rem; font-size: .85rem; flex: none; }

/* ----------------------------------------------------------- page head --- */
.page-head {
  background: linear-gradient(168deg, var(--sea-deep) 0%, var(--sea) 62%, #14707c 100%);
  color: #fff; padding: 3.6rem 0 4rem; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 46px;
  background: var(--sand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24c120-16 220-16 330 2s210 20 330 2 220-16 330 2 190 14 210 10v6z' fill='%23000'/%3E%3C/svg%3E") no-repeat 50% / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24c120-16 220-16 330 2s210 20 330 2 220-16 330 2 190 14 210 10v6z' fill='%23000'/%3E%3C/svg%3E") no-repeat 50% / 100% 100%;
}
.page-head h1 { color: #fff; max-width: 18ch; }
.page-head .lede {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 62ch;
  color: rgba(255, 255, 255, .9); margin-bottom: 0;
}
.eyebrow {
  font-size: .72rem; letter-spacing: .19em; text-transform: uppercase;
  font-weight: 700; color: #8fd0d2; margin: 0 0 1rem;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none;
                 margin: 0 0 1.4rem; padding: 0; font-size: .82rem;
                 color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }

.section-head { max-width: 60ch; margin-bottom: 2.4rem; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }

/* ------------------------------------------------------------ the map --- */
.map-figure { margin: 0; }
.map-frame {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-md); padding: .55rem; overflow: hidden;
}
svg.map { display: block; width: 100%; height: auto; border-radius: 9px; }

.m-land   { fill: #f4efe4; }
.m-ocean  { fill: #cfe6ec; }
.m-beach  { fill: #f0e3c6; }
.m-park   { fill: #dceccd; }
.m-road   { fill: none; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; }
.m-road.r-minor { stroke: #ffffff; }
.m-road.r-mid   { stroke: #ffffff; }
.m-road.r-major { stroke: #fdf3d8; }
.m-pier   { fill: none; stroke: #ffffff; stroke-width: 4; stroke-linecap: round; }

.m-street {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .09em; fill: #94a8ad; text-anchor: middle;
}
.m-label-ocean {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  fill: #7fb0be; text-anchor: middle; letter-spacing: .06em;
}
.m-label-area {
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  letter-spacing: .17em; fill: #b9a98c; text-anchor: middle;
}

.m-pin circle { stroke: #fff; stroke-width: 2.5; }
.m-pin text {
  font-family: var(--sans); font-size: 15px; font-weight: 700; fill: #fff;
  text-anchor: middle;
}
.m-lead { stroke: #8ea3a9; stroke-width: 1.6; }
.m-true { fill: #8ea3a9; stroke: none; }
.m-pin.p-eat circle    { fill: var(--coral); }
.m-pin.p-eat .m-true    { fill: var(--coral); }
.m-pin.p-coffee circle { fill: var(--gold); }
.m-pin.p-coffee .m-true { fill: var(--gold); }

.m-house-halo { fill: rgba(15, 92, 107, .16); }
.m-house-dot  { fill: var(--sea-deep); stroke: #fff; stroke-width: 3; }
.m-house-icon { fill: #fff; }
.m-house-label {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: .11em; fill: var(--sea-deep); text-anchor: middle;
  paint-order: stroke; stroke: rgba(251, 247, 240, .95); stroke-width: 5px;
  stroke-linejoin: round;
}

.map-legend {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center;
  margin-top: 1.1rem; font-size: .88rem; color: var(--ink-soft);
}
.map-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.map-legend i {
  width: 14px; height: 14px; border-radius: 50%; display: inline-block;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(18, 49, 60, .12);
}
.key-house  { background: var(--sea-deep); }
.key-eat    { background: var(--coral); }
.key-coffee { background: var(--gold); }
.key-beach   { background: #1f7f97; }
.key-lajolla { background: #7a5cc0; }
.key-park    { background: #3f8f4e; }
.key-sunset  { background: #e0722c; }

.m-pin.p-beach circle    { fill: #1f7f97; }
.m-pin.p-beach .m-true   { fill: #1f7f97; }
.m-pin.p-lajolla circle  { fill: #7a5cc0; }
.m-pin.p-lajolla .m-true { fill: #7a5cc0; }
.m-pin.p-park circle     { fill: #3f8f4e; }
.m-pin.p-park .m-true    { fill: #3f8f4e; }
.m-pin.p-sunset circle   { fill: #e0722c; }
.m-pin.p-sunset .m-true  { fill: #e0722c; }

/* Fallback tiles, tinted to match their map pins. */
.no-photo.p-park-tile    { background: linear-gradient(150deg, #204a28, #3f8f4e 70%, #56a866); }
.no-photo.p-sunset-tile  { background: linear-gradient(150deg, #8c3d12, #e0722c 72%, #f0954f); }
.map-note { font-size: .84rem; color: var(--ink-faint); margin: .9rem 0 0; }

/* --------------------------------------------------------- place cards --- */
.places { display: grid; gap: 2.2rem; margin: 0; padding: 0; list-style: none; }

.place {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.place:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.place:nth-child(even) .place-media { order: 2; }

.place-media { position: relative; background: var(--sea-pale); min-height: 320px; }

/* A swipeable photo strip. Pure CSS scroll-snap, because the page ships no
   JavaScript at all and the CSP blocks it outright. Each photo is slightly
   narrower than the frame so the next one peeks in, which is the signal that
   there is more to see. */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 92%;
  gap: 4px;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery > img {
  width: 100%; height: 100%; object-fit: cover;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.gallery:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
/* A single photo has nothing to scroll to, so let it fill the frame. */
.gallery > img:only-child { grid-column: 1 / -1; }
.place-media:has(.gallery > img:only-child) .gallery { grid-auto-columns: 100%; }

.photo-credit {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  padding: .45rem .8rem; font-size: .66rem; line-height: 1.35;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(transparent, rgba(18, 49, 60, .72) 45%);
  pointer-events: auto;
}
.photo-credit a { color: rgba(255, 255, 255, .92); text-decoration: underline; }
.photo-credit a:hover { color: #fff; }

.shot-count {
  position: absolute; bottom: 2.1rem; right: .8rem; z-index: 2;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: rgba(18, 49, 60, .62);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: .28rem .7rem;
  pointer-events: none;
}

.place-num {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; color: #fff;
  background: var(--coral); box-shadow: 0 0 0 3px #fff, var(--shadow-sm);
}
.place.is-coffee .place-num { background: var(--gold); }
.p-beach-tile   .place-num, .place:has(.p-beach-tile) .place-num   { background: #1f7f97; }
.p-lajolla-tile .place-num, .place:has(.p-lajolla-tile) .place-num { background: #7a5cc0; }
.p-park-tile    .place-num, .place:has(.p-park-tile) .place-num    { background: #3f8f4e; }
.p-sunset-tile  .place-num, .place:has(.p-sunset-tile) .place-num  { background: #e0722c; }

.place-body { padding: 2rem 2.1rem; display: flex; flex-direction: column; }
.place-body h3 {
  font-size: 1.5rem; margin-bottom: .55rem; letter-spacing: -.015em;
}
.place-body h3 a { color: inherit; text-decoration: none; }
.place-body h3 a:hover { color: var(--coral); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0;
         list-style: none; }
.chips li {
  font-size: .69rem; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 700; color: var(--sea); background: var(--sea-pale);
  border-radius: 999px; padding: .3rem .68rem;
}
.chips li.price { background: var(--coral-pale); color: var(--coral); }
/* For a constraint the reader needs to notice before they walk over. */
.chips li.warn { background: #fdf0d5; color: #8a5d00; }

.sub-head { margin-top: 3.4rem; }
.sub-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: .35rem; }
.places + .sub-head { margin-top: 3.6rem; }

.place-meta { list-style: none; margin: 0 0 1.1rem; padding: 0;
              font-size: .9rem; color: var(--ink-soft); }
.place-meta li { display: flex; gap: .6rem; align-items: flex-start;
                 padding: .18rem 0; }
.place-meta svg { flex: none; margin-top: .22rem; color: var(--ink-faint); }

.addr-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px dotted var(--ink-faint);
  display: inline; transition: color .18s ease, border-color .18s ease;
}
.addr-link svg { margin-left: .28rem; vertical-align: -1px; opacity: .55; }
.addr-link:hover { color: var(--sea); border-bottom-color: var(--sea); }
.addr-link:hover svg { opacity: 1; }
.coffee .addr .addr-link { border-bottom-color: var(--line); }

.why {
  background: var(--sand); border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0; padding: .9rem 1.1rem; margin: 0 0 1.3rem;
  font-size: .95rem;
}
.why b { font-family: var(--serif); font-size: 1rem; display: block;
         margin-bottom: .15rem; color: var(--sea-deep); }
.place.is-coffee .addr-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px dotted var(--ink-faint);
  display: inline; transition: color .18s ease, border-color .18s ease;
}
.addr-link svg { margin-left: .28rem; vertical-align: -1px; opacity: .55; }
.addr-link:hover { color: var(--sea); border-bottom-color: var(--sea); }
.addr-link:hover svg { opacity: 1; }
.coffee .addr .addr-link { border-bottom-color: var(--line); }

.why { border-left-color: var(--gold); }

.place-body .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .7rem; }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  padding: .62rem 1.15rem; border-radius: 999px; border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--sea-deep); color: #fff; }
.btn-primary:hover { background: var(--coral); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink-soft); background: var(--paper); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea-deep); }

/* Per-page tints for the fallback tiles, matched to that page's pin colour.
   Declared after the base rule below would lose on source order, so they are
   written as a compound selector on the same element. */
.place-media.no-photo.p-beach-tile   { background: linear-gradient(150deg, #0d4a58, #1f7f97 70%, #2e9ab4); }
.place-media.no-photo.p-lajolla-tile { background: linear-gradient(150deg, #3d2c66, #7a5cc0 70%, #9179d2); }
.place-media.no-photo.p-park-tile    { background: linear-gradient(150deg, #204a28, #3f8f4e 70%, #56a866); }
.place-media.no-photo.p-sunset-tile  { background: linear-gradient(150deg, #8c3d12, #e0722c 72%, #f0954f); }

/* Fallback tile when a place has no photo we can use. */
.place-media.no-photo {
  background: linear-gradient(150deg, var(--sea-deep), var(--sea) 70%, #17798a);
  display: grid; place-items: center; text-align: center; padding: 2rem;
  color: #fff;
}
.no-photo .glyph { font-size: 3.4rem; line-height: 1; margin-bottom: .7rem; }
.no-photo p { font-family: var(--serif); font-size: 1.15rem; margin: 0;
              color: rgba(255, 255, 255, .92); max-width: 22ch; }

/* -------------------------------------------------------- coffee cards --- */
.coffee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
               list-style: none; margin: 0; padding: 0; }
.coffee {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem 1.6rem 1.5rem; position: relative;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.coffee:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.coffee .place-num { position: absolute; top: 1rem; left: 1rem; background: var(--gold); }
.coffee { padding: 0; overflow: hidden; }
.coffee-media {
  position: relative; height: 210px; margin: 0 0 1.4rem;
  background: var(--sea-pale); border-bottom: 1px solid var(--line);
}
.coffee-media .gallery { height: 100%; }
.coffee-media.no-photo {
  background: linear-gradient(150deg, #8a6a24, var(--gold) 70%, #d3a13f);
  display: grid; place-items: center; text-align: center; padding: 1.4rem; color: #fff;
}
.coffee-media.no-photo .glyph { font-size: 2.6rem; line-height: 1; margin-bottom: .5rem; }
.coffee-media.no-photo p {
  font-family: var(--serif); font-size: 1rem; margin: 0;
  color: rgba(255,255,255,.94); max-width: 20ch;
}
.coffee > :not(.coffee-media):not(.place-num) { margin-left: 1.6rem; margin-right: 1.6rem; }
.coffee .hours { margin-left: 1.6rem; margin-right: 1.6rem; margin-bottom: 1.5rem; }
.coffee h3 { font-size: 1.24rem; margin-bottom: .3rem; }
.coffee .addr { font-size: .86rem; color: var(--ink-faint); margin-bottom: .9rem; }
.coffee p { font-size: .95rem; color: var(--ink-soft); }
.coffee .hours {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--sea); font-weight: 600;
  display: flex; align-items: center; gap: .45rem;
}

/* ------------------------------------------------------------ callouts --- */
.callout {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2rem 2.2rem; box-shadow: var(--shadow-sm);
}
.callout h2 { font-size: 1.5rem; }
.callout ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); }
.callout li { margin-bottom: .5rem; }

.callout-flag {
  border-left: 4px solid var(--coral);
  background: linear-gradient(100deg, var(--coral-pale), var(--paper) 55%);
}
.flag-kicker {
  font-size: .7rem; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 700; color: var(--coral); margin: 0 0 .35rem;
}
.callout-flag h3 { font-size: 1.5rem; margin-bottom: .5rem; }

.store-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  list-style: none; margin: 2rem 0 0; padding: 0;
}
.store {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.store h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.store .addr { font-size: .84rem; color: var(--ink-faint); margin-bottom: .8rem; }
.store p { font-size: .93rem; color: var(--ink-soft); }
.store .hours {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  font-size: .83rem; color: var(--sea); font-weight: 600;
}

.fineprint { margin: 1.2rem 0 0; font-size: .9rem; color: var(--ink-faint); }

.walk-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.walk-strip div {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem 1.3rem; text-align: center;
}
.walk-strip b { display: block; font-family: var(--serif); font-size: 2rem;
                color: var(--sea-deep); line-height: 1.1; }
.walk-strip span { font-size: .82rem; color: var(--ink-faint); letter-spacing: .04em; }

/* ------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--sea-deep); color: rgba(255, 255, 255, .78);
  padding: 3.5rem 0 2.2rem; margin-top: 0; font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }
.site-footer h2 { color: #fff; font-size: 1.35rem; margin-bottom: .4rem; }
.site-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .16em;
                  text-transform: uppercase; font-family: var(--sans);
                  font-weight: 700; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; color: rgba(255, 255, 255, .62); }
.colophon {
  margin: 2.5rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .8rem; color: rgba(255, 255, 255, .55); max-width: 72ch;
}

/* --------------------------------------------------------------- home --- */
.head-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.9rem 0 0; }
.btn-solid   { background: var(--coral); color: #fff; }
.btn-solid:hover { background: #fff; color: var(--sea-deep); }
.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff;
                     border-color: #fff; }

.showcase { padding-top: 3.2rem; }
.shot-lead { margin: 0 0 1.1rem; }
.shot-lead img, .shot-pair img {
  width: 100%; border-radius: var(--r); box-shadow: var(--shadow-md);
  object-fit: cover;
}
.shot-lead img { aspect-ratio: 3 / 2; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 0; }
.shot-grid figure { margin: 0; }
.shot-grid img { aspect-ratio: 4 / 3; }
.shot-note { margin: 1.3rem 0 0; font-size: .92rem; color: var(--ink-soft); }

.book-band { background: var(--sea-deep); color: #fff; text-align: center; }
.book-band h2 { color: #fff; margin-bottom: .3rem; }
.book-band p { color: rgba(255, 255, 255, .78); margin-bottom: 1.6rem; }

.hero { padding: 5rem 0 5.5rem; }
.hero .lede { font-size: 1.15rem; max-width: 56ch; }
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.home-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.9rem; text-decoration: none; color: inherit; display: block;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease;
}
.home-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.home-card h3 { color: var(--sea-deep); }
.home-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 900px) {
  .place { grid-template-columns: 1fr; }
  .place:nth-child(even) .place-media { order: 0; }
  .place-media { min-height: 260px; }
  .coffee-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .walk-strip { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: 1fr; }
  .home-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 3.2rem 0; }
  .site-header .wrap { min-height: 64px; gap: .75rem; }
  /* Seven entries will not fit one row on a phone, and wrapping them left
     ragged half-rows. Scroll them instead. The scroller is .site-nav itself,
     and the full-bleed is done with padding rather than negative margins,
     which were pushing the whole page 67px wider than the viewport. */
  .site-nav {
    margin-left: 0; order: 3; width: 100%;
    border-top: 1px solid var(--line);
    overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul {
    flex-wrap: nowrap; justify-content: flex-start; width: max-content;
    gap: 1.15rem; padding: .4rem 1.25rem .45rem 0;
  }
  .site-nav li { flex: 0 0 auto; }
  .site-nav a { font-size: .85rem; padding-bottom: .3rem; }
  .site-header .wrap { min-height: 0; padding-top: .6rem; }
  .nav-cta { padding: .45rem 1rem; font-size: .8rem; }
  .head-actions .btn { flex: 1 1 100%; justify-content: center; }
  .brand-text b { font-size: 1.15rem; }
  .place-body { padding: 1.6rem 1.4rem; }
  .map-frame { padding: .35rem; }
  .m-street { font-size: 17px; }
  .m-label-area { font-size: 19px; }
  text.m-ocean { font-size: 27px; }
  .m-house-label { font-size: 18px; }
  .m-pin text { font-size: 18px; }
  .m-pin circle { r: 18; }
}
