/* ============================================================
   Kim Pasquet — Portfolio
   Editorial · warm cream · ink · blush + rose pink details
   ============================================================ */

:root {
  --cream: #FAF6F2;
  --cream-2: #F3ECE4;
  --paper: #FFFDFB;
  --ink: #1F1A1A;
  --ink-soft: #4A4240;
  --ink-faint: #8A807C;
  --line: #E4D9CF;
  --blush: #E8B4BC;
  --rose: #C97B84;
  --rose-deep: #A65A64;
  --gold: #B89B6E;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

::selection { background: var(--blush); color: var(--ink); }

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

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--rose);
  display: inline-block;
}
.eyebrow .num { color: var(--ink-faint); }

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 22px;
}
.section-head h2 em { font-style: italic; color: var(--rose); }
.section-head .lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 560px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Scroll progress + nav ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blush), var(--rose));
  z-index: 200;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 246, 242, 0.82);
  backdrop-filter: blur(14px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.nav .brand {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 7px;
}
.nav .brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); display: inline-block; transform: translateY(2px); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400;
  color: var(--ink-soft); position: relative; padding-block: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--rose); transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

.lang-pill {
  /* Temporarily hidden until the French translation is finalised.
     Restore by switching display back to inline-flex. */
  display: none; border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
  font-size: 11.5px; letter-spacing: 0.12em; font-weight: 500;
}
.lang-pill button {
  background: none; border: none; cursor: pointer; padding: 7px 13px;
  color: var(--ink-faint); font-family: var(--sans); letter-spacing: inherit; font-weight: inherit;
  transition: background 0.3s, color 0.3s;
}
.lang-pill button.on { background: var(--rose); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); display: block; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 90px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero .avail {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: var(--rose-deep); margin-bottom: 26px;
}
.hero .avail .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--rose); position: relative;
}
.hero .avail .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rose);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3.2); opacity: 0; } }

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 11vw, 144px); line-height: 0.92; letter-spacing: -0.02em;
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero .role {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px);
  color: var(--ink-soft); margin-top: 22px; max-width: 30ch;
}
.hero .meta {
  display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
}
.hero .meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero .meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blush); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 15px 26px; border-radius: 100px; cursor: pointer; border: 1px solid var(--ink);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-fill { background: var(--ink); color: var(--cream); }
.btn-fill:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.btn-line { background: none; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* portrait */
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 20px;
  overflow: hidden; box-shadow: 0 30px 70px -40px rgba(31,26,26,0.4);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.ph {
  background-color: var(--cream-2);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(201,123,132,0.10) 9px, rgba(201,123,132,0.10) 10px);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.ph .ph-label {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); background: rgba(255,253,251,0.78); padding: 7px 12px; border-radius: 100px;
  border: 1px solid var(--line);
}
.portrait::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(201,123,132,0.35);
  border-radius: inherit; pointer-events: none;
}
.hero .portrait-wrap { position: relative; }
.hero .portrait-wrap .ring {
  position: absolute; inset: -22px; border: 1px solid var(--line); border-radius: 32px;
  z-index: -1;
}

/* marquee ticker */
.ticker {
  position: absolute; bottom: 0; left: 0; right: 0; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper);
  padding-block: 14px;
}
.ticker-track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .item {
  font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--ink-soft);
  padding-inline: 34px; display: inline-flex; align-items: center; gap: 34px;
}
.ticker .item::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.about-body p { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-soft); margin-bottom: 22px; }
.about-body p:first-child::first-letter {
  font-family: var(--serif); font-size: 5.6em; line-height: 0.72; float: left;
  padding: 8px 14px 0 0; color: var(--rose); font-weight: 500;
}
.pullquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.28; color: var(--ink); border-left: 2px solid var(--blush); padding-left: 26px; margin-block: 38px;
}
.softskills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  font-size: 12.5px; letter-spacing: 0.06em; padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.chip:hover { border-color: var(--rose); color: var(--rose-deep); transform: translateY(-2px); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat { background: var(--paper); padding: 28px 24px; }
.stat .n { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--ink); }
.stat .n .u { font-size: 0.4em; color: var(--rose); font-style: italic; margin-left: 4px; }
.stat .l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 12px; }

