
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

html, body {
  margin: 0; padding: 0;
  background: #E4E4E4;
  color: #F4F1E8;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===== SPLASH ===== */
.splash {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  animation: splashHide 0.3s ease forwards;
  animation-delay: 1.35s;
}
.splash-row { display: flex; width: 100%; height: 50%; }
.splash-box { width: 20%; height: 100%; background: #75C5DE; }
.splash-row-top .splash-box { animation: splashTop 1s cubic-bezier(0.96,-0.02,0.38,1.01) forwards; }
.splash-row-bottom .splash-box { animation: splashBottom 1s cubic-bezier(0.96,-0.02,0.38,1.01) forwards; }
.splash-box:nth-child(1) { animation-delay: 0s; }
.splash-box:nth-child(2) { animation-delay: 0.05s; }
.splash-box:nth-child(3) { animation-delay: 0.1s; }
.splash-box:nth-child(4) { animation-delay: 0.15s; }
.splash-box:nth-child(5) { animation-delay: 0.2s; }

@keyframes splashTop { from { transform: translateY(0%); } to { transform: translateY(-100%); } }
@keyframes splashBottom { from { transform: translateY(0%); } to { transform: translateY(100%); } }
@keyframes splashHide { to { opacity: 0; visibility: hidden; } }

/* ===== HERO IMAGE ENTRANCE ===== */
@keyframes heroImageIn {
  from { opacity: 0; transform: scale(1.5) rotate(3deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.hero-image-animate {
  animation: heroImageIn 1.2s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  animation-delay: 1s;
  opacity: 0;
}

/* ===== WORD REVEAL ===== */
@keyframes wordReveal {
  from { opacity: 0; transform: translateY(10px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.word-reveal {
  opacity: 0;
  display: inline-block;
  margin-right: 0.3em;
  animation: wordReveal 0.4s ease forwards;
}

/* ===== CTA ENTRANCE ===== */
@keyframes slideUpScale {
  from { opacity: 0; transform: translateY(60px) scale(0.4); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cta-animate {
  opacity: 0;
  animation: slideUpScale 0.8s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  animation-delay: 1s;
}

/* ===== CTA BUTTON ===== */
.cta-btn { position: relative; overflow: hidden; display: flex; align-items: center; border: none; background: none; cursor: pointer; border-radius: 9999px; padding: 8px; gap: 12px; }
.cta-btn-bg {
  position: absolute; top: 5px; bottom: 5px; left: 8px;
  width: calc(100% - 8px - 8px - 48px - 12px);
  border-radius: 9999px; background: white; z-index: 0;
  transition: width 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
@media (min-width: 768px) { .cta-btn-bg { width: calc(100% - 8px - 8px - 54px - 12px); } }
.cta-btn:hover .cta-btn-bg { width: calc(100% - 16px); }
.cta-btn-text { position: relative; z-index: 1; color: #111111; font-weight: 500; font-size: 16px; padding: 12px 32px; white-space: nowrap; }
@media (min-width: 768px) { .cta-btn-text { font-size: 18px; padding: 16px 40px; } }
.cta-btn-circle {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: #75C5DE; flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
@media (min-width: 768px) { .cta-btn-circle { width: 54px; height: 54px; } }
.cta-btn:hover .cta-btn-circle { transform: translateX(-7px); }

/* ===== MENU CTA (smaller) ===== */
.menu-cta-btn { position: relative; overflow: hidden; display: flex; align-items: center; border: none; background: none; cursor: pointer; border-radius: 9999px; padding: 6px; gap: 8px; }
.menu-cta-bg {
  position: absolute; top: 5px; bottom: 5px; left: 8px;
  width: calc(100% - 8px - 8px - 38px - 8px);
  border-radius: 9999px; background: white; z-index: 0;
  transition: width 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.menu-cta-btn:hover .menu-cta-bg { width: calc(100% - 12px); }
.menu-cta-text { position: relative; z-index: 1; color: #111111; font-weight: 500; font-size: 14px; padding: 8px 40px; white-space: nowrap; }
.menu-cta-circle {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: #75C5DE; flex-shrink: 0;
  transition: transform 0.3s ease;
}
.menu-cta-btn:hover .menu-cta-circle { transform: translateX(-4px); }

/* ===== CREATOR TEXT ===== */
@keyframes creatorSlideUp { from { transform: translateY(330px); } to { transform: translateY(0); } }
.creator-text-animate {
  transform: translateY(330px);
  animation: creatorSlideUp 1s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: 1.5s;
}

/* ===== NAVIGATION ===== */
.logo-wrapper {
  position: fixed; top: 30px; left: 0; width: 50%; z-index: 10;
  display: flex; justify-content: flex-start; align-items: center; mix-blend-mode: difference;
}
@media (min-width: 768px) { .logo-wrapper { top: 40px; } }
.logo-wrapper .inner { padding-left: 20px; }
@media (min-width: 768px) { .logo-wrapper .inner { padding-left: 40px; } }
.logo-wrapper img { width: 32px; height: 32px; }

.burger-wrapper {
  position: fixed; top: 16px; right: 0; width: 50%; z-index: 10;
  display: flex; justify-content: flex-end; align-items: center;
}
@media (min-width: 768px) { .burger-wrapper { top: 27px; } }
.burger-wrapper .inner { padding-right: 20px; }
@media (min-width: 768px) { .burger-wrapper .inner { padding-right: 40px; } }

.burger-btn {
  width: 59px; height: 59px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
  background: #F4F1E8; transition: background 0.4s ease;
}
.burger-btn:hover { background: #0B0B0B; }
.burger-btn .bar {
  display: block; width: 24px; height: 2px; background: #111111;
  transition: all 0.3s ease;
}
.burger-btn:hover .bar { background: #F4F1E8; }
.burger-btn.open { background: #0B0B0B; }
.burger-btn.open .bar { background: #F4F1E8; }
.burger-btn.open .bar:first-child { transform: rotate(45deg) translate(2px, 2px); }
.burger-btn.open .bar:last-child { transform: rotate(-45deg) translate(2px, -2px); }

/* ===== MENU PANEL ===== */
.menu-panel {
  position: fixed; z-index: 9;
  left: 8px; right: 8px;
  border-radius: 20px;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  padding: 90px 32px 32px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: top 0.5s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.4s ease;
  top: -600px; opacity: 0; pointer-events: none;
}
@media (min-width: 768px) {
  .menu-panel { left: auto; right: 7px; width: 420px; padding: 60px; }
}
.menu-panel.open { top: 0; opacity: 1; pointer-events: auto; }
@media (min-width: 768px) { .menu-panel.open { top: 7px; } }

.menu-panel nav { display: flex; flex-direction: column; gap: 8px; }
.menu-panel nav a {
  color: #F4F1E8; font-size: 36px; font-weight: 500; text-decoration: none;
  line-height: 130%; transition: opacity 0.3s ease;
}
@media (min-width: 768px) { .menu-panel nav a { font-size: 42px; } }
.menu-panel nav a:hover { opacity: 0.7; }

.menu-contact { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.menu-email { color: #9A9590; font-size: 18px; text-decoration: none; transition: color 0.3s ease; }
@media (min-width: 768px) { .menu-email { font-size: 20px; } }
.menu-email:hover { color: #F4F1E8; }
.menu-socials { display: flex; gap: 24px; }
.menu-socials a {
  color: #9A9590; font-size: 14px; text-decoration: underline;
  text-underline-offset: 2px; transition: color 0.3s ease;
}
.menu-socials a:hover { color: #F4F1E8; }

/* ===== HERO ===== */
.hero {
  position: relative; width: 100%; overflow: hidden;
  background: #E4E4E4; min-height: 100vh;
}
@media (min-width: 768px) { .hero { height: 100vh; min-height: 800px; } }

.hero-big-text {
  position: absolute; bottom: -30px; left: 0; right: 0; z-index: 2;
  pointer-events: none; width: 100%; text-align: center;
}
@media (min-width: 768px) { .hero-big-text { bottom: -40px; } }
.hero-big-text h2 {
  font-weight: 500; color: #F4F1E8; line-height: 80%;
  letter-spacing: -0.04em; white-space: nowrap;
  font-size: clamp(180px, 28vw, 560px);
}

.hero-base-img {
  position: absolute; top: 30vh; left: 0; right: 0; bottom: 0;
  background-size: cover; background-repeat: no-repeat;
  background-position: 60% center; z-index: 5;
}
@media (min-width: 768px) { .hero-base-img { top: 0; background-position: center; } }

.hero-reveal-img {
  position: absolute; top: 30vh; left: 0; right: 0; bottom: 0;
  background-size: cover; background-repeat: no-repeat;
  background-position: 60% center; z-index: 7; pointer-events: none;
}
@media (min-width: 768px) { .hero-reveal-img { top: 0; background-position: center; } }

.hero-content {
  position: relative; z-index: 8;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 110px 16px 24px 16px; pointer-events: none;
}
@media (min-width: 768px) {
  .hero-content {
    position: absolute; inset: 0;
    justify-content: space-between;
    padding: 160px 40px 100px 40px;
  }
}
.hero-content-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; width: 100%; pointer-events: auto; }

.hero-headline {
  font-size: 22px; font-weight: 500; line-height: 120%;
  letter-spacing: -0.02em; color: #111111; max-width: 447px;
}
@media (min-width: 768px) { .hero-headline { font-size: 28px; } }

/* ===== CANVAS (hidden) ===== */
#reveal-canvas { display: none; position: absolute; inset: 0; pointer-events: none; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .splash { animation: splashHide 0.01s linear forwards; }
  .splash-box { animation: none !important; }
  .hero-image-animate, .word-reveal, .cta-animate, .creator-text-animate {
    animation: none !important; opacity: 1 !important;
    transform: none !important; filter: none !important; visibility: visible !important;
  }
}

/* Personal home. Palette and responsive layout. */
:root { --accent: #75C5DE; --ink: #111111; --paper: #F4F1E8; --background: #E4E4E4; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #176680; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10000; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 50px; }
.skip-link:focus { transform: translateY(0); }
.logo-wrapper { mix-blend-mode: normal; width: auto; }
.wordmark { color: var(--ink); text-decoration: none; font-size: 27px; font-weight: 600; letter-spacing: -.09em; }
.wordmark span { color: #37869e; }
.hero-content { padding: 136px 40px 54px; }
.hero-content-inner { max-width: 408px; gap: 0; }
.eyebrow { color: #4f5151; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.hero-headline { max-width: 408px; font-size: 32px; line-height: 1.18; font-weight: 500; letter-spacing: -.035em; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; scroll-margin-top: 115px; }
.social-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 17px; border: 1px solid #11111122; border-radius: 99px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; background: #f4f1e87a; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.social-link:hover { background: var(--paper); transform: translateY(-2px); }
.social-link svg { width: 13px; height: 13px; }
.recommendations { width: 100%; margin-top: 32px; scroll-margin-top: 115px; }
.section-label { color: #555757; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.resource-list { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.resource-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding: 15px 16px 15px 21px; border: 1px solid #ffffff99; border-radius: 19px; background: #ffffffc9; backdrop-filter: blur(14px); color: var(--ink); text-decoration: none; transition: background .25s, transform .25s; }
.resource-link:hover { background: #fff; transform: translateX(4px); }
.resource-copy { display: flex; flex-direction: column; gap: 5px; }
.resource-name { font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.resource-description { font-size: 12px; line-height: 1.4; color: #565959; }
.link-arrow { display: flex; align-items: center; justify-content: center; background: var(--accent); border-radius: 50%; width: 34px; height: 34px; flex-shrink: 0; color: #111; }
.link-arrow svg { width: 13px; height: 13px; transition: transform .2s; }
a:hover .link-arrow svg { transform: translate(1px,-1px); }
.hero-big-text { bottom: -40px; }
.hero-reveal-img { --reveal-x: -999px; --reveal-y: -999px; --reveal-radius: 260px; mask-image: radial-gradient(circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y), #fff 0%, #fff 40%, #ffffffbf 60%, #ffffff66 75%, #ffffff1f 88%, transparent 100%); -webkit-mask-image: radial-gradient(circle var(--reveal-radius) at var(--reveal-x) var(--reveal-y), #fff 0%, #fff 40%, #ffffffbf 60%, #ffffff66 75%, #ffffff1f 88%, transparent 100%); }
.menu-panel { transition: transform .4s ease, opacity .3s ease; top: 7px; transform: translateY(calc(-100% - 20px)); }
.menu-panel.open { transform: translateY(0); }
.menu-panel .section-label { color: #aaa; margin-bottom: 18px; }
.menu-panel nav a { font-size: 36px; }
.menu-footer { margin-top: 30px; border-top: 1px solid #ffffff20; padding-top: 22px; }
.menu-footer a { color: var(--paper); text-underline-offset: 5px; font-size: 14px; }
.menu-footer p { color: #aaa; margin-top: 14px; font-size: 12px; line-height: 1.6; }
@media (min-width: 768px) { .hero { min-height: 840px; } }
@media (min-width: 1600px) { .hero-content { padding-top: 160px; } }
@media (max-width: 767px) {
 .hero { min-height: 0; }
 .hero-content { position: relative; padding: 112px 20px 32px; }
 .hero-content-inner { max-width: 100%; }
 .hero-headline { font-size: 29px; max-width: 390px; }
 .eyebrow { margin-bottom: 14px; font-size: 11px; }
 .social-links { margin-top: 22px; gap: 7px; }
 .social-link { padding: 0 15px; }
 .hero-base-img, .hero-reveal-img { top: 310px; height: 510px; bottom: auto; background-position: 60% center; }
 .hero-big-text { top: 704px; bottom: auto; }
 .hero-big-text h2 { font-size: 29vw; line-height: 1; }
 .recommendations { margin-top: 490px; }
 .resource-link { min-height: 78px; }
 .menu-panel { padding: 94px 28px 30px; top: 7px; max-height: calc(100dvh - 14px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
 html, body { scroll-behavior: auto; }
 *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Keep the artwork between the introduction and recommendations on small screens. */
.word-reveal { margin-right: 0; }
.hero-visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
@media (min-width: 768px) and (max-width: 1100px) {
 .hero-content-inner { max-width: 340px; }
 .hero-headline { font-size: 29px; }
 .hero-base-img, .hero-reveal-img { background-position: 25% center; }
}
@media (max-width: 767px) {
 .hero-visual { position: relative; inset: auto; z-index: 0; width: calc(100% + 40px); height: 510px; margin: 18px -20px 0; flex-shrink: 0; }
 .hero-base-img, .hero-reveal-img { top: 0; bottom: 0; height: auto; }
 .hero-big-text { top: auto; bottom: 0; }
 .recommendations { margin-top: 28px; }
}

/* Desktop hero composition: wider content and a smaller character on the right. */
@media (min-width: 1024px) {
 .hero .hero-content-inner { width: 42vw; max-width: 560px; }
 .hero .hero-headline { max-width: 560px; font-size: 36px; }
 .hero .hero-base-img, .hero .hero-reveal-img {
  background-size: auto 88%;
  background-position: calc(50% + 12vw) bottom;
 }
}

/* Language preference, scoped to the navigation panel. */
.menu-panel .language-switcher { margin-top: 24px; padding-top: 22px; border-top: 1px solid #ffffff20; }
.menu-panel .language-label { font-size: 11px; font-weight: 500; color: #aaa; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.menu-panel .language-options { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-panel .language-option { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #ffffff30; border-radius: 99px; color: var(--paper); font-size: 13px; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s; }
.menu-panel .language-option .language-flag { display: block; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.menu-panel .language-option:hover { background: #ffffff18; border-color: #ffffff66; }
.menu-panel .language-option[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.social-link .platform-icon { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 767px) { .social-link { gap: 6px; padding: 0 12px; } }
.hero .eyebrow { text-transform: none; letter-spacing: .08em; }
