/* ==========================================================================
   Lain Creviston — theme styles
   No framework. The handful of layout utilities the original design pulled
   from Tailwind are written out by hand below (.shell, .chip-list, grids).
   ========================================================================== */

:root {
  --bg:        #FDE8F2;
  --bg-soft:   #FACFDF;
  --bg-card:   #FFF5F8;
  --pink-xl:   #FCD8EA;
  --pink-l:    #F9BDD5;
  --pink:      #F080A8;
  --pink-m:    #E05888;
  --pink-d:    #C03070;
  --rose:      #8B1A4A;
  --rose-d:    #5C0A30;
  --txt:       #4A0A28;
  --txt-mid:   #A04060;
  --txt-soft:  #C87090;

  --ghost:     rgba(210, 60, 115, .20);
  --shell-max: 1280px;
  --radius:    20px;
  --ease:      cubic-bezier(.22, .68, 0, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Outfit', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ── Accessibility ───────────────────────────────────────────────────── */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 999;
  width: auto; height: auto; clip-path: none;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--rose); color: #fff; text-decoration: none;
}
:focus-visible { outline: 2px solid var(--pink-d); outline-offset: 3px; }

/* ── Layout ──────────────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .shell { padding-inline: 2rem; } }

/* ── Shared type ─────────────────────────────────────────────────────── */
.label {
  font-size: .65rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink-m);
}
.eyebrow-text {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pink-m);
}
.grad-text {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-d) 60%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.soft-divider {
  display: block; height: 1.5px;
  background: linear-gradient(to right, transparent, var(--pink-l), transparent);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.cta-btn {
  display: inline-block;
  font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .9rem 2.6rem; border-radius: 999px;
  background: var(--pink-d); color: #fff;
  border: none; cursor: pointer; text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 22px rgba(192, 48, 112, .3);
  transition: background .3s, transform .22s, box-shadow .3s;
}
.cta-btn:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(192, 48, 112, .4);
}
.cta-btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.cta-btn--block { width: 100%; }

.cta-outline {
  display: inline-block;
  font-weight: 500; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .85rem 2.4rem; border-radius: 999px;
  background: transparent; color: var(--pink-d);
  border: 1.5px solid var(--pink);
  text-decoration: none;
  transition: background .28s, transform .28s;
}
.cta-outline:hover { background: var(--pink-xl); transform: translateY(-1px); }

/* ── Chips ───────────────────────────────────────────────────────────── */
.chip-list {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none;
}
.chip {
  display: inline-block;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 999px;
  background: var(--pink-xl); color: var(--pink-d);
  border: 1.5px solid var(--pink-l);
  transition: background .28s, color .28s, border-color .28s, transform .28s, box-shadow .28s;
}
.chip--sm { font-size: .62rem; padding: .28rem .75rem; }
.chip--link { text-decoration: none; }
.chip--link:hover, .chip:hover {
  background: var(--pink); color: #fff; border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 90, 138, .3);
}

/* ── Decorative ──────────────────────────────────────────────────────── */
.blob {
  position: absolute; border-radius: 9999px;
  filter: blur(70px); pointer-events: none; z-index: 0;
}
.blob--a {
  width: 420px; height: 340px; top: -80px; right: -80px;
  background: rgba(248, 142, 180, .22);
  animation: float-blob 10s ease-in-out infinite;
}
.blob--b {
  width: 260px; height: 260px; bottom: 80px; left: 5%;
  background: rgba(220, 90, 138, .15);
  animation: float-blob 8s ease-in-out infinite reverse;
}
.blob--c {
  width: 180px; height: 180px; top: 40%; left: 40%;
  background: rgba(252, 200, 226, .35);
  animation: float-blob 12s ease-in-out infinite 2s;
}
.blob--contact-a {
  width: 380px; height: 300px; top: -60px; right: -60px;
  background: rgba(248, 142, 180, .14); filter: blur(90px);
}
.blob--contact-b {
  width: 240px; height: 240px; bottom: 40px; left: 5%;
  background: rgba(220, 90, 138, .1);
}
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(18px, -24px) scale(1.06); }
  66%      { transform: translate(-12px, 16px) scale(.96); }
}

.sparkle {
  position: absolute; width: 6px; height: 6px;
  background: var(--pink); border-radius: 50%; opacity: .55;
  animation: twinkle 3s ease-in-out infinite;
  pointer-events: none;
}
.sparkle--1 { top: 18%; left: 12%; animation-delay: 0s; }
.sparkle--2 { top: 32%; right: 18%; width: 4px; height: 4px; animation-delay: .8s; }
.sparkle--3 { bottom: 28%; right: 30%; width: 8px; height: 8px; background: var(--pink-l); animation-delay: 1.5s; }
.sparkle--4 { top: 60%; left: 28%; width: 5px; height: 5px; animation-delay: .4s; }
.sparkle--5 { bottom: 18%; left: 52%; width: 4px; height: 4px; animation-delay: 1.1s; }
@keyframes twinkle {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .15; transform: scale(.4); }
}

