/* Proposal 2: Annual report
   Nordic and institutional. One grotesk family, forest green, the next event as the hero detail. */

:root {
  --green: #123B2F;
  --green-2: #1D5240;
  --sage: #DCE6E0;
  --white: #FFFFFF;
  --stone: #F3F5F4;
  --ink: #16201C;
  --grey: #5C6964;
  --line: #D6DDD9;
  --line-dark: rgba(255, 255, 255, .16);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Nav */

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-block { width: 18px; height: 18px; background: var(--green); box-shadow: 6px 6px 0 var(--sage); margin-right: 6px; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 24px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nav nav a:hover, .nav nav a.active { border-color: var(--green); }
.nav nav .nav-cta { padding: 10px 18px; background: var(--green); color: var(--white); border: 0; margin: 0; }
.nav nav .nav-cta:hover { background: var(--green-2); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 13px 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle span + span { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 0 var(--gutter) 20px; display: none; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; margin: 0; }
  .nav nav .nav-cta { margin-top: 16px; text-align: center; padding: 14px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--green); transition: background-color .2s, color .2s; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-secondary { color: var(--green); }
.btn-secondary:hover { background: var(--sage); }

/* Hero */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.next { border-top: 4px solid var(--green); padding-top: 22px; }
.next-label { font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.next-label .tag { margin: 0; }
.next-date { margin-top: 18px; font-size: 16px; font-weight: 600; }
.next-date b { font-size: 64px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-right: 6px; font-variant-numeric: tabular-nums; }
.next-date span { display: block; color: var(--grey); font-weight: 400; margin-top: 4px; }
.next h2 { margin-top: 18px; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.next-place { color: var(--grey); margin-top: 4px; }
.next .btn { margin-top: 22px; }

.formats { list-style: none; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.formats li { border-top: 2px solid var(--ink); padding-top: 18px; }
.formats h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.formats p { color: var(--grey); font-size: 16px; }
@media (max-width: 1000px) { .formats { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .formats { grid-template-columns: 1fr; } }
.partner-contact { margin-top: 24px; }
.hero h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; max-width: 16em; }
.lede { margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); color: var(--grey); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.ev-day { font-variant-numeric: tabular-nums; }


@media (max-width: 760px) {
}

/* Sections */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-stone { background: var(--stone); }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.head p { color: var(--grey); font-size: 18px; max-width: 56ch; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }


.partners { margin-top: clamp(48px, 6vw, 72px); }
.partners h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.logo-grid > * { min-height: 110px; display: grid; place-items: center; padding: 20px; background: var(--stone); text-decoration: none; font-weight: 700; font-size: 20px; }
.logo-grid img { max-height: 44px; max-width: 75%; object-fit: contain; }
.founding { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; background: var(--sage); }
.founding strong { display: block; font-size: 20px; letter-spacing: -.01em; }
.founding span { color: var(--grey); }

/* Board */
.board-group + .board-group { margin-top: 48px; }
.board-h { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 2px solid var(--ink); }
.board li { transition: background-color .2s; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.board .pic { width: 56px; height: 56px; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 17px; overflow: hidden; }
.board .pic img { width: 100%; height: 100%; object-fit: cover; }
.board .name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.board .role { color: var(--grey); font-size: 15px; }
.board .li { font-size: 14px; font-weight: 600; color: var(--green); text-decoration: none; }
.board .li:hover { text-decoration: underline; }
@media (max-width: 760px) { .board { grid-template-columns: 1fr; } }

/* Events */
.controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.seg { display: inline-flex; border: 1.5px solid var(--green); }
.seg button { border: 0; background: none; padding: 10px 22px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--green); }
.seg button[aria-selected="true"] { background: var(--green); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 0; background: var(--stone); padding: 9px 14px; cursor: pointer; font-size: 14px; font-weight: 500; }
.filters button:hover { background: var(--sage); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.month { display: grid; grid-template-columns: 200px 1fr; gap: 0 40px; border-top: 2px solid var(--ink); }
.month + .month { margin-top: 40px; }
.month h3 { font-size: 22px; font-weight: 700; padding-top: 18px; letter-spacing: -.01em; position: sticky; top: calc(var(--nav-h) + 8px); align-self: start; padding-bottom: 12px; }
.month ol { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 64px 1fr 190px; gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ev-day { line-height: 1.1; }
.ev-day b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.ev-day span { font-size: 14px; color: var(--grey); }
.ev h4 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.ev .meta { font-size: 14px; color: var(--grey); margin-top: 4px; }
.ev .meta b { color: var(--green); font-weight: 600; }
.ev .desc { margin-top: 8px; font-size: 16px; max-width: 60ch; }
.ev-side { font-size: 14px; color: var(--grey); text-align: right; }
.ev-side .btn { min-height: 40px; padding: 0 16px; margin-top: 8px; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--sage); color: var(--green); font-size: 12px; font-weight: 600; }
.ev.past h4 { color: var(--grey); }
.empty { padding: 40px 0; border-top: 2px solid var(--ink); color: var(--grey); font-size: 18px; }
@media (max-width: 900px) {
  .month { grid-template-columns: 1fr; }
  .month h3 { position: static; }
  .month h3 { padding-bottom: 4px; }
  .ev { grid-template-columns: 56px 1fr; }
  .ev-side { grid-column: 2; text-align: left; }
}

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: 64px 0 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-size: 13px; font-weight: 600; color: #9AA8A1; margin-bottom: 10px; }
.footer a { display: block; text-decoration: none; margin-bottom: 4px; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.footer .brand-block { background: var(--sage); box-shadow: 6px 6px 0 var(--green-2); }
.footer .muted { color: #9AA8A1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0s !important; } }

.board li:hover { background: rgba(18, 59, 47, .04); }