/* ---------- Experience timeline ---------- */
.timeline { border-top: 1px solid var(--line); }
.exp {
  border-bottom: 1px solid var(--line); padding: 28px clamp(16px, 2vw, 28px); cursor: pointer;
  display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: baseline;
  transition: background 0.4s var(--ease);
}
.exp:hover { background: var(--paper); }
.exp .yr { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; color: var(--rose-deep); font-weight: 500; padding-top: 8px; }
.exp .main h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 400; line-height: 1.1; }
.exp .main .org { font-size: 14px; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; margin-top: 6px; }
.exp .detail { max-height: 0; overflow: hidden; transition: max-height 0.55s var(--ease), opacity 0.45s var(--ease), margin 0.45s var(--ease); opacity: 0; }
.exp.open .detail { max-height: 240px; opacity: 1; margin-top: 16px; }
.exp .detail p { color: var(--ink-soft); max-width: 60ch; font-size: 16px; }
.exp .detail .loc { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-top: 10px; }
.exp .plus { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; flex: none; transition: 0.4s var(--ease); }
.exp .plus::before, .exp .plus::after { content: ""; position: absolute; background: var(--ink); transition: 0.4s var(--ease); }
.exp .plus::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.exp .plus::after { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.exp.open .plus { background: var(--rose); border-color: var(--rose); transform: rotate(135deg); }
.exp.open .plus::before, .exp.open .plus::after { background: #fff; }

/* ---------- Education ---------- */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.edu-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px;
  display: flex; flex-direction: column; min-height: 320px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.edu-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -34px rgba(31,26,26,0.35); border-color: var(--blush); }
.edu-card .yr { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.edu-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.12; margin-top: 14px; }
.edu-card .school { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.edu-card .flag { margin-top: auto; padding-top: 22px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 9px; }
.edu-card .flag .fe { font-family: "Noto Color Emoji", sans-serif; font-size: 18px; line-height: 1; }
.edu-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 16px; }
.edu-courses { margin-top: 20px; }
.edu-courses .ec-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
.edu-courses ul { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.edu-courses li { font-size: 14px; color: var(--ink-soft); line-height: 1.4; padding-left: 18px; position: relative; }
.edu-courses li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--blush); }

/* ---------- Toolkit tabs ---------- */
.toolkit { background: var(--paper); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 44px; flex-wrap: wrap; }
.tab {
  background: none; border: none; cursor: pointer; font-family: var(--sans);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-faint); padding: 14px 22px; position: relative; transition: color 0.3s;
}
.tab .c { font-family: var(--serif); font-style: italic; font-size: 12px; color: var(--rose); margin-left: 6px; }
.tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--rose); transition: width 0.4s var(--ease); }
.tab.active { color: var(--ink); }
.tab.active::after { width: 100%; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade 0.6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.lang-row { border-bottom: 1px solid var(--line); padding-block: 22px; display: grid; grid-template-columns: 200px 1fr 120px; gap: 20px; align-items: center; }
.lang-row:first-child { border-top: 1px solid var(--line); }
.lang-row .name { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.lang-row .name .sub { font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-top: 2px; }
.bar { height: 4px; background: var(--cream-2); border-radius: 100px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blush), var(--rose)); border-radius: 100px; transition: width 1.3s var(--ease); }
.lang-row .level { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-deep); text-align: right; }

.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 14px; }
.skill-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); transition: border-color 0.3s, transform 0.3s; }
.skill-item:hover { border-color: var(--blush); transform: translateY(-3px); }
.skill-item .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--cream-2); border: 1px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; color: var(--rose-deep); font-family: var(--serif); font-style: italic; font-size: 16px; }
.skill-item .t { font-size: 15px; }
.skill-item .t small { display: block; color: var(--ink-faint); font-size: 12px; letter-spacing: 0.06em; }

