/* Astraeus FZ LLC — corporate site styles */

:root {
  --ink: #070b14;
  --navy: #0b1220;
  --navy-2: #111a2b;
  --navy-3: #182338;
  --navy-4: #223049;
  --gold: #c4a35a;
  --gold-bright: #e0c985;
  --gold-soft: #f0e6c8;
  --cream: #f3efe6;
  --muted: #b7b2a6;
  --muted-2: #8e8a80;
  --line: rgba(196, 163, 90, 0.28);
  --line-strong: rgba(196, 163, 90, 0.5);
  --danger: #e8b4b4;
  --success: #c5d5b8;
  --focus: #e0c985;
  --header-h: 4.5rem;
  --content: 70rem;
  --narrow: 42rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-soft);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 2.55rem;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.brand-legal {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  border-radius: 2px;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 0.75rem;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bars span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bars::before {
  top: 0;
}

.nav-toggle-bars::after {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}

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

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: var(--ink);
}

.hero-inner {
  width: min(100% - 2.5rem, var(--content));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.2vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero-rule {
  width: 4.5rem;
  height: 1px;
  margin: 2rem 0 1.75rem;
  background: var(--gold);
  border: 0;
}

.hero-lead {
  margin: 0 0 2.5rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
}

.btn-ghost:hover {
  background: rgba(196, 163, 90, 0.1);
  color: var(--gold-soft);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Sections */

.section {
  padding: 6.5rem 0;
}

.section-inner {
  width: min(100% - 2.5rem, var(--content));
  margin: 0 auto;
}

.section-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.section-intro {
  margin: 0 0 3rem;
  max-width: 40rem;
  color: var(--muted);
}

.band {
  background: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem 5rem;
  align-items: start;
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.values {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.values > div {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.values dt {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--gold-soft);
}

.values dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Activities */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.activity-card {
  padding: 0 0 1.85rem;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.activity-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
}

.activity-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.activity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */


.contact-grid .section-title {
  margin-bottom: 1.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem 5rem;
  align-items: start;
}

.contact-meta {
  margin: 2rem 0 0;
  padding: 0;
}

.contact-meta div {
  margin: 0 0 1.5rem;
}

.contact-meta dt {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-meta dd {
  margin: 0;
  color: var(--cream);
}

.contact-meta a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact-meta a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.form {
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.req {
  color: var(--gold);
}

.optional {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted-2);
}

.section-intro.tight {
  margin-bottom: 0;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream);
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 1px;
  appearance: none;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.55;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-2);
}

.form-status {
  min-height: 1.5em;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

/* Footer */

.site-footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-inner {
  width: min(100% - 2.5rem, var(--content));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-copy,
.footer-loc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* 404 */

.page-error {
  min-height: calc(100svh - var(--header-h) - 6rem);
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.page-error h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-error p {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 30rem;
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(7, 11, 20, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
    min-height: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 2rem, var(--content));
  }
}

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

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


/* Official light-on-dark logo, no card */

.hero-logo {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
}

/* Hero layout with logo + copy */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
  gap: 4rem 5rem;
  align-items: center;
}

.hero-photo {
  position: absolute;
  left: -52%;
  top: -8%;
  width: 155%;
  max-width: none;
  height: 116%;
  object-fit: cover;
  object-position: center 55%;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.72) 0%, rgba(7, 11, 20, 0.62) 40%, rgba(7, 11, 20, 0.9) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.2) 38%, rgba(7, 11, 20, 0.55) 100%),
    linear-gradient(0deg, rgba(196, 163, 90, 0.1), transparent 45%);
  pointer-events: none;
}

/* About photograph */

.about-photo {
  margin: 0 0 3.5rem;
  width: 100%;
  height: 22rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.08), rgba(7, 11, 20, 0.35)),
    linear-gradient(0deg, rgba(196, 163, 90, 0.1), transparent 45%);
  pointer-events: none;
}

/* Activity photos */

.activity-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-3);
}

.activity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.05) 30%, rgba(7, 11, 20, 0.45) 100%),
    linear-gradient(0deg, rgba(196, 163, 90, 0.12), transparent 40%);
  pointer-events: none;
}

.activity-body {
  padding: 1.35rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Splash */

.splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  transition: opacity 0.65s var(--ease);
}

.splash[hidden] {
  display: none;
}

.splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}

html.splash-pending,
html.splash-pending body {
  overflow: hidden;
}

html.splash-pending .splash[hidden] {
  display: flex;
}

.splash-logo {
  display: block;
  width: min(22rem, calc(100% - 3rem));
  height: auto;
}

html.splash-pending .splash-logo {
  animation: splash-in 1.05s var(--ease) both;
}

@keyframes splash-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.splash-skip {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
}

.splash-skip:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.activity-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.activity-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* Footer credits */

.footer-credits {
  width: min(100% - 2.5rem, var(--content));
  margin: 0.85rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(196, 163, 90, 0.12);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted-2);
}

.footer-credits a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-credits a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-logo {
    max-width: 16rem;
  }

  .about-photo {
    height: 14rem;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    gap: 2rem;
  }

  .hero-logo {
    max-width: 13.5rem;
  }

  .footer-credits {
    width: min(100% - 2rem, var(--content));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.splash-pending .splash-logo {
    animation: none;
  }

  .hero-photo {
    will-change: auto;
  }
}
