/* Whitmere Private — ultra luxury. Deep green-black, ivory, brass. Cormorant Garamond + Manrope. */
:root {
  --night: #0e1311;
  --forest: #17211c;
  --ivory: #f4f0e8;
  --stone: #e9e3d8;
  --ink: #141917;
  --soft: #4b524c;
  --brass: #b8925a;
  --brass-hi: #d4b07a;
  --line: rgba(20, 25, 23, .14);
  --line-l: rgba(244, 240, 232, .22);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --m: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
::selection { background: var(--brass); color: var(--night); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: -999px; top: 10px; z-index: 200; background: var(--night); color: var(--ivory); padding: 10px 16px; }
.skip:focus { left: 10px; }
.linkish { text-decoration: underline; text-underline-offset: 4px; }

/* Film grain over everything, very faint */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--brass { background: var(--brass); color: var(--night); }
.btn--brass::before { background: var(--ivory); }
.btn--ghost { border: 1px solid rgba(244, 240, 232, .55); color: var(--ivory); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--night); }
.btn--dark { background: var(--night); color: var(--ivory); }
.btn--dark::before { background: var(--brass); }
.btn--dark:hover { color: var(--night); }
.btn--ivory { background: var(--ivory); color: var(--night); }
.btn--ivory::before { background: var(--brass); }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--brass); pointer-events: none; mix-blend-mode: normal; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease); opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(184, 146, 90, .92); }
.cursor__label { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--night); opacity: 0; transition: opacity .3s; }
.cursor.big .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 150; background: var(--night); color: var(--brass-hi); display: grid; place-content: center; justify-items: center; gap: 26px; }
.intro__mono { width: 96px; height: 96px; }
.intro__word { font: 300 clamp(26px, 3vw, 38px)/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; color: var(--ivory); }
html:not(.js) .intro { display: none; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--m); color: var(--ivory); transition: background .6s var(--ease), color .6s var(--ease), padding .6s var(--ease); }
.nav.solid { background: rgba(244, 240, 232, .9); color: var(--ink); padding-top: 14px; padding-bottom: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.hide { transform: translateY(-100%); }
.nav { transition: transform .6s var(--ease), background .6s var(--ease), color .6s var(--ease), padding .6s var(--ease); }
.nav__mark { display: flex; align-items: center; gap: 12px; font: 400 20px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.nav__mark svg { width: 34px; height: 34px; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 42px); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 13px 22px; }
.nav__mark, .nav__links a, .nav__cta { white-space: nowrap; }
@media (max-width: 1180px) { .nav__links { display: none; } }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--ivory); background: var(--ivory); }
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: var(--night); will-change: clip-path; }
.hero { background: var(--night); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Gold light sweep across the italic line */
.hero__title em { background: linear-gradient(100deg, var(--brass-hi) 0%, var(--brass-hi) 42%, #f6e7c8 50%, var(--brass-hi) 58%, var(--brass-hi) 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title em.sheen { animation: sheen 7s cubic-bezier(.45,.05,.25,1) infinite; }
@keyframes sheen { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0% 0; } }
/* Thin brass arch that traces the opening, then fades */
.hero__arch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--brass-hi); opacity: 0; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,12,.62) 0%, rgba(10,14,12,.28) 45%, rgba(10,14,12,0) 70%), linear-gradient(180deg, rgba(10,14,12,.55) 0%, rgba(10,14,12,.12) 36%, rgba(10,14,12,.3) 62%, rgba(10,14,12,.82) 100%); }
.hero__content { position: absolute; left: var(--m); right: var(--m); bottom: clamp(72px, 13vh, 140px); display: grid; gap: 28px; }
.hero__kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: rgba(244,240,232,.85); }
.hero__title { font: 300 clamp(52px, 8.6vw, 156px)/.92 var(--serif); letter-spacing: -.02em; max-width: 13ch; }
.hero__title { max-width: none; }
.hero__title span, .hero__title em { display: block; }
.hero__title em { font-weight: 300; color: var(--brass-hi); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cue { position: absolute; right: var(--m); bottom: clamp(72px, 13vh, 140px); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(244,240,232,.75); }
.hero__cue span { width: 1px; height: 64px; background: rgba(244,240,232,.3); position: relative; overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Shared headings */
.h2 { font: 300 clamp(44px, 6vw, 104px)/.95 var(--serif); letter-spacing: -.02em; }
.h2 em { color: var(--brass); }
.split .line, .split-line { overflow: hidden; padding-bottom: .06em; }

/* Statement */
.statement { position: relative; padding: clamp(120px, 22vh, 260px) var(--m) clamp(110px, 18vh, 220px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.statement__text { grid-column: 1 / 10; font: 300 clamp(34px, 4.2vw, 72px)/1.12 var(--serif); letter-spacing: -.01em; }
.statement__text .w { color: rgba(20, 25, 23, .16); transition: color .2s linear; }
.statement__img { grid-column: 10 / 13; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; }

/* Household — horizontal */
.household { background: var(--night); color: var(--ivory); overflow: hidden; }
.household__pin { height: 100svh; display: flex; align-items: center; gap: clamp(40px, 5vw, 90px); padding-left: var(--m); }
.household__head { flex: 0 0 min(440px, 34vw); display: grid; gap: 30px; align-content: center; align-self: stretch; position: relative; z-index: 2; background: var(--night); margin-left: calc(-1 * var(--m)); padding-left: var(--m); padding-right: clamp(20px, 2vw, 40px); box-shadow: 90px 0 70px -10px var(--night); flex-basis: calc(min(440px, 34vw) + var(--m)); }
.household .h2 em { color: var(--brass-hi); }
.household__lede { color: rgba(244,240,232,.72); max-width: 36ch; font-size: 16px; }
.household__progress { display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .2em; color: rgba(244,240,232,.6); }
.household__progress i { position: relative; width: 140px; height: 1px; background: var(--line-l); }
.household__progress b { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--brass-hi); transform-origin: left; transform: scaleX(0); }
.household__track { display: flex; gap: clamp(20px, 2.4vw, 40px); padding-right: var(--m); will-change: transform; }
.role { flex: 0 0 clamp(260px, 25vw, 400px); display: grid; gap: 16px; }
.role figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: var(--forest); }
.role img { width: 100%; height: 100%; object-fit: cover; transition: filter 1s var(--ease); filter: saturate(.92); }
.role:hover img { filter: saturate(1.05) brightness(1.04); }
.role h3 { font: 300 clamp(30px, 2.6vw, 44px)/1 var(--serif); }
.role h3 em { color: var(--brass-hi); }
.role p { font-size: 15px; color: rgba(244,240,232,.7); max-width: 34ch; }

/* Estate care */
.estate { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); }
.estate__media { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.estate__video { width: 100%; height: 100%; object-fit: cover; }
.estate__body { padding: clamp(110px, 18vh, 200px) var(--m) clamp(110px, 18vh, 200px) clamp(40px, 5vw, 96px); display: grid; gap: 40px; align-content: start; }
.estate__lede { font: 400 clamp(20px, 1.6vw, 26px)/1.45 var(--serif); color: var(--soft); max-width: 34ch; }
.estate__list { display: grid; }
.line-item { position: relative; display: grid; gap: 6px; padding: 26px 0; }
.line-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; transform: scaleX(var(--s, 1)); }
.line-item__t { font: 400 clamp(26px, 2.2vw, 36px)/1.1 var(--serif); }
.line-item__d { color: var(--soft); max-width: 46ch; }
.estate .btn { justify-self: start; }

/* Method */
.method { padding: clamp(120px, 20vh, 240px) var(--m); }
.method__h { max-width: 16ch; margin-bottom: clamp(60px, 10vh, 120px); }
.method__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 120px); align-items: start; }
.method__images { position: sticky; top: 14vh; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--stone); }
.m-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.m-img.is-on { opacity: 1; }
.method__steps { display: grid; gap: clamp(80px, 16vh, 180px); padding: 6vh 0 12vh; }
.step { display: grid; gap: 14px; max-width: 520px; }
.step__n { font: 300 clamp(64px, 7vw, 120px)/1 var(--serif); color: var(--brass); letter-spacing: -.02em; }
.step h3 { font: 400 clamp(30px, 2.8vw, 46px)/1.05 var(--serif); }
.step p { color: var(--soft); font-size: 17px; max-width: 44ch; }

