/* ============================================================
   SIRR — Design tokens
   ============================================================ */
:root {
  --midnight: #0F3D2E;
  --forest: #145A41;
  --cream: #EDE6DC;
  --gold: #C8A97E;
  --black: #0B0B0B;

  --cream-soft: #F4EFE7;
  --midnight-deep: #0A2C21;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;

  --container: 1200px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: var(--container-narrow);
}

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow-dark { color: var(--forest); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  color: var(--midnight);
  letter-spacing: 0.01em;
}

.section-title.light { color: var(--cream); }

.lede {
  font-size: 18px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--black);
  max-width: 620px;
  margin: 36px 0 0;
}

.lede-sub {
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--forest);
  max-width: 580px;
  margin: 22px 0 0;
}

.divider-gold {
  width: 1px;
  height: 56px;
  background: var(--gold);
  margin: 28px 0 0;
}

.divider-gold.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 34px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--midnight-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(237, 230, 220, 0.4);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(237, 230, 220, 0.06);
}

.hero-actions .btn-ghost {
  color: var(--cream);
}

/* ============================================================
   Nav
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 61, 46, 0);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-nav.scrolled {
  background: rgba(15, 61, 46, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(200, 169, 126, 0.18);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  border: 1px solid var(--gold);
  padding: 10px 20px;
  opacity: 1 !important;
  color: var(--gold) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--midnight-deep) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--cream);
  display: block;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, var(--forest) 0%, var(--midnight) 55%, var(--midnight-deep) 100%);
  overflow: hidden;
  padding: 120px 32px 80px;
}

.hero-glyph {
  position: absolute;
  font-family: var(--font-display);
  font-size: min(60vw, 820px);
  color: rgba(237, 230, 220, 0.045);
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  animation: heroRise 1.1s var(--ease) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow {
  color: var(--gold);
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 92px);
  color: var(--cream);
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero-ar {
  display: inline-block;
  margin-left: 0.3em;
  color: var(--gold);
  font-weight: 400;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 22px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(237, 230, 220, 0.78);
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: rgba(200, 169, 126, 0.3);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  top: -50px;
  left: 0;
  width: 1px;
  height: 50px;
  background: var(--gold);
  animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
  to { top: 100px; }
}

/* ============================================================
   Philosophy (cream)
   ============================================================ */
.philosophy {
  background: var(--cream);
  padding: 140px 0;
}

/* ============================================================
   Packages (midnight)
   ============================================================ */
.packages {
  background: var(--midnight);
  padding: 140px 0;
  text-align: center;
}

.packages .eyebrow { text-align: center; }

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  text-align: left;
}

.package-card {
  background: rgba(237, 230, 220, 0.03);
  border: 1px solid rgba(200, 169, 126, 0.22);
  padding: 44px 36px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(237, 230, 220, 0.05);
}

.package-card--featured {
  border-color: var(--gold);
  background: rgba(200, 169, 126, 0.06);
}

.package-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.package-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
}

.package-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(237, 230, 220, 0.72);
  font-weight: 300;
  margin-bottom: 24px;
}

.package-list {
  list-style: none;
  margin-bottom: 30px;
}

.package-list li {
  font-size: 14px;
  color: rgba(237, 230, 220, 0.85);
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.5;
}

.package-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.package-link {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(200, 169, 126, 0.4);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease);
}

.package-link:hover { border-color: var(--gold); }

.package-note {
  margin-top: 56px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: rgba(237, 230, 220, 0.55);
  font-style: italic;
}

/* ============================================================
   Pillars (cream)
   ============================================================ */
.pillars {
  background: var(--cream-soft);
  padding: 140px 0;
  text-align: center;
}

.pillars .eyebrow { text-align: center; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 64px;
  text-align: left;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--midnight);
  margin-bottom: 14px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--black);
  font-weight: 300;
}

/* ============================================================
   Origin (cream)
   ============================================================ */
.origin {
  background: var(--cream);
  padding: 140px 0;
}

/* ============================================================
   Inquiry (midnight)
   ============================================================ */
.inquire {
  background: var(--midnight-deep);
  padding: 140px 0;
  text-align: center;
}

.inquire .eyebrow { text-align: center; }

.inquire-sub {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(237, 230, 220, 0.72);
  font-weight: 300;
  max-width: 520px;
  margin: 28px auto 0;
}

.inquiry-form {
  margin-top: 56px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.field-full { margin-bottom: 24px; }

.field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(237, 230, 220, 0.04);
  border: 1px solid rgba(200, 169, 126, 0.3);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field textarea { resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(237, 230, 220, 0.35); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(237, 230, 220, 0.07);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A97E' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field select option { background: var(--midnight-deep); color: var(--cream); }

.btn-submit {
  margin-top: 8px;
  border: none;
}

.form-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--gold);
  min-height: 18px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  padding: 70px 0 36px;
  text-align: center;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 230, 220, 0.6);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-links a {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.75;
  letter-spacing: 0.05em;
  transition: opacity 0.3s var(--ease);
}

.footer-links a:hover { opacity: 1; }

.footer-fine {
  font-size: 12px;
  color: rgba(237, 230, 220, 0.4);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .package-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; gap: 44px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--midnight-deep);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.45s var(--ease);
    border-left: 1px solid rgba(200, 169, 126, 0.2);
  }

  .nav-links.open { right: 0; }

  .nav-toggle { display: flex; }

  .philosophy, .packages, .pillars, .origin, .inquire {
    padding: 90px 0;
  }

  .hero { padding: 140px 24px 70px; }

  .container { padding: 0 22px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
