/* Commercial Renovation — /office-fitouts-melbourne (v3, docs/DESIGN-V3.md §8.4). Loaded after assets/css/v3/base.css.
   This page only: the video hero's extras, the staging drawing (the page's signature, §6.5), the five-marker photo, the FAQ
   list and the quote layout. The drawing's start states apply only once office.js runs the sequence (.o-stage.is-run, set
   under html.a-motion); html.a-noanim / .no-js / .a-late, a late script and short landscape phones keep the finished, static
   drawing (all three zones hatched and labelled, the week strip complete, every stage caption shown). */

@property --fx { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --fy { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }

/* ------------------------------------------------------------------ hero (office video, poster = LCP) */
.o-hero__film video { opacity: 0; transition: opacity 1.2s ease; }
.o-hero__film.is-playing video { opacity: 1; }
.o-hero__film img, .o-hero__film video { object-position: 50% 42%; }
.o-hero__trust { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.o-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(232, 190, 87, .18); }
.a-motion .o-hero__trust { animation: aUp .8s .36s var(--ease) both; }
.o-hero__foot { position: absolute; z-index: 2; right: max(var(--gut), calc((100% - var(--max)) / 2)); bottom: clamp(52px, 9vh, 104px); display: flex; align-items: center; gap: 14px; }
.o-hero__chip { position: static; }
.a-motion .o-hero__foot > * { animation: aUp .9s .5s var(--ease) both; }
.o-vid { position: relative; width: 44px; height: 44px; display: grid; place-items: center; margin: -5px; color: #fff; }
.o-vid::before { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .38); background: rgba(9, 11, 14, .35); transition: border-color .25s; }
.o-vid:hover::before { border-color: #fff; }
.o-vid > span { position: relative; }
.o-vid .icon { width: 12px; height: 12px; }
.o-vid__play, .o-vid[aria-pressed="true"] .o-vid__pause { display: none; }
.o-vid[aria-pressed="true"] .o-vid__play { display: block; }
.o-vid[hidden] { display: none; }
@media (max-width: 1023px) { .o-hero__chip { display: none; } }
@media (max-width: 767px) {
  .o-hero__trust { margin-top: 16px; font-size: 13px; }
  .o-hero__foot { top: calc(var(--head-h) + 2px); bottom: auto; }
}

/* ------------------------------------------------------------------ 01 staging: the staging drawing */
.o-stage { padding: var(--sec) 0; }
.o-stage__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-lg); align-items: start; }   /* the label sits on the sheet's top edge, like every other split (the stage itself stays centred in the screen) */
.o-stage .a-h2 { max-width: 10ch; }
.o-steps { display: grid; gap: clamp(18px, 2vw, 28px); margin-top: clamp(28px, 3.4vw, 48px); }
.o-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; transition: opacity .5s ease; }
.o-step__n { font-size: 44px; color: var(--gold-ink); -webkit-text-stroke-color: currentColor; transition: color .5s ease; }   /* solid numerals: the stroke follows the fill */
.o-step__body { display: grid; gap: 6px; padding-top: 4px; }
.o-step__body > span { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 34ch; }
.is-run .o-step { opacity: .34; }
.is-run .o-step .o-step__n { color: var(--muted-2); }
.is-run .o-step.is-on { opacity: 1; }
.is-run .o-step.is-on .o-step__n { color: var(--gold-ink); }

