/* =========================================================
   MODIFIER ICI : couleurs
   Fond principal : #f4e8e8
   Accent : #e98c8c
   Texte : #191919
   Blanc doux : #fffafa
   ========================================================= */
:root {
  --color-bg: #f4e8e8;
  --color-accent: #e98c8c;
  --color-text: #191919;
  --color-card: #fffafa;
  --color-muted: rgba(25, 25, 25, 0.68);
  --color-line: rgba(25, 25, 25, 0.12);
  --shadow-soft: 0 24px 70px rgba(25, 25, 25, 0.08);
  --radius: 18px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(233, 140, 140, 0.24), transparent 32rem),
    var(--color-bg);
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Domine", Georgia, serif;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(244, 232, 232, 0.08);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(0);
  transition:
    background 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease,
    backdrop-filter 420ms ease;
}

.navbar.scrolled {
  background: rgba(255, 250, 250, 0.78);
  border-bottom-color: rgba(25, 25, 25, 0.07);
  box-shadow: 0 14px 42px rgba(25, 25, 25, 0.06);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--color-card);
  font-weight: 700;
  background: var(--color-accent);
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: rgba(25, 25, 25, 0.76);
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
  transition: transform 220ms ease;
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0;
  scroll-margin-top: 86px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 40px;
}

.hero.section {
  width: min(1680px, calc(100% - 80px));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  width: 100%;
}

.hero-kicker {
  margin-bottom: 22px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4.6rem, 9vw, 8.6rem);
  line-height: 0.92;
}

.hero h2 {
  max-width: 640px;
  margin-top: 30px;
  color: var(--color-text);
  font-size: clamp(1.55rem, 2.5vw, 2.55rem);
  font-weight: 600;
}

.accent-text {
  color: var(--color-accent);
  font-weight: 800;
}

.hero-text {
  max-width: 560px;
  margin-top: 26px;
  color: var(--color-muted);
  font-size: 1rem;
}

.pencil-underline {
  position: relative;
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
}

.pencil-underline::after {
  position: absolute;
  right: -2px;
  bottom: 1px;
  left: -2px;
  height: 7px;
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg width='220' height='12' viewBox='0 0 220 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8C42 2 78 6 118 5C158 4 188 2 218 7' stroke='%23e98c8c' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M4 10C48 6 84 9 122 8C158 7 188 6 216 9' stroke='%23e98c8c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  opacity: 0.9;
  transform: translateY(100%) rotate(-1.6deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  font-weight: 800;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(233, 140, 140, 0.24);
}

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

.button-secondary {
  color: var(--color-text);
  background: rgba(255, 250, 250, 0.52);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-projects-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  height: clamp(520px, 64vh, 720px);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.collage-column {
  min-width: 0;
  overflow: hidden;
}

.collage-track {
  display: grid;
  gap: clamp(12px, 1.5vw, 18px);
  animation: hero-project-scroll 24s linear infinite;
}

.collage-column-reverse .collage-track {
  animation-name: hero-project-scroll-reverse;
  animation-duration: 28s;
}

.hero-projects-collage img {
  width: 100%;
  height: clamp(170px, 21vh, 245px);
  min-height: 0;
  object-fit: cover;
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 22px 54px rgba(25, 25, 25, 0.08);
  filter: saturate(0.96) contrast(0.97);
}

.collage-column:nth-child(1) img:nth-child(2),
.collage-column:nth-child(1) img:nth-child(5),
.collage-column:nth-child(2) img:nth-child(1),
.collage-column:nth-child(2) img:nth-child(4),
.collage-column:nth-child(3) img:nth-child(3),
.collage-column:nth-child(3) img:nth-child(6) {
  height: clamp(230px, 28vh, 330px);
}

@keyframes hero-project-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-50% - clamp(6px, 0.75vw, 9px)));
  }
}

@keyframes hero-project-scroll-reverse {
  from {
    transform: translateY(calc(-50% - clamp(6px, 0.75vw, 9px)));
  }

  to {
    transform: translateY(0);
  }
}

