:root {
  --grey-50: #f7f8f8;
  --jacket-grey: #e1e4e5;
  --cloth-grey: #b9b7ae;
  --navy: #081846;
  --navy-2: #122a5d;
  --lining: #05102f;
  --red: #7e4047;
  --red-dark: #70381e;
  --hytte-green: #515a4e;
  --stripe: #b8c8de;
  --blue-soft: #d7e7f5;
  --ink: #17202a;
  --muted: #5c6875;
  --paper: #ffffff;
  --border: #d7dce0;
  --shadow: 0 18px 45px rgba(7, 16, 38, 0.11);
  --radius: 8px;
  color-scheme: light;
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Professional page */

.editorial-theme.professional-page {
  background: #fffdf8;
}

.professional-page section[id],
.professional-page [id="ways-of-working"] {
  scroll-margin-top: 84px;
}

.professional-hero {
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.99) 0%, rgba(247, 246, 241, 0.95) 68%, rgba(247, 246, 241, 0.62) 100%),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.48) 10px 14px, #ffffff 14px 24px);
  padding:
    clamp(7.7rem, 12vw, 9.2rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    clamp(3rem, 6vw, 4.7rem);
}

.professional-hero__copy {
  max-width: 900px;
}

.professional-hero h1,
.professional-panel h2,
.professional-records h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0;
}

.professional-hero h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.25rem);
  line-height: 0.98;
  max-width: 860px;
}

.professional-hero__lede {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.55;
  margin: 1.35rem 0 0;
  max-width: 820px;
}

.professional-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 1.55rem;
}

.professional-hero__actions a,
.professional-record a,
.professional-crosslink a {
  color: var(--navy);
  font-weight: 760;
  text-decoration-color: rgba(126, 64, 71, 0.62);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.professional-hero__actions a:hover,
.professional-hero__actions a:focus-visible,
.professional-record a:hover,
.professional-record a:focus-visible,
.professional-crosslink a:hover,
.professional-crosslink a:focus-visible {
  color: var(--red);
}

.professional-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.professional-paths button {
  appearance: none;
  background: #eee9e1;
  border: 0;
  border-bottom: 6px solid transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  min-height: 142px;
  padding: 1.45rem clamp(1rem, 2vw, 1.6rem) 1.35rem;
  text-align: left;
  transition: filter 160ms ease, transform 160ms ease;
}

.professional-paths button:nth-child(2) {
  background: #f4d979;
}

.professional-paths button:nth-child(3) {
  background: #dfeaf3;
}

.professional-paths button:nth-child(4) {
  background: var(--navy);
  color: white;
}

.professional-paths button:hover {
  filter: brightness(0.97);
}

.professional-paths button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.professional-paths button[aria-selected="true"] {
  border-bottom-color: var(--red);
  transform: translateY(-5px);
}

.professional-paths span,
.professional-paths strong {
  display: block;
}

.professional-paths span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.professional-paths button:nth-child(4) span {
  color: #f4d979;
}

.professional-paths strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.25;
}

.professional-panels {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.95)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(157, 175, 239, 0.13) 31px 32px);
  min-height: 495px;
  padding:
    clamp(2.6rem, 5vw, 4.2rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    clamp(3rem, 6vw, 5rem);
}

.professional-panel {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  margin: 0 auto;
  max-width: var(--editorial-max);
}

.professional-panel[hidden] {
  display: none;
}

.professional-panel__intro h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  line-height: 1.06;
  max-width: 560px;
}

.professional-panel__intro > p:not(.academic-kicker) {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
  margin: 1.15rem 0 0;
  max-width: 620px;
}

.professional-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 1.45rem;
}

.professional-scope span {
  background: var(--nordic-blue);
  border: 1px solid rgba(8, 24, 70, 0.13);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 760;
  padding: 0.38rem 0.65rem;
}

.professional-records h3 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}

.professional-record {
  border-top: 1px solid rgba(8, 24, 70, 0.2);
  padding: 1rem 0 1.05rem;
}

.professional-record--compact {
  padding-block: 0.76rem 0.82rem;
}

.professional-record__head {
  align-items: baseline;
  display: flex;
  gap: 0.65rem 1rem;
  justify-content: space-between;
}

.professional-record__head strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.28;
}

.professional-record__head a {
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.professional-record p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.47;
  margin: 0.45rem 0 0;
  max-width: 760px;
}

.professional-crosslink {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0.85rem 0 0;
}

@media (max-width: 920px) {
  .professional-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .professional-paths button {
    min-height: 124px;
  }

  .professional-panel {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .professional-hero {
    padding-top: 9.2rem;
  }

  .professional-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
  }

  .professional-paths {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .professional-paths button {
    min-height: 0;
    padding: 1.1rem max(1rem, var(--editorial-pad));
  }

  .professional-paths button[aria-selected="true"] {
    transform: none;
  }

  .professional-paths span {
    margin-bottom: 0.35rem;
  }

  .professional-panels {
    min-height: 0;
    padding-top: 2.6rem;
  }

  .professional-record__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--grey-50);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 220, 224, 0.85);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar--overlay {
  background: rgba(8, 24, 70, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  color: white;
  position: fixed;
  width: 100%;
}

.brand {
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex: 0 1 auto;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  color: inherit;
  font-size: 0.94rem;
  opacity: 0.82;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
  opacity: 1;
}

.site-nav a[aria-current="page"] {
  color: var(--red);
  font-weight: 750;
  opacity: 1;
}

.topbar--overlay .site-nav a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 720;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--red);
  color: white;
}

.button--primary:hover {
  background: var(--red-dark);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button--ink {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(8, 24, 70, 0.2);
  color: var(--navy);
}

.button--ink:hover {
  background: white;
}

.eyebrow {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.section-pad {
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.section-head {
  max-width: 760px;
}

.section-head--center {
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head h2,
.index-hero h1,
.hero h1,
.contact-band h2,
.about-snippet h2,
.currently h2,
.credibility h2 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 1rem 0 0;
}

.hero {
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  min-height: min(780px, 84vh);
  padding: 7rem clamp(1rem, 6vw, 5rem) clamp(3rem, 8vh, 5.5rem);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 16, 47, 0.95) 0%, rgba(5, 16, 47, 0.76) 42%, rgba(5, 16, 47, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 16, 47, 0.54), rgba(5, 16, 47, 0.06));
  content: "";
  inset: 0;
  position: absolute;
}

.hero--clear-expert {
  background-image: url("img/jacket.jpg");
}

.hero--advisory {
  background-image: url("img/jacket.jpg");
  background-position: center 34%;
}

.hero--advisory::before {
  background:
    linear-gradient(90deg, rgba(247, 248, 248, 0.96) 0%, rgba(247, 248, 248, 0.84) 45%, rgba(247, 248, 248, 0.16) 100%),
    linear-gradient(180deg, rgba(8, 24, 70, 0.08), rgba(8, 24, 70, 0.22));
}

.hero--portfolio {
  background-image: url("img/jacket.jpg");
  background-position: 58% 42%;
}

.hero--portfolio::before {
  background:
    linear-gradient(90deg, rgba(8, 24, 70, 0.92), rgba(8, 24, 70, 0.52), rgba(125, 11, 24, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
}

.hero__content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero__content--wide {
  max-width: 920px;
}

.hero h1 {
  color: inherit;
  font-size: clamp(3.4rem, 10vw, 7.8rem);
}

.hero--advisory h1 {
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 980px;
}

.hero__lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.45;
  margin: 1.25rem 0 0;
  max-width: 720px;
}

.hero--advisory .hero__lede {
  color: #2c3a48;
}

.hero--advisory .button--ghost {
  border-color: rgba(8, 24, 70, 0.36);
  color: var(--navy);
}

.hero--advisory .button--ghost:hover {
  background: rgba(8, 24, 70, 0.08);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.proof-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip div {
  background:
    linear-gradient(180deg, white, #fbfcfc),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(184, 200, 222, 0.45) 13px 14px);
  border-right: 1px solid var(--border);
  min-height: 118px;
  padding: 1.45rem;
}

.proof-strip strong {
  color: var(--navy);
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  display: block;
  margin-top: 0.35rem;
}

.routes {
  background: var(--grey-50);
}

.route-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.route-card,
.diagnosis-grid article,
.concept-card,
.service-item,
.topic-grid article,
.portfolio-card,
.work-row article {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(7, 16, 38, 0.05);
}

.route-card {
  min-height: 285px;
  padding: 1.35rem;
}

.route-card--wide {
  background:
    linear-gradient(135deg, white 0%, white 54%, rgba(215, 231, 245, 0.55) 100%),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(184, 200, 222, 0.35) 10px 11px);
  grid-column: span 2;
}

.route-card span,
.portfolio-card span,
.topic-grid span,
.concept-card__number,
.notes-list span {
  color: var(--red);
  display: block;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.route-card h3,
.service-item h3,
.topic-grid h3,
.portfolio-card h3,
.work-row h3,
.concept-card h3,
.diagnosis-grid h3 {
  color: var(--navy);
  line-height: 1.18;
  margin: 0.7rem 0 0;
}

.route-card p,
.service-item p,
.topic-grid p,
.portfolio-card p,
.work-row p,
.concept-card p,
.diagnosis-grid p {
  color: var(--muted);
  margin: 0.8rem 0 0;
}

.route-card a {
  color: var(--red);
  display: inline-block;
  font-weight: 750;
  margin-top: 1.2rem;
  text-decoration: none;
}

.route-card a:hover,
.concept-card:hover h3,
.notes-list a:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.pinstripe-band,
.topic-wall,
.notes-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 15px, var(--stripe) 15px 16px);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.work-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1080px;
}

.work-row article {
  padding: 1.35rem;
}

.contact-band {
  align-items: center;
  background: var(--navy);
  color: white;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem);
}

.contact-band h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
  max-width: 820px;
}

.contact-band--light {
  background: var(--paper);
  border-top: 1px solid var(--border);
  color: var(--ink);
}

.contact-band--light .button--primary {
  color: white;
}

