.home-details {
  --detail-bg: var(--home-details-bg, #0b0b0d);
  --detail-ink: #f4f0ed;
  --detail-muted: #b8b1b0;
  --detail-accent: #ff7950;
  --detail-line: #353136;
  padding-bottom: clamp(20px, 2.9vw, 42px);
  background: var(--detail-bg);
  color: var(--detail-ink);
}

.home-details :focus-visible { outline-color: var(--detail-accent); }

.home-facts {
  display: flex;
  align-items: center;
  gap: clamp(13px, 2.2vw, 32px);
  padding: clamp(15px, 1.9vw, 28px);
  border: 1px solid var(--detail-line);
  border-radius: 16px;
  background: linear-gradient(140deg, #1b191c, #101012 56%, #151214);
}

.home-fact-mark {
  display: grid;
  flex: none;
  width: clamp(35px, 4vw, 56px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 10px;
  background: #241711;
  color: var(--detail-accent);
}

.home-fact-mark svg { width: 52%; }

.home-facts dl {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(max-content, 1fr) minmax(0, 1fr);
  margin: 0;
}

.home-facts dl > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 4px;
  padding-inline: clamp(10px, 2vw, 32px);
  border-inline-start: 1px solid var(--detail-line);
}

.home-facts dl > div:first-child { padding-inline-start: 0; border: 0; }
.home-facts dt { color: var(--detail-muted); font-size: clamp(11px, 1vw, 14px); line-height: 1.35; }
.home-facts dd {
  margin: 0;
  font-size: clamp(18px, 2.05vw, 30px);
  font-weight: 540;
  letter-spacing: -.052em;
  line-height: 1.08;
}

.home-work { margin-top: clamp(35px, 4.3vw, 61px); }

.home-details-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(19px, 2.2vw, 31px);
}

.home-details-kicker {
  margin-bottom: 10px;
  color: var(--detail-accent);
  font-size: clamp(11px, .98vw, 14px);
  font-weight: 600;
  letter-spacing: .095em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-details h2 {
  font-size: clamp(28px, 3.07vw, 44px);
  font-weight: 530;
  letter-spacing: -.055em;
  line-height: 1.06;
}

.home-details h2 em { color: var(--detail-accent); font-style: normal; }
.home-details-lead p { max-width: 34ch; color: var(--detail-muted); font-size: clamp(13px, 1.13vw, 16px); line-height: 1.55; }

.home-details-link, .home-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--detail-accent);
  font-size: clamp(12px, 1.04vw, 15px);
  font-weight: 620;
  line-height: 1.3;
}

.home-details-link { min-height: 34px; margin-top: 4px; }
.home-details-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-details-link svg, .home-feature-link svg, .home-video-link > svg { flex: none; width: 16px; height: 16px; rotate: -36deg; }

.home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(11px, 1.3vw, 18px); }

.home-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(190px, 15.8vw, 245px);
  overflow: hidden;
  border: 1px solid var(--detail-line);
  border-radius: 14px;
  background: #141416;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.home-feature:not(.home-feature--contact)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #151517 6%, #151517 30%, #151517e6 44%, #15151763 64%, transparent 83%);
  content: "";
}

