:root {
  --bg: #fff9fc;
  --bg-soft: #fff2f8;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #ffffff;
  --ink: #271621;
  --muted: #806a78;
  --line: rgba(126, 54, 92, 0.13);
  --pink: #ef4f9d;
  --pink-2: #c93d83;
  --pink-soft: #ffd6e9;
  --pink-pale: #fff0f7;
  --shadow: 0 26px 80px rgba(146, 70, 109, 0.13);
  --shadow-soft: 0 14px 40px rgba(146, 70, 109, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 173, 210, 0.22), transparent 24%),
    radial-gradient(circle at 90% 22%, rgba(255, 202, 228, 0.26), transparent 24%),
    linear-gradient(180deg, #fffafd 0%, #fff7fb 52%, #fffafc 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--pink-soft); color: var(--ink); }

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,79,157,.13), rgba(239,79,157,0) 70%);
  pointer-events: none;
  z-index: -2;
  transform: translate(-50%, -50%);
  transition: opacity .25s ease;
}

.section-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding-top: 14px;
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  height: 66px;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(179, 74, 128, .14);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.90), rgba(255,246,251,.80)),
    rgba(255,255,255,.78);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow:
    0 16px 42px rgba(121, 56, 88, .09),
    inset 0 1px 0 rgba(255,255,255,.96);
}
.nav-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 90px;
  right: 110px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,79,157,.15), transparent 68%);
  pointer-events: none;
}
.nav-shell::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 158px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,79,157,.24), transparent);
  pointer-events: none;
}

.nav-home {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(190,69,130,.15);
  border-radius: 15px;
  color: #9f3e72;
  background: linear-gradient(145deg, #ffffff, #fff0f7);
  box-shadow:
    0 8px 20px rgba(137,57,98,.08),
    inset 0 1px 0 #fff;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}
.nav-home svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-home:hover {
  transform: translateY(-2px);
  color: #c83d82;
  border-color: rgba(220,65,140,.28);
  box-shadow: 0 12px 27px rgba(166,57,112,.14), inset 0 1px 0 #fff;
}

.nav-contact {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(187,52,119,.10);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #f26cab 0%, #de4b95 48%, #bd377a 100%);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow:
    0 10px 24px rgba(202,60,130,.22),
    inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.nav-contact svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}
.nav-contact:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 14px 31px rgba(202,60,130,.27), inset 0 1px 0 rgba(255,255,255,.30);
}
.nav-contact:hover svg { transform: translate(2px,-2px); }
.nav-contact.is-active {
  box-shadow: 0 0 0 3px rgba(239,79,157,.09), 0 11px 25px rgba(202,60,130,.21);
}

.hero { padding-top: 46px; }
.hero-card {
  min-height: 615px;
  display: grid;
  grid-template-columns: 1.08fr .82fr .95fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 64px 46px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, rgba(255,255,255,.85), rgba(255,237,247,.72));
  position: relative;
}
.hero-copy::after {
  content: "FORTHUNATA";
  position: absolute;
  left: 32px; bottom: -18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  color: rgba(174, 70, 126, .035);
  pointer-events: none;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #a54379;
  text-transform: uppercase;
}
.eyebrow > span:not(.status-dot) { width: 12px; height: 12px; border-radius: 50%; background: rgba(239,79,157,.15); border: 1px solid rgba(239,79,157,.35); position: relative; }
.eyebrow > span:not(.status-dot)::after { content:""; position:absolute; inset:3px; border-radius:50%; background:var(--pink); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #f25aa4; box-shadow: 0 0 0 6px rgba(242,90,164,.1); animation: pulse 2.2s infinite; }

.hero h1,
.section-head h2,
.contact-hero h1,
.cta-card h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -.045em;
}
.hero h1 { font-size: clamp(3.4rem, 5.8vw, 6.1rem); line-height: .87; margin: 18px 0 18px; }
.hero h1 em, .section-head h2 em, .contact-hero h1 em { color: var(--pink-2); font-weight: 700; }
.hero h2 { margin: 0 0 14px; font-size: 1.02rem; letter-spacing: -.02em; }
.hero-copy > p { color: var(--muted); line-height: 1.78; font-size: .96rem; max-width: 580px; }

