/* Emerald Painting Company. Paper, ink and the logo's green; every frame and button is an
   emerald cut (a rectangle with its corners stepped off), after the gem in their logo. */
:root {
  --ink: #0f1a12;
  --ink-2: #1b2a1f;
  --paper: #f1efe6;
  --paper-2: #e6e2d4;
  --emerald: #08a800;      /* measured from their logo */
  --emerald-text: #056e00; /* the same green, deep enough for text on paper (5.6:1) */
  --muted: #4c5a4f;
  --muted-on-ink: #b9c2b5;
  --line: #cfcabb;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --cut: 12px;
  --gutter: clamp(1.15rem, 5vw, 3rem);
  --max: 1180px;
  --head-h: 64px;
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 780; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 7.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 5.4vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
.mono, .eyebrow, .label { font-family: var(--mono); }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1rem; display: flex; gap: 0.7em; align-items: center; }
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: currentColor; flex: none; }
.ink .eyebrow { color: var(--emerald); }
.paper .eyebrow, .eyebrow.green { color: var(--emerald-text); }
.lead { font-size: clamp(1.08rem, 2.6vw, 1.3rem); line-height: 1.5; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { top: 0.5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* emerald cut */
.cut { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }

/* buttons */
.btn { --cut: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 52px; padding: 0.7rem 1.35rem; font: 650 1rem/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); transition: background-color .2s, color .2s, transform .2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--emerald); color: var(--ink); }
.btn-green:hover { background: #0bbd03; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn .mono { font-weight: 600; letter-spacing: 0.02em; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.more { font: 600 0.95rem/1.2 var(--mono); text-decoration: none; display: inline-flex; gap: 0.5em; align-items: center; color: var(--emerald-text); }
.ink .more { color: var(--emerald); }
.more::after { content: "→"; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }

/* header */
.head { position: sticky; top: 0; z-index: 50; background: rgba(241, 239, 230, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: transform .35s ease, border-color .3s, box-shadow .3s; }
.head.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 26, 18, .6); }
.head.away { transform: translateY(-100%); }
.head .wrap { display: flex; align-items: center; gap: 1rem; height: var(--head-h); transition: height .3s; }
.head.scrolled .wrap { height: 56px; }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; transition: height .3s; }
.head.scrolled .brand img { height: 32px; }
.nav-wide { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 1.3rem; font-size: 0.95rem; }
.nav-wide a { text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav-wide a:hover, .nav-wide a[aria-current="page"] { border-color: var(--emerald); }
.head-call { display: none; font: 650 0.98rem/1 var(--mono); text-decoration: none; white-space: nowrap; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font: 600 0.85rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 0.8rem 0.2rem 0.8rem 0.8rem; display: flex; align-items: center; gap: .6em; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 18px; height: 10px; border-top: 2px solid; border-bottom: 2px solid; }
.menu[open] summary::after { height: 2px; border-bottom: 0; }
.menu ul { position: absolute; right: 0; top: calc(100% + 6px); background: var(--ink); color: var(--paper); list-style: none; margin: 0; padding: 0.6rem 0; min-width: 240px; --cut: 10px; }
.menu li a { display: block; padding: 0.72rem 1.3rem; text-decoration: none; }
.menu li a[aria-current="page"] { color: var(--emerald); }
@media (min-width: 960px) {
  .nav-wide { display: flex; }
  .menu { display: none; }
  .head-call { display: inline-flex; align-items: center; gap: .45em; }
  .head-call::before { content: ""; width: 8px; height: 8px; background: var(--emerald); transform: rotate(45deg); }
}

/* the phone bar: on phones the number is always on screen */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); transition: padding .3s, box-shadow .3s; }
.callbar .btn { min-height: 50px; padding: 0.6rem 0.8rem; font-size: 0.98rem; }
.callbar.lifted { box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .55); }
.callbar.tight .btn { min-height: 44px; }
body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* sections */
section { position: relative; }
.band { padding: clamp(3.2rem, 9vw, 6.5rem) 0; }
.ink { background: var(--ink); color: var(--paper); }
.ink p { color: var(--muted-on-ink); }
.ink a:not(.btn) { color: var(--paper); }
.paper-2 { background: var(--paper-2); }

