/* Home page — mock 1:1 redesign (scoped under .home-redesign) */

.home-redesign [id] {
  scroll-margin-top: 88px;
}

.home-redesign {
  --whi-cream: #F9F8F3;
  --whi-green: #1D2B22;
  --whi-muted: #5a6b60;
  --whi-beige: #EDE8DC;
  --whi-card: #F3F0E8;
  font-family: 'Inter', 'Montserrat', system-ui, sans-serif;
  color: var(--whi-green);
  background: var(--whi-cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.home-redesign img { max-width: 100%; display: block; }
.home-redesign a { color: inherit; text-decoration: none; }

.home-redesign .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.home-redesign .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1.5px solid transparent;
  line-height: 1.2;
  font-family: inherit;
}

.home-redesign .btn-primary {
  background: var(--whi-green);
  color: #fff;
  border-color: var(--whi-green);
}

.home-redesign .btn-primary:hover,
.home-redesign .btn-primary:focus {
  background: #152019;
  border-color: #152019;
  color: #fff;
}

.home-redesign .btn-outline {
  background: #fff;
  color: var(--whi-green);
  border-color: var(--whi-green);
}

.home-redesign .btn-outline:hover,
.home-redesign .btn-outline:focus {
  background: var(--whi-green);
  color: #fff;
}

.home-section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--whi-muted);
  margin: 0 0 12px;
}

.home-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--whi-green);
}

.home-section-title-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
}

.home-section-lead {
  font-size: 16px;
  color: var(--whi-muted);
  margin: 0;
  max-width: 520px;
  line-height: 1.6;
}

.home-inline-link {
  color: var(--whi-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-section-lead-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.home-section-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.home-section-aside {
  font-size: 15px;
  color: var(--whi-muted);
  margin: 0;
  text-align: right;
  line-height: 1.6;
  max-width: 420px;
  justify-self: end;
}

/* Hero — edge-to-edge widescreen banner (21:9; matches hero art ~1920×900) */
.home-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #c5d4e0;
  background-image:
    linear-gradient(90deg, rgba(249, 248, 243, 0.88) 0%, rgba(249, 248, 243, 0.4) 32%, rgba(249, 248, 243, 0) 48%),
    var(--hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (min-width: 1200px) {
  .home-hero {
    aspect-ratio: 32 / 15;
  }
}

.home-hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

.home-hero-copy {
  max-width: 520px;
  margin: 0;
  text-align: left;
}

.home-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--whi-green);
  margin: 0 0 20px;
}

.home-hero-sub {
  font-size: 17px;
  color: var(--whi-muted);
  margin: 0 0 28px;
  max-width: 440px;
  line-height: 1.55;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Who we serve */
.home-who {
  padding: 88px 0;
}

.home-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-who-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

.home-who-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
}

.home-who-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-who-card:hover img {
  transform: scale(1.04);
}

.home-who-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(transparent, rgba(29, 43, 34, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-who-label i {
  font-size: 18px;
}

/* Series */
.home-series {
  padding: 0 0 88px;
}

.home-series-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.home-series-all {
  font-weight: 600;
  font-size: 15px;
  color: var(--whi-green);
  white-space: nowrap;
  padding-top: 8px;
}

.home-series-all:hover {
  text-decoration: underline;
}

.home-series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-series-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--whi-card);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-series-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 43, 34, 0.1);
}

.home-series-card-featured {
  background: var(--whi-green);
  color: #fff;
}

.home-series-card-featured .home-series-card-body p {
  color: rgba(255, 255, 255, 0.78);
}

.home-series-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-series-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-series-card-body {
  padding: 22px 20px 24px;
  position: relative;
  flex: 1;
}

.home-series-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--whi-muted);
  margin-bottom: 6px;
}

.home-series-card-featured .home-series-tag {
  color: rgba(255, 255, 255, 0.65);
}

.home-series-tag--pro {
  color: var(--whi-green);
}

.home-series-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.home-series-card-body p {
  font-size: 14px;
  color: var(--whi-muted);
  margin: 0;
  line-height: 1.5;
  padding-right: 36px;
}

.home-series-arrow {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(29, 43, 34, 0.2);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.home-series-card-featured .home-series-arrow {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* Process */
.home-process {
  padding: 88px 0;
  background: var(--whi-cream);
}

.home-process-head {
  margin-bottom: 44px;
}

.home-process-head .home-section-title-serif {
  margin-bottom: 14px;
}

.home-process-head .home-section-lead {
  max-width: 480px;
}

.home-process-flow {
  position: relative;
}

.home-process-flow::before {
  content: "";
  position: absolute;
  left: calc(100% / 13 / 2);
  right: calc(100% / 13 / 2);
  top: 13px;
  height: 1px;
  background: rgba(29, 43, 34, 0.2);
  z-index: 0;
  pointer-events: none;
}

.home-process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  position: relative;
  z-index: 1;
}

.home-process-step {
  text-align: center;
  padding: 0 6px;
  min-width: 0;
}

.home-process-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--whi-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--whi-cream);
}

.home-process-icon {
  display: block;
  font-size: 28px;
  font-weight: 400;
  color: var(--whi-green);
  margin: 0 auto 16px;
  line-height: 1;
}

.home-process-step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--whi-green);
}

.home-process-step p {
  font-size: 12px;
  color: var(--whi-muted);
  margin: 0 auto;
  line-height: 1.5;
  max-width: 132px;
}

.home-process-connector {
  display: block;
  width: 14px;
  height: 26px;
  position: relative;
  align-self: start;
  flex-shrink: 0;
}

.home-process-connector::after {
  content: "\2192";
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(29, 43, 34, 0.35);
  line-height: 1;
}

