/* Shop fitouts (v3) · /shop-fitouts-melbourne. Loaded after assets/css/v3/base.css. This page's layout and its two signatures
   (docs/DESIGN-V3.md §8.3, motion ledger §6.5): A · the shopfront, layer by layer (Z-stack lock, a sticky sequence) and
   B · the opening-day split-flap board. Everything below is the finished, designed state: html.a-noanim (?noanim=1, reduced
   motion), html.no-js and html.a-late show it as is; shop.js only animates towards it (transform / opacity / clip-path). */

/* ------------------------------------------------------------------ hero */
.sh-hero .a-h1 { max-width: 12.4em; }
.sh-hero .a-lead { max-width: 31ch; text-wrap: balance; }
.sh-hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.sh-hero__trust .c-chip { margin: 0; }
.sh-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 167, 46, .2); }
.sh-hero__cap { right: var(--gut); bottom: clamp(52px, 9vh, 104px); }
.a-motion .sh-hero__trust, .a-motion .sh-hero__cap { animation: aUp .7s .34s var(--ease) both; }

/* ------------------------------------------------------------------ A · the shopfront, layer by layer */
.sh-front { background: radial-gradient(56% 64% at 70% 52%, rgba(232, 190, 87, .075), rgba(232, 190, 87, 0) 72%), var(--ink); color: var(--on-dark); padding: var(--sec) 0; overflow: clip; }
.a-motion .sh-front { padding: 0; background: var(--ink); }
.a-motion .sh-front__stage { background: radial-gradient(56% 64% at 70% 52%, rgba(232, 190, 87, .075), rgba(232, 190, 87, 0) 72%); }
.a-motion .sh-front__stage { display: flex; align-items: center; padding: calc(var(--head-h) + 12px) 0 20px; }
.sh-front__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: center; }
.sh-front .a-h2 { color: #fff; }
.sh-layers { display: grid; gap: 6px; margin-top: clamp(28px, 3.4vw, 48px); }
.sh-layers__i { display: flex; align-items: center; gap: 18px; min-height: 46px; font-size: clamp(18px, 1.45vw, 22px); font-weight: 600; letter-spacing: -.01em; transition: opacity .6s var(--ease); }
.sh-layers__n { display: inline-grid; place-items: center; flex: none; width: 42px; height: 28px; border: 1px solid rgba(232, 190, 87, .5); border-radius: 2px;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--gold-2); transition: background-color .45s, border-color .45s, color .45s; }
.sh-front.is-live .sh-layers__i { opacity: .3; }
.sh-front.is-live .sh-layers__i.is-set { opacity: .7; }
.sh-front.is-live .sh-layers__i.is-on, .sh-front.is-live.is-done .sh-layers__i { opacity: 1; }
.sh-front.is-live .sh-layers__i.is-on .sh-layers__n { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* the elevation: the shop.front photo (a vacant tenancy, 1600 × 1067) with the fitout drawn in register over it; every piece is
   placed in % of the photo. Finished state: the frame and signage planes have dissolved into the photo's own, the joinery and
   the lights stay (a photomontage, labelled "Illustrative"); the dim layer (the tenancy before the lights come on) is off. */
.sh-el { position: relative; margin: 0; aspect-ratio: 1600 / 1067; border-radius: var(--r-3); background: var(--stone); box-shadow: var(--sh-plane); isolation: isolate; }
.sh-el i { position: absolute; display: block; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); }
.sh-el__set, .sh-el__photo, .sh-el__dim, .sh-el__ly { position: absolute; inset: 0; border-radius: inherit; }
.sh-el__dim { background: rgba(13, 16, 18, .62); opacity: 0; pointer-events: none; }
.sh-el__ly--frame, .sh-el__ly--sign { opacity: 0; }                 /* locked into the photo's own frame and fascia */
.sh-el__set i { outline: 1px dashed rgba(18, 20, 23, .2); outline-offset: -1px; }                  /* printed setting-out, under the photo */
.sh-el__photo { overflow: hidden; }
.sh-el__photo img { width: 100%; height: 100%; object-fit: cover; }
.sh-el__ly { pointer-events: none; transform-origin: 50% 50%; }
.a-motion .sh-front.is-live .sh-el__ly, .a-motion .sh-front.is-live .sh-el__dim { will-change: transform, opacity; }
.sh-el__chip { left: 14px; top: 14px; z-index: 2; }
/* 01 frame: anodised aluminium, the sill catching the light */
.sh-f { background: linear-gradient(180deg, #62676a, #4d5255); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.sh-f--sill { background: linear-gradient(180deg, #a3aaad, #7d8588); }
/* 02 signage band: blank on purpose (no brand, no lettering) */
.sh-s { background: linear-gradient(180deg, #1d1f21, #161819); }
.sh-s--lip { background: #45433e; }
.sh-s--head { background: #2b2d2f; }
.sh-s--panel { background: #27292b; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5), inset 0 -1px 0 rgba(255, 255, 255, .07); }
/* 03 glazing: tint + two reflection streaks */
.sh-g { background: linear-gradient(112deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .1) 20%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, .2) 55%, rgba(255, 255, 255, 0) 63%),
  rgba(150, 178, 188, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
/* 04 display joinery: flat tone blocks (no props), multiplied onto the papered glass so the photo's light reads through */
.sh-el__ly--join { mix-blend-mode: multiply; }
.sh-j--floor { background: repeating-linear-gradient(90deg, #d9c19b 0 7.8%, #c9ad83 7.8% 8.1%); }
.sh-j--unit { background: #efe0c6; box-shadow: inset 0 0 0 1px rgba(120, 80, 40, .12); }
.sh-j--shelf, .sh-j--post { background: linear-gradient(180deg, #d0a26a, #b98a52); }
.sh-j--float { box-shadow: 0 3px 4px -2px rgba(80, 50, 20, .35); }
.sh-j--drawer { background: repeating-linear-gradient(90deg, #d6b07c 0 24.6%, #b58a55 24.6% 25%); }
.sh-j--top { background: linear-gradient(180deg, #e2d6c1, #cdbd9f); border-radius: 1px; }
.sh-j--front { background: repeating-linear-gradient(90deg, #cf9f64 0 2.6%, #a97b46 2.6% 3.3%); }
.sh-k { border-radius: 1px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }                /* stock on the shelves, as tone blocks */
.sh-k--a { background: #e4dac8; } .sh-k--b { background: #c4b193; } .sh-k--c { background: #8b8780; }
/* 05 lighting and power: pendants, then the light comes on (--on, shop.js; 1 = the finished state) */
.sh-el__ly--light { --on: 1; }
.sh-l--cord { width: 1px; background: rgba(30, 32, 34, .7); }
.sh-l--shade { background: linear-gradient(180deg, #34373a, #1c1e20); border-radius: 50% 50% 10% 10% / 100% 100% 12% 12%; }
.sh-l--shade::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: -18%; height: 36%; border-radius: 50%; background: #fff2d6; box-shadow: 0 0 12px 4px rgba(255, 210, 140, .9); opacity: var(--on); }
.sh-l--glow { mix-blend-mode: multiply; background: radial-gradient(ellipse 52% 76% at 50% 0%, rgba(255, 190, 100, .62), rgba(255, 190, 100, .2) 46%, rgba(255, 190, 100, 0) 74%); opacity: var(--on); }

/* ------------------------------------------------------------------ spaces: a street of shopfronts
   Mixed frontages standing on one footpath line (bottom-aligned), each under a blank ink fascia. shop.js slides the street
   into register as it arrives, each unit from its own depth; without motion it simply stands. */
.sh-spaces { overflow: clip; }
.sh-street { gap: var(--gap); align-items: end; }
.sh-street__unit { min-width: 0; }
.sh-street__fascia { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; background: var(--ink); color: var(--on-dark); border-radius: var(--r) var(--r) 0 0;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.sh-street__fascia b { font-weight: 500; color: var(--gold-2); }
.sh-street__media { border-radius: 0 0 var(--r) var(--r); }
.sh-street__unit--1 .sh-street__media { aspect-ratio: 3 / 4; }
.sh-street__unit--2 .sh-street__media { aspect-ratio: 4 / 3; }
.sh-street__unit--3 .sh-street__media { aspect-ratio: 11 / 20; }
.sh-street__unit--4 .sh-street__media { aspect-ratio: 5 / 4; }
.sh-spaces__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 40px; margin-top: var(--s7); }
.sh-spaces__else { max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--muted); }
.sh-spaces__else strong { color: var(--text); font-weight: 600; }
.sh-spaces__else a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(18, 20, 23, .3); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .3s; }
.sh-spaces__else a:hover { text-decoration-color: var(--gold); }
@media (min-width: 1200px) {                                         /* 3 + 4 + 2 + 3 columns: four frontages, four heights */
  .sh-street { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sh-street__unit--1, .sh-street__unit--4 { grid-column: span 3; } .sh-street__unit--2 { grid-column: span 4; } .sh-street__unit--3 { grid-column: span 2; }
}
@media (min-width: 768px) and (max-width: 1199px) {                  /* two 5:7 pairs */
  .sh-street { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); row-gap: var(--s6); }
  .sh-street__unit--3 .sh-street__media { aspect-ratio: 4 / 5; }
  .sh-street__unit--4 .sh-street__media { aspect-ratio: 1; }
}

/* ------------------------------------------------------------------ B · opening-day program (split-flap board) */
.sh-prog__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }   /* board 1–7, photo 9–12 */
.sh-prog__main { grid-column: 1 / span 7; }
.sh-prog__photo { grid-column: 9 / span 4; aspect-ratio: 3 / 4; }
.sh-prog__photo .a-media__img { inset: -6% 0; }
.sh-board { position: relative; padding: clamp(18px, 2.2vw, 30px); background: linear-gradient(180deg, #171a1d, #0e1113); border-radius: var(--r-3); color: var(--on-dark);
  box-shadow: var(--sh-card), inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.sh-board__top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 1.6vw, 22px); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.sh-board__ex { color: var(--gold-2); }
.sh-board__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, .8vw, 12px); container-type: inline-size; }
.sh-flap { position: relative; aspect-ratio: 3 / 4; perspective: 520px; font-weight: 700; font-stretch: 112%; font-size: clamp(64px, 10vw, 160px); font-size: 23cqi; line-height: 1;
  color: var(--on-dark); font-variant-numeric: tabular-nums; transition: color .5s .25s; }
.sh-board.is-open .sh-flap { color: var(--gold-2); }
.sh-flap__h { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: linear-gradient(180deg, #262b2f, #1e2226); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.sh-flap__h--t { top: 0; border-radius: 4px 4px 0 0; transform-origin: 50% 100%; }
.sh-flap__h--b { bottom: 0; border-radius: 0 0 4px 4px; transform-origin: 50% 0; background: linear-gradient(180deg, #1c2024, #16191c); }
.sh-flap__h > span { position: absolute; left: 0; right: 0; height: 200%; display: grid; place-items: center; }
.sh-flap__h--t > span { top: 0; }
.sh-flap__h--b > span { top: -100%; }
.sh-flap__leaf { z-index: 2; visibility: hidden; }
.sh-flap::after { content: ''; position: absolute; z-index: 3; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: #07090a; }   /* the hinge */
.sh-flap::before { content: ''; position: absolute; z-index: 4; left: -3px; right: -3px; top: calc(50% - 4px); height: 8px; pointer-events: none;
  background: radial-gradient(circle at 3px 50%, #3a3f43 0 2.5px, transparent 3px), radial-gradient(circle at calc(100% - 3px) 50%, #3a3f43 0 2.5px, transparent 3px); }
.sh-steps { display: grid; gap: 4px; margin-top: clamp(24px, 2.6vw, 36px); }
.sh-steps__i { position: relative; display: grid; grid-template-columns: 8.6em minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 12px 0 12px 22px; transition: opacity .5s var(--ease); }
.sh-steps__i::before { content: ''; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 1px; background: rgba(18, 20, 23, .22); transition: background-color .4s; }
.sh-steps__wk { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.sh-steps__body strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.005em; line-height: 1.35; }
.sh-steps__note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 3px; font-size: 15px; color: var(--muted); }
.sh-steps__note .c-chip { margin: 0 0 0 .6em; }
.sh-steps__i--open strong { color: var(--gold-ink); }
.sh-steps__i--open::before { background: var(--gold); }
.sh-steps.is-live .sh-steps__i { opacity: .38; }
.sh-steps.is-live .sh-steps__i.is-done { opacity: .72; }
.sh-steps.is-live .sh-steps__i.is-on { opacity: 1; }
.sh-steps.is-live .sh-steps__i.is-on::before { background: var(--gold); }
.sh-steps.is-live .sh-steps__i.is-on .sh-steps__wk { color: var(--gold-ink); }

/* ------------------------------------------------------------------ retailers ask us */
.sh-faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: start; }
.sh-faq .a-h2 { color: #fff; }
.sh-faq__call { margin-top: 28px; color: var(--on-dark-2); }
.sh-faq__call a { display: inline-block; padding: 12px 0; margin: -12px 0; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(242, 238, 231, .35);
  text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color .3s, text-decoration-color .3s; }
.sh-faq__call a:hover { color: var(--gold-2); text-decoration-color: var(--gold-2); }
.sh-faq__list { display: grid; gap: clamp(30px, 3.2vw, 46px); margin: 0; }
.sh-faq__i dt { display: flex; align-items: baseline; gap: 0; color: #fff; }
.sh-faq__n { flex: none; width: 48px; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--gold-2); transform: translateY(-.15em); }
.sh-faq__i dd { margin: 12px 0 0 48px; max-width: 56ch; font-size: 17px; line-height: 1.6; color: var(--on-dark-2); text-wrap: pretty; }
.sh-faq__i dd .c-chip { margin-right: 0; }

/* ------------------------------------------------------------------ quote: the shared 5:7 split (form edge = every quote section's) */
.sh-quote__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: stretch; }
.sh-quote__text { display: flex; flex-direction: column; min-width: 0; }
.sh-quote .a-lead { margin-top: 20px; }
.sh-quote__side { position: relative; flex: 1 1 auto; min-height: 420px; margin-top: clamp(32px, 4vw, 52px); border-radius: var(--r); overflow: hidden; }
.sh-quote__photo { position: absolute; inset: 0; border-radius: inherit; }
.sh-quote__photo.a-media--shade::after { background: linear-gradient(0deg, rgba(8, 10, 12, .92) 0%, rgba(8, 10, 12, .55) 36%, rgba(8, 10, 12, 0) 64%); }
.sh-quote__call { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 6px; padding: clamp(22px, 2.6vw, 36px); color: #fff; }
.sh-quote__or { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.sh-quote__tel { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: clamp(34px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1;
  font-variant-numeric: tabular-nums; transition: color .3s; }
.sh-quote__tel .icon { width: .62em; height: .62em; color: var(--gold-2); transition: transform .5s var(--ease); }
.sh-quote__tel:hover .icon { transform: translate(3px, -3px); }
.sh-quote__about { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: rgba(255, 255, 255, .8); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color .3s, text-decoration-color .3s; }
.sh-quote__about:hover { color: #fff; text-decoration-color: var(--gold-2); }
/* the timing chips stay a clean 4-up or 2 × 2 (never 3 + 1) where the form column is narrow */
@media (min-width: 1024px) and (max-width: 1239px) { .sh-quote__form .a-form__chips--text { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ tablets and phones */
@media (max-width: 1023px) {
  .sh-front__grid, .sh-prog__grid, .sh-faq__grid, .sh-quote__grid { grid-template-columns: minmax(0, 1fr); }
  .sh-front__grid { gap: 28px; }
  .sh-front, .a-motion .sh-front__stage { background-position: 0 0; }
  .a-motion .sh-front__stage { background: radial-gradient(80% 50% at 50% 60%, rgba(232, 190, 87, .07), rgba(232, 190, 87, 0) 72%); }
  .sh-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; }
  .sh-el { width: min(100%, calc((100svh - var(--head-h) - 330px) * 1.5)); justify-self: center; }
  .sh-prog__grid { row-gap: var(--s7); }
  .sh-prog__main, .sh-prog__photo { grid-column: 1 / -1; }
  .sh-prog__photo { aspect-ratio: 3 / 2; }
  .sh-faq__grid { gap: 40px; }
  .sh-quote__grid { gap: 40px; }
  .sh-quote__side { flex: none; min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
  .sh-hero__cap { display: none; }                                  /* phones: the crumbs and the CTAs own the hero */
  .sh-hero__trust { margin-top: 16px; font-size: 14px; }
  /* the stage on a phone: label + title, the elevation, then the five layers in two columns (one screen) */
  .sh-front__grid { gap: 18px; }
  .sh-front__text { display: contents; }
  .sh-front .a-label { order: 1; margin-bottom: -6px; }
  .sh-front .a-h2 { order: 2; }
  .sh-el { order: 3; width: 100%; }
  .sh-layers { order: 4; margin-top: 2px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sh-layers__i { gap: 14px; min-height: 34px; font-size: 16px; }
  .sh-layers__n { width: 36px; height: 24px; }
  .sh-el__chip { left: 10px; top: 10px; }
  /* the street on a phone: a rail of mixed frontages on one footpath line */
  .sh-street.a-rail { grid-auto-columns: auto; align-items: end; }
  .sh-street__unit--1 { width: calc((100vw - 40px) * .64); } .sh-street__unit--2 { width: calc((100vw - 40px) * .8); }
  .sh-street__unit--3 { width: calc((100vw - 40px) * .52); } .sh-street__unit--4 { width: calc((100vw - 40px) * .7); }
  .sh-street__unit--4 .sh-street__media { aspect-ratio: 1; }
  .sh-street__fascia { height: 40px; padding: 0 14px; gap: 10px; }
  .sh-prog__photo { aspect-ratio: 16 / 9; }
  .sh-faq__list { gap: 28px; }
  .sh-faq__i dd { font-size: 16px; }
  .sh-spaces__foot { margin-top: var(--s6); }
  .sh-steps__i { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 0 10px 22px; }
  .sh-steps__i::before { top: 15px; }
  .sh-faq__i dd { margin-left: 0; }
  .sh-faq__n { width: 40px; }
  .sh-quote__grid { gap: 32px; }
  .sh-quote__side { margin-top: 24px; aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) and (max-height: 700px) { .sh-front .a-h2 { font-size: 32px; } .sh-layers__i { min-height: 32px; } }
/* phones held sideways: the desktop split sized to the short screen (the stacked tablet layout has no room for the elevation) */
@media (orientation: landscape) and (max-height: 500px) {
  .a-motion .sh-front__stage { padding: calc(var(--head-h) + 10px) 0 12px; }
  .sh-front__grid { grid-template-columns: 5fr 7fr; gap: 28px; }
  .sh-front .a-h2 { font-size: 30px; }
  .sh-front .a-label { margin-bottom: 10px; }
  .sh-layers { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px; }
  .sh-layers__i { min-height: 30px; gap: 12px; font-size: 15px; }
  .sh-layers__n { width: 34px; height: 22px; }
  .sh-el { width: min(100%, calc((100svh - var(--head-h) - 36px) * 1.5)); justify-self: end; }
}
