/* Areas we cover: the map is the opener */
.ar-op { display: flex; align-items: center; padding-top: calc(var(--header-h) + clamp(14px, 2vw, 28px)); padding-bottom: clamp(28px, 3vw, 48px); }
.ar-op > .wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); }
.ar-op__grid { display: grid; gap: clamp(24px, 3.5vw, 60px); align-items: center; }
.ar-op__copy { display: grid; gap: 14px; align-content: center; }
.ar-op h1 { font-size: clamp(34px, 3.6vw, 60px); }
.ar-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-chip { position: relative; overflow: hidden; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); transition: color .3s, border-color .3s; isolation: isolate; }
.ar-chip i { position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ar-chip:hover { border-color: var(--green-deep); }
.ar-chip.is-on { color: #fff; border-color: var(--ink); background: var(--ink); transition: color .3s, border-color .3s, background 0s .45s; }
.ar-chip.is-on i { transform: scaleX(1); }
/* every area's text sits in the same cell, so the box is always as tall as the longest and nothing below moves */
.ar-now { display: grid; padding: 14px 18px; border-left: 3px solid var(--green-deep); background: rgba(255,255,255,.7); border-radius: 0 12px 12px 0; }
.ar-now > p { grid-area: 1 / 1; display: grid; gap: 4px; align-content: start; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.ar-now > p.is-on { visibility: visible; opacity: 1; transition: opacity .35s .1s, visibility 0s; }
.no-js .ar-now > p:not(:first-child) { display: none; }
.ar-now b { font-family: var(--display); font-weight: 750; font-size: 20px; }
.ar-now span { color: var(--muted); font-size: var(--small); }
.ar-map { position: relative; display: grid; gap: 10px; }
.ar-map__stage { position: relative; aspect-ratio: 10 / 9; width: min(100%, calc((100svh - var(--header-h) - 150px) * 1.11)); margin-inline: auto; border-radius: var(--radius); overflow: hidden; background: #e7efe1; border: 1px solid var(--line); box-shadow: 0 40px 70px -46px rgba(15,36,24,.5); }
.ar-map__stage .rmap { position: absolute; inset: 0; }
.ar-map__timer { width: min(100%, calc((100svh - var(--header-h) - 150px) * 1.11)); margin-inline: auto; height: 3px; border-radius: 3px; background: rgba(15,36,24,.12); overflow: hidden; }
.ar-map__timer i { display: block; height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }

.ar-cols { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.ar-col { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.ar-col:hover { background: rgba(122,188,99,.14); border-color: rgba(122,188,99,.5); }
.ar-col h3 { font-size: clamp(19px, 1.4vw, 22px); color: #fff; margin-bottom: 12px; }
.ar-col ul { display: grid; gap: 6px; }
.ar-col li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); }
.ar-col li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: 0 0 8px; }

.ar-sides { display: grid; gap: 10px; }
.ar-side { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; }
.ar-side h3 { font-size: clamp(19px, 1.35vw, 22px); color: var(--green-dark); }
.ar-side p { color: #33443a; font-size: var(--small); line-height: 1.55; }

@media (min-width: 1000px) {
  .ar-op__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (max-width: 999px) {
  /* phones: the map straight after the headline, then the area chips */
  .ar-op__copy { display: contents; }
  .ar-op__copy > h1 { order: 1; } .ar-op__copy > .lede { order: 2; } .ar-map { order: 3; } .ar-chips { order: 4; } .ar-now { order: 5; } .ar-op__copy > .op__ctas { order: 6; }
  .ar-map__stage, .ar-map__timer { width: 100%; }
}
/* short laptop screens: headline, chips, the area text and both buttons all above the fold */
@media (min-width: 1000px) and (max-height: 840px) {
  .ar-op { padding-top: calc(var(--header-h) + 10px); padding-bottom: 20px; }
  .ar-op__copy { gap: 10px; }
  .ar-op h1 { font-size: clamp(30px, 3vw, 46px); }
  .ar-op .lede { font-size: 16px; line-height: 1.45; }
  .ar-chips { gap: 6px; }
  .ar-chip { padding: 8px 14px; font-size: 15px; }
  .ar-now { padding: 10px 14px; }
  .ar-now b { font-size: 17px; }
  .ar-now span { font-size: 15px; line-height: 1.4; }
  .ar-op .btn { padding: 13px 22px; }
  .ar-map__stage, .ar-map__timer { width: min(100%, calc((100svh - var(--header-h) - 110px) * 1.11)); }
}