/* the sheet: a white drawing sheet on the stone surface, printed plan + the week strip + the title block */
.o-sheet { position: relative; margin: 0; padding: clamp(14px, 1.8vw, 26px); background: var(--white) radial-gradient(rgba(18, 20, 23, .07) 1px, transparent 1.3px) 0 0 / 18px 18px; border-radius: var(--r-3); box-shadow: var(--sh-card), 0 0 0 1px var(--line); }
.o-plan__svg { width: 100%; height: auto; overflow: visible; }
.o-plan__wall { fill: none; stroke: var(--text); stroke-width: 6; stroke-linejoin: miter; }
.o-plan__thin { fill: none; stroke: rgba(18, 20, 23, .4); stroke-width: 1.5; }
.o-plan__glass { fill: none; stroke: rgba(18, 20, 23, .72); stroke-width: 3; }
.o-plan__split { fill: none; stroke: rgba(18, 20, 23, .38); stroke-width: 1.5; stroke-dasharray: 9 7; }
.o-plan__grid line { stroke: rgba(18, 20, 23, .3); stroke-width: 1.2; stroke-dasharray: 3 4; }
.o-plan__grid circle { fill: var(--white); stroke: rgba(18, 20, 23, .45); stroke-width: 1.2; }
.o-plan__grid text { font: 500 13px var(--mono); fill: var(--muted); text-anchor: middle; }
.o-hatch__tint { fill: rgba(217, 167, 46, .13); }
.o-hatch__line { stroke: #B8871F; stroke-width: 1.7; }
.o-hoard { fill: none; stroke: var(--gold-ink); stroke-width: 2.5; stroke-dasharray: 12 6; opacity: 0; }
.o-team circle { fill: var(--text); }
.is-run .o-hatch { opacity: 0; }   /* office.js reveals each zone's hatching through its clip */

/* zone labels: HTML under the plan, one per third of the floor plate (plate = 4 % → 96 % of the drawing) */
.o-zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 4% 0; }
.o-zone { text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); transition: color .4s; }
.is-run .o-zone { color: var(--muted); }
.is-run .o-zone.is-on { color: var(--gold-ink); }
.is-run .o-zone.is-done { color: var(--text); }

