/* Change Bathrooms and Kitchens: their oxblood and linen, used the way their own site does, grown up. */
:root {
  --ox: #5B2F2C;          /* their heading and text colour */
  --ox-deep: #3E1F1D;
  --ox-ink: #2B1715;
  --linen: #EDE9E1;       /* their menu highlight */
  --paper: #F7F4EE;
  --stone: #6E625B;       /* muted text on linen (5.2:1) */
  --rule: rgba(91, 47, 44, .18);
  --charcoal: #474747;    /* their logo ground */
  --sans: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --gutter: clamp(1.1rem, 5vw, 4rem);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --bar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ox-ink);
  font: 300 1.0625rem/1.6 var(--sans); letter-spacing: .005em;
  padding-bottom: var(--bar);
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
.on-ox :focus-visible, .hero :focus-visible { outline-color: var(--linen); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 300; line-height: .98; letter-spacing: -.035em; margin: 0; color: var(--ox); }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--ox); color: var(--linen); padding: .7rem 1rem; }
.skip:focus { left: .5rem; top: .5rem; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Their logo's wide-tracked capitals, used for every small label: the site's one motif. */
.tag {
  display: block; font: 500 .66rem/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: var(--stone); margin: 0 0 1.1rem;
}
.on-ox .tag { color: rgba(237, 233, 225, .72); }
.caps { font-weight: 400; letter-spacing: .3em; text-transform: uppercase; font-size: .62em; vertical-align: .14em; margin-right: -.3em; }
.huge { font-size: clamp(3.2rem, 14.5vw, 10.5rem); }
.big { font-size: clamp(2.4rem, 9vw, 6rem); }
.mid { font-size: clamp(1.8rem, 5.6vw, 3.2rem); }
.lede { font-size: clamp(1.08rem, 2.6vw, 1.3rem); max-width: 34em; }
.muted { color: var(--stone); }
.wrap { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }
section { position: relative; }
.pad { padding: clamp(4rem, 12vw, 9rem) 0; }
.on-ox { background: var(--ox); color: var(--linen); }
.on-ox h1, .on-ox h2, .on-ox h3 { color: var(--linen); }
.on-linen { background: var(--linen); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .8em 1.4em;
  font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor; border-radius: 0; background: none; color: inherit; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--ox); color: var(--linen); border-color: var(--ox); }
.btn.solid { background: var(--ox); color: var(--linen); border-color: var(--ox); }
.btn.solid:hover { background: var(--ox-deep); }
.on-ox .btn:hover, .hero .btn:hover { background: var(--linen); color: var(--ox); border-color: var(--linen); }
.on-ox .btn.solid, .hero .btn.solid { background: var(--linen); color: var(--ox); border-color: var(--linen); }
.btn svg { width: 1.1em; height: 1.1em; }
.link { font: 500 .72rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid; padding-bottom: .35em; }

