/* Iezzi Built: site styles. Colours from their own site: charcoal #1f2023, cream #faf8eb, sand #d8caaf. */
:root {
  --ink: #1f2023;
  --ink-2: #2a2b2f;
  --paper: #faf8eb;
  --sand: #d8caaf;
  --sand-soft: #ece4d2;
  --muted: #57564f;        /* on paper: 6.9:1 */
  --muted-dark: #bdb6a6;   /* on ink: 8.6:1 */
  --rule: rgba(31, 32, 35, .16);
  --rule-dark: rgba(250, 248, 235, .16);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gut: clamp(16px, 5vw, 64px);
  --max: 1320px;
  --head-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; text-transform: uppercase; letter-spacing: -.035em; line-height: .92; text-wrap: balance; }
h3 { letter-spacing: -.01em; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.ink :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--sand); }
::selection { background: var(--sand); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.ink { background: var(--ink); color: var(--paper); }
.sandbg { background: var(--sand); color: var(--ink); }
.pad { padding: clamp(72px, 12vw, 160px) 0; }
.pad-s { padding: clamp(48px, 8vw, 96px) 0; }

/* ---------- the motif: the logo's detached cap and square dot */
.eyebrow {
  display: block; font-size: 12px; line-height: 1.3; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; display: block; width: 26px; height: 5px; background: currentColor; margin: 0 0 7px; }
.ink .eyebrow { color: var(--sand); }
.sq { display: inline-block; width: .42em; height: .42em; background: currentColor; vertical-align: .12em; margin-right: .45em; }
.capline { position: relative; }
.capline::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 4px; background: var(--ink); }

.poster { font-size: clamp(44px, 12.4vw, 148px); }
.poster-m { font-size: clamp(36px, 9.4vw, 96px); }
.lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; max-width: 36ch; }
.muted { color: var(--muted); }
.ink .muted { color: var(--muted-dark); }
.small { font-size: 14px; }

/* ---------- buttons */
.btn {
  --b: var(--ink); --c: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  background: var(--b); color: var(--c); border: 1.5px solid var(--b); border-radius: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--b); }
.btn-line:hover { background: var(--b); color: var(--c); }
.ink .btn { --b: var(--paper); --c: var(--ink); }
.btn-sand { --b: var(--sand); --c: var(--ink); }
.btn .sq { margin: 0; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1.5px solid currentColor; }
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h);
  color: var(--paper); background: transparent;
  transition: height .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(31,32,35,.55), rgba(31,32,35,0)); pointer-events: none; transition: opacity .35s; }
.site-head.is-stuck, .is-solid .site-head { background: var(--ink); --head-h: 54px; box-shadow: 0 1px 0 var(--rule-dark); }
.site-head.is-stuck::before { opacity: 0; }
.head-in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; width: clamp(118px, 12vw, 150px); flex: none; }
.brand img { width: 100%; height: auto; }
.nav-desk { display: none; }
.head-phone { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
}
.menu-btn .bars { width: 22px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 0;
  background: var(--ink); color: var(--paper); overflow: auto;
}
.menu::backdrop { background: rgba(31,32,35,.6); }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 18px var(--gut) 120px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 28px; }
.menu ul { list-style: none; }
.menu li a { display: block; padding: 8px 0; font-size: clamp(34px, 10vw, 56px); line-height: 1; font-weight: 500; letter-spacing: -.035em; text-transform: uppercase; text-decoration: none; }
.menu li a[aria-current="page"] { color: var(--sand); }
.menu-foot { margin-top: auto; padding-top: 32px; border-top: 1px solid var(--rule-dark); font-size: 15px; }
.menu-foot a { display: block; padding: 6px 0; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav-desk { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; }
  .nav-desk a { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 10px 0; border-bottom: 1.5px solid transparent; }
  .nav-desk a:hover, .nav-desk a[aria-current="page"] { border-bottom-color: currentColor; }
  .head-phone { display: inline-flex; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-decoration: none; padding: 10px 14px; border: 1.5px solid currentColor; }
  .head-phone:hover { background: var(--paper); color: var(--ink); }
}