/* week strip: zones A–C × weeks 1–6, each cell "Your team" (ink) or "Works" (the plan's hatch) */
.o-weeks { display: grid; grid-template-columns: 56px repeat(6, minmax(0, 1fr)); gap: 5px; margin-top: 18px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.o-weeks__corner, .o-weeks__lane { align-self: center; }
.o-weeks__h { display: grid; place-items: center; height: 22px; border-radius: 2px; transition: background-color .35s, color .35s; }
.o-weeks__h.is-now { background: rgba(217, 167, 46, .32); color: var(--text); }
.o-cell { position: relative; height: 22px; border-radius: 2px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.o-cell::before { content: ''; position: absolute; inset: 0; }
.o-cell--team::before, .o-key__i--team { background: rgba(18, 20, 23, .78); }
.o-cell--works::before, .o-key__i--works { background: repeating-linear-gradient(135deg, #B8871F 0 1.6px, rgba(217, 167, 46, .16) 1.6px 7px); }
.is-run .o-cell::before { clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease); }
.is-run .o-cell.is-on::before { clip-path: inset(0 0 0 0); }

.o-sheet__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.o-key { display: inline-flex; align-items: center; gap: 9px; }
.o-key__i { width: 16px; height: 11px; border-radius: 2px; }
.o-sheet__title { margin-left: auto; display: inline-flex; gap: 14px; }
.o-sheet__title b { font-weight: 500; color: var(--text); }
.o-sheet__title span { color: var(--gold-ink); }

/* sticky run (V3.fx.sequence): the stage is one screen under the header, the drawing centred in it */
.a-motion .o-stage:has(> .a-seq) { padding: 0; }
.a-motion .a-seq > .o-seq__stage { display: flex; align-items: center; padding: calc(var(--head-h) + 8px) 0 12px; }

@media (max-width: 1023px) {
  .o-stage__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .o-stage .a-h2 { max-width: 15ch; }
  .o-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o-step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .o-step__n { font-size: 34px; }
  .is-run .o-stage__grid { gap: 22px; }
  .is-run .o-steps { margin-top: 22px; }
}
@media (max-width: 767px) {
  /* phones: title, then the drawing, then the stage caption (one at a time while it runs; all three when still) */
  .o-stage__text { display: contents; }
  .o-stage__grid { gap: 0; }
  .o-stage__grid > .a-label { order: 1; }
  .o-stage__grid > .a-h2 { order: 2; }
  .o-sheet { order: 3; margin-top: 24px; padding: 10px; }
  .o-steps { order: 4; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px; }
  .o-step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .o-step__n { font-size: 34px; }
  .o-step__body { gap: 4px; padding-top: 2px; }
  .o-step__body > span { font-size: 15px; }
  .o-plan__grid { display: none; }
  .o-zones { margin-top: 8px; }
  .o-weeks { grid-template-columns: 42px repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: 12px; letter-spacing: .06em; }
  .o-weeks__h, .o-cell { height: 18px; }
  .o-sheet__foot { gap: 8px 14px; margin-top: 12px; padding-top: 10px; letter-spacing: .06em; }
  .o-sheet__title { margin-left: 0; width: 100%; justify-content: space-between; }
  /* centred between the header and the call bar; never clipped at the top on short phones */
  .a-motion .a-seq > .o-seq__stage { align-items: flex-start; align-items: safe center; padding: calc(var(--head-h) + 12px) 0 76px; }
  .is-run .o-sheet { margin-top: 18px; }
  .is-run .o-steps { display: grid; margin-top: 18px; }
  .is-run .o-step { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .6s var(--ease); }
  .is-run .o-step.is-on { opacity: 1; transform: none; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .is-run .o-sheet__foot { display: none; }
  .is-run .a-label { margin-bottom: 14px; }
  .is-run .o-sheet, .is-run .o-steps { margin-top: 14px; }
  .is-run .o-plan { padding: 0 7%; }
  .is-run .o-zones { margin: 8px 10.4% 0; }   /* the floor plate spans 4–96 % of the narrower plan */
  .is-run .o-weeks { gap: 3px; margin-top: 10px; }
  .is-run .o-weeks__h, .is-run .o-cell { height: 15px; }
}

/* ------------------------------------------------------------------ 02 inside the fitout: five markers on one photo */
.o-spot { position: relative; }
.o-spot > .a-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 22% 34% at var(--fx) var(--fy), rgba(7, 9, 12, 0) 0%, rgba(7, 9, 12, 0) 45%, rgba(7, 9, 12, .62) 100%);
  transition: opacity .5s ease, --fx .7s var(--ease), --fy .7s var(--ease); }
.o-spot.is-lit > .a-media::after { opacity: 1; }
.o-spot > .a-media > .a-chip { z-index: 2; }
.o-spot__marks { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.o-mark { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; pointer-events: auto; cursor: pointer; }
.o-mark i { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: .04em; color: #fff;
  background: rgba(10, 12, 14, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 10px 24px rgba(0, 0, 0, .35);
  transition: background-color .3s, color .3s, transform .45s var(--ease), box-shadow .3s; }
.o-mark:hover i, .o-mark.is-on i { background: var(--gold); color: var(--ink); transform: scale(1.12); box-shadow: 0 0 0 1px var(--gold-2), 0 10px 24px rgba(0, 0, 0, .35); }
.a-motion .o-mark { opacity: 0; transform: scale(.35); }
.a-motion .o-spot.is-in .o-mark { opacity: 1; transform: none; transition: opacity .5s ease calc(.45s + var(--i) * .13s), transform 1s var(--ease) calc(.45s + var(--i) * .13s); }
.o-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: 22px; }
.o-legend__item { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 16px 0 4px; text-align: left; font-size: 15px; line-height: 1.4; color: var(--on-dark-2); box-shadow: inset 0 1px 0 var(--line-dark); transition: color .3s, box-shadow .3s; }
.o-legend__n { flex: none; font: 500 12px/20px var(--mono); letter-spacing: .12em; color: var(--gold-2); }
.o-legend__item:hover, .o-legend__item.is-on { color: #fff; box-shadow: inset 0 2px 0 var(--gold); }
.o-inside__also { margin-top: 36px; font-size: 15px; color: var(--on-dark-2); }
.o-inside__also a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 6px; color: var(--on-dark); 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; }
.o-inside__also a:hover { color: var(--gold-2); text-decoration-color: var(--gold-2); }
@media (max-width: 1023px) { .o-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; } }
@media (max-width: 767px) {
  .o-spot > .a-media { aspect-ratio: 3 / 2; }
  .o-mark { top: var(--my); width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .o-mark i { width: 30px; height: 30px; }
  .o-legend { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 16px; }
  .o-legend__item { align-items: center; min-height: 52px; padding: 12px 0; }
  .o-legend li:last-child .o-legend__item { box-shadow: inset 0 1px 0 var(--line-dark), inset 0 -1px 0 var(--line-dark); }
  .o-legend li:last-child .o-legend__item.is-on { box-shadow: inset 0 2px 0 var(--gold), inset 0 -1px 0 var(--line-dark); }
  .o-inside__also { margin-top: 22px; }
}

/* ------------------------------------------------------------------ 03 office managers ask us */
.o-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-lg); align-items: start; }
.o-faq .a-h2 { max-width: 11ch; }
.o-faq__side > .a-media { margin-top: clamp(32px, 3.6vw, 52px); }
.o-faq__main { padding-top: 0; }
.o-qa { margin-top: 0; }
/* the first question starts level with the section label (as on /shop); the rules separate the rows under it */
.o-qa__row:first-child { padding-top: 0; border-top: 0; }
.o-qa__row:first-child .o-qa__n { top: 6px; }
.o-qa__row { position: relative; padding: 26px 0 28px 64px; border-top: 1px solid var(--line); }
.o-qa__row:last-child { border-bottom: 1px solid var(--line); }
.o-qa dt { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; font-weight: 600; text-wrap: balance; }
.o-qa__n { position: absolute; left: 0; top: 32px; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--gold-ink); }
.o-qa dd { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.o-faq__call { margin-top: 30px; font-size: 16px; color: var(--muted); }
.o-faq__call a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: 4px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.o-faq__call .icon { width: 16px; height: 16px; color: var(--gold-ink); transition: transform .45s var(--ease); }
.o-faq__call a:hover .icon { transform: translate(3px, -3px); }
@media (max-width: 1023px) {
  .o-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .o-faq__side > .a-media { display: none; }
  .o-faq__main { padding-top: 28px; }
}
@media (max-width: 767px) {
  .o-qa__row { padding: 20px 0 22px 40px; }
  .o-qa__n { top: 25px; }
  .o-qa__row:first-child .o-qa__n { top: 5px; }
  .o-qa dd { font-size: 16px; margin-top: 8px; }
  .o-faq__call { margin-top: 20px; }
}

/* ------------------------------------------------------------------ 04 free quote */
.o-quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-lg); align-items: start; }
.o-quote .a-h2 { max-width: 10ch; }
.o-quote .a-lead { margin-top: 20px; }
.o-quote__call { display: grid; justify-items: start; gap: 6px; margin-top: clamp(32px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line-dark); }
.o-quote__or { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.o-quote__tel { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; margin-top: 6px; font-size: clamp(34px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; transition: color .3s; }
.o-quote__tel .icon { width: .62em; height: .62em; color: var(--gold); transition: transform .5s var(--ease); }
.o-quote__tel:hover .icon { transform: translate(3px, -3px); }
.o-quote__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--on-dark-2); text-decoration: underline; text-decoration-color: rgba(242, 238, 231, .25); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color .3s, text-decoration-color .3s; }
.o-quote__mail:hover { color: #fff; text-decoration-color: var(--gold-2); }
.o-quote__about { margin-top: clamp(24px, 3vw, 36px); }   /* the system's .a-more link, as on the other service pages */
.o-quote .a-form__chips--text:has(input[name="occupied"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* Yes / No / Not sure: one row */
.o-quote .a-form { color: var(--text); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); border-color: transparent; }   /* the white card keeps light-surface text on the ink section */
@media (max-width: 1023px) { .o-quote__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 767px) {
  .o-quote__grid { gap: 32px; }
  .o-quote__call { margin-top: 24px; padding-top: 20px; }
}

