:root {
  --bg: #fbfaf7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #111111;
  --muted: #606574;
  --line: rgba(17, 17, 17, 0.08);
  --shadow: 0 24px 70px rgba(18, 24, 40, 0.08);
  --shadow-strong: 0 28px 90px rgba(18, 24, 40, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --max: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
  --peach: #ffbf8f;
  --blue: #95c3ff;
  --lavender: #c9bbff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.94), transparent 25%),
    linear-gradient(180deg, #fffdfa 0%, #fbfaf6 32%, #f7f7f1 100%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.hidden { display: none !important; }

.ambient,
.swirl {
  position: fixed;
  pointer-events: none;
  z-index: -3;
}
.ambient {
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.65;
  animation: drift 20s ease-in-out infinite alternate;
}
.ambient-a { width: 300px; height: 300px; top: 3%; left: -5%; background: color-mix(in srgb, var(--peach) 72%, transparent); }
.ambient-b { width: 330px; height: 330px; top: 26%; right: -6%; background: color-mix(in srgb, var(--blue) 66%, transparent); animation-duration: 24s; }
.ambient-c { width: 300px; height: 300px; bottom: 8%; left: 16%; background: color-mix(in srgb, var(--lavender) 60%, transparent); animation-duration: 26s; }

.swirl { fill: none; opacity: 0.55; }
.swirl path { stroke: rgba(17, 17, 17, 0.11); stroke-width: 1.2; stroke-linecap: round; }
.swirl-one { width: 540px; top: 12%; right: -7%; transform: rotate(7deg); }
.swirl-two { width: 520px; bottom: 1%; left: -9%; transform: rotate(-10deg); }

@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(24px,-20px,0) scale(1.08); }
}
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
@keyframes slowPulse {
  from { transform: scale(1); opacity: .96; }
  to { transform: scale(1.015); opacity: 1; }
}

.serif {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-header {
  position: sticky;
  top: 18px;
  width: min(calc(100% - 28px), 1160px);
  margin: 18px auto 0;
  padding: 16px 18px;
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 40;
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease), background .6s var(--ease), box-shadow .6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 22px 65px rgba(18,24,40,0.12);
}
.brand { text-decoration: none; font-weight: 700; letter-spacing: -0.04em; }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .96rem;
  transition: transform .45s var(--ease), color .45s var(--ease), opacity .45s var(--ease);
}
.site-nav a:hover { transform: translateY(-1px); color: var(--text); opacity: 1; }
.nav-toggle { display: none; border: 0; background: transparent; font: inherit; cursor: pointer; }