/* ---------- the progress tape (a measuring tape pulled out as the page is read) */
.tape { display: none; }
@supports (animation-timeline: scroll()) {
  .tape {
    display: block; position: fixed; left: 0; right: 0; top: var(--head-h); height: 7px; z-index: 49; pointer-events: none;
    transform-origin: 0 50%; transform: scaleX(0);
    background:
      repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) 0 0 / 100% 3px no-repeat,
      repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 50px) 0 0 / 100% 5px no-repeat,
      var(--sand);
    animation: tape linear both; animation-timeline: scroll(root);
    transition: top .35s var(--ease);
  }
  .tape::after { content: ""; position: absolute; right: -3px; top: -2px; width: 4px; height: 11px; background: var(--ink); }
  .site-head.is-stuck ~ .tape { top: 54px; }
  @keyframes tape { to { transform: scaleX(1); } }
}

/* ---------- phone call bar (the number never leaves the screen) */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(31,32,35,.96); color: var(--paper); border-top: 1px solid var(--rule-dark);
  transition: padding .3s var(--ease), transform .3s var(--ease);
}
.callbar a { flex: 1 1 50%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: flex-basis .3s var(--ease), opacity .2s, min-height .3s var(--ease); }
.callbar .cb-call { background: var(--sand); color: var(--ink); }
.callbar .cb-call b { font-weight: 700; letter-spacing: .04em; }
.callbar .cb-sheet { border: 1.5px solid rgba(250,248,235,.5); color: var(--paper); }
.callbar.is-slim { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
.callbar.is-slim a { min-height: 44px; }
.callbar.is-slim .cb-sheet { flex-basis: 0; flex-grow: 0; padding: 0; border-width: 0; opacity: 0; overflow: hidden; pointer-events: none; }
@media (min-width: 1000px) { .callbar { display: none; } }
body { padding-bottom: 76px; }
@media (min-width: 1000px) { body { padding-bottom: 0; } }

/* ---------- home hero: a moving opening, built to hold their video */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-cover, .hero-plate, .hero-roller { position: absolute; inset: 0; pointer-events: none; }
.hero-cover { background: var(--ink); animation: cover-out 1s ease 1.8s forwards; }
.hero-media.engraving .hero-cover { animation: none; opacity: 1; transition: opacity 1.4s ease; }
.hero-media.developed .hero-cover { opacity: 0; }
.hero-plate { width: 100%; height: 100%; clip-path: inset(0 0 100% 0); transition: clip-path 1.7s cubic-bezier(.55, .05, .25, 1), opacity 1.8s ease .5s; }
.hero-plate.pulled { clip-path: inset(0 0 0 0); }
.hero-media.developed .hero-plate { opacity: 0; }
.hero-roller { inset: 0 0 auto 0; height: 2px; background: var(--sand); opacity: 0; transform: translateY(0); transition: transform 1.7s cubic-bezier(.55, .05, .25, 1), opacity .3s; }
.hero-roller.run { opacity: .9; }
.hero-media.developed .hero-roller { opacity: 0; }
@keyframes cover-out { to { opacity: 0; visibility: hidden; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,32,35,.35) 0%, rgba(31,32,35,0) 22%, rgba(31,32,35,0) 38%, rgba(31,32,35,.78) 64%, rgba(31,32,35,.96) 100%); }
.hero-text { position: relative; z-index: 2; width: 100%; padding-top: 110px; padding-bottom: clamp(24px, 5vh, 64px); container-type: inline-size; }
.hero h1 { display: grid; gap: 14px; }
.hero h1 .town { font-size: clamp(48px, 18.6cqi, 230px); line-height: .84; letter-spacing: -.045em; }
.hero h1 .trade { font-size: clamp(15px, 4.6cqi, 22px); letter-spacing: .14em; line-height: 1.2; font-weight: 600; color: var(--sand); }
.hero-sub { margin: 18px 0 22px; max-width: 30ch; font-size: clamp(17px, 2vw, 21px); line-height: 1.4; }
.hero-sub strong { font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-line, .page-head .btn-line { --b: var(--paper); --c: var(--ink); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); list-style: none; }
@media (max-width: 999px) {
  .hero-actions .btn-call { display: none; }
  .hero { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px - env(safe-area-inset-bottom)); }
}
@media (min-width: 1000px) {
  .hero-media img { object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(90deg, rgba(31,32,35,.94) 0%, rgba(31,32,35,.82) 34%, rgba(31,32,35,.1) 62%, rgba(31,32,35,0) 100%), linear-gradient(180deg, rgba(31,32,35,.5), rgba(31,32,35,0) 20%); }
  .hero-text { padding-bottom: 72px; }
  .hero-text > * { max-width: 640px; }
  .hero h1 .town { font-size: clamp(80px, 10.4cqi, 170px); }
  .hero h1 .trade { font-size: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: drift 30s ease-in-out 3s infinite alternate; }
  @keyframes drift { from { transform: scale(1.0) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.5%, -1%, 0); } }
}