/* certifications */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cert {
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 30px 30px 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cert:hover { border-color: var(--blush); transform: translateY(-4px); box-shadow: 0 26px 50px -36px rgba(31,26,26,0.32); }
.cert-yr { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.cert-t { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin-top: 12px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.cert-t em { font-style: italic; color: var(--ink-soft); }
.cert-t .cert-sep { color: var(--blush); }
.cert-d { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-top: 16px; max-width: 52ch; }
@media (max-width: 760px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- Passions ---------- */
.passion-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.ppic { margin: 0; cursor: pointer; }
.ppic-media { aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -44px rgba(31,26,26,0.45); position: relative; }
.ppic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ppic:hover .ppic-media img { transform: scale(1.05); }
.ppic-media .view { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(31,26,26,0); opacity: 0; transition: opacity 0.4s, background 0.4s; }
.ppic:hover .ppic-media .view { opacity: 1; background: rgba(31,26,26,0.22); }
.ppic-media .view span { background: rgba(255,253,251,0.94); color: var(--ink); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 10px 20px; border-radius: 100px; }
.ppic figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.ppic figcaption .pn { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1; }
.ppic figcaption .py { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); padding-left: 12px; border-left: 1px solid var(--line); }

/* passion story modal */
.pmodal { position: fixed; inset: 0; z-index: 320; background: rgba(31,26,26,0.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.pmodal.open { display: flex; animation: fade 0.4s var(--ease); }
.pm-card { background: var(--cream); border-radius: 18px; overflow: hidden; width: min(900px, 94vw); max-height: 88vh; display: grid; grid-template-columns: 0.95fr 1.05fr; }
.pm-media { overflow: hidden; }
.pm-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pm-body { padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.pm-meta { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
.pm-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1; margin-top: 14px; }
.pm-text { color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.66; margin-top: 22px; }
.pm-nav { display: flex; gap: 10px; margin-top: 32px; }
.pm-nav button { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); background: none; border: 1px solid var(--line); border-radius: 100px; padding: 11px 20px; cursor: pointer; transition: 0.3s var(--ease); }
.pm-nav button:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pm-x { position: absolute; top: 26px; right: 30px; z-index: 2; background: none; border: 1px solid rgba(250,246,242,0.4); color: var(--cream); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: 0.3s; }
.pm-x:hover { background: var(--rose); border-color: var(--rose); }
@media (max-width: 720px) {
  .pm-card { grid-template-columns: 1fr; max-height: 90vh; }
  .pm-media img { min-height: 200px; max-height: 32vh; }
}

.photo-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-top: clamp(64px, 9vw, 120px); padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.photo-head .photo-title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.5vw, 56px); line-height: 1; margin-top: 18px; }
.photo-head .photo-title em { font-style: italic; color: var(--rose); }
.photo-head > p { color: var(--ink-soft); max-width: 42ch; font-size: clamp(15px, 1.3vw, 17px); }

/* gallery - mosaic */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; margin-top: clamp(34px, 5vw, 52px); }
.gtile { border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; background: var(--cream-2); }
.gtile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gtile:nth-child(6) { grid-column: span 2; }
.gtile:nth-child(7) { grid-column: span 2; }
.gtile img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; transition: transform 0.7s var(--ease); }
.gtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,26,26,0.55), rgba(31,26,26,0) 45%); opacity: 0; transition: opacity 0.4s; z-index: 2; }
.gtile:hover::after { opacity: 1; }
.gtile:hover img { transform: scale(1.05); }
.gcap {
  position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 3;
  color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.2;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gtile:hover .gcap { opacity: 1; transform: none; }
.gtile .view { position: absolute; top: 14px; right: 14px; z-index: 3; opacity: 0; transition: opacity 0.4s; }
.gtile:hover .view { opacity: 1; }
.gtile .view span { background: rgba(255,253,251,0.92); color: var(--ink); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(31,26,26,0.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; animation: fade 0.4s var(--ease); }
.lightbox .lb-img { max-width: min(82vw, 1000px); max-height: 82vh; border-radius: 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); object-fit: contain; }
.lightbox .lb-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 20px; }
.lightbox .lb-x { position: absolute; top: 28px; right: 34px; background: none; border: 1px solid rgba(250,246,242,0.4); color: var(--cream); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: 0.3s; z-index: 2; }
.lightbox .lb-x:hover { background: var(--rose); border-color: var(--rose); }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(31,26,26,0.4); border: 1px solid rgba(250,246,242,0.4); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: 0.3s; z-index: 2; }
.lightbox .lb-nav:hover { background: var(--rose); border-color: var(--rose); }
.lightbox .lb-prev { left: 34px; }
.lightbox .lb-next { right: 34px; }

