/* Coral Bathrooms. Their navy and the sand of their coral, glowing on near-black. */
:root {
  --ink: #04121b;
  --ink-2: #071d2a;
  --navy: #082a3d;
  --navy-2: #0e3a52;
  --sand: #a79777;
  --sand-hi: #d3c4a2;
  --sand-lo: #7e6f52;
  --paper: #f3efe6;
  --text: #e3ddd0;
  --muted: #a3adb8;
  --line: rgba(211, 196, 162, .18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
  --max: 76rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sand-hi); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--sand-hi); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; color: #f6f1e6; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 3.4vw, 1.75rem); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.narrow { max-width: 40rem; }
.label {
  font: 500 .72rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand);
  display: block; margin: 0 0 1rem;
}
.label b { color: var(--sand-hi); font-weight: 500; }
.lead { font-size: clamp(1.08rem, 2.4vw, 1.3rem); color: var(--text); max-width: 36rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: .02em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* skip link */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sand-hi); color: var(--ink); padding: .7rem 1rem; font-weight: 600; border-radius: 3px; }
.skip:focus { top: 1rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid var(--sand);
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--sand-hi); transition: background .3s var(--ease), color .3s, transform .3s var(--ease);
}
.btn:hover { background: #fff; color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--sand-hi); }
.btn--ghost:hover { background: rgba(211, 196, 162, .12); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow-link { font: 500 .8rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand-hi); text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; padding: .6rem 0; }
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover::after { transform: translateX(.3rem); }

/* header */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 40; transition: transform .45s var(--ease), background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-head__in { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 2.9rem; width: auto; }
.site-head.is-solid { background: rgba(4, 18, 27, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.site-head.is-hidden { transform: translateY(-101%); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav a { color: var(--text); text-decoration: none; font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--sand-hi); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px var(--sand); }
.head-call { font: 500 .85rem/1 var(--mono); letter-spacing: .06em; color: var(--sand-hi); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; white-space: nowrap; }
.head-call:hover { border-color: var(--sand); color: #fff; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .head-call { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1px solid var(--line); color: var(--text);
    border-radius: 999px; padding: .65rem 1rem; font: 500 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  }
  .menu-btn i { width: 14px; height: 8px; border-block: 1px solid currentColor; transition: transform .3s; }
  .site-nav { position: fixed; inset: 4.25rem 0 auto; background: rgba(4, 18, 27, .98); border-bottom: 1px solid var(--line); padding: .5rem var(--pad) 1.5rem; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 1.05rem 0; font-size: .85rem; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--sand-hi); }
}

/* the call bar: the number never leaves the screen */
.callbar {
  position: fixed; z-index: 45; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom));
  display: flex; gap: .5rem; padding: .45rem; border-radius: 999px;
  background: rgba(7, 29, 42, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  transition: transform .45s var(--ease), max-width .45s var(--ease);
}
.callbar a { flex: 1 1 0; min-height: 2.9rem; font-size: .9rem; padding-inline: .8rem; white-space: nowrap; }
.callbar .callbar__quote { transition: opacity .3s, flex-basis .45s var(--ease), padding .45s; overflow: hidden; }
.callbar.is-tucked .callbar__quote { flex: 0 0 0; padding: 0; opacity: 0; border-width: 0; }
@media (min-width: 961px) {
  .callbar { left: auto; right: 1.5rem; bottom: 1.5rem; width: 23rem; }
  .callbar.is-tucked { width: 14rem; }
}
.callbar.is-away { transform: translateY(calc(100% + 2rem)); }
.has-callbar { padding-bottom: 5.5rem; }
@media (max-width: 600px) { .dot { width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; } }
@media (max-width: 600px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .foot__grid > div:first-child, .foot__grid > div:nth-child(2) { grid-column: 1 / -1; } .foot { padding-top: 3rem; } }

/* sections */
.section { padding-block: clamp(3.25rem, 10vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 8vw, 5rem); }
.section--line { border-top: 1px solid var(--line); }
.q { font: 500 .78rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); display: flex; gap: .9rem; align-items: baseline; margin: 0 0 1.25rem; }
.q span { color: var(--muted); }

