:root {
  --home-forest: #173e37;
  --home-forest-dark: #0f2d28;
  --home-terracotta: #b6533c;
  --home-terracotta-dark: #94412f;
  --home-ivory: #f7f4ee;
  --home-sage: #dce7e1;
  --home-sage-ink: #4e5a54;
  --home-sage-light: #edf2ee;
  --home-champagne: #d6b36b;
  --home-ink: #202523;
  --home-muted: #66706b;
  --home-line: #d6d7d2;
  --home-white: #ffffff;
  --home-content: 1280px;
}

body {
  color: var(--home-ink);
  background: var(--home-ivory);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page blockquote {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: var(--home-forest-dark);
  font-weight: 600;
}

.site-header {
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  min-height: 84px;
  padding: 12px clamp(20px, 4vw, 62px);
  color: var(--home-ink);
  background: rgba(247, 244, 238, 0.98);
  border-bottom: 1px solid rgba(23, 62, 55, 0.22);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(24, 48, 43, 0.08);
}

.site-header .brand {
  gap: 12px;
}

.site-header .brand-mark {
  width: 52px;
  height: 52px;
  color: var(--home-forest);
  background: transparent;
  border: 1px solid var(--home-forest);
  border-radius: 2px;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.site-header .brand-copy {
  line-height: 1;
}

.site-header .brand-copy strong {
  color: var(--home-forest-dark);
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-header .brand-copy small {
  margin-top: 6px;
  color: var(--home-terracotta-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header .site-nav {
  gap: clamp(28px, 4vw, 52px);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header .site-nav a {
  color: var(--home-forest-dark);
  border: 0;
}

.site-header .site-nav a:hover {
  color: var(--home-terracotta-dark);
  border: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.site-header .header-actions {
  gap: 22px;
}

.site-header .login-link {
  color: var(--home-forest-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-header .header-cta {
  min-height: 50px;
  padding: 10px 24px;
  color: var(--home-white);
  background: var(--home-terracotta);
  border: 1px solid var(--home-terracotta);
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-header .header-cta:hover {
  background: var(--home-terracotta-dark);
}

.site-header .nav-toggle {
  color: var(--home-forest);
  background: transparent;
  border: 1px solid var(--home-forest);
  border-radius: 4px;
}

.home-eyebrow {
  margin: 0 0 18px;
  color: var(--home-terracotta-dark);
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 12px 29px;
  color: var(--home-white);
  background: var(--home-terracotta);
  border: 1px solid var(--home-terracotta);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease;
}

.home-button:hover {
  background: var(--home-forest);
  border-color: var(--home-forest);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(0, 0.92fr);
  min-height: 690px;
  background: var(--home-ivory);
  border-bottom: 1px solid var(--home-line);
}

.home-hero-photo {
  position: relative;
  min-height: 690px;
  overflow: hidden;
}

.home-hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 75%, rgba(247, 244, 238, 0.2));
  pointer-events: none;
}

.home-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.home-hero-copy {
  align-self: start;
  max-width: 760px;
  padding: clamp(42px, 4vw, 58px) max(28px, calc((100vw - var(--home-content)) / 2)) clamp(46px, 5vw, 70px) clamp(42px, 6vw, 88px);
}

.home-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.05rem, 4.1vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.home-hero blockquote {
  max-width: 650px;
  margin: 22px 0 26px;
  padding: 0;
  color: #46504b;
  border: 0;
  font-size: clamp(1.02rem, 1.32vw, 1.16rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}

.connection-section {
  padding: clamp(78px, 9vw, 124px) max(24px, calc((100vw - var(--home-content)) / 2));
  background: var(--home-white);
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.58fr);
  column-gap: clamp(44px, 8vw, 110px);
  align-items: end;
  margin-bottom: 48px;
}

.home-section-heading .home-eyebrow {
  grid-column: 1 / -1;
}

.home-section-heading h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.home-section-heading > p:last-child {
  margin: 0 0 7px;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.connection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.connection-grid article {
  min-height: 292px;
  padding: 30px 27px;
  border-right: 1px solid var(--home-line);
}

.connection-grid article:last-child {
  border-right: 0;
}

.connection-grid article > span {
  color: var(--home-champagne);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.connection-grid h3 {
  margin: 76px 0 16px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.connection-grid p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.lifestyle-section {
  padding: clamp(78px, 9vw, 124px) max(24px, calc((100vw - var(--home-content)) / 2));
  background: var(--home-sage-light);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.lifestyle-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: end;
  margin-bottom: 46px;
}

.lifestyle-heading .home-eyebrow {
  grid-column: 1 / -1;
}

.lifestyle-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.4vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lifestyle-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--home-muted);
  font-size: 0.94rem;
}

.lifestyle-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 258px;
  gap: 18px;
}

.lifestyle-card {
  position: relative;
  overflow: hidden;
  background: var(--home-forest);
}

.lifestyle-card::after {
  position: absolute;
  inset: 30% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(9, 36, 31, 0.86));
  pointer-events: none;
}

.lifestyle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.lifestyle-card:hover img {
  transform: scale(1.025);
}

.lifestyle-card > div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--home-white);
}

.lifestyle-card h3 {
  margin: 0 0 4px;
  color: var(--home-white);
  font-size: 1.3rem;
  line-height: 1.15;
}

.lifestyle-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

.lifestyle-large {
  grid-column: span 2;
  grid-row: span 2;
}

.lifestyle-wide {
  grid-column: span 2;
}

.different-section {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  min-height: 710px;
  background: var(--home-ivory);
  border-bottom: 1px solid var(--home-line);
}

.different-copy {
  align-self: center;
  max-width: 820px;
  padding: clamp(72px, 8vw, 116px) clamp(44px, 7vw, 104px) clamp(72px, 8vw, 116px) max(24px, calc((100vw - var(--home-content)) / 2));
}

.different-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.different-lead {
  max-width: 680px;
  margin: 26px 0 34px;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.different-points {
  border-top: 1px solid var(--home-line);
}

.different-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--home-line);
}

.different-points article > span {
  color: var(--home-terracotta-dark);
  font-size: 0.66rem;
  font-weight: 800;
}

.different-points h3 {
  margin: 0 0 5px;
  font-size: 1.08rem;
}

.different-points p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.8rem;
}

.different-photo {
  min-height: 710px;
}

.different-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-safety {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(48px, 8vw, 116px);
  padding: clamp(76px, 8vw, 112px) max(24px, calc((100vw - var(--home-content)) / 2));
  color: var(--home-ink);
  background: var(--home-sage);
}

.home-safety .home-eyebrow {
  color: var(--home-terracotta-dark);
}

.home-safety h2 {
  margin: 0;
  color: var(--home-forest-dark);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.home-safety-heading > p:not(.home-eyebrow) {
  max-width: 430px;
  margin: 22px 0 25px;
  color: var(--home-sage-ink);
  font-size: 0.9rem;
}

.safety-link {
  display: inline-flex;
  padding-bottom: 4px;
  color: var(--home-forest-dark);
  border-bottom: 1px solid rgba(15, 45, 40, 0.65);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(15, 45, 40, 0.22);
}

.safety-grid article {
  min-height: 290px;
  padding: 26px;
  border-right: 1px solid rgba(15, 45, 40, 0.22);
}

.safety-grid article:last-child {
  border-right: 0;
}

.safety-grid article > span {
  color: var(--home-terracotta-dark);
  font-size: 0.67rem;
  font-weight: 800;
}

.safety-grid h3 {
  margin: 80px 0 13px;
  color: var(--home-forest-dark);
  font-size: 1.24rem;
  line-height: 1.25;
}

.safety-grid p {
  margin: 0;
  color: var(--home-sage-ink);
  font-size: 0.76rem;
  line-height: 1.62;
}

.help-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(56px, 9vw, 130px);
  padding: clamp(80px, 9vw, 128px) max(24px, calc((100vw - var(--home-content)) / 2));
  background: var(--home-white);
}

.help-heading {
  align-self: start;
  position: sticky;
  top: 128px;
}

.help-heading h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.help-heading > p:last-child {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.help-list {
  border-top: 1px solid var(--home-line);
}

.help-list details {
  border-bottom: 1px solid var(--home-line);
}

.help-list summary {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  color: var(--home-forest-dark);
  cursor: pointer;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
}

.help-list summary::-webkit-details-marker {
  display: none;
}

.help-list summary span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--home-forest);
  border: 1px solid var(--home-forest);
  border-radius: 50%;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 0.9rem;
}

.help-list details[open] summary span {
  color: var(--home-white);
  background: var(--home-terracotta);
  border-color: var(--home-terracotta);
  transform: rotate(45deg);
}

.help-list details p {
  max-width: 700px;
  margin: -2px 50px 22px 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.68;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(420px, 0.93fr) minmax(0, 1.07fr);
  min-height: 640px;
  background: var(--home-sage);
  border-top: 1px solid var(--home-line);
}

.final-cta-photo {
  min-height: 640px;
}

.final-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-copy {
  align-self: center;
  max-width: 850px;
  padding: clamp(70px, 8vw, 116px);
}

.final-cta-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.final-cta-copy > p:not(.home-eyebrow) {
  max-width: 620px;
  margin: 26px 0 32px;
  color: #4e5a54;
  font-size: 1rem;
}

.site-footer {
  color: var(--home-ink);
  background: var(--home-sage);
  border-top: 1px solid var(--home-line);
}

.site-footer .brand-mark {
  color: var(--home-forest-dark);
  background: transparent;
  border: 1px solid var(--home-forest);
  border-radius: 2px;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.site-footer .brand-copy strong,
.site-footer h2,
.site-footer h3 {
  color: var(--home-forest-dark);
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
}

.site-footer .brand-copy small {
  color: var(--home-terracotta-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer .footer-intro h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.06;
}

.site-footer .footer-links h3 {
  color: var(--home-terracotta-dark);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header.is-open {
    background: var(--home-ivory);
  }

  .site-header.is-open .site-nav {
    border-color: var(--home-line);
  }

  .site-header.is-open .site-nav a {
    color: var(--home-forest-dark);
    border-color: var(--home-line);
  }

  .connection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connection-grid article:nth-child(2) {
    border-right: 0;
  }

  .connection-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-safety {
    grid-template-columns: 1fr;
  }

  .home-safety-heading {
    max-width: 720px;
  }

  .safety-grid article {
    min-height: 260px;
  }
}

@media (max-width: 860px) {
  .home-hero,
  .different-section,
  .help-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .home-hero-photo {
    min-height: 620px;
    order: 2;
  }

  .home-hero-copy {
    max-width: none;
    order: 1;
    padding: 70px 28px;
  }

  .home-section-heading,
  .lifestyle-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-section-heading > p:last-child,
  .lifestyle-heading > p:last-child {
    max-width: 720px;
  }

  .lifestyle-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 270px;
  }

  .lifestyle-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .different-copy {
    max-width: none;
    padding: 76px 28px;
  }

  .different-photo {
    min-height: 600px;
  }

  .help-heading {
    position: static;
  }

  .final-cta-photo {
    min-height: 530px;
  }

  .final-cta-copy {
    max-width: none;
    padding: 76px 28px;
  }
}

@media (max-width: 660px) {
  .site-header {
    padding: 10px 14px;
  }

  .site-header .brand-mark {
    width: 46px;
    height: 46px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 3px;
    font-size: 0.78rem;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
  }

  .site-header .brand-copy strong {
    font-size: 0.9rem;
  }

  .site-header.is-open .header-actions {
    display: grid;
    gap: 13px;
  }

  .site-header.is-open .header-cta {
    width: 100%;
  }

  .home-hero-copy {
    display: flex;
    min-height: calc(100vh - 84px);
    min-height: calc(100svh - 84px);
    align-self: stretch;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(20px, 3.5svh, 34px);
    padding: clamp(42px, 5svh, 58px) 18px clamp(38px, 4.5svh, 52px);
  }

  .home-hero-copy .home-eyebrow {
    margin: 0;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.35rem);
    line-height: 1.04;
  }

  .home-hero blockquote {
    margin: 0;
    font-size: 0.98rem;
  }

  .home-button {
    width: 100%;
  }

  .home-hero-photo {
    display: none;
  }

  .home-hero {
    min-height: calc(100vh - 84px);
    min-height: calc(100svh - 84px);
  }

  .connection-section,
  .lifestyle-section,
  .home-safety,
  .help-section {
    padding: 64px 18px;
  }

  .home-section-heading h2,
  .lifestyle-heading h2,
  .different-copy h2,
  .home-safety h2,
  .help-heading h2,
  .final-cta-copy h2 {
    font-size: clamp(2.35rem, 10.4vw, 3rem);
    line-height: 1.06;
  }

  .connection-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .connection-grid article,
  .connection-grid article:nth-child(2),
  .connection-grid article:last-child {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .connection-grid article:last-child {
    border-bottom: 0;
  }

  .connection-grid h3 {
    margin-top: 48px;
  }

  .lifestyle-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .lifestyle-large,
  .lifestyle-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .different-copy {
    padding: 64px 18px;
  }

  .different-photo {
    min-height: 440px;
  }

  .safety-grid article,
  .safety-grid article:last-child {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 45, 40, 0.22);
  }

  .safety-grid article:last-child {
    border-bottom: 0;
  }

  .safety-grid h3 {
    margin-top: 48px;
  }

  .help-list summary {
    font-size: 1rem;
  }

  .final-cta-photo {
    min-height: 410px;
  }

  .final-cta-copy {
    padding: 64px 18px;
  }
}

@media (max-width: 660px) and (max-height: 720px) {
  .home-hero-copy {
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .home-hero-copy .home-eyebrow {
    font-size: 0.62rem;
  }

  .home-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.8rem);
  }

  .home-hero blockquote {
    font-size: 0.92rem;
    line-height: 1.58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .lifestyle-card img {
    transition: none;
  }
}