/* ── Navigation ──────────────────────────────────────────────────────── */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(253, 228, 240, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(248, 142, 180, .18);
  transition: box-shadow .3s;
}
#nav.is-scrolled { box-shadow: 0 4px 24px rgba(220, 90, 138, .1); }
@media (min-width: 768px) { #nav { padding: 1.25rem 2.5rem; } }

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 700;
  font-size: 1.15rem; letter-spacing: .04em;
  color: var(--rose); text-decoration: none;
}

.nav-links { display: none; }
@media (min-width: 768px) { .nav-links { display: block; } }
.nav-links__list {
  display: flex; align-items: center; gap: 2.25rem;
  list-style: none;
}
.nav-link, .nav-links__list a {
  position: relative;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt-mid); text-decoration: none;
  transition: color .25s;
}
.nav-link::after, .nav-links__list a::after {
  content: ''; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1.5px; background: var(--pink);
  transition: width .28s ease;
}
.nav-link:hover, .nav-links__list a:hover { color: var(--rose); }
.nav-link:hover::after, .nav-links__list a:hover::after { width: 100%; }

.nav-cta {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bg-card); text-decoration: none;
  background: var(--pink-d);
  padding: .48rem 1.3rem; border-radius: 999px;
  white-space: nowrap;
  transition: background .28s, transform .2s;
}
.nav-cta:hover { background: var(--rose); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 6rem; padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(248, 142, 180, .35) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 85%, rgba(220, 90, 138, .2) 0%, transparent 60%),
    var(--bg);
}
.hero__inner { position: relative; z-index: 10; }

.hero__ko {
  position: absolute;
  font-family: 'Noto Serif KR', serif; font-weight: 900;
  color: var(--ghost);
  line-height: 1; letter-spacing: -.02em;
  user-select: none; pointer-events: none;
}
.hero__ko--primary {
  font-size: clamp(7rem, 22vw, 20rem);
  top: 8%; right: -2%; transform: rotate(-6deg);
}
.hero__ko--secondary {
  font-size: clamp(4rem, 12vw, 11rem);
  bottom: 10%; left: -1%; transform: rotate(5deg);
}

.hero__eyebrow {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.eyebrow-rule {
  display: block; width: 2.5rem; height: 1.5px;
  background: var(--pink); border-radius: 1px; opacity: .55;
}

.hero__name-wrap { overflow: hidden; }
.hero__name-top {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3.25rem, 14vw, 12rem);
  line-height: .9; letter-spacing: -.02em;
  color: var(--rose-d);
}
.hero__name-bottom {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 700;
  font-size: clamp(3.5rem, 15vw, 13rem);
  line-height: .88; letter-spacing: -.02em;
}

.hero__sub-row {
  display: flex; flex-direction: column;
  gap: 1.25rem; margin-top: 1.75rem;
}
@media (min-width: 768px) {
  .hero__sub-row { flex-direction: row; align-items: flex-end; gap: 3.5rem; }
}
.hero__sub {
  max-width: 24rem;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: .02em; color: var(--txt-mid);
}
.hero__location {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--txt-soft);
}

.hero__ctas {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem; margin-top: 2.5rem;
}

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--pink-xl);
  border-radius: 16px;
  padding: 1.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 3px 16px rgba(220, 90, 138, .07);
}
.stat-card__value {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem; font-weight: 900; line-height: 1;
  color: var(--rose);
}
.stat-card__label { display: block; margin-top: .35rem; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--pink-m); z-index: 10;
  animation: bounce-soft 2s ease-in-out infinite;
}
@keyframes bounce-soft {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ── Marquee ─────────────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding-block: .875rem;
  background: var(--bg-soft);
  border-block: 1.5px solid var(--pink-xl);
}
.marquee__track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap; width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee__star { color: var(--pink); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Ghost headings ──────────────────────────────────────────────────── */
.ghost-head { position: relative; display: inline-block; }
.ghost-head__ko {
  position: absolute; top: 50%;
  font-family: 'Noto Serif KR', serif; font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--ghost); line-height: 1;
  white-space: nowrap; user-select: none; pointer-events: none;
  z-index: 0;
}
.ghost-head--left .ghost-head__ko  { left: 0; transform: translateY(-50%); }
.ghost-head--center .ghost-head__ko { left: 50%; transform: translate(-50%, -50%); }
.ghost-head__en {
  position: relative; z-index: 1;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .95; letter-spacing: -.02em;
  color: var(--rose-d);
}
.ghost-head__en em {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 1.2em;
  letter-spacing: -.02em;
}

