/* Einvirki – vefur. Litir úr merkinu (merki/make.py). */
:root {
  --navy-950: #070C1A;
  --navy-900: #0B1226;
  --navy-800: #111A33;
  --navy: #16203A;
  --navy-600: #1F2A44;
  --navy-line: rgba(224, 160, 102, .18);
  --cu-1: #F6CFA0;
  --cu-2: #D89058;
  --cu-3: #B06A2E;
  --cu-4: #8A4E1E;
  --gold: #F3C891;
  --gold-2: #C98A4B;
  --cream: #FBF6EE;
  --cream-2: #F5ECDD;
  --cream-ink: #F4E9D8;
  --ink: #1F2A44;
  --ink-soft: #4A4F5E;
  --taupe: #C9A77F;
  --copper-grad: linear-gradient(135deg, #F6CFA0 0%, #D89058 28%, #B06A2E 55%, #8A4E1E 80%, #5E3010 100%);
  --gold-grad: linear-gradient(90deg, #C98A4B 0%, #F3C891 50%, #C98A4B 100%);
  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--cream-ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cu-1); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Letur ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: .005em; }
.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--taupe); margin: 0 0 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold-grad); flex: none; }
.copper-text {
  background: linear-gradient(100deg, #C98A4B 0%, #F6CFA0 22%, #D89058 40%, #F3C891 55%, #B06A2E 75%, #F6CFA0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .copper-text { animation: none; } }

/* ---------- Hnappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-copper { background: var(--copper-grad); color: var(--navy-950); box-shadow: 0 10px 30px -10px rgba(216, 144, 88, .65), inset 0 1px 0 rgba(255, 231, 196, .7); }
.btn-copper:hover { color: var(--navy-950); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(243, 200, 145, .75), inset 0 1px 0 rgba(255, 231, 196, .8); }
.btn-ghost { border-color: rgba(243, 200, 145, .45); color: var(--cream-ink); background: rgba(22, 32, 58, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--cream-ink); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-600); color: var(--gold); }

/* ---------- Haus ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(7, 12, 26, .95); backdrop-filter: blur(14px); border-bottom-color: var(--navy-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a { color: var(--cream-ink); text-decoration: none; font-size: 14px; letter-spacing: .06em; opacity: .85; }
.nav a:hover { color: var(--gold); opacity: 1; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 13.5px; opacity: 1; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } .brand img { height: 42px; } }

/* ---------- Hetja ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 90px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1100px 700px at 78% 40%, rgba(216, 144, 88, .16), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(31, 42, 68, .9), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-900) 100%);
}
.hero::before { /* fínar línur */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(243, 200, 145, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 200, 145, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(54px, 8.6vw, 118px); font-weight: 500; line-height: .95; letter-spacing: -.01em; color: var(--cream-ink); }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(244, 233, 216, .82); max-width: 34em; margin: 28px 0 40px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; aspect-ratio: 800 / 720; width: 100%; max-width: 640px; justify-self: end; }
.hero-art::before { /* glói */
  content: ""; position: absolute; inset: 8% 6% 4% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 200, 145, .35) 0%, rgba(216, 144, 88, .12) 40%, transparent 70%);
  filter: blur(30px); animation: glow 7s ease-in-out infinite alternate; z-index: -1;
}
@keyframes glow { from { opacity: .55; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.hero-art .ring { position: absolute; border: 1px solid rgba(243, 200, 145, .14); border-radius: 50%; pointer-events: none; }
.hero-art .ring.r1 { inset: -6% -8% -4% -10%; }
.hero-art .ring.r2 { inset: -14% -16% -12% -18%; border-color: rgba(243, 200, 145, .07); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); opacity: .6; }
@media (prefers-reduced-motion: reduce) { .hero-art::before { animation: none; } }
@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 360px; justify-self: center; margin-bottom: -10px; }
  .scroll-cue { display: none; }
}

