:root {
  --ink: #161711;
  --paper: #f2efe5;
  --acid: #ff5a1f;
  --mist: #c8d1cc;
  --line: rgba(22, 23, 17, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); background: var(--paper); padding: 10px 14px; }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 25px 3.2vw; color: white; border-bottom: 1px solid rgba(255,255,255,.28); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.wordmark { justify-self: start; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; }
.wordmark i { color: var(--acid); font-style: normal; }
.site-header nav { display: flex; gap: clamp(22px, 3vw, 52px); }
.site-header nav a { opacity: .78; transition: opacity .2s; }
.site-header nav a:hover { opacity: 1; }
.status-dot { justify-self: end; display: flex; align-items: center; gap: 8px; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(255,90,31,.18); animation: pulse 2s infinite; }

.hero { position: relative; min-height: 100svh; height: 900px; color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("weather-you-should-hero.png") center center/cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,8,.55) 0%, rgba(8,10,8,.09) 52%, rgba(8,10,8,.24) 100%), linear-gradient(0deg, rgba(8,10,8,.55), transparent 45%); }
.hero-content { position: relative; z-index: 1; height: 100%; padding: 17vh 3.2vw 5vh; display: flex; flex-direction: column; }
.eyebrow, .kicker { font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin: 0 0 7vh; }
.eyebrow span { color: var(--acid); padding: 0 7px; }
h1 { margin: 0; font-size: clamp(4.5rem, 11.2vw, 10.5rem); line-height: .79; letter-spacing: -.075em; font-weight: 600; }
h1 span { display: block; }
h1 span:last-child { margin-left: 8.5vw; font-weight: 400; font-style: italic; }
.hero-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; }
.hero-bottom > p { margin: 0 0 14px; font: 300 clamp(15px, 1.2vw, 19px)/1.55 "DM Mono", monospace; }
.round-link { width: 126px; height: 126px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; display: grid; place-content: center; gap: 10px; text-align: center; font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; transition: background .25s, color .25s, transform .25s; }
.round-link:hover { background: var(--acid); border-color: var(--acid); transform: rotate(-5deg); }
.round-link b { font-size: 20px; }
.weather-stamp { position: absolute; z-index: 2; right: 3.2vw; top: 100px; display: flex; gap: 18px; font: 400 10px "DM Mono", monospace; letter-spacing: .12em; }

.ticker { overflow: hidden; color: var(--paper); background: var(--acid); border-top: 1px solid rgba(0,0,0,.1); border-bottom: 1px solid rgba(0,0,0,.1); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 34px; padding: 16px 0; font: 500 12px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; animation: marquee 22s linear infinite; }
.ticker i { color: var(--ink); font-style: normal; }

