/* Commercial renovations (v3) · /commercial-renovations-melbourne. Loaded after assets/css/v3/base.css. This page's layout and
   its one signature (docs/DESIGN-V3.md §8.6, motion ledger §6.5): the make-good sheets (sticky sequence) and, in preview only,
   the "who handles what" split. Motion start states apply only under html.a-motion; html.a-noanim (?noanim=1, reduced
   motion), html.no-js and html.a-late get the static layout below, with everything visible. */

/* ------------------------------------------------------------------ 1 hero */
.c-hero .a-h1 { max-width: 13.2em; }
.c-hero .a-lead { max-width: 44ch; }
.c-hero__fact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.c-hero__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 167, 46, .2); }
.c-hero__fact .c-chip { margin: 0; }
/* the photo's caption: the homepage's dot + mono caption (no pill), bottom right, level with the CTA row */
.c-hero__place { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 0 auto; align-self: center; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.c-hero__pdot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(232, 190, 87, .18); }
.a-motion .c-hero__fact { animation: aUp .7s .34s var(--ease) both; }
.a-motion .c-hero__place { animation: aUp .9s .42s var(--ease) both; }
@media (max-width: 767px) {
  .c-hero__place { display: none; }                    /* phones: the crumbs and the CTAs own the hero (as /shop) */
  .c-hero .a-crumbs { letter-spacing: .1em; }          /* the long last crumb stays on one line at 390 px (base.css tightens it at 380 and below) */
  .c-hero__fact { margin-top: 16px; font-size: 13px; }
}

/* ------------------------------------------------------------------ 2 spaces we renovate */
.c-kinds .a-head2 { margin-bottom: var(--head-gap); }
.c-kinds .a-lead { margin-top: 20px; }
.c-kinds__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.c-kinds__item { min-width: 0; }
.c-kinds .a-media__img img { object-position: var(--pos, 50% 50%); }
.c-kinds .a-figcap { margin-top: 14px; }
.c-kinds__note { margin-top: var(--s7); font-size: 15px; line-height: 1.5; color: var(--muted); }
.c-kinds__note a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(18, 20, 23, .3); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .3s; }
.c-kinds__note a:hover { text-decoration-color: var(--gold); }
.a-motion [data-c-mask] { clip-path: inset(100% 0 0 0); }
.a-motion .c-kinds .a-figcap { opacity: 0; }
@media (max-width: 1023px) { .c-kinds__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); } }
@media (max-width: 767px) {
  .c-kinds__row { gap: 20px 12px; }
  .c-kinds .a-figcap { margin-top: 10px; gap: 8px; letter-spacing: .08em; }
  .c-kinds__note { margin-top: var(--s6); }
}

/* ------------------------------------------------------------------ 3 make-good (the signature)
   Static (no motion): a normal section, the head, the three photos in a row, the three steps under them.
   Motion: the section is one screen + a run (.a-seq, core.js fx.sequence); the stage sticks. The three photos stack in one frame;
   commercial.js cuts each into vertical wall sheets: Strip out drops them away, Reinstate raises new sheets, Hand back settles the
   clean tenancy in from above and closes the seams. Behind the sheets the frame is a bare steel-stud wall (printed, not drawn). */
