:root {
  --pink: #db3e6c;
  --wine: #2b0e1c;
  --plum: #8a2350;
  --blush: #f9c9d6;
  --cream: #f7ebd6;
  --paper: #fbf8f3;
  --blue: #bfe2ec;
  --green: #b9d48b;
  --lilac: #dccbf4;
  --yellow: #fbe39b;
  --line: rgba(43, 14, 28, .08);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { font-family: var(--sans); background: var(--paper); color: var(--wine); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.center { text-align: center; justify-content: center; }

.ic { width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: middle; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 14px; height: 14px; }
.ic.xl { width: 56px; height: 56px; stroke-width: 1.25; }

.grid-bg, .paper {
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* top bar */
.topbar { background: var(--blue); font-size: .85rem; font-weight: 600; display: flex; gap: 10px; justify-content: center; align-items: center; padding: 8px 40px; position: relative; text-align: center; }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar-x { position: absolute; right: 14px; font-size: 1.2rem; line-height: 1; }

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 14px 20px; background: linear-gradient(var(--paper) 60%, transparent); }
.nav { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); border: 1.5px solid var(--wine); border-radius: 14px; padding: 8px 10px 8px 16px; }
.nav-logo img { height: 44px; width: auto; transition: transform .3s; }
.nav-logo:hover img { transform: rotate(-4deg); }
.nav-links { display: flex; gap: 26px; font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--pink); transition: width .25s; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang { font-family: var(--mono); font-size: .8rem; padding: 8px 10px; border-radius: 999px; border: 1.5px solid var(--wine); }
.lang:hover { background: var(--blush); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid var(--wine); border-radius: 999px; font-weight: 700; font-size: .95rem; background: var(--paper); transition: transform .15s, box-shadow .15s, background .2s; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--wine); }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.pill-dark { background: var(--wine); color: var(--paper); }
.pill-dark .dot { background: var(--blush); }
.pill-ghost { background: transparent; }
.pill-white { background: #fff; font-size: .85rem; padding: 7px 16px; }

/* hero */
.hero { position: relative; text-align: center; padding: 90px 20px 110px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.hero-title { display: flex; flex-direction: column; align-items: center; line-height: .95; font-weight: 400; }
.hl-line { margin-bottom: 6px; }
.hl { position: relative; display: inline-block; font-family: var(--sans); font-weight: 800; letter-spacing: -0.035em; font-size: clamp(2.8rem, 8.5vw, 6.4rem); padding: 0 .12em; background: linear-gradient(transparent 18%, var(--blush) 18%, var(--blush) 88%, transparent 88%); }
.hl::before, .hl::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--pink); border-radius: 50%; top: 10%; }
.hl::before { left: -5px; } .hl::after { right: -5px; top: auto; bottom: 8%; }
.serif { font-family: var(--serif); font-size: clamp(2.8rem, 9vw, 6.8rem); letter-spacing: -0.02em; }
.serif em { color: var(--pink); }
.mono-tag { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; padding: 6px 12px; line-height: 1.4; text-transform: uppercase; }
.tag-blue { background: var(--blue); }
.tag-pink { background: var(--blush); }
.hero .mono-tag { position: absolute; right: max(3%, calc(50% - 620px)); top: 47%; transform: rotate(4deg); }
@media (max-width: 1180px) { .hero .mono-tag { position: static; margin-top: 22px; transform: rotate(-2deg); } }
.hero-typed { margin-top: 26px; font-size: .95rem; }
#typed { background: var(--yellow); padding: 2px 6px; }
.caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.drag-hint { position: absolute; bottom: 18px; font-size: .75rem; opacity: .55; }
.float { position: absolute; width: 58px; height: 58px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--wine); border-radius: 16px; box-shadow: 3px 3px 0 var(--wine); cursor: grab; touch-action: none; user-select: none; animation: bob 5s ease-in-out infinite; }
.float:active { cursor: grabbing; }
.float .ic { pointer-events: none; }
.f1 { top: 14%; left: 14%; background: var(--blue); --rot: -8deg; }
.f2 { top: 12%; right: 16%; background: var(--blush); --rot: 10deg; animation-delay: -1.5s; }
.f3 { bottom: 16%; right: 12%; background: var(--yellow); --rot: -6deg; animation-delay: -3s; }
.f4 { bottom: 22%; left: 20%; background: var(--green); --rot: 6deg; animation-delay: -2s; }
@keyframes bob { 0%,100% { translate: 0 0; rotate: var(--rot); } 50% { translate: 0 -10px; rotate: calc(var(--rot) * -1); } }
.float.dragging { animation: none; }
@media (max-width: 720px) {
  .hero { padding-top: 70px; }
  .f1 { top: 3%; left: 6%; } .f2 { top: 4%; right: 6%; } .f3 { bottom: 6%; right: 6%; } .f4 { display: none; }
  .hero .mono-tag { position: static; margin-top: 22px; }
}

