/* Big Rock Management — the patch collection */

@font-face {
  font-family: "Alfa Slab One";
  src: url("assets/fonts/AlfaSlabOne-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/Archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #121a2b;
  --ink-soft: #3a3326;
  --canvas: #efe4cf;
  --canvas-deep: #e4d4b4;
  --cream: #fbf6ec;
  --tan: #d8b277;
  --tan-deep: #6e5126;

  --rentals: #ea5576;
  --rentals-text: #c0284f;
  --cleaning: #f2793a;
  --hauling: #f6c544;
  --realty: #6a3fa0;

  --spot: var(--ink);
  --on-spot: var(--ink);

  --display: "Alfa Slab One", "Rockwell", serif;
  --sans: "Archivo", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --shadow-patch: 0 14px 22px -12px rgba(18, 26, 43, 0.55), 0 3px 6px -2px rgba(18, 26, 43, 0.25);
  --shadow-lift: 0 26px 30px -14px rgba(18, 26, 43, 0.5), 0 6px 10px -4px rgba(18, 26, 43, 0.25);
}

.page-rentals { --spot: var(--rentals); --on-spot: var(--ink); }
.page-cleaning { --spot: var(--cleaning); --on-spot: var(--ink); }
.page-hauling { --spot: var(--hauling); --on-spot: var(--ink); }
.page-realty { --spot: var(--realty); --on-spot: var(--cream); }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  scrollbar-color: var(--tan-deep) var(--canvas-deep);
}

body {
  margin: 0;
  background-color: var(--canvas);
  /* canvas weave: the cloth the patches are sewn onto */
  background-image:
    repeating-linear-gradient(0deg, rgba(18, 26, 43, 0.025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(18, 26, 43, 0.02) 0 1px, transparent 1px 4px);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--cleaning); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons: stitched pills ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-stitch: var(--tan);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-patch);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed var(--btn-stitch);
  border-radius: inherit;
  pointer-events: none;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .btn:hover:active { transform: translateY(0) scale(0.97); }
}

.btn--light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-stitch: var(--tan-deep); }
.btn--gold { --btn-bg: var(--hauling); --btn-fg: var(--ink); --btn-stitch: var(--ink); }
.btn--small { min-height: 2.6rem; padding: 0.55rem 1.15rem; font-size: 0.95rem; }
.btn--small::after { inset: 4px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg { transform: translateX(3px); }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 228, 207, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 2px solid var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 3.25rem; height: 3.25rem; }
.brand span { display: grid; line-height: 1; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0; }
.brand small {
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--tan-deep);
  margin-top: 0.3rem;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  font-weight: 700;
  font-variation-settings: "wdth" 108;
  border-radius: 999px;
  transition: background-color 160ms ease;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.2rem;
  border-bottom: 2px dashed var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { background: var(--canvas-deep); }
}
.nav .btn { margin-left: 0.75rem; }

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.nav-toggle:active { transform: scale(0.95); }
.nav-toggle svg { width: 1.3rem; height: 1.3rem; margin: auto; display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--canvas);
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 18px 24px -18px rgba(18, 26, 43, 0.5);
    transform-origin: top center;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .nav a { padding: 0.85rem 0.5rem; font-size: 1.1rem; border-radius: 10px; }
  .nav a[aria-current="page"]::after { left: 0.5rem; right: auto; width: 3rem; }
  .nav .btn { margin: 0.75rem 0 0; justify-content: center; }
}

/* ---------- Patches ---------- */

.patch {
  --tilt: 0deg;
  --c: var(--ink);
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  text-decoration: none;
  color: var(--ink);
  transform: rotate(var(--tilt));
  transition: transform 260ms var(--ease-out), filter 260ms var(--ease-out);
  filter: drop-shadow(0 12px 10px rgba(18, 26, 43, 0.28)) drop-shadow(0 2px 2px rgba(18, 26, 43, 0.25));
  -webkit-tap-highlight-color: transparent;
}
.patch__dome {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(5px, 0.9vw, 9px) solid var(--ink);
  background: var(--c);
  overflow: hidden;
}
.patch__dome::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px dashed rgba(251, 246, 236, 0.75);
  pointer-events: none;
}
.patch__dome svg { width: 100%; height: 100%; display: block; }
.patch__bar {
  position: relative;
  width: 100%;
  margin-top: -18%;
  padding: 0.7em 0.6em 0.75em;
  background: var(--ink);
  border-radius: 14px;
  text-align: center;
  font-size: clamp(0.8rem, 1.45vw, 1.15rem);
}
.patch__bar::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed var(--tan);
  border-radius: 10px;
  pointer-events: none;
}
.patch__name {
  display: block;
  font-family: var(--display);
  color: var(--cream);
  font-size: 1.55em;
  line-height: 1;
  letter-spacing: 0.01em;
}
.patch__sub {
  display: block;
  margin-top: 0.35em;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: max(0.62em, 11px);
  color: var(--tan);
}