.audience-bar {
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.audience-bar a {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 68px;
  padding: 1.25rem;
  text-align: center;
  text-decoration: none;
}

.audience-bar a:hover {
  background: var(--red);
}

.split-section {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.service-stack {
  border-top: 4px solid var(--red);
  display: grid;
  gap: 0.9rem;
}

.service-item {
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.3rem;
}

.topic-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-grid article {
  padding: 1.2rem;
}

.credibility {
  align-items: start;
  background: var(--grey-50);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.credibility h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

.credibility-list {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.credibility-list p {
  border-bottom: 1px solid var(--border);
  margin: 0;
  padding: 1.15rem 1.25rem;
}

.credibility-list p:last-child {
  border-bottom: 0;
}

.currently {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.currently h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.currently__items {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.currently__items p {
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
  padding: 1rem;
}

.portfolio-grid-section {
  background: var(--grey-50);
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 2rem;
}

.portfolio-card {
  grid-column: span 2;
  min-height: 245px;
  padding: 1.25rem;
}

.portfolio-card:nth-child(4),
.portfolio-card:nth-child(5) {
  grid-column: span 3;
}

.notes-list {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 980px;
  overflow: hidden;
}

.notes-list a {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 160px 1fr;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
}

.notes-list a + a {
  border-top: 1px solid var(--border);
}

.about-snippet {
  align-items: start;
  background: var(--navy);
  color: white;
  display: grid;
  gap: clamp(1rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.about-snippet h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.about-snippet p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
}

.concept-index {
  background: var(--grey-50);
}

.index-hero {
  background:
    linear-gradient(90deg, rgba(8, 24, 70, 0.9), rgba(8, 24, 70, 0.58)),
    url("img/jacket.jpg");
  background-position: center 40%;
  background-size: cover;
  color: white;
  min-height: 430px;
  padding: clamp(5rem, 12vw, 8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 5rem);
}

.index-hero__copy {
  max-width: 900px;
}

.index-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.index-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  max-width: 760px;
}

.diagnosis-grid,
.concept-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.diagnosis-grid article,
.concept-card {
  padding: 1.25rem;
}

.concept-picker {
  background: var(--paper);
}

.concept-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.concept-card {
  color: inherit;
  min-height: 250px;
  text-decoration: none;
}

.thread-theme {
  background:
    linear-gradient(180deg, rgba(247, 248, 248, 0.96), rgba(247, 248, 248, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(184, 200, 222, 0.55) 18px 19px);
}

.thread-topbar {
  align-items: center;
  background: rgba(250, 251, 250, 0.92);
  border-bottom: 1px solid rgba(126, 64, 71, 0.16);
  color: var(--navy);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.thread-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(247, 248, 248, 0.98) 0%, rgba(247, 248, 248, 0.9) 44%, rgba(247, 248, 248, 0.22) 72%),
    linear-gradient(180deg, rgba(247, 248, 248, 0.18), rgba(247, 248, 248, 0.86)),
    url("img/hytte2.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: min(790px, 88vh);
  padding: 8rem clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 5rem);
}

.thread-hero__copy {
  max-width: 850px;
}

.thread-hero h1,
.thread-intro h2,
.thread-map h2,
.thread-proof h2,
.thread-notes h2,
.thread-contact h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.thread-hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.7rem);
  max-width: 980px;
}

.thread-hero p:not(.eyebrow) {
  color: #283743;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin: 1.2rem 0 0;
  max-width: 720px;
}

.thread-intro {
  align-items: start;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.thread-intro h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.3rem);
}

.thread-intro p:not(.eyebrow) {
  border-left: 5px solid var(--red);
  color: var(--muted);
  font-size: 1.14rem;
  margin: 0;
  padding-left: 1.3rem;
}

.thread-map {
  background:
    linear-gradient(180deg, rgba(247, 248, 248, 0.94), rgba(247, 248, 248, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(184, 200, 222, 0.58) 18px 19px);
  display: grid;
  gap: 1rem 1.2rem;
  grid-template-columns: 70px minmax(230px, 0.58fr) minmax(0, 1fr);
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 5vw, 5rem);
  position: relative;
}

.thread-map__rail {
  align-self: stretch;
  background:
    linear-gradient(180deg, var(--red), var(--hytte-green)),
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(255, 255, 255, 0.55) 16px 18px);
  border-radius: 999px;
  grid-row: 1 / span 6;
  justify-self: center;
  width: 8px;
}

.thread-map__head {
  grid-column: 2 / 4;
  max-width: 800px;
}

.thread-map h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
}

.thread-item {
  align-items: start;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(126, 64, 71, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 16, 38, 0.06);
  display: grid;
  gap: 1rem;
  grid-column: 3;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 1.15rem;
}

.thread-item:nth-of-type(odd) {
  grid-column: 2 / 4;
  max-width: 860px;
}

.thread-item span {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.thread-item h3 {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0;
}

.thread-item p {
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.thread-item--personal {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(215, 231, 245, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(184, 200, 222, 0.55) 11px 12px);
}

.thread-proof {
  align-items: start;
  background:
    linear-gradient(90deg, rgba(8, 24, 70, 0.9), rgba(8, 24, 70, 0.72)),
    url("img/hytte1.webp");
  background-position: center;
  background-size: cover;
  color: white;
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 5vw, 5rem);
}

.thread-proof h2 {
  color: white;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

.proof-notes {
  display: grid;
  gap: 0.75rem;
}

.proof-notes p {
  background: rgba(255, 255, 255, 0.9);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  color: var(--ink);
  margin: 0;
  padding: 1rem 1.1rem;
}

.proof-notes strong,
.proof-notes span {
  display: block;
}

.proof-notes span {
  color: var(--muted);
  margin-top: 0.2rem;
}

.thread-notes {
  background: var(--paper);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.thread-notes .section-head {
  max-width: 900px;
}

.thread-notes h2 {
  font-size: clamp(2rem, 4.5vw, 4.1rem);
}

.note-weave {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.note-weave a {
  background:
    linear-gradient(180deg, rgba(247, 248, 248, 0.94), rgba(247, 248, 248, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(184, 200, 222, 0.62) 12px 13px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  min-height: 170px;
  padding: 1.1rem;
  text-decoration: none;
}

.note-weave span {
  color: var(--red);
  display: block;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.note-weave strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
  margin-top: 1rem;
}

.note-weave a:nth-child(2) {
  transform: translateY(1.1rem);
}

.thread-contact {
  align-items: center;
  background: #f0f2f1;
  border-top: 1px solid rgba(126, 64, 71, 0.18);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(2.8rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.thread-contact h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  max-width: 980px;
}

.desk-theme {
  --desk-paper: #fbfbf8;
  --desk-ink: #081846;
  --desk-muted: #4d5a63;
  background:
    linear-gradient(180deg, rgba(251, 251, 248, 0.92), rgba(251, 251, 248, 0.92)),
    repeating-linear-gradient(90deg, #ffffff 0 10px, #b8c8de 10px 12px, #ffffff 12px 24px);
  color: var(--desk-ink);
}

.desk-topbar {
  align-items: center;
  background: rgba(251, 251, 248, 0.92);
  border-bottom: 1px solid rgba(126, 64, 71, 0.18);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.desk-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(251, 251, 248, 0.98) 0%, rgba(251, 251, 248, 0.88) 46%, rgba(251, 251, 248, 0.18) 74%),
    url("img/hytte2.webp");
  background-position: center;
  background-size: cover;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 330px);
  min-height: min(790px, 88vh);
  overflow: hidden;
  padding: 8rem clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 5rem);
  position: relative;
}

.desk-hero::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.68)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 11px, rgba(184, 200, 222, 0.98) 11px 13px, rgba(255, 255, 255, 0.96) 13px 25px);
  content: "";
  inset: 0 0 0 auto;
  opacity: 0.86;
  position: absolute;
  width: min(34vw, 440px);
}

.desk-hero__copy,
.desk-note {
  position: relative;
  z-index: 1;
}

.desk-hero__copy {
  max-width: 900px;
}

.desk-hero h1,
.desk-now h2,
.desk-work h2,
.desk-writing h2,
.desk-contact h2 {
  color: var(--desk-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.desk-hero h1 {
  font-size: clamp(4.2rem, 13vw, 11rem);
}

.desk-hero p:not(.eyebrow) {
  color: #26343f;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  line-height: 1.55;
  margin: 1.1rem 0 0;
  max-width: 740px;
}

.desk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.7rem;
}

.desk-links a {
  background: rgba(251, 251, 248, 0.78);
  border: 1px solid rgba(126, 64, 71, 0.24);
  border-radius: 999px;
  color: var(--desk-ink);
  font-weight: 750;
  padding: 0.52rem 0.78rem;
  text-decoration: none;
}

.desk-links a:hover {
  background: white;
  border-color: var(--red);
}

.desk-note {
  align-self: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(90deg, #ffffff 0 9px, #b8c8de 9px 11px, #ffffff 11px 21px);
  border: 1px solid rgba(126, 64, 71, 0.26);
  border-left: 7px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(7, 16, 38, 0.1);
  padding: 1.1rem;
}

.desk-note strong,
.desk-note span {
  display: block;
}

.desk-note strong {
  color: var(--desk-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.desk-note span {
  color: var(--desk-muted);
  margin-top: 0.55rem;
}

.desk-now {
  background: var(--desk-paper);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.desk-now h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.desk-ledger {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
    repeating-linear-gradient(90deg, #ffffff 0 10px, #b8c8de 10px 12px, #ffffff 12px 24px);
  border: 1px solid rgba(126, 64, 71, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(7, 16, 38, 0.07);
  overflow: hidden;
}

.desk-ledger article {
  display: grid;
  gap: 1rem;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 1.1rem 1.25rem;
}

.desk-ledger article + article {
  border-top: 1px solid rgba(126, 64, 71, 0.15);
}

.desk-ledger span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desk-ledger p {
  color: var(--desk-muted);
  margin: 0;
}

.desk-about {
  background:
    linear-gradient(90deg, rgba(8, 24, 70, 0.9), rgba(8, 24, 70, 0.78)),
    url("img/jacket.jpg");
  background-position: center;
  background-size: cover;
  color: white;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.desk-about p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.6vw, 3.3rem);
  line-height: 1.2;
  margin: 0;
  max-width: 1120px;
}

.desk-work {
  background: var(--desk-paper);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.desk-work h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
}

.desk-work__list {
  border-left: 8px solid var(--red);
}

.desk-work__list article {
  background: white;
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 8px 24px rgba(7, 16, 38, 0.05);
  padding: 1.2rem 1.25rem;
}

.desk-work__list article + article {
  margin-top: 0.8rem;
}

.desk-work h3 {
  color: var(--desk-ink);
  font-size: 1.35rem;
  line-height: 1.12;
  margin: 0;
}

.desk-work p {
  color: var(--desk-muted);
  margin: 0.45rem 0 0;
}

.desk-work a {
  color: var(--red);
  display: inline-block;
  font-weight: 800;
  margin-top: 0.8rem;
  text-decoration: none;
}

.desk-work a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.desk-signals {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(90deg, #ffffff 0 10px, #b8c8de 10px 12px, #ffffff 12px 24px);
  border-block: 1px solid rgba(126, 64, 71, 0.18);
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
}

.desk-signals p {
  color: var(--desk-muted);
  margin: 0;
  max-width: 1160px;
}

.desk-signals strong {
  color: var(--desk-ink);
}

.desk-writing {
  background: var(--desk-paper);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.desk-writing h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.desk-stream {
  display: grid;
  gap: 0.85rem;
}

.desk-stream a {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  padding: 1rem 1.1rem;
  text-decoration: none;
}

.desk-stream span {
  color: var(--red);
  display: block;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desk-stream strong {
  color: var(--desk-ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.12;
  margin-top: 0.55rem;
}

.desk-contact {
  align-items: center;
  background: #eef1ef;
  border-top: 1px solid rgba(126, 64, 71, 0.18);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
}

.desk-contact h2 {
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  max-width: 1080px;
}

.editorial-theme {
  --yellow: rgba(243, 201, 80, 0.62);
  --nordic-paper: #f7f6f1;
  --nordic-blue: #dfeaf3;
  --nordic-blue-strong: #b8c8de;
  --nordic-warm: #e8e1d8;
  --stripe-strong: #9dafef;
  --editorial-max: 1280px;
  --editorial-pad: clamp(1rem, 5vw, 5rem);
  background: var(--nordic-paper);
  color: var(--navy);
  min-height: 100vh;
  overflow-x: hidden;
}

.editorial-theme main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.editorial-topbar {
  align-items: center;
  background: rgba(247, 246, 241, 0.94);
  border-bottom: 1px solid rgba(126, 64, 71, 0.16);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.7rem max(1rem, calc((100vw - var(--editorial-max)) / 2));
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.editorial-topbar--nav-only {
  justify-content: flex-end;
}

.editorial-topbar .brand {
  font-family: "Aptos Display", "Gill Sans", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 820;
  letter-spacing: 0;
}

.editorial-topbar .site-nav {
  align-items: center;
  gap: clamp(1rem, 2vw, 1.7rem);
}

.editorial-topbar .site-nav a {
  font-family: "Aptos Display", "Gill Sans", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 640;
  letter-spacing: 0;
  opacity: 0.9;
  padding: 0.25rem 0;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.34rem;
}

.editorial-topbar .site-nav a:hover,
.editorial-topbar .site-nav a[aria-current="page"] {
  color: var(--red);
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: rgba(126, 64, 71, 0.7);
}

.editorial-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.98) 0%, rgba(247, 246, 241, 0.98) 57%, rgba(247, 246, 241, 0.56) 100%),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.52) 10px 14px, #ffffff 14px 24px);
  background-position: center;
  background-size: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 790px)
    minmax(300px, 390px)
    minmax(var(--editorial-pad), 1fr);
  min-height: 500px;
  overflow: hidden;
  padding: 6.6rem 0 3rem;
}

.editorial-hero__copy {
  grid-column: 2;
}

.editorial-hero h1,
.editorial-about h2,
.editorial-routes h2,
.editorial-latest h2,
.editorial-contact h2 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.editorial-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.hero-role {
  color: var(--red);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 760;
  letter-spacing: 0.01em;
  margin: 0.65rem 0 0;
}

.editorial-hero h2 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.14;
  margin: 0.85rem 0 0;
  max-width: 760px;
}

.editorial-hero h2::after {
  background: rgba(243, 201, 80, 0.52);
  content: "";
  display: block;
  height: 0.16em;
  margin-top: -0.16em;
  transform: rotate(-0.8deg);
  transform-origin: left center;
  width: min(520px, 78%);
}

.editorial-hero p:not(.eyebrow) {
  color: #26343f;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  margin: 1.2rem 0 0;
  max-width: 760px;
}

.skew-button {
  border: 2px solid var(--navy);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 820;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  text-decoration: none;
  transform: rotate(-1.6deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.skew-button:hover {
  box-shadow: 5px 5px 0 var(--navy);
  transform: rotate(-1.6deg) translate(-2px, -2px);
}

.skew-button--red {
  background: var(--red);
  border-color: var(--red-dark);
  color: white;
}

.skew-button--blue {
  background: var(--nordic-blue);
  color: var(--navy);
}

.editorial-person span,
.latest-list span,
.route-strip span {
  color: var(--red);
  display: block;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.editorial-person span {
  font-size: 0.66rem;
  line-height: 1.35;
  max-width: 230px;
}

.editorial-person {
  align-self: center;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 9px 9px 0 rgba(126, 64, 71, 0.9);
  display: grid;
  gap: 1rem;
  grid-column: 3;
  grid-template-columns: 1fr;
  justify-self: end;
  opacity: 0.55;
  padding: 1rem;
  text-align: left;
  transform: rotate(1deg) translateX(34px);
  transition:
    opacity 1200ms ease,
    transform 1800ms cubic-bezier(0.22, 0.78, 0.18, 1);
  width: min(100%, 330px);
  will-change: transform;
}

.editorial-theme.is-loaded .editorial-person {
  opacity: 1;
  transform: rotate(1deg) translateX(-10px);
}

.editorial-person img {
  aspect-ratio: 1;
  border-radius: 6px;
  display: block;
  justify-self: center;
  object-fit: cover;
  width: min(100%, 220px);
}

.editorial-person p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.42;
  margin: 0.75rem 0 0;
  max-width: 230px;
}

.editorial-quick {
  background: var(--nordic-paper);
  color: var(--navy);
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding:
    clamp(1.5rem, 3vw, 2.4rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.editorial-quick a {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.82);
  color: var(--navy);
  display: block;
  min-height: 122px;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  transform: rotate(-0.45deg);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.editorial-quick a:nth-child(even) {
  transform: rotate(0.45deg);
}

.editorial-quick a:hover {
  background: var(--nordic-blue);
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.82);
  transform: rotate(-0.45deg) translate(-2px, -2px);
}

.editorial-quick a:nth-child(even):hover {
  transform: rotate(0.45deg) translate(-2px, -2px);
}

.editorial-quick strong {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.32rem;
  font-weight: 760;
}

.editorial-quick span {
  color: var(--muted);
  display: block;
  margin-top: 0.25rem;
}

.editorial-about {
  background: #fffdf8;
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 500px)
    minmax(0, 700px)
    minmax(var(--editorial-pad), 1fr);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.editorial-about__label {
  grid-column: 2;
}

.editorial-about__copy {
  grid-column: 3;
}

.editorial-about h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
}

.editorial-about__copy {
  border-left: 8px solid var(--yellow);
  padding-left: 1.4rem;
}

.editorial-about__copy p {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0;
}

.editorial-about__copy p + p {
  margin-top: 1rem;
}

.editorial-routes {
  background: #eef2f4;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 430px)
    minmax(0, 770px)
    minmax(var(--editorial-pad), 1fr);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.editorial-routes__head {
  grid-column: 2;
}

.route-stack {
  grid-column: 3;
}

.editorial-routes h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.route-stack {
  display: grid;
  gap: 0.9rem;
}

.route-strip {
  background: #fffdf8;
  border: 2px solid transparent;
  border-radius: 8px;
  color: inherit;
  display: block;
  padding: 1rem 1.15rem;
  text-decoration: none;
  transform: rotate(-0.5deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.route-strip:nth-child(even) {
  transform: rotate(0.6deg);
}

.route-strip:hover {
  box-shadow: 7px 7px 0 var(--navy);
  transform: translate(-2px, -2px) rotate(-0.5deg);
}

.route-strip strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.08;
  margin-top: 0.45rem;
}

.route-strip--academic {
  border-color: var(--navy);
}

.route-strip--training {
  border-color: var(--red);
}

.route-strip--consultancy {
  border-color: rgba(126, 64, 71, 0.55);
}

.route-strip--digital {
  border-color: var(--nordic-blue-strong);
}

.route-strip--personal {
  border-color: var(--hytte-green);
}

.editorial-pinstripe {
  background:
    repeating-linear-gradient(90deg, #ffffff 0 9px, var(--stripe-strong) 9px 14px, #ffffff 14px 23px);
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding:
    clamp(2.2rem, 5vw, 4rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.editorial-pinstripe article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(8, 24, 70, 0.15);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(8, 24, 70, 0.09);
  padding: 1.35rem 1.1rem;
  text-align: center;
}

.editorial-pinstripe h3 {
  color: var(--navy);
  margin: 0;
}

.editorial-pinstripe p {
  color: var(--ink);
  margin: 0.55rem 0 0;
}

.editorial-latest {
  background: #fffdf8;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 430px)
    minmax(0, 770px)
    minmax(var(--editorial-pad), 1fr);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.editorial-latest > div:first-child {
  grid-column: 2;
}

.latest-list {
  grid-column: 3;
}

.editorial-latest h2 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

.latest-list {
  display: grid;
  gap: 1rem;
}

.latest-list a {
  background: white;
  border: 1px solid rgba(8, 24, 70, 0.14);
  border-radius: 8px;
  color: inherit;
  padding: 1rem 1.1rem;
  text-decoration: none;
}

.latest-list strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.5vw, 1.85rem);
  line-height: 1.08;
  margin-top: 0.55rem;
}

.latest-list mark {
  background:
    linear-gradient(transparent 52%, rgba(243, 201, 80, 0.75) 52%);
  color: inherit;
  padding: 0 0.08em;
}

.editorial-media {
  align-items: center;
  background: #eef2f4;
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 620px)
    minmax(0, 580px)
    minmax(var(--editorial-pad), 1fr);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.editorial-media img {
  grid-column: 2;
}

.editorial-media > div {
  grid-column: 3;
}

.editorial-media img {
  border-radius: 8px;
  box-shadow: 9px 9px 0 rgba(126, 64, 71, 0.8);
  display: block;
  width: 100%;
}

.editorial-media h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0;
}

.editorial-media p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 1rem 0 0;
}

.editorial-contact {
  align-items: flex-end;
  background: var(--navy);
  color: white;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: auto;
  min-height: 130px;
  padding:
    clamp(1.25rem, 3vw, 2.2rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.editorial-contact h2 {
  color: white;
  font-size: clamp(1.15rem, 1.75vw, 1.65rem);
  line-height: 1.18;
  max-width: 780px;
}

.academic-page {
  background: #fffdf8;
}

.academic-page section[id] {
  scroll-margin-top: 84px;
}

.academic-hero {
  align-items: start;
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.99) 0%, rgba(247, 246, 241, 0.96) 63%, rgba(247, 246, 241, 0.66) 100%),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.48) 10px 14px, #ffffff 14px 24px);
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 760px)
    minmax(280px, 380px)
    minmax(var(--editorial-pad), 1fr);
  min-height: 530px;
  padding: 8.2rem 0 4.5rem;
}

.academic-hero__copy {
  grid-column: 2;
}

.academic-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.academic-hero h1,
.academic-section__head h2 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0;
}

.academic-hero h1 {
  font-size: clamp(2.7rem, 4.7vw, 4.6rem);
  max-width: 760px;
}

.academic-hero__lede {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.57;
  margin: 1.35rem 0 0;
  max-width: 720px;
}

.academic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-top: 1.65rem;
}

.academic-links a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration-color: rgba(126, 64, 71, 0.62);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

.academic-links a::after {
  color: var(--red);
  content: " ↗";
}

.academic-links a[download]::after {
  content: " ↓";
}

.academic-links a:hover,
.academic-links a:focus-visible {
  color: var(--red);
}

.academic-hero__note {
  align-self: center;
  background: #f4d979;
  box-shadow: 10px 10px 0 rgba(126, 64, 71, 0.82);
  grid-column: 3;
  margin-top: 1.5rem;
  padding: 1.5rem 1.6rem 1.55rem;
  transform: rotate(1deg);
}

.academic-hero__note > span {
  color: var(--red);
  display: block;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.academic-hero__note p {
  border-top: 1px solid rgba(8, 24, 70, 0.2);
  font-size: 0.98rem;
  line-height: 1.38;
  margin: 0;
  padding: 0.75rem 0;
}

.academic-hero__note p:last-child {
  padding-bottom: 0;
}

.academic-hero__note strong {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
}

.academic-proof {
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.academic-proof > div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  min-height: 135px;
  padding: 1.55rem clamp(1rem, 2.4vw, 2rem);
}

.academic-proof > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.academic-proof strong,
.academic-proof span {
  display: block;
}

.academic-proof strong {
  color: #f4d979;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1;
}

.academic-proof span {
  font-size: 0.88rem;
  line-height: 1.35;
  margin-top: 0.7rem;
  max-width: 160px;
  opacity: 0.84;
}

.academic-jump {
  align-items: center;
  background: #eee9e1;
  border-bottom: 1px solid rgba(126, 64, 71, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.9rem max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.academic-jump span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  margin-right: 0.4rem;
  text-transform: uppercase;
}

.academic-jump a {
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration-color: rgba(126, 64, 71, 0.42);
  text-underline-offset: 0.25rem;
}

.academic-jump a:hover,
.academic-jump a:focus-visible {
  color: var(--red);
}

.academic-section {
  padding: clamp(4rem, 7vw, 6.8rem) max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.academic-section__head {
  max-width: 850px;
}

.academic-section__head--compact {
  max-width: 1000px;
}

.academic-section__head h2 {
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.academic-section__head > p:last-child:not(.academic-kicker) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.62;
  margin: 1.15rem 0 0;
  max-width: 760px;
}

.academic-research {
  background: #fffdf8;
}

.research-programmes {
  display: grid;
  gap: 1.4rem;
  margin-top: 3.5rem;
}

.research-programme {
  align-items: start;
  background: var(--nordic-warm);
  border-top: 4px solid var(--red);
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.16);
  display: grid;
  gap: clamp(1.3rem, 3vw, 3rem);
  grid-template-columns: minmax(70px, 120px) minmax(0, 1fr);
  padding: clamp(1.6rem, 3.5vw, 3rem);
}

.research-programme--blue {
  background: var(--nordic-blue);
  border-top-color: var(--navy);
  box-shadow: 8px 8px 0 rgba(8, 24, 70, 0.14);
}

.research-programme__number {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-style: italic;
  line-height: 0.9;
  opacity: 0.9;
}

.research-programme--blue .research-programme__number {
  color: var(--navy);
}

.research-programme h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  margin: 0;
}

.research-programme p {
  color: #384052;
  font-size: 1.04rem;
  margin: 0.8rem 0 0;
  max-width: 880px;
}

.academic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.academic-tags li {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(8, 24, 70, 0.17);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 720;
  padding: 0.35rem 0.75rem;
}

.academic-subhead {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.academic-subhead h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  margin: 0;
}

.academic-subhead p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

.research-projects {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.7rem;
}

.research-project {
  background: white;
  border: 1px solid rgba(8, 24, 70, 0.16);
  border-radius: 5px;
  min-height: 230px;
  padding: clamp(1.4rem, 2.5vw, 2.15rem);
}

.research-project:nth-child(2),
.research-project:nth-child(4) {
  background: #f8f2e7;
}

.research-project__meta {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}

.research-project h4 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0.8rem 0 0;
}

.research-project p:last-child {
  color: var(--muted);
  margin: 0.8rem 0 0;
}

.academic-publications {
  background: var(--navy);
  color: white;
}

.academic-publications .academic-kicker,
.academic-talks .academic-kicker {
  color: #f4d979;
}

.academic-publications .academic-section__head h2,
.academic-talks .academic-section__head h2 {
  color: white;
}

.publication-list {
  list-style: none;
  margin: 2.8rem 0 0;
  padding: 0;
}

.publication-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: clamp(1rem, 3vw, 3rem);
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 1.3rem 0 1.4rem;
}

.publication-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.publication-list time {
  color: #f4d979;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
}

.publication-list h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.35;
  margin: 0;
}

.publication-list p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0.38rem 0 0;
}

.academic-links--dark a {
  color: white;
  text-decoration-color: rgba(244, 217, 121, 0.76);
}

.academic-links--dark a::after {
  color: #f4d979;
}

.academic-links--dark a:hover,
.academic-links--dark a:focus-visible {
  color: #f4d979;
}

.academic-teaching {
  background: #fffdf8;
}

.teaching-columns {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
}

.teaching-columns article {
  background: var(--nordic-blue);
  border-top: 5px solid var(--navy);
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.teaching-columns article:nth-child(2) {
  background: #f4d979;
  border-top-color: var(--red);
}

.teaching-columns__label {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.teaching-columns h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  margin: 0.65rem 0 0;
}

.teaching-columns p {
  color: #394255;
  margin: 0.9rem 0 0;
}

.teaching-columns ul {
  border-top: 1px solid rgba(8, 24, 70, 0.18);
  margin: 1.35rem 0 0;
  padding: 1rem 0 0 1.1rem;
}

.teaching-columns li + li {
  margin-top: 0.48rem;
}

.teaching-recognition {
  background: var(--red);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.teaching-recognition > div {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.25rem;
}

.teaching-recognition > div:last-child {
  border-right: 0;
}

.teaching-recognition strong,
.teaching-recognition span {
  display: block;
}

.teaching-recognition strong {
  color: #f4d979;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-style: italic;
}

.teaching-recognition span {
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 0.4rem;
}

.academic-leadership {
  background: #dfeaf3;
}

.leadership-ledger {
  border-bottom: 1px solid rgba(8, 24, 70, 0.22);
  margin-top: 2.6rem;
}

.leadership-ledger article {
  border-top: 1px solid rgba(8, 24, 70, 0.22);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  padding: 1.65rem 0 1.8rem;
}

.leadership-ledger article > span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  padding-top: 0.25rem;
  text-transform: uppercase;
}

.leadership-ledger h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.16;
  margin: 0;
}

.leadership-ledger p {
  color: #465269;
  margin: 0.6rem 0 0;
  max-width: 820px;
}

.academic-talks {
  background: var(--navy);
  color: white;
}

.academic-talks .academic-section__head > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.talk-columns {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
}

.talk-columns > section {
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: clamp(1.4rem, 2.8vw, 2.35rem);
}

.talk-columns > section:nth-child(2) {
  background: rgba(255, 255, 255, 0.055);
}

.talk-columns h3 {
  color: #f4d979;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  margin: 0;
}

.talk-list {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}

.talk-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.15rem 0 1.25rem;
}

.talk-list time {
  color: #c9d6e8;
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.talk-list h4 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0.38rem 0 0;
}

.talk-list h4 a {
  text-decoration-color: rgba(244, 217, 121, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24rem;
}

.talk-list h4 a:hover,
.talk-list h4 a:focus-visible {
  color: #f4d979;
}

.talk-list p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  margin: 0.42rem 0 0;
}

.academic-service {
  background: #eee9e1;
}

.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.service-grid article {
  background: #fffdf8;
  border-top: 4px solid var(--red);
  padding: 1.5rem;
}

.service-grid article:nth-child(even) {
  border-top-color: var(--navy);
}

.service-grid h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 0;
}

.service-grid p {
  color: var(--muted);
  font-size: 0.91rem;
  margin: 0.75rem 0 0;
}

.digital-page {
  background: #fffdf8;
}

.digital-hero {
  align-items: start;
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.99) 0%, rgba(247, 246, 241, 0.96) 63%, rgba(247, 246, 241, 0.68) 100%),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.48) 10px 14px, #ffffff 14px 24px);
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, 760px)
    minmax(280px, 380px)
    minmax(var(--editorial-pad), 1fr);
  padding: 7.75rem 0 0.75rem;
}

