/* ========================================================================== 
   River Forest Tile Installers — Margin Notes
   tokens
   ========================================================================== */

@font-face {
  font-family: "Boska";
  src: url("/assets/fonts/boska-300-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Boska";
  src: url("/assets/fonts/boska-300-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Boska";
  src: url("/assets/fonts/boska-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Boska";
  src: url("/assets/fonts/boska-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Boska";
  src: url("/assets/fonts/boska-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Supreme";
  src: url("/assets/fonts/supreme-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Supreme";
  src: url("/assets/fonts/supreme-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;

  --night: #121316;
  --night-2: #1c1d21;
  --ivory: #f4efe6;
  --ivory-2: #eae3d7;
  --ink: #1a1a1c;
  --muted: #5d5a54;
  --muted-dark: #a9a49a;
  --amber: #e2b158;
  --ochre: #9a6a1c;
  --highlight: rgba(226, 177, 88, 0.32);
  --line: rgba(26, 26, 28, 0.14);
  --line-dark: rgba(244, 239, 230, 0.14);

  --font-display: "Boska", Georgia, serif;
  --font-ui: "Supreme", Arial, sans-serif;

  --fs-display: clamp(3rem, 7.3vw, 8rem);
  --fs-h1: clamp(2.5rem, 5.15vw, 5.25rem);
  --fs-h2: clamp(2rem, 3.5vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.9vw, 1.75rem);
  --fs-lead: clamp(1.1875rem, 1.45vw, 1.4375rem);
  --fs-body: clamp(1.0625rem, 1.15vw, 1.125rem);
  --fs-small: clamp(0.875rem, 0.94vw, 0.9375rem);
  --fs-label: clamp(0.75rem, 0.82vw, 0.8125rem);

  --lh-display: 0.98;
  --lh-heading: 1.08;
  --lh-body: 1.7;
  --lh-lead: 1.55;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 5rem;
  --space-8: 6.5rem;
  --space-9: 8rem;
  --space-10: 12rem;
  --section-space: clamp(3.5rem, 8vw, 4.5rem);

  --container: 80rem;
  --gutter: 1.25rem;
  --radius: 0.25rem;
  --touch: 2.75rem;
  --button-height: 3.375rem;
  --header-height: 5.5rem;
  --compact-header-height: 4rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ui-transition: 200ms var(--ease);
  --image-transition: 400ms var(--ease);
}

/* ========================================================================== 
   base and typography
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--compact-header-height) + var(--space-3));
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  padding-bottom: 3.75rem;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  font-variant-numeric: oldstyle-nums;
  text-rendering: optimizeLegibility;
}

main,
section,
header,
footer,
article,
aside,
div {
  min-width: 0;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: var(--space-3);
  color: inherit;
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.018em;
  line-height: var(--lh-heading);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

h4 {
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

p,
li {
  text-wrap: pretty;
}

p {
  max-width: 62ch;
  margin-bottom: var(--space-3);
}

p:last-child,
li:last-child {
  margin-bottom: 0;
}

a {
  color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ochre);
}

.night a:hover,
.site-footer a:hover {
  color: var(--amber);
}

em,
.pull-quote,
.caption,
.project-meta,
.annotation-caption {
  font-style: italic;
}

strong {
  font-weight: 500;
}

.phone-link,
.header-phone {
  font-variant-numeric: lining-nums tabular-nums;
}

.phone-link,
.text-link,
.project-link,
.all-projects,
.gallery-button,
.close-button,
.menu-button,
.service-preview-trigger,
.note-title,
.privacy-toc a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

.night :focus-visible,
.site-footer :focus-visible,
#mobile-menu :focus-visible,
body:not(.page-light) .site-header:not(.is-compact) :focus-visible,
body:not(.page-light) #site-header:not(.is-compact) :focus-visible {
  outline-color: var(--amber);
}

.skip-link {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1000;
  min-height: var(--touch);
  padding: 0.6rem 1rem;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ========================================================================== 
   layout
   ========================================================================== */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

/* Back-to-back sections on the same background share one gap. */
.section.paper + .section.paper,
.section.paper-alt + .section.paper-alt,
.section.night + .section.night {
  padding-top: 0;
}

.paper {
  background: var(--ivory);
  color: var(--ink);
}

.paper-alt {
  background: var(--ivory-2);
  color: var(--ink);
}

.night {
  background: var(--night);
  color: var(--ivory);
}

.section-header {
  display: grid;
  gap: var(--space-2);
  max-width: 51rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-header > :last-child {
  margin-bottom: 0;
}

.section-label,
.hero-eyebrow,
.chapter-label,
.project-meta,
.tags,
.plain-meta,
.breadcrumbs,
.caption,
.annotation-caption {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-label,
.hero-eyebrow,
.chapter-label {
  color: var(--ochre);
  font-family: var(--font-ui);
  font-weight: 500;
}

.night .section-label,
.night .hero-eyebrow,
.night .chapter-label {
  color: var(--amber);
}

.lead {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.night .lead {
  color: var(--muted-dark);
}

.reading {
  max-width: 62ch;
}

.reading > * {
  max-width: 62ch;
}

.reading > article + article {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.reading > article > h2 {
  margin-bottom: var(--space-3);
}

.reading > article > p + p {
  margin-top: 1.1em;
}

.reading > article > p:last-child {
  margin-bottom: 0;
}

.drop-cap:first-letter {
  float: left;
  margin: 0.08em 0.09em 0 0;
  color: currentColor;
  font-family: var(--font-display);
  font-size: 5.2em;
  font-weight: 300;
  line-height: 0.72;
}

.figure {
  margin: 0;
}

.photo-frame {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: var(--ivory-2);
}

.photo-frame.landscape,
.margin-frame:not(.portrait) {
  aspect-ratio: 3 / 2;
}

.photo-frame.portrait,
.margin-frame.portrait {
  aspect-ratio: 4 / 5;
}

.photo-frame.hero-photo {
  aspect-ratio: 16 / 9;
}

.photo-frame img,
.margin-frame > img,
.gallery-main img,
.archive-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, center);
}

.caption,
.annotation-caption {
  margin-top: var(--space-2);
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.night .caption,
.night .annotation-caption {
  color: var(--muted-dark);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

/* ========================================================================== 
   marks and illustrations
   ========================================================================== */

.mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.mark-svg {
  position: absolute;
  z-index: -1;
  bottom: -0.18em;
  left: -0.08em;
  width: calc(100% + 0.16em);
  height: 0.34em;
  overflow: visible;
  color: var(--ochre);
  fill: none;
  pointer-events: none;
}

.night .mark-svg,
.home-hero .mark-svg {
  color: var(--amber);
}

.mark-svg path,
.mark-svg line,
.mark-svg polyline,
.mark-svg ellipse,
.mark-circle path,
.mark-circle ellipse {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.mark-circle {
  position: absolute;
  z-index: -1;
  inset: -0.22em -0.17em -0.16em;
  width: calc(100% + 0.34em);
  height: calc(100% + 0.38em);
  overflow: visible;
  color: var(--ochre);
  fill: none;
  pointer-events: none;
}

.night .mark-circle {
  color: var(--amber);
}

.mark-highlight {
  position: relative;
  z-index: 0;
}

.mark-highlight::before {
  position: absolute;
  z-index: -1;
  top: 0.17em;
  right: -0.1em;
  bottom: 0.08em;
  left: -0.1em;
  background: var(--highlight);
  content: "";
}

.sketch {
  width: clamp(5rem, 10vw, 8.75rem);
  height: auto;
  color: var(--ink);
  fill: none;
  flex: 0 0 auto;
}

.night .sketch,
.site-footer .sketch,
#mobile-menu .sketch {
  color: var(--ivory);
}

.sketch path,
.sketch line,
.sketch polyline,
.sketch polygon,
.sketch circle,
.sketch rect {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.brand-flourish {
  width: 3.7rem;
  height: 0.42rem;
  margin-top: -0.12rem;
  color: var(--ochre);
  fill: none;
}

.brand-flourish path {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.75;
  vector-effect: non-scaling-stroke;
}

.site-header:not(.is-compact) .brand-flourish {
  color: var(--amber);
}

/* ========================================================================== 
   components — header, navigation, hero
   ========================================================================== */

.site-header,
#site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--ivory);
}

.header-inner {
  display: flex;
  width: min(100% - (var(--gutter) * 2), var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-header.is-compact,
#site-header.is-compact,
body.page-light .site-header,
body.page-light #site-header {
  height: var(--compact-header-height);
  border-color: var(--line);
  background: var(--ivory);
  color: var(--ink);
}

.site-header.is-compact .header-inner,
#site-header.is-compact .header-inner,
body.page-light .site-header .header-inner,
body.page-light #site-header .header-inner {
  min-height: var(--compact-header-height);
}

.site-header.is-compact .brand-flourish,
#site-header.is-compact .brand-flourish,
body.page-light .brand-flourish {
  color: var(--ochre);
}

.brand {
  display: inline-grid;
  min-width: max-content;
  color: currentColor;
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  color: currentColor;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.brand-subtitle {
  margin-top: 0.18rem;
  color: currentColor;
  font-family: var(--font-ui);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.7vw, 1.7rem);
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > summary,
.header-phone {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav > a,
.nav-dropdown > summary {
  position: relative;
}

.desktop-nav > a::after,
.nav-dropdown > summary::after {
  position: absolute;
  right: 0;
  bottom: 0.27rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.15);
  transform-origin: left center;
  transition: opacity var(--ui-transition), transform var(--ui-transition);
}

.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after,
.desktop-nav > a.active::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown > summary:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  gap: 0.35rem;
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary .icon {
  width: 1rem;
  height: 1rem;
  flex-basis: 1rem;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: grid;
  width: max-content;
  min-width: 15rem;
  max-width: min(22rem, calc(100vw - (var(--gutter) * 2)));
  padding: var(--space-1);
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  list-style: none;
}

.dropdown-list a {
  display: flex;
  min-height: var(--touch);
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: var(--fs-small);
  text-decoration: none;
}

.dropdown-list a:hover,
.dropdown-list a:focus-visible {
  background: var(--ivory-2);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-phone {
  white-space: nowrap;
}

.site-header .header-quote,
#site-header .header-quote {
  min-width: 0;
  padding-inline: 1rem;
  border-color: currentColor;
  background: transparent;
  color: currentColor;
  white-space: nowrap;
}

.site-header .header-quote:hover,
.site-header .header-quote:focus-visible,
#site-header .header-quote:hover,
#site-header .header-quote:focus-visible {
  background: var(--ivory-2);
  color: var(--ink);
}

body:not(.page-light) .site-header:not(.is-compact) .header-quote:hover,
body:not(.page-light) .site-header:not(.is-compact) .header-quote:focus-visible,
body:not(.page-light) #site-header:not(.is-compact) .header-quote:hover,
body:not(.page-light) #site-header:not(.is-compact) .header-quote:focus-visible {
  border-color: var(--ivory);
  background: var(--night-2);
  color: var(--ivory);
}

.menu-button,
.close-button,
.gallery-button,
.service-preview-trigger {
  display: inline-grid;
  width: var(--touch);
  min-width: var(--touch);
  height: var(--touch);
  min-height: var(--touch);
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: currentColor;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 0;
}

.home-hero {
  background-color: var(--night);
  background-image: radial-gradient(circle at 44% 30%, rgba(226, 177, 88, 0.085), transparent 38rem);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 62.5rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.hero-eyebrow {
  margin-bottom: var(--space-3);
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: var(--space-3);
}

.home-hero h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  text-shadow: 0 0 48px rgba(244, 239, 230, 0.18);
}

.display-line {
  display: block;
}

.hero .lead {
  margin-bottom: var(--space-4);
}

.hero-margin {
  position: absolute;
  right: 3%;
  top: var(--space-4);
  width: var(--hero-note-width);
  height: var(--hero-note-height);
  display: none;
}

.hero-sketch {
  position: absolute;
  top: 24%;
  right: 8%;
  width: clamp(5rem, 10vw, 8.75rem);
  color: var(--ivory);
}

.hero-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(83.333%, 66.667rem);
  margin-bottom: calc(var(--section-space) * -0.43);
  margin-left: auto;
}

.hero-photo-wrap .photo-frame {
  border: 1px solid var(--line-dark);
}

/* Page heroes: text and photo side by side on wide screens. */
@media (min-width: 66rem) {
  .page-hero {
    padding-top: 9rem;
    padding-bottom: clamp(4rem, 7vw, 6rem);
  }

  .page-hero .container:has(.hero-photo-wrap) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
  }

  .page-hero .hero-content {
    width: auto;
    padding-bottom: 0;
  }

  .page-hero h1 {
    font-size: clamp(2.75rem, 4.2vw, 4.25rem);
  }

  .page-hero .lead {
    font-size: 1.05rem;
  }

  .page-hero .hero-photo-wrap {
    width: 100%;
    margin: 0;
  }

  .page-hero .photo-frame.hero-photo {
    aspect-ratio: 4 / 5;
    max-height: 38rem;
  }
}

/* Home hero: text and photo side by side on wide screens. */
@media (min-width: 66rem) {
  .home-hero {
    padding-top: 9rem;
    padding-bottom: clamp(4rem, 7vw, 6rem);
  }

  .home-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
  }

  .home-hero .hero-content {
    width: auto;
    padding-bottom: 0;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 5.4vw, 5.25rem);
  }

  .home-hero .hero-photo-wrap {
    width: 100%;
    margin: 0;
  }

  .home-hero .photo-frame.hero-photo {
    aspect-ratio: 4 / 3;
  }
}

.page-hero .hero-content {
  width: min(100%, 58rem);
}

.page-hero h1 {
  max-width: 16ch;
}

/* ========================================================================== 
   components — calls to action and editorial links
   ========================================================================== */

.button {
  position: relative;
  display: inline-flex;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.875rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--ui-transition), border-color var(--ui-transition), color var(--ui-transition);
}

.button:hover,
.button:focus-visible {
  border-color: var(--night-2);
  background: var(--night-2);
  color: var(--ivory);
}

.night .button,
.site-footer .button,
#mobile-menu .button {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.night .button:hover,
.night .button:focus-visible,
.site-footer .button:hover,
.site-footer .button:focus-visible,
#mobile-menu .button:hover,
#mobile-menu .button:focus-visible {
  border-color: var(--ivory-2);
  background: var(--ivory-2);
  color: var(--ink);
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--ink);
  background: var(--ivory-2);
  color: var(--ink);
}

.night .button-outline,
.site-footer .button-outline,
#mobile-menu .button-outline,
.site-header:not(.is-compact) .button-outline {
  border-color: var(--ivory);
  background: transparent;
  color: var(--ivory);
}

.night .button-outline:hover,
.night .button-outline:focus-visible,
.site-footer .button-outline:hover,
.site-footer .button-outline:focus-visible,
#mobile-menu .button-outline:hover,
#mobile-menu .button-outline:focus-visible,
.site-header:not(.is-compact) .button-outline:hover,
.site-header:not(.is-compact) .button-outline:focus-visible {
  border-color: var(--ivory);
  background: var(--night-2);
  color: var(--ivory);
}

.text-link,
.project-link,
.all-projects {
  position: relative;
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  gap: 0.5rem;
  color: currentColor;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}

.text-link::after,
.project-link::after,
.all-projects::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.22);
  transform-origin: left center;
  transition: transform var(--ui-transition);
}

.text-link:hover::after,
.text-link:focus-visible::after,
.project-link:hover::after,
.project-link:focus-visible::after,
.all-projects:hover::after,
.all-projects:focus-visible::after {
  transform: scaleX(1);
}

.phone-link {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  gap: 0.55rem;
  color: currentColor;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
}

/* ========================================================================== 
   components — services and margin notes
   ========================================================================== */

.service-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem) var(--space-5);
  align-items: start;
}

