/* Seasonal layer for the Noah Construction homepage. */
.noah-fall {
  --fall-ink: #101f29;
  --fall-paper: #fbf1df;
  --fall-gold: #eab676;
  --fall-copper: #a34823;
  --fall-serif: "DM Serif Display", Georgia, serif;
}

.noah-fall .site-header {
  background: #101c24f7;
  border-color: #d6934f66;
}

.noah-fall .header-call {
  color: #121b20;
  background: var(--fall-gold);
  border-color: var(--fall-gold);
}

.noah-fall .hero {
  min-height: min(800px, 91svh);
  padding: clamp(122px, 12vw, 164px) 26px 76px;
  isolation: isolate;
  overflow: hidden;
  background: #152329;
}

.noah-fall .hero::before {
  background-image: var(--fall-hero-photo);
  background-size: cover;
  background-position: center, center;
  filter: none;
}

.noah-fall .hero::after {
  background: linear-gradient(90deg, #0e1d27fa 0%, #0e1d27ee 26%, #0e1d27ad 48%, #0e1d2730 73%, #0811192e 100%),
    linear-gradient(0deg, #0a141c9c, transparent 34%);
}

.noah-fall .hero-content {
  width: min(100%, 1160px);
  transform: none;
  align-items: flex-start;
  text-align: left;
  text-shadow: none;
  gap: 0;
}

.noah-fall .hero-brand-lockup {
  display: grid;
  justify-items: start;
  gap: 3px;
  margin: 0 0 26px;
}

.noah-fall .hero-logo-mark {
  width: min(100%, 230px);
  height: auto;
  margin: 0 0 4px;
  padding: 5px 9px 3px;
  border-radius: 5px;
  background: #fff6e7;
  filter: none;
}

.noah-fall .hero-company {
  color: #fff6e7;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.noah-fall .hero-service-line {
  color: #e7cbab;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: none;
}

.fall-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fall-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.noah-fall .hero .fall-kicker {
  color: var(--fall-gold);
}

.noah-fall .hero h1 {
  width: min(100%, 760px);
  margin: 0;
  color: #fff5e6;
  font-family: var(--fall-serif);
  font-size: clamp(3.1rem, 6.5vw, 6.2rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.noah-fall .hero h1 em {
  display: block;
  color: var(--fall-gold);
  font-weight: 400;
}

.noah-fall .value-prop {
  width: min(100%, 535px);
  margin: 20px 0 0;
  color: #fff1e1;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.55;
}

.noah-fall .hero-actions {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 25px;
}

.noah-fall .hero-actions a {
  min-height: 47px;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 700;
}

.noah-fall .hero-actions .fall-primary {
  background: var(--fall-gold);
  color: var(--fall-ink);
  border-color: var(--fall-gold);
}

.noah-fall .hero-actions .fall-primary:hover,
.noah-fall .hero-actions .fall-primary:focus-visible,
.noah-fall .header-call:hover,
.noah-fall .header-call:focus-visible {
  background: #ffd299;
  color: var(--fall-ink);
}

.noah-fall .hero-actions .fall-secondary {
  background: #13222b7d;
  color: #fff5e6;
  border-color: #fff5e68f;
}

.noah-fall .hero-actions .fall-secondary:hover,
.noah-fall .hero-actions .fall-secondary:focus-visible {
  background: #fff5e6;
  color: var(--fall-ink);
}

.noah-fall .fall-brand-line {
  margin: 20px 0 0;
  color: #e7cbab;
  font-size: .84rem;
  font-style: italic;
}

.noah-fall .fall-leaves {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fall-leaf {
  position: absolute;
  top: var(--leaf-top);
  left: var(--leaf-left);
  width: var(--leaf-width);
  aspect-ratio: 1.3;
  opacity: 0;
  background: linear-gradient(100deg, #9c3f16 2%, #e89a45 53%, #f1ba62 56%, #ae5023 100%);
  clip-path: polygon(97% 6%, 81% 35%, 86% 44%, 69% 55%, 71% 68%, 55% 72%, 50% 88%, 28% 84%, 4% 99%, 15% 75%, 13% 55%, 31% 48%, 32% 28%, 54% 28%, 59% 14%, 71% 20%);
  animation: fall-leaf-drift var(--leaf-duration) ease-in-out var(--leaf-delay) 1 both;
}

.fall-leaf:nth-child(1) { --leaf-top: 12%; --leaf-left: 79%; --leaf-width: 19px; --leaf-duration: 4.8s; --leaf-delay: .1s; --leaf-drift: -30px; }
.fall-leaf:nth-child(2) { --leaf-top: 21%; --leaf-left: 92%; --leaf-width: 24px; --leaf-duration: 4.9s; --leaf-delay: 0s; --leaf-drift: -42px; }
.fall-leaf:nth-child(3) { --leaf-top: 6%; --leaf-left: 71%; --leaf-width: 15px; --leaf-duration: 4.3s; --leaf-delay: .55s; --leaf-drift: 22px; }

@keyframes fall-leaf-drift {
  0% { opacity: 0; transform: translate(0, -14px) rotate(-38deg); }
  20% { opacity: .92; }
  52% { transform: translate(var(--leaf-drift), 116px) rotate(86deg); }
  77% { opacity: .72; }
  100% { opacity: 0; transform: translate(12px, 232px) rotate(180deg); }
}

.noah-fall .fall-work {
  padding: clamp(42px, 7vw, 88px) 26px;
  scroll-margin-top: 96px;
  background: var(--fall-paper);
  color: var(--fall-ink);
}

.fall-work-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.fall-work .fall-kicker { color: #86401e; }

.fall-work h2 {
  margin: 0 0 26px;
  font-family: var(--fall-serif);
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.fall-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(15px, 3vw, 36px);
}

.fall-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  gap: 8px 12px;
  padding: 17px 0 6px;
  border-top: 1px solid #a3482380;
  color: #142632;
  text-decoration: none;
}

.fall-project strong { font-size: 1.06rem; }
.fall-project p { grid-column: 1 / -1; margin: 0; color: #3f3b33; line-height: 1.5; }
.fall-project span { color: #8c3d20; }
.fall-project:hover strong, .fall-project:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .noah-fall .hero { min-height: min(830px, 94svh); padding-top: 151px; }
  .noah-fall .hero::before { background-position: 64% center, center; }
  .noah-fall .hero::after { background: linear-gradient(90deg, #0e1d27f0 0%, #0e1d27c9 53%, #0e1d275e 100%), linear-gradient(0deg, #09151e94, transparent 40%); }
}

@media (max-width: 600px) {
  .noah-fall .hero { min-height: 690px; padding: 144px 20px 48px; align-items: center; }
  .noah-fall .hero::before { background-position: 69% center, center; }
  .noah-fall .hero::after { background: linear-gradient(90deg, #0e1d27ee 0%, #0e1d27ab 65%, #0e1d275e 100%), linear-gradient(0deg, #09151ed1, transparent 70%); }
  .noah-fall .hero-brand-lockup { margin-bottom: 24px; }
  .noah-fall .hero-logo-mark { width: min(100%, 175px); }
  .noah-fall .hero-actions { width: 100%; margin-top: 20px; }
  .noah-fall .hero-actions a { width: 100%; padding-inline: 12px; }
  .noah-fall .fall-work { padding: 40px 20px; }
  .fall-projects { grid-template-columns: 1fr; gap: 12px; }
  .fall-leaf:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .noah-fall .fall-leaves { display: none; }
}