.section { padding: clamp(80px, 10vw, 150px) 3.2vw; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: end; margin-bottom: 65px; }
.kicker { margin: 0; color: #61645b; }
.section h2 { margin: 0; font-size: clamp(3rem, 6.5vw, 7rem); line-height: .9; letter-spacing: -.065em; font-weight: 500; }
.section-note { margin: 0 0 5px; justify-self: end; font: 400 12px/1.55 "DM Mono", monospace; text-transform: uppercase; }
.forecast-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.forecast-card { min-height: 600px; padding: 24px 26px 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-left: 0; background: var(--mist); transition: transform .3s; }
.forecast-card:hover { transform: translateY(-8px); }
.forecast-card.dark { background: var(--ink); color: var(--paper); }
.forecast-card.orange { background: var(--acid); }
.card-top { display: flex; justify-content: space-between; font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.weather-icon { height: 170px; position: relative; margin: 45px auto 20px; width: 180px; }
.sun-cloud i { position: absolute; right: 15px; top: 0; width: 94px; height: 94px; border: 1px solid currentColor; border-radius: 50%; }
.sun-cloud b, .rain i { position: absolute; width: 105px; height: 49px; border-radius: 50px 50px 12px 12px; border: 1px solid currentColor; bottom: 30px; left: 15px; background: inherit; }
.sun-cloud b:after, .rain i:after { content: ""; position: absolute; width: 65px; height: 65px; border: 1px solid currentColor; border-bottom: 0; border-radius: 50% 50% 0 0; top: -45px; left: 20px; }
.rain i { left: 38px; bottom: 75px; }
.rain b, .rain em { position: absolute; width: 1px; height: 60px; background: var(--paper); bottom: 0; transform: rotate(18deg); }
.rain b { left: 70px; }.rain em { left: 120px; bottom: 10px; }
.bolt { display: grid; place-items: center; font: 300 170px/1 serif; transform: rotate(8deg); }
.forecast-card h3 { margin: 0; font-size: clamp(2.3rem, 3.5vw, 4.2rem); line-height: .9; letter-spacing: -.05em; font-weight: 500; }
.forecast-card > p { max-width: 30ch; min-height: 4.8em; margin: 24px 0 30px; font: 400 14px/1.6 "DM Mono", monospace; }
.meter { height: 5px; background: rgba(0,0,0,.17); margin-top: auto; overflow: hidden; }
.dark .meter { background: rgba(255,255,255,.18); }
.meter i { display: block; width: var(--level); height: 100%; background: currentColor; }
.forecast-card small { display: flex; justify-content: space-between; margin-top: 10px; font: 400 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }

.listen { background: #dcd8cb; display: grid; grid-template-columns: .8fr 2fr; gap: 8vw; align-items: end; }
.listen-copy > p:last-child { max-width: 32ch; margin: 28px 0 0; font: 400 14px/1.65 "DM Mono", monospace; }
.player { display: grid; grid-template-columns: minmax(230px, .72fr) 1fr; border: 1px solid var(--ink); min-height: 430px; }
.album-art { position: relative; padding: 22px; color: var(--paper); background: #8e9a9c; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.album-sky { position: absolute; inset: 0; background: radial-gradient(circle at 25% 30%, #f3d875 0 6%, transparent 6.5%), linear-gradient(160deg, transparent 0 44%, rgba(16,20,22,.74) 45% 58%, transparent 59%), linear-gradient(#a4b9bd 0 55%, #4d5e4d 56% 100%); filter: saturate(.75); }
.album-art:after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); opacity: .4; }
.album-art span, .album-art small { position: relative; z-index: 1; }
.album-art span { font-size: 26px; font-weight: 700; letter-spacing: -.08em; }
.album-art small { font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .12em; }
.player-main { padding: 30px; display: flex; flex-direction: column; }
.track-meta { display: flex; justify-content: space-between; gap: 20px; }
.track-meta small { font: 500 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.track-meta h3 { margin: 8px 0 0; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.04em; }
.track-meta > span { font: 400 12px "DM Mono", monospace; }
.waveform { height: 100px; margin: auto 0; opacity: .45; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 7px); clip-path: polygon(0 49%, 7% 49%, 8% 45%, 9% 51%, 13% 51%, 14% 47%, 15% 53%, 16% 49%, 100% 49%, 100% 51%, 16% 51%, 15% 55%, 14% 49%, 13% 53%, 9% 53%, 8% 47%, 7% 51%, 0 51%); }
.player-controls { border-top: 1px solid var(--line); padding-top: 22px; display: flex; align-items: center; gap: 20px; }
.play-button { width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--acid); color: var(--paper); cursor: pointer; transition: transform .2s; }
.play-button:hover { transform: scale(1.06); }
.player-message { margin: 0; font: 400 11px "DM Mono", monospace; }
.shuffle { margin-left: auto; border: 0; background: none; font-size: 22px; opacity: .45; }
.player.playing .waveform { animation: wiggle .45s steps(2) infinite; opacity: .8; }

.about { min-height: 760px; display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 7vw; background: var(--paper); }
.about-mark { aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 2vw; font-size: clamp(5rem, 10vw, 11rem); font-weight: 600; letter-spacing: -.1em; }
.about-mark i { color: var(--acid); font-size: .25em; font-style: normal; }
.about-copy .kicker { margin-bottom: 45px; }
.about-copy h2 { font-size: clamp(3rem, 5.3vw, 6rem); }
.about-copy .lead { max-width: 32ch; margin: 35px 0; font-size: 21px; line-height: 1.4; }
.about-copy > p:last-child { max-width: 52ch; font: 400 14px/1.7 "DM Mono", monospace; }

footer { background: var(--ink); color: var(--paper); min-height: 360px; padding: 70px 3.2vw 28px; display: flex; flex-direction: column; }
.footer-logo { font-size: clamp(3.5rem, 8.8vw, 9rem); line-height: 1; letter-spacing: -.075em; }
footer > p { color: var(--acid); font: 400 12px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
footer > div { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; font: 400 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255,90,31,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wiggle { 50% { transform: scaleY(.5); } }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr 1fr; padding: 20px; }
  .site-header nav { display: none; }
  .hero { height: 780px; }
  .hero-content { padding: 155px 20px 35px; }
  h1 { font-size: clamp(4.1rem, 20vw, 7rem); line-height: .84; }
  h1 span:last-child { margin: 10px 0 0; }
  .weather-stamp { display: none; }
  .round-link { width: 100px; height: 100px; }
  .hero-bottom > p { font-size: 12px; }
  .section { padding: 85px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-note { justify-self: start; }
  .forecast-grid { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .forecast-card { border-left: 0; min-height: 530px; }
  .listen { grid-template-columns: 1fr; gap: 55px; }
  .player { grid-template-columns: 1fr; }
  .album-art { aspect-ratio: 1; }
  .player-main { min-height: 340px; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-mark { order: 2; }
  footer { min-height: 300px; }
  footer > div { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
