/* La Patissiere — the site footer, and ONLY the site footer.
   🔴 It lives in its own file because index.html and shop.html are
   self-contained pages that do not load site.css, and they cannot be
   made to: shop.html already defines .foot as a PRODUCT CARD's price
   row. Loading site.css there would have repeated the .lane collision
   of 9 Nov, where a shared class silently restyled a whole page and
   every automated check passed.
   So the classes carry an sf- prefix that exists nowhere else, and all
   18 pages load this one file. One footer, one definition. */

.sitefoot{background:var(--ink);color:#C9C3B4;padding-block:clamp(44px,5vw,66px) 0}
.sitefoot a{color:#E9E3D4;text-decoration:none}
.sitefoot a:hover{color:#fff;text-decoration:underline}
.sitefoot a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.sf-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:38px}
.sf-mark img{height:56px;width:auto;margin-bottom:16px}
.sf-blurb{font-size:14px;line-height:1.66;color:#9E9887;max-width:34ch;margin:0}
.sf-col h3{
  font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin:0 0 15px;
}
.sf-col ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.sf-col li{font-size:14.5px}
.sf-col address{font-style:normal;font-size:14.5px;line-height:1.7;color:#C9C3B4}
.sf-bot{
  margin-top:clamp(34px,4vw,52px);border-top:1px solid rgba(255,255,255,.14);
  padding-block:20px 26px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  align-items:center;
  /* Clearance for the fixed buttons. They live at the viewport's bottom-right
     and therefore land on this row's right-hand end when you scroll to the
     very bottom -- they have now covered the Lenawa mark once and the word
     Muscat once. 🔴 24 Nov this is a STACK, not one button: WhatsApp (56px)
     with back-to-top above it, so the reserve is the widest member plus its
     offset plus breathing room. Width is set by WhatsApp; height is the thing
     that grew, and that is handled at the mobile breakpoint below. */
  /* 🔴 MEASURED, NOT TYPED. The launcher is a pill whose width depends on a
     label that is edited in contact.js, so a fixed number here goes stale the
     first time that label changes. contact.js measures the rendered button
     and publishes --lp-wa-res on :root; 34px covers the 22px offset plus air.
     🔴 The fallback is the WIDEST label currently in play, not the collapsed
     circle. Over-reserving costs a little whitespace on the bottom row;
     under-reserving puts a button on the word Muscat, which has already
     happened twice on this project. If the script is slow, blocked or broken
     the footer should fail wide, and the measured value only ever tightens
     it. */
  padding-right:calc(var(--lp-wa-res, 245px) + 34px);
  font-size:13px;color:#8E8878;
}
/* Agency credit. The Lenawa mark is white with an acid-green accent, which is
   louder than anything else on this warm footer, so it is held back at 55%
   opacity and only comes up on hover or keyboard focus. The height is fixed
   and the width left auto so the mark can be re-exported at any size without
   the footer shifting. */
.sf-by{
  /* Centred on the bottom line between the two statements of fact, so it reads
     as a signature rather than a second footer row. It had its own line and sat
     oddly (Liwaa, 17 Nov). Centring also keeps it clear of the fixed
     back-to-top button, which owns the bottom-right corner on every page and
     had already landed on top of this mark once. */
  /* 🔴 min-height:44px — this was 17px. It is Lenawa's own credit AND the
     link back to lenawa.com, so it is a referral path, not decoration:
     making it hard to tap costs us, not the client. The height is added as
     target, not as visible weight — the mark and the wording are unchanged,
     and the row already has clearance below it. */
  display:inline-flex;align-items:center;min-height:44px;gap:7px;text-decoration:none;
  color:#8E8878;opacity:.6;transition:opacity .22s ease;
}
.sf-by:hover,.sf-by:focus-visible{opacity:1}
.sf-by > span{font-size:11px;letter-spacing:.07em;text-transform:uppercase}
.sf-heart{color:#D4484B;flex:none}
/* Screen readers get the whole sentence; sighted readers get the logo. */
.sf-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sf-by img{height:16px;width:auto;display:block}
@media (prefers-reduced-motion:reduce){ .sf-by{transition:none} }

@media (max-width:760px){
  .sf-bot{flex-direction:column;gap:8px;align-items:flex-start}
}

@media (max-width:1000px){
  .sf-grid{grid-template-columns:1fr 1fr;gap:30px}
  .sf-mark{grid-column:1 / -1}
}
@media (max-width:600px){
  .sf-grid{grid-template-columns:1fr;gap:26px}
}

/* ── Tap targets ──────────────────────────────────────────────────────────
   The footer's links were 17px tall: the text's own line box, no padding.
   Fine with a mouse, a poor target with a thumb. Two different fixes,
   because the two groups are not worth the same to us.

   The address link is the one a distributor actually uses. It gets a real
   target at EVERY width — there is one of it, it already sits alone on its
   line before a <br>, and the whole cost is about 20px of footer height.
   min-height declares the box; it is never arrived at via padding, so no
   later rule can quietly undo it by trimming padding. */
.sf-col address a{display:inline-flex;align-items:center;min-height:44px}

/* The nav lists only grow where a finger is doing the tapping. Width alone
   is the wrong test — a 1180px iPad is touch and a 900px desktop window is
   not — but hover:none is not reliable on touchscreen laptops and some
   Android builds, so both tests run and either one is enough.
   The 9px grid gap goes: the padding now does the separating, and keeping
   both would push a 4-link column 140px taller for nothing.

   🔴 Resizing a desktop browser window will NOT show this. hover:none is
   an input-modality query — DevTools device mode or a real phone will. */
@media (hover:none), (max-width:760px){
  .sf-col ul{gap:0}
  .sf-col li a{display:flex;align-items:center;min-height:44px}
}

/* Social profiles. Inline SVG taking its colour from the link, so one set of
   icons works on this dark footer and would work on a light one. Held at the
   same muted tone as the body text and coming up to gold on hover: these are
   a confirmation of identity, not a call to action — the enquiry form is the
   call to action. */
.sf-soc{list-style:none;display:flex;gap:10px;margin:18px 0 0;padding:0}
.sf-soc a{
  /* 🔴 34px was under the 44px tap floor, on every page that has a footer.
     The visible circle stays 34px -- three fat discs would unbalance the
     footer -- so the TARGET is grown to 44 with transparent padding and the
     border is drawn on an inner box. What the thumb hits and what the eye
     sees are allowed to differ; only one of them is a standard. */
  position:relative;
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  color:#8E8878;
  transition:color .2s ease;
}
/* the disc the eye sees, inside the 44px target the thumb gets */
.sf-soc a::before{
  content:'';position:absolute;width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  transition:border-color .2s ease,background-color .2s ease;
}
.sf-soc a>*{position:relative}
.sf-soc li{display:flex}
/* 🔴 The fill goes on the disc, not on the link. The link is now a 44px
   transparent target; painting the hover background there would light up a
   44px gold circle where a 34px one used to be, and the three marks would
   suddenly crowd each other on hover only. */
.sf-soc a:hover,.sf-soc a:focus-visible{ color:#1B1A17 }
.sf-soc a:hover::before,.sf-soc a:focus-visible::before{
  background:var(--gold,#C9A86A);border-color:var(--gold,#C9A86A);
}
/* negative offset so the focus ring hugs the visible disc rather than the
   invisible 44px target, which would otherwise look like a stray halo */
.sf-soc a:focus-visible{outline:2px solid #fff;outline-offset:-3px}
@media (prefers-reduced-motion:reduce){
  .sf-soc a,.sf-soc a::before{transition:none}
}

@media (max-width:760px){
  /* Stacked: each statement is its own row, so the buttons only ever threaten
     the last one. Reserve height below them rather than width beside them.
     🔴 The reserve is measured from the TOP of the stack, not the top of the
     nearest button: 22 + 56 (WhatsApp) + 12 + 46 (back-to-top) = 136, plus a
     little air. Reserving for one button is what put a button on the word
     Muscat the first time. */
  .sf-bot{padding-right:0;padding-bottom:144px;flex-direction:column;
    align-items:flex-start;gap:10px;text-align:left}
}

@media (max-width:600px){
  /* 🔴 Below 600 the two controls stop being a stack and go to OPPOSITE
     corners -- WhatsApp bottom-right, back-to-top bottom-left (see site.css
     and index.html's own copy). A 136px vertical reserve on a 390px screen
     left a visible hollow under "Established 2005"; side by side, each button
     only needs its own height. Reserve = 52px button + 14px offset + air. */
  .sf-bot{padding-bottom:78px}
}
