/* Commercial Renovation — homepage v3: HOMEPAGE-ONLY rules. Loaded after the shared system (assets/css/v3/base.css:
   fonts, tokens, type, buttons, header, menu, form, footer, call bar, reveal states, Lenis, reduced motion).
   Direction: "Built in 3D" (variant A) + grafts from variant B: a hero whose office card flies up into the keep-trading
   section, B's header number / proof points / form support line. 30 Sep 2026 (client feedback): the video heroes became one
   bright still of a finished reception ("H6"), shown clean beside / under the type; the 3D map board became four region photo
   panels that widen in turn (6 where we work).
   Motion states only apply under html.a-motion (set before first paint); html.a-noanim (?noanim=1, reduced motion),
   html.no-js and html.a-late (motion script late) all get the designed static layout, with everything visible. */

/* dark surfaces flip the label colours */
.a-svc .a-label, .a-promise .a-label, .a-craft .a-label, .a-area .a-label { color: var(--on-dark-2); }
.a-svc .a-label__n, .a-promise .a-label__n, .a-craft .a-label__n, .a-area .a-label__n { color: var(--gold); }

/* the hero Call button carries the page's one looping shine */
.a-motion .a-hero .a-btn--call::after { animation: aShine 5.5s 2.4s ease-in-out infinite; }

/* ------------------------------------------------------------------ 1 hero (one bright still: a finished reception, "H6")
   The photo is shown clean: no shade, no overlay. The type sits on ink, never on the photo, so the desk and the olive tree are
   always whole. Two layouts, picked by the SHAPE of the screen (the same media queries pick the crop in index.php):
     split    wide screens (min-aspect-ratio 23/20, 600 px and wider): the copy in the left 43 % of the container, bottom-aligned;
              the photo column fills the rest to the right edge and the bottom, under the header's ink band
     stacked  upright screens: the copy first, under the header; the photo fills the rest of the screen below it
   --hc = the container's content width (the column edges line up with every section's content edge). */
.a-scene { position: relative; background: var(--ink); }
.a-scene__pin { position: relative; }
.a-hero { --hc: min(100% - 2 * var(--gut), var(--max)); --split: .43; position: relative; display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 600px; max-height: 1180px;
  overflow: hidden; color: #fff; background: var(--ink); isolation: isolate; }
.a-hero__media { position: relative; flex: 1 1 auto; min-height: 190px; overflow: hidden; background: #A39E95 var(--lq-wide) 40% 70% / cover no-repeat; }
.a-hero__photo { position: absolute; inset: 0; transform-origin: 46% 78%; will-change: transform; }
.a-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 70%; }
.a-hero__chip { left: 14px; top: 14px; z-index: 1; }
.a-hero__in { order: -1; position: relative; z-index: 2; flex: none; padding-top: calc(var(--head-h) + clamp(16px, 2.6vh, 40px)); padding-bottom: clamp(20px, 3.2vh, 40px); }
.a-hero__title { font-size: clamp(33px, 10.6vw, 84px); line-height: .94; letter-spacing: -.036em; font-weight: 600; font-stretch: 100%; margin-bottom: clamp(18px, 2.6vh, 32px); }
.a-hero__title .a-line { overflow: visible; }   /* painted whole from the first frame: it is the page's largest text */
.a-hero__title .a-line > span { white-space: nowrap; }
.a-hero__title em { font-style: normal; color: var(--gold-2); }
.a-hero__br { display: none; }
.a-hero__ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
.a-hero__ctas .a-btn { width: 100%; height: 56px; }
.a-hero__facts { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .84); }
.a-hero__facts li { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; }
.a-hero__facts a { display: inline-flex; align-items: center; gap: 10px; min-height: 30px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .3s, text-decoration-color .3s; }
.a-hero__facts a:hover { color: #fff; text-decoration-color: var(--gold-2); }
.a-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(232, 190, 87, .18); }
.a-hero__cue { display: none; }
/* upright phones about 1:1.9 and taller: the whole reception with the wall carried up (0.92:1). The frame is held to about
   1.16:1 (86vw high, less on the shortest of these screens) and covered by its width, so the plain wall above the pendant is
   trimmed from the top and the desk and the tree fill the lower two thirds; the floor line, the desk and the tree stay whole.
   The copy band takes the height the frame gives up: the copy is centred in it, and 400 px and wider phones get a larger
   headline (the longest line, "Commercial fitouts", is about 8 em wide: 11vw still leaves it clear of the gutters). */
@media (max-aspect-ratio: 53/100) {
  .a-hero__in { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
  .a-hero__media { flex: 0 1 86vw; background-image: var(--lq-tall); background-position: 36% 100%; }
  .a-hero__photo img { object-position: 36% 100%; }
  .a-hero__title { margin-bottom: clamp(22px, 3.2vh, 34px); }
  .a-hero__facts { margin-top: 18px; }
}
@media (max-aspect-ratio: 53/100) and (min-width: 400px) and (max-width: 599px) { .a-hero__title { font-size: 11vw; } }
/* squarish windows, 0.9-1.15:1 (stacked; the frame is 1.7-2.4:1): the room's full width. No upper bound, the same as the
   <source> in index.php: the split rule below takes over from 1.15:1 (same properties, later rule), so no window falls
   between the two. */
@media (min-aspect-ratio: 9/10) and (min-width: 600px) {
  .a-hero__media { background-image: var(--lq-pano); background-position: 22% 55%; }
  .a-hero__photo img { object-position: 22% 55%; }
}
/* short phones: the headline and the Call button come first; both trust lines stay, set tighter, and the photo keeps at least
   a third of the screen */
@media (max-width: 599px) and (max-height: 700px) {
  .a-hero__ctas .a-btn { height: 52px; } .a-hero__ctas { gap: 8px; }
  .a-hero__facts { margin-top: 10px; gap: 0 16px; font-size: 12.5px; }
  .a-hero__facts li, .a-hero__facts a { min-height: 26px; gap: 8px; }
}
/* upright tablets: larger type (stretched like the desktop headline), the two buttons side by side */
@media (min-width: 600px) {
  .a-hero__title { font-stretch: 108%; letter-spacing: -.038em; }
  .a-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
  .a-hero__ctas .a-btn { width: auto; height: 60px; }
  .a-hero__facts { gap: 10px 28px; margin-top: 20px; font-size: 14px; }
  .a-hero__chip { left: 20px; top: 20px; }
}

/* wide screens: the split */
@media (min-aspect-ratio: 23/20) and (min-width: 600px) {
  .a-hero { display: block; }
  .a-hero__media { position: absolute; top: var(--head-h); right: 0; bottom: 0; left: calc((100% - var(--hc)) / 2 + var(--hc) * var(--split)); min-height: 0;
    background-image: var(--lq-split); background-position: 10% 100%; }
  .a-hero__photo img { object-position: 10% 100%; }   /* a narrow column loses the window corner, never the olive tree */
  .a-hero__chip { left: 22px; top: 22px; }
  .a-hero__in { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--head-h) + 24px);
    padding-bottom: calc(clamp(40px, 8.4vh, 96px) + env(safe-area-inset-bottom)); padding-left: max(var(--gut), env(safe-area-inset-left)); }
  .a-hero__txt { width: calc(var(--split) * 100% - clamp(28px, 3.4vw, 56px)); }
  .a-hero__title { font-size: min(5.55vw, 10.4vh, 82px); margin-bottom: clamp(24px, 3.6vh, 40px); }
  .a-hero__br { display: inline; }
  .a-hero__cue { position: absolute; z-index: 2; bottom: 22px; left: calc((100% - var(--hc)) / 2 + var(--hc) * var(--split) - 68px); display: grid; justify-items: center; gap: 10px;
    font: 500 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
  .a-hero__cue i { width: 1px; height: 38px; background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); transform-origin: top; }
  .a-motion .a-hero__cue i { animation: aCue 2.2s 1.6s var(--ease) infinite; }
}
@media (min-aspect-ratio: 23/20) and (max-width: 1399px) {
  .a-hero { --split: .45; }
  .a-hero__cue { display: none; }
  .a-hero__ctas .a-btn { padding: 0 24px; }
}
/* first paint: the photo settles into place, the headline settles up (painted whole from the first frame, never cut by a
   mask), the buttons and the trust lines follow. CSS only: nothing waits for a script. */
