:root {
  --wine: #681d35;
  --wine-dark: #4a1527;
  --ink: #28262a;
  --muted: #626068;
  --paper: #faf9f7;
  --line: #dedbd8;
  --white: #fff;
  --serif: Georgia,'Times New Roman',serif;
  --sans: 'Segoe UI',Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

a, button, summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 6px;
}

::selection {
  background: #e9d7dd;
  color: var(--wine-dark);
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.13;
}

em {
  font-weight: 400;
  color: var(--wine);
}

.wrap {
  width: calc(100% - 112px);
  max-width: 1280px;
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 99;
  top: -80px;
  left: 20px;
  background: var(--wine);
  color: white;
  padding: 12px 20px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.language-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  font-size: .875rem;
  line-height: 1;
  letter-spacing: .03em;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 36px;
  text-decoration: none;
  text-underline-offset: 4px;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  color: var(--wine);
  text-decoration: underline;
}

.language-switch a[aria-current="page"] {
  font-weight: 700;
}

.language-switch a:focus-visible {
  outline-offset: 0;
}

.language-switch > span {
  color: var(--muted);
}

.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  text-decoration: none;
  flex-shrink: 0;
}

.navigation {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: .875rem;
}

.navigation a {
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding-block: 6px;
}

.navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width .2s;
}

.navigation a:hover::after, .navigation a[aria-current='location']::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 52px;
  padding-top: 56px;
  padding-bottom: 54px;
  align-items: center;
  min-height: 680px;
}

.hero-copy {
  padding-top: 8px;
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--wine);
}

h1 {
  font-size: clamp(3.65rem,6.4vw,6.2rem);
  letter-spacing: -.045em;
  margin-top: 30px;
  line-height: 1.075;
}

h1 em {
  display: inline-block;
  position: relative;
}

h1 em::after {
  content: '';
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -6px;
  border-bottom: 1px solid #be94a2;
}

.hero-quote {
  max-width: 30rem;
  margin-top: 30px;
}

.hero-quote blockquote {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-quote figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}

.hero-quote-author {
  color: var(--wine);
}

.hero-quote-context {
  display: block;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  background: var(--wine);
  color: white;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.5;
  transition: background .2s;
}

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

.text-link {
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid #bca1aa;
  padding-bottom: 3px;
  font-size: .875rem;
}

.text-link:hover {
  border-color: var(--wine);
}

.hero-note {
  font-size: .75rem;
  letter-spacing: .045em;
  color: var(--muted);
  margin-top: 46px;
}

.hero-visual {
  position: relative;
  padding: 0 0 0 13px;
  border-left: 1px solid var(--line);
}

.image-frame {
  background: #e5e1df;
  height: 545px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.image-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--muted);
}

.image-caption span:first-child {
  font-style: italic;
  font-family: var(--serif);
  font-size: .875rem;
  letter-spacing: .05em;
  color: var(--wine);
}

.topic-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-height: 77px;
  font-size: .8125rem;
  letter-spacing: .055em;
  color: #545159;
  gap: 24px;
}

.band-divider {
  height: 18px;
  width: 1px;
  background: #d0c8c9;
  flex-shrink: 0;
}

.section {
  padding-block: 96px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 94px;
}

.section-number {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  font-size: .9375rem;
  color: #785c67;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}

h2 {
  font-size: clamp(2.25rem,3.25vw,3.35rem);
  letter-spacing: -.025em;
  margin-top: 23px;
}

h2 em {
  line-height: 1.23;
}

.about-copy {
  padding-top: 42px;
}

.about-copy p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.85;
}

.about-copy .lead {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
}

.about-copy .text-link {
  display: inline-block;
  margin-top: 2px;
}

.research-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 94px;
}

.research-themes-link {
  display: inline-block;
  margin-top: 24px;
}

.section-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 330px;
  margin-top: 24px;
}

.research-footnote {
  font-size: .75rem;
  color: #746670;
  letter-spacing: .1em;
  margin-top: 72px;
  display: flex;
  gap: 15px;
}

.research-topics {
  border-top: 1px solid #b6a6ab;
}

.topic {
  border-bottom: 1px solid #d4cbce;
}

.topic summary {
  list-style: none;
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 26px 0;
  min-height: 86px;
}

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

