/* HALEWILD · home */

/* 1. hero */
.hero { position: relative; height: 270vh; background: var(--deep); }
.h-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1400px; }
.h-plane { position: absolute; inset: -4%; transform-style: preserve-3d; will-change: transform; }
.h-plane video { width: 100%; height: 100%; object-fit: cover; }
.h-veil { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#hVeilRect { fill: #0A1C21; fill-opacity: .9; }
#hWord { font-family: var(--sans); font-weight: 800; letter-spacing: -.06em; }
.h-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 6vh, 64px); z-index: 4; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 40px; align-items: end; }
.h-copy .k { grid-column: 1 / -1; color: var(--ink2); margin: 0; }
.h-copy h1 { font-size: clamp(40px, 5.4vw, 88px); }
.h-copy .lede { margin: 0; color: var(--ink); }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; grid-column: 2; }
.h-meter { position: absolute; right: var(--pad); top: calc(var(--top) + 26px); z-index: 4; display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); }
.h-meter .k { margin: 0; color: var(--ink); }
.h-meter .bar { width: 120px; height: 1px; background: var(--line2); position: relative; }
.h-meter .bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.h-arrive { position: absolute; left: var(--pad); top: calc(var(--top) + 22px); z-index: 4; margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .6s; }
.h-arrive.on { opacity: 1; }
.hero .credit { z-index: 5; }
.h-stick::after { content: ''; position: absolute; inset: auto 0 0; height: 55%; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(6, 19, 22, 0), rgba(6, 19, 22, .78)); }
@media (max-width: 860px) {
  .h-copy { grid-template-columns: 1fr; }
  .h-cta { grid-column: 1; }
  .h-meter { display: none; }
}
html.rm .hero { height: 100vh; }

