:root { --gold: var(--b-gold, #E9CD7E); }
/* ==========================================================================
   10. DIRECTION A — "GALLERY"
   Borrows from Sotheby's International Realty: ivory and ink, refined serif
   display, letter-spaced small caps, hairline dividers, one idea per section.
   Champagne is decorative only (2.4:1 on ivory): hairlines, never text.
   ========================================================================== */

:root {
  --header-h: 84px;
  --radius: 0;
  --radius-lg: 0;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
  --tracking-display: -0.01em;
  --label-tracking: 0.22em;
}

body { background: var(--surface); }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: var(--tracking-display); }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
h1 em, h2 em { font-style: italic; }

a { color: var(--ink); text-decoration-color: var(--champagne); text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px;
}

/* Small caps label */
.eyebrow, .label {
  font-family: var(--font-body); font-weight: 500; font-size: .74rem;
  letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--ink-muted);
}
.rule { width: 3.5rem; height: 1px; background: var(--champagne); border: 0; margin: var(--space-6) 0; }
.rule--center { margin-inline: auto; }

/* ---- Buttons: rectangular, small caps, no shadow ------------------------ */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--surface);
  border-radius: 0; box-shadow: none; min-height: 52px;
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg);
}
.btn:hover { --btn-bg: var(--anchor-700); color: var(--btn-fg); }
.btn--secondary, .btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--secondary:hover, .btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--surface); }
.btn--lg { min-height: 58px; font-size: .8rem; }

/* ---- Logo: a wordmark, nothing else ------------------------------------- */
.logo { text-decoration: none; color: var(--ink); gap: 0; }
.logo::before { display: none; }
.logo__text { gap: 4px; }
.logo__name {
  font-family: var(--font-display); font-weight: 500; font-size: 1.65rem;
  letter-spacing: .05em; color: inherit;
}
.logo__sub {
  font-size: .72rem; font-weight: 500; letter-spacing: .3em; color: #B9962E;
}
.logo__name { font-size: 1.85rem; }
.footer .logo__name { color: var(--on-anchor); font-size: 1.5rem; }
.footer .logo__sub { color: color-mix(in srgb, var(--on-anchor) 70%, transparent); }

/* ---- Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--border);
}
.header[data-scrolled] { box-shadow: none; }
.nav__link {
  font-family: var(--font-body); font-weight: 500; font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid transparent; text-decoration: none;
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--champagne); }
.nav__link[aria-current="page"] { border-bottom-color: var(--ink); }
.header .btn { min-height: 44px; padding: var(--space-2) var(--space-5); font-size: .72rem; }
.header .btn { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.header .btn:hover { --btn-bg: var(--ink); --btn-fg: var(--surface); }

/* Homepage: header floats over the full-bleed hero */
.is-home .header {
  position: absolute; inset: 0 0 auto; background: transparent; border-bottom-color: transparent;
  backdrop-filter: none;
}
.is-home .header .logo, .is-home .header .nav__link { color: var(--on-anchor); }
.is-home .header .logo__sub { color: var(--gold); }
.is-home .header .btn { --btn-fg: var(--on-anchor); border-color: color-mix(in srgb, var(--on-anchor) 55%, transparent); }
.is-home .header .btn:hover { --btn-bg: var(--on-anchor); --btn-fg: var(--ink); }
.is-home .nav-toggle { color: var(--on-anchor); }
.has-preview-bar.is-home .header { top: 30px; }

.mobile-menu { background: var(--surface); }
.mobile-menu__link {
  font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; color: var(--ink);
}

/* ---- Gallery hero (homepage) -------------------------------------------- */
.g-hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; color: var(--on-anchor); overflow: hidden;
  padding: calc(var(--header-h) + var(--space-6)) var(--gutter) var(--space-9);
}
.g-hero__photo { position: absolute; inset: 0; z-index: 0; }
.g-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* Until the photography exists the slot renders as a tonal field: Arizona
   light on dusk, never a stock photo. */
