/* Permabuild — site styles. Their colours: ink #1c1c1c and paper #fafafa from permabuild.com.au,
   rule grey #dcdcdc from its buttons, timber #8e735a measured from the batten screen at Sunset House. */
:root {
  --ink: #1c1c1c;
  --ink-2: #262626;
  --ink-rule: #3d3d3d;
  --paper: #fafafa;
  --paper-2: #f1efec;
  --rule: #dcdcdc;
  --muted: #5c5c5c;
  --muted-ink: #a8a8a8;
  --timber: #8e735a;
  --timber-text: #74583e;
  --timber-light: #c9ad90;
  --f-head: "Bahnschrift Condensed", "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --f-body: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, P052, Georgia, serif;
  --hd-h: 60px;
  --gut: 16px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (min-width: 700px) { :root { --gut: 32px; } }
@media (min-width: 1000px) { :root { --hd-h: 72px; --gut: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, .band-t, .proof-cta, .job-cta-t, .qd h2 {
  font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700;
  line-height: .95; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance;
}
/* the logo's own split: "Perma" hairline, "Build" heavy */
.lt { font-weight: 300; }
.bd { font-weight: 700; }
h1 { font-size: clamp(2.6rem, 11vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 8.6vw, 4.2rem); }
h3 { font-size: 1.5rem; line-height: 1; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
:focus-visible { outline: 2px solid var(--timber); outline-offset: 3px; }

.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .08em; }
.skip:focus { top: 8px; }

/* icons, fine line */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ic-arrow { transition: transform .3s var(--ease); }
.ic-job { width: 64px; height: 48px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ic-job .acc { stroke: var(--timber); }
.dash { stroke-dasharray: 3 3; }

/* section numbers: like the title block of a drawing */
.sec-no { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--timber-text); }
.sec-no span { border: 1px solid currentColor; padding: 3px 7px 2px; letter-spacing: .08em; }
.sec-no::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 0; font-family: var(--f-head); font-stretch: 75%; font-weight: 700; font-size: 1.08rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; line-height: 1.1; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover .ic-arrow, .link:hover .ic-arrow, .job:hover .ic-arrow { transform: translateX(4px); }
.btn-no { font-weight: 300; letter-spacing: .04em; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--timber-light); }
.btn-line { border-color: rgba(250, 250, 250, .55); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); background: rgba(250, 250, 250, .08); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line-ink:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- header (reacts to scrolling) ---------- */
.hd { position: sticky; top: 0; z-index: 40; height: var(--hd-h); display: flex; align-items: center; gap: 14px; padding-inline: var(--gut); background: var(--ink); color: var(--paper); transition: height .3s var(--ease), box-shadow .3s; }
.hd-logo { flex: none; display: block; }
.hd-logo img { width: 128px; height: auto; transition: width .3s var(--ease); }
.hd-line { display: none; margin: 0; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted-ink); white-space: nowrap; transition: opacity .3s, transform .3s; }
.hd-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-head); font-stretch: 75%; font-weight: 700; letter-spacing: .06em; font-size: 1.05rem; padding: 10px 4px; }
.hd-tel span { display: none; }
html.is-scrolled .hd { --hd-h: 52px; box-shadow: 0 1px 0 var(--ink-rule); }
html.is-scrolled .hd-logo img { width: 112px; }
@media (min-width: 400px) { .hd-tel span { display: inline; } }
@media (min-width: 1000px) {
  .hd { gap: 28px; }
  .hd-logo img { width: 150px; }
  html.is-scrolled .hd { --hd-h: 58px; }
  html.is-scrolled .hd-logo img { width: 124px; }
  .hd-line { display: block; }
  html.is-down .hd-line { opacity: 0; transform: translateY(-6px); }
  .hd-tel { order: 3; margin-left: 0; border: 1px solid var(--ink-rule); padding: 8px 14px; }
  .hd-tel:hover { border-color: var(--paper); }
  .nav { margin-left: auto; }
}

/* menu: a popover sheet on phones, inline on wide screens */
.nav-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--ink-rule); color: var(--paper); min-height: 44px; padding: 8px 12px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.nav-list[popover] { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: calc(var(--hd-h) + 12px) var(--gut) 40px; background: var(--ink); color: var(--paper); overflow: auto; }
.nav-list[popover]:popover-open { display: flex; flex-direction: column; }
.nav-list li { border-bottom: 1px solid var(--ink-rule); }
.nav-list a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; text-decoration: none; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-size: 2.2rem; line-height: 1; font-weight: 700; }
.nav-list a[aria-current] { color: var(--timber-light); }
.nav-no { font-size: .9rem; font-weight: 300; color: var(--muted-ink); letter-spacing: .08em; }
.nav-close { border: 0 !important; margin-top: 20px; }
.nav-close button { display: inline-flex; gap: 8px; align-items: center; background: none; border: 1px solid var(--ink-rule); color: var(--paper); padding: 10px 14px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; }
@media (prefers-reduced-motion: no-preference) {
  .nav-list[popover] { transition: opacity .3s, transform .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete; opacity: 0; transform: translateY(-8px); }
  .nav-list[popover]:popover-open { opacity: 1; transform: none; }
  @starting-style { .nav-list[popover]:popover-open { opacity: 0; transform: translateY(-8px); } }
}
@media (min-width: 1000px) {
  .nav-btn, .nav-close { display: none !important; }
  .nav-list[popover], .nav-list[popover]:not(:popover-open) { display: flex; position: static; inset: auto; width: auto; height: auto; padding: 0; background: none; overflow: visible; gap: 22px; opacity: 1; transform: none; }
  .nav-list li { border: 0; }
  .nav-list a { font-size: 1rem; font-weight: 400; letter-spacing: .1em; padding: 6px 0; gap: 6px; border-bottom: 1px solid transparent; }
  .nav-list a:hover, .nav-list a[aria-current] { border-bottom-color: currentColor; }
  .nav-no { font-size: .7rem; }
}