.patch--rentals { --c: var(--rentals); }
.patch--cleaning { --c: var(--cleaning); }
.patch--hauling { --c: var(--hauling); }
.patch--realty { --c: var(--realty); }

a.patch:active { transform: rotate(var(--tilt)) scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  a.patch:hover {
    transform: rotate(0deg) translateY(-6px);
    filter: drop-shadow(0 22px 16px rgba(18, 26, 43, 0.3)) drop-shadow(0 4px 4px rgba(18, 26, 43, 0.22));
  }
  a.patch:hover:active { transform: rotate(0deg) translateY(-2px) scale(0.97); }
}
a.patch:focus-visible { outline: none; }
a.patch:focus-visible .patch__bar { outline: 3px solid var(--ink); outline-offset: 4px; }

/* sewn on: each patch settles onto the canvas once, on load */
@keyframes sew-on {
  from { opacity: 0; transform: rotate(calc(var(--tilt) - 6deg)) translateY(18px) scale(0.94); }
  to { opacity: 1; transform: rotate(var(--tilt)); }
}
.board .patch,
.page-hero .patch {
  animation: sew-on 620ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}

/* ---------- Home hero: the collection board ---------- */

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.6rem); }
.hero h1 em { font-style: normal; color: var(--rentals-text); }
.hero__lede {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.hero__actions .link-arrow { font-size: 1rem; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  font-weight: 700;
  font-variation-settings: "wdth" 110;
  font-size: 0.92rem;
}
.tags svg { width: 1rem; height: 1rem; color: var(--rentals-text); }

.board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.75rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 28px;
  background: var(--canvas-deep);
  box-shadow: inset 0 0 0 2px rgba(18, 26, 43, 0.12);
}
.board::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(110, 81, 38, 0.45);
  border-radius: 20px;
  pointer-events: none;
}
.board .patch:nth-child(1) { --tilt: -4deg; --i: 0; }
.board .patch:nth-child(2) { --tilt: 3deg; --i: 1; margin-top: 2.5rem; }
.board .patch:nth-child(3) { --tilt: 2deg; --i: 2; margin-top: -1.5rem; }
.board .patch:nth-child(4) { --tilt: -3deg; --i: 3; margin-top: 1rem; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { display: contents; }
  .hero h1 { order: 0; }
  .hero .board { order: 1; margin-top: 1.75rem; }
  .hero__copy > :not(h1) { order: 2; }
  .board .patch:nth-child(n) { margin-top: 0; }
  .board .patch:nth-child(even) { margin-top: 1.25rem; }
  .board { max-width: 34rem; }
  .patch__bar { font-size: clamp(0.85rem, 3.4vw, 1.15rem); }
}

/* ---------- Section rhythm ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--cream { background: var(--cream); }
.section h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.section__intro { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__intro p { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-soft); }
.section--ink .section__intro p { color: #d9ccb2; }

/* ---------- The property loop ---------- */

.loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.loop::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 10%;
  right: 10%;
  border-top: 3px dashed var(--tan);
}
.loop li { position: relative; padding: 0 0.75rem; text-align: center; }
.loop__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--c, var(--cream));
  border: 4px solid var(--cream);
  color: var(--ink);
}
.loop__dot svg { width: 1.35rem; height: 1.35rem; }
.loop li:nth-child(1) { --c: var(--realty); }
.loop li:nth-child(1) .loop__dot,
.loop li:nth-child(5) .loop__dot { color: var(--cream); }
.loop li:nth-child(2) { --c: var(--cleaning); }
.loop li:nth-child(3) { --c: var(--rentals); }
.loop li:nth-child(4) { --c: var(--hauling); }
.loop li:nth-child(5) { --c: var(--realty); }
.loop h3 { font-size: 1.45rem; color: var(--cream); }
.loop p { margin-top: 0.5rem; font-size: 0.98rem; color: #d9ccb2; }
.loop .who {
  display: block;
  margin-top: 0.75rem;
  color: var(--c);
  font-size: 0.72rem;
}
.loop li:nth-child(1) .who, .loop li:nth-child(5) .who { color: #b597e0; }

@media (max-width: 880px) {
  .loop { grid-template-columns: 1fr; gap: 2rem; }
  .loop::before { top: 1rem; bottom: 1rem; left: 1.6rem; right: auto; border-top: 0; border-left: 3px dashed var(--tan); }
  .loop li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1.25rem; text-align: left; padding: 0; }
  .loop__dot { margin: 0; grid-row: span 3; }
}

/* ---------- Service rows (home) ---------- */

.service {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.service + .service { margin-top: clamp(4.5rem, 9vw, 7.5rem); }
.service--flip .service__media { order: 2; }
.service__media { position: relative; }
.service__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid var(--ink);
}
.service__media .patch {
  position: absolute;
  width: clamp(7.5rem, 15vw, 10.5rem);
  right: -1.25rem;
  bottom: -2.25rem;
  --tilt: 5deg;
}
.service--flip .service__media .patch { right: auto; left: -1.25rem; --tilt: -5deg; }
.service__media .patch .patch__bar { font-size: clamp(0.6rem, 1vw, 0.8rem); }
.service h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.service__brand { display: block; margin-bottom: 0.9rem; color: var(--tan-deep); }
.service__body > p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 34rem; }
.service__body .btn, .service__body .link-arrow { margin-top: 1.75rem; }

.ticks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.ticks svg { width: 1.4rem; height: 1.4rem; margin-top: 0.12rem; color: var(--spot-tick, var(--ink)); }
.ticks b { font-weight: 800; }

@media (max-width: 880px) {
  .service { grid-template-columns: 1fr; }
  .service--flip .service__media { order: 0; }
  .service__media .patch { right: 0.75rem; }
  .service--flip .service__media .patch { left: 0.75rem; }
}

/* ---------- Area ---------- */

.area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.area img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid var(--ink);
}
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.towns li {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  font-variation-settings: "wdth" 112;
}
.area p { margin-top: 1rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; }
@media (max-width: 880px) { .area { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
  color: var(--spot-step, var(--cleaning));
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.5rem; }
.steps p { margin-top: 0.5rem; color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 50rem; }
.faq details {
  border-bottom: 2px solid var(--ink);
}
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 1.15rem;
  font-variation-settings: "wdth" 106;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 220ms var(--ease-out);
}
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 42rem; }

/* ---------- Quote form ---------- */

.quote {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.quote .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.quote h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.quote h2 em { font-style: normal; color: var(--hauling); }
.quote__side p { margin-top: 1.1rem; color: #d9ccb2; font-size: 1.12rem; max-width: 28rem; }
.quote__email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  font-weight: 800;
  font-variation-settings: "wdth" 108;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--hauling);
  word-break: break-all;
}
.quote__email svg { width: 1.3rem; height: 1.3rem; flex: none; }
.quote .tags li { background: transparent; border-color: rgba(251, 246, 236, 0.4); color: var(--cream); }
.quote .tags svg { color: var(--hauling); }

