/* Ridge homepage: white page, dark chrome. No beige paper. */
.homepage.ridge { background: #fff; color: #111; }
.homepage.ridge .preview-banner { background: #111; }
.homepage.ridge .site-header {
  position: sticky; top: 0; z-index: 40;
  background: #111; border-bottom: 0;
}
.homepage.ridge .site-header__inner { min-height: 64px; gap: 20px; }
.homepage.ridge .wordmark { color: #fff; }
.homepage.ridge .wordmark__place { color: #a3a3a3; }
.homepage.ridge .main-nav a { color: #e5e5e5; }
.homepage.ridge .main-nav a:hover,
.homepage.ridge .main-nav a[aria-current="page"] { color: #f36b21; }
.homepage.ridge .menu-button { color: #fff; }
.homepage.ridge .header-phone {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 14px; margin-left: auto;
  border: 1px solid rgba(255,255,255,.45); color: #fff;
  font-family: var(--display); font-size: 15px; font-weight: 800;
  letter-spacing: .04em; text-decoration: none; text-transform: uppercase;
}
.homepage.ridge .header-quote { margin-left: 8px; min-height: 40px; padding: 0 16px; }

.ridge-hero {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  background: #111;
  color: #fff;
}
.ridge-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
  transform-origin: 50% 60%;
  animation: ridge-ken 18s ease-out forwards;
}
@keyframes ridge-ken { from { transform: scale(1); } to { transform: scale(1.06); } }
.ridge-hero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 20%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}
.ridge-hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(78vh, 760px);
  width: var(--page); margin: 0 auto;
  padding: 48px 0 40px;
}
.ridge-hero__slot {
  margin: 0 0 10px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.ridge-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: .95;
}
.ridge-hero__lede {
  max-width: 36ch; margin-top: 12px;
  color: #e5e5e5; font-size: 16px; font-weight: 400;
  text-transform: none; letter-spacing: 0; line-height: 1.45;
  font-family: var(--body);
}

.ridge-work { width: 100%; padding: 48px 0 36px; background: #fff; }
.ridge-work__head { width: var(--page); margin: 0 auto 16px; }
.ridge-work__head h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #111; }
.ridge-work__head p { margin-top: 6px; color: #555; font-size: 13px; }
.ridge-strip {
  display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 8px;
  -webkit-overflow-scrolling: touch;
}
.ridge-strip figure {
  flex: 0 0 auto; width: min(70vw, 260px); margin: 0;
  scroll-snap-align: start;
}
.ridge-strip img { width: 100%; height: 190px; object-fit: cover; }
.ridge-strip figcaption { margin-top: 6px; color: #555; font-size: 11px; }
.ridge-strip .slot {
  display: block; margin-bottom: 4px;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #888;
}

.ridge-jobs { width: var(--page); margin: 0 auto; padding: 12px 0 48px; background: #fff; }
.ridge-jobs a {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px;
  padding: 18px 0; border-top: 1px solid #e5e5e5;
  text-decoration: none; color: #111;
}
.ridge-jobs a:last-child { border-bottom: 1px solid #e5e5e5; }
.ridge-jobs span { grid-column: 1; font-family: var(--display); font-size: 28px; font-weight: 800; text-transform: uppercase; }
.ridge-jobs small { grid-column: 1; color: #555; font-size: 13px; }
.ridge-jobs b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 22px; color: #f36b21; }

.ridge-quote { background: #111; color: #fff; }
.ridge-quote.quote-section { background: #111; }
.ridge-quote .quote-section__intro p { color: #c4c4c4; }
.ridge-quote .quote-section__intro a { color: #fff; }
.ridge-quote .quote-form label > span { color: #c4c4c4; }
.ridge-quote .quote-form input,
.ridge-quote .quote-form select,
.ridge-quote .quote-form textarea { border-color: #3a3a3a; }

.homepage.ridge .mobile-dock a:first-child { background: #111; }
@media (max-width: 760px) {
  .homepage.ridge .header-phone { display: none; }
  .ridge-hero, .ridge-hero__copy { min-height: 64vh; }
  .ridge-strip figure { width: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ridge-hero__img { animation: none; }
}
