/* ==========================================================================
   Montclair Landscape & Estate Services
   Malibu, Pacific Palisades, Beverly Hills and the Conejo Valley

   TYPE, AND WHY. Read off their logo, per the house rule.
   Their wordmark is thin inscriptional Roman capitals, widely tracked, beside
   the M mark. Two voices:
     dominant     Roman capitals            -> display face: FORUM
                  (drawn on classical Roman proportions, has a lowercase,
                  and its strokes are even enough to hold on a phone. It is
                  not a didone: no hairlines.)
     subordinate  the wide-tracked second   -> small uppercase LABELS only,
                  line of the wordmark         set in the body sans
     one gesture  the leaf sweep of the     -> the italic beat in the hero
                  mark                         and the pulled quotes:
                                               LIBRE CASLON TEXT italic
   Body: ALBERT SANS. None of the three is used on another site in the family.

   PALETTE. Sampled from the mark, then taken down to hotel-quiet values.
     mark teal   #0A96A4  ->  --evergreen #0F2B2A (grounds), --teal #1D5A5E (links)
     mark fronds #D0DE34  ->  --champagne #C8B98A (accents on dark, rules)
   Warm ivory paper and green-black ink stay house.

   PHOTOGRAPHY. The demo runs on placeholder photography and a placeholder
   hero video (free-license stock, listed in data/placeholder/SOURCES.txt)
   until the client's own photographer and videographer deliver. Their
   original job photographs are 800x450; if any of those come back, keep
   them under about 640 CSS px wide. render_check.py fails a photograph shown
   larger than its pixels.
   ========================================================================== */

:root {
  --paper: #F7F3EB;
  --paper-2: #EFE9DD;
  --paper-3: #E6DECE;
  --ink: #18231F;
  --ink-2: #44504B;
  --ink-3: #565F5A;
  --line: #D9D0BF;
  --evergreen: #0F2B2A;
  --evergreen-2: #163836;
  --evergreen-3: #1F4744;
  --teal: #1D5A5E;
  --champagne: #C8B98A;
  --champagne-2: #DDD1AC;
  --ivory: #F4EFE4;
  --on-dark: rgba(244, 239, 228, .82);
  --on-dark-2: rgba(244, 239, 228, .66);
  --line-dark: rgba(200, 185, 138, .28);

  --display: "Forum", "Trajan Pro", "Times New Roman", serif;
  --italic: "Libre Caslon Text", "Baskerville", Georgia, serif;
  --body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --sect: clamp(4.5rem, 9vw, 8.5rem);
  --head-h: 88px;
  --tab-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--evergreen); }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .55em;
  color: var(--ink);
  letter-spacing: .005em;
}
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); }
h3 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 1.2rem; }
em, .beat { font-family: var(--italic); font-style: italic; }
h1 em, h2 em { font-size: .9em; letter-spacing: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.drawer :focus-visible, .tabbar :focus-visible, .mega :focus-visible, .hero :focus-visible {
  outline-color: var(--champagne);
}

.skip { position: absolute; left: -999px; top: 0; background: var(--ivory); color: var(--ink); padding: .8rem 1rem; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }
.nb { white-space: nowrap; }
.sb { display: block; }
@media (min-width: 861px) { .nb-wide { white-space: nowrap; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap-tight { max-width: calc(820px + var(--gut) * 2); }
section { padding: var(--sect) 0; }
.tint { background: var(--paper-2); }

/* ------------------------------------------------------------- labels --- */
.eyebrow {
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; flex: none; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; flex: none; }
.lede { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.cap { font-size: .85rem; color: var(--ink-3); margin: .8rem 0 0; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.9rem;
  font-family: var(--body); font-size: .8rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--evergreen); color: var(--ivory); border-color: var(--evergreen); }
.btn-primary:hover { background: var(--evergreen-3); border-color: var(--evergreen-3); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--evergreen); border-color: var(--evergreen); }
.btn-ghost:hover { background: var(--evergreen); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--evergreen); border-color: var(--ivory); }
.btn-light:hover { background: var(--champagne-2); border-color: var(--champagne-2); color: var(--evergreen); }
.btn-wide { width: 100%; }
/* Every dark surface is listed here. A ghost button that is dark ink by
   default is invisible on any dark surface left off this list. */
.dark .btn-ghost, .hero .btn-ghost, .site-header .btn-ghost, .site-footer .btn-ghost,
.drawer .btn-ghost, .mega .btn-ghost, .pagehead .btn-ghost {
  color: var(--ivory); border-color: var(--champagne);
}
.dark .btn-ghost:hover, .hero .btn-ghost:hover, .site-header .btn-ghost:hover, .site-footer .btn-ghost:hover,
.drawer .btn-ghost:hover, .mega .btn-ghost:hover, .pagehead .btn-ghost:hover {
  background: var(--champagne); border-color: var(--champagne); color: var(--evergreen);
}
.dark .btn-primary { background: var(--ivory); color: var(--evergreen); border-color: var(--ivory); }
.dark .btn-primary:hover { background: var(--champagne-2); border-color: var(--champagne-2); color: var(--evergreen); }
.more {
  display: inline-flex; align-items: center; gap: .8rem; min-height: 44px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--teal);
}
.more::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.more:hover::after, a:hover .more::after { width: 3.4rem; }
.dark .more, .hero .more { color: var(--champagne); }
.dark .more:hover, .hero .more:hover { color: var(--champagne-2); }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--evergreen);
  color: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55); }
.header-in {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--head-h);
  transition: height .3s var(--ease);
}
.site-header.is-stuck .header-in { height: 70px; }
.brand { display: flex; align-items: center; gap: .95rem; text-decoration: none; color: var(--ivory); margin-right: auto; flex: none; }
.brand:hover { color: var(--ivory); }
/* THE OWNER'S LOGO. The mark keeps its own colors; "Montclair" is his script, lifted off the approved
   file and filled with ivory for this ground (build/logo.py). His small-capitals line is live type. */
.brand-mark { width: 37px; height: auto; flex: none; transition: width .3s var(--ease); }
.site-header.is-stuck .brand-mark { width: 31px; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { display: block; line-height: 0; }
.brand-script { display: block; width: 272px; height: auto; transition: width .3s var(--ease);
  /* for a visitor with pictures off: the alt text, whole, in the display face (the row above has no line height) */
  font: 400 1.7rem/1.1 var(--display); color: var(--ivory); }
.site-header.is-stuck .brand-script { width: 228px; }
.brand-sub { font-size: .56rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); margin-top: .28rem; margin-right: -.3em; white-space: nowrap; }
/* in his lockup the small capitals sit under the WORD, which is left of the middle of the file: its tail flourish is the longer one */
.site-header .brand-sub { position: relative; left: -3.2%; }

.nav-desk { display: flex; align-items: center; gap: clamp(1rem, 1.5vw, 1.8rem); }
.nav-desk a, .nav-desk button {
  font-family: var(--body); font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer;
  min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav-desk a:hover, .nav-desk button:hover, .nav-desk [aria-current="page"], .nav-desk [aria-expanded="true"] {
  color: var(--ivory); border-bottom-color: var(--champagne);
}
.nav-desk button svg { flex: none; width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .25s var(--ease); }
.nav-desk button[aria-expanded="true"] svg { transform: rotate(180deg); }
/* his full label, "Request a property consultation": the row is logo, four destinations and this */
.header-cta { min-height: 44px; padding: .6rem 1.1rem; flex: none; white-space: nowrap; }
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 2px;
  background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: none;
}
.burger span { display: block; width: 20px; height: 1px; background: var(--ivory); }

/* services panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--evergreen-2); color: var(--on-dark);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
  padding: 2.6rem 0 2.8rem;
}
/* Six groups, his words. Not a list of every service: see mega_panel(). */
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); }
.mega-item { display: block; text-decoration: none; border-top: 1px solid var(--line-dark); padding-top: 1.1rem; min-width: 0; }
.mega-item h3 { font-size: 1.4rem; color: var(--ivory); margin: 0 0 .35rem; transition: color .2s; }
.mega-item p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--on-dark); }
.mega-item:hover h3 { color: var(--champagne-2); }
.mega-foot { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: flex-end; }