/* 2. film */
.film { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 7vw, 100px); background: var(--deep); }
.film-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.film-head .k { grid-column: 1 / -1; margin: 0; }
.film-head .lede { margin: 0; }
.film-box { position: relative; margin: 0 var(--pad); aspect-ratio: 16 / 9; max-height: 86vh; overflow: hidden; background: #000; }
.film-box img, .film-box video { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: linear-gradient(180deg, rgba(6, 19, 22, 0) 40%, rgba(6, 19, 22, .5)); border: 0; cursor: pointer; color: var(--ink); }
.film-play .ring { width: clamp(84px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: transform .6s var(--ease); }
.film-play .ring svg { width: 34%; fill: currentColor; margin-left: 6%; }
.film-play:hover .ring { transform: scale(1.08); }
.film-play .t { font-weight: 600; font-size: 17px; }
.film-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; padding: 0; border-bottom: 1px solid var(--line); }
.film-meta p { margin: 0; padding: 22px var(--pad) 26px; border-right: 1px solid var(--line); color: var(--ink2); font-size: 15px; }
.film-meta p:last-child { border-right: 0; }
.film-meta b { display: block; font-size: 28px; letter-spacing: -.04em; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 860px) {
  .film-head { grid-template-columns: 1fr; }
  .film-meta { grid-template-columns: 1fr 1fr; }
  .film-meta p:nth-child(2) { border-right: 0; }
  .film-box { margin: 0; }
}

/* 3. breathe with the page */
.br { position: relative; min-height: 100vh; overflow: hidden; display: flex; align-items: stretch; --b: 0; }
.br-media { position: absolute; inset: 0; background: #1a3036; }
.br-media video { transform: scale(calc(1.02 + var(--b) * .1)); transition: transform .15s linear; }
.br-media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(6, 19, 22, .2), rgba(6, 19, 22, .78) 75%), linear-gradient(180deg, rgba(6, 19, 22, .55), rgba(6, 19, 22, .15) 30%, rgba(6, 19, 22, .6)); }
.br-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); align-items: center; padding-top: calc(var(--top) + 50px); padding-bottom: 60px; }
.br-head h2 { font-size: clamp(38px, 4vw, 64px); letter-spacing: calc(-.045em + var(--b) * .06em); }
.br-head .lede { font-size: 17px; }
.br-pacer { position: relative; width: min(34vw, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.br-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.br-ring .g { fill: none; stroke: rgba(243, 241, 234, .22); stroke-width: 1; }
.br-ring .lung { fill: rgba(233, 166, 90, .16); stroke: var(--gold); stroke-width: 1.5; transform-origin: 200px 200px; transform: scale(calc(1 + var(--b) * 1.7)); }
.br-ring .arc { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: 200px 200px; }
.br-btn { position: relative; z-index: 2; width: 42%; aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; display: grid; place-content: center; gap: 2px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform .3s var(--ease), background .3s; }
.br-btn:hover { background: #fff; }
.br-btn.hold { transform: scale(.94); }
.br-btn .w { font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.05em; line-height: 1; }
.br-btn .s { font-size: 13.5px; font-weight: 500; }
.br-dots { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.br-dots li { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); font: 500 11px/28px var(--mono); text-align: center; color: var(--ink3); }
.br-dots li.done { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.br-state { position: absolute; top: calc(100% + 34px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 80vw; margin: 0; text-align: center; font-size: 14.5px; color: var(--ink2); }
.br-feel { align-self: end; }
.br-res { margin: 0 0 16px; font-size: 17px; color: var(--ink); max-width: 24em; }
.br-res b { color: var(--gold); }
.feels { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line2); }
.feels button { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line2); padding: 14px 0 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.feels button:nth-child(odd) { border-right: 1px solid var(--line2); padding-right: 14px; }
.feels button:nth-child(even) { padding-left: 14px; }
.feels b { font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.feels small { font: 500 11px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.feels button[aria-pressed="true"] b { color: var(--gold); }
.feels button[aria-pressed="true"] small { color: var(--gold); }
.feels button:hover b { color: var(--gold); }
.br-match { margin-top: 18px; display: grid; gap: 10px; }
.br-match .line { margin: 0 0 4px; color: var(--ink2); font-size: 15px; }
.mini { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; text-decoration: none; background: rgba(6, 19, 22, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 8px; border-radius: 4px; transition: border-color .3s; }
.mini:hover { border-color: var(--gold); }
.mini img { width: 92px; height: 70px; object-fit: cover; }
.mini b { display: block; font-size: 18px; letter-spacing: -.03em; }
.mini span { font-size: 13.5px; color: var(--ink2); }
.br-match .link { justify-self: start; margin-top: 6px; }
/* while you breathe in, the whole page inhales with you */
html.inhaling .top { border-bottom-color: var(--gold); }
@media (max-width: 1100px) {
  .br-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .br-head .k { justify-content: center; }
  .br-head .lede { margin-left: auto; margin-right: auto; }
  .br-pacer { width: min(80vw, 400px); margin-bottom: 50px; }
  .br-feel { width: 100%; max-width: 560px; text-align: left; }
}

/* section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(36px, 4vw, 60px); }
.sec-head .lede { margin: 0 0 6px; }
.sec-more { padding-top: 40px; padding-bottom: clamp(70px, 8vw, 120px); display: flex; justify-content: center; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* 4. season: bigger photographs on the home rows */
.season .rrow { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
@media (max-width: 520px) { .season .rrow { grid-template-columns: 1fr; } }

/* 5. how */
.how { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.how-media { position: absolute; inset: 0; }
.how-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 28, 33, .1) 28%, rgba(10, 28, 33, .15) 55%, rgba(10, 28, 33, .92) 88%, var(--bg)); }
.how-grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line2); margin-bottom: 60px; }
.how-lead { padding: 36px var(--pad); }
.how-lead .link { display: inline-block; margin-top: 22px; }
.steps { display: contents; list-style: none; }
.steps li { border-left: 1px solid var(--line2); padding: 36px clamp(16px, 2vw, 32px); display: flex; flex-direction: column; min-height: 330px; }
.steps b { font-size: clamp(44px, 4.2vw, 68px); letter-spacing: -.06em; line-height: .9; }
.steps .k { margin: 10px 0 auto; }
.steps .k::before { display: none; }
.steps h3 { margin-top: 40px; font-size: clamp(20px, 1.6vw, 25px); }
.steps p { margin: 8px 0 0; color: var(--ink2); font-size: 15px; }
@media (max-width: 1000px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-lead { grid-column: 1 / -1; }
  .steps li { min-height: 220px; border-top: 1px solid var(--line2); }
  .steps li:nth-child(odd) { border-left: 0; }
}

/* 6. places */
.pl-row { display: flex; height: min(86vh, 760px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-right: 1px solid var(--line); transition: flex-grow calc(.9s * var(--tempo)) var(--ease); text-decoration: none; display: block; }
.pl:last-child { border-right: 0; }
.pl.open { flex-grow: 3.4; }
.pl video, .pl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 19, 22, .5), rgba(6, 19, 22, 0) 30%, rgba(6, 19, 22, 0) 50%, rgba(6, 19, 22, .85)); }
.pl .n { position: absolute; left: 20px; top: 20px; z-index: 2; font: 500 12px/1 var(--mono); }
.pl .t { position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 2; }
.pl h3 { font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.04em; white-space: nowrap; transition: font-size .6s var(--ease); }
.pl.open h3 { font-size: clamp(34px, 3.6vw, 60px); }
.pl .t p { margin: 10px 0 0; color: var(--ink2); font-size: 15px; max-width: 26em; display: none; }
.pl.open .t p { display: block; animation: plIn .7s var(--ease) both; }
@keyframes plIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pl .credit { display: none; }
.pl.open .credit { display: block; }
@media (max-width: 860px) {
  .pl-row { flex-direction: column; height: auto; }
  .pl { flex: none; height: 200px; border-right: 0; border-bottom: 1px solid var(--line); transition: height .7s var(--ease); }
  .pl.open { height: 440px; }
  .pl .t p, .pl .credit { display: block; }
}

/* 7. hosts */
.h-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hc { border-right: 1px solid var(--line); padding: clamp(16px, 2vw, 28px); text-decoration: none; display: block; }
.hc:last-child { border-right: 0; }
.hc .media { aspect-ratio: 4 / 5; }
.hc h3 { margin-top: 20px; }
.hc p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; }
.hc .k { margin: 16px 0 0; }
@media (max-width: 860px) {
  .h-cards { grid-template-columns: 1fr; }
  .hc { border-right: 0; border-bottom: 1px solid var(--line); }
  .hc .media { aspect-ratio: 16 / 12; }
}

/* 8. cta */
.cta { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.cta-media { position: absolute; inset: 0; }
.cta-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(10, 28, 33, 0) 25%, rgba(10, 28, 33, .2) 55%, rgba(6, 19, 22, .9)); }
.cta-in { position: relative; z-index: 2; padding-bottom: clamp(60px, 8vw, 110px); }
.cta-in h2 { font-size: clamp(48px, 8vw, 140px); letter-spacing: -.06em; }
.cta-in .h-cta { margin-top: 26px; }