/* ---------- progress line: a tape measure pulled out along the top ---------- */
.tape { position: fixed; z-index: 39; left: 0; right: 0; top: var(--hd-h); height: 9px; pointer-events: none; overflow: hidden; transition: top .3s var(--ease); }
html.is-scrolled .tape { top: 52px; }
@media (min-width: 1000px) { html.is-scrolled .tape { top: 58px; } }
.tape-blade {
  position: absolute; inset: 0; transform: translateX(calc(-100% + var(--p, 0) * 100%));
  background-color: #dcc6a8;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 49px, var(--ink) 49px 50px),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(28, 28, 28, .6) 9px 10px);
  background-size: 100% 6px, 100% 3px;
  background-repeat: no-repeat;
  background-position: right top, right top;
  box-shadow: inset 0 -1px 0 rgba(28, 28, 28, .25);
}
.tape-hook { position: absolute; right: 0; top: 0; width: 4px; height: 9px; background: #6c6c6c; box-shadow: -1px 0 0 #3d3d3d; }
@supports (animation-timeline: scroll()) {
  .tape-blade { animation: tape-pull linear both; animation-timeline: scroll(root); }
  @keyframes tape-pull { from { transform: translateX(-100%); } to { transform: translateX(0); } }
}
@media (prefers-reduced-motion: reduce) { .tape { display: none; } }

/* ---------- phone call bar (the number never leaves the screen) ---------- */
.cb { position: fixed; z-index: 38; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -1px 0 var(--ink-rule); transition: padding .3s var(--ease); }
.cb-call { flex: 1 1 auto; display: flex; white-space: nowrap; align-items: center; justify-content: center; gap: 10px; min-height: 50px; background: var(--paper); color: var(--ink); text-decoration: none; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: 1.05rem; transition: min-height .3s var(--ease); }
.cb-no { font-weight: 300; }
.cb-quote { flex: 0 1 40%; min-width: 0; min-height: 50px; background: none; border: 1px solid rgba(250, 250, 250, .55); color: var(--paper); font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; font-size: 1.05rem; overflow: hidden; white-space: nowrap; transition: flex-basis .35s var(--ease), margin .35s var(--ease), opacity .25s, padding .35s, min-height .3s var(--ease); }
html.is-down .cb { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
html.is-down .cb-call { min-height: 44px; }
html.is-down .cb-quote { flex: 0 0 0; min-width: 0; margin-left: -8px; padding: 0; opacity: 0; border-width: 0; min-height: 44px; }
@media (max-width: 459px) { .cb-say { display: none; } .cb-call::before { content: "Call"; order: 0; } .cb-call .ic { order: -1; } }
@media (min-width: 1000px) { .cb { display: none; } }
@media (max-width: 999px) { .ft { padding-bottom: 96px; } }

/* ---------- hero: the question, answered; two tones split hard ---------- */
.hero { display: grid; grid-template-rows: auto 1fr; min-height: calc(100svh - var(--hd-h)); background: var(--ink); color: var(--paper); }
.hero-photo { position: relative; overflow: hidden; height: 33svh; min-height: 210px; max-height: 420px; background: #2b2b2b; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.hero-cap { position: absolute; left: var(--gut); bottom: 10px; margin: 0; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.hero-text { padding: 18px var(--gut) 40px; display: flex; flex-direction: column; }
.ask { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--ink-rule); border-radius: 26px; font-size: .95rem; color: #e6e6e6; max-width: 30rem; min-height: 46px; }
.ask-ic { display: flex; color: var(--timber-light); }
.ask-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-q .ch { display: none; }
.ask-q .ch.on { display: inline; }
.ask-q.typing::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--timber-light); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero h1 { font-size: clamp(2.5rem, 12.2vw, 5.6rem); margin-bottom: .32em; }
.hero h1 .lt { display: block; color: #e9e9e9; }
.hero h1 .bd { display: block; }
.hero-lede { color: #d4d4d4; max-width: 34rem; font-size: 1.02rem; margin-bottom: 20px; }
.hero-btns { display: flex; flex-direction: column; gap: 10px; }
.hero-btns .btn { width: 100%; }
.hero-ledger { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--ink-rule); font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted-ink); }
.hero-ledger span:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--timber-light); }
@media (min-width: 560px) { .hero-btns { flex-direction: row; flex-wrap: wrap; } .hero-btns .btn { width: auto; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: calc(100svh - var(--hd-h)); min-height: 600px; max-height: 960px; }
  .hero-photo { order: 2; height: auto; max-height: none; }
  .hero-text { order: 1; justify-content: center; padding: 48px var(--gut); }
  .hero-cap { left: 24px; bottom: 20px; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 6rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: drift 24s var(--ease) both; }
  @keyframes drift { from { transform: scale(1.1) translate3d(1.5%, 1%, 0); } to { transform: scale(1.01); } }
  .hero h1 > span { animation: rise .9s var(--ease) both; }
  .hero h1 .bd { animation-delay: .12s; }
  @keyframes rise { from { transform: translateY(.3em); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 -20% 0); } }
}