.topic-number {
  font-size: .8125rem;
  color: #785c67;
  font-family: var(--serif);
}

.topic-heading {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
}

.topic summary:hover .topic-heading, .topic[open] .topic-heading {
  color: var(--wine);
}

.topic-plus {
  position: relative;
  width: 16px;
  height: 16px;
}

.topic-plus::before, .topic-plus::after {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 1px;
  background: var(--wine);
}

.topic-plus::after {
  transform: rotate(90deg);
  transition: transform .2s;
}

.topic[open] .topic-plus::after {
  transform: rotate(0deg);
}

.topic-body {
  padding: 0 33px 30px 46px;
}

.topic-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.topic-body .research-question {
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  margin-top: 16px;
}

.quote-section {
  background: var(--wine);
  color: white;
  padding-block: 70px;
  overflow: hidden;
}

.quote-inner {
  text-align: center;
}

.quote-label {
  display: block;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .14em;
  color: #d7bcc7;
}

.quote-inner blockquote {
  font-family: var(--serif);
  font-size: clamp(2rem,3.4vw,3.4rem);
  font-style: italic;
  line-height: 1.34;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 28px 0;
}

.quote-inner a {
  font-size: .8125rem;
  color: #e7d1da;
  text-decoration: none;
  border-bottom: 1px solid #aa778b;
  padding-bottom: 4px;
}

.quote-inner a:hover {
  color: white;
  border-color: white;
}

.quote-inner a:focus-visible {
  outline-color: white;
}

dl {
  margin: 0;
}

dl>div {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  font-size: .875rem;
  color: var(--muted);
}

dd {
  font-size: 1rem;
  margin: 0;
  line-height: 1.65;
}

.site-footer {
  background: white;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  font-size: .75rem;
  color: var(--muted);
}

.footer-inner a {
  font-size: .8125rem;
  color: var(--wine);
  text-decoration: none;
  border-bottom: 1px solid #c5b1b8;
}

.footer-inner>span {
  font-family: var(--serif);
  font-style: italic;
  font-size: .9375rem;
  color: var(--wine);
}

@media(min-width:1550px) {
  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .image-frame {
    height: 590px;
  }
}

@media(max-width:1100px) {
  .wrap {
    width: calc(100% - 72px);
  }

  .navigation {
    gap: 20px;
  }

  .hero {
    gap: 32px;
    min-height: 620px;
  }

  .image-frame {
    height: 500px;
  }

  h1 {
    font-size: clamp(3.4rem,6.5vw,5rem);
  }

  .about-section, .research-layout {
    gap: 50px;
  }
}

@media(max-width:860px) {
  html {
    scroll-padding-top: 95px;
  }

  .wrap {
    width: calc(100% - 48px);
  }

  .header-inner {
    min-height: 88px;
    gap: 20px;
  }

  .navigation-ready .menu-toggle {
    border: 0;
    background: transparent;
    color: var(--wine);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .875rem;
    padding: 14px 0 14px 10px;
    cursor: pointer;
  }

  .menu-symbol {
    display: block;
    width: 20px;
    height: 14px;
    position: relative;
    border-top: 1px solid var(--wine);
    border-bottom: 1px solid var(--wine);
  }

  .menu-symbol::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--wine);
    position: absolute;
    top: 5px;
    left: 0;
  }

  .navigation {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    position: static;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 22px 24px 27px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 22px #28262a0c;
    gap: 12px;
  }

  .navigation-ready .navigation.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .navigation a {
    font-size: 1rem;
    padding-block: 10px;
  }

  .hero {
    grid-template-columns: 1.15fr .85fr;
    gap: 26px;
    padding-block: 42px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(3rem,6.6vw,4rem);
  }

  .hero-quote {
    margin-top: 27px;
  }

  .hero-actions {
    gap: 20px;
    margin-top: 27px;
  }

  .button {
    padding-inline: 17px;
  }

  .hero-note {
    font-size: .75rem;
    max-width: 240px;
    margin-top: 32px;
  }

  .image-frame {
    height: 445px;
  }

  .image-caption {
    display: block;
  }

  .image-caption span {
    display: block;
  }

  .image-caption span+span {
    margin-top: 3px;
  }

  .topic-band-inner {
    font-size: .75rem;
    gap: 14px;
    min-height: 66px;
  }

  .section {
    padding-block: 72px;
  }

  .about-section {
    gap: 40px;
    grid-template-columns: .9fr 1.1fr;
  }

  .about-copy {
    padding-top: 35px;
  }

  .about-copy .lead {
    font-size: 1.3rem;
  }

  .research-layout {
    gap: 36px;
    grid-template-columns: .8fr 1.2fr;
  }

  .topic summary {
    gap: 12px;
    grid-template-columns: 23px 1fr 16px;
    padding-block: 22px;
  }

  .topic-heading {
    font-size: 1.28rem;
  }

  .topic-body {
    padding-left: 35px;
    padding-right: 18px;
  }

  .research-footnote {
    flex-wrap: wrap;
    gap: 7px;
    font-size: .75rem;
  }

  dl>div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-inner>span {
    display: none;
  }
}