/* ------------------------------------------------------------- drawer --- */
/* Hidden IN PLACE, never slid off-screen: a fixed panel parked past the
   right edge is invisible to scrollWidth and pannable on iOS. */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility 0s linear .25s; }
.drawer[data-open="true"] { visibility: visible; opacity: 1; transition: opacity .25s var(--ease); }
.drawer-scrim { position: absolute; inset: 0; background: rgba(6, 18, 17, .62); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px);
  background: var(--evergreen); color: var(--ivory);
  display: flex; flex-direction: column;
  padding: 1.1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: scale(.97); transform-origin: right center; transition: transform .25s var(--ease);
  border-left: 1px solid var(--line-dark);
}
.drawer[data-open="true"] .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer-top .brand-mark { width: 30px; }
.drawer-close { width: 46px; height: 46px; background: none; border: 1px solid var(--line-dark); border-radius: 2px; color: var(--ivory); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.drawer-nav a, .drawer-nav summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px;
  font-family: var(--display); font-size: 1.45rem; color: var(--ivory); text-decoration: none;
  border-bottom: 1px solid var(--line-dark); cursor: pointer; list-style: none;
}
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 1.5rem; color: var(--champagne); }
.drawer-nav details[open] > summary::after { content: "\2212"; }
.drawer-nav [aria-current="page"] { color: var(--champagne-2); }
.drawer-sub { padding: .4rem 0 .9rem; border-bottom: 1px solid var(--line-dark); }
.drawer-sub a { font-family: var(--body); font-size: 1rem; min-height: 44px; border: 0; color: var(--on-dark); }
.drawer-sub a.grp { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); margin-top: .5rem; }
.drawer-foot { margin-top: auto; padding-top: 1.6rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; }

/* --------------------------------------------------------------- hero --- */
.hero { position: relative; background: var(--evergreen); color: var(--ivory); padding: 0; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.12); will-change: transform; display: block; }
/* The poster sits behind the video as a background, so the hero is never an
   empty box: before the first frame decodes, if autoplay is refused, and for
   anyone who prefers reduced motion (the video is then not shown at all). */
.hero--video .hero-media { background: var(--evergreen) url("/images/hero-poster.jpg") center / cover no-repeat; }
/* An iPhone in Low Power Mode refuses autoplay and draws its own play button
   on the video. The still is already a finished hero, so that button is not
   shown; main.js starts the clip on the first touch instead. */
.hero-media video { pointer-events: none; }
.hero-media video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
/* With scripts switched off Chrome puts its own control bar on every video. The still is behind it. */
.hero-media video::-webkit-media-controls { display: none !important; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 43, 42, .93) 0%, rgba(15, 43, 42, .78) 34%, rgba(15, 43, 42, .28) 66%, rgba(15, 43, 42, .12) 100%),
    linear-gradient(0deg, rgba(15, 43, 42, .78) 0%, rgba(15, 43, 42, 0) 42%);
}
/* The video hero carries the owner's four elements (headline, pillars, one
   sentence, one button) in the lower left, so the footage stays the
   subject. The wash sits where the type is and nowhere else;
   herocontrast.py measures it against the playing frames. */
.hero--full::before { background: none; }
/* The shade FOLLOWS THE TYPE, not the corner of the screen. On a wide monitor
   the type moves in with the page margin, and a shade anchored to the screen
   edge is left behind (and a max() inside a gradient size is dropped by the
   browser without a word, which leaves the old full-width wash in place). */
.hero--full .hero-copy { position: relative; }
.hero--full .hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -7.5rem -7rem -12rem -50vw;
  background: linear-gradient(90deg, rgba(15, 43, 42, .82) 0%, rgba(15, 43, 42, .8) calc(100% - 11rem), rgba(15, 43, 42, 0) 100%);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 74%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, #000 74%, transparent 100%); }
.hero-in { min-height: min(86vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
.hero-copy { max-width: 64rem; }
.hero .eyebrow { color: var(--champagne); }
.hero h1 { color: var(--ivory); margin-bottom: .5em; }
.hero h1 em { display: block; color: var(--champagne-2); margin-top: .12em; font-size: .8em; text-wrap: balance; }
.hero-lede { font-size: clamp(1.08rem, 1.45vw, 1.25rem); line-height: 1.65; color: var(--on-dark); max-width: 36rem; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.9rem; align-items: center; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); font-size: .78rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--champagne);
  text-shadow: 0 1px 14px rgba(8, 24, 23, .6); }
.hero-link:hover { color: var(--champagne-2); }