/* ---------- the story: drawn, then built ---------- */
.story { background: var(--paper); position: relative; }
.story-pin { max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 56px; display: grid; gap: 20px; }
.story-head h2 { margin-bottom: 0; }
.story-fig { position: relative; margin: 0; aspect-ratio: 1200 / 1142; width: 100%; background: var(--paper); border: 1px solid var(--rule); }
.story-photo, .story-sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-photo { object-fit: cover; clip-path: inset(0 0 0 50%); }
.story-fig::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ink); }
.story-sketch .sk-lines { fill: none; stroke: var(--ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.story-sketch .sk-lines path { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.mk-line { fill: none; stroke: var(--timber); stroke-width: 3; stroke-dasharray: 1 1; }
.mk-dot { fill: var(--timber); }
.mk-tag rect { fill: var(--paper); stroke: var(--timber); stroke-width: 2.4; }
.mk-tag text { font-family: var(--f-head); font-stretch: 75%; font-size: 40px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.mk-tick { fill: none; stroke: var(--timber); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
.story-fig figcaption { position: absolute; left: 0; right: 0; top: 100%; padding-top: 8px; font-size: .82rem; color: var(--muted); font-style: italic; }
.story-steps { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--rule); }
.st { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.st-no { grid-row: span 2; font-family: var(--f-head); font-stretch: 75%; font-size: 1.5rem; font-weight: 300; color: var(--timber-text); line-height: 1; }
.st h3 { margin: 2px 0 6px; font-size: 1.45rem; }
.st p { margin: 0; color: var(--muted); font-size: .98rem; }
.story-bar { display: none; }
@media (min-width: 900px) {
  .story-pin { grid-template-columns: 5fr 6fr; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; padding-block: 80px; }
  .story-head { grid-column: 1; }
  .story-steps { grid-column: 1; grid-row: 2; margin-top: 8px; }
  .story-fig { grid-column: 2; grid-row: 1 / span 2; }
  .story-sketch .sk-lines { stroke-width: 2.4; }
}
/* scrubbed version (script on, motion allowed) */
.story.is-scrub { height: 215svh; }
.story.is-scrub .story-pin { position: sticky; top: var(--hd-h); height: calc(100svh - var(--hd-h)); min-height: 560px; padding-block: 20px 16px; grid-template-rows: auto auto 1fr auto; gap: 12px; align-content: start; }
.story.is-scrub .story-fig { width: min(100%, 48svh); justify-self: center; }
.story.is-scrub .story-fig::after { left: var(--wipe, 0%); opacity: var(--wipe-on, 0); }
.story.is-scrub .story-photo { clip-path: inset(0 calc(100% - var(--wipe, 0%)) 0 0); }
.story.is-scrub .story-fig figcaption { display: none; }
.story.is-scrub .sk-lines { opacity: var(--sk-o, 1); }
.story.is-scrub .sk-marks { opacity: var(--mk-o, 1); }
.story.is-scrub .story-steps { display: grid; margin-top: 4px; border: 0; }
.story.is-scrub .st { grid-area: 1 / 1; align-self: start; align-content: start; border: 0; padding: 0; visibility: hidden; }
.story.is-scrub .st.on { visibility: visible; animation: st-in .5s var(--ease) both; }
@keyframes st-in { from { opacity: 0; transform: translateY(10px); } }
.story.is-scrub .story-bar { display: flex; gap: 6px; }
.story-bar span { flex: 1; height: 3px; background: var(--rule); position: relative; overflow: hidden; }
.story-bar span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--bar, 0)); }
@media (min-width: 900px) {
  .story.is-scrub { height: 280svh; }
  .story.is-scrub .story-pin { grid-template-rows: auto 1fr; padding-block: 40px; align-content: center; }
  .story.is-scrub .story-fig { width: min(100%, calc(100svh - var(--hd-h) - 100px)); grid-row: 1 / span 2; align-self: center; }
  .story.is-scrub .story-steps { border-top: 1px solid var(--rule); }
  .story.is-scrub .st { grid-area: auto; visibility: visible; opacity: .32; padding: 16px 0; border-bottom: 1px solid var(--rule); transition: opacity .4s; }
  .story.is-scrub .st.on { opacity: 1; animation: none; }
  .story.is-scrub .story-bar { display: none; }
}

/* ---------- the work (ink) ---------- */
.work { background: var(--ink); color: var(--paper); padding: 56px 0 48px; }
.work .sec-no { color: var(--timber-light); }
.tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; margin: 6px calc(var(--gut) * -1) 18px; padding-inline: var(--gut); border-bottom: 1px solid var(--ink-rule); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted-ink); padding: 12px 14px 10px; min-height: 44px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .09em; font-size: .95rem; margin-bottom: -1px; }
.tabs button:first-child { padding-left: 0; }
.tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--timber-light); }
.gal-panel-h { font-size: 1.2rem; color: var(--timber-light); margin: 20px 0 12px; }
.has-tabs .gal-panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: var(--ink-rule) transparent; }
.row li { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 700px) { .row li { flex-basis: 44%; } }
@media (min-width: 1080px) { .row li { flex-basis: calc((100% - 24px) / 3); } }
.tile { display: block; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.tile:hover img { transform: scale(1.025); }
.tile { overflow: hidden; }
.tile-cap { display: flex; gap: 8px; align-items: baseline; padding: 10px 0 2px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted-ink); }
.tile-cap b { color: inherit; font-weight: 700; }
.work .tile-cap b { color: var(--paper); }
.more { margin: 22px 0 0; }