/* Marquee */
.marquee { background: var(--forest); color: var(--ivory); padding: clamp(30px, 5vh, 56px) 0; overflow: hidden; }
.marquee__row { display: flex; width: max-content; font: 300 italic clamp(44px, 6vw, 96px)/1 var(--serif); white-space: nowrap; }
.marquee__row span { padding-right: .4em; }
.marquee__row i { color: var(--brass-hi); font-style: normal; padding: 0 .35em; }

/* Doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--night); }
.door { position: relative; min-height: 88svh; overflow: hidden; color: var(--ivory); display: flex; align-items: flex-end; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1.2s var(--ease); filter: brightness(.55) saturate(.9); }
.door:hover img { filter: brightness(.66) saturate(1); }
.door__body { position: relative; padding: clamp(32px, 5vw, 80px); display: grid; gap: 18px; max-width: 560px; }
.door__k { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-hi); }
.door__h { font: 300 clamp(44px, 4.6vw, 80px)/.98 var(--serif); }
.door__body > p:not(.door__k) { color: rgba(244,240,232,.8); max-width: 38ch; }
.door .btn { justify-self: start; margin-top: 8px; }

/* FAQ */
.faq { padding: clamp(120px, 20vh, 220px) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 120px); align-items: start; }
.faq .h2 { position: sticky; top: 16vh; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; text-align: left; font: 400 clamp(22px, 1.9vw, 30px)/1.2 var(--serif); transition: color .4s var(--ease); }
.qa__q:hover { color: var(--brass); }
.qa__q i { position: relative; width: 16px; height: 16px; flex: none; }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.qa__q i::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.qa__a { height: 0; overflow: hidden; }
.qa__a p { padding: 0 0 30px; color: var(--soft); max-width: 58ch; font-size: 16px; }
html:not(.js) .qa__a { height: auto; }