/* Header: sits on the photo, settles onto linen once you scroll, slips away while you read down. */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 40; color: var(--linen);
  transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .35s;
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.site-head.solid { background: rgba(247, 244, 238, .94); color: var(--ox); box-shadow: 0 1px 0 var(--rule); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-head.away { transform: translateY(-100%); }
.home .site-head { color: var(--ox); }
.home .site-head .head-call:hover { color: var(--linen); }
.page .site-head { background: rgba(247, 244, 238, .94); color: var(--ox); box-shadow: 0 1px 0 var(--rule); }
.brand { text-decoration: none; line-height: 1; display: grid; gap: .35rem; }
.brand b { font-weight: 400; font-size: 1.15rem; letter-spacing: .5em; margin-right: -.5em; }
.brand span { font-size: .56rem; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
.nav-toggle { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; color: inherit; font: 500 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; min-height: 48px; padding: 0 .2rem; cursor: pointer; }
.nav-toggle i { display: block; width: 22px; height: 1px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: translateY(-3px); }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { border-bottom: 1px solid; }
.head-call { display: none; }
@media (max-width: 899px) {
  .site-nav.open { display: block; position: fixed; inset: 72px 0 0 0; background: var(--ox); color: var(--linen); padding: 2rem var(--gutter); overflow: auto; }
  .site-nav.open li { border-bottom: 1px solid rgba(237, 233, 225, .18); }
  .site-nav.open a { display: block; padding: 1rem 0; font-size: 1.7rem; letter-spacing: -.02em; }
  .nav-open .site-head { background: var(--ox); color: var(--linen); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 1.9rem; }
  .site-nav a { font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: .5rem 0; }
  .head-call { display: inline-flex; min-height: 40px; padding: .6em 1.1em; }
}

/* Phone bar: the number never leaves the screen. */
.callbar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: var(--bar);
  display: grid; grid-template-columns: 1.35fr 1fr; background: var(--ox); color: var(--linen);
  box-shadow: 0 -1px 0 rgba(0,0,0,.08); transition: height .3s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a, .callbar button {
  display: flex; align-items: center; justify-content: center; gap: .55rem; color: inherit; text-decoration: none;
  font: 500 .74rem/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: none; border: 0; cursor: pointer;
}
.callbar a strong { font-weight: 400; letter-spacing: .06em; font-size: .95rem; text-transform: none; }
.callbar button { background: var(--linen); color: var(--ox); }
.callbar svg { width: 18px; height: 18px; flex: none; }
.callbar.slim { height: 52px; }
@media (min-width: 900px) {
  .callbar { left: auto; right: 1.5rem; bottom: 1.5rem; height: auto; width: auto; grid-template-columns: auto auto; box-shadow: 0 18px 40px -18px rgba(43, 23, 21, .55); }
  .callbar a, .callbar button { padding: 1rem 1.3rem; }
  .callbar.slim { height: auto; }
}

/* ---------------------------------------------------------------- hero: clear the screen */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: #b9b3ab; color: var(--linen); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.steam { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.hero::before {
  /* without the script the glass is still misted, as a still */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(237,233,225,.55), rgba(237,233,225,.2) 45%, rgba(62,31,29,.55));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.js .hero::before { display: none; }
.hero-shade { position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(180deg, transparent, rgba(43, 23, 21, .78)); pointer-events: none; }
.hero-top { position: absolute; top: 88px; left: 0; right: 0; pointer-events: none; }
.hero-top .wrap { display: flex; justify-content: space-between; gap: 1rem; }
.hero-top .tag { color: var(--ox); margin: 0; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 4rem); pointer-events: none; }
.hero-copy a, .hero-copy button { pointer-events: auto; }
.hero h1 { color: var(--linen); font-size: clamp(3.1rem, 13.5vw, 10rem); text-shadow: 0 2px 30px rgba(43,23,21,.35); }
.hero h1 .caps { font-size: .46em; white-space: nowrap; }
.hero p { max-width: 30em; margin: 1rem 0 1.4rem; font-size: clamp(1rem, 2.6vw, 1.2rem); line-height: 1.5; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.hero .actions .link { color: var(--linen); }
@media (max-width: 899px) { .hero { height: calc(100svh - var(--bar)); } }
@media (max-width: 599px) {
  .tag { letter-spacing: .24em; }
  .hero-top .tag + .tag { display: none; }
  .hero h1 .tag.on-photo { font-size: .6rem; }
}
@media (max-height: 700px) and (max-width: 599px) { .hero p { display: none; } }
.wipe-hint { position: absolute; right: var(--gutter); top: 27%; display: flex; align-items: center; gap: .7rem; color: var(--ox); font: 500 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; pointer-events: none; transition: opacity .8s; }
.wipe-hint::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.wiped .wipe-hint { opacity: 0; }
.no-js .wipe-hint { display: none; }

/* ---------------------------------------------------------------- inline photo chips in a sentence */
.chip-line { font-size: clamp(1.7rem, 5.4vw, 3.4rem); line-height: 1.22; letter-spacing: -.03em; color: var(--ox); max-width: 22em; }
.chip-line .ph { display: inline-block; width: 2.1em; height: .86em; vertical-align: -.08em; border-radius: 999px; overflow: hidden; margin: 0 .08em; }
.chip-line .ph img { width: 100%; height: 100%; object-fit: cover; }
.chip-line em { font-style: normal; color: var(--stone); }

/* ---------------------------------------------------------------- places: swipe along the coast */
.places { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1.2rem; margin-top: 2.8rem; scrollbar-width: thin; }
@media (min-width: 700px) { .places { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .places { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: 1320px; margin-inline: auto; } }
.place { scroll-snap-align: start; text-decoration: none; display: grid; gap: .9rem; }
.places, .words, .stages { scroll-padding-inline: var(--gutter); }
.place figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--linen); }
@media (min-width: 1100px) { .place figure { aspect-ratio: 4 / 5; } }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place:hover img { transform: scale(1.04); }
.place h3 { font-size: clamp(2.1rem, 8vw, 2.9rem); }
.place p { margin: 0; color: var(--stone); font-size: .98rem; }
.place .tag { margin: 0; }
.coast-line { height: 1px; background: var(--rule); margin: 0 var(--gutter); position: relative; }
.coast-line span { position: absolute; top: -.55rem; background: var(--paper); padding-right: .6rem; }