/* ---------- measure teaser (paper) ---------- */
.plan { padding: 56px 0; }
.plan-head p:last-child { color: var(--muted); max-width: 34rem; }
.jobs { border-top: 1px solid var(--ink); margin-top: 10px; }
.job { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-height: 76px; transition: padding .3s var(--ease), background-color .3s; }
.job .ic-job { width: 58px; height: 44px; }
.job-t { flex: 1; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700; font-size: 1.55rem; line-height: 1; }
.job:hover { padding-left: 10px; background: var(--paper-2); }
@media (min-width: 900px) {
  .plan-in { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: end; }
  .jobs { margin-top: 0; }
  .job-t { font-size: 2rem; }
}

/* ---------- proof: split hard, ink and paper ---------- */
.proof { display: grid; }
.proof-quote { background: var(--ink); color: var(--paper); padding: 44px var(--gut) 36px; }
.proof-quote .sec-no { color: var(--timber-light); }
.proof blockquote { margin: 0 0 26px; }
.proof blockquote p { font-size: clamp(1.3rem, 5vw, 2.1rem); line-height: 1.3; font-style: italic; margin-bottom: 18px; }
blockquote footer { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; font-weight: 700; }
blockquote footer span { display: block; font-weight: 300; color: var(--muted-ink); margin-top: 4px; letter-spacing: .08em; }
.link-paper { color: var(--paper); }
.proof-facts { padding: 28px var(--gut) 44px; }
.ledger { border-top: 1px solid var(--ink); counter-reset: none; }
.ledger li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.lg-no { font-family: var(--f-head); font-stretch: 75%; color: var(--timber-text); font-size: 1rem; letter-spacing: .06em; }
.lg-t { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-size: 1.2rem; font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.proof-cta { font-size: clamp(1.7rem, 6.6vw, 3rem); margin: 22px 0 14px; }
.proof-cta span { display: block; }
@media (min-width: 900px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-quote, .proof-facts { padding: 88px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))) 88px var(--gut); }
  .proof-quote { padding-left: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); padding-right: 56px; }
  .proof-facts { padding-left: 56px; }
}

/* ---------- inner page heads ---------- */
.page-head { padding: 44px 0 30px; border-bottom: 1px solid var(--rule); }
.page-head h1 { margin-bottom: .3em; }
.page-head h1 .lt { color: var(--muted); }
.lede { font-size: 1.12rem; max-width: 40rem; }
@media (min-width: 900px) { .page-head { padding: 80px 0 48px; } .lede { font-size: 1.25rem; } }