/* ---------- page heads for inner pages */
.page-head { background: var(--ink); color: var(--paper); padding: calc(var(--head-h) + clamp(48px, 10vw, 120px)) 0 clamp(40px, 7vw, 80px); }
.page-head h1 { font-size: clamp(46px, 13vw, 156px); line-height: .88; letter-spacing: -.045em; }
.page-head .lede { margin-top: 22px; color: var(--paper); }
.page-head .crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 22px; }
.page-head .crumbs a { text-decoration: none; }
.page-head .crumbs a:hover { text-decoration: underline; }

/* the photo that grows into the top of its own page */
.job-hero { position: relative; background: var(--ink); color: var(--paper); }
.job-hero-img { width: 100%; height: 72vh; height: 72svh; min-height: 380px; max-height: 860px; object-fit: cover; }
.job-hero-text { padding: 28px 0 clamp(40px, 6vw, 72px); }
.job-hero-text h1 { font-size: clamp(46px, 12.5vw, 150px); line-height: .88; letter-spacing: -.045em; }
.job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 28px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule-dark); list-style: none; }
.job-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 4px; }
.job-facts dd { margin: 0; font-size: 17px; }
@view-transition { navigation: auto; }
.vt-crank { view-transition-name: job-crank; }
.vt-belmore { view-transition-name: job-belmore; }
.vt-elanda { view-transition-name: job-elanda; }
.vt-pelis { view-transition-name: job-pelis; }
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.3, .7, .1, 1); }
::view-transition-old(job-crank), ::view-transition-new(job-crank),
::view-transition-old(job-belmore), ::view-transition-new(job-belmore),
::view-transition-old(job-elanda), ::view-transition-new(job-elanda),
::view-transition-old(job-pelis), ::view-transition-new(job-pelis) { height: 100%; object-fit: cover; overflow: clip; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---------- section heads */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 5vw, 56px); }
.sec-head p { max-width: 44ch; margin: 0; }
@media (min-width: 1000px) { .sec-head.split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; } }

