/* Awanex home: hero, then "What you get." — a curved row of chrome tiles (get.js) streaming right to left.
   Colours: black, any grey, chrome #D8DBDE, white, small crimson #DC143C. Font: Geist. No photos. */

main { background: #000; }
section { position: relative; }

/* ---------- Hero: words rise in one by one; on scroll it sinks back as the film slides over ---------- */
.hero { position: sticky; top: 0; } /* holds still while "What you get." slides over it */
.hero-bg { position: absolute; inset: 0; transform-origin: 70% 50%; will-change: transform, opacity; }
.hero h1 { animation: none; background: none; color: #FFFFFF; }
.hero h1 .hw { display: inline-block; animation: hw-in 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 .hw:nth-child(1) { animation-delay: .10s; }
.hero h1 .hw:nth-child(2) { animation-delay: .17s; }
.hero h1 .hw:nth-child(3) { animation-delay: .24s; }
.hero h1 .hw:nth-child(5) { animation-delay: .31s; }
.hero h1 .hw:nth-child(6) { animation-delay: .38s; }
.hero p { animation-delay: .55s; }
@keyframes hw-in {
  from { opacity: 0; transform: translateY(.45em); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero-inner { will-change: transform, opacity; }

/* ---------- What you get. ---------- */
.get { position: relative; z-index: 2; background: #000; }
.get::before { /* soft edge so the section slides over the hero like a sheet */
  content: ""; position: absolute; left: 0; right: 0; top: -320px; height: 320px; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 45%, #000);
}
.get-stage { position: relative; height: 78vh; height: 78svh; min-height: 600px; max-height: 1100px; }
.get-row { position: absolute; inset: 0; overflow: hidden; /* curves fade out top and bottom instead of being cut */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.get-row::before, .get-row::after { /* black edges over the row: bent tile words fade out instead of being cut */
  content: ""; position: absolute; top: 0; bottom: 0; width: 22%; z-index: 2; pointer-events: none; }
.get-row::before { left: 0; background: linear-gradient(90deg, #000, rgba(0,0,0,0)); }
.get-row::after { right: 0; background: linear-gradient(270deg, #000, rgba(0,0,0,0)); }
.tgh-band { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.tgh-ready .tgh-band { opacity: 1; }
.tgh-tile { position: absolute; transform-style: preserve-3d; }
.tgh-slice { position: absolute; top: 0; overflow: hidden; background: #111214; }
.tgh-slice.l { border-radius: 10px 0 0 10px; }
.tgh-slice.r { border-radius: 0 10px 10px 0; }
.tgh-slice img { position: absolute; top: 0; max-width: none; object-fit: cover; user-select: none; }
.get-title {
  position: absolute; z-index: 2; left: 0; right: 0; top: clamp(86px, 11vh, 120px); margin: 0; text-align: center;
  font-size: clamp(56px, 7.4vw, 128px); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: #FFFFFF;
}
.get-title .gw { display: inline-block; }
.get-title .gw > span { display: inline-block; }
.get-title .chrome { /* polished chrome word with one pass of light across it */
  background: linear-gradient(100deg, rgba(255,255,255,0) calc(var(--sheen, -60%) - 18%), rgba(255,255,255,.95) var(--sheen, -60%), rgba(255,255,255,0) calc(var(--sheen, -60%) + 18%)),
    linear-gradient(180deg, #FFFFFF 0%, #D8DBDE 45%, #8E9297 62%, #E9EBED 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@property --sheen { syntax: '<percentage>'; inherits: true; initial-value: -60%; }
.get-under { /* the line for the tile in the middle */
  position: absolute; z-index: 3; left: 24px; right: 24px; top: calc(55% + min(17cqh, 16.9cqw) + 4vh);
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.get-cap { pointer-events: none; min-height: 2.6em; }
.get-stage { container-type: size; }
@media (min-width: 1600px) { .get-stage { height: 86vh; height: 86svh; } .get-under { top: calc(55% + min(19cqh, 16.9cqw) + 4vh); } }
.get-cap h3 { margin: 0; text-wrap: balance; font-size: clamp(30px, 3vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; color: #FFFFFF; }
.get-cap p { margin: 10px 0 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .68); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.end-cta {
  display: inline-flex; align-items: center; height: 54px; margin-top: 26px; padding: 0 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: #000; text-decoration: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 22%, #D8DBDE 50%, #D8DBDE 62%, #FFFFFF 100%);
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
  .end-cta:hover { transform: translateY(-2px) scale(1.04); box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(0, 0, 0, .18), 0 10px 34px rgba(220, 20, 60, .4); }
}
.end-cta:active { transform: scale(.97); }

.foot {
  position: relative; z-index: 2; background: #000;
  width: min(720px, 100vw - 48px); margin: 0 auto; padding: 36px 35px calc(40px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 28px;
}
.foot-logo { font-size: 14px; font-weight: 600; letter-spacing: .32em; color: #D8DBDE; text-decoration: none; }
.foot-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.foot-links a { font-size: 14px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.foot-links a:hover { color: #FFFFFF; }
.foot-note { margin: 0 0 0 auto; font-size: 13px; color: rgba(255, 255, 255, .45); }

@media (max-width: 820px) {
  .get { background: transparent; } /* on phones the title blurs in over the fading hero */
  .get::before { display: none; }
  .get-stage { background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,.7) 120px, #000 240px); }
  .get-stage { height: 52svh; min-height: 430px; }
  .get-under { top: calc(46% + 120px); gap: 18px; }
  .get-cap h3 { font-size: 26px; }
  .get-cap p { font-size: 15px; }
  .get-stage { height: 62svh; }
  .get-row::before, .get-row::after { width: 14%; }
  .get-title { top: 40px; font-size: 54px; }
  .foot { flex-wrap: wrap; gap: 16px 22px; padding: 28px 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
  .foot-note { margin: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .hw { animation: none; }
}