@media (max-width: 1024px) {
  .home-process-flow {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .home-process-flow::before {
    left: 48px;
    right: 48px;
    min-width: 820px;
  }
  .home-process-grid {
    min-width: 920px;
  }
}

/* Achievements */
.home-achievements {
  padding: 88px 0;
}

.home-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.home-achievements-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

.home-achievement {
  text-align: center;
}

.home-achievement img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: 0 auto 20px;
  object-fit: contain;
}

.home-achievement h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}

.home-achievement p {
  font-size: 13px;
  color: var(--whi-muted);
  margin: 0;
  line-height: 1.55;
}

/* Testimonials */
.home-testimonials {
  padding: 88px 0;
  background: var(--whi-cream);
}

.home-testimonials-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.home-testimonials-nav {
  display: flex;
  gap: 10px;
}

.home-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(29, 43, 34, 0.2);
  background: #fff;
  color: var(--whi-green);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.home-carousel-btn:hover,
.home-carousel-btn:focus {
  background: var(--whi-green);
  color: #fff;
  border-color: var(--whi-green);
}

.home-testimonials-viewport {
  overflow: hidden;
}

.home-testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
}

.home-test-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: var(--whi-beige);
  border-radius: 8px;
  padding: 28px 26px 24px;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.home-test-quote {
  font-size: 36px;
  color: rgba(29, 43, 34, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.home-test-body {
  font-size: 14px;
  color: var(--whi-green);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
  max-height: 220px;
  overflow-y: auto;
}

.home-test-meta {
  font-size: 13px;
  color: var(--whi-muted);
}

.home-test-meta strong {
  color: var(--whi-green);
  font-weight: 600;
}

/* Videos */
.home-videos {
  padding: 88px 0;
}

.home-videos-head {
  margin-bottom: 36px;
}

.home-videos-head .home-section-lead {
  max-width: 640px;
}

.home-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-videos-more {
  margin: 32px 0 0;
}

.home-videos-more a {
  font-weight: 600;
  color: var(--whi-green);
  font-size: 15px;
}

.home-videos-more a:hover {
  text-decoration: underline;
}

.home-video-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
  background: #2a3d32;
}

.home-video-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.home-video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-video-tile:hover img {
  transform: scale(1.04);
}

.home-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.home-video-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  padding-left: 3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, background 0.2s;
}

.home-video-tile:hover .home-video-play-btn {
  transform: scale(1.06);
  background: rgba(0, 0, 0, 0.22);
}

.home-video-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  z-index: 3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Contact */
.home-contact {
  padding: 88px 0 100px;
  position: relative;
  background: var(--whi-cream);
}

.home-contact::before,
.home-contact::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.06;
  background: radial-gradient(circle, var(--whi-green) 0%, transparent 70%);
  pointer-events: none;
}

.home-contact::before {
  top: 20px;
  left: 0;
}

.home-contact::after {
  bottom: 20px;
  right: 0;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.home-contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.home-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--whi-green);
}

.home-contact-list i {
  font-size: 18px;
  margin-top: 2px;
  opacity: 0.7;
}

.home-contact-list a:hover {
  text-decoration: underline;
}

.home-contact-social-label {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--whi-green);
}

.home-contact-social {
  display: flex;
  gap: 12px;
}

.home-contact-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(29, 43, 34, 0.2);
  display: grid;
  place-items: center;
  color: var(--whi-green);
  transition: background 0.2s, color 0.2s;
}

.home-contact-social a:hover {
  background: var(--whi-green);
  color: #fff;
}

.home-contact-form-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid rgba(29, 43, 34, 0.08);
}

.home-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-contact-field input,
.home-contact-field select,
.home-contact-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(29, 43, 34, 0.15);
  border-radius: 6px;
  background: #fff;
  color: var(--whi-green);
}

.home-contact-field input:focus,
.home-contact-field select:focus,
.home-contact-field textarea:focus {
  outline: 2px solid rgba(29, 43, 34, 0.25);
  outline-offset: 0;
}

.home-contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.home-contact-submit {
  width: 100%;
  border: 0;
  margin-top: 4px;
}

.home-contact-honeypot {
  position: absolute;
  left: -9999px;
}

.home-contact-alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
}

.home-contact-alert.is-error {
  background: #fdecea;
  color: #8a2a2a;
}

.home-contact-alert.is-success {
  background: #e8f5ee;
  color: #1d5c3a;
}

/* Responsive */
@media (max-width: 1200px) {
  .home-who-grid--five {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-achievements-grid--five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .home-series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-achievements-grid--five {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-test-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 900px) {
  .home-section-head-split {
    grid-template-columns: 1fr;
  }
  .home-section-aside {
    text-align: left;
    justify-self: start;
    max-width: none;
  }
  .home-who-grid,
  .home-who-grid--five {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .home-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-redesign .container {
    padding: 0 20px;
  }
  .home-hero {
    aspect-ratio: 16 / 9;
    min-height: 300px;
    background-position: 65% center;
  }
  .home-hero-inner {
    padding: 28px 20px 32px;
  }
  .home-hero-title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 12px;
  }
  .home-hero-sub {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .home-redesign .home-hero-ctas .btn {
    padding: 11px 20px;
    font-size: 14px;
  }
  .home-series-grid {
    grid-template-columns: 1fr;
  }
  .home-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-test-card {
    flex: 0 0 100%;
  }
  .home-contact-row {
    grid-template-columns: 1fr;
  }
  .home-who,
  .home-series,
  .home-process,
  .home-achievements,
  .home-testimonials,
  .home-videos,
  .home-contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .home-videos-grid {
    grid-template-columns: 1fr;
  }
  .home-achievements-grid {
    grid-template-columns: 1fr;
  }
}
