:root {
  --bg: #f7f3ec;
  --fg: #4d4d4d;
  --muted: #7a7066;
  --line: #d8cfc3;
  --accent: #d9a441;
  --panel-light: #f9f5ee;
  --panel-dark: #f2eadf;
  --card: #fffaf2;
  --max-width: 1200px;
  --page-gutter: 32px;
  --font-sans: "Manrope", "Helvetica Neue", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --nav-height: 0px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(140% 140% at 15% 15%, #fffdf7, #f5eee4 50%, #ebe1d4 100%);
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: pageFadeIn 0.55s ease forwards;
}

body.is-leaving {
  opacity: 0;
  animation: none;
  transition: opacity 0.28s ease;
}

img {
  width: 100%;
  display: block;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--page-gutter);
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 247, 0.78);
  border-bottom: 1px solid rgba(64, 52, 42, 0.08);
}

.nav__brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.3rem;
}

.nav__links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  align-items: center;
}

.nav__links a,
.nav__dropdown-trigger {
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after,
.nav__dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a:focus::after,
.nav__dropdown:hover .nav__dropdown-trigger::after,
.nav__dropdown:focus-within .nav__dropdown-trigger::after {
  width: 100%;
}

.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav__dropdown-trigger {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  min-width: 180px;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(64, 52, 42, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(31, 26, 22, 0.12);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__menu a {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

.nav__menu a:hover,
.nav__menu a:focus-visible {
  color: var(--accent);
}

.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu,
.nav__menu:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav.nav--solid {
  background: rgba(249, 245, 238, 0.96);
  border-bottom: 1px solid rgba(64, 52, 42, 0.12);
}

main {
  margin-top: var(--nav-height, 0px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  justify-items: start;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url("./Unforgotten Memory-1.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding: 64px 7vw;
  max-width: 640px;
  color: var(--fg);
  display: grid;
  gap: 20px;
  animation: floatIn 1.2s ease forwards;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(64, 52, 42, 0.14);
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  transition: all 0.35s ease;
  background: #fffaf2;
  backdrop-filter: blur(8px);
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  color: var(--fg);
  background: #fdf6ea;
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--fg);
}

.button--primary:hover,
.button--primary:focus-visible {
  filter: brightness(1.05);
}

.panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 80px 7vw;
  position: relative;
}

.panel--light {
  background: var(--panel-light);
  color: var(--fg);
}

.panel--dark {
  background: var(--panel-dark);
  color: var(--fg);
}

#contact {
  background: var(--statement-bg);
  color: var(--fg);
}

#contact .panel__content {
  max-width: none;
  width: 100%;
}

#contact .panel__tag {
  color: #7b7167;
}

.panel__content {
  max-width: 580px;
}

.panel__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.panel--light .panel__tag {
  color: #8c8379;
}

.panel p {
  margin: 0 0 12px;
}

.portfolio-page {
  margin-top: var(--nav-height, 0px);
}

.home-page {
  margin-top: var(--nav-height, 0px);
}

.home-section {
  scroll-margin-top: calc(var(--nav-height, 0px) + 24px);
}

.home-section--artworks {
  padding-top: 64px;
  background: var(--panel-light);
}

.section-heading {
  max-width: var(--max-width);
  margin: 0 auto 28px;
  padding: 0 var(--page-gutter);
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #4d4d4d;
  text-align: center;
}

.portfolio-hero {
  padding: 90px var(--page-gutter) 32px;
}

.portfolio-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(0.9rem, 1.7vw, 1.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 24px var(--page-gutter) 96px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.portfolio-tile {
  background: #f6efe6;
  border: 1px solid rgba(64, 52, 42, 0.14);
  border-radius: 0;
  aspect-ratio: 4 / 5;
  box-shadow: 0 16px 30px rgba(88, 63, 41, 0.12);
  overflow: hidden;
  color: inherit;
  display: block;
  padding: 0;
  width: 100%;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-tile--image img {
  height: 100%;
  object-fit: cover;
}

button.portfolio-tile--image {
  cursor: zoom-in;
}

button.portfolio-tile--image:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(32, 26, 22, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  max-width: min(94vw, 1240px);
}

.lightbox__media {
  position: relative;
  display: grid;
  align-items: center;
}

.lightbox__image {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 50%;
  background: rgba(32, 26, 22, 0.52);
  color: #fffaf2;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 14px;
}

.lightbox__nav--next {
  right: 14px;
}

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__caption {
  align-self: stretch;
  min-height: min(56vh, 420px);
  display: flex;
  align-items: flex-start;
  padding: 18px 16px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.16);
  color: #fffaf2;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.45s ease 0.08s, transform 0.45s ease 0.08s;
}

.lightbox.is-open .lightbox__image,
.lightbox.is-open .lightbox__caption {
  opacity: 1;
}

.lightbox.is-open .lightbox__image {
  transform: scale(1);
}

.lightbox.is-open .lightbox__image.is-dissolving {
  opacity: 0;
}

.lightbox.is-open .lightbox__caption {
  transform: translateX(0);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.42);
  border-radius: 50%;
  background: rgba(32, 26, 22, 0.52);
  color: #fffaf2;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.about-page {
  margin-top: var(--nav-height, 0px);
}

.contact-page {
  margin-top: var(--nav-height, 0px);
  min-height: calc(100vh - var(--nav-height, 0px));
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 90px var(--page-gutter) 96px;
  position: relative;
  overflow: hidden;
}

.contact-page__content {
  max-width: 760px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.about-hero {
  --about-bg: #f6f1e8;
  background: var(--about-bg);
}

.about-layout {
  display: grid;
  min-height: clamp(520px, 80vh, 900px);
}

.about-body {
  background: var(--about-bg);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  padding: 72px 7vw 100px;
  text-align: center;
}

.about-name {
  width: 100%;
  max-width: 912px;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4d4d4d;
  margin: 0 auto 10px;
  text-align: center;
}

.about-text-row {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(220px, 350px);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
}

.about-copy {
  display: grid;
  width: 100%;
  max-width: 520px;
  justify-items: center;
  gap: 16px;
}

.about-text {
  max-width: 520px;
  display: grid;
  gap: 2px;
  text-align: justify;
  color: #4b4037;
  font-size: 0.95rem;
  line-height: 1.45;
}

.about-image {
  background: var(--about-bg);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateY(12px);
}

.statement {
  --statement-bg: #f6f1e8;
  --statement-image-offset: 0px;
  background: var(--statement-bg);
  color: var(--fg);
  padding: 0;
}

.statement__layout {
  min-height: clamp(520px, 80vh, 900px);
}

.statement__image {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--statement-bg);
  position: relative;
  overflow: hidden;
}

.statement__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateY(42px);
}

