@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/yekan-bakh-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/yekan-bakh-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/yekan-bakh-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2efe8;
  --paper-bright: #fbfaf6;
  --ink: #171714;
  --ink-soft: #5e5d58;
  --line: #c9c6bd;
  --blue: #3155f5;
  --blue-soft: #dce3ff;
  --coral: #ff6747;
  --yellow: #f0cb36;
  --teal: #2fb8b8;
  --container: 1240px;
  --header-height: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yekan Bakh", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: #fff;
  background: var(--blue);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd,
ol {
  margin-block-start: 0;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 300;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.page-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 400;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--blue));
  transform: scaleX(0);
  transform-origin: right center;
}

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

.profile-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-height);
  border-block-end: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.profile-header.is-scrolled {
  background: rgba(242, 239, 232, 0.88);
  border-block-end-color: rgba(23, 23, 20, 0.14);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 30px;
}

.profile-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.profile-brand img {
  width: auto;
  height: 43px;
  object-fit: contain;
}

.profile-nav {
  display: flex;
  margin-inline-start: auto;
  align-items: center;
  gap: 24px;
}

.profile-nav a,
.header-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.profile-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 6px;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 220ms var(--ease-out);
}

.profile-nav a:hover::after,
.profile-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-link {
  min-width: 126px;
  justify-content: center;
  padding-inline: 16px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: Arial, sans-serif;
  font-size: 0.79rem;
  letter-spacing: 0.04em;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.header-link:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.profile-hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: center;
  overflow: clip;
  padding-block: calc(var(--header-height) + 72px) 92px;
  border-block-end: 1px solid var(--ink);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.55;
  background-image: linear-gradient(rgba(23, 23, 20, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 20, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.profile-hero::before {
  content: "";
  position: absolute;
  inset-block-start: 12%;
  inset-inline-start: -11%;
  z-index: -1;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(49, 85, 245, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(49, 85, 245, 0.04), 0 0 0 150px rgba(255, 103, 71, 0.025);
  animation: orbitBreathe 9s ease-in-out infinite alternate;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.profile-kicker,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.profile-kicker span {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 103, 71, 0.15);
}

.hero-copy h1 {
  max-inline-size: 11ch;
  margin-block-end: 28px;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--blue);
  font-style: normal;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  inset-inline: 2%;
  inset-block-end: -5px;
  height: 9px;
  background: var(--yellow);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-role {
  max-inline-size: 650px;
  margin-block-end: 30px;
  color: #3e3d38;
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--ease-out);
}

.profile-button svg {
  width: 18px;
  height: 18px;
}

.profile-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
}

.profile-button--dark {
  color: #fff;
  background: var(--ink);
}

.profile-button--dark:hover {
  color: var(--ink);
  background: var(--yellow);
}

.profile-button--outline {
  background: transparent;
}

.profile-button--outline:hover {
  background: var(--paper-bright);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  margin-block: 46px 0;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--ink);
}

.hero-facts div {
  padding-inline: 15px;
}

.hero-facts div:first-child {
  padding-inline-start: 0;
}

.hero-facts div:not(:last-child) {
  border-inline-end: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.portrait-stage {
  position: relative;
  min-height: 620px;
  margin: 0;
  perspective: 1200px;
}

.portrait-frame {
  position: absolute;
  inset-block-start: 4%;
  inset-inline-start: 9%;
  z-index: 3;
  width: min(500px, 85%);
  aspect-ratio: 1;
  overflow: hidden;
  background: #d3d3ce;
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 18px 18px 0 var(--ink);
  transform: translate3d(var(--portrait-x, 0), var(--portrait-y, 0), 28px) rotate(-2deg);
  transition: transform 500ms var(--ease-out), box-shadow 300ms ease;
}

.portrait-frame:hover {
  box-shadow: 12px 12px 0 var(--blue);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: filter 300ms ease, scale 700ms var(--ease-out);
}

.portrait-frame:hover img {
  filter: saturate(1) contrast(1.02);
  scale: 1.025;
}

.portrait-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.portrait-shape--blue {
  inset-block-start: 0;
  inset-inline-end: 1%;
  width: 46%;
  height: 38%;
  background: var(--blue);
  transform: translate3d(var(--shape-blue-x, 0), var(--shape-blue-y, 0), 0) rotate(7deg);
  animation: shapeFloat 7s ease-in-out infinite;
}

.portrait-shape--coral {
  inset-block-end: 10%;
  inset-inline-start: 0;
  width: 40%;
  aspect-ratio: 1;
  background: var(--coral);
  border-radius: 50%;
  transform: translate3d(var(--shape-coral-x, 0), var(--shape-coral-y, 0), 0);
  animation: shapeFloat 8s -3s ease-in-out infinite reverse;
}

.portrait-stage figcaption {
  position: absolute;
  inset-inline-end: 2%;
  inset-block-end: 1%;
  z-index: 5;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  transform: rotate(2deg);
}

.portrait-stage figcaption span:first-child {
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.portrait-stamp {
  position: absolute;
  inset-block-start: 10%;
  inset-inline-start: -5%;
  z-index: 6;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  gap: 0;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-align: center;
  transform: rotate(-10deg);
  animation: stampRotate 18s linear infinite;
}

.word-track {
  overflow: hidden;
  color: #fff;
  background: var(--blue);
  border-block-end: 1px solid var(--ink);
}

.word-track-inner {
  width: max-content;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: 24px;
  animation: wordFlow 30s linear infinite;
}

.word-track span {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  white-space: nowrap;
}

.word-track i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--yellow);
  transform: rotate(45deg);
}

.profile-section {
  position: relative;
  padding-block: clamp(90px, 11vw, 160px);
  border-block-end: 1px solid var(--ink);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.95fr) minmax(360px, 1.05fr);
  grid-template-areas: "index heading quote" "index copy copy";
  gap: 50px clamp(40px, 6vw, 90px);
  align-items: start;
}