.digital-hero__copy {
  grid-column: 2;
}

.digital-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.digital-hero h1,
.digital-policy h2,
.digital-section-head h2,
.project-dialog h2 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.digital-hero h1 {
  font-size: clamp(2.35rem, 3.95vw, 3.85rem);
  max-width: 760px;
}

.digital-hero h1::after {
  background: rgba(243, 201, 80, 0.52);
  content: "";
  display: block;
  height: 0.16em;
  margin-top: -0.06em;
  transform: rotate(-0.7deg);
  transform-origin: left center;
  width: min(560px, 76%);
}

.digital-hero p:not(.digital-kicker),
.digital-policy p {
  color: #26343f;
  font-size: 0.94rem;
  line-height: 1.42;
  margin: 0.78rem 0 0;
  max-width: 820px;
}

.digital-story {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.45rem;
  max-width: 760px;
}

.digital-story__section {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(126, 64, 71, 0.8);
  overflow: hidden;
}

.digital-story__section summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 780;
  justify-content: space-between;
  list-style: none;
  min-height: 48px;
  padding: 0.7rem 1rem;
  transition: background 160ms ease, color 160ms ease;
}

.digital-story__section summary::-webkit-details-marker {
  display: none;
}

.digital-story__section summary::after {
  align-items: center;
  background: var(--nordic-blue);
  border: 1px solid rgba(8, 24, 70, 0.38);
  border-radius: 999px;
  content: "+";
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.25rem;
  height: 28px;
  justify-content: center;
  line-height: 1;
  margin-left: 1rem;
  width: 28px;
}