.service-rows {
  display: grid;
  grid-column: 1 / span 7;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--touch);
  gap: var(--space-2);
  align-items: start;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.service-row[data-service-preview] {
  position: relative;
}

.service-row[data-service-preview].is-active,
.service-row[data-service-preview]:hover,
.service-row[data-service-preview]:focus-within {
  border-bottom-color: var(--ochre);
}

.roman {
  position: relative;
  padding-top: 0.08em;
  color: var(--ochre);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.roman .mark-circle {
  opacity: 0;
  transition: opacity var(--ui-transition);
}

.service-row.is-active .roman .mark-circle,
.service-row:hover .roman .mark-circle,
.service-row:focus-within .roman .mark-circle {
  opacity: 1;
}

.service-row-main h3 {
  margin-bottom: 0.35rem;
}

.service-row-main p {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.service-row .sketch {
  display: none;
  width: 3.5rem;
  margin-top: var(--space-2);
  color: var(--ochre);
}

.service-row.is-active .sketch {
  display: block;
}

.service-preview-trigger {
  justify-self: end;
  margin-top: 0.1rem;
  transition: background-color var(--ui-transition), color var(--ui-transition), transform var(--ui-transition);
}

.service-preview-trigger:hover,
.service-preview-trigger:focus-visible {
  background: var(--ink);
  color: var(--ivory);
  transform: translateX(0.25rem);
}

.service-preview {
  grid-column: 8 / -1;
  position: sticky;
  top: calc(var(--compact-header-height) + var(--space-3));
  align-self: start;
}

.service-preview .photo-frame {
  aspect-ratio: 4 / 5;
}

.service-preview-caption {
  max-width: 32ch;
  margin-top: var(--space-2);
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-style: italic;
  line-height: 1.5;
}

.margin-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem) var(--space-5);
  align-items: start;
}