/* the concierge row: a short form that sits across the foot of the hero */
.concierge { background: var(--paper); padding: 0; position: relative; }
.concierge-card {
  background: var(--ivory); border: 1px solid var(--line);
  margin-top: -3.2rem; position: relative; z-index: 5;
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.6rem);
  box-shadow: 0 30px 60px -40px rgba(15, 43, 42, .45);
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center;
  scroll-margin-top: calc(var(--head-h) + 20px);
}
.concierge-card { text-align: left; }
.concierge-head h2 { font-size: 1.7rem; margin: 0 0 .3rem; }
.concierge-head p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.cg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.cg-grid .btn { grid-column: 1 / -1; justify-self: start; }
.cg-note { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-3); margin: 0; }
/* the message a visitor sees when a request did not go through: what they typed is still in the form */
.form-error { grid-column: 1 / -1; margin: 0; padding: .9rem 1.1rem; border: 1px solid #A3392B; background: #FBEDEA; color: #7A2318; font-size: .95rem; line-height: 1.5; }
.form-error[hidden] { display: none; }
.field-hint { margin: -.5rem 0 0; font-size: .82rem; color: var(--ink-3); }
.form-privacy { margin: .4rem 0 0; font-size: .86rem; color: var(--ink-2); }
.field input.is-missing { border-color: #A3392B; }

/* -------------------------------------------------------------- forms --- */
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field .lab {
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.req { color: var(--teal); }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-3); font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
  background: #FFFDF8; border: 1px solid var(--line); border-radius: 2px;
  padding: .8rem .9rem; min-height: 52px; appearance: none; -webkit-appearance: none;
  transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231D5A5E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: 11px; padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid rgba(29, 90, 94, .22); outline-offset: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
/* "Services needed": six boxes, more than one may be ticked */
.choices { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.choices legend { padding: 0; margin: 0 0 .3rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.field .choice { display: flex; align-items: center; gap: .7rem; min-height: 44px; font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.field .choice input { width: 22px; height: 22px; min-height: 0; flex: none; margin: 0; padding: 0; accent-color: var(--teal); appearance: auto; -webkit-appearance: auto; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .75rem; align-items: start; font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
.check input { width: 22px; height: 22px; min-height: 0; margin: .1rem 0 0; accent-color: var(--teal); appearance: auto; -webkit-appearance: auto; padding: 0; }
.check label { font-size: .84rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.form-foot { font-size: .88rem; color: var(--ink-3); margin: 1.2rem 0 0; }
.lead-card { background: var(--ivory); border: 1px solid var(--line); padding: clamp(1.6rem, 3.5vw, 3rem); scroll-margin-top: calc(var(--head-h) + 20px); }
.lead-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: .35em; }
.lead-card .card-note { color: var(--ink-2); margin-bottom: 1.8rem; max-width: 52ch; }
.dark .lead-card, .dark .lead-card h2 { color: var(--ink); }
.dark .lead-card p { color: var(--ink-2); }
.dark .lead-card a { color: var(--teal); }

/* ---------------------------------------------------------- statement --- */
.statement { padding-top: clamp(4rem, 8vw, 7rem); }
.statement p.big {
  text-wrap: balance;
  font-family: var(--display); font-size: clamp(1.55rem, 2.9vw, 2.5rem); line-height: 1.32;
  max-width: 24em; margin: 0 auto 1.6rem; color: var(--ink);
}
.statement .mark-rule { width: 38px; margin: 0 auto 2rem; }
.statement .mark-rule img { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------- service set --- */
.sechead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.sechead h2 { margin: 0; max-width: 18em; }
.sechead .lede { margin: 1rem 0 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.8rem) clamp(1.2rem, 2.4vw, 2.2rem); }
.tile { display: block; text-decoration: none; color: inherit; min-width: 0; }
.tile-img { overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 3; }
.tile-img picture, .tile-img img { width: 100%; height: 100%; }
.tile-img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile h3 { margin: 1.25rem 0 .35rem; color: var(--ink); }
.tile p { margin: 0 0 .5rem; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.tile:hover h3 { color: var(--teal); }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ------------------------------------------------------- dark sections --- */
.dark { background: var(--evergreen); color: var(--on-dark); }
.dark h2, .dark h3, .dark h4 { color: var(--ivory); }
.dark .eyebrow { color: var(--champagne); }
.dark .lede { color: var(--on-dark); }
.dark a { color: var(--champagne-2); }
.dark a:hover { color: var(--ivory); }
.dark a.btn-primary, .dark a.btn-light { color: var(--evergreen); }
.dark .cap { color: var(--on-dark-2); }
.dark .prose { color: var(--on-dark); }
.dark .prose strong { color: var(--ivory); }
.dark .prose ol > li::before { color: var(--champagne); }
.dark .prose ul > li::before { background: var(--champagne); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split > * { min-width: 0; }
.split.top { align-items: start; }
.split-media { position: relative; max-width: 620px; width: 100%; }
.split-media.right { justify-self: end; }
/* a standing portrait (2:3) at the full 620px would run 930px tall */
.split-media.portrait { max-width: 400px; }
.split-media picture, .split-media img { width: 100%; }
.pagehead-photo picture { width: 100%; }
.frame { position: relative; }
.frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--champagne); z-index: -1; opacity: .7; }
.frame.left::after { inset: 14px 14px -14px -14px; }
.split-media { isolation: isolate; }
.plain-list { list-style: none; margin: 1.6rem 0 2.2rem; padding: 0; border-top: 1px solid var(--line); }
.plain-list li { margin: 0; padding: .85rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.2rem; font-size: .97rem; }
.plain-list li strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.dark .plain-list, .dark .plain-list li { border-color: var(--line-dark); }
.dark .plain-list li strong { color: var(--ivory); }

/* ----------------------------------------------------------- portfolio --- */
.strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.8rem); align-items: start; }
.strip figure { margin: 0; overflow: hidden; background: var(--paper-3); }
.strip figure picture { width: 100%; height: 100%; }
.strip figure img { width: 100%; height: 100%; object-fit: cover; }
.strip .a { grid-column: 1 / span 5; aspect-ratio: 16 / 10; }
.strip .b { grid-column: 6 / span 4; aspect-ratio: 16 / 11; margin-top: 4.5rem; }
.strip .c { grid-column: 10 / span 3; aspect-ratio: 4 / 4.2; }
.strip .d { grid-column: 2 / span 4; aspect-ratio: 16 / 10; margin-top: -1.2rem; }
.strip .e { grid-column: 6 / span 4; aspect-ratio: 16 / 10; }
.strip .f { grid-column: 10 / span 3; aspect-ratio: 4 / 3.6; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-3); cursor: zoom-in; overflow: hidden; aspect-ratio: 16 / 10; }
.gallery picture { width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8, 22, 21, .94); display: grid; place-items: center; padding: 4.5rem 1rem; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; }
.lightbox figcaption { color: var(--on-dark); font-size: .9rem; text-align: center; margin-top: 1rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); border-radius: 2px; color: var(--ivory); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { border-color: var(--champagne); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------- voices --- */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.4rem, 5vw, 5rem) clamp(2rem, 6vw, 6rem); }
.voice { margin: 0; }
.voice blockquote { margin: 0 0 1.4rem; font-family: var(--italic); font-style: italic; font-size: clamp(1.12rem, 1.55vw, 1.32rem); line-height: 1.6; color: var(--ink); }
.dark .voice blockquote { color: var(--ivory); }
.voice blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-style: normal; font-size: 3.2rem; line-height: .6; color: var(--champagne); margin-bottom: .9rem; }
.voice figcaption { font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
.dark .voice figcaption { color: var(--on-dark-2); }
.voice figcaption strong { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: .25rem; }
.dark .voice figcaption strong { color: var(--champagne); }
.voice .watch { display: inline-flex; align-items: center; min-height: 44px; margin-top: .3rem; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.voice.feature { grid-column: 1 / -1; max-width: 54rem; margin: 0 auto; text-align: center; }
.voice.feature blockquote { text-wrap: balance; font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 1.5; }
.voice.feature blockquote::before { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------- areas band --- */
.areas { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.6rem; }
.areas li { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.5; }

/* ------------------------------------------------------------ pagehead --- */
.pagehead { background: var(--evergreen); color: var(--on-dark); padding: clamp(3rem, 5.4vw, 4.6rem) 0 clamp(3rem, 5.4vw, 4.6rem); position: relative; overflow: hidden; isolation: isolate; }
.pagehead .eyebrow { color: var(--champagne); }
.pagehead h1 { color: var(--ivory); font-size: clamp(2.3rem, 4.2vw, 3.4rem); max-width: 16em; }
.pagehead .lede { color: var(--on-dark); margin-bottom: 0; text-wrap: balance; line-height: 1.58; }
.pagehead .hero-cta { margin-top: 2rem; }
.pagehead-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pagehead-grid > * { min-width: 0; }
.pagehead-photo { max-width: 600px; justify-self: end; width: 100%; isolation: isolate; }
.pagehead-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.crumbs { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--ivory); }
.crumbs span[aria-hidden] { color: var(--champagne); }
.pagehead--wide { padding: 0; }
.pagehead--wide .hero-media img { transform: scale(1.12); }
.pagehead--wide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 43, 42, .94) 0%, rgba(15, 43, 42, .8) 40%, rgba(15, 43, 42, .35) 100%);
}
.pagehead--wide .wrap { padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem); }

/* ------------------------------------------------------------- welcome --- */
/* /welcome/, where malibu-nursery.com sends its visitors (sitegen.page_welcome). It is the homepage with a
   greeting in the hero: the old logo, an arrow, Montclair's lockup, then the headline, all on the homepage's
   footage and its wash (herocontrast.py measures them). Then the short form in its own band, not overlapping
   the hero, then the homepage's sections. */
.hero--welcome .hero-copy { max-width: 36rem; }
.hero--welcome h1 .nw { white-space: nowrap; }     /* never a line that starts with "&" */
.hero--welcome .hero-lede a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: .2em; white-space: nowrap; }
.hero--welcome .hero-lede a:hover { color: var(--champagne-2); }
.handoff { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.6rem); margin: 0 0 clamp(1.3rem, 2.6vh, 1.9rem); }
.handoff-old { display: block; width: clamp(150px, 15vw, 215px); height: auto; flex: none; filter: drop-shadow(0 1px 14px rgba(8, 24, 23, .55)); }
.handoff-arrow { display: block; color: var(--champagne-2); transform: rotate(-90deg); flex: none; }
.handoff-new { display: flex; flex-direction: column; align-items: center; flex: none; filter: drop-shadow(0 1px 14px rgba(8, 24, 23, .55)); }
.handoff-new-logo { display: block; width: clamp(125px, 12.5vw, 178px); height: auto; }
.handoff-new .brand-sub { font-family: var(--display); font-size: clamp(.5rem, .6vw, .6rem); font-weight: 400; letter-spacing: .26em; margin-right: -.26em; margin-top: .25rem; color: var(--ivory); }
/* the logos make this copy block taller than the homepage's, and the shade fades out over its top quarter:
   start it higher so both logos sit in the solid part (desktop; phones shade the whole block already) */