/* ---------- home: the opening ---------- */
.hero { padding: clamp(1.2rem, 4vw, 3rem) 0 clamp(2.4rem, 6vw, 4.5rem); overflow: hidden; }
.hero .wrap { display: grid; gap: 1rem 3rem; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 1.4rem; }
.seal { position: relative; width: min(72vw, 290px); margin: 0 auto; }
.seal svg { width: 100%; height: auto; overflow: visible; }
.seal-cap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.2rem 0.9rem; margin: 0.3rem auto 0; max-width: 360px; }
.seal-cap strong { font: 700 0.95rem/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.seal-cap span { font: 0.8rem/1.4 var(--mono); color: var(--muted); }
.seal-cap::before { content: ""; grid-row: span 2; width: 12px; height: 12px; background: var(--emerald); transform: rotate(45deg); }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
  .hero .seal-col { order: 2; }
  .seal { width: min(100%, 440px); }
}
/* the seal engraves itself once on load */
.rosette path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.seven-cuts { clip-path: inset(0 0 0 0); }
.seal .spin { transform-origin: 300px 300px; }
@media (prefers-reduced-motion: no-preference) {
  .js .rosette path { animation: engrave 2.6s cubic-bezier(.5, 0, .2, 1) both; }
  .js .rosette path:nth-child(2) { animation-delay: .25s; }
  .js .rosette path:nth-child(3) { animation-delay: .5s; }
  .js .rosette path:nth-child(4) { animation-delay: .75s; }
  .js .seven-cuts { animation: wipe 1.5s .9s cubic-bezier(.6, 0, .2, 1) both; }
  .js .seven-edge { animation: fadein .6s 2.1s both; }
  .js .seal .spin { animation: turn 240s linear infinite; }
  .js .sheen { animation: sheen 6s 2.6s ease-in-out infinite; }
}
@keyframes engrave { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes sheen { 0%, 55% { transform: translateX(-420px); } 85%, 100% { transform: translateX(620px); } }

/* ---------- before and after ---------- */
.compare { position: relative; margin: 1.6rem 0 1rem; background: var(--paper); --cut: 16px; touch-action: pan-y; user-select: none; }
.compare img { width: 100%; aspect-ratio: 1200 / 760; object-fit: cover; object-position: 50% 42%; }
@media (max-width: 600px) { .compare img { aspect-ratio: 1.3 / 1; } }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--at, 50%)); }
.compare .rule { position: absolute; top: 0; bottom: 0; left: var(--at, 50%); width: 2px; margin-left: -1px; background: var(--emerald); pointer-events: none; }
.compare .grip { position: absolute; top: 50%; left: var(--at, 50%); width: 54px; height: 54px; margin: -27px 0 0 -27px; background: var(--emerald); color: var(--ink); display: grid; place-items: center; pointer-events: none; --cut: 12px; font: 700 0.9rem/1 var(--mono); }
.compare .tag { position: absolute; top: 10px; font: 600 0.72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 0.45rem 0.6rem; background: var(--ink); color: var(--paper); }
.compare .tag.b { left: 10px; }
.compare .tag.a { right: 10px; background: var(--emerald); color: var(--ink); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input:focus-visible ~ .grip { outline: 3px solid var(--paper); outline-offset: 3px; }
.caption { font: 0.82rem/1.5 var(--mono); color: var(--muted); margin: 0; }
.ink .caption { color: var(--muted-on-ink); }
.steps { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.2rem 0 0.6rem; margin: 1.2rem calc(var(--gutter) * -1) 0; padding-inline: var(--gutter); scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps li { list-style: none; flex: 0 0 min(76%, 300px); scroll-snap-align: start; padding: 1rem 1.1rem; background: var(--ink-2); --cut: 10px; }
.steps b { display: block; font: 700 0.8rem/1 var(--mono); color: var(--emerald); letter-spacing: .1em; margin-bottom: .5rem; }
.steps span { color: var(--muted-on-ink); font-size: 0.95rem; line-height: 1.45; }
@media (min-width: 860px) { .steps { margin-inline: 0; padding-inline: 0; overflow: visible; } .steps li { flex: 1; } }

/* ---------- cards in a row to swipe ---------- */
.row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 1.6rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 0.8rem; scrollbar-width: thin; }
.card { flex: 0 0 min(80%, 330px); scroll-snap-align: start; background: #fbfaf5; text-decoration: none; display: flex; flex-direction: column; --cut: 14px; transition: transform .3s ease, background-color .3s; }
.card:hover { transform: translateY(-4px); background: #fff; }
.card .art { background: var(--paper); aspect-ratio: 1200 / 760; overflow: hidden; }
.card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .art img { transform: scale(1.04); }
.card .body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 0.6rem; }
@media (min-width: 960px) { .row { margin-inline: 0; padding-inline: 0; display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* ---------- self-quote lead-in on the home page ---------- */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.4rem 0 1.2rem; }
.pick { text-decoration: none; background: var(--paper); --cut: 10px; display: flex; flex-direction: column; transition: background-color .2s, transform .2s; }
.pick:hover { background: #fff; transform: translateY(-3px); }
.pick img { aspect-ratio: 1200 / 760; object-fit: cover; }
.pick span { font: 600 0.78rem/1.25 var(--mono); padding: 0.55rem 0.6rem 0.7rem; }

/* ---------- facts in writing ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #2b3b2f; margin-top: 1.6rem; --cut: 14px; }
.fact { background: var(--ink); padding: 1.2rem 1rem 1.3rem; }
.fact b { display: block; font: 700 clamp(1.6rem, 6vw, 2.6rem)/1 var(--mono); color: var(--emerald); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.fact span { color: var(--muted-on-ink); font-size: 0.93rem; line-height: 1.45; display: block; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } .fact { padding: 1.6rem 1.4rem; } }

/* ---------- the call ---------- */
.call { text-align: left; }
.bignum { display: inline-block; font: 700 clamp(2.2rem, 10.5vw, 5.4rem)/1 var(--mono); letter-spacing: -0.04em; color: var(--ink); text-decoration: none; margin: 0.2rem 0 1.1rem; }
.bignum:hover { color: var(--emerald-text); }
.postal { font: 0.85rem/1.5 var(--mono); color: var(--muted); margin-top: 1.2rem; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(1.4rem, 4vw, 3rem) 0 clamp(1.8rem, 5vw, 3.2rem); }
.page-hero .wrap { display: grid; gap: 1.4rem 3rem; align-items: center; }
.page-hero .art { --cut: 16px; background: var(--paper-2); }
.page-hero .art img { width: 100%; aspect-ratio: 1200 / 760; }
@media (max-width: 859px) { .page-hero .art { order: -1; } }
@media (min-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr 1fr; } }
.crumbs { font: 0.78rem/1 var(--mono); letter-spacing: .08em; margin-bottom: 1.1rem; display: flex; gap: .5rem; flex-wrap: wrap; color: var(--muted); }
.crumbs a { color: var(--muted); }
.cols { display: grid; gap: 2rem 3rem; }
@media (min-width: 860px) { .cols { grid-template-columns: 1fr 1fr; } .cols.three { grid-template-columns: repeat(3, 1fr); } }
.block { padding: 1.4rem 1.3rem 1.5rem; background: #fbfaf5; --cut: 14px; }
.ink .block { background: var(--ink-2); }
.block h3 { margin-bottom: .4rem; }
.block p:last-child { margin-bottom: 0; }
.num { font: 700 0.8rem/1 var(--mono); color: var(--emerald-text); letter-spacing: .1em; display: block; margin-bottom: .7rem; }
.ink .num { color: var(--emerald); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.chips li { font: 0.86rem/1 var(--mono); padding: 0.62rem 0.8rem; background: #fbfaf5; --cut: 7px; }
.ink .chips li { background: var(--ink-2); color: var(--paper); }
details.open-list { margin-top: 1rem; }
details.open-list summary { cursor: pointer; font: 600 0.9rem/1.2 var(--mono); color: var(--emerald-text); padding: .5rem 0; }

/* parts of a Queenslander */
.parts { position: relative; margin-top: 1.4rem; background: var(--paper-2); --cut: 16px; }
.parts img { width: 100%; aspect-ratio: 1200 / 760; }
.pin { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: grid; place-items: center; font: 700 0.72rem/1 var(--mono); background: var(--ink); color: var(--paper); --cut: 6px; text-decoration: none; }
.pin:hover, .pin:focus-visible, .pin.hint, .pin.on { background: var(--emerald); color: var(--ink); }
.pin { transition: background-color .15s, transform .2s; }
.pin.on { transform: scale(1.18); z-index: 2; }
.pin-label { position: absolute; z-index: 3; margin: 0; transform: translateY(-50%); background: var(--ink); color: var(--paper); font: 600 0.82rem/1.2 var(--mono); padding: 0.5rem 0.7rem; white-space: nowrap; pointer-events: none; clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px); }
.pin-label[hidden] { display: none; }
.pin-label.docked { left: 12px; bottom: 12px; top: auto; transform: none; }
@media (min-width: 860px) { .pin-label { font-size: 0.95rem; padding: 0.65rem 0.9rem; } }
@media (prefers-reduced-motion: no-preference) { .pin-label:not([hidden]) { animation: fadein .2s ease; } }
.key { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1.4rem; }
.key li { font-size: 0.95rem; display: grid; grid-template-columns: 2rem 1fr; align-items: baseline; padding: 0.35rem 0.5rem; border-left: 3px solid transparent; transition: background-color .15s, border-color .15s; }
.js .key li { cursor: pointer; }
.key li b { font: 700 0.78rem/1 var(--mono); color: var(--emerald-text); }
.key li:target, .key li.on, .key li:hover { background: #fbfaf5; border-left-color: var(--emerald); }
@media (min-width: 860px) { .key { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 520px) { .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 0.66rem; } .pin-label { font-size: 0.74rem; padding: 0.4rem 0.55rem; } }

/* one repaint in three stages. Without scroll timelines (or with motion off) the three drawings
   sit side by side; with them, the drawing holds still while each stage scrolls past and redraws it. */
.story { display: grid; gap: 1.2rem 3rem; margin-top: 1.6rem; }
.stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--paper-2); --cut: 14px; }
.stage img { width: 100%; aspect-ratio: 1200 / 760; object-fit: cover; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.beat { background: #fbfaf5; padding: 1.3rem 1.2rem 1.4rem; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px); }
.beat p { margin-bottom: 0.4rem; }
.beat .chips { margin-top: 0.6rem; }
.beat .chips li { background: var(--paper-2); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story { timeline-scope: --b2, --b3; }
    .stage { display: block; position: sticky; top: calc(var(--head-h) + 10px); z-index: 2; aspect-ratio: 1200 / 760; }
    .stage img { position: absolute; inset: 0; height: 100%; }
    .stage .s2, .stage .s3 { opacity: 0; animation: stage-in linear both; animation-range: entry 30% cover 45%; }
    .stage .s2 { animation-timeline: --b2; }
    .stage .s3 { animation-timeline: --b3; }
    .beats { gap: 34vh; padding: 6vh 0 18vh; }
    .beat.b2 { view-timeline-name: --b2; }
    .beat.b3 { view-timeline-name: --b3; }
    @media (max-width: 859px) { .stage { top: 60px; } .beats { gap: 22vh; padding-top: 4vh; } }
  }
}
@keyframes stage-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@media (min-width: 860px) { .story { grid-template-columns: 1.25fr 0.75fr; align-items: start; } }

/* contact page and drawer form */
.form { display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.35rem; font: 600 0.8rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.form input, .form textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #b8b3a3; border-radius: 0; padding: 0.8rem 0.85rem; width: 100%; }
.form textarea { min-height: 7.5rem; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--emerald-text); outline: 2px solid var(--emerald); outline-offset: 0; }
.form .fine { font: 0.8rem/1.5 var(--mono); color: var(--muted); margin: 0; }
.carried { display: none; font: 0.8rem/1.45 var(--mono); background: #e6f5e3; border-left: 3px solid var(--emerald); padding: 0.6rem 0.8rem; }
.carried.on { display: block; }
.drawer { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: none; max-height: 92vh; background: var(--paper); color: var(--ink); --cut: 18px; }
.drawer::backdrop { background: rgba(15, 26, 18, .55); }
.drawer[open] { animation: rise .42s cubic-bezier(.2, .8, .2, 1); }
.drawer .inner { padding: 1.4rem var(--gutter) 1.6rem; max-width: 640px; margin: 0 auto; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.drawer h2 { font-size: 1.6rem; margin: 0; }
.drawer .x { background: var(--ink); color: var(--paper); border: 0; width: 44px; height: 44px; font: 600 1.3rem/1 var(--mono); cursor: pointer; --cut: 8px; }
@media (min-width: 760px) { .drawer { width: min(640px, 92vw); margin: auto; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks { padding: 1rem; background: #e6f5e3; border-left: 3px solid var(--emerald); }

/* footer */
.foot { background: var(--ink); color: var(--muted-on-ink); padding: 3rem 0 2rem; font-size: 0.93rem; }
.foot .wrap { display: grid; gap: 1.8rem; }
.foot .logo-chip { background: var(--paper); display: inline-block; padding: 0.7rem 0.9rem; --cut: 10px; }
.foot .logo-chip img { height: 34px; width: auto; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.5rem; }
.foot a { color: var(--paper); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .small { font: 0.78rem/1.6 var(--mono); border-top: 1px solid #2b3b2f; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; justify-content: space-between; }
.foot .credit a { color: var(--muted-on-ink); }
@media (min-width: 860px) { .foot .wrap { grid-template-columns: 1.2fr 1fr 1fr; } .foot .small { grid-column: 1 / -1; } }

/* arrival as you scroll (only when scripts run; everything shows without them) */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rise.in { opacity: 1; transform: none; }
  .js .row .card.rise:nth-child(2) { transition-delay: .08s; }
  .js .row .card.rise:nth-child(3) { transition-delay: .16s; }
  .js .row .card.rise:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* a job's picture grows into the top of its own page */
.vt-qld { view-transition-name: art-qld; }
.vt-interior { view-transition-name: art-interior; }
.vt-exterior { view-transition-name: art-exterior; }
.vt-commercial { view-transition-name: art-commercial; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

.gap { margin-top: 1.4rem; }
.band.flush { padding-top: 0; }
.h-sm { font-size: 1.5rem; }
.sheet-label { margin: 0 0 0.3rem; font: 0.78rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-ink); }
.notice { font: 0.85rem/1.5 var(--mono); padding: 0.8rem 1rem; background: #fbfaf5; border-left: 3px solid var(--emerald); }
.prose h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; max-width: 62ch; }
