/* ============================================================
   Oren Strategic Advisors — Design System
   Brand: Oren Strategic Advisors LLC
   Domain: orenstrategy.com
   ============================================================ */

/* --- Tokens --- */
:root {
  --green:        #10523C;
  --green-dark:   #0D4533;
  --green-light:  #E8F2EC;
  --gold:         #B19460;
  --gold-light:   #D4BC8A;
  --charcoal:     #1A2A38;
  --cream:        #F5F0E6;
  --cream-dark:   #E8E0CC;
  --muted:        #6B7280;
  --border:       #D6CEB8;
  --white:        #FFFFFF;
  --red:          #8B2020;
  --red-light:    #F7EDED;

  --radius-sm:    2px;
  --radius-md:    4px;
  --radius-lg:    6px;
  --radius-pill:  9999px;

  --space-xs:     4px;
  --space-sm:     8px;
  --space-md:     16px;
  --space-lg:     24px;
  --space-xl:     32px;
  --space-xxl:    48px;
  --space-section:80px;

  --font:         "Inter", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --max-width:    1200px;
  --content-width:680px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography Scale --- */
.display {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700; line-height: 1.1;
  letter-spacing: 0.01em;
}
h1, .h1 { font-family: var(--font-display); font-size: 2rem;   font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; }
h2, .h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; }
h3, .h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.body-lg  { font-size: 1rem;   font-weight: 400; line-height: 1.7; }
.body-md  { font-size: 0.9rem; font-weight: 400; line-height: 1.7; }
.body-sm  { font-size: 0.82rem;font-weight: 400; line-height: 1.6; }
.label    {
  font-size: 0.72rem; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.caption  {
  font-size: 0.68rem; font-weight: 600; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--space-lg); }
}

/* --- Navigation --- */
.site-nav {
  background: var(--charcoal);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.nav-logo-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.7);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}
.nav-links a.active {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-xs);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.25s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: var(--space-md);
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--charcoal);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.82rem; }
}

/* --- Sections --- */
.section {
  padding: var(--space-section) 0;
}
.section-light  { background: var(--cream);    color: var(--charcoal); }
.section-dark   { background: var(--green); color: var(--cream); }
.section-green  { background: var(--green);    color: var(--cream); }
.section-white  { background: var(--white);    color: var(--charcoal); }

/* --- Hero --- */
.hero {
  background: var(--green);
  color: var(--cream);
  padding: calc(var(--space-section) * 1.5) 0 var(--space-section);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(177,148,96,0.03) 0px,
    rgba(177,148,96,0.03) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin-bottom: var(--space-lg);
}
.hero-headline em {
  font-style: normal;
  color: var(--gold);
}
.hero-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245,240,230,0.78);
  max-width: 560px;
  margin-bottom: var(--space-xxl);
}
.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,230,0.3);
}
.btn-ghost:hover {
  border-color: rgba(245,240,230,0.7);
  color: var(--cream);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--border);
}
.btn-ghost-dark:hover { border-color: var(--charcoal); }

/* --- Section Labels --- */
.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.section-label-dark {
  color: rgba(177,148,96,0.8);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-left: 3px solid var(--green);
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: var(--radius-sm);
  padding: var(--space-xl);
  padding-left: calc(var(--space-xl) + 4px);
}
.card-label {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
}

/* --- Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: var(--space-xxl) 0;
}
.divider-gold {
  background: var(--gold);
  opacity: 0.3;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--green);
  color: var(--cream);
  padding: var(--space-xxl) 0 var(--space-section);
}
.page-header .section-label { color: var(--gold); }
.page-header h1 { color: var(--cream); margin-top: var(--space-sm); }
.page-header p {
  color: rgba(245,240,230,0.75);
  font-size: 1rem;
  max-width: 540px;
  margin-top: var(--space-md);
  line-height: 1.7;
}

/* --- Forms --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}
.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input,
.form-textarea,
.form-select {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: border-color 0.2s;
  width: 100%;
  min-height: 44px;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}
.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Seal / Logo Mark --- */
.seal {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.seal svg { width: 44px; height: 44px; }

/* --- Stat Strip --- */
.stat-strip {
  display: flex;
  gap: var(--space-xxl);
  flex-wrap: wrap;
}
.stat-item {}
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1;
}
.stat-desc {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.6);
  margin-top: var(--space-xs);
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-xxl) 0 var(--space-lg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xxl);
  padding-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(245,240,230,0.55);
  line-height: 1.6;
  max-width: 300px;
}
.footer-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(245,240,230,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(245,240,230,0.4);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- Utility --- */
.text-gold    { color: var(--gold); }
.text-green   { color: var(--green); }
.text-muted   { color: var(--muted); }
.text-cream   { color: var(--cream); }
.text-center  { text-align: center; }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-xxl { margin-top: var(--space-xxl); }
