/* Homepage typography and entry cards. */
.home-v2 {
 background: #f8f5ee;
}

.home-v2 .home-hero {
 min-height: clamp(500px, calc(88svh - 66px), 730px);
 place-items: end stretch;
}

.home-v2 .home-hero::after {
 background:
  linear-gradient(90deg, rgba(8, 21, 23, .82), rgba(8, 21, 23, .42) 38%, transparent 74%),
  linear-gradient(0deg, rgba(8, 21, 23, .35), transparent 56%);
}

.home-v2 .home-hero-copy {
 width: 100%;
 max-width: var(--content-width);
 margin-inline: auto;
 padding: clamp(36px, 6vw, 92px) max(var(--content-gutter), 5vw);
 align-items: flex-start;
 gap: 20px;
 text-align: left;
 text-shadow: none;
}

.home-v2 .home-hero-copy h1 {
 font-size: clamp(52px, 6.45vw, 98px);
 line-height: .98;
 letter-spacing: -.045em !important;
 margin: 0;
}

.home-v2 .home-hero-copy h1 > span { display: block; }

.home-v2 .home-hero-intro {
 color: #fff;
 font-size: clamp(16px, 1.45vw, 21px);
 line-height: 1.55;
 max-width: 35ch;
 text-wrap: pretty;
}

.home-hero-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 7px;
}

.home-hero-actions a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 12px;
 min-height: 46px;
 padding: 10px 18px;
 border: 1px solid #fff9ee;
 color: #21312b;
 background: #fff9ee;
 font: 650 13px/1.3 var(--sans);
}

.home-hero-actions a + a {
 color: #fff;
 background: rgba(8, 21, 23, .37);
}

.home-hero-actions a:hover { background: #eee4d2; color: #21312b; }
.home-hero-actions a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.home-v2 .home-ways {
 width: min(100%, 1920px);
 max-width: none;
 padding-inline: 16px;
}

.home-v2 .home-ways .home-ways-heading h2 {
 font-size: clamp(30px, 3.1vw, 46px);
 letter-spacing: -.025em !important;
}

.home-v2 .home-entry-grid {
 grid-template-columns: minmax(0, 1fr);
 gap: 24px;
}

@media (min-width: 640px) {
 .home-v2 .home-ways { padding-inline: 24px; }
}

@media (min-width: 768px) {
 .home-v2 .home-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
 .home-v2 .home-ways { padding-inline: 48px; }
}

@media (min-width: 1536px) {
 .home-v2 .home-ways { padding-inline: 96px; }
}

.home-v2 .home-entry-link {
 position: relative;
 isolation: isolate;
 display: grid;
 align-items: end;
 width: 100%;
 aspect-ratio: 1;
 overflow: hidden;
 background: #23352d;
 color: #fff;
}

.home-v2 .home-entry-visual {
 position: absolute;
 inset: 0;
 z-index: -1;
 aspect-ratio: auto;
}

.home-v2 .home-entry-visual::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(to top, rgb(12 20 17 / .90), rgb(12 20 17 / .65) 33%, rgb(12 20 17 / .22) 60%, transparent 85%);
 pointer-events: none;
}

.home-v2 .home-entry-visual img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
 transform: none;
}

.home-v2 .home-entry-copy {
 display: grid;
 justify-items: start;
 gap: clamp(4px, .65vw, 10px);
 padding: clamp(16px, 3.1vw, 48px);
 font-family: var(--site-font);
 text-align: left;
}

.home-v2 .home-entry-copy h3 {
 margin: 0;
 color: inherit;
 font-size: clamp(32px, 4.05vw, 65px);
 line-height: 1.03;
}

.home-v2 .home-entry-copy p {
 margin: 0;
 color: inherit;
 font: 400 clamp(15px, 1.45vw, 22px)/1.3 var(--site-font);
 text-shadow: 0 1px 3px rgb(12 20 17 / .55);
}

.home-entry-action {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: clamp(5px, 1vw, 13px);
 min-height: 44px;
 margin-top: clamp(3px, .55vw, 9px);
 padding: 7px clamp(12px, 1.65vw, 24px);
 border-radius: 999px;
 background: #fffaf1;
 color: #26372e;
 font: 500 clamp(13px, 1.17vw, 17px)/1.2 var(--site-font);
 transition: background-color .2s ease;
}

.home-v2 .home-entry-link:is(:hover, :focus-visible) .home-entry-action { background: #eadfc9; }
.home-v2 .home-entry-link:focus-visible { outline: 2px solid #fffaf1; outline-offset: -5px; }

@media (max-width: 1023px) {
 .home-v2 .home-entry-copy { gap: 8px; padding: clamp(16px, 3vw, 26px); }
 .home-v2 .home-entry-copy h3 { font-size: clamp(31px, 5vw, 49px); }
 .home-v2 .home-entry-copy p { font-size: clamp(16px, 2.1vw, 20px); }
 .home-entry-action { padding-inline: 15px; font-size: clamp(15px, 1.8vw, 17px); }
}

@media (max-width: 767px) {
 .home-v2 .home-entry-copy h3 { font-size: clamp(31px, 9.1vw, 54px); }
 .home-v2 .home-entry-copy p { font-size: clamp(16px, 4.3vw, 20px); }
 .home-v2 .home-entry-visual::after {
  background: linear-gradient(to top, rgb(12 20 17 / .92), rgb(12 20 17 / .68) 42%, transparent 90%);
 }
 .home-v2 .home-hero { min-height: clamp(450px, 77svh, 620px); }
 .home-v2 .home-hero::after {
  background: linear-gradient(0deg, rgba(8, 21, 23, .9), rgba(8, 21, 23, .48) 49%, transparent 88%);
 }
 .home-v2 .home-hero-copy { gap: 13px; padding: 34px 5%; }
 .home-v2 .home-hero-copy h1 { font-size: clamp(43px, 11vw, 66px); }
 .home-v2 .home-hero-intro { font-size: 15px; }
}
