/* ==========================================================================
   Ariana's Future, LLC
   Design tokens
   ========================================================================== */

:root {
  /* Color */
  --ink: #0A0E1A;
  --ink-elevated: #131828;
  --ivory: #F2EDE0;
  --ivory-muted: #D9D3C2;
  --champagne: #C9A876;
  --champagne-dim: #A08657;
  --slate: #7A8299;
  --line: #1F2537;

  /* Type */
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --container-max: 1120px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-py: clamp(5rem, 12vw, 9rem);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

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

::selection { background: var(--champagne); color: var(--ink); }

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Type utilities
   ========================================================================== */

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
}

.label-center {
  display: block;
  text-align: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--line);
  animation: fade-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.75rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ivory);
  max-width: 12ch;
}

.wordmark .italic {
  font-style: italic;
  color: var(--champagne);
  font-weight: 400;
}

.tagline {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ivory-muted);
  max-width: 42ch;
  margin-top: clamp(0.5rem, 1vw, 1rem);
}

.location {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: clamp(1rem, 2vw, 2rem);
}

/* ==========================================================================
   Ventures
   ========================================================================== */

.ventures {
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--line);
}

.ventures-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

@media (min-width: 800px) {
  .ventures-inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(4rem, 8vw, 7rem);
  }
}

.venture {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.venture-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-top: 0.5rem;
  max-width: 22ch;
}

.venture-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 16px;
  color: var(--ivory-muted);
  margin-top: 0.5rem;
}

.venture-list li {
  padding-left: 1.25rem;
  position: relative;
}

.venture-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--champagne);
}

.venture-body {
  font-size: 16px;
  color: var(--ivory-muted);
  max-width: 34ch;
  margin-top: 0.5rem;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.75rem;
  color: var(--champagne);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
  width: fit-content;
}

.link:hover,
.link:focus-visible {
  color: var(--ivory);
  border-bottom-color: var(--champagne);
}

.link span { transition: transform 200ms ease; display: inline-block; }
.link:hover span { transform: translateX(3px); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--line);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ivory);
}

.contact-role {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.contact-line {
  font-size: 17px;
  color: var(--ivory-muted);
}

.link-plain {
  color: var(--ivory-muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}

.link-plain:hover,
.link-plain:focus-visible {
  color: var(--champagne);
  border-bottom-color: var(--champagne);
}

.contact-address {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
  margin-top: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--champagne);
}

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */

.legal {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.legal-inner {
  max-width: 720px;
}

.legal-back {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 3rem;
  transition: color 200ms ease;
}

.legal-back:hover,
.legal-back:focus-visible { color: var(--champagne); }

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 3rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
  margin: 3rem 0 1rem;
}

.legal p, .legal li {
  font-size: 16px;
  color: var(--ivory-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.legal a {
  color: var(--champagne);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.legal a:hover,
.legal a:focus-visible { border-bottom-color: var(--champagne); }

/* ==========================================================================
   Focus states (accessibility)
   ========================================================================== */

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

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