.digital-story__section[open] summary {
  background: var(--nordic-blue);
}

.digital-story__section[open] summary::after {
  background: white;
  content: "−";
}

.digital-story__section summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}

.digital-story__content {
  border-top: 1px solid rgba(8, 24, 70, 0.18);
  padding: 0.25rem 1rem 1rem;
}

.digital-story__content p:first-child {
  margin-top: 0.75rem;
}

.digital-policy {
  background: var(--navy);
  color: white;
  padding:
    clamp(2.5rem, 6vw, 4.4rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.digital-policy > div {
  border-left: 8px solid rgba(243, 201, 80, 0.75);
  max-width: 1040px;
  padding-left: clamp(1rem, 2.5vw, 1.6rem);
}

.digital-policy h2 {
  color: white;
  font-size: 2rem;
}

.digital-policy p {
  color: rgba(255, 255, 255, 0.87);
  max-width: 920px;
}

.digital-projects {
  background: #fffdf8;
  padding:
    clamp(0.65rem, 1.5vw, 1.05rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.digital-section-head {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.digital-section-head h2 {
  font-size: 1.85rem;
}

.project-tabs {
  display: grid;
  gap: 1rem;
}

.project-tab-list {
  display: flex;
  gap: 0.7rem;
  width: fit-content;
}

.project-tab {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 7px;
  box-shadow: 3px 3px 0 rgba(126, 64, 71, 0.78);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 780;
  min-height: 44px;
  padding: 0.62rem 1.15rem;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.project-tab:hover {
  background: var(--nordic-blue);
  transform: translate(-1px, -1px);
}

.project-tab[aria-selected="true"] {
  background: var(--navy);
  box-shadow: 4px 4px 0 rgba(243, 201, 80, 0.84);
  color: white;
}

.project-tab:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.project-tab-panel[hidden] {
  display: none;
}

.project-card[hidden] {
  display: none;
}

.project-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.82);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  font: inherit;
  grid-template-rows: auto 1fr auto;
  min-height: 250px;
  padding: 0.85rem;
  text-align: left;
  transform: rotate(-0.35deg);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:nth-child(3n + 2) {
  transform: rotate(0.4deg);
}

.project-card:nth-child(3n) {
  transform: rotate(-0.1deg);
}

.project-card:hover,
.project-card:focus-visible {
  background: #f8fbff;
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.82);
  outline: none;
  transform: rotate(-0.35deg) translate(-2px, -2px);
}

.project-card:nth-child(3n + 2):hover,
.project-card:nth-child(3n + 2):focus-visible {
  transform: rotate(0.4deg) translate(-2px, -2px);
}

.project-card:nth-child(3n):hover,
.project-card:nth-child(3n):focus-visible {
  transform: rotate(-0.1deg) translate(-2px, -2px);
}

.project-image {
  --accent: var(--nordic-blue-strong);
  --accent-2: var(--red);
  --symbol: "AI";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 8px, rgba(157, 175, 239, 0.5) 8px 11px, rgba(255, 255, 255, 0.72) 11px 19px),
    linear-gradient(135deg, var(--accent), #eef4f9);
  border: 1px solid rgba(8, 24, 70, 0.22);
  border-radius: 6px;
  display: block;
  min-height: 116px;
  overflow: hidden;
  position: relative;
}

.project-image::before {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid var(--navy);
  border-radius: 7px;
  bottom: 16px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.7);
  content: "";
  left: 16px;
  position: absolute;
  right: 16px;
  top: 18px;
}

.project-image::after {
  align-items: center;
  background:
    linear-gradient(var(--accent-2), var(--accent-2)) 16px 17px / 36% 5px no-repeat,
    linear-gradient(rgba(8, 24, 70, 0.18), rgba(8, 24, 70, 0.18)) 16px 34px / 54% 5px no-repeat,
    linear-gradient(rgba(8, 24, 70, 0.14), rgba(8, 24, 70, 0.14)) 16px 49px / 44% 5px no-repeat,
    white;
  border: 1px solid rgba(8, 24, 70, 0.18);
  border-radius: 6px;
  color: var(--navy);
  content: var(--symbol);
  display: flex;
  font-size: 0.82rem;
  font-weight: 850;
  inset: 30px 30px 25px 30px;
  justify-content: flex-end;
  padding: 0 14px 0 70px;
  position: absolute;
  text-align: right;
}

.project-image--photo {
  background-color: white;
  background-image: var(--project-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.project-image--photo::before,
.project-image--photo::after {
  content: none;
}

.project-image--roleplay-photo {
  --project-image: url("img/roleplay-studio.webp");
  background-position: center;
}

.project-image--clinic-photo {
  --project-image: url("img/psych-clinic.webp");
  background-position: center;
}

.project-image--chat-ai-photo {
  --project-image: url("img/chat-ai.webp");
  background-position: center;
}

.project-image--ward-photo {
  --project-image: url("img/virtual-ward.webp");
  background-position: center;
}

.project-image--law-photo {
  --project-image: url("img/law-clinic.webp");
  background-position: center;
}

.project-image--medicine-photo {
  --project-image: url("img/medicine.webp");
  background-position: center;
}

.project-image--henley-photo {
  --project-image: url("img/henley.webp");
  background-position: center;
}

.project-image--phone-photo {
  --project-image: url("img/phone.webp");
  background-position: center;
}

.project-image--bicycle-photo {
  --project-image: url("img/bicycle.webp");
  background-position: center;
}

.project-image--roleplay {
  --accent: #dfeaf3;
  --accent-2: #7e4047;
  --symbol: "Roleplay";
}

.project-image--assessment {
  --accent: #e8e1d8;
  --accent-2: #081846;
  --symbol: "Assess";
}

.project-image--chatbot {
  --accent: #d7e7f5;
  --accent-2: #515a4e;
  --symbol: "Guardrails";
}

.project-image--accelerator {
  --accent: #e7ecf8;
  --accent-2: #7e4047;
  --symbol: "Pilot";
}

.project-image--accessibility {
  --accent: #edf1ea;
  --accent-2: #081846;
  --symbol: "Access";
}

.project-image--hybrid {
  --accent: #e5edf2;
  --accent-2: #7e4047;
  --symbol: "Hybrid";
}

.project-image--support {
  --accent: #eee8df;
  --accent-2: #515a4e;
  --symbol: "Support";
}

.project-image--research {
  --accent: #dae8f6;
  --accent-2: #081846;
  --symbol: "Research";
}

.project-image--interview {
  --accent: #e9edf6;
  --accent-2: #7e4047;
  --symbol: "Interview";
}

.project-image--finance {
  --accent: #f1e7cf;
  --accent-2: #081846;
  --symbol: "Finance";
}

.project-image--procurement {
  --accent: #dde4e1;
  --accent-2: #7e4047;
  --symbol: "Build?";
}

.project-image--analytics {
  --accent: #dfeaf3;
  --accent-2: #515a4e;
  --symbol: "Analytics";
}

.project-card__body {
  display: block;
  padding: 0.9rem 0.15rem 0.7rem;
}

.project-card strong {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 780;
  line-height: 1.14;
}

.project-card__body span {
  color: var(--muted);
  display: block;
  font-size: 0.97rem;
  line-height: 1.42;
  margin-top: 0.45rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-tag {
  background: var(--nordic-blue);
  border: 1px solid rgba(8, 24, 70, 0.32);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  padding: 0.4rem 0.55rem;
}

.project-tag[title*="not yet"] {
  background: #f2f6fa;
}

.project-tag[title*="5 to 20"] {
  background: #e4eef7;
}

.project-tag[title*="20 to 100"] {
  background: #c6dbef;
}

.project-tag[title*="100 to 500"] {
  background: #96badf;
}

.project-tag[title*="200 to 1,000"] {
  background: #7ea8d2;
}

.project-tag[title*="400 to 1,000"] {
  background: #719dcc;
}

.project-tag[title*="over 400"] {
  background: #719dcc;
}

.project-tag[title*="500 to 1,000"] {
  background: #6896c5;
}

.project-tag[title*="1,000 to 2,000"] {
  background: #3f6fa9;
  color: white;
}

.project-tag[title*="over 2,000"] {
  background: #1d4d86;
  color: white;
}

.project-tag[title="Domain: Teaching"] {
  background: #fff4d6;
}

.project-tag[title="Domain: Research"] {
  background: #dcefe8;
  border-color: rgba(81, 90, 78, 0.42);
  color: #234338;
}

.project-tag[title="Domain: Enterprise"] {
  background: #f2e0e2;
  border-color: rgba(126, 64, 71, 0.4);
  color: #642f36;
}

.project-dialog {
  background: #fffdf8;
  border: 2px solid var(--navy);
  border-radius: 10px;
  box-shadow: 10px 10px 0 rgba(126, 64, 71, 0.86);
  color: var(--navy);
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  max-width: min(920px, calc(100vw - 2rem));
  padding: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
}

.project-dialog[open] {
  display: grid;
}

.project-dialog::backdrop {
  background: rgba(8, 24, 70, 0.52);
  backdrop-filter: blur(3px);
}

.project-dialog__close {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.5rem;
  box-shadow: 0 0 0 4px #fffdf8;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 44px;
  z-index: 2;
}

.project-dialog__image {
  min-height: 320px;
}

.project-dialog__image.project-image--photo {
  background-color: #102b2f;
  background-position: center;
  background-size: contain;
}

.project-dialog__content {
  align-self: center;
  padding-right: 1.6rem;
}

.project-dialog h2 {
  font-size: 2rem;
}

.project-dialog__short {
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.42;
  margin: 0.8rem 0 0;
}

.project-dialog__details {
  color: #26343f;
  font-size: 1rem;
  line-height: 1.62;
  margin: 1rem 0 1.2rem;
}

.slide-in {
  animation: slideIn 620ms ease both;
}

.slide-in--late {
  animation-delay: 140ms;
}

@keyframes slideIn {
  from {
    opacity: 1;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardSlideIn {
  from {
    opacity: 1;
    transform: rotate(1deg) translateX(34px);
  }

  to {
    opacity: 1;
    transform: rotate(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-in,
  .slide-in--late {
    animation: none;
  }

  .skew-button,
  .route-strip,
  .route-strip:nth-child(even),
  .editorial-quick a,
  .editorial-quick a:nth-child(even),
  .project-card,
  .project-card:nth-child(3n + 2),
  .project-card:nth-child(3n) {
    transform: none;
  }
}

/* Shared four-tab page structure */

.editorial-area-tabs {
  background: #fffdf8;
  display: grid;
  gap: clamp(0.75rem, 1.4vw, 1rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding:
    1.15rem
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    1.25rem;
}

.editorial-area-tabs > button {
  appearance: none;
  background: #eee9e1;
  border: 2px solid var(--navy);
  border-bottom-width: 6px;
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.8);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  min-height: 132px;
  overflow: hidden;
  padding: 1.35rem clamp(1rem, 2vw, 1.55rem) 1.2rem;
  text-align: left;
  transform: rotate(-0.25deg);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.editorial-area-tabs > button:nth-child(2) {
  background: #f4d979;
  transform: rotate(0.25deg);
}

.editorial-area-tabs > button:nth-child(3) {
  background: var(--nordic-blue);
}

.editorial-area-tabs > button:nth-child(4) {
  background: var(--navy);
  color: white;
  transform: rotate(0.25deg);
}

.editorial-area-tabs > button:hover,
.editorial-area-tabs > button:focus-visible {
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.82);
  outline: none;
  transform: translate(-2px, -2px);
}

.editorial-area-tabs > button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}

.editorial-area-tabs > button[aria-selected="true"] {
  border-bottom-color: var(--red);
  box-shadow: 7px 7px 0 rgba(126, 64, 71, 0.84);
  transform: translateY(-4px);
}

.editorial-area-tabs > button[aria-selected="true"]:hover,
.editorial-area-tabs > button[aria-selected="true"]:focus-visible {
  transform: translate(-2px, -6px);
}

.editorial-area-tabs span,
.editorial-area-tabs strong {
  display: block;
}

.editorial-area-tabs span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.2;
  margin-bottom: 0.72rem;
  text-transform: uppercase;
}

.editorial-area-tabs > button:nth-child(4) span {
  color: #f4d979;
}

.editorial-area-tabs strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.25;
}

/* Match Academic's hero alignment to Professional */

.academic-page--compact .academic-hero {
  display: block;
  padding:
    7.75rem
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    2.65rem;
}

.academic-page--compact .academic-hero__copy {
  max-width: 900px;
}

.academic-zone[hidden] {
  display: none;
}

/* Digital tab panels */

.digital-hero__lede {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem) !important;
  line-height: 1.55 !important;
  max-width: 820px !important;
}

.digital-story {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.95)),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(157, 175, 239, 0.13) 31px 32px);
  margin: 0;
  padding:
    clamp(2.35rem, 4.5vw, 3.6rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    clamp(2.8rem, 5vw, 4rem);
}

.digital-story[hidden],
.digital-tab-panel[hidden] {
  display: none;
}

.digital-copy-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.8);
  margin: 0 auto;
  max-width: var(--editorial-max);
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
}

.digital-copy-panel h2 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  margin: 0;
}

.digital-copy-panel .digital-story__content {
  border-top: 1px solid rgba(8, 24, 70, 0.18);
  margin-top: 0.9rem;
  padding: 0.2rem 0 0;
}

.digital-copy-panel p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0.85rem 0 0;
  max-width: 940px;
}

