/* NorskiUSA — Norwegian flag palette, editorial tone */
:root {
  --navy: #00205B;
  --navy-deep: #001540;
  --red: #BA0C2F;
  --red-dark: #9A0A27;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --ink: #1C2333;
  --muted: #5B6478;
  --line: #E6E0D6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 21, 64, .06), 0 8px 24px rgba(0, 21, 64, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16.5px;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--red);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 62px; flex-wrap: wrap; gap: 4px 16px; padding-top: 8px; padding-bottom: 8px;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem; font-weight: 700; color: var(--white) !important;
  display: flex; align-items: center; gap: 10px; text-decoration: none !important;
}
.brand .flag { width: 26px; height: 19px; border-radius: 3px; flex: none; }
.brand span.usa { color: #ffffff; opacity: .75; font-weight: 400; }
nav.main { display: flex; flex-wrap: wrap; gap: 2px; }
nav.main a {
  color: rgba(255,255,255,.88); padding: 8px 11px; border-radius: 8px;
  font-size: .92rem; font-weight: 500; text-decoration: none !important;
}
nav.main a:hover, nav.main a.active { background: rgba(255,255,255,.12); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0 84px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent 0 11%, rgba(255,255,255,.05) 11% 24%, transparent 24%),
    linear-gradient(to bottom, transparent 0 38%, rgba(255,255,255,.05) 38% 62%, transparent 62%);
}
.hero h1 { color: var(--white); max-width: 17ch; }
.hero p.lede { font-size: 1.18rem; max-width: 56ch; color: rgba(255,255,255,.85); }
.hero .kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: #F3C9D2; font-weight: 600; margin-bottom: 14px;
}
.page-hero { padding: 52px 0 46px; }
.page-hero p.lede { font-size: 1.08rem; }

.btn {
  display: inline-block; background: var(--red); color: #fff !important;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none !important; border: none; cursor: pointer;
}
.btn:hover { background: var(--red-dark); }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.4); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head p { color: var(--muted); margin: 0; }
.more-link { font-weight: 600; white-space: nowrap; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.card h3 { margin: 0; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.card .meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 600; }
.card a.card-link { font-weight: 600; font-size: .92rem; margin-top: 8px; }
a.card-wrap { text-decoration: none !important; color: inherit; display: block; }
a.card-wrap .card { height: 100%; transition: transform .12s ease, box-shadow .12s ease; }
a.card-wrap:hover .card { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,21,64,.08), 0 14px 32px rgba(0,21,64,.12); }
.card.featured { border-top: 4px solid var(--red); }
.badge {
  display: inline-block; background: #FBEAEE; color: var(--red); font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; align-self: flex-start;
}

/* Lists on detail pages */
.detail-list { display: grid; gap: 14px; }
.detail-list .card { flex-direction: column; }

/* Newsletter */
.newsletter {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 40px 32px; display: grid; gap: 10px; text-align: center;
}
.newsletter h2 { color: #fff; margin: 0; }
.newsletter p { color: rgba(255,255,255,.8); margin: 0 auto; max-width: 52ch; }
.newsletter form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.newsletter input[type=email] {
  padding: 12px 18px; border-radius: 999px; border: none; min-width: 260px;
  font-size: .95rem; font-family: inherit;
}
.newsletter .fine { font-size: .8rem; color: rgba(255,255,255,.55); }

/* Footer */
footer.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.75);
  padding: 44px 0 34px; margin-top: 64px; font-size: .92rem;
}
footer .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
footer a { color: rgba(255,255,255,.75); display: inline-block; padding: 2px 0; }
footer a:hover { color: #fff; }
footer .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; color: rgba(255,255,255,.5); }

/* Misc */
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.note {
  background: #FFF8E9; border: 1px solid #EADFC0; border-radius: var(--radius);
  padding: 16px 20px; font-size: .92rem; color: #6B5B2A;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .9rem; font-weight: 500; color: var(--navy);
  text-decoration: none !important;
}
.pill:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 640px) {
  .hero { padding: 48px 0 56px; }
  nav.main { margin-left: -8px; }
  .newsletter { padding: 30px 20px; }
}
