/* Troy Ware Constructions. Colours from their website: sage #7c8462, stone #ece9dc, paper #fffef8, ink #4e4d47. */
:root {
  --paper: #fffef8;
  --stone: #ece9dc;
  --stone-2: #dedac8;
  --ink: #4e4d47;
  --ink-2: #34332e;
  --ink-soft: #6b6a63;
  --sage: #7c8462;
  --sage-deep: #63694e;
  --sage-pale: #b9bea3;
  --ground: #2d3124;
  --ground-2: #262a1e;
  --line: #ece9dc;
  --cedar: #9f5434;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", P052, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, Menlo, monospace;
  --gut: 20px;
  --hd: 64px;
  --pitch: polygon(0 0, calc(100% - 28px) 0, 100% 16px, 100% 100%, 0 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gut: 40px; --hd: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sage-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; color: var(--ink-2); }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
abbr { text-decoration: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gut); }
.clip { clip-path: var(--pitch); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink-2); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* type */
.h1 { font: 400 clamp(2.15rem, 7.4vw, 4.2rem)/1.06 var(--serif); letter-spacing: -.015em; max-width: 20ch; text-wrap: balance; }
.h2 { font: 400 clamp(1.75rem, 5.6vw, 3rem)/1.1 var(--serif); letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.h3 { font: 400 1.35rem/1.25 var(--serif); }
.lede { font-size: 1.12rem; max-width: 46ch; color: var(--ink); margin-top: 16px; }
.q { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.q-n { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; color: var(--ink-soft); }
.gable { width: 30px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 6; stroke-linejoin: miter; }
.prose { max-width: 64ch; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 0; border-radius: 0; background: var(--sage-deep); color: var(--paper); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 8px, 100% 100%, 0 100%); transition: background .2s; }
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--paper); outline-offset: -6px; }
.btn-num { font-weight: 400; opacity: .92; font-variant-numeric: tabular-nums; }
.btn-ghost, .btn-line { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover, .btn-line:hover { background: var(--ink-2); color: var(--paper); }
.btn-glass { background: rgba(255, 254, 248, .14); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 254, 248, .55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: var(--paper); color: var(--ink-2); }
.btn-full { width: 100%; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--stone-2); padding: 6px 0; }
.more::after { content: ""; width: 16px; height: 10px; background: currentColor; clip-path: polygon(0 45%, 75% 45%, 55% 0, 70% 0, 100% 50%, 70% 100%, 55% 100%, 75% 55%, 0 55%); transition: translate .2s var(--ease); }
.more:hover { color: var(--sage-deep); border-color: currentColor; }
.more:hover::after { translate: 4px 0; }
.enq-alt { display: none !important; }
@supports not selector(:popover-open) {
  .enq-alt { display: inline-flex !important; }
  [popovertarget="enquire"] { display: none !important; }
}