.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #f362a8, #c83b82); box-shadow: 0 11px 28px rgba(223, 70, 142, .22); }
.btn-secondary { background: rgba(255,255,255,.78); border: 1px solid var(--line); color: var(--ink); }

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: grid; gap: 3px; }
.hero-meta span { font-size: .68rem; color: #aa8b9d; text-transform: uppercase; letter-spacing: .11em; }
.hero-meta strong { font-size: .82rem; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  background:
    radial-gradient(circle at 45% 46%, rgba(249, 131, 187, .23), transparent 35%),
    linear-gradient(180deg, #fff0f7 0%, #ffe7f2 100%);
  border-left: 1px solid rgba(166,65,115,.09);
  border-right: 1px solid rgba(166,65,115,.09);
  overflow: hidden;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,61,131,.11);
}
.hero-visual::before { width: 360px; height: 360px; }
.hero-visual::after { width: 470px; height: 470px; }

.portrait-orbit {
  position: absolute;
  width: 315px; height: 315px;
  border-radius: 42% 58% 65% 35% / 45% 43% 57% 55%;
  border: 1px dashed rgba(198, 60, 128, .38);
  animation: spin 18s linear infinite;
}

.portrait-frame {
  width: min(260px, 72%);
  aspect-ratio: .78;
  position: relative;
  border-radius: 34px;
  padding: 8px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(201,61,131,.18);
  box-shadow: 0 30px 70px rgba(128, 52, 92, .2), inset 0 1px 0 #fff;
  transform: rotate(-1.5deg);
  z-index: 2;
}
.portrait-frame img { width:100%; height:100%; object-fit:cover; border-radius: 27px; }
.portrait-label {
  position: absolute;
  left: 50%; bottom: -17px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  padding: 9px 13px;
  border-radius: 11px;
  color: #fff;
  background: #33202b;
  font-size: .72rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(45,25,36,.18);
}
.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,61,131,.14);
  box-shadow: 0 10px 30px rgba(117,51,84,.12);
  color: #7d3c61;
  font-size: .7rem;
  font-weight: 700;
}
.chip-one { top: 115px; right: 20px; animation: float 5s ease-in-out infinite; }
.chip-two { bottom: 105px; left: 16px; animation: float 5.6s ease-in-out infinite reverse; }

