/* =========================================================================
   Stoðir hf. — shared design system
   Quiet, institutional, permanent-capital. Single family: Lato.
   ========================================================================= */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Tokens ---- */
:root {
  /* Brand navy family (matches Stoðir logo #002353) */
  --navy:        #002353;
  --navy-800:    #052a5e;
  --navy-700:    #0c3469;
  --navy-600:    #16407a;

  /* White-dominant backgrounds */
  --paper:       #ffffff;
  --paper-2:     #f6f7f9;
  --card:        #ffffff;

  /* Ink + grey secondary */
  --ink:         #16191f;
  --ink-soft:    #3c424c;
  --muted:       #65717f;
  --muted-2:     #8a929c;

  /* Hairlines / dividers */
  --line:        #e5e8ec;
  --line-strong: #ccd2da;
  --line-dark:   rgba(255,255,255,0.14);
  --line-dark-2: rgba(255,255,255,0.24);

  /* Brighter brand-blue accent (single, restrained) */
  --accent:      #2f6cc4;
  --accent-deep: #1f57a8;   /* link text on white, AA */
  --accent-soft: #eef3fb;

  /* Type — single family: Lato */
  --serif: "Lato", Arial, sans-serif;
  --sans:  "Lato", Arial, sans-serif;

  /* Layout */
  --wrap:   1500px;
  --wrap-narrow: 760px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h:  68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 72px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Language visibility (dual-DOM) ---- */
.lang-en { display: none; }
html[data-lang="en"] .lang-is { display: none; }
html[data-lang="en"] .lang-en { display: revert; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(64px, 11vh, 144px); }
.section--tight { padding-block: clamp(48px, 7vh, 88px); }

/* ---- Type styles ---- */
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1, .h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  text-wrap: balance;
}
h2, .h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
}
h4, .h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
}
h5, .h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
}
h6, .h6 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}
blockquote {
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1.5;
}
.lede {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  text-wrap: pretty;
}
p { text-wrap: pretty; }
.muted { color: var(--muted); }
em, .italic { font-style: italic; }