.g-hero__photo--slot {
  background: radial-gradient(120% 80% at 70% 30%, #C9A27A 0%, #8C6A55 35%, #3A3440 75%, var(--ink) 100%);
}
.g-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgb(27 31 42 / .58) 0%, rgb(27 31 42 / .38) 40%, rgb(27 31 42 / .74) 100%);
}
.g-hero__copy { position: relative; z-index: 2; max-width: 48rem; }
.g-hero .eyebrow { color: var(--on-anchor); opacity: .9; }
.g-hero__eyebrow {
  font-size: clamp(.9rem, .7rem + .8vw, 1.15rem); letter-spacing: .28em; color: var(--gold); opacity: 1;
  text-shadow: 0 1px 12px rgb(27 31 42 / .5);
}
.g-hero .rule { background: var(--champagne); }
.g-hero h1 { color: var(--on-anchor); font-weight: 400; font-size: clamp(3rem, 1.6rem + 5.4vw, 6.2rem); max-width: none; text-shadow: 0 2px 24px rgb(27 31 42 / .45); }
.g-hero .lede { color: color-mix(in srgb, var(--on-anchor) 92%, transparent); max-width: 38rem; margin-inline: auto; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); text-shadow: 0 1px 12px rgb(27 31 42 / .5); }
.g-hero .lede strong { font-weight: 500; color: var(--gold); }
.g-hero__free {
  margin: var(--space-6) auto 0; max-width: none;
  font-family: var(--font-display); font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4rem); line-height: 1.1; letter-spacing: .02em;
  color: var(--gold); text-shadow: 0 2px 20px rgb(27 31 42 / .5);
}
.g-hero__free em { font-style: italic; color: #FFFDF9; }
.g-hero .cluster { justify-content: center; margin-top: var(--space-6); gap: var(--space-4); }
.g-hero .btn { --btn-bg: var(--on-anchor); --btn-fg: var(--ink); border-color: var(--on-anchor); }
.g-hero .btn:hover { --btn-bg: var(--champagne); border-color: var(--champagne); }
.g-hero .btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-anchor); border-color: color-mix(in srgb, var(--on-anchor) 60%, transparent); }
.g-hero .btn--ghost:hover { --btn-bg: var(--on-anchor); --btn-fg: var(--ink); }
.g-hero__credit {
  position: absolute; right: var(--space-4); bottom: var(--space-4); z-index: 2;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin: 0;
}

/* Hairline strip under the hero */
.g-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) clamp(1rem, 5vw, 4rem);
  padding: var(--space-5) var(--gutter); border-bottom: 1px solid var(--champagne);
}
.g-strip span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }

/* ---- Sections ------------------------------------------------------------ */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: var(--surface-2); }
.section--head { padding-block: clamp(3.5rem, 8vw, 6rem) var(--space-7); border-bottom: 1px solid var(--border); }
.section--head h1 { font-weight: 400; }
.section--head .eyebrow::after {
  content: ""; display: block; width: 3rem; height: 1px; background: var(--champagne); margin-top: var(--space-4);
}
.section--anchor, .section--pro { background: var(--ink); color: var(--on-anchor); }
.section__head h2 { font-weight: 400; }
.g-center { text-align: center; }
.g-center > * { margin-inline: auto; }

/* Cards, panels, callouts: flat, hairline, no radius */
.card, .panel {
  background: transparent; border: 0; border-top: 1px solid var(--ink);
  border-radius: 0; box-shadow: none; padding: var(--space-6) 0 0;
}
.card__body { padding: 0; }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.card__title a { text-decoration: none; }
.card--link:hover .card__title a { color: var(--accent); }
.panel--accent, .panel--ok, .panel--warn { border-left: 0; }
.section--pro .panel { border-top-color: var(--champagne); background: transparent; }
.callout { background: var(--surface-2); border-left: 1px solid var(--ink); border-radius: 0; }
.callout--accent { background: var(--surface-2); border-left-color: var(--accent); }
.callout--legal { border: 1px solid var(--ink); }

.numbered li::before { background: transparent; border: 1px solid var(--ink); color: var(--ink); font-weight: 500; }
.ticks li::before { border-color: var(--ink); }
.step__num { color: var(--ink); font-style: italic; }
.table thead th { background: transparent; border-bottom: 1px solid var(--ink); font-weight: 500; }
.pull { background: var(--surface-2); color: var(--ink); border-left: 1px solid var(--champagne); border-radius: 0; font-weight: 400; font-style: italic; }