.margin-intro {
  grid-column: 1 / -1;
  max-width: 40rem;
}

.margin-copy {
  color: var(--muted);
}

.margin-frame {
  position: relative;
  grid-column: 1 / span 8;
  width: 100%;
  overflow: hidden;
  background: var(--ivory);
}

.margin-layout.portrait .margin-frame,
.portrait .margin-frame {
  aspect-ratio: 4 / 5;
}

.annotation-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.note-pin {
  position: absolute;
  left: var(--pin-left, 50%);
  top: var(--pin-top, 50%);
  display: grid;
  width: var(--touch);
  height: var(--touch);
  place-items: center;
  border: 1px solid var(--ochre);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ochre);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-style: italic;
  line-height: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.note-pin .pin-ring {
  position: absolute;
  inset: -0.3rem;
  width: calc(100% + 0.6rem);
  height: calc(100% + 0.6rem);
  color: var(--ochre);
  fill: none;
  opacity: 0;
}

.note-pin.is-active .pin-ring {
  opacity: 1;
}

.note-pin .pin-ring path,
.note-pin .pin-ring ellipse {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  vector-effect: non-scaling-stroke;
}

.margin-note-list {
  grid-column: 9 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.margin-note {
  border-top: 1px solid var(--line);
}

.margin-note:last-child {
  border-bottom: 1px solid var(--line);
}

.note-title {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  width: 100%;
  min-height: var(--touch);
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.note-title > span:first-child {
  color: var(--ochre);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}

.note-title h3,
.note-title > span:last-child {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.margin-note > p {
  margin: 0 0 var(--space-3) 2.5rem;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.margin-note.is-active .note-title {
  color: var(--ochre);
}

/* ========================================================================== 
   components — chapters and project spreads
   ========================================================================== */

.chapter-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem) var(--space-5);
}

.chapter-intro {
  grid-column: 1 / span 5;
  align-self: start;
}

.chapters {
  position: relative;
  grid-column: 6 / -1;
  display: grid;
  gap: 0;
}

.chapter-line {
  position: absolute;
  top: 2.6rem;
  bottom: 2.6rem;
  left: 0.7rem;
  width: 0.2rem;
  height: calc(100% - 5.2rem);
  color: var(--amber);
  fill: none;
  pointer-events: none;
}

.chapter-line path,
.chapter-line line {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: var(--space-2);
  padding: 0 0 var(--space-5);
}

.chapter:last-child {
  padding-bottom: 0;
}

.chapter-count {
  position: relative;
  z-index: 1;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: 50%;
  background: var(--night);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1;
}

.chapter-label {
  margin-bottom: 0.45rem;
}

.chapter-body {
  grid-column: 2;
}

.chapter-body h3 {
  margin-bottom: 0.5rem;
}

.chapter-body p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.chapter .sketch {
  width: 3rem;
  height: 3rem;
  margin-top: 0.2rem;
  color: var(--amber);
}

.chapter .sketch path,
.chapter .sketch circle,
.chapter .sketch rect {
  stroke-width: 1.6;
}

.process-compact .chapter-intro {
  grid-column: 2 / span 4;
}

.process-compact .chapters {
  grid-column: 6 / -1;
}

.project-spreads {
  display: grid;
  gap: clamp(5rem, 11vw, 10rem);
}

.project-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4) var(--space-5);
  align-items: center;
}