/* Finale */
.finale { position: relative; min-height: 100svh; color: var(--ivory); overflow: hidden; background: var(--night); }
.finale__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finale__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,12,.65) 0%, rgba(10,14,12,.35) 45%, rgba(10,14,12,.85) 100%); }
.finale__inner { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr auto; gap: 26px; padding: clamp(110px, 18vh, 200px) var(--m) 28px; }
.finale__lede { font: 300 clamp(44px, 5.6vw, 96px)/.98 var(--serif); max-width: 14ch; }
.finale__lede em { color: var(--brass-hi); }
.finale__actions { display: grid; gap: 10px; }
.finale__mail { font: 300 clamp(24px, 2.4vw, 40px)/1.1 var(--serif); border-bottom: 1px solid rgba(244,240,232,.4); justify-self: start; padding-bottom: 6px; transition: color .4s var(--ease), border-color .4s var(--ease); }
.finale__mail:hover { color: var(--brass-hi); border-color: var(--brass-hi); }
.finale__actions p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,240,232,.7); }
.finale__word { align-self: end; display: flex; justify-content: space-between; font: 300 clamp(80px, 19.5vw, 340px)/.8 var(--serif); letter-spacing: -.02em; overflow: hidden; padding-top: .06em; }
.finale__word span { display: inline-block; will-change: transform; }
.finale__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,240,232,.65); border-top: 1px solid var(--line-l); padding-top: 20px; }
.finale__base p:last-child { display: flex; gap: 22px; }
.finale__base .linkish { text-decoration: none; }
.finale__base .linkish:hover { color: var(--brass-hi); }

/* Dialogs */
.dlg { border: 0; padding: 0; background: var(--ivory); color: var(--ink); width: min(760px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; border-radius: 6px; }
.dlg::backdrop { background: rgba(10, 14, 12, .72); backdrop-filter: blur(6px); }
.dlg[open] { animation: dlg .7s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.form { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.form__head h2 { font: 300 clamp(34px, 3.4vw, 52px)/1 var(--serif); }
.x { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.form__intro { color: var(--soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.form input:not([type="checkbox"]), .form select, .form textarea { font: 400 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(20,25,23,.3); padding: 10px 0; border-radius: 0; width: 100%; transition: border-color .4s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--brass); }
.form textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.form .checks label, .form .consent { flex-direction: row; align-items: center; gap: 10px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.form .consent { align-items: flex-start; }
.form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brass); flex: none; margin-top: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { min-height: 1.5em; }
.form__msg.err { color: #8f2a1f; }
.form .btn { align-self: flex-start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form.sent > :not(.form__head):not(.thanks) { display: none; }
.thanks { font: 300 clamp(26px, 2.4vw, 36px)/1.2 var(--serif); }

/* Phone */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__mark span { display: none; }
  .hero__cue { display: none; }
  .hero__title { font-size: clamp(48px, 13vw, 84px); }
  .statement { grid-template-columns: 1fr; }
  .statement__text, .statement__img { grid-column: auto; }
  .statement__img { width: 56%; justify-self: end; }
  .household__pin { height: auto; display: block; padding: 100px var(--m); }
  .household__head { margin-bottom: 48px; }
  .household__progress { display: none; }
  .household__track { flex-direction: column; padding-right: 0; gap: 56px; transform: none !important; }
  .role { flex: none; }
  .estate { grid-template-columns: 1fr; }
  .estate__media { position: relative; height: 62svh; }
  .estate__body { padding: 80px var(--m); }
  .method__grid { grid-template-columns: 1fr; }
  .method__images { position: relative; top: 0; }
  .method__steps { gap: 64px; padding-top: 40px; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 78svh; }
  .faq { grid-template-columns: 1fr; }
  .faq .h2 { position: static; }
  .grid2, .checks { grid-template-columns: 1fr; }
  .finale__word { font-size: 22vw; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .hero__cue span::after { animation: none; }
  .intro { display: none; }
  .statement__text .w { color: inherit; }
  * { transition-duration: .01ms !important; }
}