/* ---------- Skraut ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto; max-width: 420px; }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: var(--gold-grad); opacity: .7; }
.ornament span { width: 9px; height: 9px; transform: rotate(45deg); background: var(--copper-grad); box-shadow: 0 0 14px rgba(243, 200, 145, .5); }

/* ---------- Kaflar ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 42px; height: 1px; background: var(--gold-grad); flex: none; }
.section-head h2 { font-size: clamp(40px, 5.4vw, 72px); }
.section-head p { color: rgba(244, 233, 216, .76); font-size: 18px; margin: 22px auto 0; max-width: 36em; }

/* Hvað er Einvirki */
.intro { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro h2 { font-size: clamp(38px, 4.8vw, 64px); }
.intro p { color: rgba(244, 233, 216, .8); margin: 0 0 18px; }
.intro .big { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 31px); line-height: 1.35; color: var(--cream-ink); font-style: italic; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { border: 1px solid rgba(243, 200, 145, .32); color: var(--gold); border-radius: 999px; padding: 7px 16px; font-size: 13px; letter-spacing: .08em; }
@media (max-width: 860px) { .intro .wrap { grid-template-columns: 1fr; } }

/* Einingar */
.modules { background: radial-gradient(1200px 700px at 50% 0%, rgba(216, 144, 88, .09), transparent 60%), var(--navy-950); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative; padding: 34px 30px 32px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(31, 42, 68, .75), rgba(17, 26, 51, .9));
  border: 1px solid transparent; background-clip: padding-box; isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card::before { /* koparrammi */
  content: ""; position: absolute; inset: -1px; border-radius: 19px; z-index: -1;
  background: linear-gradient(150deg, rgba(246, 207, 160, .65), rgba(176, 106, 46, .25) 35%, rgba(22, 32, 58, 0) 60%, rgba(201, 138, 75, .45));
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: 18px; z-index: -1; background: linear-gradient(160deg, #1A2442, #0E1630); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(243, 200, 145, .2), 0 20px 50px -25px rgba(216, 144, 88, .45); }
.card .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 24px;
  background: radial-gradient(circle at 30% 25%, rgba(246, 207, 160, .28), rgba(138, 78, 30, .18)); border: 1px solid rgba(243, 200, 145, .35); }
.card .icon svg { width: 28px; height: 28px; stroke: var(--gold); }
.card h3 { font-size: 30px; color: var(--cream-ink); margin-bottom: 10px; }
.card p { margin: 0; color: rgba(244, 233, 216, .72); font-size: 15.5px; }
.card .tag { position: absolute; top: 22px; right: 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy-950); background: var(--gold-grad); padding: 4px 10px; border-radius: 999px; font-weight: 600; }

/* Kremaður kafli */
.cream { background: var(--cream); color: var(--ink); color-scheme: light; }
.cream .eyebrow { color: #8A6A48; }
.cream h2 { color: var(--ink); }
.cream .section-head p { color: var(--ink-soft); }
.cream .copper-text { background-image: linear-gradient(100deg, #8A4E1E 0%, #B06A2E 30%, #C98A4B 50%, #8A4E1E 75%, #B06A2E 100%); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(138, 78, 30, .25); }
.pillar { padding: 44px clamp(16px, 3vw, 44px) 44px 0; border-bottom: 1px solid rgba(138, 78, 30, .25); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; }
.pillar:nth-child(odd) { border-right: 1px solid rgba(138, 78, 30, .25); }
.pillar:nth-child(even) { padding-left: clamp(16px, 3vw, 44px); }
.pillar .num { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--cu-3); font-style: italic; }
.pillar h3 { font-size: 32px; color: var(--ink); margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: 34px 0; border-right: 0; }
  .pillar:nth-child(odd) { border-right: 0; }
  .pillar { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .pillar .num { font-size: 38px; }
}
.cream-band { background: var(--cream-2); }

/* Ferli */
.steps { background: linear-gradient(180deg, var(--navy), var(--navy-900)); }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: var(--gold-grad); opacity: .45; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step .dot { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-950); border: 1px solid rgba(243, 200, 145, .55); box-shadow: 0 0 0 8px var(--navy), 0 0 40px rgba(216, 144, 88, .25);
  font-family: var(--serif); font-size: 32px; font-style: italic; color: var(--gold); position: relative; }
.step h3 { font-size: 30px; margin-bottom: 10px; }
.step p { margin: 0 auto; color: rgba(244, 233, 216, .74); max-width: 22em; font-size: 15.5px; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; gap: 46px; } .timeline::before { display: none; } }

/* Hafa samband */
.contact { background: radial-gradient(900px 500px at 50% 100%, rgba(216, 144, 88, .18), transparent 70%), var(--navy-950); text-align: center; overflow: hidden; }
.contact .emblem { width: 120px; height: 120px; margin: 0 auto 34px; border-radius: 28px; box-shadow: 0 25px 60px -20px rgba(216, 144, 88, .55); }
.contact h2 { font-size: clamp(44px, 6vw, 84px); }
.contact p { color: rgba(244, 233, 216, .78); font-size: 18px; max-width: 32em; margin: 22px auto 38px; }
.contact .mail { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-style: italic; display: inline-block; margin-bottom: 36px; text-decoration: none; overflow-wrap: anywhere; }
.contact .bg-gear { position: absolute; width: 560px; right: -200px; top: -160px; opacity: .08; pointer-events: none; }
.contact .bg-gear.b2 { right: auto; left: -240px; top: auto; bottom: -260px; width: 620px; }

/* Fótur */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--navy-line); padding: 46px 0 40px; font-size: 14px; color: rgba(244, 233, 216, .6); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { height: 46px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: rgba(244, 233, 216, .75); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* Birting við skrun */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .reveal-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Innskráning ---------- */
.login-page { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.login-art {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 44px clamp(24px, 5vw, 72px);
  background: radial-gradient(800px 600px at 60% 55%, rgba(216, 144, 88, .2), transparent 65%), linear-gradient(180deg, var(--navy-950), var(--navy) 60%, var(--navy-900));
  isolation: isolate;
}
.login-art .brand img { height: 56px; }
.login-art .gears { position: absolute; width: min(78%, 620px); right: -6%; top: 50%; transform: translateY(-50%); opacity: .95; z-index: -1; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }
.login-art .quote { max-width: 20em; }
.login-art .quote h1 { font-size: clamp(44px, 5.2vw, 76px); line-height: 1; }
.login-art .quote p { color: rgba(244, 233, 216, .75); margin: 18px 0 0; }
.login-panel { background: var(--cream); color: var(--ink); color-scheme: light; display: flex; align-items: center; justify-content: center; padding: 56px clamp(16px, 5vw, 72px); position: relative; }
.login-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--copper-grad); }
.login-card { width: 100%; max-width: 440px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cu-4); border: 1px solid rgba(138, 78, 30, .4); border-radius: 999px; padding: 5px 12px; background: rgba(246, 207, 160, .25); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cu-3); }
.login-card h2 { font-size: clamp(40px, 4vw, 54px); color: var(--ink); margin: 20px 0 6px; }
.login-card .sub { color: var(--ink-soft); margin: 0 0 30px; font-size: 15.5px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: #7A7466; letter-spacing: 0; }
.field input {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid #D9CBB4; background: #FFFDF9;
  font: 400 16px/1.3 var(--sans); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: none; border-color: var(--cu-3); box-shadow: 0 0 0 4px rgba(216, 144, 88, .22); }
.field .with-prefix { position: relative; }
.field .with-prefix input { padding-left: 46px; }
.field .with-prefix svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--cu-3); }
.field input.code { letter-spacing: .5em; font-variant-numeric: tabular-nums; font-size: 20px; text-align: center; padding-left: 16px; }
.login-card .btn { width: 100%; margin-top: 8px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: #8A8273; font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #E2D6C2; }
.btn-passkey { background: transparent; color: var(--ink); border-color: #CDB89A; }
.btn-passkey:hover { border-color: var(--cu-3); color: var(--cu-4); background: rgba(246, 207, 160, .18); }
.btn-passkey svg { width: 20px; height: 20px; stroke: currentColor; }
.notice { display: none; margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--navy); color: var(--cream-ink); font-size: 15px; border-left: 3px solid var(--gold); }
.notice.show { display: block; }
.login-foot { margin-top: 28px; font-size: 13.5px; color: #7A7466; }
.login-foot a { color: var(--cu-4); }
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-art { min-height: 300px; padding: 28px 16px 32px; }
  .login-art .brand img { height: 44px; }
  .login-art .gears { width: 300px; right: -70px; top: 52%; opacity: .55; }
  .login-art .quote h1 { font-size: 44px; }
  .login-panel { padding: 40px 16px 56px; }
  .login-panel::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 16px;
  background: radial-gradient(800px 500px at 50% 40%, rgba(216, 144, 88, .18), transparent 65%), var(--navy-950); }
.nf .gear { width: 220px; margin: 0 auto 30px; opacity: .9; }
.nf h1 { font-size: clamp(64px, 12vw, 140px); line-height: .9; }
.nf p { color: rgba(244, 233, 216, .78); margin: 18px auto 34px; max-width: 28em; }
.nf .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.contact h2 { margin-top: 30px; }

/* Kynning (/kynning/) */
.kynning-hero { padding: 150px 0 90px; background: radial-gradient(ellipse at 70% 0%, #24325a 0%, var(--navy-950, #0b1226) 60%); color: var(--cream-ink); }
.kynning-hero .eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin: 0 0 14px; }
.kynning-hero h1 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(36px, 6vw, 68px); line-height: 1.05; margin: 0 0 18px; }
.kynning-hero h1 em { color: var(--gold); }
.kynning-hero .lead { max-width: 760px; font-size: 18px; line-height: 1.6; opacity: .88; margin: 0 0 36px; }
.kynning-player { border-radius: 16px; overflow: hidden; border: 1px solid rgba(243, 200, 145, .35); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 6px rgba(201, 138, 75, .08); background: #0b1226; }
.kynning-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.kynning-kaflar { list-style: none; counter-reset: k; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 32px; }
.kynning-kaflar li { counter-increment: k; font-size: 13px; padding: 6px 12px; border: 1px solid rgba(243, 200, 145, .28); border-radius: 999px; color: var(--cream-ink); background: rgba(22, 32, 58, .4); }
.kynning-kaflar li::before { content: counter(k) " · "; color: var(--gold); }
.kynning-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .kynning-hero { padding: 110px 0 60px; } .kynning-hero .lead { font-size: 16px; } }

/* Kynning í glugga */
.modal-open, .modal-open body { overflow: hidden; }
.kynning-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  background: rgba(4, 7, 15, .55); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  opacity: 0; transition: opacity .25s ease; }
.kynning-modal.show { opacity: 1; }
.kynning-modal-box { position: relative; width: min(1280px, 100%, calc((100vh - 48px) * 16 / 9)); aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(243, 200, 145, .4);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .85), 0 0 0 6px rgba(201, 138, 75, .1);
  transform: scale(.96); transition: transform .3s cubic-bezier(.2, .8, .2, 1); background: #04070F; }
.kynning-modal.show .kynning-modal-box { transform: none; }
.kynning-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
.kynning-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(243, 200, 145, .5); background: rgba(11, 18, 38, .75); color: var(--cream-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.kynning-modal-close:hover, .kynning-modal-close:focus-visible { color: var(--gold); border-color: var(--gold); outline: none; }
@media (prefers-reduced-motion: reduce) { .kynning-modal, .kynning-modal-box { transition: none; } }