.a-motion .a-hero__photo img { animation: aSettleIn 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.a-motion .a-hero__title .a-line > span { animation: aSettleUp .95s var(--ease) both; }
.a-motion .a-hero__title .a-line:nth-child(1) > span { animation-delay: .04s; }
.a-motion .a-hero__title .a-line:nth-child(2) > span { animation-delay: .1s; }
.a-motion .a-hero__title .a-line:nth-child(3) > span { animation-delay: .16s; }
.a-motion .a-hero__ctas { animation: aUp .7s .24s var(--ease) both; }
.a-motion .a-hero__facts, .a-motion .a-hero__chip, .a-motion .a-hero__cue > span { animation: aUp .9s .42s var(--ease) both; }


/* ------------------------------------------------------------------ 1b keep trading (the hero's office plane lands here) */
/* static layout (no motion): a dark section; heading, then business hours | after hours side by side, then the three points */
.a-promise { position: relative; display: flex; flex-direction: column; background: var(--ink); color: var(--on-dark); padding: var(--sec) 0 0; }
.a-promise__copy { order: -1; margin-bottom: clamp(32px, 4vw, 56px); }
.a-promise__media { position: relative; width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.a-promise__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-promise__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--ink-3); }
.a-promise__drift { position: absolute; inset: 0; display: block; transform-origin: 50% 55%; }
.a-promise__drift img { width: 100%; height: 100%; object-fit: cover; }
.a-promise__img--day img { object-position: 50% 55%; }
.a-promise__img--night img { object-position: 52% 40%; }
.a-promise__tag { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: #fff;
  background: rgba(10, 12, 14, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 2px; white-space: nowrap; }
.a-promise__tag b { font-weight: 600; margin-right: 4px; }
.a-promise__tag .icon { width: 17px; height: 17px; color: var(--gold-2); }
.a-promise__edge, .a-promise__chip, .a-promise__shade { display: none; }
.a-promise__title { max-width: 14ch; }
.a-promise__lead { margin-top: 20px; color: var(--on-dark-2); }
.a-promise__list { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 30px; }
.a-promise__list li { display: flex; align-items: center; gap: 12px; padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, .22); font-weight: 550; font-size: 17px; color: #fff; }
.a-promise__list li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.a-promise__list .icon { width: 22px; height: 22px; color: var(--gold-2); }
@media (max-width: 767px) {
  .a-promise__stage { grid-template-columns: 1fr; }
  .a-promise__list { display: grid; gap: 12px; }
  .a-promise__list li { border: 0; margin: 0; padding: 0; }
}

/* motion: hero + keep-trading are one pinned scene; the keep-trading photo is the plane that flies up to full screen */
.a-motion .a-scene__pin { height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.a-motion .a-hero { height: 100%; max-height: none; min-height: 0; }
.a-motion .a-promise { position: absolute; inset: 0; z-index: 3; display: block; padding: 0; background: transparent; color: #fff; pointer-events: none; }
.a-motion .a-scene.is-landed .a-promise { pointer-events: auto; }
.a-motion .a-promise__media { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; overflow: hidden; opacity: 0; transform-origin: 50% 50%; transform: scale(.2); will-change: transform; backface-visibility: hidden; }
.a-motion .a-scene:not(.is-armed) .a-promise__media { display: none; }   /* nothing inside loads before the hero poster */
.a-motion .a-promise__stage { position: absolute; inset: 0; display: block; transform-origin: 50% 50%; will-change: transform; }
.a-motion .a-promise__img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.a-motion .a-promise__img--night { clip-path: inset(0 0 0 100%); }
.a-motion .a-promise__img--night::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 40, .35), rgba(14, 18, 30, 0) 60%); mix-blend-mode: multiply; }
.a-motion .a-promise__tag { top: calc(var(--head-h) + 22px); opacity: 0; }
.a-motion .a-promise__tag--day { left: var(--gut); }
.a-motion .a-promise__tag--night { left: auto; right: var(--gut); }
.a-motion .a-promise__edge { display: block; position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; transform: translate3d(100vw, 0, 0); will-change: transform; width: 2px; margin-left: -1px; background: var(--gold); box-shadow: 0 0 24px rgba(232, 190, 87, .55); }
.a-promise__edge i { position: absolute; top: 44%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--gold); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.a-promise__edge i::before, .a-promise__edge i::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; }
.a-promise__edge i::before { left: 13px; transform: rotate(45deg); }
.a-promise__edge i::after { right: 13px; transform: rotate(-135deg); }
/* the office card's chip lives inside the plane (a child of [data-zoom]), pinned to the card's bottom-left corner and
   counter-scaled by home-v3.js, so it rises, turns and grows with the card from the first frame */