/* chips (radio buttons that look like tabs) */
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--stone-2); background: var(--paper); color: var(--ink-2); font: 500 .95rem/1.2 var(--sans); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chip input:hover + span { border-color: var(--sage); }
.chip input:checked + span { background: var(--ink-2); border-color: var(--ink-2); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--sage-deep); outline-offset: 2px; }
.chip-sm span { min-height: 36px; padding: 6px 12px; font-size: .85rem; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 40; height: var(--hd); background: rgba(255, 254, 248, .94); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: height .3s var(--ease), border-color .3s, background .3s; }
.hd-in { display: flex; align-items: center; gap: 14px; height: 100%; }
.hd-logo { color: var(--ink-2); margin-right: auto; display: block; }
.logo { width: 168px; height: auto; transition: width .3s var(--ease); }
@media (min-width: 900px) { .logo { width: 208px; } }
html[data-scrolled="1"] .hd { --hd: 56px; height: 56px; border-bottom-color: var(--stone-2); }
html[data-scrolled="1"] .logo { width: 150px; }
@media (min-width: 900px) { html[data-scrolled="1"] .hd { height: 62px; } html[data-scrolled="1"] .logo { width: 176px; } }
.hd-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; color: var(--ink-2); font: 600 .95rem var(--sans); cursor: pointer; }
.hd-menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu { margin: 0; border: 0; padding: 22px var(--gut) 40px; width: 100%; max-width: none; height: 100dvh; max-height: none; inset: 0; background: var(--paper); color: var(--ink-2); }
.menu ul { list-style: none; margin-top: 34px; }
.menu li a { display: block; padding: 12px 0; font: 400 2rem/1.15 var(--serif); color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--stone); }
.menu li a[aria-current="page"] { color: var(--sage-deep); }
.menu-x { display: block; margin-left: auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--stone-2); background: none; font: 600 .95rem var(--sans); color: var(--ink-2); cursor: pointer; }
.menu-tel { margin-top: 30px; }
.menu-tel a { display: inline-flex; flex-direction: column; font: 600 1rem var(--sans); color: var(--ink-2); text-decoration: none; }
.menu-tel span { font: 400 2rem var(--serif); color: var(--sage-deep); }
@media (prefers-reduced-motion: no-preference) {
  .menu { transition: opacity .25s, translate .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete; opacity: 0; translate: 0 -12px; }
  .menu:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .menu:popover-open { opacity: 0; translate: 0 -12px; } }
}
.hd-tel, .hd-enq { display: none; }
@media (min-width: 1080px) {
  .hd-menu, .menu-x, .menu-tel { display: none; }
  .menu { display: block; position: static; inset: auto; height: auto; width: auto; padding: 0; background: none; overflow: visible; opacity: 1; translate: none; }
  .menu ul { display: flex; gap: 22px; margin: 0; }
  .menu li a { padding: 6px 0; font: 500 .95rem/1 var(--sans); border: 0; border-bottom: 1px solid transparent; }
  .menu li a:hover, .menu li a[aria-current="page"] { border-bottom-color: currentColor; }
  .hd-tel { display: inline-flex; gap: 6px; margin-left: 10px; font: 600 1rem var(--sans); color: var(--ink-2); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .hd-tel-l { color: var(--sage-deep); }
  .hd-enq { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px; border: 0; background: var(--sage-deep); color: var(--paper); font: 600 .95rem var(--sans); cursor: pointer; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 7px, 100% 100%, 0 100%); }
  .hd-enq:hover { background: var(--ink-2); }
}
.carry-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--paper); color: var(--sage-deep); font: 700 .75rem/1 var(--sans); }
.carry-count[hidden] { display: none; }

/* the progress tape: a measuring tape pulled out as you read */
.tape { position: fixed; z-index: 39; left: 0; right: 0; top: var(--hd); height: 7px; pointer-events: none; display: none; transition: top .3s var(--ease); }
html[data-scrolled="1"] .tape { top: 56px; }
@media (min-width: 900px) { html[data-scrolled="1"] .tape { top: 62px; } }
.tape::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, var(--ink-2) 0 1px, transparent 1px 50px) 0 0 / 100% 7px no-repeat,
  repeating-linear-gradient(90deg, var(--ink-soft) 0 1px, transparent 1px 10px) 0 0 / 100% 4px no-repeat,
  var(--stone);
  clip-path: inset(0 100% 0 0); animation: tape-pull linear both; animation-timeline: scroll(root); }
