@font-face {
  font-family: Bricolage;
  src: url('/websites/assets/bricolage-grotesque.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Instrument;
  src: url('/websites/assets/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/websites/fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: Archivo;
  src: url('/websites/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --body: 'DM Sans', Arial, sans-serif;
  --display: Bricolage, 'DM Sans', sans-serif;
  --gutter: clamp(24px, 4.2vw, 76px);
  --shell: 1440px;
  --paper: #f6f6f1;
  --ink: #17212a;
  --muted: #505c64;
  --line: #cdd2d4;
  --action: #173bab;
  --on-action: #fff;
  --focus: #2169e7;
  --panel: #edf1fb;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.55 var(--body); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button, a, summary { touch-action: manipulation; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; }
h1, h2 { letter-spacing: -.04em; font-weight: 650; }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.65rem); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { color: var(--on-action); background: var(--action); }

.shell { width: min(var(--shell), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 130px); }
.lead { max-width: 38ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px; color: var(--on-action); background: var(--action); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.navigation { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; font: 800 1.75rem/1 var(--display); letter-spacing: -.065em; }
.brand span { color: var(--action); }
.navigation nav { display: flex; align-items: center; gap: clamp(20px, 3.1vw, 46px); }
.navigation nav > a { display: inline-flex; min-height: 44px; align-items: center; font-size: .95rem; font-weight: 600; }
.navigation nav > a:hover, .closing-links > a:last-child:hover { text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 14px; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 5px; }

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 13px 19px;
  color: var(--on-action);
  background: var(--action);
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 650;
  line-height: 1.25;
  transition: filter 180ms, transform 180ms;
}
.btn:active { transform: scale(.98); }
.arrow { display: inline-block; position: relative; width: 15px; height: 13px; flex: none; transition: transform 180ms ease; }
.arrow::before { content: ''; position: absolute; top: 6px; left: 0; right: 1px; border-top: 1.6px solid currentColor; }
.arrow::after { content: ''; position: absolute; right: 1px; top: 3px; width: 6px; height: 6px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; top: 6px; left: 0; width: 100%; height: 1.5px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform 200ms ease; }
details[open] .plus::after { transform: none; }

.hero-copy > .lead { margin-top: 22px; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; gap: 13px; margin-top: 18px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.hero-art { overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.split > div:first-child .lead { margin-top: 24px; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 19px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-index { padding-top: 3px; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.steps h3, .steps summary { font: 650 clamp(1.1rem, 1.7vw, 1.42rem)/1.3 var(--body); }
.steps p, .questions details p { max-width: 48ch; margin-top: 9px; color: var(--muted); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.steps summary { min-height: 44px; margin-block: -10px; }
.steps details p { margin-top: 17px; }

.price-value { display: flex; align-items: baseline; gap: 15px; font: 650 clamp(3.4rem, 6.7vw, 6.1rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price-value span { color: var(--muted); font: 500 .96rem/1.45 var(--body); letter-spacing: 0; }
.amounts { margin-block: 22px 25px; border-top: 1px solid var(--line); }
.amounts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.amounts dt { max-width: 29ch; }
.amounts dd { font: 650 1.45rem/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.amounts dd small { margin-left: 2px; font: 500 .86rem/1 var(--body); }
.amounts dd.payment-timing { font: 600 .93rem/1.4 var(--body); text-align: end; white-space: normal; }
.questions { display: grid; grid-template-columns: 1fr 1.65fr; gap: clamp(36px, 8vw, 120px); padding-block: clamp(56px, 8vw, 114px); }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { min-height: 63px; padding-block: 13px; font-size: 1.12rem; font-weight: 650; }
.questions details p { margin: 0 24px 19px 0; }
.closing { border-top: 1px solid var(--line); }
.closing-links { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 19px max(19px, env(safe-area-inset-bottom)); }
.closing-links > a:last-child { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .93rem; }

/* Front Door / the portrait and the text share one clean edge. */
.door-hero { display: grid; grid-template-columns: 51.5% 48.5%; min-height: min(825px, calc(100svh - 78px)); }
.door-copy { display: grid; align-items: center; padding: clamp(42px, 6vw, 90px) 34px clamp(42px, 6vw, 90px) max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))); }
.door-hero h1 { font-size: clamp(3.1rem, 6vw, 5.8rem); line-height: .99; text-wrap: balance; }
.door-hero h1 em { color: #173bab; font-style: normal; }
.door-photo { position: relative; background: #163c7c; }
.door-photo img { position: absolute; inset: 0; object-position: 47% 51%; }
.door-process { padding-block: clamp(66px, 9vw, 133px); color: #fff; background: #173bab; }
.door-process .lead, .door-process .step-index, .door-process .steps p { color: #e3eaff; }
.door-process .steps { --line: #a1b3eb; }
.door-process :focus-visible { outline-color: #fff; }
.door-pricing { align-items: start; padding-block: clamp(66px, 9vw, 135px); }
.door-pricing .price-sheet { border-top: 5px solid var(--action); padding-top: 21px; }
.front-door .questions, .front-door .closing { background: #e9edf5; }

/* Good Work / wide press photograph, a four-column work order and a bold price band. */
.good-work {
  --paper: #fffbef;
  --ink: #381822;
  --muted: #6a3f3c;
  --line: #d7bcb4;
  --action: #55192a;
  --on-action: #fff8e3;
  --focus: #84352e;
  --panel: #f7e9cb;
  --display: Archivo, 'DM Sans', sans-serif;
}
.good-work .navigation, .work-hero { background: #f9d875; --line: #b98943; }
.good-work .btn { border-radius: 0; }
.work-hero { padding-bottom: clamp(23px, 3.6vw, 52px); }
.work-head { display: grid; grid-template-columns: 1fr minmax(275px, .39fr); gap: clamp(25px, 4.6vw, 72px); align-items: end; padding-block: clamp(40px, 5.3vw, 82px) clamp(27px, 3.3vw, 48px); }
.work-head h1 { font-size: clamp(3.7rem, 6.25vw, 6rem); line-height: .98; font-weight: 750; }
.work-offer > .lead { margin-top: 0; font-size: 1rem; }
.work-photo img { height: clamp(270px, 31vw, 480px); object-position: 50% 55%; }
.work-process { padding-block: clamp(62px, 8vw, 122px); }
.work-section-head { margin-bottom: 36px; }
.work-process .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3.5vw, 51px); }
.work-process .steps li { display: block; border-top: 2px solid var(--ink); border-bottom: 0; }
.work-process .step-index { display: block; margin-bottom: 29px; font-size: .9rem; }
.work-process .steps p { font-size: 1rem; }
.work-pricing { padding-block: clamp(60px, 7vw, 105px); color: #fff5dc; background: #501a29; --muted: #ffddab; --line: #ad7480; --action: #f9d875; --on-action: #391722; --focus: #f9d875; }
.work-price-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 9vw, 135px); }
.work-price-grid h2 { font-size: clamp(1.65rem, 3.3vw, 3rem); }
.work-price-grid .price-value { margin-block: 16px 10px; color: #f9d875; font-size: clamp(3.5rem, 6.6vw, 5.8rem); }
.good-work .closing { background: #f9d875; }

/* Your Address / one large architectural photograph with a clear text area. */
.your-address {
  --paper: #f2eff8;
  --ink: #221934;
  --muted: #574964;
  --line: #cfc5dd;
  --action: #3b2659;
  --on-action: #fff;
  --focus: #633cb0;
  --panel: #e8e0f2;
  --display: Instrument, Georgia, serif;
}
.your-address h1, .your-address h2 { font-weight: 400; letter-spacing: -.023em; }
.your-address .brand { font-family: Bricolage, 'DM Sans', sans-serif; }
.your-address .navigation, .address-hero {
  color: #fffafc;
  background: #180d20;
  --muted: #e5d9e8;
  --line: #7b677f;
  --action: #d7f0ec;
  --on-action: #1a2130;
  --focus: #baf5ed;
}
.address-hero { position: relative; display: grid; align-items: center; min-height: min(820px, calc(100svh - 78px)); }
.address-photo { position: absolute; inset: 0 0 0 9%; mask-image: linear-gradient(to right, transparent, black 13%); }
.address-photo img { object-position: center 52%; }
.address-inner { position: relative; z-index: 1; padding-block: 68px; }
.address-inner .hero-copy { max-width: 46%; }
.address-hero h1 { font-size: clamp(4rem, 8.2vw, 7.7rem); line-height: .92; }
.address-hero .lead { max-width: 34ch; }
.address-pricing { padding-block: clamp(64px, 8.4vw, 117px); }
.address-price-title { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-bottom: 30px; }
.address-price-title h2 { max-width: 11ch; font-size: clamp(3rem, 6vw, 5.8rem); }
.address-price-title .price-value { font-weight: 400; }
.address-pricing .amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 0; }
.address-pricing .amounts > div { flex-direction: column; gap: 12px; padding-block: 22px; }
.address-pricing .amounts dd:not(.payment-timing) { font: 600 1.85rem/1 var(--body); }
.address-process { padding-block: clamp(60px, 8vw, 116px); background: #e5dbf1; --line: #bbaecb; }
.address-process h2 { font-size: clamp(3.2rem, 6.2vw, 5.9rem); }
.your-address .closing { background: #e5dbf1; }

/* Review gallery. */
.gallery { --paper: #f0f0eb; }
.gallery-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; border-bottom: 1px solid var(--line); }
.gallery-nav > span { color: var(--muted); font-size: .94rem; }
.gallery-main { padding-block: clamp(38px, 6.4vw, 95px) 60px; }
.gallery h1 { font-size: clamp(3rem, 6.5vw, 6rem); }
.gallery .lead { margin-top: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 40px); margin-top: clamp(29px, 5vw, 72px); }
.gallery-grid a { display: block; }
.gallery-image { overflow: hidden; aspect-ratio: 1.24; background: #d7d9df; }
.gallery-image img { height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(.19, 1, .22, 1); }
.gallery-front-door img { object-position: 50% 37%; }
.gallery-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.gallery-label h2 { font-size: clamp(1.6rem, 2.55vw, 2.5rem); }
.gallery-grid p { margin-top: 7px; color: var(--muted); }

@media (hover: hover) {
  .btn:hover { filter: brightness(.93); }
  .btn:hover .arrow, .hero-link:hover .arrow, .gallery-grid a:hover .arrow { transform: translateX(3px); }
  .gallery-grid a:hover img { transform: scale(1.035); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: arrive 700ms cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes arrive { from { transform: scale(1.035); } to { transform: scale(1); } }
}

@media (max-width: 1050px) {
  .work-head { grid-template-columns: 1fr minmax(215px, .42fr); gap: 28px; }
  .work-head h1 { font-size: clamp(3.1rem, 6.1vw, 5rem); }
}

@media (max-width: 850px) {
  .door-hero { grid-template-columns: 1fr; min-height: auto; }
  .door-copy { padding: 45px var(--gutter) 35px; }
  .door-photo { height: clamp(340px, 56vw, 500px); }
  .door-photo img { object-position: center 40%; }
  .work-head { grid-template-columns: 1fr; align-items: start; }
  .work-process .steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .address-hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .address-inner { order: -1; padding-block: 46px 22px; }
  .address-inner .hero-copy { max-width: none; }
  .address-hero h1 { font-size: clamp(3.65rem, 10.5vw, 6rem); }
  .address-photo { position: static; height: clamp(240px, 55vw, 425px); mask-image: none; }
  .address-photo img { object-position: 83% 50%; }
}

@media (max-width: 760px) {
  .nav-inner, .gallery-nav { min-height: 66px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .navigation nav { display: none; position: absolute; inset: 100% 0 auto; flex-wrap: wrap; gap: 12px 22px; padding: 13px var(--gutter) 17px; color: inherit; background: var(--paper); border-bottom: 1px solid var(--line); }
  .navigation nav.is-open { display: flex; }
  .your-address .navigation nav { background: #180d20; }
  .good-work .navigation nav { background: #f9d875; }
  .split, .questions, .work-price-grid { grid-template-columns: 1fr; gap: 27px; }
  .split > div:first-child .lead { margin-top: 14px; }
  .address-price-title { display: block; padding-bottom: 21px; }
  .address-price-title h2 { max-width: 12ch; margin-bottom: 20px; }
  .address-pricing .amounts { display: block; }
  .address-pricing .amounts > div { flex-direction: row; }
  .gallery-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-image { aspect-ratio: 1.58; }
}

@media (max-width: 530px) {
  :root { --gutter: 22px; }
  .brand { font-size: 1.6rem; }
  .door-hero h1 { font-size: clamp(2.55rem, 11.55vw, 3.65rem); }
  .door-copy { padding-block: 39px 31px; }
  .hero-copy > .lead { margin-top: 16px; }
  .hero-link { margin-top: 13px; }
  .door-photo { height: clamp(290px, 88vw, 390px); }
  .work-head { padding-block: 37px 26px; gap: 19px; }
  .work-head h1 { font-size: clamp(2.4rem, 10.3vw, 3.4rem); }
  .work-photo img { height: clamp(240px, 39svh, 360px); }
  .work-process .steps { grid-template-columns: 1fr; gap: 0; }
  .work-process .steps li { display: grid; grid-template-columns: 32px 1fr; border-top-width: 1px; }
  .work-process .step-index { margin: 0; }
  .address-inner { padding-block: 42px 17px; }
  .address-hero h1 { font-size: clamp(3.25rem, 14.7vw, 4.45rem); }
  .address-photo { height: clamp(250px, 37svh, 355px); }
  .closing-links > a:last-child { font-size: .85rem; }
  .steps li { grid-template-columns: 27px minmax(0, 1fr); gap: 9px; }
  .amounts dt { font-size: .93rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.closing-links { flex-wrap: wrap; gap: 14px; }
.closing-links [data-measurement-settings] { color: inherit; font: inherit; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.studio-privacy {
  position: fixed; inset: auto auto max(16px, env(safe-area-inset-bottom)) 16px; margin: 0;
  z-index: 11; width: min(354px, calc(100vw - 32px)); padding: 18px; border: 1px solid #dad8df;
  border-radius: 12px; background: #fff; color: #231c2b; box-shadow: 0 8px 30px #14112420;
  font: 500 .9rem/1.45 var(--body);
}
.studio-privacy h2 { font: 700 1.1rem/1.25 var(--body); letter-spacing: normal; }
.studio-privacy p { margin: 8px 0 12px; }
.studio-privacy form { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-privacy .btn { padding: 8px 12px; min-height: 40px; }
.studio-privacy .btn-secondary { background: transparent; border: 1px solid currentColor; color: #231c2b; }
@media (max-width: 540px) {
  .studio-privacy[open]:not(:modal) { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