@media(max-width:600px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    gap: 12px;
  }

  .menu-toggle {
    gap: 9px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 37px;
    padding-bottom: 34px;
  }

  .eyebrow {
    font-size: .75rem;
    letter-spacing: .09em;
    gap: 12px;
  }

  h1 {
    font-size: clamp(3.25rem,11.9vw,4.7rem);
    line-height: 1.06;
    margin-top: 24px;
    letter-spacing: -.04em;
  }

  .hero-quote {
    max-width: 30rem;
    margin-top: 29px;
  }

  .hero-actions {
    margin-top: 25px;
    gap: 24px;
  }

  .hero-note {
    max-width: none;
    margin-top: 28px;
  }

  .hero-visual {
    padding-left: 0;
    border-left: 0;
  }

  .image-frame {
    height: 350px;
  }

  .image-frame img {
    object-position: 50% 42%;
  }

  .image-caption {
    display: flex;
    font-size: .75rem;
    flex-wrap: wrap;
  }

  .image-caption span+span {
    margin-top: 0;
  }

  .topic-band-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px 16px;
    padding-block: 18px;
    min-height: auto;
    font-size: .8125rem;
  }

  .band-divider {
    display: none;
  }

  .topic-band-inner span:nth-child(3) {
    border-left: 1px solid var(--line);
    padding-left: 16px;
  }

  .topic-band-inner span:last-child {
    flex-basis: 100%;
  }

  .section {
    padding-block: 58px;
  }

  .about-section, .research-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  h2 {
    font-size: 2.35rem;
    margin-top: 19px;
    line-height: 1.16;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-copy .lead {
    font-size: 1.5rem;
  }

  .about-copy p {
    margin-bottom: 18px;
  }

  .research-footnote {
    margin-top: 24px;
    gap: 12px;
  }

  .section-description {
    max-width: 100%;
    margin-top: 20px;
  }

  .topic summary {
    min-height: 82px;
    padding-block: 22px;
    grid-template-columns: 22px 1fr 16px;
    gap: 11px;
  }

  .topic-heading {
    font-size: 1.32rem;
  }

  .topic-body {
    padding-left: 33px;
    padding-bottom: 26px;
  }

  .topic-body p {
    font-size: 1rem;
  }

  .quote-section {
    padding-block: 53px;
  }

  .quote-inner blockquote {
    font-size: 2.15rem;
    margin: 24px 0;
    line-height: 1.35;
  }

  .quote-inner blockquote br {
    display: none;
  }

  .quote-inner a {
    font-size: .75rem;
    line-height: 1.8;
    display: inline-block;
  }

  dl>div {
    grid-template-columns: 1fr 1.12fr;
    gap: 16px;
  }

  dt {
    font-size: .875rem;
  }

  dd {
    font-size: .9375rem;
  }

  .footer-inner {
    gap: 14px;
    padding-block: 24px;
  }

  .footer-inner p {
    max-width: 230px;
    line-height: 1.6;
  }

  .footer-inner a {
    font-size: .8125rem;
  }
}