.home-feature:is(:hover, :focus-visible) { border-color: #ba684b; }

.home-feature-image {
  position: absolute;
  z-index: -2;
  inset-block: 0;
  inset-inline-end: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transition: scale 220ms ease;
}

.home-feature:hover .home-feature-image, .home-guide:hover img { scale: 1.04; }

.home-feature-content {
  display: flex;
  width: min(69%, 275px);
  flex-direction: column;
  align-items: start;
  padding: clamp(16px, 1.8vw, 26px);
}

.home-feature-kicker {
  margin-bottom: 6px;
  color: var(--detail-accent);
  font-size: clamp(11px, .94vw, 13px);
  font-weight: 560;
  line-height: 1.25;
}

.home-feature h3, .home-guide h3 {
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 560;
  letter-spacing: -.042em;
  line-height: 1.14;
}

.home-feature p, .home-guide p {
  margin-top: 8px;
  color: var(--detail-muted);
  font-size: clamp(12px, 1.05vw, 15px);
  line-height: 1.46;
  text-wrap: pretty;
}

.home-feature-link { margin-top: auto; padding-top: 16px; }

.home-feature--contact {
  border-color: #d65128;
  background: linear-gradient(133deg, #b8310d, #c33a0d 60%, #a82c0d);
}

.home-feature--contact::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle, #ffd4b72e .7px, transparent 1px);
  background-size: 6px 6px;
  mask-image: linear-gradient(115deg, transparent 30%, black 100%);
  content: "";
}

.home-feature--contact:is(:hover, :focus-visible) { border-color: #ffd6c0; }
.home-feature--contact .home-feature-content { width: min(82%, 310px); }
.home-contact-symbol { margin-bottom: 8px; color: #ffdfcc; }
.home-contact-symbol svg { width: 22px; height: 22px; }
.home-feature--contact h3 { color: #fff7f2; font-size: clamp(22px, 2.15vw, 31px); }
.home-feature--contact :is(p, .home-feature-link) { color: #fff4eb; }

.home-guides { margin-top: clamp(35px, 4.3vw, 61px); }

.home-guides-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: clamp(18px, 2vw, 27px);
}

.home-video-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 11px 4px 4px;
  border: 1px solid var(--detail-line);
  border-radius: 8px;
  background: #151416;
  color: var(--detail-accent);
  font-size: clamp(12px, 1.04vw, 15px);
  font-weight: 620;
  transition: border-color 160ms ease;
}

.home-video-link:is(:hover, :focus-visible) { border-color: #ba684b; }
.home-video-link img { width: 44px; height: 34px; border-radius: 4px; background: #282221; object-fit: cover; }

.home-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 18px); }

.home-guide {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--detail-line);
  border-radius: 13px;
  background: #141416;
  transition: border-color 160ms ease;
}

.home-guide:is(:hover, :focus-visible) { border-color: #ba684b; }

.home-guide-image { position: relative; aspect-ratio: 2.05 / 1; overflow: hidden; background: #251b17; }
.home-guide-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; transition: scale 220ms ease; }
.home-guide-image::after { position: absolute; inset: 0; background: linear-gradient(transparent 70%, #18181a91); content: ""; pointer-events: none; }

.home-guide-content {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 1.3vw, 18px);
}

.home-guide h3 { font-size: clamp(15px, 1.3vw, 19px); }
.home-guide p { margin-top: 5px; }

.home-guide-arrow {
  display: grid;
  flex: none;
  width: clamp(26px, 3.1vw, 42px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #9b4c34;
  border-radius: 50%;
  color: var(--detail-accent);
}

.home-guide-arrow svg { width: 48%; rotate: -36deg; }

.home-call-prep {
  display: grid;
  grid-template-columns: minmax(128px, 1fr) minmax(0, 4fr);
  align-items: center;
  gap: 14px clamp(17px, 3.1vw, 45px);
  margin-top: clamp(24px, 3.4vw, 49px);
  padding-block: clamp(14px, 1.5vw, 20px);
  border-top: 1px solid var(--detail-line);
}

.home-call-prep h2 {
  max-width: 18ch;
  color: var(--detail-accent);
  font-size: clamp(11px, .98vw, 14px);
  font-weight: 620;
  letter-spacing: .085em;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-call-prep ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px clamp(13px, 2vw, 29px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-call-prep li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b9b2b3;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 510;
  line-height: 1.3;
}

.home-call-prep li svg { flex: none; width: 22px; height: 22px; color: #9a9295; }

@media (max-width: 770px) {
  .home-facts dl { column-gap: 5px; }
  .home-fact-mark { display: none; }
  .home-facts dl > div { padding-inline: 9px; }
  .home-facts dd { font-size: clamp(15px, 2.8vw, 23px); }
  .home-feature-grid, .home-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 530px) {
  .home-facts dl { grid-template-columns: minmax(max-content, 1fr) minmax(0, 1fr); gap: 12px 9px; }
  .home-facts dl > div { padding-block: 3px; }
  .home-facts dl > div:nth-child(odd) { padding-inline-start: 0; border: 0; }
  .home-facts dd { font-size: 18px; }
  .home-details-heading { grid-template-columns: 1fr; gap: 10px; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-feature { min-height: 171px; }
  .home-feature-content { width: min(68%, 268px); }
  .home-feature--contact { min-height: 155px; }
  .home-guides-heading { align-items: start; flex-direction: column; gap: 10px; }
  .home-video-link { min-height: 44px; }
  .home-guide-content { align-items: start; gap: 5px; }
  .home-guide-arrow { width: 22px; }
  .home-call-prep { grid-template-columns: 1fr; gap: 10px; }
  .home-call-prep h2 { max-width: none; }
  .home-call-prep li { align-items: start; gap: 5px; }
  .home-call-prep li svg { width: 17px; height: 17px; }
}

@media (max-width: 355px) {
  .home-guide-grid { grid-template-columns: 1fr; }
  .home-guide-image { aspect-ratio: 2.45 / 1; }
  .home-guide-arrow { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature:hover .home-feature-image, .home-guide:hover img { scale: none; }
}