/* projects list */
.jobs-list { padding: 28px 0 8px; }
.jl-item { border-bottom: 1px solid var(--rule); }
.jl-a { display: grid; gap: 14px; padding: 18px 0 22px; text-decoration: none; }
.jl-media { display: block; overflow: hidden; background: var(--paper-2); }
.jl-media img, .jl-media svg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.jl-a:hover .jl-media img, .jl-a:hover .jl-media svg { transform: scale(1.025); }
.jl-text { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
.jl-no { grid-row: span 3; font-family: var(--f-head); font-stretch: 75%; font-weight: 300; font-size: 2.4rem; color: var(--timber-text); line-height: .9; }
.jl-name { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700; font-size: 2rem; line-height: 1; }
.jl-place { color: var(--muted); }
.jl-go { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.jl-a:hover .ic-arrow { transform: translateX(4px); }
@media (min-width: 900px) {
  .jl-a { grid-template-columns: 7fr 4fr; gap: 40px; align-items: center; padding: 28px 0; }
  .jl-item:nth-child(even) .jl-media { order: 2; }
  .jl-name { font-size: 3rem; }
}

/* browse by space */
.bygal { padding: 56px 0; background: var(--ink); color: var(--paper); }
.bygal .sec-no { color: var(--timber-light); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.filters button { background: none; border: 1px solid var(--ink-rule); color: var(--muted-ink); min-height: 42px; padding: 8px 14px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filter-count { min-height: 1.4em; font-size: .9rem; color: var(--muted-ink); margin: 0 0 12px; }
.grid { display: grid; gap: 18px 14px; }
.g-item[hidden] { display: none; }
@media (min-width: 700px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
.bygal .tile-cap b { color: var(--paper); }
.note { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: 24px; }
.bygal .note { color: var(--muted-ink); }

/* ---------- a project's own page ---------- */
.job-hero { background: var(--ink); color: var(--paper); }
.job-hero-media { height: 56svh; min-height: 280px; max-height: 760px; overflow: hidden; background: var(--paper); }
.job-hero-img { width: 100%; height: 100%; object-fit: cover; }
.job-hero-drawn { padding: 4% 2%; }
.job-hero-text { padding-block: 22px 26px; }
.job-hero-text .sec-no { color: var(--timber-light); }
.job-hero-text h1 { margin: 0; font-size: clamp(2.4rem, 10vw, 5rem); }
.job-hero-text h1 .lt { color: #e2e2e2; }
.job-intro { padding-block: 32px 8px; display: grid; gap: 18px; }
.ledger-dl { margin: 0; border-top: 1px solid var(--ink); }
.ledger-dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.ledger-dl dt { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--timber-text); padding-top: 3px; }
.ledger-dl dd { margin: 0; }
@media (min-width: 900px) { .job-intro { grid-template-columns: 6fr 5fr; gap: 56px; padding-block: 56px 24px; } .job-hero-media { height: 72svh; } }
.job-gal { padding-block: 16px 40px; }
.masonry { columns: 1; column-gap: 14px; }
.masonry li { break-inside: avoid; margin-bottom: 14px; }
.masonry img { width: 100%; }
@media (min-width: 700px) { .masonry { columns: 2; } }
.drawn-pair { display: grid; gap: 24px; }
.drawn-pair figure { margin: 0; border: 1px solid var(--rule); background: #fff; padding: 12px; }
.drawn-pair figcaption { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--timber-text); padding-top: 8px; border-top: 1px solid var(--rule); margin-top: 8px; }
@media (min-width: 900px) { .drawn-pair { grid-template-columns: 1fr 1fr; } }
.drawn { width: 100%; height: auto; }
.drawn .sk-lines { fill: none; stroke: var(--ink); stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.drawn .sk-lines path { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
@media (min-width: 900px) { .drawn .sk-lines { stroke-width: 3; } .job-hero .drawn .sk-lines, .jl-media .drawn .sk-lines { stroke-width: 2; } }
html.js .drawn.draw-in:not(.drawn-done) .sk-lines path { stroke-dashoffset: 1; }
.drawn.draw-in .sk-lines path { transition: stroke-dashoffset 1.6s var(--ease); }
.local { background: var(--paper-2); padding: 48px 0; }
.local-in p { max-width: 42rem; }
.q-small { margin: 24px 0 0; padding-left: 18px; border-left: 2px solid var(--timber); }
.q-small p { font-style: italic; font-size: 1.15rem; }
.job-cta { background: var(--ink); color: var(--paper); padding: 44px 0; }
.job-cta-t { font-size: clamp(2rem, 8vw, 3.4rem); }
.job-cta-t span { display: block; }
.pn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; padding-block: 22px 40px; }
.pn a { display: flex; flex-direction: column; text-decoration: none; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700; font-size: 1.1rem; line-height: 1.1; padding: 10px 0; }
.pn a span { font-weight: 300; font-size: .78rem; letter-spacing: .12em; color: var(--timber-text); margin-bottom: 4px; }
.pn a[rel="next"] { text-align: right; }
.pn a:nth-child(2) { text-align: center; }

/* ---------- services ---------- */
.svc { padding: 16px 0 24px; }
.svc-item { display: grid; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--hd-h) + 10px); }
.svc-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-text { position: relative; }
.svc-no { position: absolute; right: 0; top: 0; font-family: var(--f-head); font-stretch: 75%; font-weight: 300; font-size: 2.4rem; color: var(--timber-text); line-height: 1; }
.svc-text .ic-job { margin-bottom: 10px; }
.svc-text h2 { font-size: clamp(2rem, 7.4vw, 3rem); }
.svc-text p { max-width: 36rem; }
@media (min-width: 900px) {
  .svc-item { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
  .svc-item:nth-child(even) .svc-img { order: 2; }
}
.process { background: var(--paper-2); padding: 56px 0; }
.ledger-big li { grid-template-columns: 52px 1fr; padding: 22px 0; }
.ledger-big .lg-no { font-size: 1.8rem; font-weight: 300; }
.ledger-big h3 { font-size: 1.7rem; margin-bottom: 8px; }
.ledger-big p { margin: 0; color: var(--muted); max-width: 46rem; }
@media (min-width: 900px) { .ledger-big li { grid-template-columns: 90px 260px 1fr; } .ledger-big li > div { display: contents; } .ledger-big .lg-no { font-size: 2.4rem; } }
.band { background: var(--ink); color: var(--paper); padding: 56px 0; }
.band-t { font-size: clamp(2.2rem, 9vw, 4rem); margin-bottom: .3em; }
.band-t span { display: block; }
.band p:not(.band-t) { color: #d0d0d0; max-width: 34rem; }

/* ---------- about ---------- */
.about { display: grid; }
.about-photo { background: var(--ink); }
.about-img { width: 100%; height: 100%; max-height: 74svh; object-fit: cover; object-position: 50% 62%; }
.about-text { padding: 36px var(--gut) 48px; }
.about-text h1 { font-size: clamp(2.4rem, 10vw, 4.6rem); }
.about-text h1 .lt { display: block; color: var(--muted); }
.about-text h1 .bd { display: block; }
.about-text p { max-width: 38rem; }
.about-text .ledger-dl { margin-top: 26px; max-width: 38rem; }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 6fr; min-height: calc(100svh - var(--hd-h)); }
  .about-img { max-height: none; position: sticky; top: var(--hd-h); height: calc(100svh - var(--hd-h)); }
  .about-text { padding: 80px 56px 80px; max-width: 760px; }
}
.testi { padding: 56px 0; }
.testi blockquote { margin: 0; }
.testi blockquote p { font-size: clamp(1.25rem, 4.6vw, 1.8rem); line-height: 1.45; font-style: italic; max-width: 52rem; }
.testi blockquote footer span { color: var(--muted); }

/* ---------- contact + measure & quote ---------- */
.contact-rows { margin-top: 26px; border-top: 1px solid var(--ink); max-width: 48rem; }
.contact-rows li { border-bottom: 1px solid var(--rule); }
.contact-rows a, .cr-static { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 0; text-decoration: none; align-items: center; }
.contact-rows .ic { grid-row: span 2; color: var(--timber); width: 24px; height: 24px; }
.cr-l { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--timber-text); }
.cr-v { font-family: var(--f-head); font-stretch: 75%; font-weight: 700; font-size: 1.5rem; line-height: 1.15; overflow-wrap: anywhere; }
.contact-rows a:hover .cr-v { text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 900px) { .contact-rows { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); } .contact-rows li { border-bottom: 0; border-right: 1px solid var(--rule); padding-left: 16px; } .contact-rows li:first-child { padding-left: 0; } }

.measure { padding: 48px 0 64px; background: var(--paper); }
.m-lede { color: var(--muted); max-width: 36rem; }
.m-grid { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1000px) { .m-grid { grid-template-columns: 6fr 5fr; gap: 56px; } }
.m-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-bottom: 8px; }
.m-steps button { width: 100%; background: none; border: 0; border-bottom: 2px solid var(--rule); padding: 10px 2px 8px; text-align: left; min-height: 52px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--muted); line-height: 1.1; }
.m-steps button span { display: block; font-size: 1.2rem; font-weight: 300; color: var(--timber-text); }
.m-steps button[aria-current="step"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }
.m-steps button.done { color: var(--ink); }
.m-step { border: 0; margin: 0; padding: 18px 0 8px; min-width: 0; }
.m-step legend { padding: 0; margin-bottom: 16px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700; font-size: 1.7rem; line-height: 1; display: flex; gap: 12px; align-items: baseline; }
.m-no { font-weight: 300; color: var(--timber-text); }
html.js .measure.is-live .m-step:not(.on) { display: none; }
html.js .measure.is-live .m-part:not(.on) { display: none; }
.m-part { border-top: 1px dashed var(--rule); padding-top: 12px; margin-top: 12px; }
html.js .measure.is-live .m-part { border: 0; padding: 0; margin: 0; }