a.link {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
a.link:hover { color: var(--ink); border-color: var(--accent); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo {
  display: flex; align-items: center;
  padding-right: 4px;
  white-space: nowrap;
}
.nav__logo img { height: 22px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav__item { position: relative; }
.nav__item > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  font-size: 0.93rem; font-weight: 500;
  color: rgba(255,255,255,0.74);
  border-radius: 2px;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav__item > a:hover, .nav__item.is-active > a { color: #fff; }
.nav__item.is-active > a { box-shadow: inset 0 -2px 0 var(--accent); }
.nav__item.has-drop > a::after {
  content: ""; width: 6px; height: 6px; margin-left: 2px;
  border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.55; transition: transform .25s var(--ease);
}
.nav__item.has-drop:hover > a::after { transform: translateY(0) rotate(225deg); }

.drop {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px -22px rgba(17,22,29,0.35);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item.has-drop:hover .drop,
.nav__item.has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
  display: block; padding: 9px 14px; border-radius: 2px;
  font-size: 0.9rem; color: var(--ink-soft);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.drop a:hover { background: var(--accent-soft); color: var(--ink); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* Language toggle — minimal text control (IS | EN) */
.langtoggle { display: inline-flex; align-items: center; gap: 9px; }
.langtoggle__sep { width: 1px; height: 11px; background: rgba(255,255,255,0.28); display: inline-block; }
.langtoggle button {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  padding: 2px 0; line-height: 1;
  transition: color .3s var(--ease);
}
.langtoggle button:hover { color: rgba(255,255,255,0.72); }
html[data-lang="is"] .langtoggle button[data-lang="is"],
html[data-lang="en"] .langtoggle button[data-lang="en"] { color: #fff; }

/* Burger */
.nav__burger { display: none; width: 40px; height: 40px; position: relative; color: #fff; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 9px; width: 22px; height: 1.4px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger span { top: 50%; }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Nav transparent over dark hero */
.nav--transparent {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border-color: transparent; color: #fff;
}
.nav--transparent .nav__logo { color: #fff; }
.nav--transparent .nav__item > a { color: rgba(255,255,255,0.78); }
.nav--transparent .nav__item > a:hover, .nav--transparent .nav__item.is-active > a { color: #fff; }
.nav--transparent .langtoggle { border-color: rgba(255,255,255,0.3); }
.nav--transparent .langtoggle button { color: rgba(255,255,255,0.6); }
.nav--transparent .langtoggle__slider { background: #fff; }
html[data-lang="is"] .nav--transparent .langtoggle button[data-lang="is"],
html[data-lang="en"] .nav--transparent .langtoggle button[data-lang="en"] { color: var(--navy); }

/* Spacer so fixed nav doesn't overlap (pages without dark hero) */
.nav-spacer { height: var(--nav-h); }

/* =========================================================================
   BUTTONS / SMALL UI
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em;
  border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-600); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.badge--listed .dot { background: var(--accent); }
.badge--unlisted .dot { background: var(--muted-2); }

/* =========================================================================
   PLACEHOLDER SLOTS (striped, monospace label)
   ========================================================================= */
.ph {
  position: relative; overflow: hidden;
  background-color: #eceef0;
  background-image: repeating-linear-gradient(135deg,
    rgba(93,116,147,0.10) 0 1px, transparent 1px 11px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
}
.ph__label {
  font-family: var(--sans);
  font-size: 0.7rem; letter-spacing: 0.04em;
  text-transform: lowercase;
  padding: 4px 8px;
}
.ph--dark {
  background-color: var(--navy-700);
  background-image: repeating-linear-gradient(135deg,
    rgba(255,255,255,0.06) 0 1px, transparent 1px 11px);
  color: rgba(255,255,255,0.5);
}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
/* Hidden state applies ONLY when JS is active, so no-JS / print / PDF always show content */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .75s var(--ease), transform .75s var(--ease); will-change: opacity, transform; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); }
.footer a { color: rgba(255,255,255,0.7); transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__inner { padding-block: clamp(56px, 8vh, 88px) 28px; border-top: 1px solid var(--line-dark); }
.footer__top {
  display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-dark);
}
.footer__brand .mark {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.16em; color: #fff;
}
.footer__brand p { margin-top: 14px; max-width: 400px; color: rgba(255,255,255,0.55); font-size: 0.95rem; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px 44px; }
.footer__col:nth-child(1) { width: 170px; }
.footer__col:nth-child(2) { width: 190px; }
.footer__col:nth-child(3) { width: 130px; }
.footer__col h4 {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer__col li { margin-bottom: 9px; font-size: 0.95rem; }
.footer__col .contact li { margin-bottom: 6px; }
.footer__col .contact li.grp { margin-top: 10px; }
.footer__col address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,0.62); font-size: 0.95rem; display: block; }
.footer__col .addr + .addr { margin-top: 16px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  padding-top: 20px; font-size: 0.84rem; color: rgba(255,255,255,0.42);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* =========================================================================
   GENERIC CARD GRID / TEAM / HOLDINGS
   ========================================================================= */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
@media (max-width: 880px) {
  .nav__burger { display: block; margin-left: 4px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; margin: 0;
    box-shadow: 0 24px 50px -28px rgba(17,22,29,0.4);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  body.menu-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__item > a { padding: 14px 4px; color: var(--ink); font-size: 1rem; }
  /* drawer is light: keep hover/active text dark so it can't go white-on-white */
  .nav__item > a:hover,
  .nav__item.is-active > a,
  .nav--transparent .nav__item > a,
  .nav--transparent .nav__item > a:hover,
  .nav--transparent .nav__item.is-active > a { color: var(--ink); }
  .nav__item.is-active > a { box-shadow: inset 2px 0 0 var(--accent); }
  .nav__item.has-drop > a::after { margin-left: auto; }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 1px solid var(--line);
    margin: 0 0 8px 6px; padding: 0 0 0 12px; min-width: 0;
    display: none;
  }
  .nav__item.has-drop.open .drop { display: block; }
  .nav--transparent { background: color-mix(in srgb, var(--paper) 78%, transparent); color: var(--ink); }
  .nav--transparent .nav__logo { color: var(--ink); }
}

/* =========================================================================
   PAGE HEADER (inner pages)
   ========================================================================= */
.pagehead { padding-block: clamp(40px, 7vh, 88px) clamp(28px, 4vh, 48px); }
.pagehead .eyebrow { margin-bottom: 22px; }
.pagehead h1 { font-size: clamp(1.7rem, 2.9vw, 2.35rem); line-height: 1.22; max-width: 108ch; }
.pagehead .lede { margin-top: 24px; max-width: 60ch; }

/* Secondary sticky tab bar */
.tabbar-wrap { position: sticky; top: var(--nav-h); z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.tabbar { display: flex; gap: 4px; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar [data-tab] {
  position: relative; white-space: nowrap;
  padding: 17px 16px; font-size: 1rem; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tabbar [data-tab]:hover { color: var(--ink); }
.tabbar [data-tab].is-active { color: var(--ink); border-color: var(--accent); }
[data-panel] { padding-top: clamp(28px, 4vh, 48px); }
[data-panel][hidden] { display: none; }
.head-divider { border-top: 1px solid var(--line-strong); width: 100%; }

/* =========================================================================
   STRATEGY — numbered principles
   ========================================================================= */
.principles { border-top: 1px solid var(--line); margin-top: 8px; }
.principle {
  display: grid; grid-template-columns: 28px 1fr; gap: clamp(14px, 2vw, 28px);
  align-items: center; padding: clamp(14px, 2vh, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.principle__no { line-height: 1; }
.principle__no::before { content: ""; display: block; width: 7px; height: 7px; background: var(--navy); }
.principle__body { max-width: 62.5rem; }
.principle__body h3 { margin-bottom: 8px; font-weight: 500; }
.principle__body p { color: var(--ink); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.5; }
.stefna-lead { max-width: 38ch; }
.stefna-lead .lede { font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.28; color: var(--ink);
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.008em; text-wrap: pretty; }
@media (max-width: 620px) {
  .principle { grid-template-columns: 20px 1fr; gap: 12px; }
  .pagehead--stefna h1 { margin-left: 32px; }
}
/* Strategy page: align the title's left edge + width with the bullet text below */
.pagehead--stefna h1 { max-width: 62.5rem; margin-left: calc(28px + clamp(14px, 2vw, 28px)); }

/* =========================================================================
   PEOPLE — team & board
   ========================================================================= */
.people { display: grid; gap: clamp(22px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.people--team { grid-template-columns: repeat(4, 1fr); }
.people--board { grid-template-columns: repeat(3, 1fr); }
.person__photo { aspect-ratio: 4 / 5; width: 100%; margin-bottom: 18px; background: var(--paper-2); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform .7s var(--ease); }
.person:hover .person__photo img { transform: scale(1.045); }
.person--board .person__photo { aspect-ratio: 1 / 1; }
.person__name { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; line-height: 1.2; }
.person--board .person__name { font-size: 1.4rem; }
.person__role { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.person__mail { display: inline-block; margin-top: 4px; font-size: 0.88rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.person__mail:hover { color: var(--ink); text-decoration-color: var(--muted); }
@media (max-width: 940px) { .people--team { grid-template-columns: repeat(2, 1fr); } .people--board { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .people--board { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .people--team { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   PRESS DOWNLOADS
   ========================================================================= */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.dl {
  display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--card);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dl:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 22px 44px -28px rgba(17,22,29,0.25); }
.dl__thumb { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dl__thumb img { display: block; }
.dl__thumb--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.dl__thumb--light img, .dl__thumb--dark img { max-width: 58%; max-height: 38px; width: auto; height: auto; object-fit: contain; }
.dl__thumb--light { background: #eceef0; color: var(--navy); }
.dl__thumb--dark { background: var(--navy); color: #fff; }
.dl__logo { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.14em; }
.dl__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-top: 1px solid var(--line); }
.dl__meta .name { font-size: 0.95rem; font-weight: 500; }
.dl__meta .type { font-size: 0.76rem; color: var(--muted); font-family: var(--sans); letter-spacing: 0.02em; }
.dl__btn { flex: none; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.dl__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 860px) { .downloads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .downloads { grid-template-columns: 1fr; } }

/* =========================================================================
   PORTFOLIO — hero + holding cards
   ========================================================================= */
.phero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate;
  padding-block: clamp(96px, 15vh, 150px) clamp(40px, 6vh, 64px); }
.phero__photo { position: absolute; right: 0; top: 0; height: 100%; width: min(62%, 780px);
  object-fit: cover; object-position: left center; z-index: -2; }
.phero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, var(--navy) 36%, rgba(0,35,83,0.78) 58%, rgba(0,35,83,0.42) 82%, rgba(0,35,83,0.30) 100%); }
.phero__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.10; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 100% 64px; -webkit-mask-image: linear-gradient(transparent, #000 40%, #000); mask-image: linear-gradient(transparent, #000 40%, #000); }
.phero__inner { position: relative; }
.phero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); }
.phero .lede { color: rgba(255,255,255,0.74); margin-top: 28px; max-width: 64ch; }
.phero .eyebrow { color: rgba(255,255,255,0.6); }
.phero .eyebrow::before { background: rgba(255,255,255,0.5); }

.holdings { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.holding { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  transition: border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.holding:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 28px 56px -30px rgba(17,22,29,0.3); }
.holding__top { aspect-ratio: 16 / 10; position: relative; background: #fafbfc;
  display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); padding: 24px; }
.holding__logo { max-height: 138px; max-width: 88%; width: auto; object-fit: contain; }
.holding__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.holding__status { display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.holding__status .sq { width: 7px; height: 7px; background: var(--accent); display: inline-block; }
.holding__status--unlisted .sq { background: var(--muted-2); }
.holding__name { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-top: 12px; line-height: 1.1; }
.holding__sector { font-size: 0.82rem; letter-spacing: 0.02em; color: var(--muted); margin-top: 6px; }
.holding__desc { margin-top: 16px; color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.holding__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.holding__stake .num { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.holding__stake .lbl { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; }
.holding__link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 500; color: var(--ink);
  transition: gap .2s var(--ease), color .2s var(--ease); }
.holding__link:hover { color: var(--accent-deep); gap: 12px; }
@media (max-width: 920px) { .holdings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .holdings { grid-template-columns: 1fr; } }

/* =========================================================================
   INVESTORS — year list + shareholder table
   ========================================================================= */
.invtabs { margin-top: 4px; }
.section-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.section-label h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.section-label .count { font-size: 0.8rem; color: var(--muted); font-family: var(--sans); }

.years { border-top: 1px solid var(--line); }
.year {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
  transition: padding-left .25s var(--ease), background .25s var(--ease);
}
.year:hover { padding-left: 16px; background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.year__left { display: flex; align-items: baseline; gap: 20px; }
.year__yr { font-family: var(--serif); font-size: 1.6rem; min-width: 3ch; }
.year__name { color: var(--muted); font-size: 0.95rem; }
.year__dl { display: inline-flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--ink-soft);
  font-family: var(--sans); }
.year__dl .ic { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.year:hover .year__dl .ic { background: var(--navy); color: #fff; border-color: var(--navy); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
table.holders { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; table-layout: fixed; }
table.holders col.c-num { width: 44px; }
table.holders col.c-name { width: 30%; }
table.holders col.c-shares { width: 24%; }
table.holders col.c-pct { width: auto; }
table.holders thead th {
  text-align: right; font-size: clamp(0.7rem, 1.15vw, 0.94rem); font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92); padding: clamp(9px, 1.1vw, 13px) clamp(8px, 1.3vw, 18px); white-space: normal;
  vertical-align: bottom; word-break: normal; overflow-wrap: normal;
  background: var(--navy);
}
table.holders thead th:nth-child(1) { text-align: center; }
table.holders thead th:nth-child(2) { text-align: left; }
table.holders tbody td { padding: clamp(6px, 0.9vw, 8px) clamp(8px, 1.3vw, 18px); text-align: right; border-bottom: 1px solid var(--line);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem); white-space: nowrap; line-height: 1.4; }
table.holders tbody td:nth-child(2) { text-align: left; white-space: normal; }
table.holders tbody td:nth-child(1) { color: var(--muted); font-family: var(--sans); font-size: clamp(0.72rem, 0.95vw, 0.82rem); text-align: center; }
table.holders tbody td.name { font-weight: 500; color: var(--ink); }
table.holders tbody tr:hover td { background: var(--accent-soft); }
/* summary group — all white, with bold key rows and rule weights for hierarchy */
table.holders tbody tr.is-sub td { background: #fff; color: var(--ink-soft); }
table.holders tbody tr.is-sub:hover td { background: var(--accent-soft); }
/* Topp 20 samtals — bold, thick top + bottom rule */
table.holders tbody tr.is-sub--first td { background: #fff; color: var(--ink); font-weight: 700;
  border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
table.holders tbody tr.is-sub--first:hover td { background: #fff; }
/* Útistandandi hlutir — white, bold, thick top + bottom rule */
table.holders tbody tr.is-subtotal td { background: #fff; font-weight: 700; color: var(--ink);
  border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
table.holders tbody tr.is-subtotal:hover td { background: #fff; }
/* Útgefið hlutafé — white, bold, thick top + double bottom rule */
table.holders tbody tr.is-total td { background: #fff; color: var(--ink); font-weight: 700;
  border-top: 2px solid var(--navy); border-bottom: 4px double var(--navy); }
table.holders tbody tr.is-total:hover td { background: #fff; }
.holders .bar { display: inline-block; height: 6px; background: var(--accent); border-radius: 2px; vertical-align: middle; margin-left: 10px; opacity: 0.5; }
.table-note { margin-top: 16px; font-size: 0.82rem; color: var(--muted); font-family: var(--sans); }
