:root {
  --soil-950: #25150f;
  --soil-800: #513022;
  --soil-700: #6e432f;
  --wheat-500: #d1a247;
  --wheat-300: #efd39a;
  --leaf-900: #193726;
  --leaf-800: #245438;
  --leaf-600: #3f7a4a;
  --leaf-300: #c6ddb4;
  --cream-100: #faf5ea;
  --cream-200: #f2e8d5;
  --stone-400: #7d746b;
  --stone-700: #453e38;
  --shadow: 0 24px 60px rgba(37, 21, 15, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--stone-700);
  background:
    linear-gradient(rgba(248, 241, 226, 0.86), rgba(248, 243, 233, 0.9)),
    url("/Users/stefano/Downloads/signal-2026-04-07-161332.jpeg"),
    radial-gradient(circle at top, rgba(239, 211, 154, 0.35), transparent 36%),
    linear-gradient(180deg, #f8f1e2 0%, #f5ecda 42%, #f8f3e9 100%);
  background-size: auto, cover, auto, auto;
  background-position: center top, center top, center top, center top;
  background-attachment: scroll, fixed, scroll, scroll;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.site-header,
.section,
.hero,
.institution-bar {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0e0ad, #e7c86b);
  box-shadow: 0 10px 22px rgba(36, 84, 56, 0.2);
  overflow: hidden;
}

.brand-mark-stem {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  width: 0.18rem;
  height: 1.2rem;
  border-radius: 999px;
  background: var(--leaf-900);
  transform: translateX(-50%);
}

.brand-mark-leaf {
  position: absolute;
  bottom: 1rem;
  width: 0.9rem;
  height: 1.15rem;
  background: linear-gradient(180deg, var(--leaf-600), var(--leaf-900));
  border-radius: 0.9rem 0.9rem 0.2rem 0.9rem;
}

.brand-mark-leaf-left {
  left: 0.72rem;
  transform: rotate(-34deg);
}

.brand-mark-leaf-right {
  right: 0.72rem;
  transform: scaleX(-1) rotate(-34deg);
}

.brand-mark-sun {
  position: absolute;
  top: 0.45rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #fff8de;
  transform: translateX(-50%);
}

.brand-text {
  max-width: 20rem;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--stone-400);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--leaf-800);
}

.institution-bar {
  padding: 0.5rem 0 0;
}

.institution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.institution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.78);
  border: 1px solid rgba(81, 48, 34, 0.12);
}

.institution-logo {
  display: block;
  width: auto;
  height: 3.5rem;
}

.institution-logo-formas {
  height: 2.8rem;
}

.institution-copy {
  display: grid;
  gap: 0.15rem;
}

.institution-label {
  color: var(--stone-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.institution-name {
  color: var(--soil-950);
  font-weight: 800;
}

.institution-subtitle {
  color: var(--stone-400);
  font-size: 0.9rem;
  line-height: 1.4;
}

.hero {
  padding: 3.5rem 0 1rem;
}

.hero-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy {
  padding: 2rem 2.1rem 1.9rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(239, 211, 154, 0.45), transparent 28%),
    rgba(255, 251, 243, 0.86);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--leaf-800);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", "Baskerville", "Times New Roman", serif;
  color: var(--soil-950);
  line-height: 1;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  font-weight: 600;
  line-height: 1.02;
}

h2 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 600;
}

h3 {
  font-size: 1.42rem;
  line-height: 1.08;
  font-weight: 600;
}

.hero-text,
.card p,
.question-card p,
.case-card p,
.team-card p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 42ch;
  margin: 1.25rem 0 0;
}