.digital-projects {
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
  padding-top: clamp(2rem, 3.5vw, 2.8rem);
}

/* Remove the Home hero's extra left indent */

.editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  padding:
    6.6rem
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    3rem;
}

.editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-hero__copy {
  grid-column: 1;
}

.editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-person {
  grid-column: 2;
}

/* Contact page */

.contact-page {
  background: #fffdf8;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.99) 0%, rgba(247, 246, 241, 0.96) 66%, rgba(247, 246, 241, 0.66) 100%),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.48) 10px 14px, #ffffff 14px 24px);
  padding:
    7.75rem
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    2.65rem;
}

.contact-hero__copy {
  max-width: 900px;
}

.contact-hero h1,
.contact-card h2,
.contact-profiles h2 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0;
}

.contact-hero h1 {
  font-size: clamp(2.35rem, 3.95vw, 3.85rem);
  line-height: 1.05;
}

.contact-hero h1::after {
  background: rgba(243, 201, 80, 0.52);
  content: "";
  display: block;
  height: 0.16em;
  margin-top: -0.06em;
  transform: rotate(-0.7deg);
  transform-origin: left center;
  width: min(360px, 62%);
}

.contact-hero p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.55;
  margin: 1.25rem 0 0;
  max-width: 800px;
}

.contact-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  padding:
    clamp(2rem, 4vw, 3.2rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.contact-card {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.8);
  padding: clamp(1.2rem, 2.2vw, 1.65rem);
}

.contact-card__label {
  color: var(--red);
  display: block;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.contact-card h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.1;
}

.contact-card p,
.contact-card address {
  color: var(--muted);
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.52;
  margin: 1rem 0 0;
}

.contact-email {
  color: var(--navy);
  display: inline-block;
  font-size: clamp(0.96rem, 1.5vw, 1.14rem);
  font-weight: 800;
  margin-top: 1rem;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(126, 64, 71, 0.7);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

.contact-card--location {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(210px, 0.62fr) minmax(0, 1.38fr);
}

.contact-map {
  border: 1px solid rgba(8, 24, 70, 0.28);
  border-radius: 6px;
  min-height: 330px;
  width: 100%;
}

.contact-map-links {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.contact-map-links a,
.contact-link-grid a {
  color: var(--navy);
  font-weight: 760;
  text-decoration-color: rgba(126, 64, 71, 0.62);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.26rem;
}

.contact-map-links a {
  font-size: 0.82rem;
}

.contact-profiles {
  background: var(--nordic-blue);
  padding:
    clamp(2rem, 4vw, 3.2rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2))
    clamp(2.8rem, 5vw, 4rem);
}

.contact-profiles__head {
  align-items: end;
  display: flex;
  gap: 1.2rem 2rem;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.contact-profiles h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.contact-profiles__head p {
  color: var(--muted);
  margin: 0;
}

.contact-link-grid {
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-link-grid a {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(126, 64, 71, 0.75);
  display: block;
  min-height: 112px;
  padding: 1rem;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-link-grid a:hover,
.contact-link-grid a:focus-visible {
  background: #f8fbff;
  box-shadow: 7px 7px 0 rgba(126, 64, 71, 0.8);
  outline: none;
  transform: translate(-2px, -2px);
}

.contact-link-grid strong,
.contact-link-grid span {
  display: block;
}

.contact-link-grid strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
}

.contact-link-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 0.4rem;
}

@media (max-width: 980px) {
  .editorial-area-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-hero {
    grid-template-columns: 1fr;
  }

  .editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-hero__copy,
  .editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-person {
    grid-column: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .academic-page--compact .academic-hero,
  .contact-hero {
    padding-top: 9.5rem;
  }

  .editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-hero {
    padding-top: 9.5rem;
  }

  .editorial-area-tabs {
    grid-template-columns: 1fr;
  }

  .editorial-area-tabs > button,
  .editorial-area-tabs > button:nth-child(2),
  .editorial-area-tabs > button:nth-child(4),
  .editorial-area-tabs > button[aria-selected="true"] {
    min-height: 0;
    transform: none;
  }

  .contact-card--location,
  .contact-link-grid {
    grid-template-columns: 1fr;
  }

  .contact-profiles__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-area-tabs > button,
  .contact-link-grid a {
    transition: none;
  }

  .editorial-area-tabs > button,
  .editorial-area-tabs > button:hover,
  .editorial-area-tabs > button:focus-visible,
  .editorial-area-tabs > button[aria-selected="true"],
  .editorial-area-tabs > button[aria-selected="true"]:hover,
  .editorial-area-tabs > button[aria-selected="true"]:focus-visible,
  .contact-link-grid a:hover,
  .contact-link-grid a:focus-visible {
    transform: none;
  }
}

@media (max-width: 980px) {
  .proof-strip,
  .audience-bar,
  .topic-grid,
  .diagnosis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-grid,
  .work-row,
  .concept-grid {
    grid-template-columns: 1fr;
  }

  .route-card--wide {
    grid-column: auto;
  }

  .split-section,
  .credibility,
  .currently,
  .about-snippet,
  .thread-intro,
  .thread-proof,
  .desk-hero,
  .desk-now,
  .desk-work,
  .desk-writing,
  .editorial-hero,
  .editorial-about,
  .editorial-routes,
  .editorial-latest,
  .editorial-media,
  .digital-hero {
    grid-template-columns: 1fr;
  }

  .editorial-hero__copy,
  .editorial-person,
  .editorial-about__label,
  .editorial-about__copy,
  .editorial-routes__head,
  .route-stack,
  .editorial-latest > div:first-child,
  .latest-list,
  .editorial-media img,
  .editorial-media > div,
  .digital-hero__copy {
    grid-column: 1;
  }

  .digital-hero {
    padding-inline: max(1rem, calc((100vw - var(--editorial-max)) / 2));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thread-map {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .thread-map__rail {
    grid-column: 1;
    grid-row: 1 / span 7;
  }

  .thread-map__head,
  .thread-item,
  .thread-item:nth-of-type(odd) {
    grid-column: 2;
    max-width: none;
  }

  .note-weave {
    grid-template-columns: 1fr;
  }

  .note-weave a:nth-child(2) {
    transform: none;
  }

  .portfolio-card,
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .topbar .site-nav,
  .thread-topbar .site-nav,
  .desk-topbar .site-nav,
  .editorial-topbar .site-nav {
    width: 100%;
  }

  .concept-index .topbar .site-nav {
    flex-wrap: wrap;
    white-space: normal;
  }

  .thread-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .desk-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .editorial-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .editorial-topbar .site-nav {
    gap: 0.8rem;
  }

  .editorial-topbar .site-nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 760px;
    padding-top: 8.5rem;
  }

  .thread-hero {
    background:
      linear-gradient(180deg, rgba(247, 248, 248, 0.92) 0%, rgba(247, 248, 248, 0.8) 45%, rgba(247, 248, 248, 0.98) 100%),
      url("img/hytte2.webp");
    background-position: 54% center;
    background-size: cover;
    min-height: 780px;
    padding-top: 9.5rem;
  }

  .thread-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .desk-hero {
    background:
      linear-gradient(180deg, rgba(251, 251, 248, 0.94) 0%, rgba(251, 251, 248, 0.78) 42%, rgba(251, 251, 248, 0.98) 100%),
      url("img/hytte2.webp");
    background-position: 55% center;
    background-size: cover;
    min-height: 780px;
    padding-top: 9.5rem;
  }

  .desk-hero::after {
    inset: 0 0 auto 0;
    height: 155px;
    width: 100%;
  }

  .desk-hero h1 {
    font-size: clamp(4.1rem, 22vw, 6.4rem);
  }

  .editorial-hero {
    background:
      linear-gradient(180deg, rgba(247, 246, 241, 0.96) 0%, rgba(247, 246, 241, 0.96) 58%, rgba(247, 246, 241, 0.82) 100%),
      repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.52) 10px 14px, #ffffff 14px 24px);
    min-height: 660px;
    padding-top: 9.5rem;
  }

  .editorial-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }

  .editorial-hero h2 {
    font-size: clamp(1.65rem, 8vw, 2.5rem);
  }

  .editorial-person {
    grid-template-columns: 72px minmax(0, 1fr);
    justify-self: start;
    margin-inline: 1rem;
    transform: none;
    width: calc(100% - 2rem);
  }

  .editorial-person img {
    width: 72px;
  }

  .editorial-theme .skew-button,
  .editorial-theme .route-strip,
  .editorial-theme .route-strip:nth-child(even),
  .editorial-theme .editorial-quick a,
  .editorial-theme .editorial-quick a:nth-child(even),
  .project-card,
  .project-card:nth-child(3n + 2),
  .project-card:nth-child(3n) {
    transform: none;
  }

  .hero::before,
  .hero--advisory::before,
  .hero--portfolio::before {
    background:
      linear-gradient(180deg, rgba(5, 16, 47, 0.92) 0%, rgba(5, 16, 47, 0.74) 62%, rgba(5, 16, 47, 0.94) 100%);
  }

  .hero--advisory h1,
  .hero--advisory .hero__lede {
    color: white;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .proof-strip,
  .audience-bar,
  .topic-grid,
  .diagnosis-grid,
  .currently__items {
    grid-template-columns: 1fr;
  }

  .thread-map {
    grid-template-columns: 1fr;
  }

  .thread-map__rail {
    display: none;
  }

  .thread-map__head,
  .thread-item,
  .thread-item:nth-of-type(odd) {
    grid-column: 1;
  }

  .thread-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .desk-ledger article {
    grid-template-columns: 1fr;
  }

  .contact-band,
  .thread-contact,
  .desk-contact,
  .editorial-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-pinstripe,
  .editorial-quick,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .digital-hero {
    padding-top: 9.5rem;
  }

  .digital-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
  }

  .digital-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }

  .project-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .project-tab {
    width: 100%;
  }

  .project-card {
    min-height: 0;
  }

  .project-dialog[open] {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-dialog__image {
    min-height: 220px;
  }

  .project-dialog__content {
    padding-right: 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: auto;
  }

  .notes-list a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .academic-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-inline: max(1rem, calc((100vw - var(--editorial-max)) / 2));
  }

  .academic-hero__copy,
  .academic-hero__note {
    grid-column: 1;
  }

  .academic-hero__note {
    justify-self: start;
    margin: 0 0 0.7rem;
    max-width: 520px;
  }

  .academic-proof,
  .teaching-recognition,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-proof > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .academic-proof > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .teaching-recognition > div:nth-child(2) {
    border-right: 0;
  }

  .teaching-recognition > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
}

@media (max-width: 680px) {
  .academic-hero {
    background:
      linear-gradient(180deg, rgba(247, 246, 241, 0.97) 0%, rgba(247, 246, 241, 0.93) 68%, rgba(247, 246, 241, 0.74) 100%),
      repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.48) 10px 14px, #ffffff 14px 24px);
    padding-top: 10.25rem;
  }

  .academic-hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
  }

  .academic-hero__note {
    box-shadow: 7px 7px 0 rgba(126, 64, 71, 0.82);
    transform: none;
  }

  .academic-proof,
  .research-projects,
  .teaching-columns,
  .teaching-recognition,
  .talk-columns,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .academic-proof > div,
  .academic-proof > div:nth-child(3),
  .academic-proof > div:nth-child(4),
  .academic-proof > div:last-child {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    min-height: 0;
  }

  .academic-proof > div:first-child {
    border-top: 0;
  }

  .academic-jump {
    gap: 0.45rem 0.85rem;
  }

  .academic-jump span {
    flex-basis: 100%;
  }

  .academic-section {
    padding-block: 3.8rem;
  }

  .academic-section__head h2 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .research-programme {
    gap: 0.9rem;
    grid-template-columns: 1fr;
  }

  .research-programme__number {
    font-size: 2.25rem;
  }

  .academic-subhead {
    align-items: start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .research-project {
    min-height: 0;
  }

  .publication-list li {
    gap: 0.45rem;
    grid-template-columns: 1fr;
  }

  .teaching-recognition > div,
  .teaching-recognition > div:nth-child(2),
  .teaching-recognition > div:nth-child(n + 3) {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .teaching-recognition > div:first-child {
    border-top: 0;
  }

  .leadership-ledger article {
    gap: 0.55rem;
    grid-template-columns: 1fr;
  }
}

/* Compact academic page: four clearly delineated areas */
.academic-page--compact .academic-hero {
  align-items: center;
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, var(--editorial-max))
    minmax(var(--editorial-pad), 1fr);
  min-height: 0;
  padding: 7.8rem 0 3.5rem;
}