.a-motion .a-promise__chip { display: block; left: 0; top: auto; bottom: 0; z-index: 4; opacity: 0; transform-origin: 0 100%; will-change: transform, opacity; }
.a-motion .a-promise__shade { display: block; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 9, 12, .92) 0%, rgba(7, 9, 12, .62) 34%, rgba(7, 9, 12, .08) 64%, rgba(7, 9, 12, 0) 80%), linear-gradient(90deg, rgba(7, 9, 12, .55), rgba(7, 9, 12, 0) 62%); }
.a-motion .a-promise__copy { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding-bottom: clamp(44px, 8.5vh, 100px); }
.a-motion .a-promise [data-pc] { opacity: 0; }
.a-motion .a-promise [data-pc-line] { display: inline-block; opacity: 0; transform: translate3d(0, 34%, 0); }
.a-motion .a-promise__title { font-size: clamp(40px, 5.6vw, 92px); max-width: none; }
@media (max-width: 767px) {
  .a-motion .a-promise__tag { font-size: 13px; padding: 8px 11px; }
  .a-motion .a-promise__sub { display: none; }
  .a-motion .a-promise__tag--day { left: var(--gut); }
  .a-motion .a-promise__tag--night { right: var(--gut); }
  .a-motion .a-promise__edge i { top: 36%; }
  .a-motion .a-promise__drift img { object-position: 30% 55%; }
  .a-motion .a-promise__img--night .a-promise__drift img { object-position: 52% 45%; }
  .a-motion .a-promise__copy { padding-bottom: 96px; }
  .a-motion .a-promise__title { font-size: clamp(38px, 10.6vw, 50px); }
  .a-motion .a-promise__list { margin-top: 22px; gap: 10px; }
  .a-motion .a-promise__list li { font-size: 16px; }
  .a-motion .a-promise__shade { background: linear-gradient(0deg, rgba(7, 9, 12, .95) 0%, rgba(7, 9, 12, .8) 40%, rgba(7, 9, 12, .1) 70%, rgba(7, 9, 12, 0) 82%); }
}
/* the plane that becomes the section: its width as a fraction of the screen and height / width (read by home-v3.js), plus the
   left and top edges it falls back to. Upright screens: home-v3.js centres it in the ink band the copy leaves. Wide screens:
   home-v3.js centres it in the copy column instead. */
.a-scene { --cx: .11; --cy: .24; --cw: .78; --ca: .6667; }   /* phones: a card most of the screen wide, so the band never reads as empty */
@media (min-width: 600px) { .a-scene { --cx: .28; --cy: .24; --cw: .44; } }
/* the chip on the flying card: a denser ground than the still chips, so "Office fitout" reads over the white desk even where the
   backdrop blur is not drawn inside the 3D plane (white on about #4c4d4e: over 8:1) */
.a-motion .a-promise__chip { background: rgba(10, 12, 14, .74); }
@media (max-width: 767px) { .a-motion .a-promise__chip { padding: 6px 8px; font-size: 11px; letter-spacing: .1em; } }