@media (min-width: 861px) { .hero--full.hero--welcome .hero-copy::before { top: -11rem; } }
.hero--welcome + .concierge { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.hero--welcome + .concierge .concierge-card { margin-top: 0; }
@media (max-width: 600px) {
  .handoff { gap: .75rem; }
  .handoff-old { width: min(138px, 36vw); }
  .handoff-new-logo { width: min(112px, 29vw); }
  .handoff-new .brand-sub { font-size: .47rem; letter-spacing: .2em; margin-right: -.2em; }
}

/* ------------------------------------------------------------- article --- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.article-grid > * { min-width: 0; }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin-top: 2.2em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose h4 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 1.6rem; margin-bottom: .7em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .78em; width: .7rem; height: 1px; background: var(--teal); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; padding-left: 2.2rem; }
.prose ol > li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; font-family: var(--display); font-size: 1.15rem; color: var(--teal); }
/* a table in an article (the owner's fifth has one: three columns of short figures) */
.prose table { width: 100%; border-collapse: collapse; margin: 1.8rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; border-bottom-color: var(--ink); }
.prose img { margin: 2rem 0; max-width: min(100%, 520px); border: 1px solid var(--line); }
.prose .offer { border: 1px solid var(--champagne); background: var(--ivory); padding: 1.2rem 1.5rem; margin: 1.8rem 0; }
.prose .offer p { margin: 0; }
.prose .note { font-family: var(--italic); font-style: italic; color: var(--ink-2); border-left: 1px solid var(--champagne); padding-left: 1.2rem; margin: 0 0 2rem; }
.aside { position: sticky; top: calc(var(--head-h) + 1.5rem); border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.aside h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.aside p { font-size: .95rem; color: var(--ink-2); }
.aside .btn { margin-bottom: .7rem; font-size: .72rem; letter-spacing: .1em; padding-left: .7rem; padding-right: .7rem; }
.aside-links { list-style: none; margin: 2rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.aside-links li { margin: 0; }
.aside-links a { display: flex; min-height: 40px; align-items: center; font-size: .95rem; text-decoration: none; color: var(--ink-2); }
.aside-links a:hover, .aside-links [aria-current="page"] { color: var(--teal); }
.aside-links .grp { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; display: block; }
/* a second group in the same list ("See also", "From the Journal") stands clear of the links above it */
.aside-links li + li .grp { margin-top: 1.5rem; }
/* a link that runs to two lines (an article's title) keeps its lines together and stands clear of the next one;
   a one-line link is still 40px tall, so nothing else in the column moves */
.aside-links a { padding: .4rem 0; line-height: 1.45; }

.faq { border-top: 1px solid var(--line); margin-top: 1.6rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; padding: .9rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.3rem; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; color: var(--teal); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 0 1.4rem; max-width: 44rem; color: var(--ink-2); }

/* journal */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.4rem) clamp(1.4rem, 3vw, 2.6rem); }
.post-card { display: block; text-decoration: none; color: inherit; border-top: 1px solid var(--ink); padding-top: 1.4rem; min-width: 0; }
.post-card time { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.post-card h2 { margin: .7rem 0 .6rem; font-size: 1.5rem; }
.post-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: .6rem; }
.post-card:hover h2 { color: var(--teal); }
.post-meta { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); margin: 1.4rem 0 0; }

/* video: a poster that becomes a player on click, so no third-party request
   is made until the visitor asks for one */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--evergreen-2); border: 0; padding: 0; cursor: pointer; overflow: hidden; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border: 1px solid var(--ivory); border-radius: 50%; background: rgba(15, 43, 42, .55); display: grid; place-items: center; transition: background-color .25s; }