.section-index {
  grid-area: index;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.section-heading {
  grid-area: heading;
}

.section-label {
  color: var(--coral);
}

.section-heading h2,
.details-heading h2 {
  max-inline-size: 14ch;
  margin-block-end: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.profile-quote {
  grid-area: quote;
  margin: 0;
  padding: 28px;
  color: #fff;
  background: var(--blue);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.75;
  transform: rotate(1.2deg);
}

.about-copy {
  grid-area: copy;
  max-width: 900px;
  margin-inline-start: auto;
  columns: 2;
  column-gap: clamp(32px, 5vw, 68px);
  color: #41403b;
  font-size: 1.08rem;
}

.about-copy p {
  break-inside: avoid;
  margin-block-end: 20px;
}

.focus-section {
  color: #fff;
  background: var(--ink);
}

.focus-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.2fr) minmax(0, 1fr);
  grid-template-areas: "index heading";
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  margin-block-end: 70px;
}

.focus-heading .section-index {
  grid-area: index;
}

.focus-heading .section-heading {
  grid-area: heading;
  min-width: 0;
}

.section-index--light {
  color: var(--yellow);
}

.section-heading--light h2 {
  color: #fff;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.focus-card {
  position: relative;
  min-height: 285px;
  padding: 34px;
  color: var(--ink);
  background: var(--paper-bright);
  border: 2px solid #fff;
  transition: color 260ms ease, background-color 260ms ease, transform 300ms var(--ease-out);
}

.focus-card:nth-child(2) {
  transform: translateY(26px);
}

.focus-card:nth-child(3) {
  transform: rotate(-1deg);
}

.focus-card:nth-child(4) {
  transform: translateY(26px) rotate(1deg);
}

.focus-card:hover {
  color: #fff;
  background: var(--blue);
  transform: translate(-5px, -5px);
}

.focus-card > span {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-end: 26px;
  color: var(--coral);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.focus-card h3 {
  max-inline-size: 14ch;
  margin-block: 74px 18px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.2;
}

.focus-card p {
  max-inline-size: 48ch;
  margin-block-end: 0;
  color: var(--ink-soft);
}

.focus-card:hover p,
.focus-card:hover > span {
  color: #fff;
}

.approach-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 100px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.approach-flow li {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px;
}

.approach-flow li:not(:last-child) {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.35);
}

.approach-flow span {
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
}

.approach-flow strong {
  font-size: 1.15rem;
}

.approach-flow small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.75;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(58px, 9vw, 130px);
  align-items: start;
}