.fld { margin: 0 0 18px; }
.fld > label, .fld-l { display: block; margin: 0 0 8px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .09em; font-size: .9rem; font-weight: 700; }
.fld-hint { display: block; font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 2px; }
input:not([type="radio"]):not([type="checkbox"]):not([type="range"]), textarea { width: 100%; font: 16px/1.4 var(--f-body); color: var(--ink); background: #fff; border: 1px solid #8a8a8a; border-radius: 0; padding: 12px 12px; min-height: 48px; }
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--timber); outline-offset: 0; border-color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid #9a9a9a; background: #fff; cursor: pointer; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; font-size: .92rem; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt:has(input:focus-visible) { outline: 2px solid var(--timber); outline-offset: 2px; }
.opt:hover { border-color: var(--ink); }
.opts-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts-jobs .opt { flex-direction: column-reverse; align-items: flex-start; justify-content: space-between; min-height: 112px; padding: 12px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
.opts-jobs .opt:has(input:checked) .ic-job .acc { stroke: var(--timber-light); }
.fld-range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.fld-range label { margin: 0; }
.fld-range output { font-family: var(--f-head); font-stretch: 75%; font-weight: 700; font-size: 1.5rem; }
.fld-range input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 4px 0 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 0; transform: rotate(45deg); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--paper); border: 2px solid var(--ink); border-radius: 0; transform: rotate(45deg); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { background: var(--timber-light); }
input[type="range"]:focus-visible::-moz-range-thumb { background: var(--timber-light); }