/* ---------- the coast chart */
.chart-sec { overflow: hidden; }
.chart-grid { display: grid; gap: 22px; }
.chart-side .lede { margin: 16px 0 0; }
.chart-more { margin: 10px 0 0; }
@media (min-width: 1000px) {
  .chart-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
  .chart { max-width: min(440px, calc((100vh - 110px) * 170 / 325)); }
  .chart-more { margin-top: 26px; }
}
.chart { position: relative; width: 100%; max-width: 540px; margin: 0 auto; }
.chart-plate { position: relative; aspect-ratio: 170 / 325; }
.chart-plate > img, .chart-plate > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart svg text { font-family: var(--font); }
.chart .ch-w, .chart .ch-coast { transition: opacity 1s ease, stroke-dashoffset 2.4s var(--ease); }
.pin {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px; margin: -14px 0 0 -14px;
  background: none; border: 0; cursor: pointer; color: var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; min-height: 28px;
}
.pin .dot { position: relative; width: 16px; height: 16px; background: var(--paper); border: 2px solid var(--ink); flex: none; transition: transform .25s var(--ease); }
.pin .dot::after { content: ""; position: absolute; inset: 2px; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.pin .lbl { background: rgba(250,248,235,.9); padding: 1px 4px; }
.pin .n { font-weight: 400; color: var(--muted); }
.pin:hover .dot::after, .pin[aria-pressed="true"] .dot::after { transform: scale(1); }
.pin[aria-pressed="true"] .lbl { background: var(--ink); color: var(--paper); }
.pin[aria-pressed="true"] .n { color: var(--sand); }
.pin-edge .dot { border-style: dashed; }
.p-noosa-heads { left: 55.25%; top: 17.52%; }
.p-tewantin { left: 22.34%; top: 16.84%; }
.p-sunshine-beach { left: 63.48%; top: 21.6%; }
.p-sunrise-beach { left: 60.84%; top: 26.37%; }
.p-peregian-beach { left: 57.02%; top: 47.63%; }
.p-coolum-beach { left: 53.49%; top: 63.62%; }
.p-marcoola { left: 57.02%; top: 83.01%; }
.p-mudjimba { left: 60.84%; top: 93.56%; }
.p-eumundi { left: 2.94%; top: 45.93%; }
/* the cartouche: the chart's own legend box, showing the chosen suburb */
.cartouche { margin-top: 18px; }
.places { list-style: none; border-top: 4px solid var(--ink); }
.place { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.place h3 { font-size: 18px; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.place h3 small { font-size: 12px; font-weight: 600; color: var(--muted); }
.place ul { list-style: none; margin-top: 6px; display: grid; gap: 1px; }
.place li { font-size: 14px; line-height: 1.35; }
.place li a { font-weight: 600; }
.place-note { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.js .cartouche { position: absolute; z-index: 3; left: 0; bottom: 1%; width: 47%; margin: 0; background: var(--paper); padding: 12px 13px; box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--ink); }
.js .cartouche .places { border: 0; }
.js .cartouche .place { padding: 0; border: 0; }
.js .chart-sec .place:not(.is-on) { display: none; }
.js .cartouche .place.is-on { animation: q-in .45s var(--ease) both; }
@keyframes q-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1000px) { .js .cartouche { width: 44%; padding: 16px 18px; } .place h3 { font-size: 20px; } .place li { font-size: 15px; } }

/* ---------- swipe rows */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 360px); gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut);
  padding: 0 var(--gut) 18px; margin: 0 calc(var(--gut) * -1);
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.row > * { scroll-snap-align: start; }
@media (min-width: 1000px) { .row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; } .row.three { grid-template-columns: repeat(3, 1fr); } }
.row-hint { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0; }
@media (min-width: 1000px) { .row-hint { display: none; } }

.card { display: block; text-decoration: none; color: inherit; }
.card-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--sand-soft); }
@media (min-width: 1000px) { .card-img { aspect-ratio: 4 / 5; } }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.035); }
.card-cap { padding: 16px 0 0; position: relative; }
.card-cap::before { content: ""; position: absolute; left: 0; top: 6px; width: 26px; height: 4px; background: currentColor; }
.card-cap .k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.card-cap h3, .card-cap .card-t { font-size: 22px; margin-top: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; color: var(--ink); }
.ink .card-cap h3 { color: var(--paper); }
.card-cap p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.ink .card-cap .k, .ink .card-cap p { color: var(--muted-dark); }