@media(max-width:360px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .menu-toggle span:first-child {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions {
    gap: 18px;
  }

  .button {
    font-size: .8125rem;
  }

  .topic-band-inner span:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  h2 {
    font-size: 2.05rem;
  }

  .image-caption {
    gap: 5px;
  }

  dl>div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

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

  *, *::before, *::after {
    transition: none!important;
  }
}

@media print {
  .site-header, .hero-actions, .menu-toggle, .site-footer {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .wrap {
    width: 100%;
    max-width: none;
  }

  .hero, .section {
    padding-block: 24px;
  }

  .hero {
    min-height: 0;
  }

  .image-frame {
    height: 300px;
  }

  .quote-section {
    background: #fff;
    color: #222;
    break-inside: avoid;
  }

  .quote-label, .quote-inner a {
    color: #222;
  }

  .topic-body {
    display: block;
  }

  .research-section {
    background: #fff;
  }
}

.site-header {
  background: #faf8f9;
}

.header-inner {
  min-height: 94px;
}

html {
  scroll-padding-top: 110px;
}

.navigation {
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2054/766;
  color: var(--ink);
  background-color: currentColor;
  -webkit-mask: url('trtc-logo.svg') center/100% 100% no-repeat;
  mask: url('trtc-logo.svg') center/100% 100% no-repeat;
  mask-mode: alpha;
}

@media(max-width:1100px) {
  .brand-logo {
    width: 230px;
  }
}

@media(max-width:860px) {
  .brand-logo {
    width: 220px;
  }

  .header-inner {
    min-height: 90px;
  }

  html {
    scroll-padding-top: 106px;
  }
}

@media(max-width:600px) {
  .brand-logo {
    width: clamp(168px,48vw,200px);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand {
    gap: 0;
  }

  html {
    scroll-padding-top: 98px;
  }
}

@media(max-width:360px) {
  .brand-logo {
    width: 168px;
  }

  .header-inner {
    min-height: 78px;
  }

  html {
    scroll-padding-top: 94px;
  }
}

.site-header {
  --header-logo-width: 240px;
  --header-side-gap: 36px;
}

@media(min-width:861px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) var(--header-logo-width) minmax(0,1fr);
    gap: var(--header-side-gap);
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    position: relative;
    z-index: 1;
  }

  .navigation {
    display: grid;
    grid-column: 1/-1;
    grid-row: 1;
    grid-template-columns: minmax(0,1fr) var(--header-logo-width) minmax(0,1fr);
    gap: 0 var(--header-side-gap);
  }

  .nav-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    min-width: 0;
  }

  .nav-left {
    grid-column: 1;
    justify-content: flex-end;
  }

  .nav-right {
    grid-column: 3;
    justify-content: flex-start;
    padding-inline-end: 7rem;
  }

  .language-switch {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 1;
    padding-inline-start: 1rem;
    border-inline-start: 1px solid var(--line);
  }
}

@media(min-width:861px) and (max-width:1100px) {
  .site-header {
    --header-logo-width: 230px;
    --header-side-gap: 24px;
  }

  .nav-group {
    column-gap: 20px;
  }
}

@media(max-width:860px) {
  .nav-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.hero-copy>h1 {
  margin-top: 0;
}

.site-footer {
  background: var(--wine);
  border-top-color: var(--wine);
}

.footer-inner, .footer-inner a, .footer-inner>span {
  color: #faf8f9;
}

.footer-inner a {
  border-bottom-color: #dcbeca;
}

.footer-inner a:hover {
  border-bottom-color: #faf8f9;
}

.footer-inner a:focus-visible {
  outline-color: #faf8f9;
}

.projects-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.project-list {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.projects-section.projects-section--horizontal {
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 861px) {
  .projects-section.projects-section--horizontal {
    row-gap: 32px;
  }

  .projects-section--horizontal .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.project-card, .research-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wine);
  padding: 30px;
}

.project-meta, .research-status {
  font-size: .875rem;
  color: var(--wine);
  margin-bottom: 16px;
}

.project-card h3, .research-card h3 {
  font-size: 2rem;
  line-height: 1.2;
}

.project-description, .research-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 20px 0 24px;
}

.project-description:last-child, .research-description:last-child {
  margin-bottom: 0;
}

.project-domain {
  font-size: .875rem;
  color: var(--muted);
  margin-top: 12px;
  overflow-wrap: anywhere;
}

@media(max-width:1100px) {
  .projects-section {
    gap: 52px;
  }
}