/* ---------- Contact ---------- */
.contact { background: #241811; color: var(--cream); }
.contact .eyebrow { color: var(--blush); }
.contact .eyebrow::before { background: var(--blush); }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8vw, 110px); line-height: 0.98; letter-spacing: -0.02em; }
.contact h2 em { font-style: italic; color: var(--blush); }
.contact .sub { color: rgba(250,246,242,0.7); max-width: 48ch; margin-top: 26px; font-size: clamp(17px,1.6vw,20px); }
.contact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(250,246,242,0.16); border: 1px solid rgba(250,246,242,0.16); border-radius: 14px; overflow: hidden; margin-top: 54px; }
.contact-links a { background: #241811; padding: 30px 32px; display: flex; flex-direction: column; gap: 6px; transition: background 0.4s var(--ease); }
.contact-links a:hover { background: #3A2A20; }
.contact-links a .k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blush); }
.contact-links a .v { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); display: flex; align-items: center; gap: 12px; }
.contact-links a .v .arrow { color: var(--rose); transition: transform 0.4s var(--ease); }
.contact-links a:hover .v .arrow { transform: translate(4px,-4px); }

footer { background: #2C1E17; color: rgba(250,246,242,0.6); border-top: 1px solid rgba(250,246,242,0.12); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 30px; flex-wrap: wrap; gap: 14px; font-size: 13px; letter-spacing: 0.06em; }
footer .brand { font-family: var(--serif); font-style: italic; color: var(--cream); font-size: 18px; }
footer a:hover { color: var(--blush); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  /* Mobile hero: reflow into a clean editorial column — a framed portrait
     "masthead" sits above the oversized name, no awkward corner float.
     Drop the 100vh vertical centering so content flows from just below the
     nav with even spacing, and reserve room at the bottom for the ticker
     instead of letting it crowd the buttons. */
  .hero {
    min-height: auto; align-items: flex-start;
    padding-top: clamp(104px, 22vw, 132px); padding-bottom: 96px;
  }
  .hero .wrap {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  }
  .hero-copy { order: 2; }
  .hero .portrait-wrap {
    display: block; order: 1; position: static;
    width: clamp(132px, 40vw, 168px); margin: 0 0 40px;
  }
  .hero .portrait-wrap .ring {
    display: block; inset: -10px; border-radius: 24px;
    border-color: rgba(201,123,132,0.4);
  }
  .hero .portrait {
    border-radius: 18px;
    box-shadow: 0 26px 50px -28px rgba(31,26,26,0.5);
  }
  .hero .portrait::after { border-radius: 18px; }
  .about-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .passion-photos { grid-template-columns: 1fr; gap: 22px; max-width: 460px; margin-inline: auto; }
  .photo-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gtile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gtile:nth-child(6), .gtile:nth-child(7) { grid-column: span 2; }
  .gallery { column-count: 2; }
  .lang-row { grid-template-columns: 1fr; gap: 10px; }
  .lang-row .level { text-align: left; }
}
@media (max-width: 760px) {
  .nav-links, .lang-pill { display: none; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; right: var(--gut); flex-direction: column; gap: 18px; background: var(--paper); padding: 24px 30px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 26px 50px -30px rgba(31,26,26,0.4); }
  .nav-toggle { display: flex; }
  .exp { grid-template-columns: 70px 1fr auto; gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gtile:nth-child(1) { grid-row: span 2; }
  .contact-links { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