.tape i { position: absolute; top: -2px; left: 0; width: 5px; height: 11px; background: var(--cedar); animation: tape-hook linear both; animation-timeline: scroll(root); }
@keyframes tape-pull { to { clip-path: inset(0 0 0 0); } }
@keyframes tape-hook { 0% { left: 0; opacity: 0; } 1.5% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 1; } }
@supports (animation-timeline: scroll()) { .tape { display: block; } }
@media print { .tape { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--hd) - 56px); display: grid; align-items: end; color: var(--paper); isolation: isolate; overflow: hidden; background: var(--ground); }
@media (min-width: 900px) { .hero { min-height: calc(100svh - var(--hd)); } }
.hero-media { position: absolute; inset: 0; z-index: -1; }
@media (max-width: 899px) {
  .hero-media { bottom: auto; height: 54%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(45, 49, 36, .1) 0%, rgba(45, 49, 36, .15) 35%, rgba(45, 49, 36, .7) 62%, var(--ground) 100%) !important; }
  .hero-img { object-position: 50% 35%; }
  .hero-in { padding-top: 0; }
}
.hero-media picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 42, 30, .25) 0%, rgba(38, 42, 30, 0) 18%, rgba(38, 42, 30, .5) 36%, rgba(32, 35, 26, .82) 58%, rgba(30, 33, 24, .94) 100%); }
@media (min-width: 900px) { .hero-media::after { background: linear-gradient(90deg, rgba(30, 33, 24, .86) 0%, rgba(30, 33, 24, .6) 40%, rgba(30, 33, 24, 0) 70%), linear-gradient(0deg, rgba(30, 33, 24, .5), rgba(30, 33, 24, 0) 40%); } }
.hero-light { position: absolute; inset: -20%; background: radial-gradient(40% 50% at 50% 50%, rgba(255, 226, 170, .38), rgba(255, 226, 170, 0) 70%); mix-blend-mode: soft-light; opacity: 0; }
.hero-in { padding-block: 40px 30px; }
@media (min-width: 900px) { .hero-in { padding-block: 80px 64px; } }
.hero-eye { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.hero-eye .gable { stroke-dasharray: 400; stroke-dashoffset: 0; }
.hero-h { text-shadow: 0 1px 24px rgba(20, 22, 16, .35); font: 400 clamp(2.2rem, 8.6vw, 4.6rem)/1.04 var(--serif); letter-spacing: -.015em; color: var(--paper); max-width: 17ch; text-wrap: balance; }
.hero-p { margin: 18px 0 0; max-width: 40ch; font-size: 1.08rem; color: var(--stone); }
.hero .btn { background: var(--paper); color: var(--ink-2); }
.hero .btn-glass { background: rgba(255, 254, 248, .1); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255, 254, 248, .6); }
.hero .btn-glass:hover { background: var(--paper); color: var(--ink-2); }
.hero .btn:hover { background: var(--stone); }
.hero .btn:focus-visible { outline-color: var(--ink-2); }
.hero-trust { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid rgba(236, 233, 220, .3); font: 500 .85rem var(--sans); color: var(--stone); max-width: 40ch; }
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: drift 16s var(--ease) both; }
  .hero-light { animation: light 9s 0.6s ease-in-out both; }
  .hero-eye .gable { animation: draw 1.6s .3s var(--ease) both; }
  .hero-h, .hero-p, .hero .btns, .hero-trust { animation: rise .9s var(--ease) both; }
  .hero-p { animation-delay: .12s; }
  .hero .btns { animation-delay: .22s; }
  .hero-trust { animation-delay: .32s; }
}
@keyframes drift { from { scale: 1.09; translate: 1.5% 0; } to { scale: 1; translate: 0 0; } }
@keyframes light { 0% { opacity: 0; translate: -45% -10%; } 40% { opacity: 1; } 100% { opacity: .55; translate: 25% 5%; } }
@keyframes draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

/* section heads */
.sec-head { margin-bottom: 28px; }
section { position: relative; }
.steep, .ryb, .work, .who, .how { padding-block: 48px; }
@media (min-width: 900px) { .steep, .ryb, .work, .who, .how { padding-block: 112px; } }