@media(max-width:860px) {
  .projects-section {
    gap: 36px;
  }
}

@media(max-width:600px) {
  .projects-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-card, .research-card {
    padding: 24px 20px;
  }

  .project-card h3, .research-card h3 {
    font-size: 1.75rem;
  }
}

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.contact-intro {
  min-width: 0;
}

.contact-intro .section-description {
  max-width: 315px;
  margin-bottom: 25px;
}

.contact-director {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.director-photo {
  flex: 0 0 150px;
  width: 150px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
}

.director-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.3);
  transform-origin: 50% 30%;
}

.director-caption {
  flex: 1 1 140px;
  min-width: 0;
}

.director-name {
  font-size: 1.5rem;
  line-height: 1.25;
}

.director-role {
  margin-top: 6px;
  font-size: .9375rem;
  color: var(--wine);
}

.director-phone {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 6px;
  font-size: .9375rem;
  white-space: nowrap;
  text-decoration-color: var(--wine);
  text-underline-offset: 4px;
}

.director-phone:hover {
  color: var(--wine);
}

.contact-details {
  max-width: 440px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-details h3 {
  font-size: 1.375rem;
  margin-bottom: 14px;
}

.contact-details dl>div {
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 16px;
  padding: 10px 0;
}

.contact-details dl>div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-details dd {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-form {
  min-width: 0;
  padding: 30px;
  background: #f5eef0;
  border: 1px solid #d8c8cd;
  border-top: 3px solid var(--wine);
}

.contact-fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 22px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  min-width: 0;
}

.contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-field label {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-field label span {
  font-size: .875rem;
  color: var(--muted);
  font-weight: 400;
}

.contact-field input, .contact-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #9b848c;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 13px 14px;
  box-shadow: inset 0 1px 2px #28262a08;
  transition: border-color .15s,box-shadow .15s;
}

.contact-field input {
  min-height: 52px;
}

.contact-field textarea {
  resize: vertical;
  min-height: 168px;
}

.contact-field input::placeholder, .contact-field textarea::placeholder {
  color: #70656a;
  opacity: 1;
}

.contact-field input:hover, .contact-field textarea:hover {
  border-color: var(--wine);
}

.contact-field input:focus-visible, .contact-field textarea:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
  border-color: var(--wine);
  box-shadow: 0 0 0 4px #681d3514;
}

.contact-field input:disabled, .contact-field textarea:disabled {
  background: var(--paper);
  cursor: not-allowed;
  opacity: 1;
}

.contact-trap {
  display: none;
}

.contact-submit {
  justify-self: start;
  border: 1px solid var(--wine);
  cursor: pointer;
}

.contact-submit:disabled {
  background: #75676d;
  border-color: #75676d;
  cursor: not-allowed;
}

.contact-status {
  font-size: .9375rem;
  line-height: 1.6;
  margin-top: 18px;
  color: var(--muted);
}

.contact-status[hidden] {
  display: none;
}