.section {
  width: min(calc(100% - 34px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 108px;
}
.section-intro { margin-bottom: 24px; }
.section-intro h2,
.hero h1,
.profile-card h3,
.auth-card h3,
.contact-card p:first-child,
.gallery-copy h3,
.hero-card-main h2,
.tiger-copy-card h3 { letter-spacing: -0.04em; }

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding-top: 72px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(3.35rem, 8vw, 7rem);
  line-height: .93;
  letter-spacing: -0.065em;
}
.hero-text,
.copy-block p,
.profile-card p,
.contact-card p,
.auth-card p,
.helper-text,
.gallery-copy p,
.status-text,
.section-note,
.tiger-copy-card p { color: var(--muted); line-height: 1.8; }
.hero-text { max-width: 58ch; margin-top: 24px; font-size: 1.05rem; }
.section-note { max-width: 62ch; margin: 8px 0 0; }
.hero-actions,
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.accent { color: #3b4257; }

.button {
  border-radius: 999px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform .55s var(--ease),
    box-shadow .55s var(--ease),
    background .55s var(--ease),
    border-color .55s var(--ease),
    opacity .55s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(17,17,17,0.08); }
.button-dark { background: #111; color: #fff; border-color: #111; }
.button-light { background: rgba(255,255,255,0.76); color: var(--text); }

.hero-aside { display: grid; gap: 18px; align-self: center; }
.hero-card,
.mini-card,
.profile-card,
.contact-card,
.auth-card,
.gallery-item,
.tiger-art-card,
.tiger-copy-card,
.copy-block {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease), background .9s var(--ease);
}
.hero-card:hover,
.mini-card:hover,
.profile-card:hover,
.gallery-item:hover,
.tiger-art-card:hover,
.tiger-copy-card:hover,
.copy-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}
.hero-card-main { border-radius: var(--radius-xl); padding: 28px; min-height: 292px; }
.hero-card-main h2 { margin: 18px 0; font-size: 1.85rem; }
.chip {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  font-size: .8rem;
}
.stat-list { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; }
.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.stat-list li:last-child { border-bottom: 0; }
.stat-list span { color: var(--muted); }
.mini-card-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mini-card { border-radius: var(--radius-lg); padding: 20px; min-height: 152px; }
.floating { animation: floaty 6.5s ease-in-out infinite alternate; }
.delay-float-a { animation-duration: 7.4s; }
.delay-float-b { animation-duration: 8.2s; }

.split-grid,
.profile-grid,
.gallery-grid,
.tiger-grid { display: grid; gap: 20px; }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.copy-block { border-radius: var(--radius-xl); padding: 28px; }
.copy-block p:first-child { margin-top: 0; }
.copy-block p:last-child { margin-bottom: 0; }

.profile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profile-card,
.contact-card,
.auth-card,
.gallery-item,
.tiger-copy-card {
  border-radius: var(--radius-lg);
  padding: 22px;
}
.profile-card h3,
.gallery-copy h3,
.auth-card h3,
.tiger-copy-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.profile-card p,
.contact-card p,
.gallery-copy p,
.auth-card p,
.tiger-copy-card p { margin: 0; }

.tiger-section .section-intro { max-width: 800px; }
.tiger-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}
.tiger-art-card {
  border-radius: var(--radius-xl);
  padding: 18px;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,191,143,.36), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(201,187,255,.24), transparent 34%),
    var(--surface-strong);
}
.tiger-art-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  pointer-events: none;
}
.tiger-artwork {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  animation: slowPulse 5s ease-in-out infinite alternate;
  will-change: transform;
}
.tiger-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.gallery-section .section-intro { max-width: 700px; }
.owner-panel {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.auth-card { align-self: start; }
.auth-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: .93rem;
  color: var(--muted);
}
.auth-card input,
.auth-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,0.08);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.auth-card input:focus,
.auth-card textarea:focus {
  border-color: rgba(17,17,17,0.18);
  box-shadow: 0 0 0 4px rgba(149,195,255,0.18);
  transform: translateY(-1px);
}
.helper-text { margin-top: 12px; font-size: .9rem; }
.status-text { font-size: .94rem; }
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}
.gallery-item {
  overflow: hidden;
  padding: 0;
  min-height: 100%;
  position: relative;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.01);
}
.gallery-copy { padding: 18px 18px 20px; }
.remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(17,17,17,0.82);
  color: white;
  cursor: pointer;
}
.contact-card { max-width: 560px; }
.site-footer {
  width: min(calc(100% - 34px), var(--max));
  margin: 0 auto;
  padding: 0 0 56px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(.985);
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease), filter 1.15s var(--ease);
  filter: blur(4px);
  will-change: transform, opacity, filter;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.delay-1 { transition-delay: .12s; }

@media (max-width: 1080px) {
  .hero,
  .split-grid,
  .owner-panel,
  .tiger-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { padding: 14px 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.95);
  }
  .site-nav.open { display: flex; }
  .section { padding: 80px 0; }
  .hero { min-height: auto; }
  .mini-card-row,
  .profile-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-card-main,
  .copy-block,
  .profile-card,
  .contact-card,
  .auth-card,
  .tiger-copy-card { padding: 20px; }
  .swirl-one { width: 360px; top: 16%; right: -26%; }
  .swirl-two { width: 360px; left: -26%; bottom: 8%; }
}