.academic-page--compact .academic-hero__copy {
  grid-column: 2;
  max-width: 950px;
}

.academic-page--compact .academic-hero h1 {
  font-size: clamp(2.65rem, 4.7vw, 4.55rem);
}

.academic-page--compact .academic-hero__lede {
  max-width: 800px;
}

.academic-area-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.academic-area-menu a {
  border-left: 1px solid rgba(8, 24, 70, 0.18);
  min-height: 150px;
  padding: 1.35rem clamp(1rem, 2.2vw, 1.7rem);
  text-decoration: none;
  transition: color 160ms ease, filter 160ms ease;
}

.academic-area-menu a:nth-child(1) {
  background: #eee9e1;
}

.academic-area-menu a:nth-child(2) {
  background: #f4d979;
}

.academic-area-menu a:nth-child(3) {
  background: var(--nordic-blue);
}

.academic-area-menu a:nth-child(4) {
  background: var(--navy);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.academic-area-menu a:hover,
.academic-area-menu a:focus-visible {
  color: var(--red);
  filter: brightness(0.97);
}

.academic-area-menu a:nth-child(4):hover,
.academic-area-menu a:nth-child(4):focus-visible {
  color: #f4d979;
}

.academic-area-menu span,
.academic-area-menu strong {
  display: block;
}

.academic-area-menu span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.academic-area-menu a:nth-child(4) span {
  color: #f4d979;
}

.academic-area-menu strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.28;
  margin-top: 0.75rem;
  max-width: 220px;
}

.academic-page--compact .academic-section {
  padding-bottom: clamp(2.8rem, 4.6vw, 4.2rem);
  padding-top: clamp(2.1rem, 3.4vw, 3rem);
}

.academic-zone__head {
  display: block;
  max-width: 940px;
}

.academic-zone__head .academic-zone__intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.58;
  margin: 0.55rem 0 0;
  max-width: 900px;
}

.academic-zone__head h2.academic-kicker {
  color: var(--red);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.academic-zone--research {
  background: #fffdf8;
  border-top: 8px solid var(--red);
}

.academic-zone--education {
  background: #f8efc9;
  border-top: 8px solid #d3ad38;
}

.academic-zone--leadership {
  background: var(--nordic-blue);
  border-top: 8px solid var(--navy);
}

.academic-zone--output {
  background: var(--navy);
  border-top: 8px solid #f4d979;
  color: white;
}

.research-areas {
  border-bottom: 1px solid rgba(8, 24, 70, 0.2);
  margin-top: 1.4rem;
}

.research-area {
  border-top: 1px solid rgba(8, 24, 70, 0.2);
}

.research-area summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 0.45rem clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr) 28px;
  list-style: none;
  min-height: 102px;
  padding: 1.25rem 0;
}

.research-area summary::-webkit-details-marker,
.role-list__more summary::-webkit-details-marker {
  display: none;
}

.research-area summary::after,
.role-list__more summary::after {
  color: var(--red);
  content: "+";
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.8rem;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  line-height: 1;
}

.research-area[open] summary::after,
.role-list__more[open] summary::after {
  content: "−";
}

.research-area__title {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 760;
  grid-column: 1;
  grid-row: 1;
  line-height: 1.15;
}

.research-area__summary {
  color: var(--muted);
  grid-column: 2;
  grid-row: 1;
  line-height: 1.45;
}

.research-area__content {
  background: #eee9e1;
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 1.5rem;
}

.research-area--blue .research-area__content {
  background: #e7eff5;
}

.compact-label {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.compact-project-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-project-list--single {
  grid-template-columns: minmax(0, 1fr);
}

.compact-project-list article {
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid rgba(126, 64, 71, 0.72);
  padding: 1rem 1.15rem;
}

.compact-project-list h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
  margin: 0;
}

.compact-project-list p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.45rem 0 0;
}

.education-summary {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.education-summary article {
  background: rgba(255, 255, 255, 0.55);
  border-top: 4px solid var(--red);
  padding: 1.45rem clamp(1.2rem, 2.5vw, 2rem);
}

.education-summary article:nth-child(2) {
  border-top-color: var(--navy);
}

.education-summary h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.35rem;
  margin: 0;
}

.education-summary p {
  color: #434958;
  margin: 0.55rem 0 0;
}

.education-summary .compact-meta {
  border-top: 1px solid rgba(8, 24, 70, 0.16);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 1rem;
  padding-top: 0.8rem;
}

.academic-recognition {
  border-left: 4px solid var(--red);
  color: #4c4d52;
  font-size: 0.9rem;
  margin: 1rem 0 0;
  padding: 0.55rem 0 0.55rem 1rem;
}

.role-list {
  border-bottom: 1px solid rgba(8, 24, 70, 0.22);
  margin-top: 1.35rem;
}

.role-list > article,
.role-list__more {
  border-top: 1px solid rgba(8, 24, 70, 0.22);
}

.role-list > article {
  display: grid;
  gap: clamp(1.3rem, 4vw, 4rem);
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  padding: 1.15rem 0;
}

.role-list h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.17rem;
  line-height: 1.2;
  margin: 0;
}

.role-list p {
  color: #465269;
  font-size: 0.91rem;
  line-height: 1.48;
  margin: 0;
}

.role-list .role-list__meta {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  margin-top: 0.3rem;
}

.role-list__more summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 0.25rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  list-style: none;
  padding: 1rem 0;
}

.role-list__more summary::after {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.role-list__more summary span {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 760;
}

.role-list__more summary small {
  color: var(--muted);
}

.role-list__more > div {
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.35fr 0.65fr;
  padding: 1.1rem 1.25rem 1.3rem;
}

.academic-service-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 1rem 0 0;
}

.academic-zone--output .academic-kicker {
  color: #f4d979;
}

.academic-zone--output .academic-zone__head .academic-zone__intro {
  color: white;
  opacity: 0.75;
}

.output-controls {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin-top: 1.35rem;
  padding-bottom: 0.8rem;
}

.output-tabs,
.output-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.output-tabs button,
.output-filters button {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
}

.output-tabs button {
  background: transparent;
  border-radius: 3px;
  font-size: 0.94rem;
  min-height: 40px;
  padding-inline: 1.15rem;
}

.output-tabs button[aria-selected="true"] {
  background: #f4d979;
  border-color: #f4d979;
  color: var(--navy);
}

.output-filters {
  align-items: center;
}

.output-filters span {
  font-size: 0.74rem;
  font-weight: 750;
  margin-right: 0.25rem;
  opacity: 0.68;
}

.output-filters button {
  background: transparent;
  border-radius: 999px;
}

.output-filters button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.94);
  border-color: white;
  color: var(--navy);
}

.output-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.output-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 176px minmax(0, 1fr);
  padding: 0.68rem 0;
}

.output-list li[hidden] {
  display: none;
}

.output-type {
  color: #f4d979;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  padding-top: 0.15rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.output-list p {
  font-size: 0.86rem;
  line-height: 1.42;
  margin: 0;
}

.output-list cite {
  color: #dfeaf3;
}

.output-list a {
  color: inherit;
  text-decoration-color: rgba(244, 217, 121, 0.75);
  text-underline-offset: 0.2rem;
}

.output-list a:hover,
.output-list a:focus-visible {
  color: #f4d979;
}

.output-more {
  margin-top: 1.15rem;
}

@media (max-width: 980px) {
  .academic-page--compact .academic-hero {
    grid-template-columns: 1fr;
    padding-inline: max(1rem, calc((100vw - var(--editorial-max)) / 2));
  }

  .academic-page--compact .academic-hero__copy {
    grid-column: 1;
  }

  .academic-area-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academic-area-menu a {
    min-height: 120px;
  }

  .academic-zone__head {
    grid-template-columns: 1fr;
  }

  .academic-zone__head > p:last-child:not(.academic-kicker) {
    grid-column: 1;
    grid-row: auto;
    max-width: 760px;
  }

  .research-area summary {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr) 28px;
  }

  .compact-project-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .academic-page--compact .academic-hero {
    padding-top: 9.7rem;
  }

  .academic-area-menu,
  .education-summary {
    grid-template-columns: 1fr;
  }

  .academic-area-menu a {
    min-height: 0;
  }

  .academic-page--compact .academic-section {
    padding-bottom: 2.7rem;
    padding-top: 1.9rem;
  }

  .research-area summary {
    gap: 0.4rem 1rem;
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .research-area__title {
    grid-column: 1;
    grid-row: 1;
  }

  .research-area__summary {
    font-size: 0.9rem;
    grid-column: 1;
    grid-row: 2;
  }

  .research-area summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .role-list > article,
  .role-list__more > div {
    gap: 0.45rem;
    grid-template-columns: 1fr;
  }

  .output-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .output-list li {
    gap: 0.25rem;
    grid-template-columns: 1fr;
    padding: 0.9rem 0;
  }
}

/* Shared editorial system across Academic, Professional and Digital/AI */

.digital-hero,
.academic-page--compact .academic-hero,
.professional-hero {
  background:
    linear-gradient(90deg, rgba(247, 246, 241, 0.99) 0%, rgba(247, 246, 241, 0.96) 66%, rgba(247, 246, 241, 0.66) 100%),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(157, 175, 239, 0.48) 10px 14px, #ffffff 14px 24px);
}

.digital-hero {
  gap: 0;
  grid-template-columns:
    minmax(var(--editorial-pad), 1fr)
    minmax(0, var(--editorial-max))
    minmax(var(--editorial-pad), 1fr);
  padding: 7.75rem 0 1.45rem;
}

.digital-hero__copy {
  grid-column: 2;
}

.digital-story {
  max-width: none;
}

.academic-page--compact .academic-hero {
  padding-bottom: 2.65rem;
  padding-top: 7.75rem;
}

.professional-hero {
  padding-bottom: 2.65rem;
  padding-top: 7.75rem;
}

.digital-hero h1,
.academic-page--compact .academic-hero h1,
.professional-hero h1 {
  font-size: clamp(2.35rem, 3.95vw, 3.85rem);
  line-height: 1.05;
  max-width: 860px;
}