.c-mg { position: relative; padding: var(--sec) 0; }
.c-mg__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.c-mg__head { grid-column: 1 / -1; margin-bottom: var(--head-gap); }
.c-mg .a-h2 { max-width: 11ch; }
.c-mg__frame { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.c-mg__shot { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--ink-3); }
.c-mg__img { position: absolute; inset: 0; display: block; transform-origin: 50% 50%; }
.c-mg__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.c-mg__shot > .a-chip { left: 14px; bottom: 14px; z-index: 2; display: none; }
.c-mg__steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.c-mg__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; }
.c-mg__n { font-size: 44px; color: transparent; -webkit-text-stroke-color: var(--gold-2); transition: color .6s var(--ease), -webkit-text-stroke-color .6s var(--ease); }
.c-mg__body { display: grid; gap: 8px; padding-top: 2px; }
.c-mg__t { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.015em; font-weight: 600; color: #fff; }
.c-mg__p { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); max-width: 34ch; }
.c-mg__sheets { position: absolute; inset: 0; display: none; }
.c-mg__sheet { position: absolute; top: 0; bottom: 0; left: calc(100% * var(--i) / var(--n)); width: calc(100% / var(--n)); overflow: hidden; clip-path: inset(0 var(--seam, 0px)); }
.c-mg__sheet img { position: absolute; top: 0; left: calc(-100% * var(--i)); width: calc(100% * var(--n)); max-width: none; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.c-mg__sheet::after { content: ''; position: absolute; inset: 0; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1), inset -1px 0 0 rgba(0, 0, 0, .25); opacity: var(--edge, 0); pointer-events: none; }
@media (max-width: 767px) {
  .c-mg__frame { gap: 8px; }
  .c-mg__shot { aspect-ratio: 3 / 4; }
  .c-mg__steps { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .c-mg__step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .c-mg__n { font-size: 34px; }
}

/* motion: one sticky screen */
.a-motion .c-mg { padding: 0; }
.a-motion .c-mg__stage { display: flex; align-items: center; padding-top: var(--head-h); }
.a-motion .c-mg__grid { width: 100%; grid-template-rows: auto 1fr; }
.a-motion .c-mg__head { grid-column: 1 / span 5; grid-row: 1; margin-bottom: 0; }
.a-motion .c-mg__steps { grid-column: 1 / span 5; grid-row: 2; align-self: end; grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
.a-motion .c-mg__frame { grid-column: 7 / span 6; grid-row: 1 / span 2; display: block; position: relative; height: clamp(420px, calc(100svh - var(--head-h) - 120px), 760px); overflow: hidden; border-radius: var(--r); background: var(--ink-3); isolation: isolate; }
.a-motion .c-mg__frame::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(178, 188, 194, .26) 0 2px, rgba(178, 188, 194, .12) 2px 7px, rgba(0, 0, 0, .28) 7px 9px, transparent 9px) -4px 0 / calc(100% / var(--n, 6)) 100% repeat-x,
    linear-gradient(180deg, rgba(178, 188, 194, .16) 0 14px, rgba(0, 0, 0, .3) 14px 16px, transparent 16px calc(50% - 3px), rgba(178, 188, 194, .1) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px) calc(100% - 14px), rgba(178, 188, 194, .16) calc(100% - 14px)),
    radial-gradient(120% 90% at 50% 40%, #232A2F 0%, var(--ink-3) 70%); }
.a-motion .c-mg__shot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: none; opacity: 0; }
.a-motion .c-mg__shot[data-mg-shot="0"] { opacity: 1; }
.a-motion .c-mg__shot > .a-chip { display: block; opacity: 0; transition: opacity .5s var(--ease); }
.a-motion .c-mg__shot.is-chip > .a-chip { opacity: 1; }
.a-motion .c-mg__shot.is-cut .c-mg__sheets { display: block; }
.a-motion .c-mg__shot.is-cut:not(.is-whole) picture img { opacity: 0; }
.a-motion .c-mg__shot.is-whole .c-mg__sheets { visibility: hidden; }
.a-motion .c-mg__step { opacity: .36; transition: opacity .6s var(--ease); }
.a-motion .c-mg__step.is-on { opacity: 1; }
.a-motion .c-mg__n { -webkit-text-stroke-color: rgba(242, 238, 231, .55); }
.a-motion .c-mg__step.is-on .c-mg__n { color: var(--gold-2); -webkit-text-stroke-color: var(--gold-2); }
/* tablets and phones: the head, the frame, then the steps */
@media (max-width: 1023px) {
  .a-motion .c-mg__stage { align-items: flex-start; padding-top: calc(var(--head-h) + 24px); }
  .a-motion .c-mg__grid { grid-template-rows: none; }
  .a-motion .c-mg__head, .a-motion .c-mg__frame, .a-motion .c-mg__steps { grid-column: 1 / -1; grid-row: auto; }
  .a-motion .c-mg__frame { height: auto; aspect-ratio: 4 / 3; max-height: calc(100svh - var(--head-h) - 330px); margin-top: 28px; }
  .a-motion .c-mg__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 24px; }
  .a-motion .c-mg__step { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 767px) {
  .a-motion .c-mg__stage { padding-top: calc(var(--head-h) + 20px); }
  .a-motion .c-mg .a-label { margin-bottom: 16px; }
  .a-motion .c-mg__frame { aspect-ratio: 1; max-height: calc(100svh - var(--head-h) - 400px); min-height: 200px; margin-top: 20px; }
  .a-motion .c-mg__steps { position: relative; gap: 0 10px; margin-top: 16px; padding-bottom: calc(3em + 14px); }
  .a-motion .c-mg__step { display: block; }
  .a-motion .c-mg__n { font-size: 22px; letter-spacing: -.02em; -webkit-text-stroke-width: 1px; }
  .a-motion .c-mg__body { display: block; padding: 0; }
  .a-motion .c-mg__t { display: block; margin-top: 4px; font-size: 16px; line-height: 1.2; }
  .a-motion .c-mg__p { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; font-size: 15px; line-height: 1.5; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .a-motion .c-mg__step.is-on .c-mg__p { opacity: 1; transform: none; }
  .a-motion .c-mg__step { opacity: .45; }
  .a-motion .c-mg__step.is-on { opacity: 1; }
}
/* phones held sideways: the desktop split, sized to the short screen */
@media (orientation: landscape) and (max-height: 520px) {
  .a-motion .c-mg { height: calc(100svh + var(--run, 0px)); }
  .a-motion .c-mg__stage { min-height: 0; align-items: center; padding-top: var(--head-h); }
  .a-motion .c-mg__grid { grid-template-rows: auto 1fr; }
  .a-motion .c-mg__head { grid-column: 1 / span 5; grid-row: 1; }
  .a-motion .c-mg__steps { grid-column: 1 / span 5; grid-row: 2; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; padding: 0; }
  .a-motion .c-mg__frame { grid-column: 7 / span 6; grid-row: 1 / span 2; aspect-ratio: auto; height: calc(100svh - var(--head-h) - 28px); max-height: none; margin: 0; }
  .a-motion .c-mg .a-h2 { font-size: 30px; }
  .a-motion .c-mg .a-label { margin-bottom: 10px; }
  .a-motion .c-mg__step { display: grid; grid-template-columns: 30px 1fr; gap: 8px; }
  .a-motion .c-mg__n { font-size: 20px; }
  .a-motion .c-mg__t { font-size: 15px; }
  .a-motion .c-mg__p { display: none; }
}

/* ------------------------------------------------------------------ 4 who handles what (preview only: every row is 'pending') */
.c-who .a-head2__row { align-items: flex-end; }
.c-who .a-lead { max-width: 30ch; }
.c-who__table { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-top: -8px; }
.c-who__table th, .c-who__table td { padding: 0; font-weight: inherit; text-align: left; vertical-align: middle; }
.c-who__table thead th { padding: 0 20px 8px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-who__table thead .c-who__us { text-align: right; }
.c-who__table thead .c-who__task { text-align: center; }
.c-who__row > * { background: var(--paper-2); }
.c-who__row > :first-child { border-radius: var(--r-2) 0 0 var(--r-2); }
.c-who__row > :last-child { border-radius: 0 var(--r-2) var(--r-2) 0; }
.c-who__table tbody .c-who__us { width: 30%; padding: 18px 20px; text-align: right; }
.c-who__table tbody .c-who__task { width: 40%; padding: 18px 12px; text-align: center; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--text); }
.c-who__table tbody .c-who__you { width: 30%; padding: 18px 20px; }
.c-who__cell { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 14px; border-radius: 2px; font-size: 15px; line-height: 1.25; }
.c-who__us .c-who__cell { background: var(--ink); color: #fff; font-weight: 600; }
.c-who__us .c-who__cell .icon { width: 16px; height: 16px; color: var(--gold-2); }
.c-who__you .c-who__cell { border: 1px solid rgba(18, 20, 23, .2); color: var(--text); }
.c-who__you .c-who__cell.is-none { border-style: dashed; color: var(--muted-2); }
.a-motion .c-who__cell { opacity: 0; will-change: transform, opacity; }
@media (max-width: 767px) {
  .c-who__table, .c-who__table tbody { display: block; }
  .c-who__table thead { display: none; }
  .c-who__row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border-radius: var(--r-2); background: var(--paper-2); overflow: hidden; }
  .c-who__row > * { background: none; border-radius: 0 !important; }
  .c-who__table tbody .c-who__task { grid-column: 1 / -1; grid-row: 1; width: auto; padding: 16px 16px 10px; text-align: left; font-size: 17px; }
  .c-who__table tbody .c-who__us, .c-who__table tbody .c-who__you { width: auto; padding: 0 16px 16px; text-align: left; }
  .c-who__table tbody .c-who__you { padding-left: 0; }
  .c-who__cell { min-height: 32px; padding: 6px 10px; font-size: 14px; }
  .c-who__who { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
}
@media (min-width: 768px) { .c-who__who { display: none; } }

/* ------------------------------------------------------------------ 5 quote */
.c-quote__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-lg); align-items: stretch; }
.c-quote__text { display: flex; flex-direction: column; }
.c-quote .a-lead { margin-top: 20px; }
.c-quote__talk { display: grid; justify-items: start; gap: 8px; margin-top: clamp(32px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line); }
.c-quote__or { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-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; }
.c-quote__tel .icon { width: .62em; height: .62em; color: var(--gold); transition: transform .5s var(--ease); }
.c-quote__tel:hover .icon { transform: translate(3px, -3px); }
.c-quote__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(18, 20, 23, .25); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.c-quote__mail:hover { color: var(--text); text-decoration-color: var(--text); }
.c-quote__group { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--text); }
.c-quote__group .icon { width: 15px; height: 15px; color: var(--gold-ink); transition: transform .45s var(--ease); }
.c-quote__group:hover .icon { transform: translateX(4px); }
.c-quote .a-form__chips--text { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .c-quote__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .c-quote__grid { gap: 32px; }
  .c-quote__talk { margin-top: 24px; padding-top: 20px; }
  .c-quote .a-form__chips--text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
