/* Hillrose Property Services v2: shared styles. Design plan: _work/design-plan.md */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-var.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albertsans-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so nothing jumps when the web fonts arrive */
/* Measured with fontTools (2026-10-01): Newsreader at opsz 72 / wght 440 against Georgia, Albert Sans against Arial */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 103.1%; ascent-override: 71.3%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: "Newsreader Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 91.2%; ascent-override: 80.6%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Albert Fallback"; src: local("Arial"); size-adjust: 103.7%; ascent-override: 91.6%; descent-override: 24.1%; line-gap-override: 0%; }

:root {
  --ink: #16233A;
  --ink-2: #203252;
  --ink-3: #2B3F63;
  --honey: #C9A465;
  --honey-deep: #7A5A22;
  --lime: #EDEEE9;
  --lime-2: #E2E4DC;
  --paper: #F6F6F2;
  --lichen: #8F9A83;
  --lichen-deep: #46523F;
  --claret: #8C2230;
  --claret-2: #731A26;
  --soft: #4B5568;
  --line-dark: rgba(22, 35, 58, .16);
  --line-light: rgba(237, 238, 233, .2);

  --corner: 32px;
  --r: 0 var(--corner) 0 0;
  --pill: 999px;

  --display: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --body: "Albert Sans", "Albert Fallback", Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 76px);
  --maxw: 1560px;
  --sec: clamp(80px, 9.5vw, 156px);
  --media-cap: min(76vh, 760px);
  --header-h: 96px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--lime); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 440; font-variation-settings: "opsz" 72; letter-spacing: -.012em; line-height: 1.06; }
h1 em, h2 em, h3 em, .foot-cta__big em, .display em { font-style: italic; font-weight: 400; color: var(--honey-deep); }
.on-ink h1 em, .on-ink h2 em, .on-ink h3 em, .sec--ink h2 em, .sec--ink h3 em, .foot-cta__big em { color: var(--honey); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }
::selection { background: var(--honey); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--claret); color: #fff; padding: 12px 18px; border-radius: var(--pill); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); position: relative; overflow-x: clip; }
.sec--ink, .on-ink { background: var(--ink); color: var(--lime); }
.sec--paper { background: var(--paper); }
.sec--lime2 { background: var(--lime-2); }

