/* Dunavia home (10-05): forest green, cream, river blue; Gelasio + Roboto like the other pages */
:root { --bg: #0d2116; --panel: #143222; --ink: #f6f3ea; --mut: #a9bdb0; --acc: #8cc8ef; --line: rgba(140, 200, 239, .28); }
* { box-sizing: border-box; margin: 0; }
html, body { background: var(--bg); color: var(--ink); font: 17px/1.6 Roboto, system-ui, sans-serif; }
a { color: var(--acc); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; flex-wrap: wrap;
  background: linear-gradient(#0d2116ee, #0d211600); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 22px Gelasio, serif; }
.brand img { border-radius: 6px; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; opacity: .9; }
nav a:hover, nav a:focus { color: var(--acc); }
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0d2116f0 0%, #0d2116b0 45%, #0d211622 80%), linear-gradient(0deg, #0d2116 0%, #0d211600 35%); }
.hero .txt { position: relative; padding: 0 7vw 12vh; max-width: 760px; }
.flag { border-radius: 4px; box-shadow: 0 10px 30px #0008; margin-bottom: 18px; }
h1 { font: 700 clamp(56px, 10vw, 120px)/1 Gelasio, serif; color: var(--acc); letter-spacing: -1px; }
.big { font: 400 clamp(22px, 3vw, 32px)/1.3 Gelasio, serif; margin: 14px 0 12px; }
.cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.btn.main { background: var(--acc); color: #0d2116; border-color: var(--acc); }
.btn:hover, .btn:focus { border-color: var(--acc); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding: 56px 7vw 20px; max-width: 1240px; margin: 0 auto; }
.cards a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; color: var(--ink); text-decoration: none; }
.cards a:hover, .cards a:focus { border-color: var(--acc); }
.cards h2 { font: 700 24px Gelasio, serif; color: var(--acc); margin-bottom: 8px; }
.cards p { color: var(--mut); }
.about { max-width: 760px; margin: 0 auto; padding: 40px 7vw 60px; }
.about h2 { font: 700 34px Gelasio, serif; margin-bottom: 14px; }
.about p + p { margin-top: 14px; }
.note { color: var(--mut); font-style: italic; }
.foot { border-top: 1px solid var(--line); padding: 22px 7vw; color: var(--mut); font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot img { border-radius: 4px; }
@media (max-width: 640px) { .top { padding: 12px 16px; } nav { gap: 12px; } .hero .txt { padding: 0 16px 9vh; } .cards, .about { padding-left: 16px; padding-right: 16px; } }
.social { margin-top: 16px; font-size: 15px; color: var(--mut); }
.social a { color: var(--ink); }

/* one column for everything (Ry 10-05: "serious alignment issues"): hero text, cards, about and footer share the same left edge */
.wrap { width: min(1180px, 100% - 14vw); margin: 0 auto; }
.hero .txt { padding: 0 0 12vh; max-width: none; width: min(1180px, 100% - 14vw); margin: 0 auto; }
.hero .txt > * { max-width: 680px; }
.cards { padding: 56px 0 20px; width: min(1180px, 100% - 14vw); max-width: none; margin: 0 auto; }
.about { padding: 48px 0 64px; width: min(1180px, 100% - 14vw); max-width: none; margin: 0 auto; }
.about > * { max-width: 760px; }
.foot { padding: 22px 0; }
.foot .wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.social { margin-top: 18px; }
.top { padding-left: max(16px, calc((100% - 1180px) / 2)); padding-right: max(16px, calc((100% - 1180px) / 2)); }
@media (max-width: 640px) { .hero .txt, .cards, .about, .wrap { width: calc(100% - 32px); } .hero .txt { padding-bottom: 9vh; } }
/* teaser (Ry 10-07: "is the alignment not a bit odd?"): same column and left edge as the cards, text left, video right */
.film { width: min(1180px, 100% - 14vw); margin: 0 auto; padding: 48px 0 8px; display: grid; grid-template-columns: 1fr 2fr; gap: 18px 40px; align-items: center; }
.film .kick { color: var(--acc); font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.film h2 { font: 700 34px Gelasio, serif; margin-bottom: 12px; }
.film .intro p { color: var(--mut); }
.film .more { margin-top: 14px; }
.film .more a { color: var(--acc); }
.yt { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.yt iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .film { width: calc(100% - 32px); padding-top: 32px; } .film h2 { font-size: 28px; } .yt { border-radius: 12px; } }

/* hero caption (Ry 10-12: dusk image; it is an enhanced render, so say what it is) */
.hero .cap { position: absolute; right: 16px; bottom: 12px; margin: 0; font-size: 12px; letter-spacing: .04em; color: #ffffffcc; text-shadow: 0 1px 3px #000c; }
/* the aerial view moves behind the content under the hero (Ry 10-12: "let the current hero image move to the background of the content below") */
.landbg { position: relative; isolation: isolate; }
.landbg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0d2116 0%, #0d2116d9 18%, #0d2116cc 60%, #0d2116f2 100%), url(/img/land-bg.jpg) center / cover no-repeat; }
/* "What is Dunavia?" and the official contract side by side (Ry 10-12) */
.pair { width: min(1180px, 100% - 14vw); margin: 0 auto; padding: 48px 0 64px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pair .about { width: auto; padding: 0; margin: 0; }
.contract { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--acc); border-radius: 16px; padding: 22px; }
.contract h2 { font: 700 22px Gelasio, serif; margin-bottom: 8px; }
.contract p { color: var(--mut); font-size: 15px; }
.ca { margin: 14px 0 12px; display: grid; gap: 8px; }
.ca code { font: 500 13px/1.45 ui-monospace, "SFMono-Regular", Menlo, monospace; color: var(--ink); word-break: break-all; background: #0d211699; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ca .cp { justify-self: start; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: transparent; color: var(--acc); border-radius: 9px; padding: 6px 12px; font: 600 14px inherit; cursor: pointer; }
.ca .cp:hover, .ca .cp:focus-visible { background: rgba(140, 200, 239, .12); outline: none; }
.ca .cp.ok { color: #7bc47f; border-color: #7bc47f66; }
.ca-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.ca-links a { color: var(--acc); }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .pair { width: calc(100% - 32px); } }
