:root {
  --bg: #f5f6f8;
  --panel: rgba(255, 255, 255, 0.92);
  --text: #1c1a17;
  --muted: rgba(28, 26, 23, 0.6);
  --accent: #e7c27d;
  --accent-2: #6bd5cf;
  --line: rgba(0, 0, 0, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
}

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

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: #fff;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  z-index: 999;
}

.skip-link:focus {
  top: 1rem;
}

main {
  padding: 5rem clamp(1.5rem, 4vw, 4.5rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

section {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1.5rem, 4vw, 4.5rem);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.logo-mark {
  font-family: 'Playfair Display', serif;
  text-transform: lowercase;
  letter-spacing: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-number {
  font-size: 1.5rem;
}

.logo-word {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25rem;
}

.site-nav a {
  opacity: 0.7;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 60%;
  height: 2px;
  background: var(--text);
  margin: 0.45rem auto;
}

.mobile-nav {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #020202;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn.text {
  background: transparent;
  color: var(--text);
  border: none;
  padding-inline: 0.5rem;
  text-decoration: underline;
}

.eyebrow {
  letter-spacing: 0.35rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0.5rem 0 1rem;
}

.hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 75vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95);
  background-size: cover;
  background-position: center;
  filter: saturate(0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 5rem);
  max-width: 640px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.hero-stats dt {
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats dd {
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0;
}

.credibility {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  background: var(--panel);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.experience,
.gallery,
.membership,
.artists,
.process,
.journal,
.contact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pillars article {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.02);
}

.pillars ul {
  padding-left: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery figure {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
}

.membership .benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.membership article {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.membership .cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.artists .artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.artists article {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.02);
}

.artists header {
  padding: 1.25rem;
}

.artists article p {
  padding: 0 1.25rem 1.25rem;
}

.process .timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.process li {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.process span {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-weight: 600;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.journal-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.02);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.9rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--accent);
}

.bio-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
}

.bio-full {
  margin-top: 0.75rem;
  color: var(--text);
}

.bio-full summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.bio.is-open .bio-brief {
  display: none;
}

.site-footer {
  width: min(1200px, 100%);
  margin: 2rem auto 4rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
}

.site-footer a {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3rem;
  opacity: 0.7;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    gap: 1rem;
  }

  .mobile-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    animation: slow-pan 24s ease-in-out infinite alternate;
  }

  @keyframes slow-pan {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1) translateY(-4%);
    }
  }
}