/* Retired from the baseline: the red/black graphic bands and stat bars */
.band { background: var(--ink); }
.band::after { display: none; }
.band__media { display: none; }
.trustbar { display: none; }

/* Photo slots used across pages until the shoot */
.g-slot {
  position: relative; aspect-ratio: 4 / 5; background:
    linear-gradient(180deg, transparent 55%, rgb(27 31 42 / .35) 100%),
    radial-gradient(90% 70% at 40% 35%, #D9C2A2 0%, #B08A66 45%, #6E5444 100%);
}
.g-slot--wide { aspect-ratio: 3 / 2; }
.g-slot span {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-anchor); opacity: .85;
}

/* Photographs */
.g-figure { margin: 0; overflow: hidden; background: var(--surface-2); }
.g-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g-figure--portrait { aspect-ratio: 4 / 5; }
.g-figure--band { aspect-ratio: 21 / 9; max-height: 34rem; width: 100%; }
@media (max-width: 700px) { .g-figure--band { aspect-ratio: 3 / 2; } }

/* Forms */
.input, .select, .textarea {
  border-radius: 0; border: 1px solid var(--border); background: #FFFDF9; min-height: 52px;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); }
label { font-weight: 500; }
.field__hint { font-size: var(--step--1); color: var(--ink-muted); }
.warning-note {
  border-left: 2px solid var(--accent); padding: var(--space-2) var(--space-4);
  font-size: var(--step--1); color: var(--ink); background: var(--accent-tint);
}
.form .is-stepped .step[hidden] { display: none; }
.steps__progress { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--space-2) var(--space-5); }
.check-grid label { display: flex; gap: var(--space-2); align-items: flex-start; font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: var(--space-4); }

/* Footer */
.footer { background: var(--ink); color: var(--on-anchor); }
.footer h2 { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); }
.footer a { color: var(--on-anchor); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--champagne); }
.footer__bottom { border-top: 1px solid color-mix(in srgb, var(--on-anchor) 18%, transparent); }

/* Preview banner (removed in production builds) */
.preview-bar {
  background: var(--ink); color: var(--on-anchor); text-align: center;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: .45rem 1rem; line-height: 1.4;
}

/* Callbar on phones */
.callbar { background: var(--ink); }
.callbar a { border-radius: 0; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }

