/* ==================================================================================================
   FIND US — css/find-us.css. The one stylesheet for the "where we are, when we are open" block
   (js/find-us.js), used by dosaeatery.online (home, /unlimited-dosa, /dosa-kit) and by
   order.dosaeatery.online, which loads this file from dosaeatery.online. Moved out of site.css on
   2026-10-19 so there is exactly one copy. It relies on the shared tokens (--paper, --ink, --accent,
   --fs-*, --display, --r-md …) and on .eyebrow / .h2 / .btn, which both sites define.
   The :where() rules at the end carry the few site.css primitives the block needs on a page that
   has no site.css slider or label rules (the order site); :where() keeps them at the same
   specificity as site.css's own, so on dosaeatery.online nothing changes hands.
   ================================================================================================ */
:where(.find-us:not(.sec)){padding-block:var(--section-y,clamp(34px,6vw,60px))}

/* =================================================================================== 8 · FIND US
   Rebuilt on 2026-09-10. It used to be an address, two buttons and a button that fetched a map;
   the owner's note was "needs more work, map has to be loaded automatically".
   ============================================================================================== */
/* .sec--find carried --paper-2 until 2026-09-11; the page is one seamless paper now (see the note above §2). */
.find-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(30px,5vw,52px)}
.find-info{min-width:0}
@media (min-width:900px){
  .find-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);align-items:start;gap:clamp(36px,5vw,64px)}
  /* The info column is the taller one — hours plus the getting-here notes. Pinning the map keeps
     the pin on screen while someone reads down the opening times. */
  .find-mapcol{position:sticky;top:calc(var(--hdr) + 24px)}
}
.find-addr{margin-top:clamp(16px,2.6vw,22px);font-style:normal;display:grid;gap:2px}
.find-street{font-family:var(--display);font-weight:600;font-size:var(--fs-h4);line-height:1.25;letter-spacing:-.015em;color:var(--ink)}
.find-city{font-size:var(--fs-lede);line-height:1.45;color:var(--muted)}
.find-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(18px,3vw,24px)}
.find-actions .btn{flex:1 1 auto;min-width:min(100%,190px)}
@media (min-width:520px){.find-actions .btn{flex:0 0 auto}}
.find-h3{margin-top:clamp(28px,4.4vw,40px);color:var(--faint)}

/* hours — seven day cards in a strip that opens on today (site.js scrolls the slider there before
   the first paint it can). Two and a bit on a phone, three in the desktop column. */
.slider--hours{--gap:10px}
.hours{--n:2}
.slider--hours{margin-top:14px}
@media (min-width:520px){.hours{--n:3}}
.hours li{
  display:flex;flex-direction:column;gap:4px;padding:14px 15px 15px;min-width:0;
  border-radius:var(--r-md);background:var(--paper-2);border:1px solid var(--hair);
  font-size:var(--fs-ui);
}
.hours-day{font-family:var(--display);font-weight:600;font-size:1.02rem;letter-spacing:-.012em;color:var(--ink);min-width:0;overflow-wrap:break-word}
.hours-time{font-size:var(--fs-small);font-variant-numeric:tabular-nums;letter-spacing:-.008em;color:var(--muted);line-height:1.4}
/* site.js stamps data-today on the card for the BUSINESS day. It gets the accent border and a named
   chip above the day. The chip is a CSS ::before rather than markup because site.js owns this list
   and index.html cannot know which of the seven it will land on. */
.hours li[data-today="true"]{background:linear-gradient(170deg,var(--accent-soft),var(--paper-2) 70%);border-color:var(--accent-line)}
.hours li[data-today="true"] .hours-time{color:var(--ink);font-weight:600}
.hours li[data-today="true"]::before{
  content:"Today";align-self:flex-start;margin-bottom:6px;padding:2px 8px;border-radius:999px;
  background:var(--paper);border:1px solid var(--accent-line);color:var(--accent-ink);
  font-family:var(--sans);font-size:10.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  white-space:nowrap;
}
.hours-note{margin-top:14px;color:var(--faint);font-size:var(--fs-fine);line-height:1.5}