/* the timber guide */
.timbers { display: grid; gap: 8px; }
.tb { position: relative; display: grid; grid-template-columns: 74px 1fr; column-gap: 12px; padding: 10px; border: 1px solid #9a9a9a; background: #fff; cursor: pointer; }
.tb input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tb-sw { grid-row: span 3; height: 54px; align-self: start; border: 1px solid rgba(28, 28, 28, .25); }
.tb-sw svg { width: 100%; height: 100%; fill: none; stroke: rgba(28, 28, 28, .28); stroke-width: 1; }
.tb-spotted-gum .tb-sw { background: linear-gradient(100deg, #c9a582, #9a6b4b 55%, #7b4a32); }
.tb-blackbutt .tb-sw { background: linear-gradient(100deg, #e3c9a0, #cfac7c 55%, #b88f5f); }
.tb-ironbark .tb-sw { background: linear-gradient(100deg, #9a5a3e, #6f3a28 55%, #4f2a1e); }
.tb-tallowwood .tb-sw { background: linear-gradient(100deg, #cfab72, #b08c56 55%, #8d6a3c); }
.tb-not-sure .tb-sw { background: repeating-linear-gradient(135deg, #fff 0 6px, #ececec 6px 7px); }
.tb-n { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.tb-look { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.tb-why { display: none; font-size: .92rem; line-height: 1.45; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rule); }
.tb:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tb:has(input:checked) .tb-why { display: block; }
.tb:has(input:checked) .tb-n::after { content: " ✓"; color: var(--timber-text); }
.tb:has(input:focus-visible) { outline: 2px solid var(--timber); outline-offset: 2px; }
.tb-note { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: 10px; }
html:not(.js) .tb-why { display: block; }

.m-nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--rule); }
.m-nav .m-back[disabled] { visibility: hidden; }
.m-send { width: 100%; }
.m-error { color: #9b1c1c; font-weight: 700; }
[aria-invalid="true"] { border-color: #9b1c1c !important; box-shadow: inset 0 0 0 1px #9b1c1c; }

/* the drawing board */
.m-board { position: sticky; top: calc(var(--hd-h) + 8px); z-index: 2; }
.m-sheet { background: #fff; border: 1px solid var(--ink); }
.m-draw { width: 100%; height: auto; aspect-ratio: 400 / 350; }
.m-sheet-foot { display: flex; justify-content: space-between; margin: 0; padding: 6px 10px; border-top: 1px solid var(--ink); font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); }
.m-brief { margin-top: 14px; }
.m-brief-h { margin: 0 0 6px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--timber-text); font-weight: 700; }
.m-brief-list { border-top: 1px solid var(--ink); counter-reset: brief; }
.m-brief-list li { counter-increment: brief; display: grid; grid-template-columns: 30px 8.5rem 1fr; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: .92rem; line-height: 1.3; }
.m-brief-list li::before { content: counter(brief, decimal-leading-zero); font-family: var(--f-head); font-stretch: 75%; color: var(--timber-text); }
.m-brief-list b { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; font-weight: 700; padding-top: 1px; }
@media (max-width: 999px) {
  .m-board { order: -1; top: 52px; background: var(--paper); padding: 6px 0; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); box-shadow: 0 1px 0 var(--rule); }
  .m-sheet { max-width: 520px; margin-inline: auto; }
  .m-draw { max-height: 31svh; }
  .m-sheet-foot { padding: 3px 10px; }
  .m-brief { display: none; }
  .measure.at-4 .m-board { position: static; }
  .measure.at-4 .m-brief { display: block; }
  .measure.at-4 .m-sheet { display: none; }
}
/* drawing parts */
.m-art { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.m-art .thin { stroke-width: .7; }
.m-art .acc { stroke: var(--timber); }
.m-art .fill-acc { fill: rgba(142, 115, 90, .14); stroke: var(--timber); }
.m-art .dim { stroke: var(--timber); stroke-width: .9; }
.m-art .dash { stroke-dasharray: 4 3; }
.m-art text { fill: var(--ink); stroke: none; font-family: var(--f-head); font-stretch: 75%; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.m-art text.big { font-size: 17px; font-weight: 700; }
.m-art text.acc-t { fill: var(--timber-text); }
@media (prefers-reduced-motion: no-preference) {
  .m-art .grow { transition: d .45s var(--ease); }
  .m-art .fade { animation: fadein .5s both; }
  @keyframes fadein { from { opacity: 0; } }
}

/* ---------- quote drawer (rises over the page) ---------- */
.qd[popover] { margin: 0; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 92svh; border: 0; padding: 0; background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); overscroll-behavior: contain; }
.qd::backdrop { background: rgba(20, 20, 20, .55); }
.qd-in { padding: 18px var(--gut) calc(24px + env(safe-area-inset-bottom)); max-width: 560px; margin-inline: auto; }
.qd-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 14px; }
.qd-top h2 { font-size: 2rem; margin: 0; }
.qd-x { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--rule); }
.qd-brief { background: #fff; border: 1px solid var(--rule); padding: 10px 12px; margin-bottom: 14px; }
.qd-brief-h { margin: 0 0 4px; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--timber-text); font-weight: 700; }
.qd-brief-list li { font-size: .92rem; padding: 3px 0; border-bottom: 1px dashed var(--rule); }
.qd-brief-list b { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; margin-right: 6px; }
.qd-brief-clear { background: none; border: 0; padding: 8px 0 0; text-decoration: underline; font-size: .88rem; color: var(--muted); min-height: 36px; }
.qd-form .btn { width: 100%; margin-top: 4px; }
.qd-small { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.qd-next { margin: 18px 0 0; border-top: 1px solid var(--rule); }
.qd-next li { display: grid; grid-template-columns: 30px 1fr; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .94rem; }
.qd-next span { font-family: var(--f-head); font-stretch: 75%; color: var(--timber-text); }
.qd-or { margin: 14px 0 0; font-size: .95rem; }
.qd-or a { font-weight: 700; }
@media (min-width: 900px) {
  .qd[popover] { inset: 0 0 0 auto; width: 480px; height: 100%; max-height: none; box-shadow: -10px 0 40px rgba(0, 0, 0, .3); }
  .qd-in { padding: 28px 32px 40px; }
}
@media (prefers-reduced-motion: no-preference) {
  .qd[popover] { transition: transform .45s var(--ease), display .45s allow-discrete, overlay .45s allow-discrete; transform: translateY(100%); }
  .qd[popover]:popover-open { transform: none; }
  @starting-style { .qd[popover]:popover-open { transform: translateY(100%); } }
  .qd::backdrop { transition: background-color .45s, display .45s allow-discrete, overlay .45s allow-discrete; }
  @starting-style { .qd:popover-open::backdrop { background-color: transparent; } }
  @media (min-width: 900px) {
    .qd[popover] { transform: translateX(100%); }
    .qd[popover]:popover-open { transform: none; }
    @starting-style { .qd[popover]:popover-open { transform: translateX(100%); } }
  }
}

/* ---------- footer ---------- */
.ft { background: var(--ink); color: var(--paper); padding-top: 36px; border-top: 1px solid var(--ink-rule); }
.ft-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; gap: 20px; }
@media (max-width: 899px) { .ft-tag { display: none; } .ft-brand img { margin-bottom: 0; width: 150px; } .ft-places { display: none; } .ft-nav ul:first-child { display: flex; flex-wrap: wrap; gap: 0 18px; grid-column: 1 / -1; } }
.ft-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.ft-tag { color: var(--muted-ink); max-width: 24rem; font-size: .95rem; }
.ft-ledger { margin: 0; border-top: 1px solid var(--ink-rule); }
.ft-ledger div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--ink-rule); font-size: .95rem; }
.ft-ledger dt { font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--timber-light); padding-top: 3px; }
.ft-ledger dd { margin: 0; overflow-wrap: anywhere; }
.ft-ledger a { text-decoration: none; }
.ft-ledger a:hover { text-decoration: underline; }
.ft-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ft-nav a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: .95rem; color: #dcdcdc; }
.ft-nav a:hover { color: #fff; text-decoration: underline; }
.ft-places a { color: var(--muted-ink); font-size: .9rem; }
.ft-base { max-width: var(--max); margin: 20px auto 0; padding: 16px var(--gut) 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--ink-rule); font-size: .82rem; color: var(--muted-ink); }
.credit { color: var(--muted-ink); text-decoration: none; }
.credit:hover { color: #fff; text-decoration: underline; }
@media (min-width: 900px) { .ft-in { grid-template-columns: 1fr 1.1fr 1.2fr; gap: 48px; } }

/* ---------- privacy + 404 ---------- */
.prose { padding-block: 32px 56px; max-width: 760px; margin-left: 0; }
@media (min-width: 1240px) { .prose { margin-left: calc((100vw - var(--max)) / 2); } }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.nf { padding: 48px 0 72px; }
.nf-draw { width: min(100%, 420px); margin-bottom: 28px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.nf-draw .acc { stroke: var(--timber); }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 28px; }
.nf-links a { display: inline-block; padding: 6px 0; font-family: var(--f-head); font-stretch: 75%; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* ---------- arriving as you scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  html.js .rv.in { opacity: 1; transform: none; }
}

/* ---------- a job's picture grows into the top of its own page ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}
.vt-job-cove { view-transition-name: job-cove; }
.vt-job-noosa { view-transition-name: job-noosa; }
.vt-job-sunset { view-transition-name: job-sunset; }
.vt-job-cinnamon { view-transition-name: job-cinnamon; }
.vt-job-cormorant { view-transition-name: job-cormorant; }
::view-transition-old(job-cove), ::view-transition-new(job-cove),
::view-transition-old(job-noosa), ::view-transition-new(job-noosa),
::view-transition-old(job-sunset), ::view-transition-new(job-sunset),
::view-transition-old(job-cinnamon), ::view-transition-new(job-cinnamon),
::view-transition-old(job-cormorant), ::view-transition-new(job-cormorant) { height: 100%; width: 100%; object-fit: cover; overflow: clip; }

@media print { .hd, .cb, .tape, .qd, .ft-nav { display: none !important; } }

/* header fit between 1000 and 1300 px */
.nav-list a, .hd-tel { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1299px) { .hd-line { display: none !important; } .nav-list[popover] { gap: 16px; } }
.nav-call { border-bottom: 0 !important; margin-top: 22px; }
.nav-call a { display: inline-flex; align-items: center; gap: 12px; font-size: 1.3rem; background: var(--paper); color: var(--ink); padding: 14px 18px; }
@media (min-width: 1000px) { .nav-call { display: none !important; } }