.journey-intro {
  position: sticky;
  inset-block-start: calc(var(--header-height) + 50px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
}

.journey-intro .section-index {
  grid-area: auto;
  font-size: clamp(4rem, 8vw, 7rem);
}

.journey-intro .section-heading {
  grid-area: auto;
}

.journey-note {
  grid-column: 2;
  color: var(--ink-soft);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-block: 16px;
  inset-inline-start: 130px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 44px;
  padding-block: 0 52px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset-block-start: 7px;
  inset-inline-start: 124px;
  width: 13px;
  height: 13px;
  background: var(--paper);
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.timeline-item time {
  color: var(--ink-soft);
  font-family: Arial, "Yekan Bakh", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.timeline-item h3 {
  margin-block-end: 2px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.timeline-role {
  margin-block-end: 10px;
  color: var(--blue);
  font-weight: 700;
}

.timeline-item div > p:last-child {
  margin-block-end: 0;
  color: var(--ink-soft);
}

.profile-details {
  background: var(--paper-bright);
}

.details-heading {
  display: flex;
  margin-block-end: 58px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.details-heading .section-label {
  margin: 0;
}

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

.detail-card {
  min-height: 280px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--ink);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.detail-card:hover {
  transform: translateY(-7px);
  box-shadow: 8px 8px 0 var(--ink);
}

.detail-card--wide {
  grid-column: span 2;
}

.detail-card--blue {
  color: #fff;
  background: var(--blue);
}

.detail-card--coral {
  background: var(--coral);
}

.detail-card > span {
  display: block;
  margin-block-end: 52px;
  font-size: 0.73rem;
  font-weight: 700;
}

.detail-card h3 {
  margin-block-end: 14px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.detail-card p {
  margin-block-end: 0;
}

.contact-section {
  padding-block: clamp(90px, 11vw, 150px);
  color: #fff;
  background: var(--blue);
  border-block-end: 1px solid var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 82px);
  align-items: end;
}

.contact-mark {
  color: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.08em;
}

.contact-copy h2 {
  max-inline-size: 18ch;
  margin-block-end: 20px;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.contact-copy p:last-child {
  max-inline-size: 62ch;
  margin-block-end: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .section-label {
  color: var(--yellow);
}

.contact-actions {
  max-width: 220px;
}

.contact-actions .profile-button {
  width: 100%;
}

.profile-button--coral {
  color: var(--ink);
  background: var(--coral);
}

.profile-button--light {
  color: var(--ink);
  background: #fff;
}

.profile-footer {
  padding-block: 30px;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  gap: 20px;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--blue);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbitBreathe {
  from { transform: scale(0.96) rotate(0deg); }
  to { transform: scale(1.04) rotate(8deg); }
}

@keyframes shapeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes stampRotate {
  to { rotate: 360deg; }
}

@keyframes wordFlow {
  to { transform: translateX(50%); }
}

@media (max-width: 1060px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(3.3rem, 7.6vw, 5.8rem);
  }

  .portrait-stage {
    min-height: 520px;
  }

  .editorial-grid {
    grid-template-columns: 110px 1fr 1fr;
    gap: 42px;
  }

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

  .contact-actions {
    grid-column: 2;
    max-width: none;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .profile-container {
    width: min(calc(100% - 32px), var(--container));
  }

  .profile-nav {
    display: none;
  }

  .header-link {
    margin-inline-start: auto;
  }

  .profile-hero {
    min-height: auto;
    padding-block-start: calc(var(--header-height) + 56px);
  }

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

  .hero-copy h1 {
    max-inline-size: 13ch;
  }

  .portrait-stage {
    min-height: min(620px, 92vw);
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .editorial-grid {
    grid-template-columns: 90px 1fr;
    grid-template-areas: "index heading" "quote quote" "copy copy";
  }

  .about-copy {
    columns: 1;
  }

  .focus-heading {
    grid-template-columns: 90px 1fr;
  }

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

  .focus-card:nth-child(n) {
    transform: none;
  }

  .focus-card:hover {
    transform: translateY(-5px);
  }

  .approach-flow {
    grid-template-columns: 1fr;
    margin-block-start: 60px;
  }

  .approach-flow li:not(:last-child) {
    border-inline-end: 0;
    border-block-end: 1px solid rgba(255, 255, 255, 0.35);
  }

  .journey-intro {
    position: static;
  }

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

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

@media (max-width: 560px) {
  .profile-brand img {
    height: 36px;
  }

  .header-link {
    min-width: 112px;
    padding-inline: 12px;
  }

  .profile-hero {
    padding-block-end: 64px;
  }

  .hero-copy h1 {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
    line-height: 1;
  }

  .hero-copy h1 em::after {
    height: 6px;
  }

  .hero-actions,
  .hero-actions .profile-button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-facts div {
    padding: 0 0 12px;
    border-inline-end: 0 !important;
    border-block-end: 1px solid var(--line);
  }

  .portrait-frame {
    inset-inline-start: 6%;
    width: 86%;
    box-shadow: 10px 10px 0 var(--ink);
  }

  .portrait-stamp {
    inset-inline-start: 0;
    width: 86px;
    height: 86px;
    font-size: 0.52rem;
  }

  .portrait-stage figcaption {
    inset-inline-end: 0;
  }

  .profile-section {
    padding-block: 82px;
  }

  .editorial-grid,
  .focus-heading,
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 28px;
  }

  .section-index,
  .section-heading,
  .profile-quote,
  .about-copy,
  .contact-mark,
  .contact-copy,
  .contact-actions {
    grid-area: auto;
    grid-column: auto;
  }

  .focus-heading .section-index,
  .focus-heading .section-heading {
    grid-area: auto;
  }

  .section-index,
  .contact-mark {
    font-size: 4.8rem;
  }

  .section-heading h2,
  .details-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  .focus-card {
    min-height: 250px;
    padding: 26px;
  }

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

  .journey-note {
    grid-column: 1;
  }

  .timeline::before {
    inset-inline-start: 7px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-inline-start: 32px;
  }

  .timeline-item::before {
    inset-inline-start: 1px;
  }

  .details-heading {
    display: block;
  }

  .details-heading .section-label {
    margin-block-end: 16px;
  }

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

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

  .contact-actions {
    max-width: none;
  }

  .contact-actions .profile-button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .portrait-frame,
  .portrait-shape {
    transform: none !important;
  }
}

@media print {
  .profile-header,
  .page-progress,
  .word-track,
  .hero-actions,
  .contact-actions {
    display: none !important;
  }

  .profile-hero,
  .profile-section,
  .contact-section {
    min-height: 0;
    padding-block: 40px;
    break-inside: avoid;
  }
}