/* ---------- 01 steep: the drawing becomes the photo ---------- */
.steep { background: var(--ground); color: var(--stone); padding-bottom: 48px; }
.steep .h2 { color: var(--paper); }
.steep .q { color: var(--sage-pale); }
.steep .q-n { color: var(--stone); opacity: .7; }
.steep-head { margin-bottom: 28px; }
.split { position: relative; margin: 0; aspect-ratio: 1 / 1; max-height: 78svh; width: 100%; overflow: hidden; background: var(--ground-2); }
@media (min-width: 700px) { .split { aspect-ratio: 16 / 9; max-height: 86svh; } }
.split-draw, .split-photo { position: absolute; inset: 0; }
.split-draw .sx { width: 100%; height: 100%; }
.split-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.split-photo { clip-path: polygon(58% 0, 100% 0, 100% 100%, 28% 100%); }
.split-tag { position: absolute; top: 14px; left: 14px; padding: 5px 9px; background: rgba(38, 42, 30, .82); color: var(--stone); font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.split-cap { position: relative; padding-top: 18px; }
.split-cap a { color: var(--stone); text-decoration: none; }
.split-cap a:hover b { text-decoration: underline; }
.split-cap b { color: var(--paper); font-weight: 600; }
.steep-foot { margin-top: 6px; }
.steep-foot p { margin: 0; max-width: 50ch; font-size: .98rem; }
.steep .more { color: var(--paper); border-color: rgba(236, 233, 220, .35); }
.steep .more:hover { color: var(--sage-pale); }
.steep-static { padding-block: 0 48px; }
.steep-static .split { aspect-ratio: 4 / 5; }
@media (min-width: 700px) { .steep-static .split { aspect-ratio: 16 / 8; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .steep:not(.steep-static) .split { view-timeline: --split block; }
    .steep:not(.steep-static) .split-photo { animation: wipe linear both; animation-timeline: --split; animation-range: cover 38% cover 78%; }
    .steep:not(.steep-static) .split-tag-d { animation: fadeout linear both; animation-timeline: --split; animation-range: cover 55% cover 75%; }
    .split .dw { stroke-dasharray: 1; animation: dw linear both; animation-timeline: --split; animation-range: entry 0% cover 45%; }
  }
  .steep-static .dw { stroke-dasharray: 1; animation: dwt 2.4s .2s var(--ease) both; }
}
@keyframes wipe { from { clip-path: polygon(128% 0, 128% 0, 128% 100%, 100% 100%); } to { clip-path: polygon(14% 0, 100% 0, 100% 100%, -14% 100%); } }
@keyframes dw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dwt { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeout { to { opacity: 0; } }

/* blueprint drawing classes (shared by every drawing) */
.sx-bg { fill: var(--ground); }
.sx-grid { fill: none; stroke: rgba(236, 233, 220, .07); stroke-width: 1; }
.sx-hatch { stroke: rgba(236, 233, 220, .16); stroke-width: 1.4; }
.sx-earth { stroke: none; }
.sx-fg { fill: none; stroke: var(--line); stroke-width: 3; stroke-linejoin: round; }
.sx-ngl { fill: none; stroke: var(--sage-pale); stroke-width: 2; stroke-dasharray: 14 8 3 8; opacity: .9; }
.sx-wall { fill: none; stroke: var(--line); stroke-width: 7; stroke-linecap: square; }
.sx-ret { fill: none; stroke: var(--sage-pale); stroke-width: 9; }
.sx-thin { fill: none; stroke: var(--line); stroke-width: 2.2; stroke-linejoin: round; }
.sx-glass { fill: none; stroke: var(--sage-pale); stroke-width: 2; }
.sx-faint { fill: none; stroke: rgba(236, 233, 220, .4); stroke-width: 1.5; }
.sx-datum { fill: none; stroke: rgba(236, 233, 220, .35); stroke-width: 1.5; stroke-dasharray: 10 8; }
.sx-lvl { fill: var(--line); }
.sx-dim { fill: none; stroke: rgba(236, 233, 220, .6); stroke-width: 1.6; }
.sx-tree circle { fill: none; stroke: rgba(236, 233, 220, .55); stroke-width: 2; stroke-dasharray: 6 5; }
.sx-tree path { fill: none; stroke: rgba(236, 233, 220, .55); stroke-width: 2; }
.sx-mark circle, .sx-mark path { fill: none; stroke: var(--line); stroke-width: 2.4; }
.sx-t { fill: var(--stone); font: 500 22px var(--mono); letter-spacing: .12em; }
.sx-big { font-size: 30px; font-weight: 700; }
.sx-acc { fill: var(--sage-pale); }

/* ---------- 03 work ---------- */
.filter { display: flex; gap: 8px; min-width: 0; max-width: 100%; margin: 0 0 22px; padding: 0 0 4px; border: 0; overflow-x: auto; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.cards { list-style: none; }
.row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 0 var(--gut) 18px; scrollbar-width: thin; scrollbar-color: var(--stone-2) transparent; overscroll-behavior-x: contain; }
.row > li { flex: 0 0 70%; scroll-snap-align: start; }
@media (min-width: 640px) { .row > li { flex-basis: 44%; } }
@media (min-width: 1000px) { .row { max-width: 1280px; margin-inline: auto; } .row > li { flex-basis: calc((100% - 28px) / 3.15); } }
.grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card a { display: block; color: inherit; text-decoration: none; }
.card-ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card-ph img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.card a:hover .card-ph img { scale: 1.04; }
.card-t { display: block; margin-top: 14px; font: 400 1.5rem/1.15 var(--serif); color: var(--ink-2); }
.card-l { display: block; margin-top: 4px; font-size: .95rem; color: var(--ink-soft); }
.card a:focus-visible { outline-offset: 4px; }
.work .more { margin-top: 10px; }
.work-all { padding-top: 8px; }
.work:has(input[value="new"]:checked) .card:not([data-new]),
.work:has(input[value="slope"]:checked) .card:not([data-slope]),
.work:has(input[value="beach"]:checked) .card:not([data-beach]),
.work:has(input[value="reno"]:checked) .card:not([data-reno]),
.work:has(input[value="small"]:checked) .card:not([data-small]),
.work:has(input[value="acre"]:checked) .card:not([data-acre]) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .work .card { animation: rise .5s var(--ease) both; }
}

/* photo carry: the card's picture grows into the top of its own page */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; }
.vt-tantula { view-transition-name: p-tantula; }
.vt-carol { view-transition-name: p-carol; }
.vt-discovery { view-transition-name: p-discovery; }
.vt-kilbowie { view-transition-name: p-kilbowie; }
.vt-north-shore { view-transition-name: p-north-shore; }
.vt-elanda { view-transition-name: p-elanda; }
.vt-mudjimba { view-transition-name: p-mudjimba; }
.vt-gray { view-transition-name: p-gray; }