/* hero: one true number, lit like light through water */
.hero { min-height: 100svh; display: grid; align-items: end; padding: 5.75rem 0 clamp(2rem, 6vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60rem 40rem at 78% 18%, rgba(167, 151, 119, .22), transparent 60%),
    radial-gradient(40rem 30rem at 10% 90%, rgba(14, 58, 82, .9), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero__emblem { position: absolute; z-index: -1; width: min(78vw, 40rem); right: -14vw; top: 6rem; opacity: .13; }
.hero__num {
  font: 400 clamp(8rem, 40vw, 22rem)/.78 var(--serif); letter-spacing: -.045em; margin: 0 0 .1em -.04em; display: block;
  color: var(--sand-hi);
  background: url(/img/water-light.png) 0 0 / 230px 230px, url(/img/water-light.png) 40px 90px / 360px 360px,
              linear-gradient(172deg, #e9dcbc 0%, #b9a780 45%, #8d7d5c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__unit { display: block; font: 500 .74rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin: 1rem 0 1.4rem; max-width: 30rem; }
.hero h1 { font-size: clamp(1.8rem, 7.2vw, 3.8rem); max-width: 20ch; }
.hero .lead { margin-bottom: 1.75rem; }
.trust { list-style: none; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font: 500 .72rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust li::before { content: ""; display: inline-block; width: .42rem; height: .42rem; border: 1px solid var(--sand); border-radius: 50%; margin-right: .55rem; vertical-align: .05em; }
@media (min-width: 900px) {
  .hero__grid { display: grid; grid-template-columns: auto 1fr; gap: 0 4rem; align-items: end; }
  .hero__num { margin-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__num { animation: water 22s linear infinite; }
  @keyframes water { to { background-position: 230px 460px, -320px 450px, 0 0; } }
}

/* inner page heads */
.page-head { padding: 8.5rem 0 clamp(2.5rem, 7vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 30rem at 85% 0%, rgba(167, 151, 119, .18), transparent 65%); }
.page-head h1 { max-width: 18ch; }
.crumbs { font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sand-hi); }

/* rows to swipe: the next card shows at the edge */
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 23rem); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: .25rem var(--pad) 1.25rem; margin-inline: calc(-1 * var(--pad)); scrollbar-width: thin; scrollbar-color: var(--sand-lo) transparent;
}
.row > * { scroll-snap-align: start; scroll-margin-left: var(--pad); }
@media (min-width: 1100px) { .row--fit { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; } }
.row-hint { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
@media (min-width: 1100px) { .row-hint { display: none; } }

/* job cards */
.job { margin: 0; text-decoration: none; color: inherit; display: block; }
.job__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--navy); }
.job__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.job:hover .job__img img { transform: scale(1.04); }
.job figcaption, .job__cap { font: 500 .72rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .85rem; display: flex; justify-content: space-between; gap: 1rem; }
.job__cap b { color: var(--sand-hi); font-weight: 500; }

/* who does the work: the trades set in their own materials */
.trades { list-style: none; margin: 0 0 2rem; padding: 0; }
.trades li { border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .15em 0 .1em; }
.trades li:first-child { border-top: 1px solid var(--line); }
.trade {
  font: 700 clamp(2.4rem, 12.2vw, 9rem)/1.02 var(--serif); letter-spacing: -.035em; text-transform: uppercase;
  color: var(--sand-hi); background-size: 1700px auto; background-position: 0 50%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 1.6s var(--ease);
}
.trade--timber { background-image: url(/img/tex-timber.webp); }
.trade--tile { background-image: url(/img/tex-tile.webp); background-size: 900px auto; }
.trade--brass { background-image: url(/img/tex-brass.webp); }
.trade--plaster { background-image: url(/img/tex-plaster.webp); background-size: 1100px auto; }
.trades li:hover .trade { background-position: -120px 50%; }
.trades small { font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; flex: none; }
@media (max-width: 560px) { .trades small { display: none; } }

/* steps */
.step { border-top: 1px solid var(--sand); padding-top: 1.1rem; }
.step__n { font: 400 3.2rem/1 var(--serif); color: var(--sand); display: block; margin-bottom: .9rem; }
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* proof */
.score { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 0 0 2.5rem; }
.score div { display: grid; gap: .25rem; }
.score strong { font: 400 clamp(3.4rem, 12vw, 6rem)/.9 var(--serif); color: var(--sand-hi); letter-spacing: -.02em; }
.score span { font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quote { margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.quote p { font: 400 clamp(1.2rem, 3.2vw, 1.55rem)/1.35 var(--serif); color: #f3ede0; margin-bottom: 1rem; }
.quote footer { font: 500 .72rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* the tool: decide it before the tiles go on */
.forget { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .forget { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 2.5rem; } }
.forget__photo { position: relative; border-radius: 3px; overflow: hidden; background: var(--navy); }
.forget__photo img { width: 100%; }
.dot {
  position: absolute; width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer; background: transparent; display: grid; place-items: center;
  font: 600 .68rem/1 var(--mono); color: var(--ink);
}
.dot::before { content: ""; position: absolute; inset: .35rem; border-radius: 50%; background: rgba(4, 18, 27, .55); border: 1.5px solid var(--sand-hi); box-shadow: 0 0 0 0 rgba(211, 196, 162, .55); transition: background .25s, transform .3s var(--ease); }
.dot span { position: relative; color: var(--sand-hi); }
.dot[aria-pressed="true"]::before { background: var(--sand-hi); }
.dot[aria-pressed="true"] span { color: var(--ink); }
.dot.is-current::before { transform: scale(1.25); }
@media (prefers-reduced-motion: no-preference) {
  .dot:not([aria-pressed="true"])::before { animation: ring 2.8s var(--ease) infinite; animation-delay: calc(var(--i, 0) * .18s); }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(211, 196, 162, .5); } 70%, 100% { box-shadow: 0 0 0 .7rem rgba(211, 196, 162, 0); } }
}
.forget__note { border: 1px solid var(--line); border-radius: 3px; padding: 1.1rem 1.1rem 1rem; background: var(--ink-2); min-height: 9.5rem; }
.forget__note h3 { font-size: 1.35rem; }
.forget__note p { color: var(--muted); font-size: .97rem; }
.forget__from { font: 500 .68rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.forget__list { margin-top: 1.25rem; }
.forget__list ol { margin: .4rem 0 1rem; padding-left: 1.3rem; color: var(--text); font-size: .95rem; }
.forget__list ol:empty::before { content: "Nothing yet. Tap a ring on the photo."; color: var(--muted); margin-left: -1.3rem; }
.forget__legend { margin: 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; font-size: .95rem; }
.forget__legend li { break-inside: avoid; margin-bottom: .6rem; }
.forget__legend b { color: #f3ede0; font-weight: 600; }
.js .forget__legend { display: none; }
.no-js-only { }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: block; }

/* prose pages */
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--sand); }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5rem; } .split--rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.sticky { position: sticky; top: 6rem; }

/* material panel: where they have no photo, the surface stands in */
.surface { border-radius: 3px; min-height: 16rem; display: flex; align-items: flex-end; padding: 1.25rem; background-size: cover; position: relative; overflow: hidden; }
.surface::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 18, 27, .75)); }
.surface span { position: relative; z-index: 1; font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.surface--timber { background-image: url(/img/tex-timber.webp); }
.surface--tile { background-image: url(/img/tex-tile.webp); background-size: 520px auto; }
.surface--stone { background-image: url(/img/tex-stone.webp); }
.surface--brass { background-image: url(/img/tex-brass.webp); }
.surface--plaster { background-image: url(/img/tex-plaster.webp); }

/* service blocks */
.svc { border-top: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.svc__n { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; color: var(--sand); display: block; margin-bottom: 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .1rem; }
.ticks li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .9rem; }
.ticks li::before { content: ""; flex: none; width: .5rem; height: .5rem; margin-top: .55em; border: 1px solid var(--sand); border-radius: 50%; }
.subnav { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.subnav a { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .75rem 1rem; color: var(--text); }
.subnav a:hover { border-color: var(--sand); color: var(--sand-hi); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 400 1.2rem/1.35 var(--serif); color: #f3ede0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font: 300 1.5rem/1 var(--sans); color: var(--sand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* stages: what happens when */
.stages { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.stage { display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.stage::before { counter-increment: st; content: counter(st, decimal-leading-zero); font: 400 2rem/1 var(--serif); color: var(--sand); }
.stage h3 { margin-bottom: .35rem; }
.stage p { color: var(--muted); margin: 0 0 .6rem; }
.stage .who { grid-column: 2; font: 500 .7rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand-hi); }
@media (min-width: 900px) { .stage { grid-template-columns: 6rem 1fr 14rem; } .stage .who { grid-column: 3; text-align: right; } }
.phase { font: 500 .74rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin: 3rem 0 .5rem; }

/* projects */
.project { padding-block: clamp(3rem, 8vw, 5rem); border-top: 1px solid var(--line); }
.project__hero { aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: var(--navy); margin-bottom: 1.5rem; }
.project__hero img { width: 100%; height: 100%; object-fit: cover; }
.project__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font: 500 .72rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.pending { border: 1px dashed var(--line); border-radius: 3px; padding: 1.25rem; color: var(--muted); font-size: .95rem; }

/* forms and the drawer that rises over the page */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.form input, .form textarea, .form select {
  font: 400 1rem/1.4 var(--sans); color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(211, 196, 162, .35);
  border-radius: 3px; padding: .85rem .9rem; width: 100%; min-height: 3rem;
}
.form textarea { min-height: 7.5rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sand-hi); background: rgba(255, 255, 255, .07); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form small { color: var(--muted); font-size: .85rem; }
.form-two { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-two { grid-template-columns: 1fr 1fr; } }
.drawer {
  border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh;
  background: var(--ink-2); color: var(--text); border-radius: 14px 14px 0 0; border-top: 1px solid var(--sand);
}
.drawer::backdrop { background: rgba(2, 9, 14, .66); backdrop-filter: blur(3px); }
.drawer__in { padding: 1.5rem var(--pad) calc(1.5rem + env(safe-area-inset-bottom)); max-width: 40rem; margin: 0 auto; }
.drawer__top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.drawer h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.drawer__close { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 50%; width: 2.75rem; height: 2.75rem; cursor: pointer; font-size: 1.3rem; flex: none; }
.drawer__close:hover { border-color: var(--sand); }
.drawer__grip { width: 3rem; height: 4px; border-radius: 4px; background: var(--line); margin: -.6rem auto 1rem; }
@media (min-width: 761px) { .drawer { margin: auto; max-width: 38rem; border-radius: 6px; border: 1px solid var(--sand); } .drawer__grip { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: rise .5s var(--ease); }
  @keyframes rise { from { transform: translateY(40%); opacity: 0; } }
}

/* footer */
.foot { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--ink-2); font-size: .95rem; }
.foot__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.foot img { height: 4.5rem; width: auto; margin-bottom: 1.25rem; }
.foot h2 { font: 500 .72rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--sand-hi); }
.foot__big { font: 400 1.6rem/1.2 var(--serif); color: var(--sand-hi) !important; }
.foot__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font: 500 .7rem/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot__legal a { color: var(--muted); }
.credit { margin-left: auto; }

/* the motif: every photo framed like their backlit mirrors, an arch with a soft light behind it */
.mirror { border-radius: 999px 999px 4px 4px; box-shadow: 0 0 0 1px rgba(211, 196, 162, .22), 0 0 46px -6px rgba(211, 196, 162, .2); transition: box-shadow .9s var(--ease); }
a:hover .mirror, .mirror:hover { box-shadow: 0 0 0 1px rgba(211, 196, 162, .55), 0 0 70px -4px rgba(232, 214, 172, .45); }
.project__hero.mirror { border-radius: 4px; }
.split > .job__img { aspect-ratio: 3 / 4; }
@media (min-width: 960px) { .split > .job__img { max-width: 30rem; } }
.pill { margin: 0; border-radius: 999px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--navy); }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; }
.hero__fig { margin: 0; }
.hero__pill { width: clamp(6.5rem, 27vw, 19rem); margin-bottom: 1.6rem; box-shadow: 0 0 0 1px rgba(211, 196, 162, .3), 0 0 0 0 rgba(232, 214, 172, 0); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__pill { animation: lighton 2.4s .5s var(--ease) both; }
  @keyframes lighton { from { box-shadow: 0 0 0 1px rgba(211, 196, 162, .1), 0 0 0 0 rgba(232, 214, 172, 0); filter: brightness(.55); }
                       to { box-shadow: 0 0 0 1px rgba(211, 196, 162, .45), 0 0 90px 6px rgba(232, 214, 172, .32); filter: none; } }
}
@media (prefers-reduced-motion: reduce) { .hero__pill { box-shadow: 0 0 0 1px rgba(211, 196, 162, .45), 0 0 90px 6px rgba(232, 214, 172, .32); } }
.hero--short { min-height: 80svh; }
.hero__grid { display: block; }
@media (min-width: 900px) {
  .hero { align-items: center; padding-top: 6.5rem; }
  .hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(3rem, 6vw, 6rem); align-items: end; }
  .hero > .wrap > * { grid-column: 1; }
  .hero__top { display: contents; }
  .hero .hero__pill { grid-column: 2; grid-row: 1 / span 8; align-self: center; width: clamp(15rem, 23vw, 21rem); margin: 0; }
  .hero__num { font-size: clamp(10rem, 19vw, 19rem); }
  .hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.5rem); }
}

/* a job's picture grows into the top of its section on the projects page */
.vt-job-ensuites { view-transition-name: job-ensuites; }
.vt-job-showers { view-transition-name: job-showers; }
.vt-job-vanities { view-transition-name: job-vanities; }
.vt-job-kitchens { view-transition-name: job-kitchens; }

/* small utilities, so no page needs an inline style */
[data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; }
.gap-top { margin-top: 2.5rem; }
.end { align-self: end; }
.phone-big { font-size: clamp(2rem, 8vw, 3.2rem); }
.row--wide { grid-auto-columns: min(86%, 30rem); }
@media (min-width: 1100px) { .row--wide.row--fit { grid-template-columns: repeat(2, 1fr); } }
.steps { list-style: none; }
.forget__hint { margin: .6rem 0 0; font-size: .78rem; }
.forget__count { margin: 0; }
.dot { display: none; }
.js .dot { display: grid; }
.section, .page-head + .section { counter-reset: st; }
.stages--cont { counter-reset: none; }

/* scroll arrival */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
  ::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
@media print { .site-head, .callbar, .drawer { display: none !important; } body { background: #fff; color: #000; } }