/* ---------------------------------------------------------------- price guide (the tool) */
.guide { display: grid; gap: 2.2rem; }
@media (min-width: 960px) { .guide { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; } }
.guide-board { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #c9c0b3; overflow: hidden; }
.guide-board img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), transform 1.4s var(--ease); transform: scale(1.03); }
.guide-board img.on { opacity: 1; transform: none; }
.guide-board figcaption { position: absolute; left: .7rem; top: .7rem; padding: .35rem .55rem; background: rgba(247, 244, 238, .82); font: 500 .56rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ox-ink); }
.guide-live { margin-top: 1.6rem; }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid rgba(237, 233, 225, .45); margin-bottom: 1.8rem; }
.seg button { min-height: 46px; padding: 0 1.1rem; background: none; border: 0; color: inherit; font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--linen); color: var(--ox); }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(237, 233, 225, .35); }
.levels button { text-align: left; background: none; border: 0; border-bottom: 2px solid transparent; color: rgba(237, 233, 225, .7); padding: .9rem .2rem .8rem; min-height: 48px; font: 500 .66rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: color .3s, border-color .3s; }
.levels button[aria-pressed="true"] { color: var(--linen); border-bottom-color: var(--linen); }
.level-range { width: 100%; margin: 1.4rem 0 .4rem; accent-color: var(--linen); }
.price { font-size: clamp(3.6rem, 15vw, 7.2rem); line-height: .95; letter-spacing: -.05em; font-weight: 300; margin: 1.6rem 0 .4rem; font-variant-numeric: tabular-nums; }
.price small { display: block; font: 500 .66rem/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(237, 233, 225, .75); margin-top: .9rem; }
.price-note { color: rgba(237, 233, 225, .82); font-size: .98rem; max-width: 30em; }
.guide-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.4rem; }
.noted { font-size: .85rem; color: rgba(237, 233, 225, .8); min-height: 1.4em; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .98rem; }
.price-table th, .price-table td { text-align: left; padding: .7rem .4rem; border-bottom: 1px solid rgba(237, 233, 225, .25); font-weight: 300; }
.price-table th { font: 500 .62rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.js .guide-tool .price-table { display: none; }
.no-js .guide-live { display: none; }
.guide-fine { font-size: .84rem; color: rgba(237, 233, 225, .7); margin-top: 1.4rem; }

/* ---------------------------------------------------------------- testimonials */
.words { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1rem; margin-top: 2.4rem; }
@media (min-width: 900px) { .words { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); max-width: 1320px; margin-inline: auto; } }
.word { scroll-snap-align: start; margin: 0; padding: 1.8rem 0 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.word blockquote { margin: 0 0 1.2rem; font: 400 1.05rem/1.5 var(--serif); color: var(--ox-ink); }
.word blockquote p::before { content: "\201C"; }
.word blockquote p::after { content: "\201D"; }
.word figcaption { margin-top: auto; }
.word figcaption b { display: block; font-weight: 400; color: var(--ox); }
.word figcaption span { font: 500 .62rem/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.word .more { margin-top: .6rem; }
.google-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-top: 2.4rem; }
.google-line strong { font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 300; letter-spacing: -.04em; color: var(--ox); line-height: 1; }

/* ---------------------------------------------------------------- stages */
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1rem; margin-top: 2.4rem; counter-reset: st; }
@media (min-width: 900px) { .stages { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); max-width: 1320px; margin-inline: auto; } }
.stage { scroll-snap-align: start; counter-increment: st; }
.stage figure { margin: 0 0 1rem; aspect-ratio: 3 / 2; overflow: hidden; background: var(--linen); }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.stage h3::before { content: "0" counter(st); display: block; font: 500 .62rem/1 var(--sans); letter-spacing: .3em; color: var(--stone); margin-bottom: .9rem; }
.stage p { color: var(--stone); font-size: .98rem; }

/* ---------------------------------------------------------------- Steve */
.steve { display: grid; gap: 2rem; }
@media (min-width: 900px) { .steve { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; } }
.steve .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.addr { font-style: normal; color: rgba(237, 233, 225, .85); }