/* Motion: slow fade/rise below the fold only */
@media (prefers-reduced-motion: no-preference) {
  .g-hero__copy { animation: g-rise 1.4s cubic-bezier(.2,0,0,1) both; }
}
@keyframes g-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Fixes from the visual pass */
.callbar a { color: var(--on-anchor); }
.callbar a.is-primary { background: var(--accent); color: var(--on-accent); }
.is-home .nav-toggle { border-color: color-mix(in srgb, var(--on-anchor) 55%, transparent); background: transparent; }
.is-home .nav-toggle__bar,
.is-home .nav-toggle__bar::before,
.is-home .nav-toggle__bar::after { background: var(--on-anchor); }
.is-home .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr)); }
main :where(p, li, td) a:not(.btn) { text-decoration-line: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.footer__bottom a { text-decoration: underline; text-decoration-color: var(--champagne); }

@media (max-width: 520px) { .logo__sub { font-size: .62rem; letter-spacing: .26em; } }
@media (min-width: 900px) and (max-width: 1220px) { .logo__sub { display: block; } }

/* Heaven Sent direction: an open, human editorial welcome rather than a dark
   full-bleed campaign image. The existing Gallery system carries every
   interior page; these rules deliberately scope the new first impression. */
.is-home .header { position: sticky; background: var(--surface); border-bottom-color: var(--border); }
.is-home .header .logo, .is-home .header .nav__link { color: var(--ink); }
.is-home .header .logo__sub { color: var(--champagne); }
.is-home .header .btn--call { --btn-bg: var(--accent); --btn-fg: var(--on-accent); border-color: var(--accent); min-height: 52px; padding-inline: var(--space-6); }
.is-home .header .btn--call:hover { --btn-bg: var(--accent-700); --btn-fg: var(--on-accent); border-color: var(--accent-700); }
.is-home .nav-toggle { color: var(--ink); }
.logo__sub { color:var(--champagne); font-weight:700; letter-spacing:.34em; }
.hs-hero .eyebrow { display:flex; align-items:center; flex-wrap:nowrap; white-space:nowrap; font-size:clamp(.9rem,.72rem + .55vw,1.18rem); font-weight:700; letter-spacing:.22em; }
.hs-feedback { border-top:1px solid var(--border); }
@media (max-width:520px) { .header__utility { font-size:.56rem; letter-spacing:.1em; } .header__utility .container { min-height:29px; } }
.hs-hero { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); background:var(--surface); min-height:clamp(39rem,calc(100svh - var(--header-h)),48rem); }
.hs-hero__copy { align-self:center; padding:clamp(4rem,8vw,8.5rem) clamp(1.25rem,2.5vw,3rem) clamp(4rem,8vw,8.5rem) max(var(--gutter),7vw); }
.hs-hero .eyebrow { color:var(--accent); }
.hs-hero .eyebrow::before { content:""; display:inline-block; vertical-align:middle; width:2.75rem; height:1px; background:var(--champagne); margin:0 .75rem .2rem 0; }
.hs-hero h1 { max-width:11ch; margin:var(--space-5) 0; font-size:clamp(3.5rem,2.15rem + 4.2vw,6.3rem); line-height:.93; letter-spacing:-.06em; }
.hs-hero h1 em { color:var(--accent); }
.hs-hero .lede { max-width:35rem; color:var(--ink-muted); font-size:clamp(1.05rem,.95rem + .35vw,1.3rem); }
.hs-hero__location { margin-top:var(--space-4); color:var(--ink-muted); font-size:.74rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.hs-hero .cluster { align-items:center; margin-top:var(--space-7); }
.hs-hero__phone { border-bottom:1px solid var(--ink); color:var(--ink); font-weight:600; padding-bottom:.3rem; text-decoration:none; }
.hs-hero__image { margin:0; min-height:100%; overflow:hidden; position:relative; }
.hs-hero__image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgb(35 25 19 / .02),rgb(35 25 19 / .26)); pointer-events:none; }
.hs-hero__image img { width:100%; height:100%; min-height:100%; object-fit:cover; object-position:100% center; display:block; }
.hs-hero__image figcaption { position:absolute; z-index:1; left:clamp(1.5rem,3vw,3rem); bottom:clamp(1.5rem,3vw,3rem); color:#fffaf2; max-width:13ch; font-family:var(--font-display); font-size:clamp(1.45rem,1.1rem + 1vw,2.1rem); font-style:italic; line-height:1.05; }
@media (max-width: 760px) { .hs-hero { grid-template-columns:1fr; } .hs-hero__copy { padding:clamp(4.5rem,14vw,6rem) var(--gutter); } .hs-hero h1 { max-width:12ch; } .hs-hero__image { min-height:27rem; } .hs-hero__image img { min-height:27rem; object-position:65% center; } .hs-hero .eyebrow { font-size:.72rem; letter-spacing:.13em; } .hs-hero .eyebrow::before { width:2rem; margin-right:.55rem; } }

/* A visible number wins the urgent-care moment. The entire block is still a
   normal tel: link, so a tap calls on a phone and a desktop opens its dialler. */
.header .btn--call, .is-home .header .btn--call { --btn-bg:transparent; --btn-fg:var(--ink); display:flex; min-width:10.4rem; min-height:66px; flex-direction:column; align-items:center; justify-content:center; gap:4px; line-height:1; padding:8px 14px; border:0; text-align:center; }
.header .btn--call:hover, .is-home .header .btn--call:hover { --btn-bg:transparent; --btn-fg:var(--ink); border-color:transparent; }
.header .btn--call span { color:var(--ink-muted); font-size:.66rem; letter-spacing:.19em; text-transform:uppercase; }
.header .btn--call strong { color:var(--accent); font-size:1.08rem; font-weight:700; letter-spacing:.035em; white-space:nowrap; }

/* Phone is the primary conversion path. Every rendered phone number gets the
   brand red treatment; dark panels use a brighter red for legibility. */
a[href^="tel:"] { color:var(--accent); font-weight:700; }
.section--pro a[href^="tel:"], .footer a[href^="tel:"] { color:#F0787D; }