.stack-panel {
  padding: 50px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.72);
}
.section-kicker { font-size: .63rem; letter-spacing: .15em; color: #a54379; font-weight: 700; }
.stack-panel h3 { font-family: "Playfair Display", serif; font-size: 2.1rem; margin: 8px 0 24px; letter-spacing: -.035em; }
.stack-group + .stack-group { margin-top: 20px; }
.stack-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: .62rem; color: #916779; letter-spacing: .1em; font-weight: 700; }
.stack-label small { color: #ba9bab; }
.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.skill-grid span {
  min-height: 39px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: #fff9fc;
  border: 1px solid rgba(184, 74, 131, .13);
  font-size: .68rem;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.skill-grid span:hover { transform: translateY(-2px); border-color: rgba(213,64,140,.32); background: #fff; }
.skill-grid b {
  min-width: 24px; height: 24px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 7px;
  color: #b33d78;
  background: #ffe5f1;
  font-size: .56rem;
}

.journey { padding-top: 78px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.section-head.compact { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; margin: 9px 0 0; }
.section-head p { max-width: 420px; color: var(--muted); line-height: 1.65; font-size: .87rem; }

.journey-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.journey-card {
  min-height: 136px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.journey-card::after { content:""; position:absolute; right:-45px; bottom:-65px; width:150px; height:150px; border-radius:50%; background:radial-gradient(circle,rgba(239,79,157,.12),transparent 67%); }
.journey-card.featured { background: linear-gradient(135deg, #fff, #fff0f7); }
.year-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background:#ffe5f1; color:#a93e75; font-size:.62rem; font-weight:700; letter-spacing:.08em; }
.journey-card h3 { margin: 0 0 5px; font-size: .93rem; }
.journey-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.journey-score { margin-left:auto; text-align:right; padding-left:14px; border-left:1px solid var(--line); }
.journey-score span { display:block; font-size:.6rem; color:#ae8298; letter-spacing:.1em; }
.journey-score strong { font-family:"Playfair Display",serif; font-size:1.8rem; color:var(--pink-2); }

.portfolio { padding-top: 92px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.project-card:hover { transform: translateY(-7px); box-shadow: 0 28px 55px rgba(133,58,96,.13); border-color: rgba(219,75,146,.25); }
.project-image { position: relative; aspect-ratio: 1.52; overflow: hidden; background: var(--pink-pale); }
.project-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 52%,rgba(51,25,40,.18)); pointer-events:none; }
.project-image img { width:100%; height:100%; object-fit:cover; filter:saturate(.75) contrast(.95) brightness(1.05); transition:transform .45s ease, filter .45s ease; }
.project-card:hover img { transform:scale(1.045); filter:saturate(.9) contrast(1); }
.project-index { position:absolute; right:12px; top:12px; z-index:2; width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.82); backdrop-filter:blur(8px); font-size:.68rem; font-weight:700; color:#a54276; }
.project-body { padding: 18px 18px 20px; }
.project-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:9px; color:#a33f74; font-size:.57rem; font-weight:700; letter-spacing:.09em; }
.project-top small { color:#b596a7; font-size:.55rem; }
.project-body h3 { margin:0 0 7px; font-size:1.15rem; letter-spacing:-.025em; }
.project-body p { margin:0; color:var(--muted); font-size:.76rem; line-height:1.58; min-height:48px; }
.project-link { margin-top:14px; padding:0; background:transparent; border:0; color:#a03b70; font-size:.72rem; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.project-link span { transition:transform .2s ease; }
.project-link:hover span { transform:translate(2px,-2px); }

.cta { padding-top: 92px; }
.cta-card {
  min-height: 260px;
  padding: 46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  border-radius:28px;
  border:1px solid rgba(194,69,132,.15);
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.82), transparent 28%),
    linear-gradient(135deg, #ffeaf4, #fff7fb 66%, #ffddeb);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.cta-card::after { content:"✦"; position:absolute; right:18%; top:25%; color:rgba(205,63,132,.13); font-size:7rem; transform:rotate(12deg); }
.cta-card > div { max-width:700px; }
.cta-card h2 { font-size:clamp(2.2rem,4vw,4rem); line-height:1; margin:12px 0 12px; }
.cta-card p { color:var(--muted); line-height:1.65; margin:0; }
.cta-card .btn { flex:0 0 auto; }

.footer { min-height: 120px; display:flex; justify-content:space-between; align-items:center; gap:18px; color:#98788a; font-size:.72rem; }
.footer a { color:#9f3b72; font-weight:700; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal.is-open { display: grid; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48,25,39,.42);
  backdrop-filter: blur(9px);
}
.modal-card {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 16px;
  border-radius: 28px;
  background: rgba(255,250,253,.98);
  border: 1px solid rgba(190,69,130,.17);
  box-shadow: 0 34px 100px rgba(70,30,51,.30);
  animation: modalIn .25s ease both;
  overscroll-behavior: contain;
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 8;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(178,76,128,.16);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  color: #9f3c70;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(100,45,73,.10);
  transition: transform .2s ease, background .2s ease;
}
.modal-close:hover { transform: rotate(5deg) scale(1.04); background: #fff; }
.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 26px;
  align-items: center;
}
.modal-gallery { min-width: 0; }
.gallery-stage {
  height: clamp(320px, 54vh, 560px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 21px;
  border: 1px solid rgba(180,73,128,.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.92), transparent 42%),
    linear-gradient(145deg, #fff7fb, #fbe8f2);
}
.gallery-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .18s ease, transform .22s ease;
}
.gallery-stage img.is-changing { opacity: .18; transform: scale(.992); }
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181,66,123,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  color: #9e3c70;
  box-shadow: 0 9px 22px rgba(91,39,67,.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.gallery-nav:hover { background: #fff; }
.gallery-nav:active { transform: translateY(-50%) scale(.95); }
.gallery-nav svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-nav[hidden] { display: none; }
.gallery-counter {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(39,22,33,.72);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}
.gallery-dots {
  min-height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 10px;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #e6bfd2;
  cursor: pointer;
  transition: width .2s ease, background .2s ease, transform .2s ease;
}
.gallery-dot:hover { transform: scale(1.15); }
.gallery-dot.is-active { width: 22px; background: #d34b8d; }
.modal-copy {
  padding: 34px 32px 34px 4px;
  min-width: 0;
}
.modal-label {
  display: block;
  color: #a33f74;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.modal-card h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.02;
  margin: 11px 0 13px;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: .9rem;
}
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.modal-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffe8f2;
  color: #9f3c70;
  font-size: .68rem;
  font-weight: 700;
}

/* CONTACT */
.contact-main { padding-top: 72px; }
.contact-hero { max-width: 860px; margin-bottom: 42px; }
.contact-hero h1 { font-size:clamp(3.6rem,7vw,7rem); line-height:.9; margin:16px 0 20px; }
.contact-hero p { max-width:650px; color:var(--muted); font-size:1rem; line-height:1.75; }
.contact-grid { display:grid; grid-template-columns:.92fr 1.08fr; gap:18px; align-items:start; }
.contact-list { display:grid; gap:12px; }
.contact-card {
  min-height:92px; padding:18px;
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px;
  border-radius:18px; border:1px solid var(--line); background:rgba(255,255,255,.72); box-shadow:var(--shadow-soft);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.contact-card:not(.static):hover { transform:translateY(-3px); border-color:rgba(218,72,145,.27); box-shadow:0 22px 48px rgba(125,54,90,.12); }
.contact-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#ffe4f0; color:#b53e7d; font-weight:700; }
.contact-card div:nth-child(2) { display:grid; gap:4px; min-width:0; }
.contact-card span { color:#ad879a; font-size:.68rem; text-transform:uppercase; letter-spacing:.1em; }
.contact-card strong { font-size:.87rem; overflow-wrap:anywhere; }
.contact-card > b { color:#b23d78; }
.availability-box { margin-top:4px; padding:18px; display:flex; align-items:flex-start; gap:14px; border:1px dashed rgba(196,62,128,.28); border-radius:18px; background:rgba(255,239,247,.55); }
.availability-box strong { font-size:.82rem; }
.availability-box p { margin:4px 0 0; color:var(--muted); font-size:.72rem; line-height:1.5; }

.contact-form { padding:28px; border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.74); box-shadow:var(--shadow); display:grid; gap:15px; }
.form-title { display:flex; justify-content:space-between; gap:12px; align-items:end; margin-bottom:3px; }
.form-title span { font-family:"Playfair Display",serif; font-size:2rem; font-weight:700; letter-spacing:-.03em; }
.form-title small { color:#a98698; max-width:210px; text-align:right; line-height:1.4; }
.contact-form label { display:grid; gap:7px; color:#704d60; font-size:.72rem; font-weight:700; }
.contact-form input, .contact-form textarea { width:100%; border:1px solid rgba(178,79,129,.14); border-radius:13px; background:#fff9fc; padding:13px 14px; outline:none; color:var(--ink); resize:vertical; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color:rgba(226,71,147,.42); box-shadow:0 0 0 4px rgba(239,79,157,.08); background:#fff; }
.submit-btn { margin-top:3px; width:100%; }
.form-note { min-height:18px; margin:0; color:#9c4373; font-size:.72rem; text-align:center; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }

@keyframes pulse { 0%,100%{ box-shadow:0 0 0 6px rgba(242,90,164,.08);} 50%{box-shadow:0 0 0 11px rgba(242,90,164,0);} }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes float { 0%,100%{ transform:translateY(0) rotate(-1deg);} 50%{transform:translateY(-10px) rotate(1deg);} }
@keyframes modalIn { from{opacity:0;transform:translateY(14px) scale(.98)} to{opacity:1;transform:none} }

@media (max-width: 1080px) {
  .hero-card { grid-template-columns: 1.15fr .85fr; }
  .stack-panel { grid-column:1/-1; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding:30px; border-top:1px solid var(--line); }
  .stack-panel .section-kicker, .stack-panel > h3 { grid-column:1/-1; }
  .stack-panel > h3 { margin-bottom:2px; }
  .stack-group + .stack-group { margin-top:0; }
  .journey-grid { grid-template-columns:1fr 1fr; }
  .journey-card.featured { grid-column:1/-1; }
}

@media (max-width: 820px) {
  .section-wrap, .nav-shell { width:min(100% - 24px, 1180px); }
  .site-header { top:10px; padding-top:10px; }
  .modal-layout { grid-template-columns: 1fr; gap: 8px; }
  .modal-copy { padding: 18px 18px 24px; }
  .gallery-stage { height: min(48vh, 440px); }
  .hero { padding-top:28px; }
  .hero-card { grid-template-columns:1fr; }
  .hero-copy { padding:42px 28px; }
  .hero-visual { min-height:480px; border-left:0; border-right:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .stack-panel { grid-template-columns:1fr 1fr; }
  .stack-group:last-child { grid-column:1/-1; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .section-head p { max-width:650px; margin-top:0; }
  .portfolio-grid { grid-template-columns:repeat(2,1fr); }
  .journey-grid { grid-template-columns:1fr; }
  .journey-card.featured { grid-column:auto; }
  .contact-grid { grid-template-columns:1fr; }
  .cta-card { padding:36px 28px; align-items:flex-start; flex-direction:column; }
  .footer { padding:26px 0; flex-direction:column; justify-content:center; text-align:center; }
}

@media (max-width: 560px) {
  .nav-shell { height:58px; padding:7px; border-radius:18px; }
  .nav-home { width:44px; height:44px; border-radius:13px; }
  .nav-contact { min-height:44px; padding:0 13px 0 15px; border-radius:13px; font-size:.8rem; }
  .modal { padding:10px; }
  .modal-card { max-height:calc(100vh - 20px); padding:10px; border-radius:22px; }
  .modal-close { top:18px; right:18px; width:36px; height:36px; }
  .gallery-stage { height:min(43vh, 350px); border-radius:17px; }
  .gallery-nav { width:38px; height:38px; }
  .gallery-prev { left:10px; }
  .gallery-next { right:10px; }
  .gallery-counter { left:10px; bottom:10px; }
  .modal-copy { padding:14px 10px 18px; }
  .modal-card h2 { font-size:2.15rem; }
  .hero-copy { padding:36px 22px; }
  .hero h1 { font-size:3.65rem; }
  .hero-meta { gap:22px; flex-direction:column; }
  .hero-visual { min-height:430px; }
  .portrait-frame { width:225px; }
  .portrait-orbit { width:275px; height:275px; }
  .chip-one { right:10px; top:95px; }
  .chip-two { left:8px; bottom:78px; }
  .stack-panel { grid-template-columns:1fr; padding:28px 20px; }
  .stack-group:last-child { grid-column:auto; }
  .skill-grid { gap:7px; }
  .portfolio-grid { grid-template-columns:1fr; }
  .journey-card { align-items:flex-start; flex-direction:column; }
  .journey-score { margin-left:0; padding-left:0; border-left:0; text-align:left; }
  .cta { padding-top:70px; }
  .cta-card { min-height:0; }
  .contact-main { padding-top:46px; }
  .contact-hero h1 { font-size:3.7rem; }
  .contact-form { padding:20px; }
  .form-title { align-items:flex-start; flex-direction:column; }
  .form-title small { text-align:left; }
  .contact-card { grid-template-columns:auto 1fr; }
  .contact-card > b { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation:none !important; transition:none !important; }
  .reveal { opacity:1; transform:none; }
  .cursor-glow { display:none; }
}
