:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", serif;
  --bg: #efeee9;
  --ink: #1a1716;
  --copy: rgba(26, 23, 22, 0.7);
  --hairline: rgba(26, 23, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #f2f0e9;
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

::selection {
  background-color: #1c1917;
  color: #f2f0e9;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1200;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f39a35 0%, #f2580d 100%);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 120ms linear;
}

.wrap {
  width: min(1240px, calc(100% - 120px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 240, 233, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(26, 23, 22, 0.14);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 23, 22, 0.35);
  border-radius: 8px;
  background: transparent;
  padding: 9px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(26, 23, 22, 0.86);
  transition: transform 180ms ease, opacity 160ms ease;
}

.nav-toggle span + span {
  margin-top: 6px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: rgba(26, 23, 22, 0.7);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
  transition: color 220ms ease;
}

.nav-link:hover {
  color: rgba(26, 23, 22, 0.88);
}

.nav-link.is-active {
  color: rgba(26, 23, 22, 0.96);
}

.nav-cta {
  justify-self: end;
  text-decoration: none;
  color: rgba(26, 23, 22, 0.9);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
  border: 1px solid rgba(26, 23, 22, 0.75);
  border-radius: 999px;
  padding: 12px 22px;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.site-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 16, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-modal-card {
  position: relative;
  width: min(620px, calc(100% - 44px));
  background: #f2f0e9;
  color: #1a1716;
  border: 1px solid rgba(26, 23, 22, 0.16);
  border-radius: 18px;
  padding: 30px 30px 24px;
  box-shadow: 0 22px 58px rgba(26, 23, 22, 0.24);
  transform: translateY(14px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-modal.is-open .site-modal-card {
  transform: translateY(0) scale(1);
}

.site-modal-title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.site-modal-close {
  margin-top: 24px;
  border: 1px solid rgba(26, 23, 22, 0.72);
  background: transparent;
  color: rgba(26, 23, 22, 0.92);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-modal-close:hover {
  background: rgba(26, 23, 22, 0.9);
  color: #f2f0e9;
}

.hero {
  padding: 48px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero-left {
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0 72px;
  position: relative;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(78px, 9vw, 142px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}

.hero-title-first {
  font-style: italic;
  font-weight: 500;
}

.hero-title-last {
  font-style: normal;
  font-weight: 400;
  margin-top: -2px;
  margin-left: 0.9em;
}

.hero-copy {
  margin-top: 34px;
  margin-left: auto;
  max-width: 560px;
  padding-left: 14px;
}

.hero-copy p {
  margin: 0;
  color: var(--copy);
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-weight: 300;
}

.hero-copy em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: rgba(26, 23, 22, 0.88);
}

.hero-divider {
  height: 1px;
  background: var(--hairline);
  margin: 34px 0 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
}

.hero-meta span {
  color: rgba(26, 23, 22, 0.6);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.scroll-line {
  width: 56px;
  height: 1px;
  background: rgba(26, 23, 22, 0.74);
  transform-origin: left center;
  animation: scrollLinePulse 1.7s ease-in-out infinite;
}

.scroll-text {
  color: rgba(26, 23, 22, 0.88);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
}

@keyframes scrollLinePulse {
  0%,
  100% {
    transform: scaleX(0.8);
    opacity: 0.65;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
}

.hero-image {
  width: min(560px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(26, 23, 22, 0.12);
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 1;
  transition: filter 320ms ease;
}

.hero-right:hover .hero-image,
.hero-image:hover {
  filter: grayscale(0%);
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, calc(30px + var(--parallax-y, 0px)), 0);
  transition:
    opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.anchor-section {
  height: 50vh;
}

.about-section {
  padding: 136px 0 108px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.98fr) minmax(620px, 1.52fr);
  gap: 82px;
  align-items: start;
}

.about-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 0.98;
  white-space: nowrap;
}

.about-title-col {
  padding-top: 6px;
}

.about-accent {
  display: block;
  width: 62px;
  height: 5px;
  background-color: #f97316;
  margin-top: 28px;
}

.about-facts {
  margin-top: 24px;
}

.about-facts p {
  margin: 0;
  color: rgba(28, 25, 23, 0.62);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.about-facts p + p {
  margin-top: 3px;
}

.about-fact-label {
  margin-top: 12px !important;
}

.about-fact-label:first-child {
  margin-top: 0 !important;
}

.about-fact-label,
.about-facts strong {
  font-weight: 500;
}

.about-copy-col p {
  margin: 0;
  color: rgba(28, 25, 23, 0.9);
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-weight: 300;
}

.about-copy-col p + p {
  margin-top: 42px;
}

.about-lead-letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.24em;
  line-height: 0;
}

.about-divider {
  height: 1px;
  background: rgba(28, 25, 23, 0.12);
  margin: 44px 0 34px;
}

.about-copy-col .about-tags {
  margin: 0;
  color: rgba(28, 25, 23, 0.55);
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.experience-section {
  padding: 64px 0 56px;
  background-color: #ffffff;
}

.experience-heading {
  display: flex;
  align-items: flex-end;
  margin-bottom: 76px;
}

.experience-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.1vw, 64px);
  font-style: normal;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.015em;
}


.experience-table {
  border-top: 2px solid rgba(28, 25, 23, 0.78);
}

.experience-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1.45fr;
  column-gap: 64px;
  align-items: start;
  padding: 50px 0 52px;
  border-bottom: 1px solid rgba(28, 25, 23, 0.12);
  transition: background-color 220ms ease;
}

.experience-year {
  margin: 0;
  color: rgba(28, 25, 23, 0.58);
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
}

.experience-role h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.5vw, 28px);
  font-style: italic;
  font-weight: 500;
  line-height: 0.98;
  white-space: nowrap;
  transition: color 220ms ease;
}

.experience-role p {
  margin: 8px 0 0;
  color: rgba(28, 25, 23, 0.74);
  font-size: 14px;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.experience-copy {
  margin: 0;
  color: rgba(28, 25, 23, 0.76);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.5;
  font-weight: 300;
}

.experience-row:hover {
  background-color: rgba(28, 25, 23, 0.03);
}

.experience-row:hover .experience-role h3 {
  color: #f2580d;
}

.skills-section {
  padding: 86px 0 94px;
}

.skills-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(560px, 1.45fr);
  gap: 52px;
  align-items: start;
}

.skills-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.1vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.015em;
}

.skills-right {
  padding-top: 6px;
}

.skills-line {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}

.skills-line + .skills-line {
  margin-top: 8px;
}

.skills-item {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
}

.skills-term {
  color: rgba(28, 25, 23, 0.32);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: 0.002em;
  white-space: nowrap;
  transition:
    color 220ms ease,
    font-style 220ms ease;
}

.skills-sep {
  color: rgba(28, 25, 23, 0.16);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.32;
  font-weight: 300;
  margin-left: 0.18em;
  margin-right: 0;
  padding: 0;
}

.skills-term:hover {
  color: #1a1716;
  font-style: italic;
}

.hobbies-section {
  background: #171312;
  color: #f3eee8;
  padding: 54px 0 74px;
}

.hobbies-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.hobbies-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 0.95;
}

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

.hobby-card {
  margin: 0;
  perspective: 1400px;
  contain: paint;
}

.hobby-flip {
  position: relative;
  aspect-ratio: 1.35;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.hobby-card.is-flipped .hobby-flip {
  transform: rotateY(180deg);
}

.hobby-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;
}

.hobby-front {
  display: block;
  transform: rotateY(0deg) translateZ(0.1px);
  opacity: 1;
  transition: opacity 180ms ease;
}

.hobby-back {
  transform: rotateY(180deg) translateZ(0.1px);
  background: #25211f;
  opacity: 0;
  transition: opacity 180ms ease;
}

.hobby-card.is-flipped .hobby-front {
  pointer-events: none;
  opacity: 0;
}

.hobby-card:not(.is-flipped) .hobby-back {
  pointer-events: none;
}

.hobby-card.is-flipped .hobby-back {
  opacity: 1;
}

.hobby-media {
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(243, 238, 232, 0.05);
  border: 1px solid rgba(243, 238, 232, 0.16);
  overflow: hidden;
  transform: translateZ(0);
}

.hobby-icon-image {
  width: clamp(92px, 8.5vw, 152px);
  height: clamp(92px, 8.5vw, 152px);
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(95%) sepia(6%) saturate(228%) hue-rotate(333deg) brightness(103%) contrast(95%);
  transform: translateZ(0) scale(1);
  transition: transform 320ms ease;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.hobby-card:not(.is-flipped):hover .hobby-front .hobby-icon-image {
  transform: scale(1.08);
}

.hobby-meta {
  border-top: 1px solid rgba(243, 238, 232, 0.16);
  margin-top: 16px;
  padding-top: 14px;
  padding-bottom: 6px;
  position: relative;
  min-height: 82px;
}

.hobby-label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #f39a35;
}

.hobby-name {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 2.85vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: #f3eee8;
}

.hobby-toggle {
  position: absolute;
  right: 0;
  top: 12px;
  color: rgba(243, 238, 232, 0.46);
  font-size: 18px;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: color 180ms ease;
}

.hobby-toggle:hover {
  color: rgba(243, 238, 232, 0.84);
}

.hobby-card.is-flipped .hobby-toggle {
  color: rgba(243, 238, 232, 0.84);
}

.hobby-back-inner {
  background: #25211f;
  border: 1px solid rgba(243, 238, 232, 0.2);
  min-height: 100%;
  height: 100%;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateZ(0);
  overflow: hidden;
}

.hobby-back-label {
  margin: 0;
  color: #f39a35;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hobby-back-text {
  margin: 18px 0 0;
  color: rgba(243, 238, 232, 0.8);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

.contact-footer-section {
  padding: 116px 0 96px;
}

.contact-footer-wrap {
  max-width: 860px;
  text-align: center;
}

.contact-footer-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(92px, 9vw, 154px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.contact-footer-text {
  margin: 56px auto 0;
  max-width: 780px;
  color: rgba(28, 25, 23, 0.72);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.55;
  font-weight: 300;
}

.contact-socials {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}

.contact-social {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-social-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.contact-social-icon svg {
  width: 29px;
  height: 29px;
  fill: rgba(28, 25, 23, 0.9);
}

.contact-social-label {
  color: rgba(28, 25, 23, 0.52);
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 500;
}

.contact-footer-copy {
  margin: 112px 0 0;
  color: rgba(28, 25, 23, 0.43);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
}

.contact-footer-copy a {
  color: inherit;
  text-decoration: none;
}

.contact-footer-copy a:hover {
  color: #1a1716;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1500px) {
  .wrap {
    width: min(1240px, calc(100% - 120px));
  }

  .about-title,
  .experience-title,
  .skills-title,
  .hobbies-title {
    font-size: clamp(36px, 3.5vw, 54px);
  }

  .experience-year {
    font-size: 13px;
  }

  .experience-role p {
    font-size: 13px;
  }

  .experience-copy {
    font-size: clamp(13px, 0.95vw, 16px);
  }

  .hobby-name {
    font-size: clamp(30px, 2.35vw, 42px);
  }

  .skills-term,
  .skills-sep {
    font-size: clamp(18px, 1.7vw, 24px);
  }

  .contact-footer-title {
    font-size: clamp(76px, 7vw, 122px);
  }

  .contact-footer-text {
    font-size: clamp(15px, 1.05vw, 18px);
  }
}

@media (max-width: 980px) {
  .wrap {
    width: min(1240px, calc(100% - 48px));
  }

  .site-header {
    padding-top: 26px;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    row-gap: 0;
    align-items: center;
  }

  .nav {
    grid-template-areas:
      "toggle . cta"
      "links links links";
    row-gap: 10px;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-block;
  }

  .nav-cta {
    grid-area: cta;
    font-size: 12px;
    padding: 10px 18px;
  }

  .site-modal-card {
    width: min(620px, calc(100% - 28px));
    border-radius: 14px;
    padding: 24px 20px 20px;
  }

  .site-modal-title {
    font-size: clamp(18px, 5.8vw, 26px);
  }

  .nav-links {
    grid-area: links;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 240ms ease, opacity 200ms ease;
    border-top: 1px solid transparent;
  }

  .site-header.nav-open .nav-links {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    border-top-color: rgba(26, 23, 22, 0.14);
    padding-top: 6px;
  }

  .nav-link {
    font-size: 12px;
    letter-spacing: 0.2em;
    padding: 10px 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 26px;
  }

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

  .hero-left {
    min-height: auto;
    display: block;
    padding-bottom: 48px;
  }

  .hero-title {
    margin-top: 34px;
    font-size: clamp(72px, 18vw, 112px);
    line-height: 0.9;
  }

  .hero-title-last {
    margin-left: 0.62em;
  }

  .hero-copy {
    margin-left: 0;
    max-width: 100%;
    padding-left: 0;
  }

  .hero-copy p {
    font-size: clamp(20px, 4.2vw, 24px);
  }

  .hero-meta {
    gap: 20px;
  }

  .hero-meta span {
    font-size: 11px;
  }

  .hero-right {
    justify-content: flex-start;
    padding-top: 0;
  }

  .scroll-hint {
    position: static;
    margin-top: 26px;
  }

  .scroll-text {
    font-size: 12px;
  }

  .about-section {
    padding: 72px 0 56px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-title {
    font-size: clamp(42px, 12vw, 62px);
  }

  .about-copy-col p {
    font-size: clamp(20px, 4.2vw, 24px);
    line-height: 1.65;
  }

  .about-copy-col p + p {
    margin-top: 28px;
  }

  .about-facts {
    margin-top: 16px;
  }

  .about-facts p {
    font-size: 12px;
  }

  .about-divider {
    margin: 34px 0 24px;
  }

  .about-copy-col .about-tags {
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  .experience-section {
    padding: 56px 0 44px;
  }

  .experience-heading {
    margin-bottom: 34px;
  }

  .experience-title {
    font-size: clamp(42px, 12vw, 62px);
    line-height: 0.92;
  }

  .experience-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0 34px;
  }

  .experience-year {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .experience-role h3 {
    font-size: clamp(24px, 8vw, 34px);
    white-space: normal;
  }

  .experience-role p {
    font-size: 11px;
    margin-top: 8px;
  }

  .experience-copy {
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.52;
  }

  .skills-section {
    padding: 62px 0 66px;
  }

  .skills-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .skills-right {
    padding-top: 0;
  }

  .skills-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .skills-line + .skills-line {
    margin-top: 2px;
  }

  .skills-term,
  .skills-sep {
    font-size: clamp(22px, 7.2vw, 32px);
    line-height: 1.16;
  }

  .skills-term {
    white-space: normal;
  }

  .hobbies-section {
    padding: 40px 0 52px;
  }

  .hobbies-heading {
    margin-bottom: 22px;
  }

  .hobbies-title {
    font-size: clamp(42px, 12vw, 62px);
  }

  .hobbies-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hobby-name {
    font-size: clamp(30px, 10vw, 44px);
  }

  .contact-footer-section {
    padding: 66px 0 60px;
  }

  .contact-footer-title {
    font-size: clamp(66px, 20vw, 94px);
  }

  .contact-footer-text {
    margin-top: 30px;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.55;
  }

  .contact-socials {
    margin-top: 44px;
    gap: 22px;
  }

  .contact-social-icon {
    width: 62px;
    height: 62px;
  }

  .contact-social-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-social-label {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .contact-footer-copy {
    margin-top: 72px;
    font-size: 10px;
    letter-spacing: 0.17em;
  }
}

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

  .scroll-progress {
    display: none;
  }

  .scroll-line {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-modal,
  .site-modal-card {
    transition: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  html,
  body {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .site-header {
    position: static;
    padding: 0 0 8mm;
  }

  .scroll-progress {
    display: none !important;
  }

  .site-modal {
    display: none !important;
  }

  .nav {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 4mm;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .about-section,
  .experience-section,
  .skills-section,
  .hobbies-section,
  .contact-footer-section {
    break-inside: avoid;
    page-break-inside: avoid;
    padding-top: 8mm;
    padding-bottom: 8mm;
  }

  .hobbies-section {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .hobby-media,
  .hobby-back-inner {
    background: #f7f7f7 !important;
    border-color: #d9d9d9 !important;
  }

  .hobby-card .hobby-flip {
    transform: rotateY(180deg) !important;
  }

  .hobby-card .hobby-front {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .hobby-card .hobby-back {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .hobby-toggle {
    display: none !important;
  }

  .hobby-name,
  .hobby-label,
  .hobby-back-text,
  .hobby-back-label {
    color: #111111 !important;
  }
}