/* Type scale */
.display { font-size: clamp(3rem, 6vw, 6.4rem); line-height: 1; font-weight: 420; letter-spacing: -.02em; }
.h2 { font-size: clamp(2rem, 3.5vw, 3.9rem); }
.h3 { font-size: clamp(1.4rem, 1.8vw, 2rem); line-height: 1.12; }
.lede { font-size: clamp(1.08rem, 1.2vw, 1.22rem); line-height: 1.6; }
.label { font-family: var(--body); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.fig { font-family: var(--display); font-variant-numeric: lining-nums; font-weight: 400; }
.muted { color: var(--soft); }
.on-ink .muted, .sec--ink .muted { color: rgba(237, 238, 233, .76); }
.prose p { max-width: 120ch; }
.prose a { color: var(--honey-deep); font-weight: 600; }

/* Buttons: pill (this client's buttons pick) */
.btn {
  --bg: var(--ink); --fg: var(--lime); --bd: var(--ink);
  display: inline-flex; align-items: center; gap: .7em; min-height: 54px; padding: 0 1.65em;
  border-radius: var(--pill); border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn .i-arrow { width: 20px; height: 12px; transition: transform .4s var(--ease); }
.btn .i-phone { width: 20px; height: 20px; }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn--claret { --bg: var(--claret); --bd: var(--claret); --fg: #fff; }
.btn--claret:hover { --bg: var(--claret-2); --bd: var(--claret-2); }
.btn--ghost { --bg: transparent; --fg: var(--lime); --bd: rgba(237, 238, 233, .55); }
.btn--ghost:hover { --bg: var(--lime); --fg: var(--ink); --bd: var(--lime); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: var(--lime); }
.btn--sm { min-height: 46px; padding: 0 1.35em; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.circle-btn { width: 54px; height: 54px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid currentColor; background: transparent; cursor: pointer; transition: background-color .3s, color .3s; }
.circle-btn svg { width: 20px; height: 12px; }
.circle-btn:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.sec--ink .circle-btn:hover, .on-ink .circle-btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; text-decoration: none; color: var(--honey-deep); }
.text-link .i-arrow { width: 20px; height: 12px; transition: transform .4s var(--ease); }
.text-link:hover .i-arrow { transform: translateX(4px); }
.sec--ink .text-link, .on-ink .text-link { color: var(--honey); }

/* A honey rule that draws itself across */
.rule { display: block; height: 1px; width: 100%; background: var(--honey); transform-origin: 0 50%; }

/* Framed media: one rounded corner (top right), media height from the viewport */
.frame { position: relative; overflow: clip; border-radius: var(--r); background: var(--ink-2); isolation: isolate; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame__cap { position: absolute; left: 0; bottom: 0; z-index: 3; margin: 0; padding: .7em 1.1em; background: var(--ink); color: var(--lime); font-size: .95rem; font-weight: 500; line-height: 1.35; }

/* The signature: the drawing over the photo, wiped away through an ink-bleed edge (main.js, data-ink) */
.ink { position: relative; display: block; width: 100%; height: 100%; overflow: clip; }
.ink img { width: 100%; height: 100%; object-fit: cover; }
.ink__draw { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: url("../img/ink-edge.png"); mask-image: url("../img/ink-edge.png");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: calc(var(--ink, .2) * 100%) 0; mask-position: calc(var(--ink, .2) * 100%) 0; }
/* Tilt cards: a soft light where the pointer rests */
[data-tilt] { position: relative; transform-style: preserve-3d; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 244, 220, .22), transparent 45%); }
[data-tilt]:hover::after { opacity: 1; }
html.no-js .ink__draw, html.rm .ink__draw, html.no-motion .ink__draw { display: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 90; color: var(--lime); background: var(--ink); transition: background-color .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease); }
.site-header.is-solid { background: rgba(22, 35, 58, .97); box-shadow: 0 1px 0 rgba(237, 238, 233, .08); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter); min-height: var(--header-h); transition: min-height .45s var(--ease), padding .45s var(--ease); }
.brand { flex: none; display: block; position: relative; }
.brand img { height: 66px; width: auto; transition: height .45s var(--ease), opacity .45s var(--ease); }
.brand__dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.site-header.is-solid .site-header__inner { min-height: 76px; padding-block: 10px; }
.site-header.is-solid .brand img { height: 52px; }
.site-header--light:not(.is-solid) { color: var(--ink); background: var(--lime); }
.site-header--light:not(.is-solid) .brand__light { opacity: 0; }
.site-header--light:not(.is-solid) .brand__dark { opacity: 1; }
.nav__list { display: flex; align-items: center; gap: clamp(2px, .7vw, 12px); }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px; background: none; border: 0; cursor: pointer; font-weight: 500; font-size: 1rem; text-decoration: none; color: inherit; }
.nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 1px; background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__link:hover::after, .nav__link.is-current::after, .nav__drop-btn[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__chev { width: 11px; height: 8px; transition: transform .35s var(--ease); }
.nav__drop-btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; padding: 12px 8px; text-decoration: none; font-weight: 600; font-variant-numeric: lining-nums; white-space: nowrap; }
.nav__phone .i-phone { width: 18px; height: 18px; color: var(--honey); }
.site-header--light:not(.is-solid) .nav__phone .i-phone { color: var(--honey-deep); }
.nav__item--cta { margin-left: 6px; }

/* Dropdowns: a small sheet of paper under the link */
.nav__item--drop { position: relative; }
.drop { position: absolute; left: -10px; top: calc(100% + 4px); min-width: 330px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.drop.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
.drop__list { display: grid; background: var(--paper); color: var(--ink); padding: 10px; border-radius: var(--r); box-shadow: 0 30px 60px rgba(10, 17, 30, .3); }
.drop__link { display: grid; gap: 2px; padding: 12px 14px; text-decoration: none; border-radius: var(--r); transition: background-color .3s; }
.drop__link strong { font-family: var(--display); font-weight: 460; font-size: 1.18rem; line-height: 1.2; }
.drop__link span { font-size: .92rem; color: var(--soft); line-height: 1.4; }
.drop__link:hover { background: var(--lime-2); }
.drop__link:hover strong { color: var(--honey-deep); }

/* Burger and mobile menu */
.burger { display: none; align-items: center; gap: 10px; background: none; border: 1.5px solid currentColor; border-radius: var(--pill); color: inherit; padding: 0 18px; min-height: 48px; cursor: pointer; font-weight: 600; }
.burger__lines { position: relative; width: 20px; height: 12px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 10px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 5px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--lime); overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), visibility 0s .7s; }
.mmenu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease), visibility 0s; }
.mmenu__inner { padding: 112px var(--gutter) 48px; display: grid; gap: 6px; }
.mmenu__h { margin: 16px 0 2px; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey); }
.mmenu__list { display: grid; }
.mmenu__list a { display: flex; align-items: center; min-height: 48px; font-family: var(--display); font-size: 1.45rem; text-decoration: none; }
.mmenu__list--top { margin-top: 10px; }
.mmenu__cta { justify-self: start; margin-top: 22px; }
.mmenu__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 48px; font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.mmenu__phone .i-phone { width: 20px; height: 20px; color: var(--honey); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header { background: var(--ink); color: var(--lime); }
html.menu-open .site-header .brand__light { opacity: 1; }
html.menu-open .site-header .brand__dark { opacity: 0; }

@media (max-width: 1380px) { .nav__item--phone { display: none; } }
@media (max-width: 1320px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --header-h: 80px; }
  .brand img { height: 50px; }
  .site-header.is-solid .brand img { height: 44px; }
  .site-header.is-solid .site-header__inner { min-height: 68px; }
  .burger__label { display: none; }
  .burger { padding: 0 14px; }
}

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-size: .95rem; color: var(--soft); }
.on-ink .crumbs { color: rgba(237, 238, 233, .76); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--honey-deep); }
.on-ink .crumbs span[aria-hidden] { color: var(--honey); }

