:root {
  color-scheme: light;
  --ink: #1b2433;
  --muted: #5b6578;
  --link: #135bb5;
  --line: #e2e7ef;
  --radius: 18px;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #eef1f6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
a, summary { color: var(--link); text-underline-offset: .2em; }
summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; }
p { line-height: 1.5; }

.landing {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 46% 34%, #fff 0%, #ffffffa6 34%, transparent 72%),
    linear-gradient(180deg, #bdc3cc, #dbd9d5 58%, #d1cdc7);
}
.landing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(260px, 42vw, 600px);
  z-index: -1;
  background: url("art/hero-backdrop.webp") center top / cover no-repeat;
  opacity: .16;
  mask-image: linear-gradient(to bottom, black, #000b 40%, transparent);
  pointer-events: none;
}
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px 20px; }
.brand img { width: clamp(142px, 18vw, 204px); height: auto; }
nav { display: flex; gap: 16px; }
nav [aria-current] { font-weight: 700; }
.landing-layout { padding-bottom: 44px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.hero-art, .news-card, .support-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 4px 14px #1b243310; }
.hero-art { width: 100%; height: auto; }
.eyebrow { font-size: .8rem; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.hero-copy .eyebrow { color: var(--muted); font-family: inherit; line-height: 1.5; }
.intro { color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.2rem); max-width: 36ch; }

@media (min-width: 801px) {
  .hero-copy { align-self: stretch; display: flex; flex-direction: column; }
  .hero-copy .download { margin-top: auto; padding-top: 1.2rem; }
}

.download { width: min(100%, 350px); margin-top: 1.2rem; text-align: center; }
.button { display: flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .55rem 1rem; border: 1px solid #d99a00; border-radius: 12px; background: linear-gradient(#ffe066, #ffc928); color: var(--ink); box-shadow: 0 2px 0 #d99a00; font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.button:hover { background: #ffe066; }
.button { position: relative; overflow: hidden; }
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, #ffffff55 50%, transparent 65%);
  pointer-events: none;
  animation: download-sheen 5s ease-in-out infinite;
}
@keyframes download-sheen {
  0%, 65% { transform: translateX(-100%); }
  88%, 100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .button::after { animation: none; visibility: hidden; }
}
.button:active { box-shadow: none; }
.button svg { width: 1.15em; height: 1.15em; flex: none; }
#platform { margin-top: .5rem; font-size: .95rem; color: var(--muted); }

#news { margin-top: 24px; scroll-margin-top: 16px; }
.featured { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 180px; overflow: hidden; border: 1px solid #ffffffa6; border-radius: var(--radius); box-shadow: 0 4px 14px #1b243316; color: white; background: #18231d; }
.featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 39%; z-index: -2; }
.featured::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #111c16f2, #111c16ce 36%, #111c1629 75%); pointer-events: none; }
.featured-copy { width: min(100%, 620px); padding: clamp(18px, 3vw, 30px); }
.featured h2 { font-size: clamp(1.55rem, 3.2vw, 2.65rem); line-height: 1.08; margin-block: .25rem .45rem; }
.featured summary, .featured details p { color: white; }
.featured :focus-visible { outline-color: white; }

.news-heading { font-size: clamp(1.55rem, 2.8vw, 2rem); margin-block: 20px 12px; }
.news-carousel { position: relative; min-width: 0; overflow: clip; border-radius: var(--radius); }
.news-grid { --gap: 16px; display: flex; align-items: stretch; gap: var(--gap); }
.news-carousel:not(.is-rotating) .news-grid { flex-wrap: wrap; }
.news-card { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); min-width: 0; overflow: hidden; }
.news-art { position: relative; aspect-ratio: 2.35 / 1; display: grid; place-items: center; }
.news-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.news-art .news-art-logo { left: 7%; width: 37%; height: 44%; object-fit: contain; filter: drop-shadow(0 3px 5px #000b); }
.news-art-subject { position: absolute; inset: 0 0 0 49%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 24%); }
.news-art-subject img { transform: scale(1.75); }
.news-art-subject img[src$="cap-zodiac-01.webp"] { transform: translateY(12%) scale(1.75); }
.news-copy { padding: 12px 16px 16px; }
.news-copy h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.15; }
.news-date { color: var(--muted); font-size: .875rem; font-weight: 650; margin-block: 3px 6px; }
details { font-size: 1.0625rem; }
details p { margin-top: .4rem; color: var(--muted); }
.news-copy summary:focus-visible { outline-offset: 0; }

.support { max-width: 800px; padding-block: 16px 40px; }
.support h1 { margin-bottom: 16px; }
.support-card { padding: clamp(20px, 4vw, 36px); }
.support-card h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.support-card h2:not(:first-child) { margin-top: 1.5rem; }
.support-card a { display: inline-block; margin-top: .5rem; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .5rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 32px); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { grid-row: 1; }
  .news-card { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 520px) {
  .featured::after { background: linear-gradient(90deg, #111c16f5, #111c16b5 75%, #111c1666); }
  .news-card { flex-basis: 100%; }
}
