/* Skjól teaser site. Brand: placeholder v0 (concept 2-2). Typeface: Schibsted Grotesk (SIL OFL). */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url("fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url("fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }


:root {
  --navy: #10293A;
  --navy-deep: #0B1E2B;
  --navy-line: #24425A;
  --orange: #C4561C;
  --orange-dark: #E57A3C;
  --mist: #F4F6F5;
  --steel: #3E5566;
  --fog: #AFC0CB;
  --rule: #D7DEE1;
  --white: #FFFFFF;
  --head: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--navy); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }

/* Language switching: Icelandic first, English second */
html[data-lang="is"] .en { display: none !important; }
html[data-lang="en"] .is { display: none !important; }

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

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--navy); background: var(--orange-dark);
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--orange-dark);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: #F08D53; border-color: #F08D53; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--navy-line); }
.btn-ghost:hover { background: transparent; border-color: var(--white); }
.btn-small { padding: 8px 16px; font-size: 15px; }
.btn-large { padding: 18px 32px; font-size: 19px; }

/* Header */
.top { background: var(--navy); position: relative; z-index: 2; }
.top-row { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand img { width: 112px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 14px; }
.lang {
  font: 500 15px/1 var(--body); color: var(--fog); background: none; border: 0; cursor: pointer;
  padding: 10px 6px; text-decoration: underline; text-decoration-color: var(--navy-line); text-underline-offset: 5px;
}
.lang:hover { color: var(--white); text-decoration-color: var(--orange-dark); }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; padding: clamp(48px, 9vw, 120px) 0 clamp(72px, 11vw, 150px); }
.hero-canopy { position: absolute; right: -40px; top: 0; height: 100%; width: auto; max-width: 46%; pointer-events: none; }
.hero-canopy path { fill: none; stroke: var(--orange-dark); stroke-width: 34; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.6s cubic-bezier(.6,.05,.25,1) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--fog); border: 1px solid var(--navy-line); border-radius: 999px; padding: 6px 14px 6px 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-dark); box-shadow: 0 0 0 4px rgba(229,122,60,.18); }
.hero h1 { font-size: clamp(46px, 9vw, 108px); line-height: 1.14; margin: 28px 0 28px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--orange-dark); }
.lede { font-size: clamp(18px, 2.1vw, 22px); color: #D9E2E8; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Outage */
.outage { background: var(--mist); padding: clamp(64px, 9vw, 112px) 0; }
.kicker { font-family: var(--head); font-weight: 500; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.outage h2, .pillars h2, .paths h2 { font-size: clamp(32px, 5vw, 54px); max-width: 24ch; text-wrap: balance; }
.section-lede { font-size: clamp(18px, 2vw, 21px); color: var(--steel); max-width: 40em; margin-top: 22px; }
.ref { font-size: .62em; vertical-align: super; line-height: 0; margin-left: 2px; color: var(--orange); text-decoration: none; font-weight: 600; }
.ref:hover { text-decoration: underline; }
.stats { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.stats li { padding: 26px 28px 8px 0; font-size: 16px; color: var(--steel); line-height: 1.5; }
.stats li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.stats strong { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(54px, 7vw, 84px); line-height: 1; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 14px; }
.stats strong small { font-size: .42em; letter-spacing: 0; margin-left: 2px; color: var(--orange); }

/* Pillars: each card carries the logo's wall-and-roof corner */
.pillars { padding: clamp(64px, 9vw, 112px) 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); }
.card { position: relative; padding: 30px 0 0 30px; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-left: 5px solid var(--navy); border-top: 5px solid var(--navy); border-top-left-radius: 24px; }
.card::after { content: ""; position: absolute; left: 18px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.card h3 { font-size: clamp(22px, 2.4vw, 27px); margin-bottom: 10px; }
.card p { color: var(--steel); font-size: 17px; max-width: 32em; }

/* Two ways in */
.paths { background: var(--mist); padding: clamp(64px, 9vw, 112px) 0; }
.path-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: clamp(32px, 5vw, 48px); }
.path { background: var(--white); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(26px, 3.5vw, 40px); }
.path-first { background: var(--navy); border-color: var(--navy); color: var(--white); }
.path h3 { font-size: clamp(24px, 2.8vw, 32px); margin: 10px 0 14px; max-width: 18ch; }
.path p { color: var(--steel); font-size: 17px; }
.path-first p { color: #D9E2E8; }
.path .tag { font-family: var(--head); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.path-first .tag { color: var(--orange-dark); }

/* The question */
.question { padding: clamp(72px, 11vw, 140px) 0; border-bottom: 1px solid var(--rule); }
.question p { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; font-size: clamp(32px, 5.4vw, 64px); max-width: 22ch; }
.question em { font-style: normal; color: var(--orange); }

/* CTA */
.cta { background: var(--navy); color: var(--white); padding: clamp(72px, 10vw, 128px) 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-icon { width: 64px; margin-bottom: 26px; }
.cta h2 { font-size: clamp(30px, 4.6vw, 52px); max-width: 20ch; }
.cta p { color: #D9E2E8; max-width: 34em; margin: 20px 0 34px; font-size: clamp(18px, 2vw, 20px); }
.cta .mail-alt { margin: 18px 0 0; font-size: 16px; color: var(--fog); }
.mail-alt a { color: var(--white); text-underline-offset: 4px; text-decoration-color: var(--orange-dark); }

/* Footer */
.foot { background: var(--navy-deep); color: var(--fog); padding: 56px 0 64px; font-size: 15px; }
.foot-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.foot-brand img { width: 92px; margin-bottom: 18px; }
.foot-brand p { margin-bottom: 8px; }
.fine { font-size: 13px; color: #7F95A4; }
.fine a { color: inherit; }
.sources h2 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; font-weight: 500; }
.sources ol { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.sources li { margin-bottom: 6px; padding-left: 4px; }
.sources a { color: var(--fog); text-decoration-color: var(--navy-line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sources a:hover { color: var(--white); }

/* Small screens */
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .grid, .path-grid, .foot-inner { grid-template-columns: 1fr; }
  .hero-canopy { display: none; }
}
@media (max-width: 480px) {
  .btn-small { display: none; }
  .actions .btn { width: 100%; }
  body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-canopy path { animation: none; stroke-dashoffset: 0; }
}

/* 404 */
.h404 { font-size: clamp(32px, 5vw, 52px); max-width: 18ch; }
body:has(.h404) { background: var(--navy); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
