/* Decorative autumn leaves stay inside the landing hero, beneath its content. */
#home.fall-hero .fall-leaves {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  perspective: 900px;
  mask-image: linear-gradient(transparent, #000 12%, #000 82%, transparent);
}
#home.fall-hero .fall-leaves > span {
  position: absolute;
  top: -110px;
  bottom: -110px;
  left: var(--x);
  width: var(--size);
  animation: fall-leaf-drop var(--duration) var(--delay) linear infinite;
}
#home.fall-hero .fall-leaves i {
  display: block;
  width: var(--size);
  height: calc(var(--size) * 1.2);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2048%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x2%3D%22.8%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23f4c577%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ca7732%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2375351f%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22url%28%23a%29%22%20d%3D%22m20%201%205%2012%206-5-1%2012%209-2-6%2012%205%203-15%205-2%209h-2l1-10L5%2033l5-5-9-9%2012%201-2-12%207%205Z%22%2F%3E%3Cpath%20d%3D%22m20%2043%201-31m0%2017%209-8m-9%2012-10-8m10-3-5-7m5%2013%208-3%22%20fill%3D%22none%22%20stroke%3D%22%23693b24%22%20stroke-opacity%3D%22.6%22%20stroke-width%3D%22.7%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  filter: hue-rotate(var(--hue)) blur(var(--blur, 0px)) drop-shadow(2px 5px 5px #21100755);
  animation: fall-leaf-sway var(--sway, 7s) var(--delay) ease-in-out infinite alternate;
}
/* Distant specks, sharp middle leaves, and soft foreground silhouettes. */
#home.fall-hero .fall-leaves > span:nth-child(3n + 1) {
  --blur: 1.2px;
  --alpha: .32;
  --scale: .55;
  --sway: 9s;
}
#home.fall-hero .fall-leaves > span:nth-child(3n + 2) {
  --alpha: .72;
  --scale: 1;
  --sway: 6s;
}
#home.fall-hero .fall-leaves > span:nth-child(3n) {
  --blur: 2px;
  --alpha: .48;
  --scale: 2.4;
  --sway: 8s;
}
@keyframes fall-leaf-drop {
  0% { transform: translate3d(-50px, 0, 0); opacity: 0; }
  12% { opacity: var(--alpha); }
  35% { transform: translate3d(calc(var(--drift) + 35px), 34%, 0); }
  65% { transform: translate3d(calc(var(--drift) - 55px), 66%, 0); }
  85% { opacity: var(--alpha); }
  100% { transform: translate3d(calc(var(--drift) + 110px), 100%, 0); opacity: 0; }
}
@keyframes fall-leaf-sway {
  0% { transform: translateX(-30px) rotate(-55deg) rotateY(20deg) scale(var(--scale)); }
  45% { transform: translateX(12px) rotate(15deg) rotateY(105deg) scale(var(--scale)); }
  100% { transform: translateX(45px) rotate(95deg) rotateY(195deg) scale(var(--scale)); }
}
@media (max-width: 760px) {
  #home.fall-hero .fall-leaves > span:nth-child(even) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #home.fall-hero .fall-leaves { display: none; }
  #home.fall-hero .fall-leaves > span, #home.fall-hero .fall-leaves i { animation: none; }
}

