/* AstroAtsan */
:root {
  --night: #10182a;
  --ink: #0b1220;
  --panel: #121b30;
  --cream: #f6f0e6;
  --cream-soft: rgba(246, 240, 230, 0.9);
  --gold: #d7b056;
  --gold-line: rgba(215, 176, 86, 0.38);
  --header-h: 4.35rem;
}

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

html, body { height: 100%; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--cream);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-home { overflow: hidden; }

a { color: inherit; }

::selection {
  background: rgba(215, 176, 86, 0.32);
  color: var(--cream);
}

.site-header {
  flex: 0 0 var(--header-h);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 2.4rem;
  background: var(--ink);
  border-bottom: 1px solid var(--gold-line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-decoration: none;
  color: var(--cream);
  line-height: 1;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-header nav a {
  font-family: Outfit, "Helvetica Neue", sans-serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-soft);
  padding-bottom: 0.22rem;
  border-bottom: 1px solid transparent;
}

.site-header nav a:hover,
.wordmark:hover {
  color: var(--gold);
}

.site-header nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(260px, 42vw) 1fr;
  min-height: calc(100dvh - var(--header-h));
}

.portrait {
  margin: 0;
  background: #162038;
  overflow: hidden;
  height: calc(100dvh - var(--header-h));
}


.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.panel {
  position: relative;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(215, 176, 86, 0.07), transparent 42%),
    radial-gradient(ellipse at 40% 46%, rgba(42, 64, 112, 0.32), transparent 58%),
    var(--night);
  border-left: 1px solid var(--gold-line);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 1.15rem;
  border: 1px solid rgba(215, 176, 86, 0.12);
  pointer-events: none;
}

.home-panel {
  display: grid;
  place-items: center;
  padding: 4rem 2.5rem;
  text-align: center;
}

.brand-inner {
  position: relative;
  max-width: 30rem;
}

.kicker {
  font-family: Outfit, "Helvetica Neue", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
  padding-left: 0.46em;
}

.home-panel h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.1rem, 7vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.02;
}

.rule {
  display: block;
  width: 3.4rem;
  height: 1px;
  margin: 1.7rem auto 0;
  background: var(--gold);
  opacity: 0.9;
}

.about-panel {
  display: grid;
  align-content: center;
  padding: 5.25rem 5rem 5rem 4.25rem;
}

.about-inner {
  position: relative;
  max-width: 36.5rem;
}

.about-panel h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5.4vw, 4.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.about-panel .rule {
  margin: 1.45rem 0 2.15rem;
}

.copy p {
  font-size: 1.125rem;
  line-height: 1.85;
  margin-bottom: 1.45rem;
  color: var(--cream-soft);
  font-optical-sizing: auto;
}

.copy p:last-child {
  margin: 2.1rem 0 0;
  padding: 0.15rem 0 0.15rem 1.3rem;
  border-left: 1px solid var(--gold);
  color: var(--cream);
}

@media (max-width: 800px) {
  .site-header { padding: 0 1.25rem; }
  .wordmark { font-size: 1.35rem; }

  .stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  body.page-home { overflow: auto; }

  .portrait,
  body.page-about .portrait {
    position: relative;
    top: auto;
    height: 46vh;
    min-height: 46vh;
  }

  body.page-about .portrait {
    height: 34vh;
    min-height: 34vh;
  }

  .about-panel { align-content: start; }

  .panel {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .panel::before { inset: 0.85rem; }

  .home-panel { padding: 3.5rem 1.5rem 3.4rem; }
  .home-panel h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }

  .about-panel { padding: 3.1rem 1.65rem 3.4rem; }
  .copy p { font-size: 1.06rem; line-height: 1.8; }
}