/* ── About ───────────────────────────────────────────────────────────── */
.about {
  position: relative; overflow: hidden;
  padding-block: 7rem;
  background: var(--bg-soft);
}
.about__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 4rem; align-items: center;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}
.about__portrait { display: flex; justify-content: center; }
@media (min-width: 900px) { .about__portrait { justify-content: flex-start; } }

.portrait { position: relative; display: inline-block; }
.portrait__ring {
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 2px dashed rgba(248, 142, 180, .45);
  animation: spin-slow 22s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.portrait__frame {
  width: min(420px, 78vw); aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  background: var(--pink-xl);
  border: 4px solid var(--pink-l);
  box-shadow: 0 16px 60px rgba(220, 90, 138, .22);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }

.portrait__badge {
  position: absolute; bottom: -18px; right: -18px;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--pink-xl); border: 2px solid var(--pink-l);
}

.about__label { margin-bottom: .75rem; }
.about__quote {
  margin-block: 1.6rem 1rem;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 300;
  font-size: 1.1rem; line-height: 1.75;
  color: var(--txt-mid);
}
.about__copy p {
  font-size: .9rem; line-height: 1.9;
  color: var(--txt-mid); margin-bottom: 1rem;
}
.about__copy p:last-child { margin-bottom: 0; }
.about__skills { margin-top: 2rem; }

/* ── Work ────────────────────────────────────────────────────────────── */
.work {
  position: relative; overflow: hidden;
  padding-block: 7rem;
  background: var(--bg);
}
.work__ko {
  position: absolute; bottom: 5%; right: 3%;
  font-family: 'Noto Serif KR', serif; font-weight: 900;
  font-size: clamp(5rem, 14vw, 12rem);
  color: rgba(210, 60, 115, .08);
  line-height: 1; transform: rotate(-6deg);
  user-select: none; pointer-events: none;
}
.work .shell { position: relative; z-index: 1; }

.work__head {
  display: flex; flex-direction: column;
  gap: 1.5rem; margin-bottom: 3rem;
}
@media (min-width: 900px) {
  .work__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.work__label { margin-bottom: .75rem; }
.work__filters { display: flex; flex-wrap: wrap; gap: .5rem; }

.filter-btn {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .42rem 1.1rem; border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--pink-l);
  color: var(--txt-mid); cursor: pointer;
  transition: background .28s, color .28s, border-color .28s, box-shadow .28s;
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--pink); border-color: var(--pink);
  color: #fff; box-shadow: 0 4px 16px rgba(220, 90, 138, .3);
}

.work__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  /* Cards size to their own content — without this a wide 16:9 card stretches
     every sibling in its row, leaving dead space under the shorter ones. */
  align-items: start;
}
@media (min-width: 700px)  { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work__grid { grid-template-columns: repeat(3, 1fr); } }

.work__empty {
  padding: 2rem; text-align: center;
  border: 1.5px dashed var(--pink-l); border-radius: var(--radius);
  color: var(--txt-mid); font-size: .9rem;
}

.p-card {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1.5px solid var(--pink-xl);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(220, 90, 138, .08);
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s, opacity .38s ease;
}
.p-card:hover, .p-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 20px 52px rgba(220, 90, 138, .2);
}
.p-card.is-hidden { display: none; }
@media (min-width: 1024px) {
  .p-card--wide { grid-column: span 2; }
}

.p-card__thumb {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 4 / 3;
}
.p-card--wide .p-card__thumb { aspect-ratio: 16 / 9; }
.p-card__img, .p-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.p-card:hover .p-card__img { transform: scale(1.04); }

