/* ============================================
   LEARNING ARCH STUDIO — SHARED STYLESHEET
   Sage & Stone palette · v2 · 2026
============================================ */

/* --- TOKENS --- */
:root {
  --linen:       #F7F5F0;
  --forest:      #2D4A3E;
  --sage:        #7A9E8E;
  --birch:       #C4956A;
  --stone-tint:  #EDE8DF;
  --stone:       #6E6B63;
  --charcoal:    #3D3D3A;
  --white:       #FFFFFF;
  --border:      rgba(100,90,80,0.18);
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --r-sm:        6px;
  --r-md:        10px;
  --r-lg:        16px;
  --max-w:       1100px;
  --t:           0.25s ease;
}

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

/* --- LAYOUT --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 90px 0; }
.section-alt { background: var(--white); }
.section-tint { background: var(--stone-tint); }
.section-dark { background: var(--forest); }

/* --- TYPE HELPERS --- */
.eyebrow, .section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 14px;
  display: block;
}
.section-h {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15; color: var(--charcoal); margin-bottom: 16px;
}
.section-h em { color: var(--forest); font-style: italic; }
.section-sub { font-size: 16px; color: var(--stone); line-height: 1.75; }
.section-sub em { color: var(--forest); font-style: italic; }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block; font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 13px 26px; background: var(--forest); color: var(--linen);
  border: none; border-radius: var(--r-md); cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.btn-primary:hover { background: #1e3328; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block; font-family: var(--sans); font-size: 14px;
  padding: 12px 24px; background: transparent; color: var(--charcoal);
  border: 0.5px solid var(--sage); border-radius: var(--r-md);
  cursor: pointer; transition: background var(--t), border-color var(--t);
}
.btn-ghost:hover { background: var(--stone-tint); border-color: var(--forest); }

.btn-birch {
  display: inline-block; font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 13px 26px; background: var(--birch); color: var(--linen);
  border: none; border-radius: var(--r-md); cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.btn-birch:hover { background: #a97d58; transform: translateY(-1px); }

.text-link {
  font-size: 14px; font-weight: 500; color: var(--forest);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap var(--t);
}
.text-link:hover { gap: 9px; }
.text-link-light { color: var(--birch); }

/* --- NAVIGATION --- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--serif); font-size: 17px; color: var(--charcoal); letter-spacing: -0.01em; }
.logo-text em { color: var(--forest); font-style: normal; }
.logo-sub { font-size: 9px; font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--stone); transition: color var(--t); }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-cta { font-size: 13px; font-weight: 500; padding: 8px 18px; background: var(--forest); color: var(--linen); border-radius: var(--r-sm); transition: background var(--t); }
.nav-cta:hover { background: #1e3328; }

/* --- PAGE HERO (inner pages) --- */
.page-hero { background: var(--linen); padding: 80px 0 70px; border-bottom: 0.5px solid var(--border); }
.page-hero-inner { max-width: 680px; }

/* --- CARDS --- */
.card {
  background: var(--white); border: 0.5px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; transition: transform var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(45,74,62,0.08); }
.card-tint { background: var(--stone-tint); border-color: transparent; }

.badge {
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest); background: var(--stone-tint); padding: 3px 10px;
  border-radius: 100px; display: inline-block; margin-bottom: 14px;
}
.badge-sage { background: rgba(122,158,142,0.15); color: var(--forest); }

/* --- FOOTER --- */
footer { background: var(--linen); border-top: 0.5px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-family: var(--serif); font-size: 15px; color: var(--stone); }
.footer-logo em { color: var(--forest); font-style: normal; }
.footer-tagline { font-size: 11px; color: var(--stone); opacity: 0.6; font-style: italic; font-family: var(--serif); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--stone); opacity: 0.7; transition: opacity var(--t); }
.footer-links a:hover { opacity: 1; }
.footer-legal { font-size: 11px; color: var(--stone); opacity: 0.5; }

/* --- REVEAL ANIMATION --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
    .section { padding: 60px 0; }
  .page-hero { padding: 56px 0 48px; }
}

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