.statement__body {
  background: var(--statement-bg);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  padding: 72px 7vw 100px;
  text-align: center;
}

.statement__line {
  width: 1px;
  height: 64px;
  background: rgba(72, 62, 52, 0.35);
}

.statement__content {
  max-width: 520px;
}

.statement__copy {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.statement__text-row {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 520px);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
}

.statement__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4d4d4d;
  margin-bottom: 12px;
}

.statement__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #4b4037;
  text-align: justify;
}

.statement__text--intro {
  font-size: 1.02rem;
}

.statement__divider {
  width: 26px;
  height: 1px;
  background: rgba(72, 62, 52, 0.35);
  margin: 18px auto;
}

.statement__text--emphasis {
  font-style: italic;
  color: #6f655b;
}

.cv-section {
  background: var(--panel-light);
  padding: 86px var(--page-gutter) 100px;
}

.cv-section__inner {
  max-width: 980px;
  margin: 0 auto;
}

.cv-section .section-heading {
  margin-bottom: 48px;
}

.cv-list {
  display: grid;
  gap: 22px;
  color: #4b4037;
}

.cv-list__group {
  display: grid;
  gap: 10px;
}

.cv-list__group h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4d4d4d;
  border-bottom: 1px solid #4d4d4d;
  line-height: 1.2;
}

.cv-list__group p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cv-entry {
  display: grid;
  gap: 2px;
}

.cv-entry__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
}

.cv-entry__main strong {
  font-weight: 600;
  color: #1f1f1f;
}

.cv-entry__main em {
  color: #1f1f1f;
  font-style: italic;
}

.cv-entry__main a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 77, 77, 0.45);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cv-entry__main a:hover,
.cv-entry__main a:focus-visible {
  color: #4d4d4d;
  border-color: currentColor;
}

.cv-entry__date {
  color: #7b7167;
  font-weight: 600;
  white-space: nowrap;
}

.cv-entry ul {
  margin: 0;
  padding-left: 18px;
}

.cv-entry li {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.4;
}