/* getting here — parking, the plaza, transit */
.find-notes{margin-top:clamp(26px,4vw,36px);display:grid;gap:16px}
.find-note{display:grid;grid-template-columns:22px minmax(0,1fr);gap:13px;align-items:start;min-width:0}
.find-note svg{width:20px;height:20px;margin-top:1px;fill:none;stroke:var(--accent-ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.find-note-h{font-size:var(--fs-ui);font-weight:600;letter-spacing:-.008em;color:var(--ink)}
.find-note-p{margin-top:3px;font-size:var(--fs-small);line-height:1.5;color:var(--muted);overflow-wrap:break-word}

/* THE MAP. It is an ordinary <iframe> in the markup with loading="lazy" — no button, no script,
   no facade. Three reasons, in order:
     1. The owner asked for it to load itself, and a facade needs a click or a script.
     2. loading="lazy" IS the intersection facade: the browser does not open the connection to
        google.com until the frame is near the viewport, and #find is roughly five screens down.
        A hand-written IntersectionObserver would buy nothing and would fail with JS off.
     3. website/js is not this pass's to change, and a map that depends on another agent's file
        is a map that might not load at all.
   The box owns its aspect-ratio, so the frame cannot shift the page whenever it does arrive, and
   the plaza-grid ground below is what fills the box until then — or forever, on a network that
   blocks google.com. Never a bare grey rectangle. */
.find-map{
  position:relative;border-radius:var(--r-lg);overflow:hidden;
  border:1px solid var(--hair);box-shadow:var(--lift-2);
  aspect-ratio:4/3;
  background:
    radial-gradient(circle at 50% 42%,var(--accent-soft),transparent 60%),
    repeating-linear-gradient(0deg,var(--hair) 0 1px,transparent 1px 44px),
    repeating-linear-gradient(90deg,var(--hair) 0 1px,transparent 1px 44px),
    var(--paper-3);
}
@media (min-width:900px){.find-map{aspect-ratio:1/1}}
/* Since 2026-09-11 this holds an inline SVG drawing of the corner (index.html §8) rather than a
   Google Maps iframe, and since the same afternoon it is NOT A BOX: the owner asked for "clip art
   only that overlays on the landing page background". So the --art variant strips the card — no
   border, no shadow, no ground, no aspect lock — and the SVG floats on the page paper; its own
   radial mask fades the roads out at the edges so there is no hard rectangle anywhere. The width
   cap keeps it from ballooning in the 900px+ two-column layout. */
.find-map--art{
  border:0;box-shadow:none;background:transparent;aspect-ratio:auto;overflow:visible;
  border-radius:0;max-width:520px;margin-inline:auto;
}
.find-art{display:block;width:100%;height:auto}
.find-art text{user-select:none}
.find-mapcap{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;
  margin-top:11px;color:var(--faint);font-size:var(--fs-fine);line-height:1.45;
}
.find-mapcap b{font-weight:600;color:var(--muted)}

/* ------------------------------------------------------------------ primitives, scoped (see above) */
:where(.find-us) .find-h3{font-size:var(--fs-micro,.72rem);font-weight:700;letter-spacing:.15em;text-transform:uppercase}
:where(.find-us) .btn svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
:where(.find-us) .slider{--gap:clamp(12px,2.2vw,18px);--n:1;--peek:.22;position:relative;min-width:0;max-width:100%}
:where(.find-us) .slider-track{display:flex;gap:var(--gap);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-block:8px 30px;margin-block:-8px -30px;list-style:none;padding-inline:0;margin-inline:0}
:where(.find-us) .slider-track::-webkit-scrollbar{display:none}
:where(.find-us) .slider-track>*{flex:0 0 calc((100% - var(--n) * var(--gap)) / (var(--n) + var(--peek)));scroll-snap-align:start;min-width:0}
:where(.find-us) .slider--hours{--gap:10px}
:where(.find-us) .hours{--n:2}
@media (min-width:520px){:where(.find-us) .hours{--n:3}}