.project-spread > .figure,
.project-spread > .spread-figure {
  grid-column: 1 / span 7;
}

.project-spread .photo-frame {
  aspect-ratio: 3 / 2;
}

.spread-copy {
  grid-column: 8 / -1;
  padding-block: var(--space-2);
}

.project-spread.reverse > .figure,
.project-spread.reverse > .spread-figure {
  grid-column: 6 / -1;
  order: 2;
}

.project-spread.reverse .spread-copy {
  grid-column: 1 / span 5;
  order: 1;
}

.spread-copy h3 {
  margin-bottom: var(--space-2);
}

.spread-copy > p:not(.project-meta):not(.pull-quote) {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.project-meta,
.tags,
.plain-meta {
  margin-bottom: var(--space-2);
  color: var(--muted);
  font-size: var(--fs-small);
  letter-spacing: 0.07em;
}

.pull-quote {
  margin: var(--space-3) 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.24;
}

.all-projects {
  margin-top: var(--space-3);
}

.compact-spreads {
  gap: var(--space-6);
}

.compact-spreads .project-spread {
  align-items: start;
}

.archive-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: 5.625rem minmax(0, 1fr) var(--touch);
  gap: var(--space-2);
  align-items: center;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.archive-row:hover {
  color: var(--ink);
}

.archive-row img {
  width: 5.625rem;
  height: 7.5rem;
  object-fit: cover;
}

.archive-row h3 {
  margin-bottom: 0.25rem;
}

.archive-row .icon {
  justify-self: end;
  transition: transform var(--ui-transition);
}

.archive-row:hover .icon,
.archive-row:focus-visible .icon {
  transform: translateX(0.25rem);
}

/* ========================================================================== 
   components — individual project gallery and narrative
   ========================================================================== */

.project-hero {
  padding-top: calc(var(--header-height) + var(--space-6));
}

.project-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.6rem;
  margin-bottom: var(--space-4);
  color: var(--muted);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: none;
}

.project-hero .breadcrumbs a {
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 0.25em;
}

.project-hero .breadcrumbs a:hover {
  color: var(--ochre);
  text-decoration-color: currentColor;
}

.project-hero .breadcrumbs span {
  line-height: 1.4;
}

.project-hero .breadcrumbs span[aria-hidden],
.project-hero .breadcrumbs a + span:not(:last-child) {
  color: var(--line);
  color: rgba(26, 26, 28, 0.3);
}

.project-hero h1 {
  max-width: 15ch;
}

.project-gallery {
  margin-top: var(--space-5);
}

.gallery-main {
  display: grid;
  min-height: min(72vh, 48rem);
  place-items: center;
  border: 1px solid var(--line);
  background: var(--ivory-2);
}