.hero-scroll {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: clamp(28px, 4vw, 56px);
  color: var(--color-accent);
  font-size: 1.22rem;
  font-weight: 800;
  text-align: center;
  z-index: 2;
}

.hero-scroll a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  animation: arrow-bounce 1.5s ease-in-out infinite;
}

.hero-scroll span {
  display: block;
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(9px);
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.footer h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.section-title-block {
  position: relative;
  width: min(920px, 100%);
  max-width: 920px;
  margin-right: auto;
  margin-bottom: clamp(58px, 8vw, 96px);
  margin-left: auto;
  text-align: center;
}

.section-title-block::before,
.section-title-block::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.section-title-block::before {
  top: 14%;
  left: clamp(-8px, -2vw, -28px);
  width: clamp(74px, 10vw, 126px);
  height: clamp(74px, 10vw, 126px);
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M34 98C20 83 19 55 33 38C47 21 78 19 95 34C112 49 108 82 90 99C72 116 48 113 34 98Z' fill='%23e98c8c' fill-opacity='.15' stroke='%23e98c8c' stroke-opacity='.48' stroke-width='2.5'/%3E%3Cpath d='M44 84C54 64 67 51 88 42' stroke='%23996a55' stroke-opacity='.48' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55 72C48 67 43 60 41 52M68 60C61 54 57 46 56 38M78 52C76 44 76 37 79 30' stroke='%23996a55' stroke-opacity='.42' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  border: 0;
  transform: rotate(-12deg);
}

.section-title-block::after {
  top: 10%;
  right: clamp(-8px, -2vw, -28px);
  width: clamp(82px, 12vw, 148px);
  height: clamp(72px, 9vw, 118px);
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M42 82C25 62 35 29 58 23C83 17 88 42 105 43C124 44 133 68 119 86C101 109 59 103 42 82Z' fill='%23d8c8bd' fill-opacity='.7'/%3E%3Cpath d='M44 79C63 64 86 60 110 73' stroke='%23996a55' stroke-opacity='.54' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M55 46C61 58 64 70 63 85M73 37C80 54 82 70 78 91M94 45C99 57 101 69 98 84' stroke='%23996a55' stroke-opacity='.36' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  opacity: 0.78;
  transform: rotate(8deg);
}

.title-about::before {
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='64' cy='43' r='20' fill='%23e98c8c' fill-opacity='.2' stroke='%23996a55' stroke-opacity='.55' stroke-width='2'/%3E%3Cpath d='M28 105C34 78 48 64 64 64C81 64 96 79 102 105' fill='%23d8c8bd' fill-opacity='.62' stroke='%23996a55' stroke-opacity='.42' stroke-width='2'/%3E%3Cpath d='M101 30L106 41L118 46L106 51L101 62L96 51L84 46L96 41L101 30Z' stroke='%23e98c8c' stroke-opacity='.7' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-about::after {
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M52 87C35 65 42 35 66 28C92 20 117 38 119 64C121 91 70 111 52 87Z' fill='%23e98c8c' fill-opacity='.14'/%3E%3Cpath d='M46 78C66 64 87 60 108 73' stroke='%23996a55' stroke-opacity='.5' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-formations::before {
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 38C41 30 56 32 66 44V101C52 90 37 88 22 96V38Z' fill='%23d8c8bd' fill-opacity='.55' stroke='%23996a55' stroke-opacity='.5' stroke-width='2'/%3E%3Cpath d='M66 44C77 32 92 30 109 38V96C94 88 79 90 66 101V44Z' fill='%23e98c8c' fill-opacity='.15' stroke='%23996a55' stroke-opacity='.5' stroke-width='2'/%3E%3Cpath d='M36 52H54M36 64H55M78 52H96M78 64H97' stroke='%23996a55' stroke-opacity='.42' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-formations::after {
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M48 91L95 27L111 39L64 103L44 108L48 91Z' fill='%23e98c8c' fill-opacity='.18' stroke='%23996a55' stroke-opacity='.55' stroke-width='2'/%3E%3Cpath d='M88 36L104 48M50 91L64 102' stroke='%23996a55' stroke-opacity='.48' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-experiences::before {
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='25' y='48' width='80' height='50' rx='12' fill='%23d8c8bd' fill-opacity='.62' stroke='%23996a55' stroke-opacity='.5' stroke-width='2'/%3E%3Cpath d='M48 48V38C48 33 52 30 57 30H73C78 30 82 33 82 38V48M25 64H105' stroke='%23996a55' stroke-opacity='.52' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M57 64H73' stroke='%23e98c8c' stroke-opacity='.8' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-experiences::after {
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M73 100C49 86 39 61 47 36M77 100C102 86 111 61 103 36' stroke='%23996a55' stroke-opacity='.48' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M47 48C58 47 64 41 66 31M50 63C61 62 69 56 72 46M103 48C92 47 86 41 84 31M100 63C89 62 81 56 78 46' stroke='%23e98c8c' stroke-opacity='.55' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-projects::before {
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='24' y='32' width='82' height='66' rx='12' fill='%23e98c8c' fill-opacity='.14' stroke='%23996a55' stroke-opacity='.52' stroke-width='2'/%3E%3Cpath d='M24 50H106M42 42H43M54 42H55M66 42H67' stroke='%23996a55' stroke-opacity='.55' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M42 78C53 66 65 66 76 78C84 87 92 87 100 78' stroke='%23e98c8c' stroke-opacity='.75' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-projects::after {
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='45' y='32' width='66' height='66' rx='18' fill='%23d8c8bd' fill-opacity='.62'/%3E%3Cpath d='M58 51H97M58 65H97M58 79H82' stroke='%23996a55' stroke-opacity='.5' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M112 25L116 35L126 39L116 43L112 53L108 43L98 39L108 35L112 25Z' stroke='%23e98c8c' stroke-opacity='.7' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-skills::before {
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='42' cy='46' r='12' fill='%23e98c8c' fill-opacity='.32'/%3E%3Ccircle cx='82' cy='46' r='12' fill='%23d8c8bd' fill-opacity='.75'/%3E%3Ccircle cx='62' cy='82' r='12' fill='%23e98c8c' fill-opacity='.2'/%3E%3Cpath d='M52 46H72M48 57L57 72M76 57L67 72' stroke='%23996a55' stroke-opacity='.5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-skills::after {
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M45 69C63 50 85 50 104 69' stroke='%23996a55' stroke-opacity='.48' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M48 82C65 66 84 66 101 82' stroke='%23e98c8c' stroke-opacity='.62' stroke-width='2.2' stroke-linecap='round'/%3E%3Crect x='38' y='34' width='74' height='62' rx='16' fill='%23e98c8c' fill-opacity='.09' stroke='%23996a55' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-contact::before {
  background:
    url("data:image/svg+xml,%3Csvg width='130' height='130' viewBox='0 0 130 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='23' y='38' width='84' height='58' rx='14' fill='%23fffafa' fill-opacity='.2' stroke='%23e98c8c' stroke-opacity='.7' stroke-width='2'/%3E%3Cpath d='M27 48L65 72L103 48' stroke='%23e98c8c' stroke-opacity='.72' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M32 90L53 68M98 90L77 68' stroke='%23e98c8c' stroke-opacity='.45' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.title-contact::after {
  background:
    url("data:image/svg+xml,%3Csvg width='150' height='120' viewBox='0 0 150 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 76C71 50 99 50 120 76' stroke='%23e98c8c' stroke-opacity='.62' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M41 32L45 42L55 46L45 50L41 60L37 50L27 46L37 42L41 32Z' stroke='%23e98c8c' stroke-opacity='.62' stroke-width='2'/%3E%3Ccircle cx='75' cy='77' r='5' fill='%23e98c8c' fill-opacity='.45'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.section-title {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  color: var(--color-text);
  font-family: "Domine", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-title::after {
  display: block;
  width: clamp(94px, 12vw, 162px);
  height: 28px;
  margin: 24px auto 0;
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg width='170' height='30' viewBox='0 0 170 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 16C22 7 43 7 63 16C82 24 101 23 119 14C137 5 151 8 168 15' stroke='%23e98c8c' stroke-opacity='.6' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='82' cy='15' r='3' fill='%23996a55' fill-opacity='.5'/%3E%3Ccircle cx='95' cy='15' r='3' fill='%23996a55' fill-opacity='.35'/%3E%3C/svg%3E")
    center / contain no-repeat;
  opacity: 0.78;
}

.section-title span {
  color: var(--color-accent);
}

.footer-title-block {
  margin-bottom: 34px;
}

.footer .section-title {
  color: var(--color-card);
}

.footer .section-title span {
  color: var(--color-accent);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.about-text,
.photo-card,
.timeline-card,
.experience-card,
.project-card,
.skill-block,
.contact-form {
  background: rgba(255, 250, 250, 0.72);
  border: 1px solid rgba(25, 25, 25, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-text {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 56px);
  color: var(--color-muted);
  font-size: 1.05rem;
}

.about-intro {
  color: var(--color-text);
  font-family: "Domine", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
}

.about-intro span {
  position: relative;
  display: inline-block;
  padding: 0.34em 0.86em 0.38em;
  transform: rotate(-3deg);
}

.about-intro span::after {
  position: absolute;
  inset: -0.14em -0.28em -0.16em -0.3em;
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg width='230' height='76' viewBox='0 0 230 76' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 40C15 21 48 8 101 10C166 12 211 18 216 37C221 58 176 68 101 63C45 60 18 53 20 40Z' stroke='%23e98c8c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 42C14 24 50 12 105 12C169 12 213 22 212 39C211 58 174 65 100 61C42 58 19 52 16 42Z' stroke='%23e98c8c' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M22 37C29 18 61 11 110 12C166 13 201 20 210 35' stroke='%23e98c8c' stroke-width='1.2' stroke-linecap='round' stroke-opacity='.7'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  pointer-events: none;
}

.text-link {
  width: max-content;
  color: var(--color-text);
  font-weight: 800;
  border-bottom: 2px solid var(--color-accent);
}

.photo-card {
  position: relative;
  display: flex;
  padding: 18px;
}

.photo-card::after {
  position: absolute;
  top: -10px;
  right: -12px;
  width: 86px;
  height: 76px;
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg width='86' height='76' viewBox='0 0 86 76' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23e98c8c' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M57 5L61.5 18.5L75 23L61.5 27.5L57 41L52.5 27.5L39 23L52.5 18.5L57 5Z' stroke-width='2.5'/%3E%3Cpath d='M58 7L62 19L73 23.5L61 28L56 39L52 28L40.5 22.5L53 18.2L58 7Z' stroke-width='1.2' opacity='.55'/%3E%3Cpath d='M24 28L27 37L36 40L27 43L24 52L21 43L12 40L21 37L24 28Z' stroke-width='2.2'/%3E%3Cpath d='M24.5 30L27.5 37.5L34.5 40L27 43.5L23.5 50L21 43L13.5 40L21.5 37L24.5 30Z' stroke-width='1.1' opacity='.5'/%3E%3Cpath d='M62 50L64.5 57.5L72 60L64.5 62.5L62 70L59.5 62.5L52 60L59.5 57.5L62 50Z' stroke-width='2'/%3E%3Cpath d='M62.5 52L65 57.8L70.5 60L64.2 62.8L61.8 68L59.4 62.4L53.5 60L59.8 57.4L62.5 52Z' stroke-width='1' opacity='.5'/%3E%3C/g%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 14px;
}

.photo-title {
  margin-bottom: 6px;
  font-family: "Domine", Georgia, serif;
  font-size: 1.35rem;
  color: var(--color-text);
}

.photo-card p:not(.photo-title) {
  color: var(--color-muted);
}

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

.timeline-card,
.skill-block {
  padding: 28px;
}

.date {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline-card h3,
.experience-card h3,
.project-card h3,
.skill-block h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.timeline-card p,
.experience-card p,
.project-card p {
  color: var(--color-muted);
}

.experience-company {
  margin-top: 8px;
  font-weight: 700;
}

.experience-details {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--color-muted);
}

.experience-details li::marker {
  color: var(--color-accent);
}

.experience-list {
  display: grid;
  gap: 18px;
}

.experience-card {
  display: grid;
  grid-template-columns: 96px minmax(220px, 0.42fr) 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
}

.experience-logo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  background: var(--color-card);
  border: 1px solid rgba(25, 25, 25, 0.08);
  border-radius: 18px;
}

.experience-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

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

.project-card {
  overflow: hidden;
}

.project-image-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.project-image-button img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  background: var(--color-card);
  transition: transform 320ms ease, filter 320ms ease;
}

.project-image-button:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.project-content {
  display: grid;
  gap: 12px;
  padding: 24px;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.skill-groups {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.skill-group p {
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-group .tag-list {
  margin-top: 10px;
}

.tag-list span {
  display: inline-flex;
  padding: 10px 14px;
  color: rgba(25, 25, 25, 0.8);
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(233, 140, 140, 0.16);
  border: 1px solid rgba(233, 140, 140, 0.22);
  border-radius: 999px;
}

.footer {
  width: 100%;
  max-width: none;
  margin-top: 48px;
  padding-right: max(20px, calc((100% - var(--max-width)) / 2));
  padding-left: max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--color-text);
  color: var(--color-card);
}

.footer-content {
  display: grid;
  justify-items: center;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.footer-info > p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 250, 250, 0.74);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-card);
  background: var(--color-accent);
  border-radius: 50%;
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 4vw, 36px);
  color: var(--color-text);
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1px solid rgba(25, 25, 25, 0.14);
  border-radius: 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(233, 140, 140, 0.16);
}

.contact-form button {
  margin-top: 10px;
  cursor: pointer;
}

.form-note {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 54px);
  background: rgba(25, 25, 25, 0.72);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 360ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  object-fit: contain;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 360ms ease, opacity 360ms ease;
}

.lightbox.is-open .lightbox-image {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: var(--color-card);
  border: 1px solid rgba(25, 25, 25, 0.1);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 80px 18px auto 18px;
    display: grid;
    gap: 6px;
    padding: 18px;
    background: var(--color-card);
    border: 1px solid rgba(25, 25, 25, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-layout,
  .about-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-self: start;
    max-width: 520px;
  }

  .hero-projects-collage {
    height: 440px;
  }

  .timeline,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .experience-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .experience-logo {
    width: 78px;
    height: 78px;
  }

  .experience-logo img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 82px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero.section {
    width: min(100% - 28px, var(--max-width));
  }

  .hero h1 {
    font-size: clamp(4rem, 21vw, 6.2rem);
  }

  .hero-projects-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 420px;
    gap: 8px;
  }

  .hero-projects-collage .collage-column:nth-child(3) {
    display: none;
  }

  .collage-track {
    gap: 8px;
  }

  .hero-projects-collage img,
  .collage-column:nth-child(1) img:nth-child(2),
  .collage-column:nth-child(1) img:nth-child(5),
  .collage-column:nth-child(2) img:nth-child(1),
  .collage-column:nth-child(2) img:nth-child(4),
  .collage-column:nth-child(3) img:nth-child(3),
  .collage-column:nth-child(3) img:nth-child(6) {
    height: 160px;
  }

  .section-title-block {
    margin-bottom: 54px;
  }

  .section-title-block::before {
    width: 58px;
    height: 58px;
  }

  .section-title-block::after {
    width: 62px;
    height: 54px;
  }

  .section-title {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
    letter-spacing: -0.02em;
  }

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

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

  .footer {
    padding-top: 82px;
    padding-bottom: 82px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