/* Holding pages: a wide image strip (the drawing washes into the photo), then the title on limewash beneath */
.hopen { padding-top: var(--header-h); background: var(--ink); }
.hopen__strip { position: relative; height: clamp(220px, 32svh, 360px); overflow: clip; }
.hopen__strip .ink, .hopen__strip > img { height: 100%; }
.hopen__band { background: var(--lime); }
.hopen__row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 22px; padding-block: clamp(30px, 3.6vw, 52px) clamp(30px, 3.6vw, 48px); }
.hopen h1 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); line-height: 1.02; }
.hopen__line { margin: 14px 0 0; font-size: clamp(1.05rem, 1.2vw, 1.2rem); color: var(--soft); max-width: 120ch; }
.hopen__row .btns { justify-content: flex-start; }
@media (max-width: 860px) { .hopen__row { grid-template-columns: 1fr; } .hopen__row .btns { justify-content: flex-start; } }

.hold__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.hold__note .h2 { margin-bottom: 24px; }
.hold__note ul { display: grid; gap: 10px; margin-top: 24px; }
.hold__note li { position: relative; padding-left: 30px; }
.hold__note li::before { content: ""; position: absolute; left: 0; top: .8em; width: 18px; height: 1px; background: var(--honey-deep); }
.hold__pic .frame { height: min(var(--media-cap), 600px); }
.hold__links-h { margin: clamp(64px, 8vw, 110px) 0 26px; }
.hold__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hold-card { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; background: var(--paper); border-radius: var(--r); overflow: clip; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.hold-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(22, 35, 58, .14); }
.hold-card__img { aspect-ratio: 4 / 3; overflow: clip; }
.hold-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hold-card__txt { display: grid; gap: 6px; padding: 18px 20px 22px; }
.hold-card__txt strong { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--display); font-weight: 460; font-size: 1.32rem; line-height: 1.2; }
.hold-card__txt strong .i-arrow { width: 20px; color: var(--honey-deep); flex: none; }
.hold-card__txt span { color: var(--soft); font-size: .98rem; line-height: 1.45; }
@media (max-width: 1100px) { .hold__links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .hold__grid { grid-template-columns: 1fr; } .hold__pic .frame { height: min(70vh, 460px); } }
@media (max-width: 520px) { .hold__links { grid-template-columns: 1fr; } }

