/* Isolated homepage presentation. No logo, header, form or workflow selectors. */
.hero {
  min-height: 760px; height: min(860px, 88svh); max-height: none;
  margin: 18px clamp(12px, 2vw, 32px) 34px; border-radius: 28px;
  overflow: hidden; box-shadow: 0 28px 65px #142e2d26; isolation: isolate;
}
.hero .estate-scene { transform-origin: 64% 50%; }
.hero .hero-shade {
  background: linear-gradient(90deg,#0a211ef5 0%,#0a211ebd 33%,#0a211e20 72%),linear-gradient(0deg,#0a211ef0 0%,transparent 45%);
}
/* Anchor the crescent inside the hero so the moving background cannot crop it. */
.hero .estate-night-sky :is(circle[mask="url(#moonCrescent)"],circle[filter="url(#moonHalo)"]) {
  display:none;
}
.hero .hero-shade::after {
  content:"";
  position:absolute;
  top:clamp(26px,4.5%,48px);
  left:50%;
  width:clamp(28px,3vw,42px);
  aspect-ratio:1;
  border-radius:50%;
  background:#ecebd6;
  -webkit-mask-image:radial-gradient(circle at 68% 31%,transparent 53%,#000 55%);
  mask-image:radial-gradient(circle at 68% 31%,transparent 53%,#000 55%);
  pointer-events:none;
  opacity:0;
}
[data-theme=dark] .hero .hero-shade::after { opacity:1; }
@media(max-width:760px) {
  .hero .hero-shade::after { top:20px; left:auto; right:9%; }
}
.hero::before {
  content:""; position:absolute; width:70%; height:100%; right:-18%; top:-45%;
  background:radial-gradient(ellipse,#d5bb833d,transparent 65%);
  pointer-events:none; z-index:1; transform:rotate(-25deg);
}
.hero::after {
  content:""; position:absolute; inset:14px; border:1px solid #d5bb8345;
  border-radius:19px; pointer-events:none; z-index:1;
}
.hero .hero-content { padding:60px 5.5% 170px; }
.hero h1 { font-size:clamp(58px,6.8vw,102px); line-height:1.01; letter-spacing:-2.8px; text-shadow:0 8px 40px #071b1955; }
.hero .eyebrow { display:inline-flex; align-items:center; gap:12px; margin-bottom:24px; }
.hero .eyebrow::before { content:""; width:28px; height:1px; background:currentColor; }
.hero .hero-desc { max-width:420px; font-size:15px; line-height:1.8; margin-top:26px; }
.hero .hero-actions { margin-top:30px; }
.hero .hero-actions .btn { min-height:55px; border-radius:10px; padding:17px 24px; box-shadow:0 10px 30px #0002; }
.hero .hero-actions .hero-secondary { background:#102d2bb0; border-color:#e5dac066; }
.hero .hero-note {
  position:absolute; left:5.5%; right:5.5%; bottom:36px; margin:0; display:grid;
  grid-template-columns:repeat(3,1fr); gap:14px; max-width:720px;
}
.hero .hero-note i { display:none; }
.hero .hero-note span {
  display:flex; align-items:center; min-height:66px; padding:20px;
  border:1px solid #d5bb8366; border-radius:12px; background:linear-gradient(135deg,#e5dac01c,#102d2b99);
  box-shadow:0 12px 32px #0002,inset 0 1px 0 #ffffff18;
  font-size:10px; letter-spacing:2px; color:#f1ead9;
}
.hero .hero-caption {
  right:5.5%; bottom:190px; max-width:230px; padding:22px 24px;
  border-left:2px solid var(--gold); border-radius:0 14px 14px 0;
  background:linear-gradient(110deg,#142e2dd9,#142e2d55); color:#f1ead9;
  font:18px/1.6 var(--serif); text-align:left; box-shadow:0 18px 45px #0002;
}
.hero .scene-controls { bottom:15px; left:auto; right:5.5%; }
.hero .scene-caption { font-size:7px; letter-spacing:1.8px; }
/* Marketing sections become architectural panels, while all content stays in place. */
main > #included { padding-top:84px; padding-bottom:84px; }
main > #included h2 { font-size:clamp(36px,4.2vw,60px); }
main > #included .intro-points { gap:16px; }
main > #included .intro-points span { padding:16px 20px; border:1px solid var(--line); border-radius:12px; background:var(--sand); box-shadow:0 12px 30px #142e2d08; }
main > .why {
  margin:40px clamp(12px,2vw,32px); padding:100px 8%; border-radius:28px;
  overflow:hidden; isolation:isolate; color:#f5f0e2; background:#142e2d;
  min-height:540px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow:0 24px 55px #142e2d22;
}
main > .why::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background:linear-gradient(90deg,#102d2be8,#102d2b9c,#102d2bd9),url('/estate-hero.jpg') 65% 68%/cover;
}
main > .why::after {
  content:""; position:absolute; inset:22px; z-index:-1; pointer-events:none;
  border:1px solid #d5bb8366; border-radius:16px;
  background:radial-gradient(ellipse at 50% 0%,#d5bb831c,transparent 65%);
}
main > .why h2 { font-size:clamp(38px,5vw,72px); line-height:1.05; margin:15px 0 22px; }
main > .why > p:not(.eyebrow) { color:#e0e8df; max-width:610px; }
main > .why .eyebrow { color:#d5bb83; }
main > .why .feature-list { gap:10px; justify-content:center; max-width:760px; }
main > .why .feature-list span { background:#142e2dbd; color:#f5f0e2; border:1px solid #d5bb8366; padding:12px 18px; border-radius:9px; font-size:11px; }
main > .why .text-link { color:#f5f0e2; border-color:#d5bb83; padding:12px 0; }
main > .home-terms { border:1px solid var(--line); border-radius:20px; box-shadow:0 18px 50px #142e2d0a; }
main > .service-directory > nav ul { gap:16px; }
main > .service-directory > nav a {
  min-height:110px; padding:22px; border-radius:16px; position:relative;
  background:linear-gradient(130deg,var(--cream),var(--sand));
  box-shadow:0 12px 30px #142e2d0c,inset 0 1px 0 #ffffff14;
}
main > .service-directory .service-directory-arrow {
  border:1px solid var(--line); border-radius:50%; width:32px; height:32px;
  display:flex; align-items:center; justify-content:center; color:var(--ink);
}
main > .faq .faq-items { border:1px solid var(--line); padding:8px 24px; border-radius:20px; background:var(--sand); box-shadow:0 18px 50px #142e2d08; }
[data-theme=dark] .hero { box-shadow:0 28px 70px #0006; }
[data-theme=dark] .hero::before { background:radial-gradient(ellipse,#8da5c733,transparent 65%); }
/* No looping motion: a cinematic arrival, followed by scroll-driven depth on touch and desktop. */
@media (prefers-reduced-motion: no-preference) {
  .uei-depth-enabled .hero .estate-scene {
    transform:perspective(1600px) translate3d(var(--uei-x,0px),var(--uei-y,0px),0) rotateX(var(--uei-rx,0deg)) rotateY(var(--uei-ry,0deg)) scale(1.09);
    transition:transform 700ms cubic-bezier(.22,.61,.36,1); will-change:transform;
  }
  .uei-depth-enabled .hero::before { animation:uei-light-arrive 2400ms ease-out both; }
  .uei-depth-enabled .hero .hero-content > :not(.hero-note) { animation:uei-copy-arrive 1100ms cubic-bezier(.22,.61,.36,1) both; }
  .uei-depth-enabled .hero .hero-note span { animation:uei-card-arrive 1200ms cubic-bezier(.22,.61,.36,1) both; }
  .uei-depth-enabled .hero .hero-note span:nth-of-type(2) { animation-delay:100ms; }
  .uei-depth-enabled .hero .hero-note span:nth-of-type(3) { animation-delay:200ms; }
  .uei-depth-enabled .uei-depth-enter { animation:uei-section-arrive 1000ms cubic-bezier(.22,.61,.36,1) both; }
  .hero .hero-actions .btn, main > .service-directory > nav a { transition:box-shadow 250ms ease,border-color 250ms ease,background-color 250ms ease; }
  .hero .hero-actions .btn:hover { box-shadow:0 14px 38px #0004,0 0 0 2px #d5bb834d; }
  main > .service-directory > nav a:hover { box-shadow:0 20px 40px #142e2d25; border-color:var(--gold); }
}
@keyframes uei-copy-arrive { from { transform:translateY(22px); } to { transform:none; } }
@keyframes uei-card-arrive { from { transform:perspective(800px) translateY(32px) rotateX(12deg); } to { transform:none; } }
@keyframes uei-section-arrive { from { transform:perspective(1400px) translateY(28px) rotateX(2deg); } to { transform:none; } }
@keyframes uei-light-arrive { from { transform:translateX(-35%) rotate(-25deg); opacity:.2; } to { transform:translateX(0) rotate(-25deg); opacity:1; } }
@media(max-width:1100px) { .hero .hero-caption { bottom:180px; right:5%; font-size:16px; max-width:200px; } .hero h1 { font-size:clamp(58px,7.2vw,84px); } }
@media(max-width:760px) {
  .hero { margin:12px 12px 24px; min-height:820px; height:auto; border-radius:22px; }
  .hero .hero-content { padding:72px 7% 210px; align-self:flex-start; }
  .hero h1 { font-size:clamp(46px,8.3vw,65px); letter-spacing:-1.5px; }
  .hero .estate-photo { background-position:62% center; }
  .hero .hero-shade { background:linear-gradient(180deg,#0a211eeb 0%,#0a211ea8 40%,#0a211e20 66%,#0a211ef5 100%); }
  .hero .hero-desc { max-width:340px; font-size:14px; }
  .hero .hero-note { bottom:28px; left:7%; right:7%; gap:7px; max-width:none; }
  .hero .hero-note span { padding:14px 8px; min-height:58px; font-size:8px; letter-spacing:1px; justify-content:center; }
  .hero .hero-caption { right:7%; bottom:72px; font-size:17px; padding:14px 18px; max-width:230px; }
  .hero .scene-controls { left:7%; right:auto; bottom:20px; }
  .hero .scene-caption { max-width:none; font-size:6px; }
  main > #included { padding:50px 7%; }
  main > #included .intro-points { display:grid; gap:10px; }
  main > .why { min-height:570px; padding:65px 8%; margin:24px 12px; border-radius:22px; }
  main > .why::after { inset:12px; }
  main > .why h2 { font-size:clamp(36px,7vw,52px); }
  main > .why .feature-list span { padding:10px 12px; }
  main > .service-directory > nav a { min-height:90px; padding:20px; }
  main > .faq .faq-items { margin-top:24px; padding:4px 18px; }
}
@media(max-width:420px) {
  .hero { min-height:850px; }
  .hero .hero-content { padding-top:50px; padding-bottom:180px; }
  .hero h1 { font-size:45px; }
  .hero .hero-actions { gap:10px; }
  .hero .hero-actions .btn { width:100%; min-height:50px; padding:14px 18px; }
  .hero .hero-caption { bottom:66px; }
  .hero .hero-note { bottom:28px; }
  .hero .hero-note span { letter-spacing:.4px; font-size:7px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero .estate-scene,.hero .hero-content > *,.uei-depth-enter { transform:none!important; animation:none!important; transition:none!important; will-change:auto!important; }
  .hero::before { animation:none!important; }
}
/* Keep the glass step strip anchored to the full scene, not the text block. */
.hero .hero-content { min-height:inherit; height:100%; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
@media(max-width:1100px) and (min-width:761px) { .hero .hero-caption { bottom:130px; font-size:15px; } }
@media(max-width:760px) { .hero .hero-content { height:auto; justify-content:flex-start; } .hero .hero-note { bottom:50px; } .hero .hero-caption { bottom:140px; } }