.digital-hero h1::after,
.academic-page--compact .academic-hero h1::after,
.professional-hero h1::after {
  background: rgba(243, 201, 80, 0.52);
  content: "";
  display: block;
  height: 0.16em;
  margin-top: -0.06em;
  transform: rotate(-0.7deg);
  transform-origin: left center;
  width: min(560px, 76%);
}

.digital-projects {
  padding-top: 1rem;
}

.academic-area-menu,
.professional-paths {
  background: #fffdf8;
  gap: clamp(0.75rem, 1.4vw, 1rem);
  padding-block: 1.15rem 1.25rem;
}

.academic-area-menu a,
.professional-paths button {
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.8);
  min-height: 132px;
  overflow: hidden;
  transform: rotate(-0.25deg);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.academic-area-menu a:nth-child(even),
.professional-paths button:nth-child(even) {
  transform: rotate(0.25deg);
}

.academic-area-menu a:hover,
.academic-area-menu a:focus-visible,
.professional-paths button:hover,
.professional-paths button:focus-visible {
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.8);
  filter: none;
  transform: translate(-2px, -2px);
}

.professional-paths button {
  border-bottom-width: 6px;
}

.professional-paths button[aria-selected="true"] {
  border-bottom-color: var(--red);
  box-shadow: 7px 7px 0 rgba(126, 64, 71, 0.84);
  transform: translateY(-4px);
}

.professional-paths button[aria-selected="true"]:hover,
.professional-paths button[aria-selected="true"]:focus-visible {
  transform: translate(-2px, -6px);
}

.research-areas {
  border: 0;
  display: grid;
  gap: 0.72rem;
}

.research-area,
.role-list__more {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(126, 64, 71, 0.8);
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.research-area:hover,
.research-area:focus-within,
.role-list__more:hover,
.role-list__more:focus-within {
  box-shadow: 7px 7px 0 rgba(126, 64, 71, 0.8);
  transform: translate(-1px, -1px);
}

.research-area summary {
  min-height: 76px;
  padding: 0.9rem 1rem;
  transition: background 160ms ease, color 160ms ease;
}

.research-area summary::after,
.role-list__more summary::after {
  align-items: center;
  background: var(--nordic-blue);
  border: 1px solid rgba(8, 24, 70, 0.38);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.25rem;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.research-area[open] summary,
.role-list__more[open] summary {
  background: var(--nordic-blue);
}

.research-area[open] summary::after,
.role-list__more[open] summary::after {
  background: white;
  content: "−";
}

.research-area summary:focus-visible,
.role-list__more summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -4px;
}

.research-area__title {
  font-size: clamp(1.12rem, 1.75vw, 1.48rem);
}

.research-area__content {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(8, 24, 70, 0.18);
}

.research-area--blue .research-area__content {
  background: rgba(255, 255, 255, 0.92);
}

.compact-project-list {
  gap: 0.8rem;
}

.compact-project-list article {
  background: white;
  border: 1px solid rgba(8, 24, 70, 0.34);
  border-left: 4px solid var(--red);
  border-radius: 7px;
  box-shadow: 3px 3px 0 rgba(126, 64, 71, 0.56);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.compact-project-list article:hover {
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.64);
  transform: translate(-1px, -1px);
}

.education-summary {
  gap: clamp(0.8rem, 1.5vw, 1rem);
}

.education-summary article {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.78);
  transform: rotate(-0.2deg);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.education-summary article:nth-child(2) {
  border-top-color: var(--navy);
  transform: rotate(0.2deg);
}

.education-summary article:hover {
  background: white;
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.78);
  transform: translate(-2px, -2px);
}

.role-list {
  border: 0;
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-list > article {
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.78);
  display: block;
  min-height: 205px;
  padding: 1.2rem;
  transform: rotate(-0.2deg);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.role-list > article:nth-child(2) {
  transform: rotate(0.25deg);
}

.role-list > article:nth-child(3) {
  transform: rotate(-0.05deg);
}

.role-list > article:hover {
  background: white;
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.78);
  transform: translate(-2px, -2px);
}

.role-list > article > p:last-child {
  margin-top: 0.9rem;
}

.role-list__more {
  grid-column: 1 / -1;
}

.role-list__more summary {
  min-height: 58px;
  padding: 0.72rem 1rem;
  transition: background 160ms ease;
}

.role-list__more > div {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(8, 24, 70, 0.18);
}

.professional-panels {
  padding-top: clamp(2.4rem, 4vw, 3.4rem);
}

.professional-panel__intro h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
}

.professional-records {
  display: grid;
  gap: 0.72rem;
}

.professional-records h3 {
  margin-bottom: 0.05rem;
}

.professional-record {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(126, 64, 71, 0.76);
  padding: 0.9rem 1rem 1rem;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.professional-record:hover {
  background: #f8fbff;
  box-shadow: 7px 7px 0 rgba(126, 64, 71, 0.8);
  transform: translate(-2px, -2px);
}

.professional-record--compact {
  padding: 0.8rem 1rem 0.88rem;
}

@media (max-width: 980px) {
  .digital-hero {
    grid-template-columns: 1fr;
    padding-inline: max(1rem, calc((100vw - var(--editorial-max)) / 2));
  }

  .digital-hero__copy {
    grid-column: 1;
  }

  .academic-area-menu,
  .professional-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-list {
    grid-template-columns: 1fr;
  }

  .role-list > article {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .digital-hero,
  .academic-page--compact .academic-hero,
  .professional-hero {
    padding-top: 9.5rem;
  }

  .digital-hero h1,
  .academic-page--compact .academic-hero h1,
  .professional-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.65rem);
  }

  .academic-area-menu,
  .professional-paths {
    gap: 0.72rem;
    grid-template-columns: 1fr;
    padding-inline: max(1rem, var(--editorial-pad));
  }

  .academic-area-menu a,
  .professional-paths button,
  .academic-area-menu a:nth-child(even),
  .professional-paths button:nth-child(even),
  .professional-paths button[aria-selected="true"] {
    min-height: 0;
    transform: none;
  }

  .research-area summary {
    gap: 0.35rem 0.75rem;
    grid-template-columns: minmax(0, 1fr) 28px;
  }

  .research-area__title {
    grid-column: 1;
    grid-row: 1;
  }

  .research-area__summary {
    grid-column: 1;
    grid-row: 2;
  }

  .research-area summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .education-summary article,
  .education-summary article:nth-child(2),
  .role-list > article,
  .role-list > article:nth-child(2),
  .role-list > article:nth-child(3) {
    transform: none;
  }

  .role-list__more > div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academic-area-menu a,
  .professional-paths button,
  .research-area,
  .role-list__more,
  .compact-project-list article,
  .education-summary article,
  .role-list > article,
  .professional-record {
    transition: none;
  }

  .academic-area-menu a,
  .professional-paths button,
  .research-area:hover,
  .research-area:focus-within,
  .role-list__more:hover,
  .role-list__more:focus-within,
  .compact-project-list article:hover,
  .education-summary article,
  .education-summary article:hover,
  .role-list > article,
  .role-list > article:hover,
  .professional-record:hover {
    transform: none;
  }
}

/* Compact desktop contact page */

@media (min-width: 981px) {
  .contact-hero {
    padding-bottom: 1.35rem;
    padding-top: 5.9rem;
  }

  .contact-hero h1 {
    font-size: clamp(2.35rem, 3.4vw, 3.2rem);
  }

  .contact-hero p {
    font-size: 1.05rem;
    line-height: 1.48;
    margin-top: 0.8rem;
  }

  .contact-grid {
    gap: 1rem;
    padding-bottom: 1.3rem;
    padding-top: 1.3rem;
  }

  .contact-card {
    padding: 1.05rem 1.15rem;
  }

  .contact-card__label {
    margin-bottom: 0.42rem;
  }

  .contact-card h2 {
    font-size: clamp(1.45rem, 2vw, 1.8rem);
  }

  .contact-card p,
  .contact-card address {
    line-height: 1.45;
    margin-top: 0.68rem;
  }

  .contact-email {
    margin-top: 0.65rem;
  }

  .contact-card--location {
    gap: 1rem;
    grid-template-columns: minmax(190px, 0.52fr) minmax(0, 1.48fr);
  }

  .contact-map {
    min-height: 235px;
  }

  .contact-map-links {
    gap: 0.28rem;
    margin-top: 0.72rem;
  }

  .contact-profiles {
    padding-bottom: 1.6rem;
    padding-top: 1.3rem;
  }

  .contact-profiles__head {
    margin-bottom: 0.72rem;
  }

  .contact-profiles h2 {
    font-size: 2rem;
  }

  .contact-link-grid {
    gap: 0.78rem;
  }

  .contact-link-grid a {
    min-height: 88px;
    padding: 0.75rem 0.82rem;
  }

  .contact-link-grid strong {
    font-size: 0.96rem;
  }

  .contact-link-grid span {
    font-size: 0.76rem;
    margin-top: 0.25rem;
  }
}

@media (min-width: 1180px) {
  .contact-link-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Final shared frame for the three tabbed pages */

.academic-page--compact .academic-hero,
.professional-hero,
.digital-hero {
  display: block;
  padding-left: max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
  padding-right: max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.academic-page--compact .academic-hero__copy,
.professional-hero__copy,
.digital-hero__copy {
  grid-column: auto;
  max-width: 900px;
}

.editorial-area-tabs {
  border-bottom: 8px solid var(--red);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -0.15rem;
  padding-bottom: 0.82rem;
  padding-top: 0.68rem;
}

.editorial-area-tabs > button {
  min-height: 112px;
  padding: 0.95rem clamp(0.9rem, 1.7vw, 1.35rem) 0.82rem;
  width: 100%;
}

.academic-zone {
  border-top: 0;
}

.digital-copy-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: clamp(1.8rem, 5vw, 5rem);
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
  padding: 0;
}

.digital-copy-panel .digital-story__content {
  border-top: 0;
  margin-top: 0;
  max-width: 940px;
  padding: 0;
}

.digital-copy-panel .digital-story__content p:first-child {
  margin-top: 0;
}

.digital-copy-subsection {
  border-top: 1px solid rgba(8, 24, 70, 0.2);
  margin-top: 1.35rem;
  padding-top: 1.25rem;
}

.digital-copy-subsection h3 {
  color: var(--navy);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.digital-copy-subsection p:first-of-type {
  margin-top: 0;
}

.digital-background-feature {
  align-items: start;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
}

.digital-book-cover {
  background: #f4d979;
  border: 2px solid var(--navy);
  box-shadow: 5px 5px 0 rgba(126, 64, 71, 0.8);
  margin: 0;
  padding: 0.48rem;
  transform: rotate(0.8deg);
}

.digital-book-cover img {
  display: block;
  height: auto;
  width: 100%;
}

.project-filter-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: fit-content;
}

.project-filter-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  margin-right: 0.1rem;
  text-transform: uppercase;
}

.project-filter {
  background: white;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 780;
  min-height: 42px;
  overflow: hidden;
  padding: 0.52rem 1rem;
  position: relative;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.project-filter[aria-pressed="false"]::after {
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72);
  content: "";
  height: 3px;
  left: 7%;
  pointer-events: none;
  position: absolute;
  top: calc(50% - 1px);
  transform: rotate(13deg);
  width: 86%;
}

.project-filter:hover {
  background: var(--nordic-blue);
  transform: translateY(-1px);
}

.project-filter[aria-pressed="true"] {
  background: var(--navy);
  box-shadow: 3px 3px 0 rgba(243, 201, 80, 0.88);
  color: white;
}

.project-filter:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.project-filter-status {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.32rem 0 0;
}

@media (min-width: 981px) {
  .academic-page--compact .academic-hero,
  .professional-hero,
  .digital-hero,
  .editorial-theme:not(.academic-page):not(.professional-page):not(.digital-page):not(.contact-page) .editorial-hero {
    padding-top: 5.9rem;
  }

  .academic-page--compact .academic-hero,
  .professional-hero,
  .digital-hero {
    padding-bottom: 1.45rem;
  }
}

@media (max-width: 980px) {
  .editorial-area-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .digital-copy-panel {
    gap: 0.65rem;
    grid-template-columns: 1fr;
  }

  .digital-background-feature {
    grid-template-columns: 1fr;
  }

  .digital-book-cover {
    width: min(210px, 72vw);
  }
}

@media (max-width: 680px) {
  .academic-page--compact .academic-hero,
  .professional-hero,
  .digital-hero {
    padding-top: 9.5rem;
  }

  .editorial-area-tabs {
    grid-template-columns: 1fr;
  }

  .editorial-area-tabs > button {
    min-height: 0;
    padding-block: 0.82rem 0.72rem;
  }
}

/* Compact hero link notes and shallower area tabs */

.academic-page--compact .academic-hero,
.professional-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
}

.academic-page--compact .academic-hero__copy,
.professional-hero__copy {
  max-width: 900px;
}

.hero-postit {
  align-self: center;
  border: 2px solid var(--navy);
  border-radius: 5px;
  box-shadow: 8px 8px 0 rgba(126, 64, 71, 0.8);
  justify-self: end;
  padding: 0.95rem 1.05rem 1rem;
  width: min(100%, 310px);
}