.hero-text-secondary {
  max-width: 60ch;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(198, 221, 180, 0.55);
  color: var(--leaf-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: var(--cream-100);
  background: linear-gradient(135deg, var(--leaf-900), var(--leaf-600));
  box-shadow: 0 18px 34px rgba(36, 84, 56, 0.25);
}

.hero-gallery {
  display: block;
}

.hero-frame,
.hero-color-note,
.about-image {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-frame {
  position: relative;
  min-height: 16rem;
  border-radius: 28px;
}

.hero-frame img,
.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-connected {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-frame-connected {
  border-radius: 0;
  box-shadow: none;
}

.hero-frame-connected-top {
  min-height: 16rem;
}

.hero-frame-connected-top img {
  object-position: center 62%;
}

.hero-frame-connected-bottom {
  min-height: 16rem;
}

.hero-frame-connected-bottom img {
  object-position: center center;
}

.hero-color-note {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  min-height: 0;
  padding: 1.5rem 1.55rem;
  color: var(--soil-950);
  font-family: "Cormorant Garamond", "Baskerville", serif;
  font-size: 1.35rem;
  line-height: 1.15;
  background:
    linear-gradient(145deg, rgba(255, 251, 243, 0.9), rgba(239, 211, 154, 0.82));
  border: 1px solid rgba(81, 48, 34, 0.08);
  border-radius: 22px;
  box-shadow: none;
}

.hero-color-note-bridge {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.hero-color-note-text {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.15;
}

.hero-actions-inline {
  margin-top: 0;
  justify-content: center;
}

.hero-actions-inline .button {
  min-height: 3.05rem;
  padding: 0 1.15rem;
  font-size: 1.03rem;
}

.hero-tags-inline {
  margin-top: 0;
  gap: 0.45rem;
  justify-content: center;
}

.hero-tags-inline span {
  min-height: 2.05rem;
  padding: 0 0.85rem;
  font-size: 0.88rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem;
  z-index: -1;
  border-radius: 40px;
  background: rgba(255, 251, 243, 0.72);
}

.section-deep {
  color: var(--cream-100);
  padding: 4rem;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(239, 211, 154, 0.18), transparent 30%),
    linear-gradient(140deg, #203524 0%, #1a2c1f 48%, #2b2018 100%);
}

.section-deep h2,
.section-deep h3,
.section-deep .eyebrow,
.section-deep p {
  color: inherit;
}

.section-deep .card {
  background: rgba(255, 250, 241, 0.94);
}

.section-deep .card h3,
.section-deep .card p {
  color: var(--soil-950);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.about-layout,
.cases-grid,
.approach-layout,
.publications-layout,
.team-grid {
  display: grid;
  gap: 1.25rem;
}

.about-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.8fr);
  align-items: stretch;
}

.about-side {
  display: grid;
  gap: 1rem;
  grid-template-rows: 13rem auto;
}

.about-image {
  min-height: 13rem;
}

.about-image img {
  object-position: center 42%;
}

.card,
.question-card,
.case-card,
.publication-card,
.team-card {
  padding: 1.6rem;
  background: rgba(255, 251, 243, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card-large {
  background: rgba(255, 250, 241, 0.92);
}

.card-accent {
  color: var(--cream-100);
  background:
    radial-gradient(circle at top right, rgba(239, 211, 154, 0.25), transparent 40%),
    linear-gradient(135deg, var(--leaf-800), var(--leaf-600));
}

.card-accent h3,
.card-accent p {
  color: inherit;
}

.questions-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  align-items: start;
}

.questions-intro {
  padding: 1.4rem 1.5rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(198, 221, 180, 0.5), rgba(255, 251, 243, 0.88)),
    rgba(255, 251, 243, 0.9);
  box-shadow: var(--shadow);
}

.questions-intro p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
}

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

.question-card {
  border: 1px solid rgba(81, 48, 34, 0.08);
}

#cases .cases-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

#cases .case-card {
  background: rgba(255, 250, 241, 0.94);
}

#cases .case-card h3,
#cases .case-card p {
  color: var(--soil-950);
}

.approach-intro {
  max-width: 62rem;
  margin-bottom: 1.5rem;
}

.approach-intro p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
}

.approach-layout,
.publications-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.publication-citation {
  padding-top: 1rem;
  border-top: 1px solid rgba(81, 48, 34, 0.12);
  font-size: 0.98rem;
  line-height: 1.8;
}

.publication-citation a {
  color: var(--leaf-800);
  word-break: break-word;
}

.case-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  color: var(--leaf-800);
  background: rgba(198, 221, 180, 0.6);
}

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

.team-member {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 243, 0.92);
  box-shadow: var(--shadow);
}

.team-member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(36, 84, 56, 0.18), rgba(209, 162, 71, 0.2));
}

.team-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(36, 84, 56, 0.18), rgba(209, 162, 71, 0.2));
}

.team-photo-frame .team-photo-ellinor {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.team-photo-ellinor {
  object-position: 28% 73%;
  transform: scale(1.3);
  transform-origin: center center;
}

.team-member-copy {
  display: grid;
  gap: 0.8rem;
}

.team-member-copy p {
  margin: 0;
  line-height: 1.75;
}

.team-role {
  color: var(--leaf-800);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-member-copy a {
  width: fit-content;
  color: var(--leaf-800);
  font-weight: 800;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(37, 21, 15, 0.03), rgba(37, 21, 15, 0.08)),
    rgba(255, 251, 243, 0.82);
}

.site-footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

.footer-contact {
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 243, 0.94);
  box-shadow: var(--shadow);
}

.footer-contact p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.footer-contact a {
  color: var(--leaf-800);
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero-editorial,
  .about-layout,
  .questions-layout,
  .cases-grid,
  .approach-layout,
  .publications-layout,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .question-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  #cases .cases-grid {
    grid-template-columns: 1fr;
  }

  .institution-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .institution-link {
    width: 100%;
    border-radius: 24px;
  }

  .institution-logo-formas {
    height: 2.25rem;
  }

  .institution-subtitle {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .hero-frame-connected-top,
  .hero-frame-connected-bottom {
    min-height: 14rem;
  }

  .hero-color-note {
    position: static;
    margin-top: 1rem;
    border-radius: 26px;
    box-shadow: var(--shadow);
    transform: none;
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .section-deep {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .team-member img,
  .team-photo-frame {
    max-width: 14rem;
    margin-inline: auto;
  }

  h1 {
    max-width: none;
  }

  .brand-text {
    max-width: 15rem;
  }
}