.hero { border-bottom: 1.5px solid var(--wine); }

/* sections */
.section { max-width: 1120px; margin: 0 auto; padding: 100px 24px; }
@media (max-width: 720px) { .section { padding: 70px 20px; } .quote { padding: 70px 20px; } }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .75rem; letter-spacing: .14em; margin-bottom: 14px; }
.h-sans { font-family: var(--sans); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.025em; line-height: 1.1; max-width: 760px; }
.h-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; }
.h-serif em { color: var(--pink); }
.h-small { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin: 46px 0 14px; }
.lead { font-size: 1.1rem; max-width: 620px; margin-top: 14px; opacity: .85; }
.welcome { text-align: center; }
.welcome .eyebrow { justify-content: center; }
.welcome .h-sans, .welcome .lead { margin-left: auto; margin-right: auto; }

/* carousel */
.carousel { position: relative; margin-top: 50px; }
.car-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 14px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 260px; scroll-snap-align: start; border: 1.5px solid var(--wine); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; text-align: center; transition: transform .25s; }
.pcard:hover { transform: translateY(-6px) rotate(-1deg); }
.pcard-img { aspect-ratio: 4/3; display: grid; place-items: center; border-bottom: 1.5px solid var(--wine); background: var(--paper); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 18px 18px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.pcard-body h3 { font-size: 1.15rem; }
.pcard-body p { font-size: .9rem; flex: 1; }
.c-pink .pcard-body, .card.c-pink { background: var(--blush); }
.c-blue .pcard-body, .card.c-blue { background: var(--blue); }
.c-green .pcard-body, .card.c-green { background: var(--green); }
.c-lilac .pcard-body, .card.c-lilac { background: var(--lilac); }
.c-yellow .pcard-body, .card.c-yellow { background: var(--yellow); }
.car-btn { position: absolute; top: 34%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--blush); border: 1.5px solid var(--wine); display: grid; place-items: center; transition: transform .15s; }
.car-btn:hover { transform: scale(1.1); }
.car-btn.prev { left: -14px; } .car-btn.next { right: -14px; }
@media (max-width: 720px) { .car-btn { display: none; } }

