:root {
  --bg: #0f1720;
  --bg-soft: #16222d;
  --card: rgba(24, 34, 46, 0.72);
  --card-strong: rgba(18, 27, 38, 0.92);
  --line: rgba(249, 216, 170, 0.16);
  --text: #f4eee3;
  --muted: #cbbca4;
  --gold: #f2c777;
  --amber: #df9c48;
  --sky: #93b6d7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(242, 199, 119, 0.14), transparent 30%),
    radial-gradient(circle at 15% 20%, rgba(255, 236, 205, 0.1), transparent 22%),
    linear-gradient(180deg, #111a23 0%, #0f1720 50%, #0d131a 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.blessing {
  position: fixed;
  inset: auto;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
}

.blessing-one {
  top: -8rem;
  right: -10rem;
  background: rgba(242, 199, 119, 0.45);
}

.blessing-two {
  bottom: 8rem;
  left: -12rem;
  background: rgba(123, 162, 201, 0.2);
}

.topbar,
.hero,
.metrics-strip,
.section,
.footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

#projects,
#mission,
#presence,
#contact {
  scroll-margin-top: 7rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(12, 18, 26, 0.7);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #201610;
  background: linear-gradient(135deg, #ffe0a0 0%, #e0a04f 100%);
  box-shadow: 0 10px 24px rgba(224, 160, 79, 0.3);
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small,
.nav a,
.eyebrow,
.signal-card span,
.story-tag,
.metrics-strip span,
.presence-link span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.brand-copy small,
.nav a,
.hero-text,
.hero-note p,
.signal-card p,
.story-card p,
.story-card li,
.section-heading p,
.project-copy p,
.project-meta,
.presence-copy p,
.presence-link small,
.footer-actions a {
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.footer-actions a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  padding: 4.7rem 0 2rem;
}

.eyebrow {
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero h1,
.section-heading h2,
.presence-copy h2,
.footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.7rem, 6.2vw, 5.9rem);
  max-width: 10.5ch;
}

.hero-text {
  max-width: 62ch;
  margin: 1.7rem 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
}

.identity-line {
  margin: 0 0 0.9rem;
  color: rgba(244, 238, 227, 0.84);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.presence-link:hover,
.project-card:hover,
.signal-card:hover,
.story-card:hover {
  transform: translateY(-4px);
}

.button-primary {
  color: #1d150f;
  background: linear-gradient(135deg, #ffe0a0 0%, #df9c48 100%);
  box-shadow: 0 18px 42px rgba(223, 156, 72, 0.24);
}

.button-secondary {
  border: 1px solid rgba(255, 228, 188, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.hero-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero-note span {
  flex: none;
  width: 3rem;
  height: 1px;
  margin-top: 0.8rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 1.2rem;
}

.portrait-card,
.signal-card,
.story-card,
.project-card,
.presence-panel,
.presence-link,
.quote-shell {
  background: linear-gradient(180deg, rgba(26, 35, 48, 0.86), rgba(16, 23, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.portrait-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.02);
}

.portrait-glow {
  position: absolute;
  inset: auto 5% 6% 5%;
  height: 18%;
  background: radial-gradient(circle, rgba(242, 199, 119, 0.5), transparent 70%);
  filter: blur(16px);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.signal-card,
.story-card,
.presence-link {
  padding: 1.35rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.signal-card strong,
.project-copy h3,
.presence-link strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: 1.2rem;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.metrics-strip article {
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.metrics-strip strong {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.08rem;
}

.section {
  padding: 6rem 0 0;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 48rem;
}

.section-heading h2,
.presence-copy h2,
.footer h2 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.section-heading p,
.presence-copy p {
  line-height: 1.85;
}

.section-heading a {
  color: var(--gold);
}

.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.story-card-large {
  padding: 1.8rem;
}

.story-card p,
.story-card ul {
  margin: 0.85rem 0 0;
  line-height: 1.85;
}

.story-card ul {
  padding-left: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: -30% auto auto 60%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 199, 119, 0.18), transparent 68%);
  pointer-events: none;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-language {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 233, 199, 0.14);
  color: var(--gold);
  font-size: 0.8rem;
}

.project-copy p {
  margin: 0.75rem 0 1rem;
  line-height: 1.8;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.9rem;
}

.project-link {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--text);
}

.presence-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.presence-links {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.presence-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.presence-panel img {
  width: 100%;
  border-radius: 22px;
}

.quote-section {
  padding-bottom: 2rem;
}

.quote-shell {
  padding: 2rem;
  text-align: center;
}

.quote-shell p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  color: var(--gold);
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 3rem 0 4rem;
}

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

.footer-actions a {
  transition: color 180ms ease, transform 180ms ease;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero,
  .presence-section,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .metrics-strip,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  .topbar,
  .footer {
    border-radius: 28px;
  }

  .topbar,
  .footer,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .signal-grid,
  .metrics-strip,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .quote-section {
    padding-top: 4.5rem;
  }

  .footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