/* ---------------------------------------------------------------- inner pages */
.page-head { padding: calc(72px + clamp(3rem, 9vw, 7rem)) 0 clamp(2.4rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(3rem, 12.5vw, 8.6rem); }
.page-head .lede { margin-top: 1.6rem; color: var(--stone); }
.page-photo { margin: 0; }
.page-photo img { width: 100%; max-height: 78vh; object-fit: cover; }
.prose { max-width: 40rem; }
.prose h2 { font-size: clamp(2rem, 6vw, 3rem); margin: 3rem 0 1rem; }
.prose h3 { font-size: 1.5rem; margin: 2rem 0 .6rem; letter-spacing: -.02em; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin: .35rem 0; }
.cols { display: grid; gap: 2.6rem; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 5rem; } .cols.three { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.on-ox .list-plain li { border-color: rgba(237, 233, 225, .2); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 2rem 0 0; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--linen); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 16 / 10; }
.gallery figcaption { font-size: .8rem; color: var(--stone); padding-top: .4rem; }
.project { padding: clamp(3.5rem, 10vw, 7rem) 0; border-top: 1px solid var(--rule); }
.project-lead { margin: 0 0 2rem; }
.project-lead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project h2 { font-size: clamp(2.8rem, 11vw, 7rem); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; position: relative; font-size: 1.2rem; color: var(--ox); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 1rem; font-size: 1.5rem; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; color: var(--stone); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li { counter-increment: s; display: grid; gap: 1rem; padding: clamp(2.4rem, 7vw, 4rem) 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .steps > li { grid-template-columns: 9rem 1fr 1fr; gap: 3rem; align-items: start; } }
.steps > li::before { content: "0" counter(s); font-size: clamp(3rem, 10vw, 5.5rem); font-weight: 300; letter-spacing: -.05em; color: var(--ox); line-height: .9; }
.steps h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: .8rem; }
.steps figure { margin: 0; }
.steps figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps figcaption { font-size: .8rem; color: var(--stone); padding-top: .4rem; }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.big-phone { font-size: clamp(2.6rem, 10vw, 5rem); font-weight: 300; letter-spacing: -.04em; text-decoration: none; color: var(--ox); line-height: 1; display: inline-block; }

/* ---------------------------------------------------------------- forms + drawer */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font: 500 .64rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--stone); }
.form input, .form textarea {
  font: 300 1.05rem/1.4 var(--sans); color: var(--ox-ink); background: #fff; border: 1px solid rgba(91, 47, 44, .3);
  padding: .8rem .9rem; border-radius: 0; width: 100%;
}
.form textarea { min-height: 7rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--ox); outline-offset: 0; border-color: var(--ox); }
.form .fine { font-size: .8rem; color: var(--stone); margin: 0; }
dialog.drawer {
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; border: 0; padding: 0; background: var(--paper); color: var(--ox-ink);
  box-shadow: 0 -30px 60px -20px rgba(43, 23, 21, .5);
}
@media (min-width: 760px) { dialog.drawer { margin: auto 2rem 2rem auto; width: 30rem; } }
dialog.drawer[open] { animation: rise .5s var(--ease); }
dialog.drawer::backdrop { background: rgba(43, 23, 21, .45); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
.drawer-in { padding: 1.6rem var(--gutter) 2rem; overflow: auto; max-height: 92svh; }
@media (min-width: 760px) { .drawer-in { padding: 2rem; } }
.drawer-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.2rem; }
.drawer-top h2 { font-size: 2.2rem; }
.x { background: none; border: 1px solid var(--rule); width: 44px; height: 44px; font-size: 1.3rem; color: var(--ox); cursor: pointer; flex: none; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--ox-ink); color: rgba(237, 233, 225, .82); padding: 4rem 0 2.4rem; font-size: .95rem; }
.site-foot .cols { gap: 2.4rem; }
.site-foot h2 { color: var(--linen); font-size: 1.2rem; letter-spacing: 0; margin-bottom: .8rem; font-weight: 400; }
.site-foot a { color: var(--linen); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-logo { width: 96px; height: 96px; margin-bottom: 1.2rem; }
@media (max-width: 899px) {
  .site-foot { padding-top: 3rem; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
  .site-foot .cols > div:first-child { grid-column: 1 / -1; display: flex; gap: 1rem; align-items: center; }
  .site-foot .cols > div:first-child p { margin: 0; font-size: .9rem; }
  .foot-logo { width: 64px; height: 64px; margin: 0; flex: none; }
  .foot-base { margin-top: 2rem; }
}
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(237, 233, 225, .15); margin-top: 3rem; padding-top: 1.4rem; font-size: .8rem; color: rgba(237, 233, 225, .6); }
.foot-base a { color: rgba(237, 233, 225, .75); }

/* ---------------------------------------------------------------- arrival on scroll */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

/* small helpers (the security policy allows no inline styles) */
.after { margin-top: 2rem; }
.after-s { margin-top: 1.2rem; }
.after-xs { margin-top: .8rem; }
.flush { padding-top: 0; }
.bare { margin: 0; }
.narrow { max-width: 36rem; }
.mb { margin-bottom: 1.4rem; }
.addr-plain { font-style: normal; }
.list-plain li:has(.amt) { display: flex; justify-content: space-between; gap: 1rem; }
.amt { font-weight: 400; }
.hero h1 .tag.on-photo { color: rgba(237, 233, 225, .85); margin-bottom: 1rem; }

/* A job's picture grows into the top of its own page. */
@view-transition { navigation: auto; }
.vt-job-tewantin { view-transition-name: job-tewantin; }
.vt-job-tinbeerwah { view-transition-name: job-tinbeerwah; }
.vt-job-sunrise-beach { view-transition-name: job-sunrise-beach; }
.vt-job-willingham-road { view-transition-name: job-willingham-road; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.22, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