.gallery-main img {
  max-height: min(72vh, 48rem);
  object-fit: contain;
  object-position: center;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.gallery-controls > div {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.gallery-button:hover,
.gallery-button:focus-visible {
  background: var(--ink);
  color: var(--ivory);
}

.gallery-counter {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-style: italic;
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-1);
  scrollbar-color: var(--ochre) transparent;
}

.gallery-thumbs button {
  width: clamp(4rem, 7vw, 5rem);
  min-width: clamp(4rem, 7vw, 5rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  aspect-ratio: 4 / 5;
}

.gallery-thumbs button[aria-current="true"],
.gallery-thumbs button.is-current {
  border-color: var(--ochre);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, center);
}

.project-narrative {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.project-narrative .reading {
  grid-column: 2 / span 6;
}

.project-narrative > aside {
  grid-column: 9 / -1;
}

.details-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.details-list li {
  position: relative;
  padding: 0 0 var(--space-2) 1.5rem;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.details-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 0.7rem;
  height: 0.36rem;
  border-bottom: 1.5px solid var(--ochre);
  border-left: 1.5px solid var(--ochre);
  content: "";
  transform: rotate(-45deg);
}

.project-neighbours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-neighbours a {
  display: grid;
  min-height: 8rem;
  align-content: center;
  gap: 0.3rem;
  padding: var(--space-3);
  color: var(--ink);
  text-decoration: none;
}

.project-neighbours a + a {
  border-left: 1px solid var(--line);
}

.project-neighbours a:last-child {
  text-align: right;
}

.project-neighbours small {
  color: var(--muted);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================================================================== 
   components — reviews, areas, FAQ, location
   ========================================================================== */

.review-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.review-note {
  grid-column: 1 / span 4;
}

.review-quote-mark {
  width: clamp(3.8rem, 8vw, 7rem);
  margin-bottom: var(--space-2);
  color: var(--amber);
  fill: currentColor;
}

.review-note h2 {
  margin-bottom: 0;
}

.reviews-widget {
  grid-column: 6 / -1;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--night-2);
}

.reviews-widget .ti-widget,
.reviews-widget [class*="ti-widget"],
.reviews-widget .ti-widget *,
.reviews-widget [class*="ti-widget"] * {
  max-width: 100%;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.areas-layout,
.location-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem) var(--space-5);
  align-items: start;
}

.area-map {
  margin-top: var(--space-4);
}

.schematic-map {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  overflow: visible;
}

.schematic-map .map-bg {
  fill: rgba(255, 255, 255, 0.35);
  stroke: var(--line);
}

.schematic-map .map-grid line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 6;
  vector-effect: non-scaling-stroke;
}

.schematic-map .map-river {
  fill: none;
  stroke: #8fb3c4;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.75;
}

.schematic-map .map-road {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-dasharray: 10 6;
  opacity: 0.45;
}