/* phones held sideways: a wider copy column, three lines and compact buttons side by side, so all of it fits the short screen */
@media (orientation: landscape) and (max-height: 500px) {
  .a-hero, .a-motion .a-scene__pin { min-height: 0; }
  .a-hero { --split: .5; }
  .a-hero__in { padding-top: calc(var(--head-h) + 12px); padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .a-hero__br { display: none; }
  .a-hero__title { font-size: clamp(28px, 10.4vh, 42px); font-stretch: 100%; margin-bottom: 14px; }
  .a-hero__ctas { flex-wrap: nowrap; gap: 8px; }
  .a-hero__ctas .a-btn { height: 46px; padding: 0 14px; font-size: 15px; gap: 8px; }
  .a-hero__ctas .a-btn .icon { width: 16px; height: 16px; }
  .a-hero__facts { margin-top: 8px; gap: 0 16px; font-size: 12px; }
  .a-hero__facts li, .a-hero__facts a { min-height: 24px; gap: 8px; }
  .a-hero__chip { left: 12px; top: 12px; }
}
/* ------------------------------------------------------------------ section heads on the dark services band */
.a-svc .a-more { color: var(--on-dark); }
.a-svc .a-more::after { background: rgba(242, 238, 231, .35); }
.a-svc .a-more:hover { color: var(--gold-2); }
.a-svc .a-more:hover::after { background: var(--gold-2); }

/* ------------------------------------------------------------------ 2 services */
.a-svc { background: var(--ink); color: var(--on-dark); padding: calc(var(--sec) * .75) 0 calc(var(--sec) * .8); }
.a-svc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.5vw, 22px); perspective: 1600px; }
.a-svc__item { transform-style: preserve-3d; }
.a-card { position: relative; display: block; color: #fff; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .9s var(--ease); }
.a-card.is-tilt { transition: none; }
.a-card__frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--ink-3); }
.a-card__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 12, .9) 0%, rgba(8, 10, 12, .38) 40%, rgba(8, 10, 12, 0) 64%); }
.a-card__img { position: absolute; inset: -4%; display: block; transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.02); transition: transform 1.1s var(--ease); }
.a-card.is-tilt .a-card__img { transition: transform .25s linear; }
.a-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.a-card:hover .a-card__img { transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.08); }
.a-card__glare { position: absolute; inset: 0; border-radius: var(--r); background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 244, 222, .28), rgba(255, 244, 222, 0) 55%); opacity: 0; transition: opacity .5s; pointer-events: none; mix-blend-mode: screen; }
.a-card.is-tilt .a-card__glare { opacity: 1; }
.a-card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 8px; transform: translateZ(46px); }
.a-card__n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--gold-2); }
.a-card__t { display: flex; align-items: flex-end; min-height: 2.2em; font-size: clamp(21px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.a-card__p { min-height: calc(3 * 1.45em); font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .76); max-width: 26ch; }
.a-card__go { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center;
  background: rgba(10, 12, 14, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform: translateZ(60px); transition: background-color .35s, border-color .35s, color .35s, transform .5s var(--ease); }
.a-card__go .icon { width: 16px; height: 16px; }
.a-card:hover .a-card__go { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateZ(60px) rotate(-45deg); }
@media (max-width: 1023px) { .a-svc__grid { grid-template-columns: repeat(2, 1fr); } .a-card__frame { aspect-ratio: 4 / 4.2; } }
@media (max-width: 767px) {
  .a-svc__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 8px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .a-svc__grid::-webkit-scrollbar { display: none; }
  .a-svc__item { scroll-snap-align: start; }
  .a-card__frame { aspect-ratio: 4 / 4.9; }
}

/* ------------------------------------------------------------------ 3 how it works: the model */
.a-build { --ui: var(--text); --ui-2: var(--muted); --ui-3: var(--muted-2); --ui-gold: var(--gold-ink); --ui-line: rgba(18, 20, 23, .14);
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #E6E0D6; color: var(--ui); }
.a-build.is-lit, .a-build.is-photo { --ui: #F4F0E8; --ui-2: rgba(244, 240, 232, .72); --ui-3: rgba(244, 240, 232, .5); --ui-gold: var(--gold-2); --ui-line: rgba(244, 240, 232, .16); }
.a-build__stage { position: absolute; inset: 0; }
/* motion: the section is one screen + the run (--run, set by home-v3.js); the stage sticks to the top for the run */
.a-motion .a-build { height: calc(100vh + var(--run, 0px)); height: calc(max(100svh, 560px) + var(--run, 0px)); min-height: 0; overflow: visible; }
.a-motion .a-build__stage { position: sticky; inset: auto; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.a-build__stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .8s;
  background: radial-gradient(ellipse 75% 70% at 62% 58%, rgba(40, 30, 16, 0) 45%, rgba(40, 30, 16, .12) 100%); }
.a-build.is-lit .a-build__stage::after { background: radial-gradient(ellipse 70% 65% at 62% 58%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .4) 100%); }
.a-build.is-photo .a-build__stage::after, .a-noanim .a-build__stage::after, .no-js .a-build__stage::after, .a-late .a-build__stage::after, .a-build.is-static .a-build__stage::after, .a-cap .a-build__stage::after { opacity: 0; }
.a-build__poster img, .a-build__still img, .a-build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-build__canvas { opacity: 0; transition: opacity .6s; }
.a-build.is-ready .a-build__canvas { opacity: 1; }
.a-build__still { display: none; }
.a-build__photo { position: absolute; inset: 0; opacity: 0; clip-path: inset(24%); will-change: clip-path; overflow: hidden; }
.a-build__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform: scale(var(--s, 1.14)); transform-origin: 60% 55%; }
.a-build__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 12, .74), rgba(8, 10, 12, .18) 50%, rgba(8, 10, 12, 0)), linear-gradient(0deg, rgba(8, 10, 12, .5), rgba(8, 10, 12, 0) 40%); pointer-events: none; }
.a-build__photo .a-chip { right: var(--gut); bottom: 36px; z-index: 1; }
.a-build__window { position: absolute; inset: 0; opacity: 0; background: rgba(232, 190, 87, .2); clip-path: inset(50%); pointer-events: none; }
.a-build__window i { position: absolute; inset: 0; background: var(--gold-2); clip-path: inset(50%); }
.a-build__ui { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; padding-top: calc(var(--head-h) + clamp(26px, 4.6vh, 60px)); padding-bottom: clamp(26px, 4.6vh, 52px); pointer-events: none; }
.a-build .a-label { color: var(--ui-2); transition: color .18s; }
.a-build .a-label__n { color: var(--ui-gold); }
.a-build__head .a-h2 { font-size: clamp(34px, 3.6vw, 58px); max-width: 11ch; transition: color .18s; }
/* the four steps: outline numeral, a line icon that draws itself, title; the active step shows its line of detail */
.a-build__steps { grid-row: 3; display: grid; max-width: 430px; }
.a-bstep { display: grid; grid-template-columns: 58px 1fr 34px; column-gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--ui-line); color: var(--ui); opacity: .56; transition: opacity .45s, border-color .18s, color .18s; }
.a-bstep:last-child { border-bottom: 1px solid var(--ui-line); }
.a-bstep.is-done { opacity: .66; }
.a-bstep.is-on { opacity: 1; }
.a-bstep__n { font-size: 40px; line-height: .86; font-weight: 700; font-stretch: 112%; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.2px currentColor; font-variant-numeric: tabular-nums; transition: -webkit-text-stroke-color .5s; }
.a-bstep.is-on .a-bstep__n { -webkit-text-stroke-color: var(--ui-gold); }
.a-bstep__icon { grid-column: 3; grid-row: 1; width: 32px; height: 32px; color: var(--ui); justify-self: end; }
.a-bstep__body { grid-column: 2; grid-row: 1; display: grid; gap: 0; min-width: 0; }
.a-bstep__t { font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 1.2; }
.a-bstep__p { font-size: 15px; line-height: 1.45; color: var(--ui-2); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .6s var(--ease), color .18s; }
.a-bstep.is-on .a-bstep__p { max-height: 4.5em; opacity: 1; margin-top: 6px; }
.a-bstep__stage { display: none; }
.a-bstep__icon path { transition: stroke-dashoffset 1.3s cubic-bezier(.65, 0, .35, 1) .1s; }
.a-build.is-drawing .a-bstep.is-on .a-bstep__icon path, .a-build.is-drawing .a-bstep.is-done .a-bstep__icon path { stroke-dashoffset: 0 !important; }
.a-build__meter { grid-row: 4; display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.a-build__bar { width: 220px; height: 1px; background: var(--ui-line); }
.a-build__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.a-build__now { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ui-2); white-space: nowrap; transition: color .18s; }
.a-build__now::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.a-build__note { position: absolute; right: var(--gut); bottom: clamp(26px, 4.6vh, 52px); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ui-3); transition: color .18s, opacity .4s; }
.a-build.is-photo .a-build__note { opacity: 0; }
@media (max-width: 767px) {
  .a-build__ui { padding-top: calc(var(--head-h) + 20px); padding-bottom: 92px; }
  .a-build__head .a-h2 { font-size: clamp(30px, 8.4vw, 38px); max-width: 13ch; }
  .a-build .a-label { margin-bottom: 12px; }
  .a-build__steps { position: relative; max-width: none; min-height: 112px; }
  .a-bstep { position: absolute; left: 0; right: 0; bottom: 0; grid-template-columns: 46px 1fr 30px; align-items: start; padding: 14px 16px; border: 0; border-radius: 6px;
    background: rgba(252, 251, 248, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -22px rgba(40, 30, 10, .4);
    opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .5s var(--ease), background-color .2s; }
  .a-bstep:last-child { border-bottom: 0; }
  .a-build.is-lit .a-bstep, .a-build.is-photo .a-bstep { background: rgba(12, 15, 17, .66); }
  .a-bstep.is-done { opacity: 0; transform: translateY(-10px); }
  .a-bstep.is-on { opacity: 1; transform: none; transition: opacity .4s .1s, transform .6s .06s var(--ease), background-color .2s; }
  .a-build__now { overflow: hidden; text-overflow: ellipsis; }
  .a-bstep__n { font-size: 34px; }
  .a-bstep__icon { width: 28px; height: 28px; }
  .a-bstep__t { font-size: 17px; }
  .a-bstep__p { max-height: none; opacity: 1; margin-top: 4px; font-size: 14px; }
  .a-build__meter { margin-top: 14px; }
  .a-build__bar { flex: 1; }
  .a-build__note { bottom: auto; top: calc(var(--head-h) + 22px); font-size: 12px; }
  .a-build__photo .a-chip { bottom: auto; top: calc(var(--head-h) + 22px); }
  .a-build__photo img { object-position: 74% 50%; }
}
@media (max-width: 379px) {   /* small phones: the note and the photo chip share the label's row; the note breaks onto two right-aligned lines, the chip sets tighter */
  .a-build__note { width: min-content; text-align: right; line-height: 1.3; }
  .a-build__photo .a-chip { padding: 6px 8px; font-size: 10px; letter-spacing: .06em; }
}
/* still version: reduced motion, ?noanim=1, no JS, late script: the finished model beside the real space, the four steps below */
.a-noanim .a-build, .no-js .a-build, .a-late .a-build, .a-build.is-static { height: auto; min-height: 0; background: var(--paper); }
.a-noanim .a-build__stage, .no-js .a-build__stage, .a-late .a-build__stage, .a-build.is-static .a-build__stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: var(--sec) var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.a-noanim .a-build__ui, .no-js .a-build__ui, .a-late .a-build__ui, .a-build.is-static .a-build__ui { display: contents; }
.a-noanim .a-build__head, .no-js .a-build__head, .a-late .a-build__head, .a-build.is-static .a-build__head { grid-column: 1 / -1; grid-row: 1; padding-bottom: 16px; }
.a-noanim .a-build__steps, .no-js .a-build__steps, .a-late .a-build__steps, .a-build.is-static .a-build__steps { grid-column: 1 / -1; grid-row: 3; max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; min-height: 0; }
.a-noanim .a-bstep, .no-js .a-bstep, .a-late .a-bstep, .a-build.is-static .a-bstep { position: relative; opacity: 1; transform: none; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: start; gap: 18px 12px;
  padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.a-noanim .a-bstep__n, .no-js .a-bstep__n, .a-late .a-bstep__n, .a-build.is-static .a-bstep__n { grid-column: 1; grid-row: 1; font-size: 52px; -webkit-text-stroke-color: rgba(185, 137, 30, .8); }
.a-noanim .a-bstep__icon, .no-js .a-bstep__icon, .a-late .a-bstep__icon, .a-build.is-static .a-bstep__icon { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
.a-noanim .a-bstep__body, .no-js .a-bstep__body, .a-late .a-bstep__body, .a-build.is-static .a-bstep__body { grid-column: 1 / -1; grid-row: 2; }
.a-noanim .a-bstep__p, .no-js .a-bstep__p, .a-late .a-bstep__p, .a-build.is-static .a-bstep__p { max-height: none; opacity: 1; margin-top: 6px; }
.a-noanim .a-build__meter, .a-noanim .a-build__note, .a-noanim .a-build__poster, .a-noanim .a-build__canvas, .a-noanim .a-build__window,
.no-js .a-build__meter, .no-js .a-build__note, .no-js .a-build__poster, .no-js .a-build__canvas, .no-js .a-build__window,
.a-late .a-build__meter, .a-late .a-build__note, .a-late .a-build__poster, .a-late .a-build__canvas, .a-late .a-build__window,
.a-build.is-static .a-build__meter, .a-build.is-static .a-build__note, .a-build.is-static .a-build__poster, .a-build.is-static .a-build__canvas, .a-build.is-static .a-build__window { display: none; }
.a-noanim .a-build__still, .no-js .a-build__still, .a-late .a-build__still, .a-build.is-static .a-build__still { display: block; position: relative; grid-row: 2; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: #E6E0D6; }
.a-noanim .a-build__still img, .no-js .a-build__still img, .a-late .a-build__still img, .a-build.is-static .a-build__still img { position: absolute; }
.a-noanim .a-build__photo, .no-js .a-build__photo, .a-late .a-build__photo, .a-build.is-static .a-build__photo { position: relative; grid-row: 2; inset: auto; opacity: 1; clip-path: none; aspect-ratio: 16 / 10; border-radius: var(--r); }
.a-noanim .a-build__photo img, .no-js .a-build__photo img, .a-late .a-build__photo img, .a-build.is-static .a-build__photo img { position: absolute; inset: 0; transform: none; }
.a-noanim .a-build__photo::after, .no-js .a-build__photo::after, .a-late .a-build__photo::after, .a-build.is-static .a-build__photo::after { background: linear-gradient(0deg, rgba(8, 10, 12, .4), rgba(8, 10, 12, 0) 40%); }
.a-noanim .a-build__photo .a-chip, .no-js .a-build__photo .a-chip, .a-late .a-build__photo .a-chip, .a-build.is-static .a-build__photo .a-chip { top: auto; bottom: 14px; right: 14px; }
@media (max-width: 1023px) {
  .a-noanim .a-build__steps, .no-js .a-build__steps, .a-late .a-build__steps, .a-build.is-static .a-build__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .a-noanim .a-build__stage, .no-js .a-build__stage, .a-late .a-build__stage, .a-build.is-static .a-build__stage { grid-template-columns: 1fr; gap: 12px; }
  .a-noanim .a-build__photo, .no-js .a-build__photo, .a-late .a-build__photo, .a-build.is-static .a-build__photo { grid-row: 3; }
  .a-noanim .a-build__steps, .no-js .a-build__steps, .a-late .a-build__steps, .a-build.is-static .a-build__steps { grid-row: 4; grid-template-columns: 1fr; gap: 10px; }
  .a-noanim .a-bstep, .no-js .a-bstep, .a-late .a-bstep, .a-build.is-static .a-bstep { grid-template-columns: 50px 1fr 36px; grid-template-rows: auto; padding: 16px; gap: 0 14px; align-items: center; }
  .a-noanim .a-bstep__n, .no-js .a-bstep__n, .a-late .a-bstep__n, .a-build.is-static .a-bstep__n { font-size: 36px; }
  .a-noanim .a-bstep__body, .no-js .a-bstep__body, .a-late .a-bstep__body, .a-build.is-static .a-bstep__body { grid-column: 2; grid-row: 1; }
  .a-noanim .a-bstep__icon, .no-js .a-bstep__icon, .a-late .a-bstep__icon, .a-build.is-static .a-bstep__icon { grid-column: 3; width: 30px; height: 30px; }
}

/* ------------------------------------------------------------------ 3b the build: the work you won't see (craft, set-out → walls and services)
   one dark section: title + two commitments + a Call on the left (5 columns), two craft photos on the right (columns 7–12).
   Motion (home-v3.js): a gold set-out line draws across the laser photo's frame, the frame opens from that line, the walls
   photo rises from the floor, the ledger's rules draw in. Static: the finished layout, no line. */
.a-craft { position: relative; background: var(--ink); color: var(--on-dark); padding: calc(var(--sec) * .75) 0 calc(var(--sec) * .8); overflow: hidden; }   /* the services band's rhythm */
.a-craft__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gap); }
/* the title block sits on the laser photo's top edge; the ledger + Call sit on the services photo's bottom edge (any spare height
   falls between the lead and the ledger, never between the ledger and its Call) */
.a-craft__head, .a-craft__list, .a-craft__cta { grid-column: 1 / span 5; }
.a-craft__media { grid-column: 7 / span 6; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: var(--gap); }   /* stretched to the grid's height */
.a-craft .a-h2 { max-width: 12ch; }
.a-craft .a-lead { margin-top: 24px; max-width: 34ch; }
.a-craft__list { align-self: end; margin-top: clamp(32px, 3.4vw, 48px); }
.a-craft__item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; }
.a-craft__item::before, .a-craft__list::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); transform-origin: 0 50%; transform: scaleX(var(--rule, 1)); }
.a-craft__list { position: relative; }
.a-craft__list::after { top: auto; bottom: 0; }
.a-craft__n { font: 500 12px/24px var(--mono); letter-spacing: .14em; color: var(--gold-2); }
.a-craft__body { display: grid; gap: 4px; }
.a-craft__body strong { font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 24px; color: #fff; }
.a-craft__body span { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); max-width: 40ch; }
.a-craft__list--one .a-craft__item { grid-template-columns: minmax(0, 1fr); }   /* one launch row: a statement, not a lone "01" */
.a-craft__list--one .a-craft__n { display: none; }
.a-craft__cta { align-self: end; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; }
.a-craft__ask { font-size: 15px; line-height: 1.45; color: var(--on-dark-2); max-width: 22ch; }
.a-craft__laser { position: relative; }
.a-craft__fig { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--ink-3); }
.a-craft__fig--laser { aspect-ratio: 21 / 9; }
.a-craft__fig--walls { aspect-ratio: 16 / 10; flex: 1 0 auto; }   /* 16:10 at least; grows so its bottom edge meets the Call's */
.a-craft__img { position: absolute; inset: 0; display: block; }
.a-craft__img img { width: 100%; height: 100%; object-fit: cover; }
.a-craft__fig--laser img { object-position: 50% 74%; }   /* the photo's laser line sits on the frame's centre line */
.a-craft__fig--walls .a-craft__img { inset: -7% 0; will-change: transform; }
.a-craft__fig .a-chip { left: 14px; bottom: 14px; z-index: 1; }
.a-craft__fig--laser .a-chip { top: 14px; bottom: auto; }
/* the set-out line: only drawn when motion is on */
.a-craft__beam { display: none; }
.a-motion .a-craft__beam { display: block; position: absolute; left: 0; right: 0; top: 50%; z-index: 2; height: 2px; margin-top: -1px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-2), rgba(232, 190, 87, .85) 70%, rgba(232, 190, 87, .35)); box-shadow: 0 0 14px 1px rgba(232, 190, 87, .55); transform-origin: 0 50%; transform: scaleX(0); }
.a-craft__beam i { position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(232, 190, 87, .2), 0 0 18px rgba(232, 190, 87, .8); }
.a-motion .a-craft__fig--laser { clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); }
.a-motion .a-craft__fig--walls { clip-path: inset(100% 0 0 0); }
.a-motion .a-craft__list { --rule: 0; }
.a-motion .a-craft__item > * { opacity: 0; }
@media (max-width: 1023px) {
  .a-craft__grid { grid-template-rows: none; }
  .a-craft__head, .a-craft__list, .a-craft__cta, .a-craft__media { grid-column: 1 / -1; grid-row: auto; }
  .a-craft__media { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .a-craft__fig--laser, .a-craft__fig--walls { aspect-ratio: 4 / 3; }
  .a-craft__fig--laser img { object-position: 50% 62%; }
  .a-craft__list { margin-top: 36px; }
  .a-craft__cta { margin-top: 32px; }
}
@media (max-width: 767px) {
  .a-craft { padding: var(--sec) 0; }
  .a-craft__media { margin-top: 28px; gap: 12px; }
  .a-craft__list { margin-top: 28px; }
  .a-craft__fig--laser, .a-craft__fig--walls { aspect-ratio: 1; }
  .a-craft__fig--walls img { object-position: 60% 50%; }
  .a-craft__fig .a-chip { left: 10px; bottom: 10px; }
  .a-craft__fig--laser .a-chip { top: 10px; bottom: auto; }
  .a-craft__item { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 0; }
  .a-craft__body strong { font-size: 17px; }
  .a-craft__cta { display: none; }   /* phones: the call bar is the Call here (no second gold Call stacked on it) */
}

/* ------------------------------------------------------------------ 4 spaces (pinned gallery) */
.a-gal { background: var(--paper); color: var(--text); }
.a-gal__pin { height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; padding: calc(var(--head-h) + clamp(22px, 4vh, 52px)) 0 clamp(26px, 4.6vh, 52px); overflow: hidden; }
.a-gal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(22px, 3.6vh, 40px); }
.a-gal__count { font: 500 13px/1 var(--mono); letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; padding-bottom: 8px; }
.a-gal__count span { color: var(--text); }
.a-gal__viewport { position: relative; flex: 1; min-height: 0; perspective: 1700px; perspective-origin: 50% 50%; }
.a-gal__track { display: flex; align-items: stretch; gap: clamp(24px, 2.4vw, 40px); height: 100%; width: max-content; transform-style: preserve-3d; will-change: transform;
  padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2)); }
