:root {
  --navy-950: #1a1945;
  --navy-900: #2e2d56;
  --navy-800: #1f2f64;
  --ocean-700: #07598d;
  --ocean-600: #0876aa;
  --indigo-900: #1a1945;
  --indigo-800: #2e2d56;
  --aqua-400: #50c8ce;
  --ink: #5f5e79;
  --body: #5f5e79;
  --muted: #5f5e79;
  --white: #fff;
  --paper: #f8fbfd;
  --card-blue: #dae3f3;
  --link: #5f5e79;
  --shadow: 0 18px 48px rgb(5 31 65 / 18%);
  --radius-pill: 999px;
  --radius-card: 17px;
  --radius-media: 14px;
  --container: 1300px;
  --font-display: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* Keep decorative hero/publications waves under the open mobile drawer */
body.menu-open .wave {
  visibility: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-container {
  position: relative;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.inner-site-header {
  color: var(--white);
  background: var(--indigo-900);
  box-shadow: 0 8px 28px rgb(4 27 58 / 15%);
}

.inner-header__row {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.inner-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.inner-brand > img,
.logo-placeholder--nav {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.inner-brand > img {
  filter: grayscale(1) brightness(0) invert(1);
}

.logo-placeholder--nav {
  display: block;
  flex-shrink: 0;
  background: linear-gradient(160deg, #8b93a3 0%, #6d7585 100%);
}

.inner-navigation ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inner-navigation a {
  color: var(--white);
  font-size: 0.88rem;
  text-decoration: none;
}

.inner-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

:focus-visible {
  outline: 3px solid #77e1e5;
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.button-light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 4px 9px rgb(0 0 0 / 25%);
}

.button-outline {
  min-width: 180px;
  color: var(--white);
  border-color: rgb(255 255 255 / 90%);
  background: transparent;
}

.button-outline:hover {
  color: var(--navy-950);
  background: var(--white);
}

.button-outline--light {
  color: var(--white);
  border-color: rgb(255 255 255 / 92%);
  background: transparent;
}

.button-solid {
  color: var(--white);
  background: var(--ocean-700);
  border-color: var(--ocean-700);
}

.button-solid:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
}

/* Shared hero shell */
.hero,
.page-hero {
  --hero-image: none;
  --placeholder-gray: #c5cad3;
  --ellipse-fill: #91a4ae;
  position: relative;
  overflow: hidden;
  color: var(--white);
  /* Ocean-ish fallback while hero WebP downloads (avoids grey flash) */
  background-color: #0c5a86;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero.is-placeholder,
.page-hero.is-placeholder,
.publications.is-placeholder {
  background-color: var(--placeholder-gray);
  background-image: linear-gradient(180deg, #b8bfc9 0%, #9aa3b0 55%, #7f8896 100%);
}

.hero {
  min-height: 696px;
}

.page-hero {
  min-height: 696px;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  transition: opacity 480ms ease, transform 700ms ease;
}

/*
 * Figma Ellipse: fill #91A4AE, opacity 70%, blend Overlay, arc ratio 72.35%.
 * Bake Overlay with background-blend-mode (color source over photo), mask to rings.
 * Then opacity 0.7 composites that result over the hero photo — matches Figma math.
 */
.hero-shapes {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ellipse-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#91a4ae, #91a4ae),
    var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto, cover;
  background-blend-mode: overlay, normal;
  opacity: 0.7;
  -webkit-mask-image: var(--ellipse-mask);
  mask-image: var(--ellipse-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.hero.is-placeholder .hero-shapes,
.page-hero.is-placeholder .hero-shapes {
  display: none;
}

/* Soft scrim ABOVE ellipses */
.hero-scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(8 96 147 / 4%) 0%, rgb(4 73 119 / 10%) 50%, rgb(3 40 78 / 36%) 100%);
}

.hero.is-placeholder .hero-scrim,
.page-hero.is-placeholder .hero-scrim {
  display: none;
}

.hero-shell {
  position: relative;
  /* Above .wave (z-index 3) so mobile fullscreen nav isn't covered by the hero wave */
  z-index: 4;
}

.site-header {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 35px;
}

.mobile-brand,
.menu-toggle {
  display: none;
}

.primary-navigation {
  width: 627px;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 11px 15px;
  list-style: none;
}

.primary-navigation a {
  display: flex;
  width: 116px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--navy-900);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.primary-navigation a:hover {
  background: rgb(46 45 86 / 8%);
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  color: var(--white);
  background: var(--navy-900);
}

.primary-navigation .current-menu-item > a:hover,
.primary-navigation .current_page_item > a:hover {
  color: var(--white);
  background: var(--navy-900);
}

.primary-navigation__mobile-bar,
.menu-close {
  display: none;
}

.scswg-page-about .primary-navigation,
.scswg-page-work .primary-navigation,
.scswg-page-contact .primary-navigation {
  border-color: rgb(255 255 255 / 52%);
}

.scswg-page-about .primary-navigation a,
.scswg-page-work .primary-navigation a,
.scswg-page-contact .primary-navigation a {
  color: var(--white);
}

.scswg-page-about .primary-navigation .current-menu-item > a,
.scswg-page-about .primary-navigation .current_page_item > a,
.scswg-page-work .primary-navigation .current-menu-item > a,
.scswg-page-work .primary-navigation .current_page_item > a,
.scswg-page-contact .primary-navigation .current-menu-item > a,
.scswg-page-contact .primary-navigation .current_page_item > a {
  color: var(--navy-900);
  background: var(--white);
}

.hero-content,
.page-hero__content {
  width: min(1300px, 100%);
  margin: 18px auto 0;
  text-align: center;
  text-shadow: 0 3px 18px rgb(2 25 55 / 42%);
}

.page-hero__content {
  padding-bottom: 88px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrap {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: center;
}

.hero-logo,
.hero-logo-wrap .custom-logo,
.logo-placeholder {
  width: 145px;
  height: 145px;
  object-fit: contain;
}

.logo-placeholder {
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #d2d6de 0%, #b4bac6 55%, #9aa1ae 100%);
  box-shadow: 0 8px 22px rgb(0 20 40 / 18%);
}

.logo-placeholder--footer {
  width: 180px;
  height: 180px;
  margin-bottom: 8px;
  background: linear-gradient(160deg, #8b93a3 0%, #6d7585 55%, #555d6c 100%);
}

/* Bundled demo logo (swan + arched text) shown until a custom logo is uploaded */
.demo-logo {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 145px;
  height: 145px;
}

.demo-logo img {
  position: absolute;
  display: block;
}

.demo-logo__arc {
  top: 0;
  left: 0;
  width: 100%;
  height: 39.1%;
}

.demo-logo__swan {
  top: 23.5%;
  left: 11%;
  width: 76.6%;
  height: 76.5%;
}

.demo-logo--footer {
  width: 180px;
  height: 180px;
  margin-bottom: 8px;
}

.demo-logo--nav {
  width: 58px;
  height: 58px;
}

.demo-logo--mobile {
  width: 38px;
  height: 38px;
}

.demo-logo--mobile-nav {
  width: 36px;
  height: 36px;
}

.custom-logo-link {
  display: inline-flex;
}

.organization-name {
  max-width: 300px;
  margin: 6px auto 0;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.06;
  text-align: center;
}

.organization-meta {
  max-width: 1240px;
  margin: 13px auto 0;
  font-size: 15.421px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.3084px;
  opacity: 0.95;
}

.hero h1,
.page-hero__title {
  max-width: 1080px;
  margin: 38px auto 28px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 59px;
  font-weight: 900;
  letter-spacing: -0.59px;
  line-height: 1.37;
}

.page-hero__title {
  margin: 110px auto 0;
  font-size: 100px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
}

.wave {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
}

.wave-hero path,
.wave-publications path {
  fill: var(--white);
}

/* Introduction */
.introduction {
  position: relative;
  z-index: 2;
  background: var(--white);
}

.intro-inner {
  padding-top: 92px;
  padding-bottom: 140px;
}

.introduction h2 {
  max-width: 1180px;
  margin: 0;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 75px;
  font-weight: 900;
  letter-spacing: 0.75px;
  line-height: 1.08;
}

.intro-copy {
  max-width: 1300px;
  margin-top: 46px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.4px;
  text-align: justify;
}

.intro-copy p {
  margin: 0 0 18px;
}

.intro-more {
  margin-top: 8px !important;
}

.intro-more a {
  color: var(--navy-800);
  font-weight: 800;
  text-decoration: none;
}

.intro-more a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Publications */
.publications {
  --publications-image: none;
  --placeholder-gray: #c5cad3;
  position: relative;
  min-height: 820px;
  margin-top: -1px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-color: #1a2740;
  background-image:
    linear-gradient(180deg, rgb(1 36 73 / 35%) 0, rgb(2 40 72 / 55%) 45%, rgb(0 20 48 / 78%) 100%),
    var(--publications-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.publications.is-placeholder {
  background-image: linear-gradient(180deg, #6d7684 0%, #4f5868 50%, #2f3744 100%);
}

.wave-publications {
  top: -1px;
  bottom: auto;
  height: 130px;
}

.publications-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(1 36 73 / 10%) 0, rgb(2 46 82 / 35%) 40%, rgb(0 24 57 / 55%) 100%),
    linear-gradient(90deg, rgb(4 36 76 / 18%), transparent 48%, rgb(5 37 74 / 16%));
  pointer-events: none;
}

.publications-inner {
  padding-top: 132px;
  padding-bottom: 78px;
  text-align: center;
}

.publications h2 {
  margin: 0 0 115px;
  text-align: left;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 75px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.75px;
  text-shadow: -5px 2px 4.8px rgb(0 0 0 / 35%);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(5, 215.747px);
  justify-content: space-between;
  gap: 0;
  align-items: start;
  margin-bottom: 80px;
}

.publication-card {
  width: 215.747px;
  text-align: center;
}

.publication-card__link {
  display: block;
  color: var(--white);
  text-decoration: none;
}

.publication-cover {
  position: relative;
  width: 182.196px;
  aspect-ratio: 182.196 / 257.237;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #c5cad3;
  box-shadow: -5.305px 5.305px 12.644px rgb(0 0 0 / 44%);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.publication-cover.is-placeholder,
.related-paper-card__cover.is-placeholder,
.work-accordion__figure.is-placeholder,
.work-accordion__figure--placeholder {
  background: linear-gradient(160deg, #d2d6de 0%, #b4bac6 55%, #9aa1ae 100%);
}

.publication-cover.is-placeholder::after,
.related-paper-card__cover.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / 18%) 48%, transparent 66%);
}

.publication-card__link:hover .publication-cover {
  transform: translateY(-6px);
  box-shadow: -7px 9px 20px rgb(0 0 0 / 40%);
}

.publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publication-card__meta {
  padding: 0 4px;
}

.publication-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21.221px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.2122px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.publication-card p {
  margin: 0 auto;
  max-width: 11.5em;
  font-family: var(--font-body);
  font-size: 15.916px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.92;
}

.button-outline--muted {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.document-art {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 17px 13px;
  overflow: hidden;
  color: #293a50;
  background: #fff;
  text-align: left;
}

.document-art::before {
  content: "SCS FSWG";
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: rgb(25 38 66 / 60%);
  font-size: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.document-kicker {
  position: relative;
  z-index: 2;
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.document-title {
  position: relative;
  z-index: 2;
  max-width: 90%;
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
}

.document-shape {
  position: absolute;
  right: -22%;
  bottom: 7%;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, transparent 49%, #d7e4e6 50% 55%, transparent 56%), radial-gradient(circle at 55% 50%, #497e9a 0 8%, #dce9e9 8.5% 18%, #efc694 18.5% 27%, #126181 27.5% 40%, #f8f2e2 40.5%);
}

.document-art--1 {
  border-top: 13px solid #b83c35;
}

.document-art--1 .document-shape {
  right: -48%;
  bottom: -13%;
  background: radial-gradient(circle at 38% 45%, #b52f31 0 8%, transparent 8.5%), linear-gradient(45deg, #d9e4e6 0 40%, #aebfc5 40% 42%, #eff3f3 42% 66%, #d04b42 66% 70%, #f4eee5 70%);
}

.document-art--2 .document-shape {
  right: -15%;
  bottom: 15%;
  width: 92%;
  border-radius: 2px;
  background: linear-gradient(135deg, #dbedf0 0 25%, #efb56f 25% 28%, #88b4bc 28% 45%, #f5d89a 45% 48%, #c6e0e6 48% 75%, #5d91a9 75%);
}

.document-art--3 {
  border-top: 13px solid #d14237;
}

.document-art--3 .document-shape {
  right: -22%;
  bottom: -16%;
  background: repeating-linear-gradient(0deg, #9f302e 0 8%, #f2e7df 8% 16%);
}

.document-art--4 {
  color: #fff;
  background: #0f183b;
}

.document-art--4 .document-shape {
  right: -25%;
  bottom: -15%;
  background: radial-gradient(ellipse at 45% 45%, #f5ebc9 0 20%, transparent 20.5%), linear-gradient(45deg, transparent 45%, #d1c69f 46% 49%, transparent 50%), #101a3e;
}

.document-art--5 {
  background: linear-gradient(180deg, #eff6ef, #b9d9d1 55%, #6aafba);
}

.document-art--5 .document-shape {
  right: -8%;
  bottom: 7%;
  width: 100%;
  background: radial-gradient(ellipse at 45% 25%, #1b7287 0 2%, transparent 2.5%), radial-gradient(ellipse at 65% 48%, #266f78 0 2.5%, transparent 3%), radial-gradient(ellipse at 28% 62%, #174f66 0 3%, transparent 3.5%);
}

/* Footer */
.site-footer {
  position: relative;
  min-height: 818px;
  overflow: hidden;
  color: var(--white);
  background: #1a1945;
}

.footer-mark {
  position: absolute;
  top: 17px;
  left: -137px;
  width: 876px;
  height: 876px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.footer-mark.is-placeholder {
  top: 25px;
  bottom: -220px;
  left: -200px;
  width: 760px;
  height: auto;
  opacity: 0.12;
  transform: rotate(-12deg);
  background:
    radial-gradient(circle at 42% 38%, #7a8292 0 34%, transparent 35%),
    radial-gradient(circle at 58% 55%, #6a7282 0 18%, transparent 19%);
}

.footer-inner {
  display: flex;
  min-height: 818px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 44px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.08;
  text-decoration: none;
}

.footer-brand > img,
.footer-brand .footer-logo {
  width: 180px;
  height: 180px;
  margin-bottom: 8px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}

.footer-brand .footer-logo-full {
  width: 308px;
  height: auto;
  margin-bottom: 0;
  object-fit: contain;
  filter: none;
}

.footer-brand span {
  max-width: 430px;
}

.footer-meta {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.45;
}

.social-navigation {
  margin-top: 33px;
}

.social-icons {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.82;
}

.social-icons--contact a {
  color: var(--indigo-800);
  border-color: var(--indigo-800);
}

.social-icons--contact a img {
  filter: brightness(0) saturate(100%);
  opacity: 0.85;
}

.social-icons--contact a:hover {
  background: var(--card-blue);
}

.footer-rule {
  width: 100%;
  height: 1px;
  margin-top: 42px;
  background: rgb(255 255 255 / 75%);
}

.copyright {
  margin: 28px auto 0;
  font-size: 15px;
}

/* Inner / archive pages */
.content-page {
  min-height: 70vh;
  padding: 90px 0 120px;
  color: var(--body);
  background: #f7fafc;
}

.narrow-container {
  max-width: 860px;
}

.page-header h1,
.standard-entry h1,
.standard-entry h2 {
  color: var(--ocean-700);
  font-family: var(--font-display);
  line-height: 1.12;
}

.standard-entry h1,
.page-header h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.standard-entry h2 a {
  text-decoration: none;
}

.entry-kicker {
  margin-bottom: 10px;
  color: var(--ocean-600);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-cover {
  margin: 38px 0;
}

.single-cover img {
  width: min(100%, 560px);
  height: auto;
  box-shadow: var(--shadow);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 55px;
}

.archive-card {
  overflow: hidden;
  padding: 22px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgb(4 38 76 / 10%);
}

.archive-card a {
  text-decoration: none;
}

.archive-card img {
  width: 100%;
  aspect-ratio: 0.76;
  object-fit: cover;
}

.archive-card h2 {
  color: var(--ocean-700);
  font-family: var(--font-display);
  line-height: 1.2;
}

/* Designed inner page content */
.page-content {
  background: var(--white);
}

.page-content__inner {
  padding: 58px 0 120px;
}

.prose {
  color: var(--body);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.4px;
}

.prose p {
  margin: 0 0 1.15em;
}

.prose a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.works-intro {
  max-width: 1300px;
  margin: 0 auto 54px;
  text-align: left;
}

.works-empty {
  padding: 28px;
  background: var(--card-blue);
  border-radius: var(--radius-card);
  text-align: center;
}

/* Work accordion */
.work-accordion {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}

.work-accordion__item {
  overflow: hidden;
  background: var(--card-blue);
  border-radius: 17px;
}

.work-accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 105px;
  padding: 20px 42px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.work-accordion__title {
  font-family: var(--font-serif);
  font-size: 34.576px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0.6915px;
}

.work-accordion__chevron {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  transition: transform 220ms ease;
}

.work-accordion__chevron::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 14px solid var(--navy-900);
}

.work-accordion__item.is-open .work-accordion__chevron {
  transform: rotate(90deg);
}

.work-accordion__panel {
  padding: 6px 42px 48px;
}

.work-accordion__body--two_column {
  display: grid;
  grid-template-columns: 412px 766px;
  justify-content: space-between;
  gap: 42px;
  align-items: start;
}

.work-accordion__body--stacked {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-accordion__media {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.work-accordion__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: #d7e0ef;
}

.work-accordion__body--two_column .work-accordion__figure:first-child img,
.work-accordion__body--two_column .work-accordion__figure:first-child.work-accordion__figure--placeholder {
  width: 412px;
  height: 442px;
  object-fit: cover;
}

.work-accordion__body--two_column .work-accordion__figure:last-child img,
.work-accordion__body--two_column .work-accordion__figure:last-child.work-accordion__figure--placeholder {
  width: 412px;
  height: 256px;
  object-fit: cover;
}

.work-accordion__figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.work-accordion__figure--wide img {
  width: 100%;
  aspect-ratio: 1222 / 372;
  object-fit: cover;
}

.work-accordion__figure--placeholder {
  display: block;
  min-height: 180px;
  background: linear-gradient(160deg, #d2d6de 0%, #b4bac6 55%, #9aa1ae 100%);
}

.work-accordion__figure--wide.work-accordion__figure--placeholder {
  min-height: 372px;
  aspect-ratio: 1222 / 372;
}

.work-accordion__copy {
  color: var(--body);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: 0.4px;
  text-align: justify;
}

.work-accordion__copy p {
  margin: 0 0 1em;
}

.work-accordion__copy a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Related papers */
.related-papers {
  display: grid;
  grid-template-columns: 274px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
  padding-top: 8px;
}

.related-papers__heading {
  margin: 0;
  color: var(--body);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.related-papers__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}

.related-paper-card {
  width: 215.747px;
}

.related-paper-card__link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.related-paper-card__cover {
  position: relative;
  width: 182.196px;
  aspect-ratio: 182.196 / 257.237;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: -5.305px 5.305px 12.644px rgb(0 0 0 / 18%);
  background: #c5cad3;
}

.related-paper-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-paper-card__meta h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21.221px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.related-paper-card__meta p {
  margin: 0;
  color: var(--body);
  font-size: 15.916px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact */
.page-content--contact .page-content__inner {
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(72px, 12vw, 140px);
}

.contact-body {
  max-width: 1297px;
  margin: 0 auto;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.4px;
}

.contact-body p {
  margin: 0 0 1.15em;
}

.contact-body p:last-child {
  margin-bottom: 0;
}

.contact-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-body a:hover {
  color: var(--ocean-700);
}

/* Tablet */
@media (max-width: 980px) {
  .publications-grid {
    grid-template-columns: repeat(3, minmax(0, 215.747px));
    justify-content: center;
    gap: 36px;
    row-gap: 48px;
  }

  .publication-card:nth-child(4) {
    grid-column: 1 / 2;
  }

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

  .work-accordion__body--two_column {
    grid-template-columns: 1fr;
  }

  .related-papers {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-hero__title {
    margin-top: 76px;
    font-size: 76px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .site-container {
    width: min(100% - 32px, var(--container));
  }

  .inner-header__row {
    min-height: 72px;
  }

  .inner-brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .inner-navigation {
    display: none;
  }

  .hero,
  .page-hero {
    min-height: 640px;
    background-position: 38% center;
  }

  .page-hero {
    min-height: 520px;
  }

  .site-header {
    position: relative;
    z-index: 20;
    min-height: 92px;
    justify-content: flex-end;
    padding-top: 0;
  }

  .mobile-brand {
    display: none !important;
  }

  .mobile-brand__logo,
  .logo-placeholder--mobile {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
  }

  .menu-toggle {
    display: flex;
    min-width: 54px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--white);
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-toggle__icon,
  .menu-toggle__icon i {
    display: block;
  }

  .menu-toggle__icon i {
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Figma: Mobile - Navigation Bar/Active — pad T36 / R16 / B36 / L48, gap 10 */
  .primary-navigation,
  .scswg-page-about .primary-navigation,
  .scswg-page-work .primary-navigation,
  .scswg-page-contact .primary-navigation {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    padding: 36px 16px 36px 48px;
    overflow: auto;
    border: 0;
    border-radius: 0;
    background: #5f657c;
    box-shadow: none;
    backdrop-filter: none;
  }

  .primary-navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .primary-navigation ul {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .primary-navigation li {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .primary-navigation a,
  .scswg-page-about .primary-navigation a,
  .scswg-page-work .primary-navigation a,
  .scswg-page-contact .primary-navigation a {
    justify-content: flex-start;
    width: auto;
    min-height: 0;
    min-width: 0;
    padding: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
    background: transparent !important;
  }

  .primary-navigation a:hover {
    background: transparent;
    opacity: 0.82;
  }

  .primary-navigation .current-menu-item > a,
  .primary-navigation .current_page_item > a,
  .scswg-page-about .primary-navigation .current-menu-item > a,
  .scswg-page-about .primary-navigation .current_page_item > a,
  .scswg-page-work .primary-navigation .current-menu-item > a,
  .scswg-page-work .primary-navigation .current_page_item > a,
  .scswg-page-contact .primary-navigation .current-menu-item > a,
  .scswg-page-contact .primary-navigation .current_page_item > a {
    color: var(--white);
    background: transparent !important;
  }

  .primary-navigation__mobile-bar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
  }

  .primary-navigation a.primary-navigation__mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    min-height: 0;
    min-width: 0;
    padding: 0;
    color: var(--white);
    font-family: "Lora", Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent !important;
    opacity: 1;
  }

  .primary-navigation a.primary-navigation__mobile-brand span {
    font-family: "Lora", Georgia, "Times New Roman", serif;
  }

  .primary-navigation__mobile-logo,
  .logo-placeholder--mobile-nav,
  .demo-logo--mobile-nav {
    width: 34px;
    height: 34px;
  }

  .primary-navigation__mobile-logo,
  .logo-placeholder--mobile-nav {
    border-radius: 50%;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
  }

  /* Figma mobile sidebar: swan mark only, white */
  .demo-logo--mobile-nav .demo-logo__arc {
    display: none;
  }

  .demo-logo--mobile-nav .demo-logo__swan {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
  }

  .menu-close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 0;
    padding: 0;
    color: var(--white);
    border: 0;
    background: transparent;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

  .hero-content,
  .page-hero__content {
    margin-top: 28px;
  }

  .hero-logo-wrap {
    min-height: 122px;
  }

  .hero-logo,
  .hero-logo-wrap .custom-logo,
  .logo-placeholder,
  .demo-logo--hero {
    width: 125px;
    height: 125px;
  }

  .organization-meta {
    font-size: 12px;
  }

  .hero h1,
  .page-hero__title {
    margin-top: 24px;
    font-size: clamp(2.3rem, 10vw, 3.8rem);
  }

  .intro-inner {
    padding-bottom: 150px;
  }

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

  .publications-inner {
    padding-top: 130px;
  }

  .publications h2 {
    text-align: center;
  }

  .publications-grid {
    grid-template-columns: repeat(2, minmax(0, 215.747px));
    gap: 28px;
  }

  .publication-card:nth-child(4) {
    grid-column: auto;
  }

  .publication-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(210px, 100%);
    justify-self: center;
  }

  .work-accordion__trigger {
    min-height: 92px;
    padding: 18px 20px;
  }

  .work-accordion__panel {
    padding: 6px 20px 24px;
  }

  .footer-mark {
    left: -260px;
  }

  .footer-inner {
    min-height: 700px;
  }

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

@media (max-width: 460px) {
  .hero {
    min-height: 720px;
  }

  .wave,
  .wave-publications {
    height: 90px;
  }

  .organization-name {
    font-size: 1.02rem;
  }

  .intro-inner {
    padding-top: 45px;
    padding-bottom: 120px;
  }

  .intro-copy {
    font-size: 0.94rem;
  }

  .publications-inner {
    padding-top: 105px;
  }

  .publications-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .publication-card,
  .publication-card:last-child:nth-child(odd) {
    width: min(230px, 100%);
    justify-self: center;
    grid-column: auto;
  }

  .publication-cover {
    width: 190px;
  }

  .social-icons {
    gap: 12px;
  }

  .footer-brand > img,
  .footer-brand .footer-logo,
  .logo-placeholder--footer,
  .demo-logo--footer {
    width: 150px;
    height: 150px;
  }

  .footer-brand .footer-logo-full {
    width: 240px;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-anim-content,
  .hero-anim-wave {
    opacity: 1 !important;
    transform: none !important;
  }

  .scswg-page-transition > *:not([data-hero-section]) {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-hero-section] .hero-shapes {
    transform: none !important;
  }
}

/* Page enter / leave + hero content fade
 * Do NOT put opacity on .scswg-page-transition itself — that isolates the hero
 * and turns Overlay rings into flat gray. Fade siblings of the hero instead. */
html.scswg-is-leaving .scswg-page-transition > *:not([data-hero-section]),
html.scswg-is-leaving [data-hero-section] .hero-anim-content,
html.scswg-is-leaving [data-hero-section] .hero-anim-wave,
html.scswg-is-leaving [data-hero-section] .hero-media {
  opacity: 0;
  transform: translateY(10px);
}

html.scswg-is-leaving .site-footer {
  opacity: 0;
  transition: opacity 380ms ease;
}

html.scswg-is-leaving [data-hero-section] .hero-shapes {
  transform: scale(1.04);
}

.scswg-page-transition > *:not([data-hero-section]),
[data-hero-section] .hero-anim-content,
[data-hero-section] .hero-anim-wave {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-hero-section] .hero-shapes {
  transform: scale(1.03);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.scswg-is-ready .scswg-page-transition > *:not([data-hero-section]),
html.scswg-is-ready [data-hero-section] .hero-anim-content,
html.scswg-is-ready [data-hero-section] .hero-anim-wave {
  opacity: 1;
  transform: none;
}

html.scswg-is-ready [data-hero-section] .hero-shapes {
  transform: none;
}

html.scswg-is-leaving .scswg-page-transition > *:not([data-hero-section]),
html.scswg-is-leaving [data-hero-section] .hero-anim-content,
html.scswg-is-leaving [data-hero-section] .hero-anim-wave {
  transition-duration: 380ms;
}

@media print {
  .site-header,
  .site-footer,
  .hero-shapes,
  .wave,
  .button {
    display: none !important;
  }

  .hero,
  .page-hero,
  .publications {
    min-height: 0;
    color: #000;
    background: #fff;
  }
}