.video:hover .play { background: var(--evergreen); }
.video .play svg { width: 20px; height: 20px; fill: var(--ivory); margin-left: 4px; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
.videos.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 56rem; margin-left: auto; margin-right: auto; }
.voices.solo { grid-template-columns: minmax(0, 1fr); }
.link-row { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 2.4rem; }
.link-row li { margin: 0; }
.link-row a { display: inline-flex; align-items: center; min-height: 44px; font-size: .78rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--champagne); }
.link-row a:hover { color: var(--teal); }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.4rem, 5vw, 4.5rem) clamp(2.5rem, 7vw, 7rem); }
.area { min-width: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.area h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 0 0 .8rem; }
.area p { margin: 0; color: var(--ink-2); }
.area:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 34rem; }
/* "A Clear Plan From the Start": four steps, each a short instruction and a sentence */
.steps { list-style: none; counter-reset: step; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.steps li { margin: 0; padding: 1.3rem 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
.steps li strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--ivory); }
.steps li span { color: var(--on-dark); }
.speak-lines { margin: 0 0 1.6rem; }
.speak-lines span { display: block; margin: 0 0 .5rem; }
.speak-lines a { color: inherit; }
.contact-grid h2.speak { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0 0 1.4rem; }
.videos figure { margin: 0; }
.videos figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .8rem; line-height: 1.5; }
.videos figcaption strong { display: block; color: var(--ink); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.pairs { margin: 0; }
.pairs div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pairs div:first-child { border-top: 1px solid var(--ink); }
.pairs dt { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.pairs dd { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.35; color: var(--ink); }
.pairs dd a { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.pairs dd a:hover { color: var(--teal); }
.pairs dd small { display: block; font-family: var(--body); font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

/* closing band */
.closing { text-align: center; }
.closing h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.closing .hero-cta { justify-content: center; margin-top: 2.2rem; }
.closing .lede { max-width: 38rem; margin-left: auto; margin-right: auto; text-wrap: balance; }
.closing-cta { margin: 2.2rem 0 0; }

/* ------------------------------------------------------------- footer --- */
/* The owner's footer: nine lines, centered, in his order. */
.site-footer { background: var(--evergreen); color: var(--on-dark); padding: clamp(4rem, 7vw, 6rem) 0 0; border-top: 1px solid var(--line-dark); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
/* his lockup as approved: the mark above the script. His small capitals follow in live type, in the display face. */
.footer-logo { display: block; width: min(380px, 82vw); height: auto; }
.footer-top .brand-sub { font-family: var(--display); font-size: min(.86rem, 3.3vw); font-weight: 400; letter-spacing: .28em; margin-right: -.28em; margin-top: .35rem; color: var(--ivory); }
.footer-top p { margin: 0; }
.footer-top p.footer-former { font-size: .92rem; color: var(--on-dark-2); margin-top: 1.5rem; }
.footer-top p.footer-line { font-family: var(--italic); font-style: italic; font-size: 1.1rem; line-height: 1.5; color: var(--on-dark); margin-top: .7rem; max-width: 34rem; text-wrap: balance; }
.footer-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.footer-row li { margin: 0; display: inline-flex; align-items: center; }
.footer-row li:not(:last-child)::after { content: "|"; margin: 0 .85rem; color: var(--champagne); font-weight: 300; }
.footer-regions li:not(:last-child)::after { content: "\2022"; font-size: .8em; }
.footer-dots li:not(:last-child)::after { content: "\2022"; font-size: .8em; margin: 0 .9rem; }
.footer-reach { margin-top: 1.6rem; }
.footer-reach .footer-tel { margin-top: 0; }
.footer-license { margin-top: .5rem; font-size: .82rem; color: var(--on-dark-2); min-height: 2rem; }
.footer-license li { white-space: nowrap; }
.footer-nav li:not(:last-child)::after { content: "\00B7"; }
.footer-row a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-svc { margin-top: 1.5rem; }
.footer-svc a, .footer-social a, .footer-legal a { font-size: .95rem; color: var(--ivory); }
.footer-regions { margin-top: .3rem; font-size: .92rem; color: var(--on-dark-2); }
.footer-tel { font-family: var(--display); font-size: 1.7rem; display: inline-flex; align-items: center; min-height: 48px; margin-top: 1.6rem; }
.site-footer a.footer-tel { color: var(--ivory); }
.footer-site { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; letter-spacing: .04em; }
.footer-social { margin-top: .6rem; }
.footer-legal { margin-top: .5rem; }
.footer-bar { padding: 1.4rem 0; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--on-dark-2); }
.footer-nav li:not(:last-child)::after { margin: 0 .6rem; }
/* standard credit. color:inherit, no opacity fade, the mark stays orange. */
.cm-credit { display: inline-flex; align-items: center; gap: .42em; font-size: .75rem; line-height: 1; letter-spacing: .01em; text-decoration: none; color: inherit; padding: .5em .2em; border-radius: 999px; white-space: nowrap; }
.cm-credit:hover b, .cm-credit:focus-visible b { text-decoration: underline; text-underline-offset: .25em; }
.cm-credit svg { height: 1.35em; width: auto; flex: none; display: block; }
.cm-credit b { font-weight: 600; }
.cm-credit--pill { padding: .5em .85em; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 32%, transparent); }
.cm-credit--pill:hover, .cm-credit--pill:focus-visible { border-color: color-mix(in srgb, currentColor 60%, transparent); }

/* ============================================= the owner's homepage ====
   Built to Randy Shillington's Oct 3 2026 brief. His direction for each
   block, in his words:
     hero        "Full-screen ... Very little text."
     bleed       (s.2, s.5, s.7) the photograph runs to the edge of the
                 screen and leads; his copy sits beside it in a narrow column
     pillars     "Lots of white space. Three elegant columns."
     story       "No sales copy here. Three to five extraordinary photographs
                 with generous spacing." "Small caption."
     svc-split   "Visually sophisticated. Not a giant contractor-style list."
     expect      "Highly visual and concise."
     quote-sec   "Large white-space section. One exceptional testimonial."
     band-media  "Beautiful coastal Southern California image", the primary visual
     finale      "Full-width extraordinary estate photograph. Minimal copy."
     footer      his nine lines, in his order                                 */

/* FULL-SCREEN: the hero and the masthead fill the first screen exactly (and
   the tab bar, on a phone). svh, so mobile browser chrome does not push the
   button under the fold. The type is small on purpose: "Very little text." */
.hero--full .hero-in { min-height: calc(100vh - var(--head-h)); min-height: calc(100svh - var(--head-h)); }
.hero--full .hero-in { padding-top: 3rem; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero--full .hero-copy { max-width: 33rem; }
.hero--full h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.1; margin-bottom: .42em; text-shadow: 0 1px 24px rgba(8, 24, 23, .5); }
.hero--photo .hero-media img { object-position: 50% 60%; }
.hero-pillars { font-family: var(--italic); font-style: italic; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.3; color: var(--champagne-2); margin: 0 0 1rem; }
.hero--full .hero-pillars { text-shadow: 0 1px 18px rgba(8, 24, 23, .55); }
.hero--full .hero-lede { font-size: 1rem; line-height: 1.6; color: var(--ivory); max-width: 28rem; margin-bottom: 1.7rem; text-shadow: 0 1px 18px rgba(8, 24, 23, .55); }

.beat-line { font-family: var(--italic); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.4; color: var(--teal); margin: 1.7rem 0 0; }
.sign { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; letter-spacing: .04em; text-align: center; color: var(--ink); margin: clamp(3.5rem, 7vw, 6rem) 0 0; }
.dark .sign { color: var(--ivory); }

.bleed { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; padding: 0; }
.bleed-media { position: relative; margin: 0; min-height: clamp(520px, 52vw, 780px); overflow: hidden; background: var(--paper-3); }
.bleed-media picture { position: absolute; inset: 0; }
.bleed-media img { width: 100%; height: 100%; object-fit: cover; }
.bleed-text { align-self: center; min-width: 0; padding: var(--sect) max(var(--gut), calc((100vw - var(--wrap)) / 2)) var(--sect) clamp(2.5rem, 6vw, 6.5rem); }
.bleed-text > * { max-width: 30rem; }
.bleed-text p { text-wrap: balance; }
.bleed-text p.line, .bleed-text p.lede, .bleed-text p.beat-line { text-wrap: balance; }
.bleed-text h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.bleed.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.bleed.flip .bleed-media { order: 2; }
.bleed.flip .bleed-text { order: 1; padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2)); padding-right: clamp(2.5rem, 6vw, 6.5rem); }
/* The trust band (Nov 4 2026): the leadership team, three people across a 3:2 photograph (Alex: "image 22
   is of the leadership team ... replacing the one of the two men"). The old frame was tall and narrow for
   a photo of two and would have cut the outer two people. Now the photograph takes the WIDER column and the
   band's height follows the text, so the frame stays landscape beside it (about 1.2 to 2.2 wide per 1 tall
   from 1100px up). Below 1100px a column beside the text cannot hold three people, so the band stacks, as
   every bleed band does on a phone. render_check.check_framing holds all three in the frame at every size. */
.bleed.people { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.bleed.people .bleed-media { min-height: 0; }
.bleed.people .bleed-media img { object-position: 52% 25%; }
.bleed.people .bleed-text { padding-top: clamp(3rem, 5vw, 5rem); padding-bottom: clamp(3rem, 5vw, 5rem); padding-left: clamp(2rem, 4vw, 4.5rem); }
.bleed.people .bleed-text h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
@media (max-width: 1099px) {
  .bleed.people { display: block; }
  .bleed.people .bleed-media { aspect-ratio: 4 / 3; }
  .bleed.people .bleed-text { padding: 3rem max(var(--gut), env(safe-area-inset-right)) 4.5rem max(var(--gut), env(safe-area-inset-left)); }
  .bleed.people .bleed-text > * { max-width: 40rem; }
}
.bleed-text p.line { margin-bottom: .2em; }
/* "Trusted. Experienced. Talented.": the three words, each with his one sentence */
.trust .bleed-text h2 { margin-bottom: 1.1em; }
.bleed-text p.pillar-line { margin: 0 0 1.25em; max-width: 34rem; text-wrap: pretty; }
.bleed-text p.pillar-line:last-child { margin-bottom: 0; }
.pillar-line strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.3; color: var(--ink); margin-bottom: .15em; }
/* his "quiet proof strip": three facts on one line, no decoration */
.proof { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.proof-row { list-style: none; margin: 0 auto; padding: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-row li { margin: 0; padding: 0 clamp(1.2rem, 3vw, 2.6rem); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.proof-row li + li { border-left: 1px solid var(--line); }
.proof-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.proof-row a:hover { color: var(--teal); }
.proof-row li:not(:has(a)) { display: inline-flex; align-items: center; min-height: 44px; }
.quote-sec:has(+ .proof) { padding-bottom: clamp(4rem, 8vw, 7rem); }
.bleed-text p.line.pair { margin-bottom: 1.15em; }
.bleed.dark .bleed-media { background: var(--evergreen-2); }

.pillars { padding: clamp(6rem, 12vw, 11rem) 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 6.5rem); }
.pillar { border-top: 1px solid var(--ink); padding-top: 1.8rem; min-width: 0; }
.pillar h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: .5em; }
.pillar p { color: var(--ink-2); font-size: .98rem; text-wrap: pretty; }
.pillar p:last-child { margin-bottom: 0; }
.pillar p.pillar-lead { text-wrap: balance; font-family: var(--italic); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--teal); }

.story-sec { padding: clamp(6rem, 11vw, 10rem) 0; }
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3rem, 7vw, 7rem) clamp(1.2rem, 3vw, 3rem); align-items: start; }
.story figure { margin: 0; overflow: hidden; background: var(--paper-3); }
.story figure picture, .story figure img { width: 100%; height: 100%; }
.story figure img { object-fit: cover; }
.story .a { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.story .b { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.story .c { grid-column: 8 / span 5; aspect-ratio: 4 / 5; margin-top: clamp(3rem, 9vw, 9rem); }
.story .d { grid-column: 3 / span 8; aspect-ratio: 16 / 9; }
.story-cap { grid-column: 1 / -1; text-align: center; font-family: var(--italic); font-style: italic; font-size: .95rem; color: var(--ink-2); margin: 0; }

.steward .bleed-text p { color: var(--on-dark); }
.steward .bleed-text p.big { text-wrap: balance; font-family: var(--display); font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.35; color: var(--ivory); }
.steward .bleed-text p.sign { text-align: left; color: var(--champagne-2); margin-top: 2.6rem; font-size: clamp(1.6rem, 2.7vw, 2.2rem); }

.svc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.svc-photo { margin: 0; overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 5; }
.svc-photo picture, .svc-photo img { width: 100%; height: 100%; }
.svc-photo img { object-fit: cover; }
.svc-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.4rem) clamp(1.5rem, 4vw, 3.5rem); margin: clamp(2rem, 4vw, 3rem) 0; }
.svc { display: block; text-decoration: none; color: inherit; border-top: 1px solid var(--line); padding-top: 1.2rem; min-width: 0; }
.svc h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); margin: 0 0 .4rem; transition: color .2s; }
.svc p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; text-wrap: balance; }
@media (min-width: 861px) and (max-width: 1099px) { .svc h3 { min-height: 2.4em; } }
.svc:hover h3 { color: var(--teal); }
.svc-links { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.svc-links li { margin: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.svc-links a { display: flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--ink); font-size: .98rem; }
.svc-links a:hover { color: var(--teal); }

.expect-sec { padding-bottom: 0; }
.expect { list-style: none; margin: clamp(2.5rem, 5vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 4px; }
.expect li { margin: 0; min-width: 0; }
.expect-img { overflow: hidden; background: var(--evergreen-2); aspect-ratio: 3 / 4; }
.expect-img picture, .expect-img img { width: 100%; height: 100%; }
.expect-img img { object-fit: cover; }
.expect-text { padding: 1.5rem clamp(1rem, 1.8vw, 1.8rem) clamp(3.5rem, 6vw, 5.5rem); }
.expect h3 { font-size: clamp(1.1rem, 1.3vw, 1.3rem); margin: 0 0 .45rem; }
@media (min-width: 861px) and (max-width: 1159px) { .expect h3 { min-height: 2.4em; } }
.expect p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--on-dark); text-wrap: balance; }