.contact-status[data-state="pending"] {
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

.contact-status[data-state="error"] {
  color: var(--wine-dark);
}

@media(max-width:1100px) {
  .contact-section {
    gap: 52px;
  }
}

@media(max-width:860px) {
  .contact-section {
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
  }

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

  .contact-details dl>div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media(max-width:600px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-intro .section-description {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .contact-details {
    max-width: none;
    margin-top: 24px;
    padding-top: 20px;
  }

  .contact-details dl>div {
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap: 16px;
  }

  .contact-form {
    padding: 22px 20px;
  }

  .contact-fields {
    gap: 19px;
  }

  .contact-submit {
    width: 100%;
    min-height: 52px;
  }
}

@media(max-width:360px) {
  .contact-details dl>div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media print {
  .contact-section {
    display: block;
  }

  .contact-form {
    display: none;
  }
}

/* Keep the language links beside the mobile menu, including without JavaScript. */
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .header-inner > .brand { min-width: 0; flex-shrink: 1; }
  .language-switch { margin-inline-start: auto; }
  .site-header:not(.navigation-ready) { position: relative; }
  .navigation-ready .header-inner { flex-wrap: nowrap; }
  .navigation-ready .navigation { display: none; position: absolute; }
}

@media (max-width: 480px) {
  .menu-toggle span:first-child { display: none; }
}

/* Portrait beside the heading inside the contact column in both languages. */
.contact-heading-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
  margin-top: 23px;
}

.contact-heading-copy {
  min-width: 0;
}

.contact-heading-copy h2 {
  margin-top: 0;
  font-size: clamp(1.75rem, 2.6vw, 3rem);
}

.contact-heading-copy h2 em {
  font-style: normal;
}

.contact-heading-copy .section-description {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  max-width: none;
  margin: 18px 0 0;
}

.contact-heading-row .contact-director {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  text-align: center;
}

.contact-heading-row .director-photo {
  flex: 0 0 auto;
}

.contact-heading-row .director-caption {
  flex: 0 1 auto;
}

.contact-heading-row .director-name {
  font-size: 1.375rem;
}

@media (max-width: 860px) {
  .contact-section--portrait-heading {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) and (max-width: 1100px), (max-width: 480px) {
  .contact-heading-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 48px;
  }

  .contact-heading-copy h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
  }

  .contact-heading-row .director-photo {
    width: 112px;
  }

  .contact-heading-row .director-name {
    font-size: 1.125rem;
  }

  .contact-heading-row .director-role,
  .contact-heading-row .director-phone {
    font-size: .875rem;
  }
}

@media (max-width: 480px) {
  .contact-heading-row {
    gap: 32px;
  }

  .contact-heading-copy h2 {
    font-size: clamp(1.75rem, 6.4vw, 2.2rem);
  }
}

@media (max-width: 380px) {
  .contact-heading-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .contact-heading-row .contact-director {
    justify-self: start;
  }
}


.support-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.support-details {
  min-width: 0;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wine);
}

.support-details h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

.support-bank-details > div {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
}

.support-bank-details > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.support-bank-details dd {
  overflow-wrap: anywhere;
}

.support-iban {
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.copy-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.copy-field > span {
  min-width: 0;
}

.copy-button {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.copy-button svg {
  display: block;
}

.copy-button[hidden] {
  display: none;
}

.copy-button:hover {
  background: #681d350d;
  color: var(--wine);
}

.copy-button:disabled {
  opacity: .6;
  cursor: wait;
}

.support-copy-status {
  margin-top: 16px;
  color: var(--wine-dark);
  font-size: .875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .support-section { gap: 52px; }
}

@media (max-width: 860px) {
  .support-section { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .support-details { padding: 24px 20px; }
  .support-bank-details > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Place the research-area heading on the right in both languages on wider screens.
   Preserve heading-first source order and the stacked mobile layout. */
@media screen and (min-width: 861px) {
  .page--alternating .section {
    padding-block: 64px;
  }

  .page--alternating .quote-section {
    padding-block: 52px;
  }

  .page--alternating .research-section > .research-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .page--alternating .research-section .section-intro {
    grid-column: 2;
    grid-row: 1;
  }

  .page--alternating .research-topics {
    grid-column: 1;
    grid-row: 1;
  }

  .page--alternating .research-footnote {
    margin-top: 40px;
  }

}

.page--alternating .project-description .text-link {
  font-size: inherit;
  overflow-wrap: anywhere;
}

.page--alternating .footer-inner {
  flex-wrap: wrap;
  font-size: .875rem;
}

.page--alternating .footer-inner p,
.page--alternating .footer-inner a,
.page--alternating .footer-inner > span {
  font-size: inherit;
}

.page--alternating .footer-phone {
  white-space: nowrap;
}

/* Centre profile: introduction on the left, purpose and founder on the right. */
.about-section--profile .about-description,
.about-section--profile .about-registration {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 24px;
}

.about-section--profile .section-intro > .text-link {
  display: inline-block;
  margin-top: 18px;
}

.about-section--profile .about-copy {
  padding-top: 0;
  min-width: 0;
}

.about-section--profile .about-copy h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.about-section--profile .about-copy p {
  margin-bottom: 0;
}

.about-section--profile .about-copy p + h3 {
  margin-top: 28px;
}

/* Longer constitutional provisions remain readable on narrow screens. */
.quote-inner .constitutional-quote--long blockquote {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.5;
  max-width: 1050px;
  margin-inline: auto;
}