.hero-postit--academic {
  background: #f4d979;
  transform: rotate(-1deg);
}

.hero-postit--professional {
  background: #dbe8f2;
  transform: rotate(1deg);
}

.hero-postit__label {
  color: var(--red);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  margin-bottom: 0.62rem;
  text-transform: uppercase;
}

.hero-postit__links {
  display: grid;
  gap: 0.5rem;
}

.hero-postit__links--grid {
  column-gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0.52rem;
}

.hero-postit a {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.25;
  text-decoration-color: rgba(126, 64, 71, 0.68);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24rem;
}

.hero-postit a::after {
  color: var(--red);
  content: " ↗";
}

.hero-postit a[download]::after {
  content: " ↓";
}

.hero-postit a:hover,
.hero-postit a:focus-visible {
  color: var(--red);
}

.editorial-area-tabs {
  margin-top: -0.25rem;
  padding-bottom: 0.62rem;
  padding-top: 0.48rem;
}

.editorial-area-tabs > button {
  min-height: 88px;
  padding: 0.68rem clamp(0.75rem, 1.35vw, 1.05rem) 0.62rem;
}

.editorial-area-tabs > button span {
  font-size: 0.68rem;
  letter-spacing: 0.065em;
  margin-bottom: 0.32rem;
}

.editorial-area-tabs > button strong {
  font-size: clamp(0.72rem, 0.85vw, 0.86rem);
  line-height: 1.12;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .academic-page--compact .academic-hero,
  .professional-hero {
    gap: 1.2rem;
    grid-template-columns: 1fr;
  }

  .hero-postit {
    justify-self: start;
    width: min(100%, 420px);
  }

  .editorial-area-tabs > button strong {
    font-size: 0.84rem;
  }
}

@media (max-width: 680px) {
  .hero-postit {
    transform: none;
    width: 100%;
  }

  .editorial-area-tabs > button {
    padding-block: 0.68rem 0.62rem;
  }

  .editorial-area-tabs > button strong {
    font-size: 0.86rem;
  }
}

/*
 * Crisp type on angled surfaces.
 * Only the decorative surface rotates. Live text and imagery never receive a
 * transform, and the surface angles stay deliberately subtle.
 */

.editorial-person,
.skew-button,
.editorial-quick a,
.route-strip,
.project-card,
.education-summary article,
.role-list > article,
.hero-postit {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  isolation: isolate;
  position: relative;
  transform: none;
}

.editorial-person::before,
.skew-button::before,
.editorial-quick a::before,
.route-strip::before,
.project-card::before,
.education-summary article::before,
.role-list > article::before,
.hero-postit::before {
  background: var(--angled-surface, white);
  border: 2px solid var(--angled-border, var(--navy));
  border-radius: inherit;
  box-shadow: var(--angled-shadow, none);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: rotate(var(--angled-rotation, 0deg));
  transform-origin: center;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  z-index: -1;
}

.editorial-person {
  --angled-rotation: 0.35deg;
  --angled-shadow: 9px 9px 0 rgba(126, 64, 71, 0.9);
  --angled-surface: rgba(255, 255, 255, 0.96);
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
  width: 100%;
}

.editorial-theme.is-loaded .editorial-person {
  transform: none;
}

.editorial-person-stage {
  align-self: center;
  grid-column: 2;
  justify-self: end;
  margin-right: 10px;
  width: min(100%, 330px);
}

@media (max-width: 980px) {
  .editorial-person-stage {
    grid-column: 1;
    justify-self: start;
  }
}

.skew-button {
  --angled-rotation: -0.5deg;
  --angled-surface: #f4d979;
}

.skew-button--red {
  --angled-border: var(--red-dark);
  --angled-surface: var(--red);
}

.skew-button:hover {
  box-shadow: none;
  transform: translate(-2px, -2px);
}

.skew-button:hover::before {
  --angled-shadow: 5px 5px 0 var(--navy);
}

.editorial-quick a {
  --angled-rotation: -0.22deg;
  --angled-shadow: 5px 5px 0 rgba(126, 64, 71, 0.82);
  --angled-surface: white;
}

.editorial-quick a:nth-child(even) {
  --angled-rotation: 0.22deg;
}

.editorial-quick a:hover,
.editorial-quick a:nth-child(even):hover {
  transform: translate(-2px, -2px);
}

.editorial-quick a:hover::before {
  --angled-shadow: 8px 8px 0 rgba(126, 64, 71, 0.82);
  --angled-surface: var(--nordic-blue);
}

.route-strip {
  --angled-border: transparent;
  --angled-rotation: -0.25deg;
  --angled-surface: #fffdf8;
}

.route-strip:nth-child(even) {
  --angled-rotation: 0.3deg;
}

.route-strip:hover {
  transform: translate(-2px, -2px);
}

.route-strip:hover::before {
  --angled-shadow: 7px 7px 0 var(--navy);
}

.project-card {
  --angled-rotation: -0.18deg;
  --angled-shadow: 5px 5px 0 rgba(126, 64, 71, 0.82);
  --angled-surface: white;
}

.project-card:nth-child(3n + 2) {
  --angled-rotation: 0.2deg;
}

.project-card:nth-child(3n) {
  --angled-rotation: -0.05deg;
}

.project-card:hover,
.project-card:focus-visible,
.project-card:nth-child(3n + 2):hover,
.project-card:nth-child(3n + 2):focus-visible,
.project-card:nth-child(3n):hover,
.project-card:nth-child(3n):focus-visible {
  background: transparent;
  box-shadow: none;
  transform: translate(-2px, -2px);
}

.project-card:hover::before,
.project-card:focus-visible::before {
  --angled-shadow: 8px 8px 0 rgba(126, 64, 71, 0.82);
  --angled-surface: #f8fbff;
}

.education-summary article,
.role-list > article {
  --angled-rotation: -0.1deg;
  --angled-shadow: 5px 5px 0 rgba(126, 64, 71, 0.78);
  --angled-surface: rgba(255, 255, 255, 0.84);
}

.education-summary article:nth-child(2),
.role-list > article:nth-child(2) {
  --angled-rotation: 0.1deg;
}

.role-list > article:nth-child(3) {
  --angled-rotation: -0.025deg;
}

.education-summary article:hover,
.role-list > article:hover {
  background: transparent;
  box-shadow: none;
  transform: translate(-2px, -2px);
}

.education-summary article:hover::before,
.role-list > article:hover::before {
  --angled-shadow: 8px 8px 0 rgba(126, 64, 71, 0.78);
  --angled-surface: white;
}

.hero-postit {
  --angled-shadow: 8px 8px 0 rgba(126, 64, 71, 0.8);
}

.hero-postit--academic {
  --angled-rotation: -0.35deg;
  --angled-surface: #f4d979;
}

.hero-postit--professional {
  --angled-rotation: 0.35deg;
  --angled-surface: #dbe8f2;
}

.editorial-person > img,
.editorial-person > div,
.skew-button > span,
.editorial-quick a > *,
.route-strip > *,
.project-card > *,
.education-summary article > *,
.role-list > article > *,
.hero-postit > * {
  transform: none;
}

@media (max-width: 680px) {
  .editorial-person-stage {
    grid-column: 1;
    justify-self: start;
    margin-inline: 1rem;
    width: calc(100% - 2rem);
  }

  .editorial-person,
  .editorial-theme.is-loaded .editorial-person,
  .skew-button,
  .editorial-quick a,
  .route-strip,
  .project-card,
  .education-summary article,
  .role-list > article,
  .hero-postit {
    --angled-rotation: 0deg;
    margin: 0;
    transform: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-person,
  .editorial-theme.is-loaded .editorial-person,
  .skew-button:hover,
  .editorial-quick a:hover,
  .route-strip:hover,
  .project-card:hover,
  .project-card:focus-visible,
  .education-summary article:hover,
  .role-list > article:hover {
    transform: none;
  }
}

/* Professional page: client strip and expanded source-led detail */

.professional-clients {
  background: #fffdf8;
  padding: 1.1rem var(--page-edge) 0.7rem;
}

.professional-clients__heading {
  align-items: baseline;
  display: flex;
  gap: 0.45rem 1.2rem;
  margin: 0 auto 0.7rem;
  max-width: var(--editorial-max);
}

.professional-clients__heading h2 {
  color: var(--red);
  flex: 0 0 auto;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  margin: 0;
  text-transform: uppercase;
}

.professional-clients__heading p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

.client-marquee {
  --client-gap: clamp(0.75rem, 1.5vw, 1.15rem);
  border-bottom: 1px solid rgba(8, 24, 70, 0.2);
  border-top: 1px solid rgba(8, 24, 70, 0.2);
  margin: 0 auto;
  max-width: var(--editorial-max);
  overflow: hidden;
  padding-block: 0.65rem;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 14%, black 86%, transparent 100%);
}

.client-marquee::-webkit-scrollbar {
  display: none;
}

.client-marquee__track {
  animation: professional-client-loop 52s linear infinite;
  display: flex;
  gap: 0;
  will-change: transform;
  width: max-content;
}

.client-logo-list {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: var(--client-gap);
  list-style: none;
  margin: 0;
  padding: 0 var(--client-gap) 0 0;
}

.client-logo-list li {
  align-items: center;
  background: white;
  border: 1px solid rgba(8, 24, 70, 0.14);
  border-radius: 6px;
  display: flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  padding: 0.65rem 0.8rem;
  width: clamp(145px, 13vw, 180px);
}

.client-logo-list img {
  display: block;
  height: auto;
  max-height: 50px;
  max-width: 158px;
  object-fit: contain;
  width: auto;
}

.client-logo-list li:nth-child(4) img,
.client-logo-list li:nth-child(7) img {
  max-height: 68px;
  max-width: 176px;
}

.professional-panel__intro > .professional-note {
  background: rgba(255, 255, 255, 0.52);
  border-left: 3px solid var(--red);
  color: var(--navy);
  font-size: 0.92rem;
  margin-top: 1.3rem;
  padding: 0.65rem 0.8rem;
}

.professional-quote {
  border-left: 3px solid rgba(126, 64, 71, 0.72);
  margin: 0.8rem 0 0;
  padding: 0.08rem 0 0.08rem 0.8rem;
}

.professional-record .professional-quote p {
  color: var(--navy);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0;
}

.professional-quote footer {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  margin-top: 0.32rem;
  text-transform: uppercase;
}

@keyframes professional-client-loop {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 680px) {
  .professional-clients {
    padding-inline: max(1rem, var(--editorial-pad));
  }

  .professional-clients__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .client-logo-list li {
    width: 150px;
  }
}

/* Shared launch polish: navigation, accessibility and footer */

.editorial-theme {
  display: flex;
  flex-direction: column;
}

.editorial-theme main {
  flex: 1 0 auto;
  min-height: 0;
}

.editorial-topbar {
  background: #f7f6f1;
  backdrop-filter: none;
}

.skip-link {
  background: var(--navy);
  border: 2px solid white;
  border-radius: 0 0 6px 0;
  color: white;
  font-weight: 800;
  left: 0;
  padding: 0.7rem 0.95rem;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 120ms ease;
  z-index: 100;
}

.skip-link:focus {
  outline: 3px solid #f4d979;
  outline-offset: 2px;
  transform: translateY(0);
}

.editorial-topbar .brand:focus-visible,
.editorial-topbar .site-nav a:focus-visible,
.site-footer a:focus-visible,
.project-dialog__close:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-footer {
  background: #fffdf8;
  border-top: 1px solid rgba(8, 24, 70, 0.22);
  color: var(--navy);
  flex: 0 0 auto;
  padding:
    clamp(1.4rem, 3vw, 2rem)
    max(var(--editorial-pad), calc((100vw - var(--editorial-max)) / 2));
}

.site-footer__inner {
  align-items: center;
  display: flex;
  gap: 1rem 2.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--editorial-max);
}

.site-footer p {
  margin: 0;
}

.site-footer p strong,
.site-footer p span {
  display: block;
}

.site-footer p strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: 1.02rem;
}

.site-footer p span {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.12rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  justify-content: flex-end;
}

.site-footer nav a {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration-color: rgba(126, 64, 71, 0.62);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24rem;
}

.site-footer nav a:hover {
  color: var(--red);
}

.project-card > img.project-image {
  background-image: none;
  height: 116px;
  min-height: 116px;
  object-fit: cover;
  width: 100%;
}

.project-dialog__image {
  align-self: start;
  aspect-ratio: 4 / 3;
  min-height: 0;
  width: 100%;
}

.project-dialog__image.project-image--photo {
  background-color: #e8edf1;
  background-size: contain;
}

@media (max-width: 680px) {
  .editorial-topbar .site-nav {
    gap: 0.1rem 0.45rem;
  }

  .editorial-topbar .site-nav a {
    align-items: center;
    display: inline-flex;
    min-height: 40px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .project-dialog__image {
    min-height: 0;
  }
}

@media (max-width: 350px) {
  .editorial-topbar .site-nav {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }

  .editorial-topbar .site-nav a {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