/* ---------- quotes (from their own website) */
.quote { margin: 0; padding: 26px 0 0; border-top: 4px solid currentColor; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote blockquote { margin: 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.38; letter-spacing: -.01em; }
.quote figcaption { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); letter-spacing: .1em; margin-top: 4px; }
.sandbg .quote figcaption span { color: #4d4b44; }
.source-note { font-size: 13px; color: var(--muted); margin: 26px 0 0; }
.sandbg .source-note { color: #4d4b44; }

/* ---------- Dean */
.dean { display: grid; grid-template-columns: 38% 1fr; gap: 18px 18px; align-items: end; }
.dean-img { width: 100%; aspect-ratio: 748 / 1080; object-fit: cover; filter: grayscale(1) contrast(1.04); }
.dean-head .eyebrow { margin-bottom: 12px; }
.dean-body { grid-column: 1 / -1; }
.dean-body .lede { margin-top: 6px; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-dark); margin: 22px 0 26px; }
.facts li { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-dark); }
.facts b { display: block; font-size: clamp(28px, 6vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.facts span { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.dean-call { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.big-phone { display: inline-block; font-size: clamp(44px, 12vw, 104px); font-weight: 500; letter-spacing: -.045em; line-height: .95; text-decoration: none; margin: 6px 0 22px; }
.big-phone:hover { color: var(--sand); }
@media (min-width: 900px) {
  .dean { grid-template-columns: 400px 1fr; grid-template-rows: auto 1fr; gap: 0 72px; align-items: start; }
  .dean-img { grid-row: 1 / span 2; }
  .dean-body { grid-column: 2; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
.about-dean { grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-dean { grid-template-columns: 400px 1fr; } }

/* ---------- close (call to action, once) */
.close { text-align: left; }
.close .big-phone { display: inline-block; font-size: clamp(42px, 11vw, 128px); font-weight: 500; letter-spacing: -.045em; line-height: .9; text-decoration: none; margin: 14px 0 26px; }
.close .big-phone:hover { color: var(--sand); }

/* ---------- prose and inner content */
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(30px, 5.6vw, 54px); margin: 1.4em 0 .5em; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .4em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { padding-left: 1.2em; position: relative; margin: .35em 0; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: .42em; height: .42em; background: currentColor; }
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; } .two.wide-l { grid-template-columns: 1.25fr 1fr; } }
.figure { margin: 0; }
.figure img { width: 100%; object-fit: cover; }
.figure figcaption { font-size: 13px; color: var(--muted); padding-top: 10px; }
.ink .figure figcaption { color: var(--muted-dark); }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; border-top: 4px solid currentColor; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.ink .steps li { border-color: var(--rule-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; letter-spacing: .1em; padding-top: 4px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { margin: 0; }

/* gallery by job type (no script: radio chips and :has) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; border: 0; padding: 0; }
.filters legend { width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.gallery { columns: 2 160px; column-gap: 10px; }
@media (min-width: 900px) { .gallery { columns: 3; column-gap: 16px; } }
.gallery figure { margin: 0 0 10px; break-inside: avoid; }
@media (min-width: 900px) { .gallery figure { margin-bottom: 16px; } }
.gallery img { width: 100%; background: var(--sand-soft); }
.gallery figcaption { font-size: 12.5px; color: var(--muted); padding: 7px 0 2px; }
.gal:has(#f-houses:checked) .gallery figure:not([data-type~="houses"]),
.gal:has(#f-units:checked) .gallery figure:not([data-type~="units"]),
.gal:has(#f-hosp:checked) .gallery figure:not([data-type~="hosp"]) { display: none; }

/* materials guide */
.mat { display: grid; gap: 26px; padding: clamp(40px, 7vw, 80px) 0; border-top: 1px solid var(--rule); }
.mat:first-of-type { border-top: 4px solid var(--ink); }
.mat h2 { font-size: clamp(32px, 7vw, 64px); }
.mat-imgs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mat-imgs img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mat dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.mat dl div { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.mat dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mat dd { margin: 0; }
@media (min-width: 900px) { .mat { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 26px; }
.toc a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 1.5px solid currentColor; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.toc a:hover { background: var(--paper); color: var(--ink); }

/* project list (all 18) */
.joblist { list-style: none; columns: 1; border-top: 4px solid currentColor; }
@media (min-width: 700px) { .joblist { columns: 2; column-gap: 48px; } }
.joblist li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 14px; }
.joblist li span:last-child { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-align: right; }

/* contact */
.contact-lines { list-style: none; border-top: 4px solid var(--ink); }
.contact-lines li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-lines .k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-lines a { font-size: clamp(22px, 4vw, 30px); letter-spacing: -.02em; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

/* ---------- forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--ink); border-radius: 0; font-size: 17px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.carry { border: 1.5px dashed var(--ink); padding: 12px 14px; background: var(--sand-soft); }
.carry p { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.carry ul { list-style: none; font-size: 15px; display: grid; gap: 2px; }
.carry button { margin-top: 8px; background: none; border: 0; padding: 4px 0; font-size: 13px; text-decoration: underline; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* quote drawer: rises over the page */
.drawer {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92vh; max-height: 92svh; margin: 0; padding: 0; border: 0; overflow: auto;
  background: var(--paper); color: var(--ink); border-top: 6px solid var(--ink);
  transform: translateY(100%); transition: transform .45s var(--ease), overlay .45s allow-discrete, display .45s allow-discrete;
}
.drawer:popover-open { transform: translateY(0); }
@starting-style { .drawer:popover-open { transform: translateY(100%); } }
.drawer::backdrop { background: rgba(31,32,35,0); transition: background .45s, overlay .45s allow-discrete, display .45s allow-discrete; }
.drawer:popover-open::backdrop { background: rgba(31,32,35,.55); }
@starting-style { .drawer:popover-open::backdrop { background: rgba(31,32,35,0); } }
.drawer-in { padding: 22px var(--gut) calc(28px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.drawer-top h2 { font-size: clamp(30px, 8vw, 44px); }
.x-btn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1.5px solid var(--ink); cursor: pointer; font-size: 22px; line-height: 1; }
.drawer-alt { display: flex; gap: 10px; margin-bottom: 18px; }
.drawer-alt a { flex: 1; }
@media (min-width: 1000px) {
  .drawer { inset: 0 0 0 auto; width: 520px; max-height: none; height: 100%; border-top: 0; border-left: 6px solid var(--ink); transform: translateX(100%); }
  .drawer:popover-open { transform: translateX(0); }
  @starting-style { .drawer:popover-open { transform: translateX(100%); } }
  .drawer-in { padding: 34px 40px; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer::backdrop { transition: none; } }

/* ---------- footer */
.site-foot { background: var(--ink); color: var(--paper); padding: clamp(44px, 9vw, 110px) 0 24px; border-top: 1px solid var(--rule-dark); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.foot-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } .foot-grid > :first-child { grid-column: auto; } }
.foot-logo { width: 180px; margin-bottom: 18px; }
.site-foot h2 { font-size: 12px; letter-spacing: .16em; font-weight: 600; margin-bottom: 14px; color: var(--sand); }
.site-foot ul { list-style: none; display: grid; gap: 4px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot li a { display: inline-block; padding: 4px 0; font-size: 15px; }
.foot-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 13px; color: var(--muted-dark); }
.foot-base a { color: var(--muted-dark); }
.credit { opacity: .85; }

/* ---------- scroll arrivals */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="rise"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.js [data-reveal="rise"].in { clip-path: inset(-25% -5% -30% -5%); }
.js .row[data-reveal] > * { opacity: 0; transform: translateX(30px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .row[data-reveal].in > * { opacity: 1; transform: none; }
.js .row[data-reveal].in > :nth-child(2) { transition-delay: .08s; }
.js .row[data-reveal].in > :nth-child(3) { transition-delay: .16s; }
.js .row[data-reveal].in > :nth-child(4) { transition-delay: .24s; }
.js .row[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="rise"], .js .row[data-reveal] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .hero-cover, .hero-plate, .hero-roller { display: none; }
  .tape { display: none; }
  .card-img img, .btn { transition: none; }
}

/* 404 */
.nf { min-height: 80vh; display: flex; align-items: flex-end; }
.nf h1 { font-size: clamp(64px, 22vw, 260px); line-height: .82; letter-spacing: -.05em; }
.foot-h2b { margin-top: 28px; }
.place-note { margin: 10px 0 0; }

.dean-gap { margin-top: 26px; }
@media (max-width: 999px) { .hide-phone { display: none; } }
@media (max-width: 899px) {
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .site-foot ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
  .site-foot h2 { margin-bottom: 6px; }
  .foot-h2b { margin-top: 18px; }
  .foot-logo { width: 150px; margin-bottom: 12px; }
  .foot-base { gap: 6px 18px; margin-top: 24px; }
}
@media (max-width: 999px) { .sheet-sec.pad, .ink.pad { padding: 56px 0; } .sec-head { margin-bottom: 24px; } }
