/* A field note: a dark title screen with the note's own picture, then a calm cream reading column. The shared menu and
   footer come from the frame style. */
@font-face { font-family: "Editorial Today"; src: url("../assets/fonts/EditorialToday-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gail Rock"; src: url("../assets/fonts/Gail-Rock-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Anthem Grotesk"; src: url("../assets/fonts/NVAnthemGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Anthem Grotesk"; src: url("../assets/fonts/NVAnthemGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root { --deep: #071a1c; --p: #10282b; --a: #4dd8d2; --a2: #9df5f0; --cream: #f6e5d2; --line: rgba(77, 216, 210, 0.34); --gut: clamp(1.25rem, 5.2vw, 7.5rem); }
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--p); font-family: "Anthem Grotesk", "Avenir Next", Arial, sans-serif; }
h1, h2, p { margin: 0; }
::selection { background: var(--a); color: #051315; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; }

.article .head { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-auto-rows: min-content; align-content: center; column-gap: 4vw; min-height: 100svh; padding: calc(4.4 * var(--u, 1vw) + 3rem) var(--gut) 4rem; overflow: clip; background: radial-gradient(55% 60% at 74% 48%, rgba(77, 216, 210, 0.16), rgba(77, 216, 210, 0) 70%), radial-gradient(80% 50% at 50% 110%, rgba(77, 216, 210, 0.1), rgba(77, 216, 210, 0) 70%), var(--deep); color: #fff; }
.head > * { grid-column: 1; }
.head .note-pic { grid-column: 2; grid-row: 1 / span 5; align-self: center; justify-self: center; width: min(34vw, 40rem); height: auto; filter: drop-shadow(0 0 3rem rgba(77, 216, 210, 0.22)); }
.label { justify-self: start; padding: 0.4em 0.95em; border: 1px solid var(--line); border-radius: 99px; color: var(--a2); font: 500 clamp(0.68rem, 0.6 * var(--u, 1vw), 0.9rem)/1.2 "Gail Rock", monospace; letter-spacing: 0.18em; text-transform: uppercase; }
.head h1 { max-width: 15ch; margin-top: 0.5em; font: 400 clamp(2.5rem, 4.4 * var(--u, 1vw), 7rem)/1.03 "Editorial Today", serif; letter-spacing: -0.015em; }
.deck { max-width: 42rem; margin-top: 1.3rem; font-size: clamp(1.05rem, 1.12 * var(--u, 1vw), 1.6rem); line-height: 1.5; }
.byline { margin-top: 1.6rem; font-size: clamp(0.9rem, 0.78 * var(--u, 1vw), 1.1rem); }
.byline a { color: var(--a2); }

.article .body { width: min(46rem, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(3rem, 6vw, 6.5rem) 0 2.5rem; }
.body h2 { margin: 2.6em 0 0.6em; font: 400 clamp(1.8rem, 2.4vw, 2.7rem)/1.08 "Editorial Today", serif; letter-spacing: -0.01em; }
.body h2:first-child { margin-top: 0; }
.body p, .body li { color: var(--p); font-size: clamp(1.05rem, 1.15vw, 1.2rem); line-height: 1.75; }
.body p + p { margin-top: 1em; }
.body a { color: #0b5f5b; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.callout { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--a); border-radius: 0 0.6rem 0.6rem 0; background: rgba(16, 40, 43, 0.06); color: var(--p); font: 400 1.35rem/1.45 "Editorial Today", serif; }
.next-step { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; width: min(46rem, calc(100% - 2.5rem)); margin: 1rem auto 6rem; padding: 1.6rem 1.8rem; border-radius: 0.9rem; background: var(--p); color: #fff; }
.next-step b { display: block; font: 400 1.6rem/1.15 "Editorial Today", serif; }
.next-step p { margin-top: 0.4rem; font-size: 1rem; line-height: 1.5; }
.next-step a { display: inline-flex; align-items: center; padding: 0.95em 1.4em; border-radius: 0.35rem; background: var(--a); color: #051315; font-weight: 600; text-decoration: none; white-space: nowrap; }
.next-step a:hover { background: var(--a2); }

@media (min-width: 1280px) and (prefers-reduced-motion: no-preference) {
  .head .note-pic { animation: float 8s ease-in-out infinite; }
  .motion-paused .head .note-pic { animation-play-state: paused; }
}
@keyframes float { 50% { transform: translateY(-2%) rotate(-1deg); } }
@media (max-width: 759.98px) {
  .article .head { grid-template-columns: 1fr; min-height: 0; padding-top: 6rem; }
  .head .note-pic { grid-column: 1; grid-row: auto; order: -1; width: 52%; margin-bottom: 1rem; }
  .next-step { grid-template-columns: 1fr; }
}