.quote-sec { padding: clamp(7rem, 14vw, 13rem) 0; }
.quote-sec .voice figcaption strong { display: inline; margin: 0; font-size: .8rem; }
.quote-sec .voice figcaption .sep { margin: 0 .5em; color: var(--champagne); }

/* The whole crew on About (Nov 5 2026), under "A New Name With Familiar People". Shown whole at its own shape, never
   cropped by the box: the crew fills the frame edge to edge. Full bleed on phones, the page width above it.
   render_check.check_framing holds every person in the frame at every size. */
.crew-photo { margin: clamp(2.5rem, 5vw, 4.5rem) auto 0; max-width: var(--wrap); overflow: hidden; background: var(--paper-3); }
.crew-photo img { width: 100%; height: auto; object-fit: cover; }      /* box = the photo's shape, so cover cuts nothing; a reshaped box would cut, and the gate sees it */

.where { padding-top: 0; }
.band-media { margin: 0 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; background: var(--paper-3); aspect-ratio: 21 / 9; max-height: 640px; width: 100%; }
.band-media picture, .band-media img { width: 100%; height: 100%; }
.band-media img { object-fit: cover; object-position: 50% 58%; }
.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.duo h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.duo p { text-wrap: pretty; }

/* The closing photograph is left alone: no dark wash over it. His four
   lines sit in the sky at the top of the frame in the dark ink, with a
   faint paper veil behind them, and the picture underneath is untouched.
   herocontrast.py measures the type against the pixels behind it. */
.finale { position: relative; isolation: isolate; overflow: hidden; background: var(--paper-3); color: var(--ink); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(6rem, 12vw, 10rem); min-height: min(96vh, 940px); display: grid; align-items: start; }
@media (min-width: 2000px) { .finale { min-height: min(96vh, 50vw); } }
.finale-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.finale-media picture, .finale-media img { display: block; width: 100%; height: 100%; }
.finale-media img { object-fit: cover; object-position: 50% 0%; }
/* The real photograph (Oct 26 2026, an aerial with the ocean and the Point Dume headland
   across the top) is darker behind the words than the stand-in was: herocontrast measured
   the lede at 4.29:1 at 1024x900 and 1.94:1 on a phone held sideways. A light pool centered
   on the copy carries it, no panel, and leaves the edges and the garden below clear. */
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 62% 40% at 50% 22%, rgba(247, 243, 235, .62) 0%, rgba(247, 243, 235, .42) 55%, rgba(247, 243, 235, 0) 100%),
    linear-gradient(180deg, rgba(247, 243, 235, .5) 0%, rgba(247, 243, 235, .38) 30%, rgba(247, 243, 235, 0) 56%);
}
.finale-copy { text-align: center; max-width: 44rem; margin: 0 auto; }
.finale-copy h2 { color: var(--evergreen); }
.finale-copy .lede { color: var(--ink); margin: 0 auto .35em; text-wrap: balance; }
.finale-copy .hero-pillars { color: var(--teal); margin: 1.4rem 0 0; }

/* ------------------------------------------------------------- tab bar --- */
.tabbar { display: none; }

/* ============================================================== motion ==== */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); will-change: opacity, transform; }
.js .rv-slow { transform: translateY(30px); transition-duration: 1.2s; }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv.is-done { will-change: auto; }
.js .rv-zoom img { transform: scale(1.06); transition: transform 1.8s var(--ease) var(--d, 0ms); }
.js .rv-zoom.is-in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv-slow { opacity: 1; transform: none; transition: none; }
  .js .rv-zoom img { transform: none; transition: none; }
  .hero-media img, .pagehead--wide .hero-media img { transform: none !important; }
  .hero-media video { display: none; }
  .tile-img img, .gallery img { transition: none; }
  .svc h3, .mega-item h3 { transition: none; }
}