/* quote */
.quote { padding: 110px 24px; border-block: 1.5px solid var(--wine); position: relative; display: flex; flex-direction: column; align-items: center; }
.quote-talk { position: absolute; left: max(5%, calc(50% - 540px)); top: 40px; font-weight: 700; display: flex; gap: 6px; align-items: center; transform: rotate(-4deg); }
.quote-text { font-family: var(--sans); font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 3.2rem); line-height: 1.75; letter-spacing: -0.02em; max-width: 900px; }
.q-wrap { display: block; }
.q { position: relative; color: inherit; padding: 0 .12em; border-radius: 6px; }
.q-blue { background: var(--blue); } .q-lilac { background: var(--lilac); } .q-pink { background: var(--blush); } .q-green { background: var(--green); }
.q::after { content: attr(data-label); position: absolute; right: -14px; top: -26px; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: 0; padding: 3px 10px; border: 1.5px solid var(--wine); border-radius: 8px; white-space: nowrap; line-height: 1.2; opacity: 0; transform: translateY(6px) rotate(3deg); transition: all .4s; }
.q::before { content: ""; position: absolute; right: 8px; top: -6px; height: 10px; border-left: 2px dotted var(--wine); opacity: 0; transition: opacity .4s; }
.q-blue::after { background: var(--blue); } .q-lilac::after { background: var(--lilac); } .q-pink::after { background: var(--blush); } .q-green::after { background: var(--green); }
.quote.visible .q::after { opacity: 1; transform: rotate(3deg); }
.quote.visible .q::before { opacity: 1; }
.quote.visible .q-lilac::after { transition-delay: .15s; } .quote.visible .q-pink::after { transition-delay: .3s; } .quote.visible .q-green::after { transition-delay: .45s; }
.quote-sign { margin-top: 30px; font-size: .85rem; }
@media (max-width: 900px) { .q::after { font-size: .62rem; top: -20px; } .quote-talk { position: static; margin-bottom: 20px; } }

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.h-sub { font-weight: 700; font-size: 1.25rem; margin: 18px 0; line-height: 1.3; }
.about-text > p:not(.eyebrow):not(.h-sub) { margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border: 1.5px solid var(--wine); border-radius: 14px; padding: 14px 8px; text-align: center; background: #fff; transition: transform .2s, background .2s; }
.stat:hover { background: var(--blush); transform: translateY(-4px); }
.stat .num { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; color: var(--pink); }
.stat .lbl { font-size: .68rem; }
.about-photo { position: relative; }
.photo-frame { aspect-ratio: 4/5; border-radius: var(--r); border: 1.5px solid var(--wine); overflow: hidden; background: var(--pink); display: grid; place-items: center; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame img.ph-logo { width: 72%; height: auto; object-fit: contain; }
.sticky-tag { position: absolute; left: -18px; bottom: 34px; transform: rotate(-4deg); border: 1.5px solid var(--wine); }
.badge-mc { position: absolute; right: -20px; top: -24px; width: 88px; height: 88px; border-radius: 50%; background: var(--cream); color: var(--pink); font-family: var(--serif); font-size: 2rem; border: 1.5px solid var(--wine); box-shadow: 3px 3px 0 var(--wine); outline: 1.5px dashed var(--pink); outline-offset: -9px; animation: spin 16s linear infinite; }
.badge-mc:hover { animation-duration: 2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .badge-mc { right: 6px; } .sticky-tag { left: 8px; } }

/* journey */
.pink-grid { background-color: #f4b8c8; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 22px 22px; border-block: 1.5px solid var(--wine); }
.journey .eyebrow, .journey .h-sans { margin-left: auto; margin-right: auto; }
.timeline { list-style: none; margin-top: 46px; display: grid; gap: 16px; max-width: 820px; margin-inline: auto; }
.tl { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1.5px solid var(--wine); border-radius: var(--r); padding: 20px 22px; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.tl.visible { opacity: 1; transform: none; }
.tl-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blush); border: 1.5px solid var(--wine); }
.tl:nth-child(2) .tl-ic { background: var(--blue); } .tl:nth-child(3) .tl-ic { background: var(--yellow); } .tl:nth-child(4) .tl-ic { background: var(--green); }
.tl.now { background: var(--cream); }
.tl.now .tl-ic { background: var(--pink); color: #fff; }
.tl-lvl { font-size: .7rem; letter-spacing: .14em; background: var(--wine); color: var(--paper); padding: 3px 9px; border-radius: 999px; }
.tl h4 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 10px 0 4px; }
.tl p { font-size: .95rem; }

/* travel */
.travel { text-align: center; }
.travel .eyebrow { justify-content: center; }
.stamps { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin: 46px 0; }
.stamp { --c: var(--pink); width: 148px; height: 148px; border: 2.5px dashed var(--c); color: var(--c); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transform: rotate(var(--r)); background: #fff; transition: transform .3s; text-align: center; padding: 10px; }
.stamp:hover { transform: rotate(0) scale(1.08); }
.stamp b { font-size: 1rem; line-height: 1.1; text-transform: uppercase; }
.stamp small { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; }
.stamp-next { --c: #9a8a90; border-style: dotted; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.g { aspect-ratio: 1; border: 1.5px solid var(--wine); border-radius: 14px; overflow: hidden; background: var(--blush); display: grid; place-items: center; transform: rotate(var(--r)); transition: transform .3s; position: relative; }
.g:hover { transform: rotate(0) scale(1.05); z-index: 2; }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--paper); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; padding: 3px 8px; border: 1.5px solid var(--wine); border-radius: 999px; }
.g:nth-child(2) { background: var(--blue); } .g:nth-child(3) { background: var(--green); } .g:nth-child(4) { background: var(--lilac); }
.ph .ic { opacity: .55; }

/* projects */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1.5px solid var(--wine); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--wine); }
.card-ic { width: 46px; height: 46px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--wine); border-radius: 12px; }
.card h4 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.chip { align-self: flex-start; margin-top: auto; display: inline-flex; gap: 4px; align-items: center; background: var(--wine); color: var(--paper); padding: 4px 12px; border-radius: 999px; font-size: .7rem; }
.chip.link:hover { background: var(--pink); }
.skills { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; }
.skills span { border: 1.5px solid var(--wine); padding: 6px 14px; border-radius: 999px; background: #fff; transition: background .2s, transform .2s; }
.skills span:hover { background: var(--blush); transform: rotate(-3deg); }

/* contact */
.boarding { display: grid; grid-template-columns: 1fr 230px; border: 1.5px solid var(--wine); border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 8px 8px 0 var(--pink); }
@media (max-width: 760px) { .boarding { grid-template-columns: 1fr; } }
.bp-main { padding: 34px; }
.bp-label { font-size: .72rem; letter-spacing: .16em; color: var(--pink); margin-bottom: 8px; }
.bp-route { display: flex; align-items: center; gap: 18px; margin: 24px 0 28px; }
.bp-route small { display: block; font-size: .7rem; opacity: .6; }
.bp-route b { font-size: 1.5rem; }
.bp-line { flex: 1; border-bottom: 2px dashed var(--wine); text-align: center; padding-bottom: 4px; }
.bp-line .ic { animation: fly 3s ease-in-out infinite; }
@keyframes fly { 50% { transform: translateX(16px); } }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 9px 16px; border: 1.5px solid var(--wine); border-radius: 999px; transition: background .2s, transform .15s; }
.socials a:hover { background: var(--blush); transform: translateY(-2px); }
.bp-stub { background: var(--blush); border-left: 2px dashed var(--wine); padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
@media (max-width: 760px) { .bp-stub { border-left: none; border-top: 2px dashed var(--wine); } }
.bp-stub small { font-size: .7rem; opacity: .7; }
.bp-stub b { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 6px; }
.bp-stub .pill { margin-top: 10px; justify-content: center; }

/* footer */
.footer { text-align: center; padding: 60px 24px 40px; color: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pink-grid-dark { background-color: var(--pink); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; }
.footer img { width: 200px; }
.footer-links { display: flex; gap: 12px; }
.footer-links a { width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid var(--cream); border-radius: 50%; transition: background .2s, color .2s; }
.footer-links a:hover { background: var(--cream); color: var(--pink); }
.footer p { font-size: .72rem; letter-spacing: .14em; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 999; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tl { opacity: 1; transform: none; }
}

.quote-en { margin-top: 18px; font-size: .85rem; opacity: .7; }
.g figcaption { display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 16px); }
.g figcaption .ic { width: 12px; height: 12px; flex: none; }
.stamp { width: 132px; height: 132px; }
.stamp b { font-size: .9rem; }
@media (max-width: 720px) {
  .stamps { gap: 12px; }
  .stamp { width: 100px; height: 100px; padding: 6px; }
  .stamp b { font-size: .72rem; }
  .stamp small { font-size: .56rem; }
  .stamp .ic { width: 16px; height: 16px; }
  .g figcaption { font-size: .55rem; padding: 2px 6px; left: 6px; bottom: 6px; }
}
