/*
Theme Name: Grațian Mihăilescu
Theme URI: https://gratianmihailescu.com/
Author: UrbanizeHub
Author URI: https://urbanizehub.com/
Description: Temă WordPress personalizată pentru site-ul lui Grațian Mihăilescu.
Version: 1.2.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: gratian-mihailescu
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #fff;
  --sidebar: #f6f5f0;
  --ink: #1d1d1f;
  --muted: #6e6e68;
  --accent: #a9c131;
  --accent-dark: #a9c131;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.38;
}

body * {
  border-width: 0 !important;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  letter-spacing: 0 !important;
}

.site-content {
  padding-left: 168px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.journey :where(a, button):focus-visible {
  outline-color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
}

p,
li,
aside {
  line-height: 1.38;
}

section,
footer {
  scroll-margin-top: 32px;
}

.page-shell {
  width: min(100% - 56px, 1440px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 168px;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  background: var(--sidebar);
  font-size: 15.6px;
}

.nameplate {
  display: flex;
  flex-direction: column;
  width: fit-content;
  font-weight: 700;
  line-height: 1.1;
}

.site-header nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: auto 0;
}

.site-header nav a {
  display: block;
  color: var(--ink);
  font-size: 14.4px;
  font-weight: 620;
  line-height: 1.1;
  transition: color 160ms ease;
}

.site-header nav a:hover {
  color: var(--accent-dark);
}

.site-header nav a.is-active {
  color: var(--accent-dark);
  font-weight: 780;
  opacity: 1;
}

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

.header-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.header-foot > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.1;
}

.nameplate:hover {
  color: var(--accent-dark);
}

.nameplate .link-label,
.nameplate:hover .link-label {
  padding-bottom: 0;
  background-image: none;
  animation: none;
}

.header-foot > a:hover {
  color: var(--accent-dark);
}

.link-arrow {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.link-arrow::before {
  display: block;
}

.link-arrow-up-right::before {
  content: "↗";
}

.link-arrow-left::before {
  content: "←";
}

.link-arrow-up::before {
  content: "↑";
}

.link-arrow-down::before {
  content: "↓";
}

.link-arrow-right::before {
  content: "→";
}

.link-label {
  padding-bottom: 0.14em;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.055em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

a:hover .link-label {
  animation: underline-replay 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes underline-replay {
  from {
    background-size: 0% 0.055em;
  }

  to {
    background-size: 100% 0.055em;
  }
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
}

.language-switcher {
  position: absolute;
  z-index: 10;
  top: 22px;
  right: 0;
  display: flex;
  gap: 10px;
  font-size: 13.2px;
  font-weight: 720;
  line-height: 1.1;
}

.language-switcher a {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: color 160ms ease;
}

.language-switcher a:hover,
.language-switcher a.is-active {
  color: var(--accent-dark);
}

.language-switcher a:hover .link-label {
  animation: underline-replay 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-side {
  position: absolute;
  z-index: 3;
  top: 64px;
  left: 0;
  width: 330px;
  font-size: 22px;
}

.hero-side p {
  margin-bottom: 0;
  font-weight: 500;
}

.hero-side .hero-role {
  max-width: 310px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.round-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  color: var(--accent-dark);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.1;
  transition: color 160ms ease;
}

.round-link:hover {
  color: var(--accent-dark);
}

.round-link .link-arrow,
.header-foot .link-arrow,
.contact-actions .link-arrow {
  color: var(--accent-dark);
}

.portrait-stage {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(58vw, 780px);
  overflow: clip;
  isolation: isolate;
}

.portrait-stage::after {
  content: none;
}

.portrait-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.02);
  mix-blend-mode: multiply;
  transform: scale(1.15);
  transform-origin: 60% 32%;
  -webkit-clip-path: ellipse(68% 58% at 60% 32%);
  clip-path: ellipse(68% 58% at 60% 32%);
}

.hero h1 {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 34px;
  left: 0;
  margin: 0;
  font-family: "Caveat", "Source Sans 3", sans-serif;
  font-size: clamp(72px, 9.7vw, 148px);
  font-weight: 700;
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  width: max-content;
}

.hero h1 span:nth-child(2) {
  margin-left: 0;
}

.hero h1 span:nth-child(3) {
  margin-left: 0;
  color: var(--accent);
}

.manifesto,
.areas,
.projects,
.journey,
.education,
.publications,
.media {
  padding-top: 144px;
}

.areas,
.projects {
  padding-top: 160px;
}

.manifesto-lead {
  max-width: 1160px;
  margin: 0 0 76px;
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 560;
}

.manifesto-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  max-width: 920px;
  padding: 0 0 64px;
}

.manifesto + .areas {
  padding-top: 96px;
}

.manifesto-foot > p {
  max-width: 430px;
  margin-bottom: 0;
  font-size: 17px;
}

.section-title {
  position: sticky;
  top: 28px;
  align-self: start;
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: left;
}

.section-title-light {
  color: var(--paper);
}

.areas,
.projects,
.education,
.publications,
.media,
.journey {
  display: grid;
  grid-template-columns: clamp(128px, 14vw, 188px) minmax(0, 1fr);
  column-gap: clamp(44px, 6vw, 92px);
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 52px);
  max-width: none;
}

.areas-list article {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.areas-list h3 {
  margin-bottom: 0;
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 620;
}

.areas-list article > p {
  max-width: 310px;
  margin-bottom: 0;
  font-size: 17px;
}

.projects {
  padding-bottom: 140px;
}

.projects-content {
  min-width: 0;
}

.projects-intro {
  max-width: 960px;
  margin: 0 0 18px;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 500;
}

.projects-role {
  max-width: 760px;
  margin: 0 0 64px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.25;
}

.project-group + .project-group {
  margin-top: 136px;
}

.project-group-title {
  margin: 0 0 40px;
  font-size: clamp(22px, 1.8vw, 24px);
  font-weight: 400;
  text-transform: uppercase;
}

.project-thumbnail {
  overflow: hidden;
}

.project-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-list article {
  margin-bottom: 51px;
}

.project-list article:last-child {
  margin-bottom: 0;
}

.project-link {
  display: grid;
  grid-template-columns: clamp(260px, 30vw, 390px) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
  transition: color 180ms ease;
}

.project-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  align-items: start;
}

.project-link:hover {
  color: inherit;
}

.project-link:hover h4 {
  color: var(--accent);
}

.project-link h4 {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.18em;
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 620;
}

.project-description {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.project-meta {
  max-width: 520px;
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.project-specials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 7vw, 112px);
  margin-top: 160px;
}

.project-specials article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.project-specials article > h3 {
  margin-bottom: 0;
  font-size: 28px;
  font-weight: 720;
}

.project-special-link {
  width: 100%;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: color 180ms ease;
}

.project-special-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: var(--sidebar);
}

.project-special-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 3px;
  object-fit: cover;
  object-position: center;
  transition: filter 180ms ease, transform 220ms ease;
}

.project-special-visual-eu img {
  object-position: center bottom;
}

.project-special-visual-volunteer img {
  filter: saturate(0.76) contrast(1.02);
}

.project-special-link:hover .project-special-visual img {
  transform: scale(1.012);
}

.project-special-link:hover .project-special-visual-volunteer img {
  filter: saturate(1) contrast(1.02);
}

.project-special-link h4 {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.18em;
  margin-bottom: 0;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 620;
}

.project-special-link p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.project-special-link .project-special-meta {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.project-special-link:hover h4 {
  color: var(--accent);
}

.journey {
  width: 100%;
  max-width: none;
  padding-inline: max(28px, calc((100vw - 168px - 1440px) / 2));
  padding-bottom: 138px;
  background: var(--ink);
  color: var(--paper);
}

.journey-grid {
  min-width: 0;
}

.journey-statement {
  max-width: 820px;
  margin: 0;
  color: var(--accent);
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 570;
}

.journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 72px;
}

.rail-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.rail-scroll-button {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  appearance: button;
  font: inherit;
  place-items: center;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
}

.rail-scroll-button .link-arrow {
  color: inherit;
  font-size: 32px;
  transition: transform 160ms ease;
}

.rail-scroll-button-prev:hover .link-arrow {
  transform: translateX(-4px);
}

.rail-scroll-button-next:hover .link-arrow {
  transform: translateX(4px);
}

.rail-scroll-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.journey .rail-scroll-button {
  color: var(--accent);
}

.timeline {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(250px, 24vw, 320px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 24px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--accent) rgb(255 255 255 / 0.08);
  scrollbar-width: thin;
}

.timeline::-webkit-scrollbar {
  height: 6px;
}

.timeline::-webkit-scrollbar-track {
  background: rgb(255 255 255 / 0.08);
}

.timeline::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--accent);
}

.timeline article {
  position: relative;
  min-width: 0;
  padding: 0 44px 8px 0;
  scroll-snap-align: start;
}

.timeline article::before {
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgb(255 255 255 / 0.18);
  content: "";
}

.timeline-year {
  margin-bottom: 38px;
  color: #a6a59f;
  font-size: 12px;
  font-weight: 650;
}

.timeline-marker {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--ink);
}

.timeline-copy {
  min-width: 0;
}

.timeline h4 {
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 600;
}

.timeline-copy p {
  max-width: 260px;
  margin-bottom: 0;
  color: #a6a59f;
  font-size: 14px;
}

.education {
  padding-bottom: 138px;
}

.education-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px clamp(42px, 6vw, 88px);
  max-width: 1000px;
}

.education-list article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.education-list h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 620;
}

.education-list p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.education-institutions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: 8px;
}

.education-institutions img {
  display: block;
  width: auto;
  max-width: 160px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) contrast(0.88);
  opacity: 0.56;
  mix-blend-mode: multiply;
}

.publications {
  padding-bottom: 138px;
}

.publication-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  max-width: 1040px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.publication-item {
  padding: 0;
}

.publication-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  transition: color 180ms ease;
}

.publication-heading {
  display: inline-flex;
  max-width: 100%;
  align-items: flex-start;
  gap: 20px;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 580;
  line-height: 1.1;
}

.publication-item.is-featured {
  margin-bottom: 20px;
}

.publication-item.is-featured .publication-link {
  display: grid;
  grid-template-columns: clamp(210px, 21vw, 292px) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 56px);
  width: 100%;
  align-items: center;
}

.publication-item.is-featured .publication-heading {
  font-size: clamp(38px, 4vw, 56px);
}

.publication-cover-frame {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21 / 25;
  border-radius: 3px;
}

.publication-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.publication-copy,
.publication-meta {
  display: block;
}

.publication-link:hover {
  color: inherit;
}

.publication-link:hover .link-label {
  color: var(--accent);
}

.publication-heading .link-arrow {
  flex: 0 0 auto;
  margin-top: 0.18em;
}

.publication-meta {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.38;
}

.media {
  padding-bottom: 96px;
}

.media-content {
  min-width: 0;
}

.media-groups {
  display: flex;
  flex-direction: column;
  gap: 110px;
}

.media-group {
  min-width: 0;
}

.media-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.media-group-header h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 720;
}

.media-count {
  font-weight: 400;
}

.media-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(290px, 30vw, 400px);
  grid-template-rows: minmax(0, auto);
  gap: clamp(26px, 3vw, 46px);
  align-items: start;
  padding: 0 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0;
  scroll-snap-type: inline proximity;
  scrollbar-color: var(--accent) transparent;
  scrollbar-width: thin;
}

.media-list::-webkit-scrollbar {
  height: 4px;
}

.media-list::-webkit-scrollbar-track {
  background: transparent;
}

.media-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--accent);
}

.media-list:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.media-list article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  scroll-snap-align: start;
}

.media-card-link {
  width: 100%;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.media-card-link:focus-visible {
  border-radius: 3px;
  outline-offset: 6px;
}

.media-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 3px;
  background: #f6f5f0;
}

.media-cover-video::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgb(29 29 31 / 0.22));
  content: "";
  pointer-events: none;
}

.media-cover img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-card-link:hover .media-cover:not(.media-cover-logo) img {
  transform: scale(1.015);
}

.media-cover-logo {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 42px);
  background: #f3f2ed;
}

.media-cover-logo img {
  width: auto;
  max-width: 76%;
  height: auto;
  max-height: 48%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.68;
  mix-blend-mode: multiply;
}

.media-card-link:hover .media-cover-logo img {
  transform: none;
  opacity: 0.92;
}

.media-play {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  transition: background-color 160ms ease;
}

.media-play::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--ink);
  content: "";
}

.media-card-link:hover .media-play {
  background: var(--accent);
}

.media-item-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: flex-start;
  gap: 0.18em;
  font-size: clamp(20px, 1.65vw, 24px);
  font-weight: 620;
  line-height: 1.12;
  transition: color 160ms ease;
}

.media-card-link:hover .media-item-link {
  color: var(--accent-dark);
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.2;
}

.footer {
  padding: 64px 0 32px;
}

.footer > h2 {
  max-width: 1060px;
  margin: 0 0 74px;
  font-size: clamp(54px, 7.6vw, 112px);
  font-weight: 650;
}

.contact-actions {
  display: grid;
  gap: 34px;
  min-width: 0;
  margin-bottom: 0;
}

.contact-primary,
.contact-social {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
}

.contact-primary {
  gap: 16px 42px;
}

.contact-social {
  gap: 12px 28px;
}

.contact-primary a,
.contact-social a {
  display: inline-flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.18em;
  line-height: 1.1;
  transition: color 160ms ease;
}

.contact-primary a {
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 680;
}

.contact-social a {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.contact-primary a:hover,
.contact-social a:hover {
  color: var(--accent-dark);
}

@media (min-width: 1280px) {
  .education-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap-inline: clamp(34px, 4vw, 58px);
    max-width: none;
  }
}

.press-kit-page {
  padding: 0;
}

.press-kit-header {
  padding-top: 36px;
  padding-bottom: 112px;
}

.press-kit-back,
.press-kit-section > a,
.press-kit-photo-details > a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.2em;
}

.press-kit-kicker,
.press-kit-language {
  margin: 72px 0 22px;
  font-size: 16px;
  font-weight: 400;
}

.press-kit-header h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(58px, 8.6vw, 126px);
  font-weight: 620;
}

.press-kit-lead {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 22px;
}

.press-kit-portrait {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  padding-bottom: 128px;
}

.press-kit-photo {
  overflow: hidden;
  border-radius: 3px;
}

.press-kit-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.press-kit-photo-details h2,
.press-kit-copy-block h2,
.press-kit-contact h2 {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}

.press-kit-photo-details p {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: 18px;
}

.press-kit-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 34px clamp(34px, 7vw, 100px);
  padding-bottom: 128px;
}

.press-kit-language {
  grid-row: 1 / span 4;
  margin: 0;
}

.press-kit-copy-block {
  max-width: 860px;
}

.press-kit-copy-block p {
  margin-bottom: 0;
  font-size: 19px;
}

.press-kit-section > a {
  width: fit-content;
}

.press-kit-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 112px;
}

.press-kit-contact a {
  max-width: 100%;
  font-size: clamp(26px, 3.2vw, 44px);
  overflow-wrap: anywhere;
}

.wp-content {
  min-height: 68vh;
  padding-block: 96px;
}

.wp-content article {
  max-width: 860px;
}

.wp-content h1 {
  margin-bottom: 34px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 620;
}

.wp-content :where(p, li) {
  font-size: 18px;
}

@media (max-width: 1050px) {
  .site-content {
    padding-left: 140px;
  }

  .site-header {
    width: 140px;
    padding-inline: 18px;
  }

  .hero-side {
    width: 230px;
    font-size: 18px;
  }

  .portrait-stage {
    width: 65vw;
  }

  .manifesto-foot {
    padding-left: 8%;
  }

  .areas,
  .projects,
  .education,
  .publications,
  .media,
  .journey {
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 42px;
  }

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

  .media-list {
    grid-auto-columns: min(58vw, 390px);
  }

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

  .project-link h4,
  .project-special-link h4 {
    font-size: 42px;
  }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
    grid-template-areas:
      "intro portrait"
      "title title";
    min-height: 0;
    padding-top: 48px;
    overflow: visible;
  }

  .hero-side {
    position: static;
    grid-area: intro;
    width: auto;
    font-size: 20px;
  }

  .portrait-stage {
    position: relative;
    top: auto;
    right: auto;
    grid-area: portrait;
    width: 100%;
  }

  .hero h1 {
    position: relative;
    inset: auto;
    grid-area: title;
    margin: 16px 0 64px;
    font-size: clamp(72px, 10.5vw, 108px);
  }

  .areas,
  .projects,
  .education,
  .publications,
  .media,
  .journey {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .section-title {
    position: static;
    margin-bottom: 44px;
  }

  .areas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
  }

  .project-link {
    grid-template-columns: minmax(250px, 42%) minmax(0, 1fr);
    gap: 32px;
  }

  .project-link h4,
  .project-special-link h4 {
    font-size: 38px;
  }

  .project-specials {
    gap: 40px;
  }

  .media-list {
    grid-auto-columns: min(52vw, 380px);
  }
}

@media (max-width: 820px) {
  .site-content {
    padding-left: 0;
  }

  section,
  footer {
    scroll-margin-top: 20px;
  }

  .hero {
    scroll-margin-top: 56px;
  }

  .page-shell {
    width: min(100% - 28px, 1440px);
  }

  .site-header {
    position: sticky;
    inset: 0 auto auto 0;
    width: 100%;
    height: 56px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
  }

  .nameplate {
    display: none;
    flex-direction: row;
    gap: 4px;
    white-space: nowrap;
  }

  .site-header nav {
    display: none;
  }

  .site-header.menu-open .nameplate {
    position: fixed;
    z-index: 23;
    top: 78px;
    left: 14px;
    display: flex;
  }

  .site-header.menu-open nav {
    position: fixed;
    z-index: 22;
    inset: 56px 0 auto;
    max-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    overflow-y: auto;
    padding: 72px 14px 30px;
    background: var(--sidebar);
    box-shadow: 0 18px 34px rgb(29 29 31 / 0.08);
    overscroll-behavior: contain;
  }

  .site-header nav a {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    font-size: 20px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .menu-toggle > span,
  .menu-toggle > span::before,
  .menu-toggle > span::after {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle > span {
    position: relative;
  }

  .menu-toggle > span::before,
  .menu-toggle > span::after {
    position: absolute;
    left: 0;
  }

  .menu-toggle > span::before {
    top: -7px;
  }

  .menu-toggle > span::after {
    top: 7px;
  }

  .menu-open .menu-toggle > span {
    background: transparent;
  }

  .menu-open .menu-toggle > span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle > span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.2px;
    font-weight: 720;
    line-height: 1.1;
  }

  .mobile-language-switcher a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    cursor: pointer;
  }

  .mobile-language-switcher a.is-active {
    color: var(--accent-dark);
  }

  .header-foot {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-areas:
      "intro"
      "portrait"
      "title";
    min-height: 0;
    padding-top: 28px;
    overflow: visible;
  }

  .language-switcher {
    display: none;
  }

  .hero-side {
    position: static;
    grid-area: intro;
    width: min(100%, 460px);
    margin-top: 0;
    font-size: 20.4px;
  }

  .round-link {
    margin-top: 12px;
  }

  .portrait-stage {
    position: relative;
    grid-area: portrait;
    top: auto;
    right: auto;
    left: auto;
    width: min(calc(80% + 22.4px), 496px);
    justify-self: center;
    margin-top: 20px;
    margin-left: 0;
    transform: none;
  }

  .portrait-stage img {
    width: 100%;
  }

  .hero h1 {
    position: static;
    grid-area: title;
    margin: 12px 0 48px;
    font-size: clamp(52px, 16.5vw, 68px);
  }

  .hero h1 span {
    width: auto;
  }

  .hero h1 span:nth-child(2),
  .hero h1 span:nth-child(3) {
    margin-left: 0;
  }

  .manifesto,
  .areas,
  .projects,
  .journey,
  .education,
  .publications,
  .media {
    padding-top: 84px;
  }

  .manifesto {
    padding-top: 64px;
  }

  .areas,
  .projects {
    padding-top: 96px;
  }

  .areas,
  .projects,
  .education,
  .publications,
  .media,
  .journey {
    display: block;
  }

  .manifesto-lead {
    margin: 0 0 46px;
    font-size: clamp(36px, 10.8vw, 42px);
  }

  .manifesto-foot {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 0 44px;
  }

  .manifesto + .areas {
    padding-top: 72px;
  }

  .section-title {
    position: static;
    margin-bottom: 38px;
    font-size: 28px;
  }

  .areas-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .areas-list article {
    gap: 14px;
    margin-bottom: 0;
    padding: 0;
  }

  .areas-list h3 {
    font-size: clamp(34px, 9.7vw, 38px);
  }

  .projects-intro {
    margin-bottom: 16px;
    font-size: clamp(28px, 7.8vw, 32px);
  }

  .projects-role {
    margin-bottom: 44px;
    font-size: 17px;
  }

  .project-group + .project-group {
    margin-top: 88px;
  }

  .project-group-title {
    margin-bottom: 32px;
    font-size: 22px;
  }

  .project-list article {
    margin-bottom: 32px;
  }

  .project-link {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-thumbnail {
    width: 100%;
  }

  .project-copy {
    gap: 12px;
  }

  .project-link:hover,
  .publication-link:hover {
    transform: none;
  }

  .project-link h4 {
    font-size: clamp(34px, 9.8vw, 38px);
  }

  .project-specials {
    grid-template-columns: 1fr;
    gap: 76px;
    margin-top: 96px;
  }

  .project-specials article {
    gap: 18px;
  }

  .project-specials article > h3 {
    font-size: 28px;
  }

  .project-special-link {
    gap: 14px;
  }

  .project-special-link h4 {
    font-size: clamp(34px, 9.8vw, 38px);
  }

  .projects {
    padding-bottom: 76px;
  }

  .journey {
    padding-inline: 14px;
    padding-bottom: 76px;
  }

  .journey-grid {
    min-width: 0;
  }

  .journey-statement {
    margin: 0;
    font-size: clamp(36px, 10.8vw, 42px);
  }

  .journey-head {
    gap: 14px;
    margin-bottom: 42px;
  }

  .timeline {
    grid-auto-columns: min(82vw, 300px);
    -webkit-overflow-scrolling: touch;
  }

  .timeline h4 {
    font-size: 18px;
  }

  .timeline-copy p {
    font-size: 13px;
  }

  .education {
    padding-bottom: 80px;
  }

  .education-list {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .education-list article {
    gap: 9px;
  }

  .education-institutions {
    gap: 12px 20px;
    margin-top: 7px;
  }

  .education-institutions img {
    max-width: 145px;
    height: 25px;
  }

  .education-list h3 {
    font-size: clamp(28px, 8.7vw, 34px);
  }

  .publications {
    padding-bottom: 80px;
  }

  .publication-item {
    padding: 0;
  }

  .publication-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .publication-item.is-featured {
    margin-bottom: 10px;
  }

  .publication-item.is-featured .publication-link {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .publication-cover-frame {
    width: min(72vw, 260px);
  }

  .publication-heading,
  .publication-item.is-featured .publication-heading {
    font-size: clamp(28px, 8.2vw, 32px);
  }

  .media {
    padding-bottom: 52px;
  }

  .media-groups {
    gap: 76px;
  }

  .media-group-header {
    margin-bottom: 34px;
  }

  .media-group-header h3 {
    font-size: 28px;
  }

  .media-scroll-next {
    width: 44px;
    height: 44px;
  }

  .media-list {
    grid-auto-columns: min(82vw, 350px);
    gap: 24px;
    padding-bottom: 14px;
  }

  .media-item-link {
    font-size: clamp(22px, 6.7vw, 27px);
  }

  .media-cover {
    margin-bottom: 16px;
  }

  .footer {
    padding-top: 34px;
  }

  .footer > h2 {
    margin-bottom: 44px;
    font-size: clamp(44px, 13.5vw, 56px);
  }

  .contact-actions {
    gap: 28px;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }

  .contact-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .contact-primary a {
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    align-items: center;
    font-size: clamp(22px, 6.2vw, 29px);
  }

  .contact-primary a .link-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-social {
    gap: 12px 22px;
  }

  .contact-social a {
    min-height: 44px;
    align-items: center;
    font-size: 16px;
  }

  .press-kit-header {
    padding-top: 22px;
    padding-bottom: 72px;
  }

  .press-kit-kicker,
  .press-kit-language {
    margin-top: 52px;
  }

  .press-kit-portrait,
  .press-kit-section {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 88px;
  }

  .press-kit-language {
    grid-row: auto;
    margin: 0;
  }

  .press-kit-copy-block p {
    font-size: 17px;
  }

  .press-kit-contact {
    padding-bottom: 72px;
  }

  .wp-content {
    padding-block: 64px;
  }

}

@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready [data-reveal] {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
      opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
      transform 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
    will-change: opacity, transform;
  }

  html.reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}

@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  html.reveal-ready [data-reveal] {
    transform: translate3d(0, 10px, 0);
    transition-duration: 480ms;
  }

  html.reveal-ready [data-reveal].is-revealed {
    transform: translate3d(0, 0, 0);
  }
}

@media print {
  html.reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* WordPress integration */
.lang-content[hidden],
[data-lang][hidden] {
  display: none !important;
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}