/* Gradient placeholders for projects without a display image. */
.p-card__thumb--grad { display: flex; align-items: center; justify-content: center; }
.p-card__thumb--g1 { background: linear-gradient(135deg, #fde4ef, #f080a8, #e05888); }
.p-card__thumb--g2 { background: linear-gradient(160deg, #fde8f2, #f8aed0); }
.p-card__thumb--g3 { background: linear-gradient(200deg, #fcd8ea, #f080a8); }
.p-card__thumb--g4 { background: linear-gradient(108deg, #f8b8d8, #e05888, #c03070); }
.p-card__placeholder {
  padding: 1.5rem; text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.05; letter-spacing: -.02em;
  color: rgba(255, 255, 255, .5);
  text-shadow: 0 2px 12px rgba(139, 26, 74, .15);
}

.p-card__meta { padding: 1.4rem 1.5rem 1.6rem; }
.p-card__num {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: .8rem; color: var(--txt-soft); margin-bottom: .3rem;
}
.p-card__title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: 1.25rem; line-height: 1.15; color: var(--rose-d);
}
.p-card__type {
  margin-top: .35rem;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt-soft);
}
.p-card__tag {
  display: inline-block; margin-top: .6rem;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .65rem; border-radius: 999px;
  background: var(--pink-xl); color: var(--pink-d);
}

/* ── Lightbox ────────────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(92, 10, 48, .55);
  backdrop-filter: blur(6px);
  animation: fade-in .25s ease both;
}
.modal__panel {
  position: relative; z-index: 1;
  width: min(1100px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: var(--bg-card);
  border: 1.5px solid var(--pink-l);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(92, 10, 48, .3);
  animation: modal-in .35s var(--ease) both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); color: var(--rose);
  border: 1.5px solid var(--pink-l); cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.modal__close:hover { background: var(--pink); color: #fff; transform: rotate(90deg); }

.modal__content {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
/* Only split into two columns when the project actually has imagery —
   otherwise the body copy gets the full panel width. */
@media (min-width: 860px) {
  .modal__content:has(.modal__media) { grid-template-columns: 1.3fr 1fr; }
}
.modal__media {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.25rem; background: var(--pink-xl);
}
.modal__media img { width: 100%; border-radius: 12px; }

.modal__body { padding: 2.5rem 2rem; }
.modal__title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05; letter-spacing: -.02em; color: var(--rose-d);
}
.modal__type {
  margin-top: .5rem;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt-soft);
}
.modal__desc { margin-top: 1.25rem; }
.modal__desc p {
  font-size: .92rem; line-height: 1.85;
  color: var(--txt-mid); margin-bottom: 1rem;
}
.modal__tags { margin-top: 1.25rem; }
.modal__link { margin-top: 1.75rem; }

body.modal-open { overflow: hidden; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact {
  position: relative; overflow: hidden;
  padding-block: 7rem;
  background: var(--bg-soft);
}
.contact .shell { position: relative; z-index: 1; }

.contact__head { text-align: center; margin-bottom: 3.5rem; }
.contact__intro {
  max-width: 28rem; margin: 1rem auto 0;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-weight: 300;
  font-size: 1.1rem; color: var(--txt-mid);
}

.contact__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 3rem; align-items: start;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}

.info-card {
  display: flex; flex-direction: column; gap: 1.8rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1.5px solid var(--pink-xl);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(220, 90, 138, .1);
}
.info-card__email {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 1.1rem;
  color: var(--rose); text-decoration: none;
  transition: color .25s;
}
.info-card__email:hover { color: var(--pink-d); }
.info-card__value {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 1.05rem; color: var(--rose-d);
}
.info-card__status {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; color: var(--txt-mid);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6BCB77; box-shadow: 0 0 8px rgba(107, 203, 119, .5);
}

.c-label {
  display: block; margin-bottom: .4rem;
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pink-m);
}
.c-input {
  width: 100%;
  padding: .75rem 1rem;
  font-family: 'Outfit', system-ui, sans-serif; font-size: .92rem;
  color: var(--txt);
  background: var(--bg-card);
  border: 1.5px solid var(--pink-l);
  border-radius: 10px;
  outline: none;
  transition: border-color .28s, box-shadow .28s;
}
.c-input::placeholder { color: rgba(200, 112, 144, .55); }
.c-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(248, 142, 180, .25);
}
textarea.c-input { resize: vertical; min-height: 8rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-form__row {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}

/* Honeypot: off-screen rather than display:none so bots still fill it. */
.hp-field {
  position: absolute !important;
  left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

.form-status { font-size: .82rem; min-height: 1.2em; }
.form-status.is-error   { color: #B3261E; }
.form-status.is-success { color: #2E7D32; }
.form-notice {
  padding: .9rem 1.2rem; border-radius: 10px;
  font-size: .88rem; margin-bottom: 1.25rem;
}
.form-notice--success {
  background: rgba(107, 203, 119, .15);
  border: 1.5px solid rgba(107, 203, 119, .5);
  color: #2E7D32;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  padding-block: 1.75rem;
  background: var(--bg);
  border-top: 1.5px solid var(--pink-xl);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: .75rem; text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-name {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; font-size: 1rem; color: var(--txt-mid);
}
.footer-meta { color: var(--txt-soft); }

/* ── Motion ──────────────────────────────────────────────────────────── */
.anim { animation-fill-mode: both; }
.rise { animation: rise 1s cubic-bezier(.22, .68, 0, 1.2); }
@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .24s; }
.d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; }
.d5 { animation-delay: .7s; }
.d6 { animation-delay: .9s; }

.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal   { transform: translateY(36px); }
.reveal-l { transform: translateX(-36px); }
.reveal-r { transform: translateX(36px); }
.reveal.is-visible, .reveal-l.is-visible, .reveal-r.is-visible {
  opacity: 1; transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; }
}