/* ---------- 04 who ---------- */
.who { background: var(--stone); }
.who-in { display: grid; grid-template-columns: 1fr 112px; grid-template-areas: "head ph" "body body"; gap: 20px 18px; align-items: end; }
.who-head { grid-area: head; } .who-body { grid-area: body; } .who-ph { grid-area: ph; }
.who-ph { aspect-ratio: 874 / 940; background: var(--stone-2); }
.who-ph img { width: 100%; height: 100%; object-fit: cover; }
.who-body .quote { margin-top: 16px; }
@media (min-width: 900px) { .who-in { grid-template-columns: 5fr 7fr; grid-template-areas: "ph head" "ph body"; gap: 24px 72px; align-items: start; } .who-head { align-self: end; } }
.quote { margin: 24px 0 18px; padding: 0 0 0 20px; border-left: 2px solid var(--sage); }
.quote p { font: 400 1.25rem/1.4 var(--serif); color: var(--ink-2); margin-bottom: .6em; }
.quote footer { font: 500 .9rem var(--sans); color: var(--ink-soft); }
.quote-lg p { font-size: clamp(1.4rem, 4vw, 2rem); }

/* ---------- 05 how (stages) + the closing call ---------- */
.how { background: var(--ground); color: var(--stone); }
.how .h2, .how .step b { color: var(--paper); }
.how .q { color: var(--sage-pale); }
.how .q-n, .how .step-n { color: var(--sage-pale); }
.how .lede, .how .step span:last-child { color: var(--stone); }
.how .step { border-top-color: rgba(236, 233, 220, .5); }
.how .more { color: var(--paper); border-color: rgba(236, 233, 220, .35); }
.how .more:hover { color: var(--sage-pale); }
.how-cta { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(236, 233, 220, .16); }
.how .btn { background: var(--paper); color: var(--ink-2); }
.how .btn:hover { background: var(--stone); }
.how .btn:focus-visible { outline-color: var(--ink-2); }
.how .btn-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(236, 233, 220, .6); }
.how .btn-line:hover { background: var(--paper); color: var(--ink-2); }
@media (max-width: 899px) { .how { padding-bottom: 56px; } }
.steps { counter-reset: s; }
.steps > li { flex-basis: 40%; }
@media (min-width: 640px) { .steps > li { flex-basis: 32%; } }
@media (min-width: 1000px) { .steps > li { flex-basis: calc((100% - 70px) / 6); } }
.step { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 0; border-top: 1px solid var(--ink-2); position: relative; }
.step-n { font: 500 .8rem var(--mono); color: var(--sage-deep); letter-spacing: .08em; }
.step b { font: 400 1.3rem/1.2 var(--serif); color: var(--ink-2); }
.step span:last-child { font-size: .95rem; color: var(--ink-soft); }
.how .more { margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { background: var(--ground); color: var(--stone); padding-block: 72px; overflow: hidden; }
@media (min-width: 900px) { .cta { padding-block: 120px; } }
.cta-in { position: relative; }
.cta-in > .gable { width: 110px; height: 40px; stroke: var(--sage-pale); stroke-width: 2.5; margin-bottom: 26px; }
.cta-h { font: 400 clamp(1.9rem, 6vw, 3.4rem)/1.1 var(--serif); color: var(--paper); max-width: 20ch; text-wrap: balance; margin-bottom: 18px; }
.cta p { max-width: 50ch; }
.cta .btn { background: var(--paper); color: var(--ink-2); }
.cta .btn:hover { background: var(--stone); }
.cta .btn:focus-visible { outline-color: var(--ink-2); }
.cta .btn-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(236, 233, 220, .6); }
.cta .btn-line:hover { background: var(--paper); color: var(--ink-2); }