.schematic-map .map-note {
  fill: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.schematic-map .map-river-label {
  fill: #4f7d93;
  font-style: italic;
}

.schematic-map .map-legend path {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schematic-map .map-link {
  stroke: var(--ochre);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.area-map.has-target .map-link {
  opacity: 1;
}

.map-place {
  cursor: pointer;
  outline: none;
}

.map-place text {
  fill: var(--ink);
  font-size: 15px;
  transition: fill 0.2s ease;
}

.map-place .map-sub {
  fill: var(--ochre);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-place .map-hit {
  fill: transparent;
}

.map-place .map-dot {
  fill: var(--ivory);
  stroke: var(--ink);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

.map-place.is-base .map-dot {
  fill: var(--ochre);
  stroke: var(--ochre);
}

.map-place .map-pulse {
  fill: none;
  stroke: var(--ochre);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.4s ease-out infinite;
}

.map-place.is-active .map-dot {
  fill: var(--ochre);
  stroke: var(--ochre);
  transform: scale(1.35);
}

.map-place.is-active text:not(.map-sub) {
  fill: var(--ochre);
  font-weight: 500;
}

.map-place:focus-visible .map-dot {
  stroke: var(--ink);
  stroke-width: 3;
}

@keyframes map-pulse {
  from { opacity: 0.9; transform: scale(0.5); }
  to { opacity: 0; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .map-place .map-pulse { animation: none; opacity: 0.5; }
}

.area-readout {
  min-height: 3em;
  margin: var(--space-2) 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.area-readout strong {
  color: var(--ink);
  font-weight: 500;
}

.area-links a.is-active {
  color: var(--ochre);
  border-bottom-color: var(--ochre);
}

.area-links {
  grid-column: 9 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-links a {
  display: flex;
  min-height: var(--touch);
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-small);
  text-decoration: none;
}

.area-links a:hover,
.area-links a:focus-visible {
  color: var(--ochre);
}

.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.faq-aside {
  grid-column: 1 / span 4;
  align-self: start;
}

.faq-list {
  grid-column: 6 / -1;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  padding: var(--space-2) 3rem var(--space-2) 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--touch);
  height: var(--touch);
  border: 1px solid var(--line);
  color: var(--ochre);
  content: "+";
  font-family: var(--font-ui);
  font-size: 1.45rem;
  line-height: calc(var(--touch) - 2px);
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}


.faq-list details > div,
.faq-list details > p {
  max-width: 58ch;
  padding: 0 3rem var(--space-3) 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.65;
}

.faq-list details > p {
  margin-bottom: 0;
}

.location-layout iframe {
  grid-column: 1 / span 7;
  width: 100%;
  height: 26.25rem;
  border: 1px solid var(--line);
  background: var(--ivory-2);
}

.contact-details {
  grid-column: 9 / -1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-details > * {
  margin-bottom: 0;
}

.contact-details > * + * {
  margin-top: var(--space-3);
}

.contact-details > h2 + .phone-link {
  margin-top: var(--space-2);
}

.contact-details > .phone-link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.contact-details > .phone-link + a[href^="mailto:"] {
  margin-top: 0.6rem;
  color: var(--ink);
  text-underline-offset: 0.2em;
}

.contact-details h3 {
  margin-bottom: 0.4rem;
}

.contact-details p,
.hours-note,
.address-placeholder {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.address-placeholder {
  padding-left: var(--space-2);
  border-left: 2px solid var(--ochre);
}

/* ========================================================================== 
   components — form and dialogs
   ========================================================================== */

.form-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf9f5;
  box-shadow: 0 1px 2px rgba(26, 26, 28, 0.04), 0 12px 32px -18px rgba(26, 26, 28, 0.18);
}

.form-shell {
  width: 100%;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field.full,
.form-bottom,
.form-status,
.form-success {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: var(--fs-small);
  font-weight: 500;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: var(--button-height);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(26, 26, 28, 0.2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(26, 26, 28, 0.38);
}

.form-field textarea {
  min-height: 8.75rem;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--ochre);
  outline: none;
  box-shadow: 0 0 0 3px var(--highlight);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: var(--ochre);
}

.form-hint,
.form-consent,
.field-error,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.field-error:empty,
.form-status:empty {
  display: none;
}

.form-hint {
  margin-top: -0.15rem;
  font-size: 0.8rem;
}

.field-error:not(:empty) {
  color: var(--ink);
}

.field-error:not(:empty)::before {
  margin-right: 0.35rem;
  color: var(--ochre);
  content: "—";
}

.form-bottom {
  display: grid;
  gap: 0.85rem;
  align-items: start;
  margin-top: 0.25rem;
}

.form-bottom .button {
  width: 100%;
  justify-content: center;
}

.form-consent {
  font-size: 0.78rem;
}

.form-bottom .button[aria-busy="true"],
.form-bottom .button.is-loading {
  color: transparent;
  pointer-events: none;
}

.form-bottom .button[aria-busy="true"]::after,
.form-bottom .button.is-loading::after {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  color: var(--ivory);
  content: "";
}

.form-success {
  padding-block: var(--space-4);
}

.form-success .sketch {
  width: 4rem;
  margin-bottom: var(--space-2);
  color: var(--ochre);
}

.contact-layout .form-panel {
  grid-column: 1 / span 7;
}

.contact-layout .contact-details {
  grid-column: 9 / -1;
}

.quote-modal {
  width: min(calc(100% - (var(--gutter) * 2)), 42rem);
  max-height: min(90dvh, 54rem);
  margin: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-y: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 1.25rem 4rem rgba(18, 19, 22, 0.34);
}

.quote-modal::backdrop,
#mobile-menu::backdrop {
  background: rgba(18, 19, 22, 0.78);
}

.modal-panel {
  position: relative;
}

.quote-modal .modal-panel > .close-button {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 1;
}

.quote-modal .modal-heading {
  padding-right: 3.5rem;
}

.modal-heading {
  max-width
: 34rem;
  margin-bottom: var(--space-3);
}

.modal-heading h2 {
  margin-bottom: 0;
}

.modal-sketch {
  position: absolute;
  top: -0.4rem;
  right: 0;
  width: 5rem;
  color: var(--ochre);
}

/* Fullscreen mobile navigation is intentionally immediate and non-animated. */
#mobile-menu.mobile-menu {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--night);
  color: var(--ivory);
}

#mobile-menu.mobile-menu[open] {
  display: block;
}

.mobile-sheet {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  padding: var(--space-2) var(--gutter) calc(var(--space-4) + env(safe-area-inset-bottom));
}

.mobile-top {
  display: flex;
  min-height: var(--touch);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.mobile-links {
  display: grid;
  gap: 0;
  margin: auto 0 var(--space-4);
}

.mobile-links > a,
.mobile-links summary {
  position: relative;
  display: flex;
  min-height: clamp(3.5rem, 9vh, 4.75rem);
  align-items: center;
  padding: 0.35rem 2.75rem 0.35rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.mobile-links > a::after,
.mobile-links summary::after {
  position: absolute;
  right: 0;
  bottom: 0.42rem;
  left: 0;
  height: 1px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ui-transition);
}

.mobile-links > a:hover::after,
.mobile-links > a:focus-visible::after,
.mobile-links summary:hover::after,
.mobile-links summary:focus-visible::after {
  transform: scaleX(1);
}

.mobile-links details {
  border-bottom: 1px solid var(--line-dark);
}

.mobile-links details > summary {
  border-bottom: 0;
  list-style: none;
}

.mobile-links details > summary::-webkit-details-marker {
  display: none;
}

.mobile-links details > summary::before {
  position: absolute;
  right: 0.35rem;
  color: var(--amber);
  content: "+";
  font-family: var(--font-ui);
  font-size: 1.5rem;
}

.mobile-links details[open] > summary::before {
  content: "−";
}

.mobile-links details > div,
.mobile-links details > ul {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 var(--space-2);
  padding: 0 0 0 var(--space-2);
  list-style: none;
}

.mobile-links details a {
  display: flex;
  min-height: var(--touch);
  align-items: center;
  color: var(--muted-dark);
  font-size: var(--fs-small);
  font-weight: 400;
  text-decoration: none;
}

.mobile-contact {
  display: grid;
  gap: var(--space-2);
}

.mobile-contact .button {
  width: 100%;
}

/* ========================================================================== 
   components — footer and bottom CTA
   ========================================================================== */

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: calc(var(--space-4) + 3.75rem);
  background: var(--night);
  color: var(--ivory);
}

.footer-signature {
  position: relative;
  display: inline-block;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 0.82;
}

.footer-signature .mark-svg {
  width: 102%;
  height: 0.42em;
  color: var(--amber);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  padding-bottom: var(--space-5);
}

.footer-columns h2,
.footer-columns h3 {
  margin-bottom: var(--space-2);
  color: var(--amber);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-columns > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-columns > div > .phone-link {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.footer-columns > div > a[href^="mailto:"] {
  margin-bottom: var(--space-2);
}

.footer-columns ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-columns a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  color: var(--muted-dark);
  font-size: var(--fs-small);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-columns a:hover,
.footer-columns a:focus-visible {
  color: var(--ivory);
}

.footer-columns p {
  margin-bottom: var(--space-1);
  color: var(--muted-dark);
  font-size: var(--fs-small);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: var(--fs-small);
}

.footer-bottom p {
  margin: 0;
}

.cta-field {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cta-field .section-header {
  max-width: 48rem;
  margin-bottom: var(--space-4);
}

.cta-bar[data-cta-bar] {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  height: 3.75rem;
  background: var(--night);
  color: var(--ivory);
}

.cta-bar[data-cta-bar].is-visible {
  display: block;
}

.cta-bar[data-cta-bar][aria-hidden="true"] {
  display: none;
}

.cta-inner {
  display: flex;
  width: min(100% - (var(--gutter) * 2), var(--container));
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.cta-inner > p {
  margin: 0;
  color: var(--ivory);
  font-size: var(--fs-small);
  font-weight: 500;
}

.cta-actions {
  display: flex;
  height: 100%;
  align-items: center;
  gap: var(--space-2);
}

.cta-actions .phone-link {
  color: var(--ivory);
}

.cta-actions .button {
  min-height: 2.5rem;
  padding-inline: 1rem;
}

/* ========================================================================== 
   components — about and privacy
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem) var(--space-5);
  align-items: start;
}

.about-layout .reading {
  grid-column: 2 / span 6;
}

.about-layout > .sketch,
.about-layout > aside {
  grid-column: 9 / -1;
}

.principle-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.principle-row {
  display: grid;
  grid-template-columns: minmax(3.5rem, 14%) minmax(0, 1fr);
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.principle-row > span:first-child,
.principle-row .numeral {
  color: var(--ochre);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.principle-row h3 {
  margin-bottom: 0.35rem;
}

.principle-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.privacy-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: calc(var(--compact-header-height) + var(--space-3));
  grid-column: 1 / span 3;
  align-self: start;
  padding-top: var(--space-1);
}

.privacy-toc h2 {
  margin-bottom: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.privacy-toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.privacy-toc a {
  display: flex;
  min-height: var(--touch);
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.3;
  text-decoration: none;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
  color: var(--ochre);
}

.privacy-content {
  grid-column: 5 / span 7;
  max-width: 62ch;
}

.privacy-content section {
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
}

.privacy-content section:first-child {
  padding-top: 0;
  border-top: 0;
}

.privacy-content h2 {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--fs-h2);
}

.policy-number {
  color: var(--ochre);
  font-size: 0.6em;
  font-style: italic;
  font-weight: 300;
}

.privacy-content ul,
.privacy-content ol {
  max-width: 62ch;
  margin-bottom: var(--space-3);
  padding-left: 1.2rem;
}

.privacy-content li + li {
  margin-top: 0.35rem;
}

/* ========================================================================== 
   utilities
   ========================================================================== */

.mt-4 {
  margin-top: var(--space-4) !important;
}

.mb-4 {
  margin-bottom: var(--space-4) !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.no-wrap {
  white-space: nowrap;
}

/* ========================================================================== 
   media queries
   ========================================================================== */

/* Integration: real SVG wordmarks and static margin sketches. */
:root { --hero-note-width: 12rem; --hero-note-height: 14rem; --hero-sketch-size: 7.5rem; --hero-spacer-size: 3.75rem; --hero-spacer-top: 7rem; --hero-spacer-right: 6rem; }
.hero-margin .hero-sketch { width: var(--hero-sketch-size); height: var(--hero-sketch-size); max-width: none; top: 0; right: 0; }
.hero-margin .hero-sketch:nth-child(2) { width: var(--hero-spacer-size); height: var(--hero-spacer-size); top: var(--hero-spacer-top); right: var(--hero-spacer-right); }
.site-header .brand-subtitle { font-size: var(--fs-label); }
.hero-eyebrow, .night .section-label { color: var(--muted-dark); }
.phone-link .mark-circle { opacity: 0; }
.phone-link:hover .mark-circle, .phone-link:focus-visible .mark-circle { opacity: 1; }

@media (min-width: 40rem) {
  :root {
    --gutter: 2.5rem;
    --section-space: clamp(4.5rem, 7vw, 5.5rem);
  }

  .header-quote {
    padding-inline: 1.25rem;
  }

  .mobile-sheet {
    padding-inline: var(--gutter);
  }
}

@media (min-width: 66rem) {
  :root {
    --gutter: 4.5rem;
    --section-space: clamp(5rem, 6vw, 6.5rem);
  }

  .hero-margin {
    display: block;
  }
}

@media (max-width: 65.9375rem) {
  .desktop-nav,
  .header-actions .header-phone,
  .header-actions .header-quote {
    display: none;
  }

  .header-actions { display: flex; }

  .menu-button {
    display: inline-grid;
  }
}

@media (max-width: 59.9375rem) {
  .service-editorial,
  .margin-layout,
  .chapter-layout,
  .project-spread,
  .review-layout,
  .areas-layout,
  .location-layout,
  .contact-layout,
  .faq-layout,
  .about-layout,
  .privacy-layout,
  .project-narrative {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-rows,
  .margin-intro,
  .margin-layout > .margin-frame:first-child,
  .margin-frame,
  .chapter-intro,
  .chapters,
  .project-spread > .figure,
  .project-spread > .spread-figure,
  .spread-copy,
  .project-spread.reverse > .figure,
  .project-spread.reverse > .spread-figure,
  .project-spread.reverse .spread-copy,
  .review-note,
  .reviews-widget,
  .schematic-map,
  .area-links,
  .faq-aside,
  .faq-list,
  .location-layout iframe,
  .contact-details,
  .contact-layout .form-panel,
  .contact-layout .contact-details,
  .about-layout .reading,
  .about-layout > .sketch,
  .about-layout > aside,
  .privacy-toc,
  .privacy-content,
  .project-narrative .reading,
  .project-narrative > aside {
    grid-column: 1 / -1;
  }

  .service-editorial {
    display: flex;
    flex-direction: column;
  }

  .service-rows {
    width: 100%;
  }

  .service-preview {
    position: static;
    width: min(100%, 31rem);
    align-self: stretch;
    order: 2;
  }

  .margin-layout {
    gap: var(--space-4);
  }

  .margin-intro {
    order: -1;
  }

  .margin-note-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 var(--space-3);
  }

  .margin-note:last-child {
    border-bottom: 0;
  }

  .chapter-intro,
  .faq-aside {
    position: static;
  }

  .chapter-layout,
  .review-layout,
  .areas-layout,
  .location-layout,
  .contact-layout,
  .faq-layout,
  .about-layout,
  .privacy-layout,
  .project-narrative {
    gap: var(--space-4);
  }

  .project-spread.reverse > .figure,
  .project-spread.reverse > .spread-figure,
  .project-spread.reverse .spread-copy {
    order: initial;
  }

  .project-spread.reverse > .figure,
  .project-spread.reverse > .spread-figure {
    grid-column: 1 / -1;
  }

  .project-spread.reverse .spread-copy {
    grid-column: 1 / -1;
  }

  .review-note .section-header {
    margin-bottom: 0;
  }

  .area-links {
    max-width: 35rem;
  }

  .privacy-toc {
    position: static;
  }

  .privacy-content {
    max-width: 62ch;
  }

  .process-compact .chapter-intro,
  .process-compact .chapters {
    grid-column: 1 / -1;
  }
}

@media (max-width: 47.9375rem) {
  :root {
    --header-height: 4.75rem;
  }

  body {
    padding-bottom: 3.75rem;
  }

  .header-inner {
    gap: var(--space-1);
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand-subtitle {
    font-size: 0.53rem;
    letter-spacing: 0.105em;
  }

  .brand-flourish {
    width: 3.15rem;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero-content {
    padding-bottom: var(--space-6);
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .hero-sketch,
  .hero-margin {
    display: none;
  }

  .hero-photo-wrap {
    width: 100%;
    margin-bottom: calc(var(--section-space) * -0.24);
  }

  .home-hero .hero-photo-wrap {
    margin-inline: 0;
  }

  .actions {
    align-items: stretch;
  }

  .actions .button {
    width: 100%;
  }

  .actions .phone-link {
    width: 100%;
  }

  .section-header {
    margin-bottom: var(--space-4);
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr) var(--touch);
    gap: var(--space-1);
  }

  .service-row .sketch {
    display: none !important;
  }

  .service-preview {
    width: 100%;
  }

  .margin-note-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .note-pin {
    width: var(--touch);
    height: var(--touch);
  }

  .chapter {
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: var(--space-1);
  }

  .chapter .sketch {
    display: none;
  }

  .chapter-line {
    left: 0.62rem;
  }

  .project-spreads {
    gap: var(--space-7);
  }

  .project-spread {
    gap: var(--space-3);
  }

  .spread-copy {
    padding-top: 0;
  }

  .gallery-main {
    min-height: 16rem;
  }

  .gallery-controls {
    align-items: stretch;
  }

  .gallery-counter {
    display: grid;
    min-width: 3.5rem;
    place-items: center;
    text-align: center;
  }

  .project-narrative {
    gap: var(--space-4);
  }

  .project-narrative .reading {
    grid-column: 1 / -1;
  }

  .archive-row {
    grid-template-columns: 4.25rem minmax(0, 1fr) var(--touch);
  }

  .archive-row img {
    width: 4.25rem;
    height: 5.7rem;
  }

  .area-links {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    min-height: 4.25rem;
    padding-right: 2.8rem;
  }

  .faq-list details > div,
  .faq-list details > p {
    padding-right: 0;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-bottom,
  .form-status,
  .form-success {
    grid-column: auto;
  }

  .modal-sketch {
    display: none;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3) var(--space-2);
  }

  .footer-columns > :first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }

  .cta-inner > p,
  .cta-actions .phone-link {
    display: none;
  }

  .cta-inner {
    justify-content: flex-end;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
  }

  .privacy-content h2 {
    gap: var(--space-1);
  }

  .privacy-content section {
    padding-block: var(--space-3);
  }
}

@media (max-width: 22.5rem) {
  .container,
  .header-inner,
  .cta-inner {
    width: calc(100% - (var(--gutter) * 2));
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.48rem;
  }

  .menu-button {
    width: var(--touch);
    min-width: var(--touch);
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-columns > :first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Bind editorial columns to the actual direct children emitted by HTML. */
.margin-layout > .annotated-photo { position: relative; grid-column: 1 / span 8; align-self: start; min-width: 0; }
.margin-layout > .margin-copy { grid-column: 9 / -1; min-width: 0; }
.review-layout > :first-child { grid-column: 1 / span 4; }
.review-layout > :last-child { grid-column: 6 / -1; }
.areas-layout > :first-child { grid-column: 1 / span 6; }
.areas-layout > :last-child { grid-column: 8 / -1; }
.location-layout > .map-frame { grid-column: 1 / span 7; }
.location-layout > .contact-details { grid-column: 9 / -1; }
.contact-layout > :first-child, .about-layout > :first-child { grid-column: 1 / span 6; }
.about-layout > .reading:only-child { grid-column: 1 / span 8; }
.contact-layout > :last-child, .about-layout > :last-child { grid-column: 8 / -1; }
.project-narrative > :first-child { grid-column: 1 / span 7; }
.project-narrative > :last-child { grid-column: 9 / -1; }
.drop-cap:first-letter { font-size: 6.8em; line-height: 1; margin: 0 0.09em 0 0; }
/* Narrow layouts keep every editorial column readable, not implicit tracks. */
@media (max-width: 59.9375rem) {
  .container:is(.review-layout,.areas-layout,.location-layout,.contact-layout,.margin-layout,.faq-layout,.chapter-layout,.about-layout,.privacy-layout,.project-narrative),
  .container :is(.review-layout,.areas-layout,.location-layout,.contact-layout,.margin-layout,.faq-layout,.chapter-layout,.about-layout,.privacy-layout,.project-narrative,.service-editorial,.project-spread) { grid-template-columns: minmax(0,1fr); }
  .container:is(.review-layout,.areas-layout,.location-layout,.contact-layout,.margin-layout,.faq-layout,.chapter-layout,.about-layout,.privacy-layout,.project-narrative) > :nth-child(n),
  .container :is(.review-layout,.areas-layout,.location-layout,.contact-layout,.margin-layout,.faq-layout,.chapter-layout,.about-layout,.privacy-layout,.project-narrative,.service-editorial,.project-spread) > :nth-child(n) { grid-column: 1 / -1; min-width: 0; }
}
.section-label { color: var(--muted); }
.night .section-label, .hero-eyebrow { color: var(--muted-dark); }

/* Annotation numbers remain readable body text; strokes keep the pencil accent. */
.note-title span, .note-pin span { color: var(--ink); }

.margin-layout .margin-note .note-title { color: var(--ink); }

.margin-layout .margin-copy .margin-note .note-title, .margin-layout .margin-copy .margin-note .note-title span { color: var(--ink) !important; }
