/* Base: reset, type, layout, ribbon, header, footer, illustration motion. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f); font-size: var(--fs-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
section, .section { border-top: 1px solid var(--line); }
.pad { padding-block: var(--pad-section); }
.band { background: var(--white); }

/* Type */
.eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow.muted { color: var(--ink-3); }
h1, .h1 { font-size: var(--fs-h1); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h2, .h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.25; letter-spacing: -.015em; }
.lede { font-size: var(--fs-lg); color: var(--ink-2); max-width: 32em; }
.sub { color: var(--ink-2); max-width: 40em; }
.meta { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: 14px; }
.prose a, a.inline { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Flags */
.flag { width: 21px; height: auto; aspect-ratio: 4 / 3; border-radius: 2px; box-shadow: 0 0 0 1px rgba(21, 35, 59, .1); flex: none; display: inline-block; }

/* Ribbon */
.ribbon { background: var(--ink); color: #D5DBE6; font-size: 13px; }
.ribbon .wrap { display: flex; align-items: center; gap: 22px; height: 40px; overflow-x: auto; scrollbar-width: none; }
.ribbon-lbl, .ribbon-ig { color: #B4BDCC; white-space: nowrap; }
.ribbon-ig { margin-left: auto; }
.ribbon-ig:hover, .ribbon-fl a:hover { color: #fff; }
.ribbon-fl { display: flex; gap: 18px; white-space: nowrap; }
.ribbon-fl a { display: inline-flex; gap: 7px; align-items: center; }
.ribbon-fl .flag { width: 18px; box-shadow: none; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(250, 250, 248, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr > .wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: inline-flex; align-items: baseline; font-size: 23px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.logo span { color: var(--ink-3); font-size: 18px; }
.logo svg { align-self: center; margin-right: 8px; }
.nav { display: flex; gap: 26px; font-size: var(--fs-md); font-weight: 500; color: var(--ink-2); }
.nav a { position: relative; padding-block: 6px; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); border-radius: 2px; }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { border-color: var(--ink-3); }
.burger { display: none; }
.drawer { border-top: 1px solid var(--line); background: var(--ground); }
.drawer nav { display: grid; padding-block: 8px 20px; }
.drawer a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.drawer a[aria-current] { color: var(--red); }
.drawer .btn { margin-top: 18px; justify-content: center; }

/* Footer */
.ftr { border-top: 1px solid var(--ink); padding-block: 56px 32px; }
.fgrid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.fh { margin: 0 0 14px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fgrid li { margin-bottom: 9px; font-size: var(--fs-md); }
.fgrid li a:hover { color: var(--blue); }
.fbrand p { font-size: var(--fs-md); color: var(--ink-2); margin-top: 14px; max-width: 26em; }
.ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-sm); color: var(--ink-2); }
.ig:hover { color: var(--blue); }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.legal b { color: var(--ink-2); font-weight: 500; }
.copy { margin-top: 22px; font-size: 13px; color: var(--ink-3); }

/* Skyline illustration motion */
.sky svg, .sky img { display: block; width: 100%; height: auto; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@keyframes sail { from { transform: translateX(0); } to { transform: translateX(-140px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes blink { 0%, 86%, 100% { opacity: .15; } 90% { opacity: 1; } }
.sky .cl { animation: drift 26s ease-in-out infinite alternate; }
.sky .cl2 { animation: drift 34s ease-in-out infinite alternate-reverse; }
.sky .ferry { animation: sail 60s linear infinite alternate; }
.sky .gull { animation: bob 5s ease-in-out infinite; }
.sky .beacon { animation: blink 3.2s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .sky * { animation: none !important; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 1060px) {
  .nav { gap: 18px; }
  .hdr > .wrap { gap: 24px; }
}
@media (max-width: 960px) {
  .nav, .hdr .hdr-cta { display: none; }
  .burger { display: grid; }
  .hdr > .wrap { height: 62px; }
  .logo { font-size: 21px; }
  .logo span { font-size: 17px; }
  .ribbon-lbl, .ribbon-ig { display: none; }
  .ribbon-fl { gap: 14px; font-size: 12px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: 1 / -1; }
  .legal { grid-template-columns: 1fr; }
}