/* ---------- footer ---------- */
.ft { background: var(--ground-2); color: var(--stone); padding: 40px 0 86px; font-size: .92rem; }
@media (min-width: 900px) { .ft { padding-bottom: 40px; } }
.ft a { color: var(--stone); }
.ft a:hover { color: var(--paper); }
.ft-in { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.ft-brand { grid-column: 1 / -1; }
.ft-brand p { margin-bottom: .4em; }
@media (min-width: 900px) { .ft-in { grid-template-columns: 5fr 3fr 4fr; gap: 36px; } .ft-brand { grid-column: auto; } }
.ft-logo { color: var(--paper); display: inline-block; margin-bottom: 18px; }
.ft-brand p { max-width: 36ch; }
.ft-small { font-size: .85rem; color: var(--sage-pale); }
.ft-h { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-pale); margin-bottom: 16px; }
.ft-col p { margin-bottom: .5em; }
.ft-big { font: 400 1.35rem var(--serif); white-space: nowrap; color: var(--paper) !important; text-decoration: none; }
.ft-links { list-style: none; columns: 2; column-gap: 16px; }
.ft-links li { padding: 3px 0; break-inside: avoid; }
.ft-in > .ft-col { grid-column: 1 / -1; }
@media (min-width: 900px) { .ft-in > .ft-col { grid-column: auto; } }
.ft-links a { text-decoration: none; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(236, 233, 220, .14); font-size: .82rem; color: var(--sage-pale); }
.ft-base p { margin: 0; }
.credit a { color: var(--sage-pale); text-decoration: none; }
.credit a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- phone bar: the number never leaves the screen ---------- */
.bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 254, 248, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--stone-2); transition: padding .3s var(--ease); }
.bar-call { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; background: var(--sage-deep); color: var(--paper); font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: min-height .3s var(--ease); }
.bar-call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.bar-call span { font-weight: 400; font-variant-numeric: tabular-nums; }
.bar-enq { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border: 1px solid var(--ink-2); background: var(--paper); color: var(--ink-2); font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; overflow: hidden; transition: max-width .3s var(--ease), padding .3s, opacity .2s, min-height .3s var(--ease); max-width: 160px; }
.bar-enq .carry-count { background: var(--sage-deep); color: var(--paper); }
html[data-dir="down"]:not([data-end="1"]) .bar { padding-top: 6px; }
html[data-dir="down"]:not([data-end="1"]) .bar-call { min-height: 42px; }
html[data-dir="down"]:not([data-end="1"]) .bar-enq { max-width: 0; padding-inline: 0; border-width: 0; opacity: 0; min-height: 42px; }
@media (min-width: 1080px) { .bar { display: none; } }
@media print { .bar, .hd, .drawer { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .bar, .bar-call, .bar-enq, .hd, .logo { transition: none !important; } }

/* ---------- enquiry drawer ---------- */
.drawer { margin: auto 0 0; padding: 0; border: 0; width: 100%; max-width: none; max-height: 92dvh; inset: auto 0 0 0; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 -20px 60px rgba(38, 42, 30, .25); }
.drawer::backdrop { background: rgba(38, 42, 30, .5); }
@media (min-width: 760px) { .drawer { inset: auto 24px 24px auto; width: 440px; max-height: calc(100dvh - 48px); margin: 0; } }
.drawer-in { position: relative; padding: 26px var(--gut) calc(26px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .drawer-in { padding: 30px; } }
.drawer-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--stone-2); background: var(--paper); cursor: pointer; color: var(--ink-2); }
.drawer-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.drawer-h { font: 400 1.9rem/1.1 var(--serif); padding-right: 50px; }
.drawer-sub { margin: 8px 0 18px; color: var(--ink-soft); }
.drawer-sub a { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .drawer, .drawer::backdrop { transition: translate .38s var(--ease), opacity .3s, display .38s allow-discrete, overlay .38s allow-discrete; }
  .drawer { translate: 0 100%; }
  .drawer:popover-open { translate: 0 0; }
  @starting-style { .drawer:popover-open { translate: 0 100%; } }
  .drawer::backdrop { opacity: 0; }
  .drawer:popover-open::backdrop { opacity: 1; }
  @starting-style { .drawer:popover-open::backdrop { opacity: 0; } }
  @media (min-width: 760px) {
    .drawer { translate: 0 30px; opacity: 0; }
    .drawer:popover-open { translate: 0 0; opacity: 1; }
    @starting-style { .drawer:popover-open { translate: 0 30px; opacity: 0; } }
  }
}