.form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--cream);
  color: var(--ink);
  border-radius: 24px;
}
.form::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dashed var(--tan);
  border-radius: 17px;
  pointer-events: none;
}
.field { display: grid; gap: 0.4rem; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 0.95rem; font-variation-settings: "wdth" 108; }
.field label small { font-weight: 500; color: #6b5c45; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  caret-color: var(--rentals);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121a2b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: #7a6a52; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(246, 197, 68, 0.75);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.field .err { display: none; color: #9d1f18; font-size: 0.88rem; font-weight: 700; }
.field input:user-invalid ~ .err, .field select:user-invalid ~ .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.form__note { font-size: 0.9rem; color: #5f513c; max-width: 22rem; }
.form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form__status {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  font-weight: 700;
}
.form__status.is-shown { display: block; }
.form__status.is-ok { background: #e6f2dc; color: #1f4a12; }
.form__status.is-err { background: #fbe3df; color: #8a1d16; }
.form__status a { color: inherit; }

@media (max-width: 880px) {
  .quote .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- Service page hero: the company's spot colour floods the band ---------- */

.page-hero {
  background: var(--spot);
  color: var(--on-spot);
  border-bottom: 3px solid var(--ink);
  padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.page-hero__brand { display: block; margin-bottom: 1.1rem; }
.page-hero__lede { margin-top: 1.25rem; max-width: 36rem; font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.page-hero .hero__actions { margin-top: 2rem; }
.page-hero .patch { max-width: 21rem; justify-self: center; --tilt: 4deg; }
.page-hero .patch .patch__bar { font-size: clamp(0.85rem, 1.6vw, 1.15rem); }
@media (max-width: 880px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .patch { max-width: 14rem; justify-self: start; order: -1; }
}

/* ---------- Service page body ---------- */

.included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.included > div { border-top: 3px solid var(--ink); padding-top: 1.4rem; }
.included h3 { font-size: 1.6rem; }
.included > div > p { margin-top: 0.6rem; color: var(--ink-soft); }
.included .ticks { margin-top: 1.1rem; font-size: 0.98rem; }
@media (max-width: 880px) { .included { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid var(--ink);
}
.split--tall img { aspect-ratio: 4 / 5; }
.split h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.split p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; max-width: 34rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.photo-pair {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
}
.photo-pair img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid var(--ink);
}
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }

.not-offered {
  margin-top: 2.5rem;
  padding: 1.25rem 1.4rem;
  border: 2px dashed var(--ink);
  border-radius: 16px;
  max-width: 46rem;
  color: var(--ink-soft);
}
.not-offered b { color: var(--ink); }

.family {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 44rem;
}
.family .patch:nth-child(1) { --tilt: -3deg; }
.family .patch:nth-child(2) { --tilt: 2deg; }
.family .patch:nth-child(3) { --tilt: -2deg; }
.family .patch__bar { font-size: clamp(0.62rem, 1.3vw, 0.9rem); }

.realty-card {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--canvas-deep);
  border-top: 3px solid var(--ink);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.98rem;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
.site-footer img { width: 6.5rem; height: 6.5rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--tan-deep);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer__brand p { margin-top: 1rem; max-width: 22rem; color: var(--ink-soft); }
.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(18, 26, 43, 0.25);
  font-size: 0.86rem;
  color: #5f513c;
}
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Not found ---------- */

.lost { min-height: 60vh; display: grid; align-items: center; }
.lost h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.lost p { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 32rem; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board .patch, .page-hero .patch { animation: fade-in 200ms ease both; animation-delay: 0ms; }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  .btn, .patch, .link-arrow svg, .faq summary svg { transition: none; }
  a.patch:hover { transform: rotate(var(--tilt)); }
}

.family-wrap { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.section .family-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.75rem; }

/* ---------- Brokerage disclosure + Equal Housing ---------- */

.eho { width: 2.4rem; height: 2.4rem; flex: none; color: var(--ink); }
.broker-strip { background: var(--cream); border-bottom: 2px solid var(--ink); padding: 1.1rem 0; }
.broker-strip .wrap { display: flex; align-items: center; gap: 1rem; }
.broker-strip p { font-size: 0.98rem; color: var(--ink-soft); max-width: 60rem; }
.broker-strip b { color: var(--ink); }
.footer__broker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px dashed rgba(18, 26, 43, 0.25);
}
.footer__broker p { font-size: 0.9rem; color: var(--ink-soft); max-width: 52rem; }
.footer__broker + .footer__legal { border-top: 0; padding-top: 0; }
.footer__links { display: flex; gap: 1.25rem; }
.footer__links a { font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Legal pages (Read mode: a calm column) ---------- */

.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal__meta { margin-top: 0.75rem; font-weight: 700; color: var(--tan-deep); }
.legal__intro { margin-top: 1.5rem; font-size: 1.15rem; color: var(--ink-soft); }
.legal h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}
.legal p, .legal li { color: var(--ink-soft); max-width: 68ch; }
.legal p + p { margin-top: 0.85rem; }
.legal ul { margin: 0.75rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.45rem; }
.legal li::marker { color: var(--tan-deep); }
.legal b { color: var(--ink); }
.legal a { font-weight: 600; }
.legal ul + p { margin-top: 0.95rem; }