/* Homepage-only Fall campaign. All campaign styles are scoped to this hero. */
#home.fall-hero {
  --fall-gold: #e9b77b;
  background: #151311;
  isolation: isolate;
  min-height: min(960px, 100svh);
  display: flex;
  align-items: center;
  padding: 172px 0 82px;
  color: #fbf5ed;
}
#home.fall-hero::before {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #151311f5 0%, #151311e8 24%, #1513118c 47%, #15131100 72%), linear-gradient(0deg, #151311 0%, #15131100 27%, #15131100 78%, #15131166);
}
#home.fall-hero::after { z-index: 1; opacity: .24; pointer-events: none; }
#home.fall-hero .fall-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; transform: translate3d(var(--fall-pan-x, 0px), var(--fall-pan-y, 0px), 0) scale(1.025); transition: transform 1s ease-out; }
#home.fall-hero .fall-backdrop { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 65% center; mask-image: linear-gradient(90deg, transparent 48%, #000 70%); animation: fall-product-reveal 3s .3s both, fall-camera 32s ease-in-out infinite alternate; }
#home.fall-hero .fall-rays {
  position: absolute; inset: -25%;
  background: conic-gradient(from 165deg at 80% 8%, transparent 0deg, #f4c58013 9deg, transparent 15deg, transparent 22deg, #f4c58019 27deg, transparent 34deg, #f4c5800e 39deg, transparent 44deg);
  filter: blur(12px);
  transform-origin: 80% 8%;
  animation: fall-sunrise 3.5s ease-out both, fall-light 22s ease-in-out infinite alternate;
}
#home.fall-hero .fall-bokeh {
  position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(circle at 67% 20%, #f9d2917a 0 1px, transparent 3px), radial-gradient(circle at 78% 38%, #f9d29160 0 2px, transparent 5px), radial-gradient(circle at 53% 65%, #e9b77b52 0 1px, transparent 3px), radial-gradient(circle at 93% 58%, #f9d29135 0 5px, transparent 14px), radial-gradient(circle at 42% 30%, #f9d29138 0 1px, transparent 4px), radial-gradient(circle at 87% 80%, #f9d29145 0 2px, transparent 8px);
  animation: fall-dust 18s ease-in-out infinite alternate;
}
#home.fall-hero .fall-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px 24px; width: min(1200px, 92vw); }
#home.fall-hero .hero-text { max-width: 680px; align-self: center; }
#home.fall-hero .fall-eyebrow { display: flex; align-items: center; gap: 12px; font-size: .67rem; font-weight: 700; letter-spacing: .2em; color: #e9c8a1; margin-bottom: 28px; animation: fall-enter 1.1s .15s both; }
#home.fall-hero .fall-eyebrow > span { width: 24px; height: 1px; background: var(--fall-gold); }
#home.fall-hero .fall-eyebrow b { opacity: .4; font-weight: 400; }
#home.fall-hero h1 { font-size: clamp(3.2rem, 5.5vw, 5.6rem); line-height: .99; letter-spacing: -.045em; font-weight: 700; margin: 0 0 26px; text-wrap: balance; animation: fall-enter 1.4s .35s both; }
#home.fall-hero h1 em { display: block; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.15; letter-spacing: -.055em; color: var(--fall-gold); }
#home.fall-hero .sub { max-width: 475px; font-size: 1.02rem; line-height: 1.8; color: #e0d6c9; margin-bottom: 30px; animation: fall-enter 1.3s .55s both; }
#home.fall-hero .hero-actions { gap: 12px; margin-bottom: 27px; animation: fall-enter 1.2s .75s both; }
#home.fall-hero .btn { min-height: 52px; border-radius: 5px; font-size: .7rem; letter-spacing: .065em; padding: 17px 21px; }
#home.fall-hero .btn-primary { background: #edbd83; color: #241a11; border: 1px solid #f3d2a8; box-shadow: 0 10px 35px #c78c3a20; }
#home.fall-hero .btn-primary:hover { background: #f6d5ac; transform: translateY(-2px); box-shadow: 0 12px 35px #c78c3a40; }
#home.fall-hero .btn-ghost-light { background: #211a1540; border-color: #e9c8a148; color: #fbf5ed; }
#home.fall-hero .btn-ghost-light:hover { background: #e9b77b18; border-color: var(--fall-gold); transform: translateY(-2px); }
#home.fall-hero a:focus-visible, #home.fall-hero button:focus-visible { outline: 2px solid #f6d5ac; outline-offset: 5px; }
#home.fall-hero .hero-trust { gap: 9px; font-size: .69rem; color: #c8bbaa; animation: fall-enter 1.2s .95s both; }
#home.fall-hero .hero-trust a { color: inherit; }
#home.fall-hero .hero-trust b { color: #f8ead9; }
#home.fall-hero .stars { font-size: .8rem; color: #e9b77b; letter-spacing: 1px; }
#home.fall-hero .fall-product-story { position: relative; min-height: 400px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; animation: fall-enter 1.8s 1s both; }
#home.fall-hero .fall-product-index { color: #edd7bd; font-size: .57rem; letter-spacing: .19em; padding-top: 5px; text-shadow: 0 2px 8px #151311; }
#home.fall-hero .fall-product-caption { display: flex; align-items: center; gap: 16px; padding: 18px 0; text-shadow: 0 2px 12px #151311; }
#home.fall-hero .fall-product-caption p { font-size: .78rem; color: #e7d4bc; line-height: 1.6; margin: 0; }
#home.fall-hero .fall-product-caption strong { color: #fff1df; font-size: 1.1rem; font-weight: 600; }
#home.fall-hero .fall-caption-line { width: 50px; height: 1px; background: linear-gradient(90deg, transparent, #e9b77b); }
#home.fall-hero .fall-services { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 20px; border-top: 1px solid #e9b77b26; padding-top: 26px; animation: fall-enter 1.3s 1.2s both; }
#home.fall-hero .fall-services-intro { color: #e0b784; font-size: .55rem; font-weight: 600; letter-spacing: .15em; }
#home.fall-hero .fall-services a { color: #d5c8b9; font-size: .68rem; transition: color .2s; padding: 6px 0; }
#home.fall-hero .fall-services a:hover { color: #fff1df; }
#home.fall-hero .fall-leaves { z-index: 1; mix-blend-mode: screen; opacity: .8; }
#home.fall-hero .fall-leaves i { background-image: url('/assets/fall-maple.webp'); }
#home.fall-hero .fall-motion { position: absolute; bottom: 22px; left: max(24px, calc((100vw - 1200px) / 2)); z-index: 3; background: #17130fe6; color: #cbbbA7; border: 1px solid #e9b77b33; border-radius: 30px; padding: 9px 13px; cursor: pointer; font: inherit; font-size: .6rem; letter-spacing: .04em; }
#home.fall-hero [hidden] { display: none; }
#home.fall-hero.fall-paused .fall-scene *, #home.fall-hero.fall-paused .fall-leaves *,
#home.fall-hero.fall-offscreen .fall-scene *, #home.fall-hero.fall-offscreen .fall-leaves * { animation-play-state: paused !important; }
#home.fall-hero.fall-paused .fall-backdrop, #home.fall-hero.fall-paused .fall-rays { animation-play-state: running, paused !important; }
@keyframes fall-product-reveal { from { opacity: .15; } to { opacity: 1; } }
@keyframes fall-enter { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes fall-sunrise { from { opacity: .1; } to { opacity: 1; } }
@keyframes fall-light { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes fall-camera { from { transform: scale(1.025) translate3d(-.3%, 0, 0); } to { transform: scale(1.075) translate3d(.5%, -.6%, 0); } }
@keyframes fall-dust { from { transform: translate3d(-12px, 22px, 0); opacity: .3; } to { transform: translate3d(14px, -25px, 0); opacity: .7; } }
@media (min-width: 761px) and (max-width: 1100px) {
  #home.fall-hero { min-height: 800px; padding-top: 160px; }
  #home.fall-hero .fall-content { grid-template-columns: 1.2fr .8fr; }
  #home.fall-hero h1 { font-size: clamp(3.6rem, 6.5vw, 4.5rem); }
  #home.fall-hero .fall-services { justify-content: flex-start; }
  #home.fall-hero .fall-services-intro { width: 100%; }
}
@media (max-width: 760px) {
  #home.fall-hero { min-height: 0; padding: 140px 0 35px; }
  #home.fall-hero .fall-content { display: flex; flex-direction: column; gap: 24px; }
  #home.fall-hero::before { background: linear-gradient(180deg, #151311fa 0%, #151311f0 30%, #151311b3 48%, #15131100 68%, #151311 88%); }
  #home.fall-hero .fall-backdrop { object-fit: cover; object-position: center bottom; mask-image: none; }
  #home.fall-hero .fall-eyebrow { font-size: .58rem; margin-bottom: 24px; }
  #home.fall-hero h1 { font-size: clamp(2.9rem, 10.8vw, 4.4rem); }
  #home.fall-hero .sub { font-size: .91rem; max-width: 420px; }
  #home.fall-hero .hero-actions { gap: 10px; }
  #home.fall-hero .btn { font-size: .62rem; padding: 15px 14px; }
  #home.fall-hero .hero-trust { font-size: .62rem; }
  #home.fall-hero .hero-trust .sep { display: none; }
  #home.fall-hero .fall-product-story { min-height: 250px; width: 100%; }
  #home.fall-hero .fall-product-index { align-self: flex-start; }
  #home.fall-hero .fall-product-caption { padding-bottom: 0; }
  #home.fall-hero .fall-services { gap: 8px 20px; display: grid; grid-template-columns: 1fr 1fr; padding-top: 20px; }
  #home.fall-hero .fall-services-intro { grid-column: 1 / -1; margin-bottom: 4px; }
  #home.fall-hero .fall-services a { font-size: .64rem; }
  #home.fall-hero .fall-motion { display: none; }
  #home.fall-hero .fall-leaves { display: none; }
  #home.fall-hero * { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  #home.fall-hero * { animation: none !important; transition: none !important; }
  #home.fall-hero .fall-leaves, #home.fall-hero .fall-motion { display: none; }
}