.a-gal__col { flex: none; display: grid; gap: clamp(16px, 1.8vw, 28px); height: 100%; background: var(--paper); transform-style: preserve-3d; will-change: transform; }
.a-motion .a-gal { height: calc(100vh + var(--run, 0px)); height: calc(max(100svh, 560px) + var(--run, 0px)); }
.a-motion .a-gal__pin { position: sticky; top: 0; }
.a-gal__col--l { aspect-ratio: 1.34; }
.a-gal__col--s { aspect-ratio: .74; grid-template-rows: 1fr 1fr; }
.a-gal__fig { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-height: 0; }
.a-gal__frame { position: relative; overflow: hidden; border-radius: var(--r); background: #d8d2c8; min-height: 0; }
.a-gal__img { position: absolute; inset: 0 -10%; display: block; transform: translate3d(var(--px, 0), 0, 0); }
.a-gal__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.a-gal__fig figcaption { display: flex; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.a-gal__n { color: var(--gold-ink); }
@media (max-width: 767px) {
  .a-gal__pin { padding-bottom: 92px; }
  .a-gal__viewport { flex: none; height: min(56svh, 470px); margin-top: auto; margin-bottom: auto; }
  .a-gal__col--l { aspect-ratio: 1.02; }
  .a-gal__col--s { aspect-ratio: .6; }
  .a-gal__track { gap: 12px; }
  .a-gal__col { gap: 12px; }
}
/* still version */
.a-noanim .a-gal__pin, .no-js .a-gal__pin, .a-late .a-gal__pin { height: auto; min-height: 0; padding-top: var(--sec); padding-bottom: var(--sec); }
.a-noanim .a-gal__track, .no-js .a-gal__track, .a-late .a-gal__track { width: auto; height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding: 0 var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.a-noanim .a-gal__col, .no-js .a-gal__col, .a-late .a-gal__col { display: contents; }
.a-noanim .a-gal__fig, .no-js .a-gal__fig, .a-late .a-gal__fig { aspect-ratio: 4 / 3.3; }
.a-noanim .a-gal__img, .no-js .a-gal__img, .a-late .a-gal__img { inset: 0; }
.a-noanim .a-gal__count, .no-js .a-gal__count, .a-late .a-gal__count { display: none; }
.a-noanim .a-gal__viewport, .no-js .a-gal__viewport, .a-late .a-gal__viewport { flex: none; height: auto; margin: 0; perspective: none; }
@media (min-width: 1100px) { .a-noanim .a-gal__col:last-child .a-gal__fig:last-child, .no-js .a-gal__col:last-child .a-gal__fig:last-child, .a-late .a-gal__col:last-child .a-gal__fig:last-child { grid-column: span 2; aspect-ratio: auto; } }
@media (max-width: 767px) {
  .a-noanim .a-gal__track, .no-js .a-gal__track, .a-late .a-gal__track { grid-template-columns: 1fr 1fr; gap: 12px; }
  .a-noanim .a-gal__fig, .no-js .a-gal__fig, .a-late .a-gal__fig { aspect-ratio: 4 / 4.2; gap: 8px; }
  .a-noanim .a-gal__col:first-child .a-gal__fig, .no-js .a-gal__col:first-child .a-gal__fig, .a-late .a-gal__col:first-child .a-gal__fig { grid-column: span 2; aspect-ratio: 4 / 3.2; }
  .a-noanim .a-gal__fig figcaption, .no-js .a-gal__fig figcaption, .a-late .a-gal__fig figcaption { font-size: 11px; letter-spacing: .08em; gap: 8px; }
}

/* ------------------------------------------------------------------ 5 where we work (four places, four panels) */
/* static layout (motion off, no JS, a late script; also the arrival state of the motion): the head, then the four photo panels
   side by side (2 x 2 on phones), each captioned by its place, its region line under it */
.a-area { position: relative; background: var(--ink); color: var(--on-dark); }
.a-area__pin { padding: var(--sec) 0; }
.a-area__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head ask" "deck deck"; column-gap: 40px; align-items: end; }
.a-area__head { grid-area: head; }
.a-area__head .a-h2 { max-width: 15ch; text-wrap: wrap; }   /* "Melbourne-wide, / CBD to the / Peninsula." (balance would strand "CBD to") */
.a-area__ask { grid-area: ask; margin: 0 0 6px; font-size: 16px; color: var(--on-dark-2); }
.a-area__ask a { display: inline-block; padding: 13px 2px; margin: -13px -2px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.a-area__ask a:hover { color: var(--gold-2); }
.a-area__deck { grid-area: deck; margin-top: var(--head-gap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.a-area__panel { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.a-area__fig { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--ink-3); }
.a-area__img { position: absolute; inset: 0; display: block; }
.a-area__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.a-area__dim, .a-area__tab { display: none; }
.a-area__fig .a-area__cap { left: 12px; bottom: 12px; z-index: 2; max-width: calc(100% - 24px); white-space: normal; line-height: 1.35; }
.a-area__txt { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.a-area__n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--gold-2); }
.a-area__r strong { display: block; font-size: clamp(18px, 1.35vw, 21px); font-weight: 600; letter-spacing: -.01em; color: #fff; }
.a-area__r > span { display: block; margin-top: 4px; text-wrap: pretty; font-size: 14px; line-height: 1.45; color: rgba(242, 238, 231, .62); }

/* tablets with motion, and phones always: a swipe rail of the four cards (the next one peeks in); the rail is the visitor's to
   move, so it is also the phone's static layout (a 2 x 2 grid set the place chips on two lines over half of each photo). Four
   short bars under the rail mark the card in view (home-v3.js; decorative, aria-hidden). */
.a-area__dots { display: none; }
@media (max-width: 1023px) {
  .a-area__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "deck" "dots" "ask"; }
  .a-area__ask { margin: 26px 0 0; }
  .a-area__deck { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .a-motion .a-area__deck { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .a-motion .a-area__deck::-webkit-scrollbar { display: none; }
  .a-motion .a-area__panel { scroll-snap-align: start; }
  .a-motion .a-area__dots { grid-area: dots; display: flex; gap: 6px; margin-top: 18px; }
  .a-area__dots li { width: 18px; height: 2px; border-radius: 1px; background: rgba(242, 238, 231, .22); transition: width .45s var(--ease), background-color .3s; }
  .a-area__dots li.is-on { width: 34px; background: var(--gold-2); }
}
@media (max-width: 767px) {
  .a-area__deck, .a-motion .a-area__deck { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .a-area__deck::-webkit-scrollbar { display: none; }
  .a-area__panel { gap: 14px; scroll-snap-align: start; }
  .a-area__dots { grid-area: dots; display: flex; gap: 6px; margin-top: 18px; }
  .a-area__txt { gap: 10px; }
  .a-area__r strong { font-size: 17px; }
  .a-area__r > span { font-size: 13px; }
  .a-area__fig .a-area__cap { white-space: nowrap; }
}

/* phones held sideways: shorter cards, so a card and its line fit the short screen */
@media (orientation: landscape) and (max-height: 500px) {
  .a-area__fig { aspect-ratio: 16 / 10; }
  .a-motion .a-area__deck { grid-auto-columns: 40%; }
}

/* desktop with motion (home-v3.js adds .is-deck at 1024 px and wider): the section sticks for a run while each region's panel
   widens in turn and the other three fold to numbered slivers. Panels are stacked full-size layers; home-v3.js cuts each one to
   its column with clip-path and slides the photo, the line and the sliver label with transforms (nothing is re-laid out). */
@media (min-width: 1024px) {
  .a-motion .a-area.is-deck { height: calc(max(100vh, 600px) + var(--run, 0px)); height: calc(max(100svh, 600px) + var(--run, 0px)); }
  .a-motion .is-deck .a-area__pin { position: sticky; top: 0; display: flex; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden;
    padding: calc(var(--head-h) + clamp(22px, 4vh, 52px)) 0 clamp(26px, 4.6vh, 52px); }
  .a-motion .is-deck .a-area__in { flex: 1; min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
  .a-motion .is-deck .a-area__head .a-h2 { max-width: 20ch; text-wrap: balance; }   /* two lines: the panels get the height */
  .a-motion .is-deck .a-area__deck { position: relative; display: block; align-self: stretch; min-height: 0; margin-top: clamp(24px, 3.8vh, 48px); border-radius: var(--r); overflow: hidden; }   /* the outer corners are rounded once here: a rounded clip-path on each moving panel cost a repaint of all four every frame */
  .a-motion .is-deck .a-area__panel { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: var(--r); cursor: pointer; clip-path: inset(0 0 0 100%); will-change: clip-path; }
  .a-motion .is-deck .a-area__fig { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
  .a-motion .is-deck .a-area__img { right: auto; width: var(--pw, 100%); will-change: transform; }
  .a-motion .is-deck .a-area__fig::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(0deg, rgba(7, 9, 12, .82) 0%, rgba(7, 9, 12, .42) 26%, rgba(7, 9, 12, 0) 52%), linear-gradient(180deg, rgba(7, 9, 12, .38) 0%, rgba(7, 9, 12, 0) 24%); }
  .a-motion .is-deck .a-area__dim { display: block; position: absolute; inset: 0; z-index: 1; background: rgba(7, 9, 12, .62); opacity: 0; }
  .a-motion .is-deck .a-area__cap { left: 0; top: 0; bottom: auto; will-change: transform, opacity; }
  .a-motion .is-deck .a-area__txt { position: absolute; left: 0; bottom: 0; z-index: 2; display: block; width: min(560px, 60vw); padding: 0 0 clamp(24px, 3.4vh, 38px) clamp(24px, 2.4vw, 38px); will-change: transform, opacity; }
  .a-motion .is-deck .a-area__n { display: block; margin-bottom: 14px; font-size: 13px; }
  .a-motion .is-deck .a-area__r strong { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.08; letter-spacing: -.02em; }
  .a-motion .is-deck .a-area__r > span { margin-top: 8px; font-size: 16px; color: rgba(242, 238, 231, .78); }
  .a-motion .is-deck .a-area__tab { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    width: var(--sw, 88px); padding: 24px 0 26px; pointer-events: none; will-change: transform, opacity; }
  .a-area__tab b { font: 500 12px/1 var(--mono); letter-spacing: .14em; font-weight: 500; color: var(--gold-2); }
  .a-area__tab i { font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: #fff; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
}

/* ------------------------------------------------------------------ 6 start here (quote) */
.a-quote { background: var(--paper); color: var(--text); padding: var(--sec) 0; }
.a-quote__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.a-quote__text { display: flex; flex-direction: column; align-self: stretch; }
.a-quote__img { position: relative; margin-top: clamp(32px, 3.6vw, 52px); flex: 1; min-height: 220px; max-height: 380px; overflow: hidden; border-radius: 4px; background: #d8d2c8; }
.a-quote__drift { position: absolute; inset: -8% 0; display: block; will-change: transform; }
.a-quote__drift img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.a-quote__img .a-chip { left: 14px; bottom: 14px; }
.a-quote .a-lead { margin-top: 20px; }
.a-quote__pend { font-size: 14px; color: var(--muted-2); white-space: nowrap; }   /* preview only: the stronger call-back promise awaiting confirmation */
.a-quote__call { display: grid; justify-items: start; gap: 8px; margin-top: clamp(32px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line); }
.a-quote__or { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.a-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; font-variant-numeric: tabular-nums; line-height: 1.1; transition: color .3s; }
.a-quote__tel .icon { width: .62em; height: .62em; color: var(--gold); transition: transform .5s var(--ease); }
.a-quote__tel:hover .icon { transform: translate(3px, -3px); }
.a-quote__mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 16px; text-decoration: underline; text-decoration-color: rgba(18, 20, 23, .25); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.a-quote__mail:hover { color: var(--text); text-decoration-color: var(--text); }
@media (max-width: 1023px) { .a-quote__grid { grid-template-columns: 1fr; } .a-quote__img { display: none; } }
@media (max-width: 767px) {
  .a-quote__grid { gap: 32px; }
  .a-quote__call { margin-top: 24px; padding-top: 20px; }
}

/* upright phones and tablets with motion: the full-screen photos use their 9:16 crops (index.php home_tall), already framed on the subject */
@media (max-width: 1024px) and (max-aspect-ratio: 4/5) and (prefers-reduced-motion: no-preference) {
  .a-motion .a-promise__drift img, .a-motion .a-promise__img--night .a-promise__drift img, .a-motion .a-build__photo img { object-position: 50% 50%; }
}

/* phones: no label smaller than 12px (the shared chips, form badge and footer kicker are in base.css) */
@media (max-width: 767px) {
  .a-build__now, .a-motion .a-promise__chip { font-size: 12px; letter-spacing: .08em; }
  .a-build__note { font-size: 12px; }
}

/* ------------------------------------------------------------------ keyframes (homepage) */
@keyframes aSettleIn { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes aSettleUp { from { transform: translateY(.34em); opacity: .32; } to { transform: none; opacity: 1; } }
@keyframes aCue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ------------------------------------------------------------------ capture mode (renders the fallback frames; QA only) */
.a-cap .a-head, .a-cap .a-callbar, .a-cap .a-build__ui, .a-cap .a-build__photo, .a-cap .a-build__poster { display: none !important; }
.a-cap .a-build { position: fixed; inset: 0; z-index: 100; height: 100vh; }
.a-cap .a-build__canvas { opacity: 1; transition: none; }