/* ========================================================== responsive ==== */
/* under 1280 the four destinations and his full button label no longer fit beside the logo */
@media (max-width: 1279px) {
  /* and the three proof lines no longer fit one row: a column, with no dividers left hanging */
  .proof-row { flex-direction: column; align-items: center; gap: 0; padding: .8rem 0; }
  .proof-row li + li { border-left: 0; }
  .nav-desk { display: none; }
  .burger { display: flex; }
  .mega { display: none !important; }
}
@media (max-width: 1020px) {
  .tiles, .tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .concierge-card { grid-template-columns: minmax(0, 1fr); }
  .videos, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --head-h: 68px; }
  body { font-size: 1rem; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  /* Solid, never blurred: backdrop-filter on a sticky header makes it the
     containing block for anything fixed inside it. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--evergreen); }
  .site-header.is-stuck .header-in { height: var(--head-h); }
  .header-cta { display: none; }
  .brand { gap: .7rem; }
  .brand-mark, .site-header.is-stuck .brand-mark { width: 29px; }
  /* as wide as the phone allows beside the menu button: gutters, button, gaps and the mark come to about 150px */
  .brand-script { width: min(248px, calc(100vw - 152px)); }
  .site-header.is-stuck .brand-script { width: min(248px, calc(100vw - 152px)); }
  .site-header .brand-sub, .site-header.is-stuck .brand-sub { display: block; font-size: .5rem; letter-spacing: .2em; margin-right: -.2em; margin-top: .2rem; }

  .hero::before {
    background: linear-gradient(180deg, rgba(15, 43, 42, .3) 0%, rgba(15, 43, 42, .58) 30%, rgba(15, 43, 42, .96) 58%, var(--evergreen) 70%);
  }
  .hero-media { inset: 0 0 auto 0; height: 62vh; min-height: 400px; max-height: 640px; }
  .hero-media img, .hero-media video { object-position: 50% 40%; }
  .hero-in { min-height: 0; padding-top: 34vh; padding-bottom: 5.2rem; }
  /* phone video hero: the footage fills the whole hero and the line sits
     at its foot, instead of a band of video above a block of copy */
  .hero--full .hero-media { inset: 0; height: auto; min-height: 0; max-height: none; }
  .hero--full::before { background: none; }
  .hero--full .hero-copy::before { inset: -5.5rem calc(var(--gut) * -1) -2.7rem;
    /* Oct 7 copy made the block taller (a second sentence and a second link), which lifted the headline and the
       pillars line into the part of the shade that is fading out. The upper stops are a little deeper for it. */
    background: linear-gradient(0deg, rgba(15, 43, 42, .66) 0%, rgba(15, 43, 42, .73) 40%, rgba(15, 43, 42, .83) 62%, rgba(15, 43, 42, .68) 82%, rgba(15, 43, 42, 0) 100%);
    -webkit-mask-image: none; mask-image: none; }
  .hero--full .hero-in { padding-top: 3rem; padding-bottom: 2.6rem; justify-content: flex-end;
    min-height: calc(100vh - var(--head-h) - var(--tab-h)); min-height: calc(100svh - var(--head-h) - var(--tab-h) - env(safe-area-inset-bottom)); }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .16em; gap: .6rem; }
  .hero .eyebrow::before { width: 1.4rem; }
  .hero-cta .btn { width: 100%; }
  .concierge-card { margin-top: -2.6rem; }
  .cg-grid { grid-template-columns: minmax(0, 1fr); }

  .sechead { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split, .pagehead-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split-media, .split-media.right, .pagehead-photo { justify-self: start; max-width: 100%; }
  .split .order-first { order: -1; }
  .frame::after, .frame.left::after { inset: 10px -8px -10px 10px; }
  .tiles, .tiles-4, .tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices { grid-template-columns: minmax(0, 1fr); }
  .videos, .posts { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip figure { grid-column: auto !important; margin-top: 0 !important; aspect-ratio: 4 / 3 !important; }
  .plain-list li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  /* the owner's homepage on a phone: every photograph first and edge to edge */
  .hero--full .hero-in { padding-top: 2rem; padding-bottom: 2.7rem; justify-content: flex-end;
    min-height: calc(100vh - var(--head-h) - var(--tab-h)); min-height: calc(100svh - var(--head-h) - var(--tab-h) - env(safe-area-inset-bottom)); }
  .hero--full .hero-copy { max-width: none; }
  .hero--full h1 { font-size: 1.9rem; }
  .hero-pillars { font-size: 1.02rem; margin-bottom: .7rem; }
  .hero--full .hero-lede { font-size: .92rem; line-height: 1.5; margin-bottom: 1.2rem; }
  .bleed, .bleed.flip, .bleed.people { display: block; }
  .bleed.flip:not(.people) { display: flex; flex-direction: column; }
  .bleed-media { min-height: 0; aspect-ratio: 4 / 5; }
  .bleed.people .bleed-media { aspect-ratio: 4 / 3; }        /* the leadership team, three across: see "trust band" */
  .bleed-text, .bleed.flip .bleed-text { padding: 3rem var(--gut) 4.5rem; }
  .bleed-text > * { max-width: none; }
  /* "Lots of white space": on a phone each pillar is its own panel, not the next paragraph */
  .pillars { padding: 6.5rem 0; }
  .pillar-grid { grid-template-columns: minmax(0, 1fr); gap: 5rem; }
  .pillar { padding-top: 2.4rem; }
  .svc-index { grid-template-columns: minmax(0, 1fr); }
  .story { gap: 5.5rem 0; margin: 0 calc(var(--gut) * -1); }
  .story figure { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .story .a { aspect-ratio: 3 / 2; }
  .story-cap { margin-top: -3.4rem; padding: 0 var(--gut); }
  .story .d { aspect-ratio: 3 / 2; }
  .quote-sec { padding: 9.5rem 0; }
  .duo h2 { font-size: min(1.9rem, 7.2vw); }
  .svc-links { grid-template-columns: minmax(0, 1fr); }
  .pagehead--wide::before { background: rgba(15, 43, 42, .8); }
  .pagehead h1 { font-size: min(2.3rem, 8.8vw); }
  .pagehead--wide h1 { font-size: min(1.9rem, 7.2vw); }
  .svc-split { grid-template-columns: minmax(0, 1fr); }
  .svc-photo { aspect-ratio: 4 / 5; margin: 0 calc(var(--gut) * -1); }
  .expect { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; }
  .expect li:last-child { grid-column: 1 / -1; }
  .expect li:last-child .expect-img { aspect-ratio: 16 / 10; }
  .expect-text { padding: 1.1rem var(--gut) 2.4rem; }
  .expect h3 { min-height: 2.5em; display: flex; align-items: flex-end; }
  .expect li:last-child h3 { min-height: 0; }
  .band-media { aspect-ratio: 4 / 3; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  /* never shorter than 700px: his four lines sit in the SKY of the photograph, and on a short
     screen a shorter band would scale the picture down until the type ran over the rooftops */
  .finale { min-height: max(700px, calc(100svh - var(--head-h) - var(--tab-h))); padding: 2.4rem 0 5rem; }
  .finale-media img { object-position: 22% 0%; }
  .finale::before { background: linear-gradient(180deg, rgba(247, 243, 235, .82) 0%, rgba(247, 243, 235, .78) 300px, rgba(247, 243, 235, 0) 440px); }
  .finale-copy .hero-pillars { color: var(--evergreen); }
  .finale-copy h2 { font-size: 1.75rem; }
  .finale-copy .lede { font-size: 1rem; line-height: 1.5; margin-bottom: .7em; }
  /* footer: his rows wrap as centered runs; a separator never starts or ends a line alone */
  .footer-row { row-gap: 0; }
  .footer-row li { white-space: nowrap; }
  .footer-row li:not(:last-child)::after { margin: 0 .6rem; }
  .footer-bar { padding-bottom: calc(1.4rem + 30px); }
  .footer-svc a, .footer-social a, .footer-legal a, .footer-nav a { min-height: 40px; }
  .footer-bar { align-items: center; text-align: center; }
  .footer-bar { flex-direction: column; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }

  /* app shell: the bar is dark, so the chrome frames the light page top and
     bottom. Never put overflow on html/body - it unsticks this on iOS. */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(13, 37, 36, .98);
    border-top: 1px solid var(--line-dark);
    transform: translateZ(0); will-change: transform;
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: rgba(244, 239, 228, .78); text-decoration: none;
    font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    min-height: var(--tab-h);
  }
  /* off screen while a form is being filled in (js/main.js), so it is never over a field */
  .tabbar { transition: transform .25s var(--ease); }
  body.is-typing .tabbar { transform: translateY(130%); }
  .tabbar a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current="page"], .tabbar a.is-active { color: var(--champagne-2); }
  .tabbar .fab { position: relative; justify-content: flex-end; padding-bottom: 9px; color: var(--champagne-2); }
  .tabbar .fab-btn {
    position: absolute; left: 50%; top: -22px; width: 58px; height: 58px; margin-left: -29px;
    border-radius: 50%; background: var(--champagne); color: var(--evergreen);
    display: grid; place-items: center;
    box-shadow: 0 0 0 5px rgba(13, 37, 36, .98), 0 10px 22px -8px rgba(0, 0, 0, .6);
  }
  .tabbar .fab-btn svg { width: 24px; height: 24px; stroke: var(--evergreen); }
}
@media (max-width: 780px) {
  /* His two long footer rows are broken at chosen places: two names, two
     names, one. A separator can then never be left hanging at a line end,
     at any phone width. The breaks are two zero-height flex items. */
  .footer-svc::before, .footer-svc::after, .footer-regions::before, .footer-regions::after { content: ""; flex-basis: 100%; height: 0; }
  .footer-svc::after, .footer-regions::after { order: 1; }
  .footer-svc li:nth-child(3), .footer-svc li:nth-child(4), .footer-regions li:nth-child(3), .footer-regions li:nth-child(4) { order: 2; }
  .footer-svc::before, .footer-regions::before { order: 3; }
  .footer-svc li:nth-child(5), .footer-regions li:nth-child(5) { order: 4; }
  .footer-svc li:nth-child(2)::after, .footer-svc li:nth-child(4)::after,
  .footer-regions li:nth-child(2)::after, .footer-regions li:nth-child(4)::after { display: none; }
}
@media (max-width: 600px) {
  .tiles, .tiles-4, .tiles-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) and (orientation: portrait) {
  /* the phone's own photograph: on a narrower screen keep the palm and the house, lose the right edge */
  .hero--photo .hero-media img { object-position: 30% 50%; }
}
@media (max-width: 600px) and (orientation: portrait) and (max-height: 700px) {
  /* a short screen: lift the hedges and the lawn into the part of the picture the type leaves clear */
  .hero--photo .hero-media img { object-position: 30% 80%; }
}
@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait) {
  /* an upright tablet gets the wide photograph; frame the house and the cypress, not the one pine */
  .hero--photo .hero-media img { object-position: 12% 60%; }
}
@media (max-width: 860px) and (orientation: portrait) {
  /* the tall still behind the tall clip (sitegen.py HERO_PHONE). A phone on its side keeps the wide pair. */
  .hero--video .hero-media { background-image: url("/images/hero-poster-m.jpg"); }
}
@media (max-width: 600px) and (orientation: portrait) and (max-height: 700px) {
  /* a short phone under the video: the shade starts lower, so more of the footage is left clear above the headline */
  .hero--video .hero-copy::before { inset: -3rem calc(var(--gut) * -1) -2.7rem;
    background: linear-gradient(0deg, rgba(15, 43, 42, .66) 0%, rgba(15, 43, 42, .73) 40%, rgba(15, 43, 42, .84) 62%, rgba(15, 43, 42, .76) 86%, rgba(15, 43, 42, 0) 100%); }
}
@media (max-width: 860px) and (orientation: landscape) and (max-height: 480px) {
  /* a phone held sideways: the tab bar would cover the hero's button */
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .hero--full .hero-in { min-height: calc(100svh - var(--head-h)); padding-top: 1rem; padding-bottom: 1.6rem; }
  /* and the shade goes back to one corner. The phone rule lays it across the full width,
     which on a screen this short dims the whole picture. */
  /* Oct 7 copy: two sentences under the pillars and a second link. A wider, tighter block keeps
     the paragraph to four lines and both actions on one row, so the whole hero is on the first screen. */
  .hero--full .hero-copy { max-width: 35rem; }
  .hero--full h1 { font-size: 1.75rem; margin-bottom: .35rem; }
  .hero--full .hero-pillars { font-size: 1rem; margin-bottom: .45rem; }
  .hero--full .hero-lede { font-size: .88rem; line-height: 1.45; margin-bottom: .7rem; max-width: none; }
  .hero-actions { flex-wrap: nowrap; gap: 0 1.4rem; }
  .hero--full .hero-copy::before { inset: -3rem -5rem -2.7rem calc(max(var(--gut), env(safe-area-inset-left)) * -1);
    background: linear-gradient(90deg, rgba(15, 43, 42, .82) 0%, rgba(15, 43, 42, .8) calc(100% - 5rem), rgba(15, 43, 42, 0) 100%);
    -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 80%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, #000 80%, transparent 100%); }
}
@media (min-width: 861px) and (orientation: landscape) and (max-height: 480px) {
  /* a large phone held sideways is wider than 860px and gets the desktop layout: keep its button on the first screen */
  .hero--full .hero-in { padding-top: 1rem; padding-bottom: 1.5rem; }
  /* and give it the sideways phone's type block and shade, or the desktop pair dims two thirds of so short a picture */
  .hero--full .hero-copy { max-width: 35rem; }
  .hero--full h1 { font-size: 1.75rem; margin-bottom: .35rem; }
  .hero--full .hero-pillars { font-size: 1rem; margin-bottom: .45rem; }
  .hero--full .hero-lede { font-size: .88rem; line-height: 1.45; margin-bottom: .7rem; max-width: none; }
  .hero-actions { flex-wrap: nowrap; gap: 0 1.4rem; }
  .hero--full .hero-copy::before { inset: -3rem -5rem -2.7rem calc(max(var(--gut), env(safe-area-inset-left)) * -1);
    background: linear-gradient(90deg, rgba(15, 43, 42, .82) 0%, rgba(15, 43, 42, .8) calc(100% - 5rem), rgba(15, 43, 42, 0) 100%);
    -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 80%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, #000 80%, transparent 100%); }
  .bleed.flip .bleed-text { padding-left: max(var(--gut), env(safe-area-inset-left)); }
  .bleed:not(.flip) .bleed-text { padding-right: max(var(--gut), env(safe-area-inset-right)); }
}
@media (orientation: landscape) and (max-height: 480px) {
  /* A phone on its side lays the page out under the notch (viewport-fit=cover). Keep every line clear of it.
     The inset is 0 on anything without a notch, so nothing else moves. Not everything sits in a .wrap:
     the captions under the five photographs and the open menu are padded too. */
  .wrap { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
  .expect { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .drawer-panel { padding-right: max(1.5rem, env(safe-area-inset-right)); }
}
@media (max-width: 860px) and (orientation: landscape) and (max-height: 480px) {
  .bleed-text, .bleed.flip .bleed-text { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
  .story, .svc-photo { margin-left: calc(max(var(--gut), env(safe-area-inset-left)) * -1); margin-right: calc(max(var(--gut), env(safe-area-inset-right)) * -1); }
  .story-cap { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
}
@media (min-width: 861px) and (orientation: landscape) and (max-height: 400px) {
  /* the same phones with the browser's bar showing: less height still */
  .hero--full .hero-in { padding-top: .5rem; padding-bottom: 1.1rem; }
  .hero--full .hero-pillars { margin-bottom: .4rem; }
  .hero--full .hero-lede { margin-bottom: .6rem; }
}
@media (max-width: 860px) and (orientation: landscape) and (max-height: 359px) {
  .hero--full .hero-in { padding-top: .5rem; padding-bottom: 1.1rem; }
  .hero--full .hero-pillars { margin-bottom: .4rem; }
  .hero--full .hero-lede { margin-bottom: .6rem; }
}
@media (max-width: 860px) {
  .cg-grid { grid-template-columns: minmax(0, 1fr); }
  .cg-grid .btn { justify-self: stretch; }
  .area-grid, .videos.pair { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .proof-row { flex-direction: column; align-items: center; gap: 0; padding: .8rem 0; }
  .proof-row li + li { border-left: 0; }
  .hero-actions { gap: .2rem 1.4rem; }
  .hero-link { font-size: .72rem; letter-spacing: .16em; }
  .footer-reach { flex-direction: column; }
  .footer-reach li:not(:last-child)::after { display: none; }
  .footer-license { flex-direction: column; }
  .footer-license li:not(:last-child)::after { display: none; }
  /* five links: three on the first line, two on the second, no stray dot at a line end */
  /* five names do not fit one row on a phone. Left to wrap where it liked, the row broke after the
     fourth and dropped a dot. This breaks it after the third, always: three names, then two. */
  .footer-legal li:nth-child(-n+3) { order: 1; }
  .footer-legal::after { content: ""; flex-basis: 100%; height: 0; order: 2; }
  .footer-legal li:nth-child(n+4) { order: 3; }
  .footer-legal li:nth-child(3)::after { display: none; }
  .link-row { flex-direction: column; align-items: center; gap: .2rem; }
}
@media (max-width: 430px) {
  .btn { letter-spacing: .12em; padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 414px) {
  .statement p.big { font-size: min(1.55rem, 5.6vw); }
}
@media (max-width: 410px) {
  .drawer-foot .btn { letter-spacing: .04em; padding-left: .5rem; padding-right: .5rem; }
}
@media (max-width: 370px) {
  .hero--full h1 { font-size: 1.75rem; }
  .pillars .sign { font-size: 1.3rem; }
}
@media (max-width: 365px) {
  .btn { letter-spacing: .08em; }
  .finale > .wrap { min-width: 0; }
  .drawer-foot .btn { letter-spacing: .02em; }
}
@media (max-width: 350px) {
  .btn { letter-spacing: .06em; font-size: .74rem; padding-left: .7rem; padding-right: .7rem; }
  .hero-copy .btn { width: 100%; }
  .finale > .wrap { min-width: 0; }
  .bleed-text h2 { font-size: 1.7rem; }
  .drawer-foot .btn { letter-spacing: .02em; font-size: .7rem; }
}
@media (max-width: 350px) {
  /* the narrowest phones: the script takes the mark's room so "Montclair" stays readable */
  .site-header .brand-mark { display: none; }
  .brand-script, .site-header.is-stuck .brand-script { width: calc(100vw - 118px); }
}
@media (max-width: 340px) {
  .svc-split h2 { font-size: 1.75rem; }
  .footer-top p.footer-license { font-size: .76rem; }
  .hero--full h1 { font-size: 1.6rem; }
  .pillars .sign { font-size: 1.15rem; }
  .footer-svc li, .footer-regions li { flex-basis: 100%; justify-content: center; }
  .footer-svc li::after, .footer-regions li::after { display: none !important; }
  .footer-nav li:not(:last-child)::after { margin: 0 .35rem; }
}
@media (max-width: 400px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .site-header, .tabbar, .drawer, .concierge, .site-footer .footer-bar { display: none; }
  /* a section the reader has not scrolled to yet is still waiting to fade in: on paper it must simply be there */
  .js .rv, .js .rv-zoom img, .js .rv.is-in { opacity: 1 !important; transform: none !important; }
}
