:root {
  --ink: #1a2722;
  --forest: #164c3a;
  --forest-deep: #0c3027;
  --akershus-blue: #007fa6;
  --cream: #f4efe4;
  --paper: #fffdf8;
  --harvest: #e35d2f;
  --gold: #e8b44a;
  --muted: #68716c;
  --line: rgba(26, 39, 34, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .13em;
  font-size: .82rem;
  text-transform: uppercase;
}

.brand span { color: var(--akershus-blue); }
.nav-link { text-decoration: none; font-size: .9rem; font-weight: 700; border-bottom: 1px solid currentColor; }
.landing { min-height: 100vh; background: var(--cream); }

.hero {
  width: min(calc(100% - 2rem), var(--max));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 2rem 0 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-image {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  border-radius: 7rem 2px 2px 2px;
  background: var(--forest);
}

.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,48,39,.48)); }
.image-credit { position: absolute; right: 1rem; bottom: .8rem; z-index: 2; color: white; font-size: .72rem; text-shadow: 0 1px 5px rgba(0,0,0,.55); }

.eyebrow { margin: 0 0 1.2rem; color: var(--harvest); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, blockquote { font-family: Georgia, "Times New Roman", serif; }
h1 { margin: 0; font-size: clamp(3.2rem, 6.6vw, 6.6rem); line-height: .93; letter-spacing: -.055em; font-weight: 500; }
.hero-copy .lead { max-width: 38rem; margin: 2rem 0 0; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; margin-top: 2rem; padding: .78rem 1.4rem; color: white; background: var(--forest); border: 1px solid var(--forest); border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-deep); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--harvest); outline-offset: 4px; }

.story-strip { color: white; background: var(--forest-deep); padding: 6rem 1rem; }
.story-strip-inner { width: min(100%, var(--max)); margin: 0 auto; }
.story-strip h2 { max-width: 760px; margin: 0 0 3rem; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.04; font-weight: 500; }
.story-strip .eyebrow, .article-header .eyebrow { color: #ff9a74; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.story-card { min-height: 420px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; padding: 1.5rem; isolation: isolate; }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.84)); z-index: -1; }
.story-card:hover img { transform: scale(1.025); }
.story-card strong { font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.story-card span { color: rgba(255,255,255,.82); }
.strip-cta { margin-top: 2.4rem; }
.strip-cta .button { background: var(--harvest); border-color: var(--harvest); }
.photo-credit { margin: 1.4rem 0 0; color: rgba(255,255,255,.62); font-size: .78rem; }

.article-header { color: white; background: var(--forest-deep); }
.article-hero { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 4.5rem 0 5.5rem; display: grid; grid-template-columns: 1fr 1.05fr; align-items: end; gap: clamp(2rem, 6vw, 6rem); }
.article-hero h1 { font-size: clamp(3.4rem, 6vw, 6.4rem); }
.article-hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.83); }
.article-hero-image { margin: 0; }
.article-hero-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0 12rem 0 0; }
.article-hero-image figcaption { margin-top: .65rem; color: rgba(255,255,255,.62); font-size: .76rem; }

.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 50; background: transparent; }
.progress span { display: block; width: 0; height: 100%; background: var(--harvest); }
.article { width: min(calc(100% - 2rem), 780px); margin: 0 auto; padding: 5rem 0 7rem; }
.article p { margin: 0 0 1.35rem; }
.article h2 { margin: 4.5rem 0 1.2rem; padding-top: .85rem; color: var(--forest-deep); border-top: 4px solid var(--akershus-blue); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; font-weight: 850; letter-spacing: -.035em; }
.article blockquote { margin: 3.2rem -4rem; padding: 2.2rem 3rem; color: var(--forest-deep); background: #fff0e8; border-left: 6px solid var(--harvest); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.28; font-style: italic; }
.article .quote-compact { margin-top: 2rem; margin-bottom: 2rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.article figure { margin: 3.5rem -8rem; }
.article figure img { width: 100%; max-height: 740px; object-fit: cover; }
.article figcaption { margin-top: .75rem; color: var(--muted); font-size: .88rem; }
.article figcaption .credit { display: block; margin-top: .15rem; font-size: .78rem; }
.article .portrait { width: min(520px, 100%); margin-left: auto; margin-right: auto; }
.article .video-figure { width: min(440px, 100%); margin-left: auto; margin-right: auto; }
.article .video-figure video { display: block; width: 100%; aspect-ratio: 9/16; background: #000; object-fit: contain; }

.article-footer { padding: 5rem 1rem; color: white; background: var(--harvest); text-align: center; }
.article-footer p { margin: 0 auto 1.5rem; max-width: 650px; font-family: Georgia, serif; font-size: 2rem; line-height: 1.25; }
.article-footer .button { margin: 0; color: var(--forest-deep); background: white; border-color: white; }
.article-footer small { display: block; margin-top: 2.2rem; color: rgba(255,255,255,.84); }

@media (max-width: 900px) {
  .hero, .article-hero { grid-template-columns: 1fr; }
  .hero { padding-bottom: 3rem; }
  .hero-copy { order: -1; padding-top: 2rem; }
  .hero-image { min-height: 58vh; border-radius: 5rem 2px 2px 2px; }
  .story-cards { grid-template-columns: 1fr; }
  .story-card { min-height: 55vh; }
  .article-hero { padding-top: 2rem; }
  .article-hero-image img { aspect-ratio: 4/3; border-radius: 0 6rem 0 0; }
  .article blockquote, .article figure { margin-left: 0; margin-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { padding: 1rem 0; }
  .nav-link { display: none; }
  .hero-image { min-height: 48vh; }
  .story-strip { padding-top: 4rem; padding-bottom: 4rem; }
  .article { padding-top: 3.5rem; }
  .article blockquote { padding: 1.5rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
