﻿:root {
  color-scheme: light;
  --ink: #243043;
  --muted: #5d697b;
  --blue: #2e86ab;
  --green: #4b9f68;
  --yellow: #f4c542;
  --coral: #e86a5a;
  --cream: #f7f0ff;
  --paper: #dff8fb;
  --mint: #bdeff2;
  --sky: #cfe9fb;
  --lavender: #d8caf6;
  --aqua: #8edce7;
  --line: rgba(36, 48, 67, 0.14);
  --shadow: 0 22px 58px rgba(36, 48, 67, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(118, 205, 220, 0.56) 0 14%, transparent 34%),
    radial-gradient(circle at 64% 20%, rgba(211, 190, 242, 0.72) 0 18%, transparent 42%),
    radial-gradient(circle at 88% 72%, rgba(126, 219, 226, 0.58) 0 16%, transparent 38%),
    linear-gradient(145deg, #c4eff6 0%, #d8eefa 34%, #d8caf6 66%, #aeeaf1 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(235, 250, 252, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--sky);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 6vw, 88px) clamp(18px, 6vw, 82px) 44px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.hero::before {
  width: 210px;
  height: 210px;
  left: -58px;
  top: 56px;
  background: var(--sky);
}

.hero::after {
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -70px;
  background: var(--mint);
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "Comic Sans MS", "Segoe UI", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "Comic Sans MS", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 12px 26px rgba(232, 106, 90, 0.25);
}

.button.secondary {
  background: var(--sky);
  color: var(--ink);
}

.hero-portrait {
  position: relative;
  align-self: center;
  border-radius: 38px;
  padding: 22px;
  overflow: visible;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.96) 0 18%, transparent 36%),
    radial-gradient(circle at 88% 84%, rgba(142, 220, 231, 0.58) 0 22%, transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 255, 0.96));
  box-shadow:
    0 24px 60px rgba(36, 48, 67, 0.16),
    0 0 0 10px rgba(255, 255, 255, 0.62),
    0 0 44px rgba(142, 220, 231, 0.42);
  background-size: 220% 220%;
  isolation: isolate;
  transform: rotate(1deg);
  animation: watercolor-frame 6s ease-in-out infinite alternate;
}

.hero-portrait::before {
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 52px;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.82),
    rgba(174, 234, 241, 0.58),
    rgba(216, 202, 246, 0.5),
    rgba(196, 239, 246, 0.56),
    rgba(255, 255, 255, 0.82)
  );
  filter: blur(1.8px) saturate(0.88);
  opacity: 0.72;
  animation: watercolor-border-spin 8s linear infinite;
  content: "";
}

.hero-portrait::after {
  position: absolute;
  inset: 9px;
  z-index: 2;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  box-shadow:
    0 0 0 1px rgba(174, 234, 241, 0.24),
    inset 0 0 18px rgba(216, 202, 246, 0.16);
  pointer-events: none;
  animation: watercolor-line 4.8s ease-in-out infinite;
  content: "";
}
.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(68vh, 680px);
  object-fit: cover;
  object-position: 50% 24%;
  border: 5px solid rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(216, 202, 246, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 82px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: stretch;
}

.bio-panel,
.fact-strip,
.featured-work,
.source-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(36, 48, 67, 0.08);
  backdrop-filter: blur(10px);
}

.bio-panel {
  padding: clamp(24px, 4vw, 42px);
  font-size: 1.08rem;
}

.bio-panel p:last-child,
.source-section p:last-child {
  margin-bottom: 0;
}

.fact-strip {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.fact-strip div {
  border-radius: 8px;
  padding: 18px;
  background: var(--cream);
}

.fact-strip div:nth-child(2) {
  background: var(--mint);
}

.fact-strip div:nth-child(3) {
  background: var(--sky);
}

.fact-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-strip strong {
  display: block;
  margin-top: 4px;
  font-family: "Comic Sans MS", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(216, 202, 246, 0.34));
}

.story-image {
  border-radius: 24px;
  padding: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  border-radius: 16px;
  object-fit: cover;
}

.story-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trait-list span,
.works-list span {
  border-radius: 999px;
  padding: 9px 13px;
  background: white;
  color: var(--ink);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 26px;
}

.featured-work {
  overflow: hidden;
}

.featured-work img {
  width: 100%;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
}

.featured-work div {
  padding: 20px;
}

.featured-work p {
  color: var(--muted);
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.works-list span:nth-child(3n + 1) {
  background: var(--mint);
}

.works-list span:nth-child(3n + 2) {
  background: var(--sky);
}

.works-list span:nth-child(3n) {
  background: var(--cream);
}

.gallery-section {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.gallery-grid {
  column-count: 4;
  column-gap: 18px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  border: 0;
  border-radius: 14px;
  padding: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(36, 48, 67, 0.12);
  break-inside: avoid;
  cursor: zoom-in;
  vertical-align: top;
}

.gallery-item img {
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.025);
}

.gallery-item.tall,
.gallery-item.wide {
  grid-column: auto;
  grid-row: auto;
}

.source-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(28px, 6vw, 72px) clamp(18px, 6vw, 82px) 72px;
  padding: clamp(22px, 4vw, 34px);
}

.source-section h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.source-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.lightbox {
  width: min(92vw, 980px);
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(20, 28, 40, 0.72);
  backdrop-filter: blur(5px);
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  border-radius: 10px;
  object-fit: contain;
  background: white;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .hero,
  .profile-grid,
  .visual-story,
  .works-layout,
  .source-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-portrait img {
    height: 520px;
  }

  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-portrait img {
    height: 430px;
  }

  .works-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 1;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .source-section {
    margin-inline: 18px;
  }
}
@keyframes watercolor-frame {
  0% {
    background-position: 0% 45%;
    box-shadow:
      0 24px 60px rgba(36, 48, 67, 0.16),
      0 0 0 10px rgba(255, 255, 255, 0.62),
      0 0 34px rgba(142, 220, 231, 0.34);
  }

  50% {
    background-position: 100% 55%;
    box-shadow:
      0 26px 64px rgba(36, 48, 67, 0.18),
      0 0 0 12px rgba(255, 255, 255, 0.74),
      0 0 58px rgba(216, 202, 246, 0.58);
  }

  100% {
    background-position: 25% 100%;
    box-shadow:
      0 24px 60px rgba(36, 48, 67, 0.16),
      0 0 0 10px rgba(255, 255, 255, 0.64),
      0 0 48px rgba(126, 219, 226, 0.54);
  }
}
@keyframes watercolor-border-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes watercolor-line {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 0 rgba(142, 220, 231, 0.2);
  }

  50% {
    border-color: rgba(255, 255, 255, 1);
    box-shadow: inset 0 0 24px rgba(216, 202, 246, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait::before,
  .hero-portrait::after,
  .hero-portrait {
    animation: none;
  }
}
.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(68vh, 680px);
  object-fit: cover;
  object-position: 50% 24%;
  border: 5px solid rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(216, 202, 246, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}