/* form */
.enq { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fld > span, .fld legend { font: 600 .92rem var(--sans); color: var(--ink-2); padding: 0; }
.fld i { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b9b6a6; border-radius: 0; background: #fff; color: var(--ink-2); font: 400 1rem/1.4 var(--sans); }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld textarea:focus { outline: 2px solid var(--sage-deep); outline-offset: 0; border-color: var(--sage-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; }
.chips .chip span { min-height: 42px; padding: 6px 14px; font-size: .92rem; white-space: normal; }
.fine { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.carry { padding: 14px 16px; background: var(--stone); border-left: 3px solid var(--sage-deep); }
.carry-h { margin: 0 0 8px; font: 600 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
.carry ul { list-style: none; display: grid; gap: 8px; }
.carry li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--ink-2); }
.carry li button { flex: none; min-height: 32px; padding: 0 10px; border: 1px solid var(--stone-2); background: var(--paper); color: var(--ink-2); font: 500 .8rem var(--sans); cursor: pointer; }

/* ---------- inner pages ---------- */
.page-hd { padding-block: 48px 40px; }
@media (min-width: 900px) { .page-hd { padding-block: 96px 64px; } }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { display: inline-flex; min-height: 44px; align-items: center; padding: 6px 14px; border: 1px solid var(--stone-2); color: var(--ink-2); text-decoration: none; font-weight: 500; }
.jump a:hover { border-color: var(--ink-2); }
.svc { padding-block: 40px; }
@media (min-width: 900px) { .svc { padding-block: 64px; } }
.svc-in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .svc-in { grid-template-columns: 1fr 1fr; gap: 72px; } .svc-r .svc-ph { order: 2; } }
.svc-ph { aspect-ratio: 4 / 3; background: var(--stone); }
.svc-ph img { width: 100%; height: 100%; object-fit: cover; }
.svc-t .q-n { margin: 0 0 10px; }
.svc-lead { font: 400 1.3rem/1.35 var(--serif); color: var(--ink-2); margin-top: 16px; }
.band { background: var(--stone); padding-block: 64px; }
@media (min-width: 900px) { .band { padding-block: 100px; } }
.grid4 { list-style: none; display: grid; gap: 28px; margin-top: 32px; }
@media (min-width: 700px) { .grid4 { grid-template-columns: 1fr 1fr; gap: 36px 48px; } }
@media (min-width: 1100px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.grid4 li { padding-top: 18px; border-top: 1px solid var(--ink-2); }
.grid4 p { margin: 10px 0 0; font-size: .98rem; }
.band-note { margin-top: 32px; font-size: .95rem; color: var(--ink-soft); }
.prose-sec { padding-block: 48px; }
@media (min-width: 900px) { .prose-sec { padding-block: 80px; } }
.prose-sec .cards { margin-top: 32px; }
.awards-sec, .stages-sec, .faq-sec, .tst-sec, .quote-sec, .about, .areas, .contact { padding-block: 56px; }
@media (min-width: 900px) { .awards-sec, .stages-sec, .faq-sec, .tst-sec, .quote-sec, .about, .areas, .contact { padding-block: 96px; } }
.awards { list-style: none; margin: 28px 0 22px; border-top: 1px solid var(--ink-2); }
.awards li { display: grid; grid-template-columns: 64px 1fr; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--stone-2); }
.aw-y { grid-row: span 2; font: 500 1rem var(--mono); color: var(--sage-deep); }
.aw-t { font: 400 1.2rem/1.3 var(--serif); color: var(--ink-2); }
.aw-o { font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 900px) { .awards li { grid-template-columns: 90px 1.2fr 1fr; align-items: baseline; } .aw-y { grid-row: auto; } }
.stages { list-style: none; display: grid; gap: 0; max-width: 860px; }
.stage { display: grid; gap: 6px; padding: 26px 0; border-top: 1px solid var(--stone-2); }
@media (min-width: 760px) { .stage { grid-template-columns: 140px 1fr; gap: 6px 32px; } .stage p { grid-column: 2; } }
.stage-n { font: 500 .85rem var(--mono); color: var(--sage-deep); letter-spacing: .06em; padding-top: 6px; }
.stage p { margin: 4px 0 0; }
.about-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .about-in { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.about-ph { margin: 0; background: var(--stone); }
.about-ph img { width: 100%; }
.about-ph figcaption { padding: 10px 14px; font-size: .9rem; color: var(--ink-soft); background: var(--stone); }
.faq-in { display: grid; gap: 48px; max-width: 880px; }
.faq-gh { margin-bottom: 10px; color: var(--sage-deep); }
.faq { border-top: 1px solid var(--stone-2); }
.faq:last-child { border-bottom: 1px solid var(--stone-2); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font: 400 1.2rem/1.35 var(--serif); color: var(--ink-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; transition: rotate .25s var(--ease); }
.faq[open] summary::after { rotate: -135deg; margin-top: 12px; }
.faq p { margin: 0 0 20px; max-width: 64ch; }
.tst { list-style: none; display: grid; gap: 40px; max-width: 900px; }
.tst .quote { margin: 0; }
.tst .quote p { font-size: 1.2rem; }
.proj-hero { aspect-ratio: 4 / 5; max-height: 82svh; width: 100%; background: var(--stone); }
@media (min-width: 700px) { .proj-hero { aspect-ratio: 16 / 9; } }
.proj-hero img { width: 100%; height: 100%; object-fit: cover; }
.proj-in { padding-block: 26px 40px; }
.crumbs { display: flex; gap: 10px; margin-bottom: 18px; font-size: .9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 28px 0; border-top: 1px solid var(--ink-2); max-width: 860px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--stone-2); }
.facts dt { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
.facts dd { margin: 4px 0 0; font: 400 1.05rem/1.35 var(--serif); color: var(--ink-2); }
.facts-1 { grid-template-columns: 1fr; }
.gal { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 40px; }
.gal li { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.gal li:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 16px; } .gal li:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }
.areas-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .areas-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .areas-map { position: sticky; top: 100px; } }
.areas-map { margin: 0; }
.am { width: 100%; height: auto; }
.am-sea { fill: rgba(236, 233, 220, .05); stroke: none; }
.am-coast { fill: none; stroke: var(--line); stroke-width: 2.5; }
.am-pin circle { fill: var(--sage-pale); }
.am-pin .am-ring { fill: none; stroke: rgba(185, 190, 163, .5); stroke-width: 1.5; }
.am-pin:hover circle, .am-pin:focus-visible circle { fill: var(--paper); }
.am .sx-t { font-size: 15px; }
.area-list { list-style: none; display: grid; gap: 0; }
.area-list li { padding: 18px 0; border-top: 1px solid var(--stone-2); }
.area-list p { margin: 6px 0 0; }
.area-list li:target h2 { color: var(--sage-deep); }
.contact-in { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 1fr 1fr; gap: 80px; } }
.contact-big a { display: inline-flex; flex-direction: column; color: var(--ink-2); text-decoration: none; font: 400 clamp(2.2rem, 8vw, 3.4rem)/1.05 var(--serif); }
.contact-big span { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 8px; }
.contact-f .h2 { margin-bottom: 20px; }
.nf { min-height: 60vh; }

/* sections arrive as they are scrolled to */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .sec-head, .who-in > *, .svc-in > *, .grid4 > li, .stage, .faq-g, .tst > li, .cta-in, .awards li, .area-list li {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}