/* Reviews (shared) */
.reviews { position: relative; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.reviews__head .h2 { flex: 1 1 520px; }
.reviews__ctrl { display: flex; gap: 10px; }
.reviews__intro { margin: -12px 0 clamp(28px, 3vw, 44px); }
.reviews > .wrap, .reviews > .reviews__viewport { position: relative; z-index: 1; }
.reviews__bg { position: absolute; top: 0; bottom: 0; left: 0; width: 48%; overflow: clip; pointer-events: none; mix-blend-mode: multiply; opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.reviews__bg-img { position: absolute; inset: -8% 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.sec--ink .reviews__bg, .pg-adapt .reviews__bg { display: none; }
.reviews__viewport { overflow: clip; cursor: grab; touch-action: pan-y; }
.reviews__viewport:active { cursor: grabbing; }
.reviews__track { display: flex; gap: 22px; width: max-content; }
.review { flex: none; width: clamp(290px, 32vw, 500px); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 34px 34px 28px; background: var(--paper); color: var(--ink); border-radius: var(--r); user-select: none; }
.sec--ink .review { background: var(--ink-2); color: var(--lime); }
.review__mark { width: 34px; height: 26px; color: var(--honey); }
.review__text { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 1.35vw, 1.38rem); line-height: 1.45; font-weight: 400; }
.review__who { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.sec--ink .review__who { border-color: var(--line-light); }
.review__who strong { font-weight: 600; white-space: nowrap; }
.review__who span { color: var(--soft); }
.sec--ink .review__who span { color: rgba(237, 238, 233, .72); }
.reviews__progress { position: relative; height: 1px; margin-top: 32px; background: var(--line-dark); }
.sec--ink .reviews__progress { background: var(--line-light); }
.reviews__bar { position: absolute; inset: -1px auto -1px 0; width: 100%; background: var(--honey); transform-origin: left; transform: scaleX(.1); }

/* Accordion (shared) */
.acc { border-top: 1px solid var(--line-dark); }
.acc__item { border-bottom: 1px solid var(--line-dark); }
.acc__btn { --acc-pad: 24px; position: relative; display: block; width: 100%; padding: var(--acc-pad) 68px var(--acc-pad) 0; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--display); font-weight: 460; font-size: clamp(1.2rem, 1.5vw, 1.5rem); line-height: 1.25; }
.acc__icon { position: absolute; right: 0; top: calc(var(--acc-pad) + (1.25em - 44px) / 2); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc__btn:hover { color: var(--honey-deep); }
.acc__panel { overflow: hidden; }
.acc__panel[hidden] { display: block; height: 0; }
.no-js .acc__panel[hidden], .rm .acc__panel[hidden] { height: auto; }
.acc__body { padding: 0 0 26px; max-width: 120ch; color: var(--soft); }

/* Forms (shared) */
.field { display: grid; gap: 8px; }
.field label, .field .field__label { font-weight: 600; font-size: .98rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 14px 18px; border: 1.5px solid rgba(22, 35, 58, .26); border-radius: var(--r); background: var(--paper); color: var(--ink); font: inherit; font-size: 1.02rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 6.5l6 6 6-6' fill='none' stroke='%2316233A' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 164, 101, .5); }
.field__hint { font-size: .95rem; color: var(--soft); }
.field__err { color: var(--claret); font-weight: 600; font-size: .95rem; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--claret); }

/* Closing call to action: copy on ink, the cottage in a tall frame */
.foot-cta { position: relative; overflow: clip; color: var(--lime); background: var(--ink); }
.foot-cta__media { height: min(66vh, 600px); overflow: clip; border-radius: var(--r); }
.foot-cta__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.foot-cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding-block: clamp(80px, 9vw, 150px); }
.foot-cta__big { margin: 0 0 22px; font-family: var(--display); font-weight: 420; font-variation-settings: "opsz" 72; letter-spacing: -.015em; font-size: clamp(2.3rem, 4.2vw, 4.4rem); line-height: 1.04; }
.foot-cta__line { margin: 0 0 32px; font-size: clamp(1.05rem, 1.15vw, 1.18rem); color: rgba(237, 238, 233, .82); }
.foot-cta__row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 900px) {
  .foot-cta__inner { grid-template-columns: 1fr; padding-block: 64px 80px; }
  .foot-cta__media { height: 46vh; }
}

/* Footer */
.site-footer { position: relative; z-index: 0; background: var(--ink); color: rgba(237, 238, 233, .86); }
.site-footer__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 76px 52px; border-top: 1px solid var(--line-light); }
.site-footer__contours { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: rgba(201, 164, 101, .16); pointer-events: none; }
.site-footer__logo img { height: 58px; width: auto; }
.site-footer__brand p { margin: 20px 0; max-width: 46ch; }
.site-footer__h { font-family: var(--body); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey); margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 2px; }
.site-footer__col a { display: inline-block; padding: 5px 0; text-decoration: none; }
.site-footer__col a:hover, .site-footer__legal a:hover, .credit a:hover { color: #fff; text-decoration: underline; }
.site-footer__phone { margin: 0 0 10px; }
.site-footer__phone a { font-family: var(--display); font-size: 1.9rem; color: var(--lime); font-variant-numeric: lining-nums; }
.site-footer__addr { margin: 0 0 14px; color: rgba(237, 238, 233, .72); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-light); transition: background-color .3s, border-color .3s, color .3s; }
.social a:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.site-footer__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding-block: 26px 32px; font-size: .95rem; color: rgba(237, 238, 233, .72); }
.rule--foot { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; width: auto; opacity: .7; }
.site-footer__base p { margin: 0; }
.site-footer__legal { display: flex; gap: 22px; }
.site-footer__legal a, .credit a { color: var(--lime); }
@media (max-width: 1000px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* Legal pages: a slim ink title band with honey contours */
.lband { position: relative; overflow: clip; background: var(--ink); color: var(--lime); padding: calc(var(--header-h) + 40px) 0 clamp(40px, 5vw, 64px); }
.lband__contours { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(201, 164, 101, .22); pointer-events: none; }
.lband .wrap { position: relative; z-index: 1; }
.lband h1 { font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.legal { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal__body h2 { font-size: clamp(1.4rem, 1.7vw, 1.8rem); margin: 2em 0 .7em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { max-width: 120ch; }
.legal__aside { position: sticky; top: 110px; }
.legal__aside .frame { height: min(60vh, 460px); }
.legal__aside p { margin-top: 18px; }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; } .legal__aside { position: static; } }

/* Reveal start states. Only when motion is on and scripts are running; no-JS and reduced motion show everything. */
html.js:not(.rm):not(.no-motion) [data-rise],
html.js:not(.rm):not(.no-motion) [data-rise-kids] > * { opacity: 0; transform: translateY(34px); }
html.js:not(.rm):not(.no-motion) [data-reveal] { clip-path: inset(0 0 100% 0); }
html.js:not(.rm):not(.no-motion) [data-rule] { transform: scaleX(0); }
html.js:not(.rm):not(.no-motion) [data-split]:not(.is-split) { visibility: hidden; }

/* Split heading line masks: padded so descenders and italic tails never clip, pulled back so layout does not move.
   Once split, the heading is a flex column so the masks' negative margins never collapse between lines. */
[data-split] { display: flow-root; }
[data-split].has-lines { display: flex; flex-direction: column; }
[data-split] .ln-mask { display: block; padding: .22em .15em .5em; margin: -.22em -.15em -.5em; overflow: clip; }
[data-split] .ln { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Short review lists, reduced motion and no JavaScript: a grid, everything visible */
.reviews--grid .reviews__viewport { cursor: auto; }
.reviews--grid .reviews__track,
html.no-js .reviews__track, html.rm .reviews__track, html.no-motion .reviews__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); width: auto; }
.reviews--grid .review,
html.no-js .review, html.rm .review, html.no-motion .review { width: auto; }
html.no-js .reviews__ctrl, html.rm .reviews__ctrl, html.no-motion .reviews__ctrl,
html.no-js .reviews__foot, html.rm .reviews__foot, html.no-motion .reviews__foot { display: none; }

/* Web fonts arriving: hold header and opener text back (at most 1.5 s, see header.php) so nothing jumps */
html.wf .site-header__inner, html.wf .hero__copy, html.wf .hopen__row, html.wf .opener__copy { visibility: hidden; }

/* Phones: every link and control is a comfortable tap target */
@media (max-width: 760px) {
  .crumbs a, .site-footer a, .text-link, .field__hint a, .legal__body a, .acc__body a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer__legal { flex-wrap: wrap; gap: 0 22px; }
}

/* Ambient: honey contour lines drift (footer, legal band, map) */
.drift-lines path { animation: contour 18s ease-in-out infinite alternate; }
.drift-lines path:nth-child(2) { animation-duration: 22s; animation-delay: -4s; }
.drift-lines path:nth-child(3) { animation-duration: 26s; animation-delay: -9s; }
.drift-lines path:nth-child(4) { animation-duration: 20s; animation-delay: -13s; }
@keyframes contour { from { transform: translateX(-30px); } to { transform: translateX(30px); } }

/* The drawn map (includes/map.php): homepage and contact page */
.map { width: 100%; height: auto; max-height: min(64vh, 560px); }
.map__contours { color: var(--lichen); opacity: .55; }
.map__river { stroke: var(--honey); stroke-width: 3; stroke-linecap: round; opacity: .9; }
.map__route { stroke: var(--claret); stroke-width: 2; stroke-dasharray: 6 7; }
.map__pin circle { fill: var(--claret); }
.map__pin--home circle:first-child { fill: var(--ink); }
.map__pulse { fill: none !important; stroke: var(--ink); stroke-width: 1.5; transform-origin: 0 0; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.map__label { font-family: var(--display); font-size: 22px; fill: var(--ink); }
.map__label--big { font-size: 30px; }
.map__region { font-family: var(--display); font-style: italic; font-size: 34px; fill: var(--lichen-deep); }
.map__river-label { font-family: var(--body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; fill: var(--honey-deep); }

/* A frame holding one of the architect's drawings: a sheet of limewash paper */
.frame--paper { background: var(--paper); box-shadow: 0 30px 60px -34px rgba(22, 35, 58, .3); }
.frame--paper img { object-fit: cover; }