.cv-list__skills {
  display: block;
}

.muted {
  color: #7a7066;
}

.frame {
  border: 1px solid #d8cfc3;
  padding: 12px;
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

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

.caption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #7f756a;
}

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

.card {
  background: #111111;
  border: none;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 28px rgba(88, 63, 41, 0.28);
  transition: box-shadow 0.4s ease;
}

.card:hover {
  box-shadow: 0 20px 44px rgba(88, 63, 41, 0.38);
}

.card__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  will-change: transform, filter;
}

.card__media video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.card__media--video {
  position: relative;
  overflow: hidden;
}

.card__cover,
.card__video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.card__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card__cover {
  transition: opacity 0.3s ease;
}

.card.is-hovered .card__video {
  opacity: 1;
}

.card.is-hovered .card__cover {
  opacity: 0;
}

.card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  color: #f1e9dc;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 20px;
}

.card:hover .card__media img {
  transform: scale(1.06);
  filter: blur(3px);
}

.card:hover .card__overlay {
  opacity: 1;
}

.timeline {
  display: grid;
  gap: 18px;
  border-left: 1px solid rgba(48, 38, 28, 0.12);
  padding-left: 18px;
}

.panel--dark .timeline {
  border-color: rgba(48, 38, 28, 0.16);
}

.timeline__item {
  display: grid;
  gap: 4px;
  grid-template-columns: 120px 1fr;
  align-items: start;
}

.timeline__year {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.85rem;
}

.timeline__title {
  font-weight: 600;
}

.timeline__meta {
  color: var(--muted);
}

.contact {
  margin: 18px auto 0;
  width: 100%;
  max-width: 680px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.contact--bar {
  margin-top: 18px;
  max-width: none;
  justify-items: stretch;
  text-align: left;
}

.contact__label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact__value {
  font-size: 1.05rem;
  line-height: 1.4;
}

.contact__message {
  margin: 0;
  color: #4b4037;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.8;
}

.contact-form {
  width: min(100%, 520px);
  display: grid;
  gap: 14px;
  margin-top: 14px;
  text-align: left;
}

.contact-form__field {
  display: grid;
  gap: 6px;
  color: #5f554c;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(64, 52, 42, 0.18);
  background: rgba(255, 250, 242, 0.72);
  color: var(--fg);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  padding: 12px 14px;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18);
}

.contact-form__submit {
  justify-self: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--fg);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 12px 22px;
  text-transform: uppercase;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.contact__line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
  justify-content: space-between;
}

.contact__primary {
  display: flex;
  align-items: center;
  gap: 46px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 1;
}

.contact__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact__link:hover,
.contact__link:focus-visible,
.contact__link:hover,
.contact__link:focus-visible {
  color: var(--accent);
  border-color: currentColor;
}

.contact__social-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.contact__social-link:hover,
.contact__social-link:focus-visible {
  color: var(--accent);
}

.contact__social-icon {
  width: 2em;
  height: 2em;
  display: inline-block;
  flex-shrink: 0;
}

.contact__inline-icon {
  width: 2em;
  height: 2em;
  display: inline-block;
  flex-shrink: 0;
}

.contact__social {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 7vw 40px;
  background: #f2eadf;
  color: #746a61;
  border-top: 1px solid rgba(64, 52, 42, 0.12);
}

.footer__links {
  display: flex;
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 800px) {
  :root {
    --page-gutter: 18px;
  }
  .nav {
    padding: 14px var(--page-gutter);
  }
  .nav__links {
    gap: 12px;
    font-size: 0.88rem;
  }
  .hero__content,
  .panel {
    padding: 56px 6vw;
  }
  .statement__body {
    padding: 56px 6vw 80px;
    gap: 22px;
  }
  .statement__layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .statement__text-row {
    grid-template-columns: 1fr;
  }
  .statement__image {
    order: -1;
  }
  .statement__image img {
    height: auto;
    max-height: 70vh;
  }
  .statement__line {
    height: 48px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .card__media img {
    height: auto;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .lightbox__content {
    grid-template-columns: 1fr;
  }
  .lightbox__caption {
    text-align: center;
  }
  .about-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .about-text-row {
    grid-template-columns: 1fr;
  }
  .about-body {
    padding: 56px 6vw 80px;
    gap: 22px;
  }
  .about-image {
    order: -1;
  }
  .about-image img {
    height: auto;
    max-height: 70vh;
  }
}
