/* ============================================================
   YAGE THINKING: shared stylesheet
   Palette: Charcoal #1C1C1A / Ivory #F7F5F0 / Burnt Orange #C9622B / Stone #8C8A82
   Type: Playfair Display (display) + Inter (body/UI)
   ============================================================ */

:root{
  --charcoal:      #1C1C1A;
  --charcoal-soft: #2A2A26;
  --ivory:         #F7F5F0;
  --ivory-dim:     #EFEBE2;
  --orange:        #C9622B;
  --orange-soft:   #DE8A5C;
  --stone:         #8C8A82;
  --hair-dark:     rgba(247,245,240,0.14);
  --hair-light:    rgba(28,28,26,0.14);
  --max:           1180px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  background:var(--ivory);
  color:var(--charcoal);
  font-family:'Inter', sans-serif;
  font-weight:400;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Playfair Display', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.12;
}
h1 em, h2 em, h3 em{ font-style:italic; font-weight:500; color:var(--orange); }

p{ font-weight:300; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

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

.eyebrow{
  font-family:'Inter', sans-serif;
  font-size:0.72rem;
  letter-spacing:0.26em;
  text-transform:uppercase;
  color:var(--orange);
  font-weight:600;
  display:inline-block;
  margin-bottom:18px;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;
  padding:16px 32px;
  font-size:0.78rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  font-weight:600;
  border-radius:2px;
  transition:all 0.25s ease;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--orange);
  color:var(--ivory);
}
.btn-primary:hover{ background:#B0521F; transform:translateY(-1px); }
.btn-outline-dark{
  border-color:var(--charcoal);
  color:var(--charcoal);
}
.btn-outline-dark:hover{ background:var(--charcoal); color:var(--ivory); }
.btn-outline-light{
  border-color:var(--hair-dark);
  color:var(--ivory);
}
.btn-outline-light:hover{ border-color:var(--ivory); }

/* ---------- nav ---------- */
header.site-header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:rgba(28,28,26,0.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--hair-dark);
}
nav.site-nav{
  max-width:var(--max); margin:0 auto; padding:20px 40px;
  display:flex; align-items:center; justify-content:space-between;
  color:var(--ivory);
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family:'Playfair Display', serif;
  font-size:1.05rem; letter-spacing:0.02em;
}
.brand .mark{ width:38px; height:auto; object-fit:contain; }
.logo-badge{
  display:inline-block;
  background:#FFFFFF;
  padding:28px 34px;
}
.brand .brand-name{ display:flex; flex-direction:column; line-height:1.15; }
.brand .brand-name b{ font-weight:600; }
.brand .brand-name span{
  font-family:'Inter',sans-serif; font-size:0.6rem; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--stone);
}
.navlinks{ display:flex; align-items:center; gap:30px; font-size:0.78rem; letter-spacing:0.03em; }
.navlinks a{ color:var(--ivory); opacity:0.75; transition:opacity 0.2s ease; white-space:nowrap; }
.navlinks a:hover, .navlinks a.active{ opacity:1; color:var(--orange-soft); }
.nav-cta{
  border:1px solid var(--orange); color:var(--orange) !important; opacity:1 !important;
  padding:9px 20px; border-radius:2px; text-transform:uppercase; font-size:0.72rem !important;
}
.nav-cta:hover{ background:var(--orange); color:var(--ivory) !important; }
.nav-toggle{ display:none; background:none; border:none; color:var(--ivory); font-size:1.4rem; }

@media (max-width:920px){
  .navlinks{
    position:fixed; top:68px; left:0; right:0; bottom:0;
    background:var(--charcoal); flex-direction:column; justify-content:flex-start;
    padding:40px; gap:26px; font-size:1rem;
    transform:translateX(100%); transition:transform 0.3s ease;
  }
  .navlinks.open{ transform:translateX(0); }
  .nav-toggle{ display:block; }
}

/* ---------- hero ---------- */
.hero{
  min-height:92vh;
  display:flex; align-items:center;
  position:relative;
  background:
    linear-gradient(180deg, rgba(28,28,26,0.55), rgba(28,28,26,0.82)),
    linear-gradient(150deg, #2A2A26, #1C1C1A 60%);
  color:var(--ivory);
  padding:160px 0 90px;
  overflow:hidden;
}
.hero-portrait{
  position:absolute; right:-40px; top:50%; transform:translateY(-50%);
  width:46%; max-width:560px; aspect-ratio:4/5;
  background:linear-gradient(160deg, #3a3833, #1C1C1A);
  border:1px solid var(--hair-dark);
  display:flex; align-items:center; justify-content:center;
  color:var(--stone); font-family:'Playfair Display', serif; font-size:0.85rem;
  text-align:center; padding:20px;
  overflow:hidden;
}
.hero-portrait img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.photo-frame{
  overflow:hidden;
  border:1px solid var(--hair-light);
}
.photo-frame img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
.section-dark .photo-frame{ border-color:var(--hair-dark); }
.hero .wrap{ position:relative; z-index:2; }
.hero-content{ max-width:640px; }
.hero h1{ font-size:clamp(2.5rem, 5vw, 4rem); color:var(--ivory); }
.hero p.lede{
  margin-top:26px; font-size:1.1rem; color:rgba(247,245,240,0.78); max-width:480px; font-weight:300;
}
.hero-actions{ margin-top:42px; display:flex; gap:18px; flex-wrap:wrap; }

@media (max-width:920px){
  .hero-portrait{ display:none; }
}

/* page hero (interior pages, shorter) */
.page-hero{
  padding:180px 0 90px;
  background:linear-gradient(150deg, #2A2A26, #1C1C1A 60%);
  color:var(--ivory);
}
.page-hero h1{ font-size:clamp(2.2rem, 4.4vw, 3.2rem); max-width:760px; color:var(--ivory); }
.page-hero p.lede{ margin-top:22px; font-size:1.05rem; color:rgba(247,245,240,0.75); max-width:560px; font-weight:300; }

/* ---------- generic sections ---------- */
section{ padding:120px 0; }
.section-dark{ background:var(--charcoal); color:var(--ivory); }
.section-dark .eyebrow{ color:var(--orange-soft); }
.section-dim{ background:var(--ivory-dim); }
.section-head{ max-width:660px; margin-bottom:64px; }
.section-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p{ margin-top:18px; color:var(--stone); font-size:1.02rem; max-width:560px; }
.section-dark .section-head p{ color:rgba(247,245,240,0.68); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

.hair{ height:1px; background:var(--hair-light); border:none; }
.hair-dark{ background:var(--hair-dark); }

/* ---------- philosophy / heart-brain ---------- */
.philosophy-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:center;
}
.philosophy-mark{ width:100%; max-width:320px; color:var(--orange); }
.philosophy-copy p{ font-size:1.08rem; color:rgba(247,245,240,0.78); font-weight:300; }
@media (max-width:860px){ .philosophy-grid{ grid-template-columns:1fr; } .philosophy-mark{ margin:0 auto 20px; } }

/* ---------- cards ---------- */
.card-grid{ display:grid; gap:28px; }
.grid-5{ grid-template-columns:repeat(5,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:1020px){ .grid-5{ grid-template-columns:repeat(2,1fr);} .grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .grid-5,.grid-4,.grid-3,.grid-2{ grid-template-columns:1fr; } }

.card{
  border:1px solid var(--hair-light);
  padding:36px 28px;
  background:var(--ivory);
  transition:border-color 0.25s ease, transform 0.25s ease;
}
.card:hover{ border-color:var(--orange); transform:translateY(-3px); }
.card .icon{ width:34px; height:34px; color:var(--orange); margin-bottom:20px; }
.card h3{ font-size:1.2rem; margin-bottom:10px; font-weight:500; }
.card p{ color:var(--stone); font-size:0.92rem; }

.section-dark .card{ background:transparent; border-color:var(--hair-dark); }
.section-dark .card p{ color:rgba(247,245,240,0.65); }
.section-dark .card:hover{ border-color:var(--orange); }

/* ---------- journey flow ---------- */
.journey{ display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:24px; align-items:center; }
.journey-col{ text-align:center; }
.journey-col h4{
  font-family:'Inter',sans-serif; font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--orange-soft); margin-bottom:18px; font-weight:600;
}
.journey-col ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.journey-col li{ font-family:'Playfair Display', serif; font-size:1.05rem; color:rgba(247,245,240,0.85); }
.journey-arrow{ font-size:1.6rem; color:var(--orange); font-family:'Playfair Display', serif; }
@media (max-width:860px){
  .journey{ grid-template-columns:1fr; }
  .journey-arrow{ transform:rotate(90deg); margin:6px 0; }
}

/* ---------- framework (inner warrior) ---------- */
.framework{ display:flex; flex-direction:column; }
.framework-row{
  display:grid; grid-template-columns:200px 1fr; gap:36px; align-items:center;
  padding:30px 0; border-bottom:1px solid var(--hair-dark);
}
.framework-row:first-child{ border-top:1px solid var(--hair-dark); }
.framework-label{ font-family:'Inter',sans-serif; font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--orange-soft); font-weight:600; }
.framework-row h3{ font-size:1.35rem; color:var(--ivory); font-weight:500; margin-bottom:6px; }
.framework-row p{ color:rgba(247,245,240,0.65); font-size:0.95rem; }
@media (max-width:640px){ .framework-row{ grid-template-columns:1fr; gap:8px; } }

/* ---------- testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.testi-grid-single{ grid-template-columns:1fr; max-width:640px; margin:0 auto; }
.testi-grid-single .testi-card{ padding:48px 44px; text-align:center; }
.testi-grid-single .quote{ font-size:1.25rem; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{ border:1px solid var(--hair-light); padding:36px 30px; background:var(--ivory); }
.testi-card p.quote{ font-family:'Playfair Display', serif; font-style:italic; font-size:1.08rem; color:var(--charcoal); }
.testi-card cite{
  display:block; margin-top:20px; font-style:normal; font-size:0.76rem; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--stone);
}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--charcoal); color:var(--ivory); text-align:center; padding:130px 0;
}
.cta-band h2{ font-size:clamp(2rem, 4vw, 2.8rem); color:var(--ivory); }
.cta-band .btn{ margin-top:36px; }

/* ---------- timeline (about page) ---------- */
.timeline{ display:flex; flex-direction:column; }
.timeline-item{
  display:grid; grid-template-columns:140px 1fr; gap:36px;
  padding:28px 0; border-bottom:1px solid var(--hair-light);
}
.timeline-item:first-child{ border-top:1px solid var(--hair-light); }
.timeline-year{ font-family:'Playfair Display', serif; font-size:1.2rem; color:var(--orange); }
.timeline-item h4{ font-size:1.1rem; font-weight:500; margin-bottom:6px; }
.timeline-item p{ color:var(--stone); font-size:0.92rem; }
@media (max-width:640px){ .timeline-item{ grid-template-columns:1fr; gap:8px; } }

/* ---------- forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.form-grid .full{ grid-column:1 / -1; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
label{
  display:block; font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--charcoal); opacity:0.65; margin-bottom:9px; font-weight:600;
}
input, select, textarea{
  width:100%; background:#FFFFFF; border:1px solid rgba(28,28,26,0.22);
  color:var(--charcoal); font-family:'Inter',sans-serif; font-size:1rem; padding:14px 16px;
  border-radius:2px; outline:none; transition:border-color 0.2s ease, box-shadow 0.2s ease;
}
input:hover, select:hover, textarea:hover{ border-color:rgba(28,28,26,0.4); }
input:focus, select:focus, textarea:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(201,98,43,0.14);
}
select{ cursor:pointer; }
textarea{ resize:vertical; min-height:130px; }
::placeholder{ color:rgba(28,28,26,0.4); }
.form-note{ margin-top:14px; font-size:0.88rem; color:var(--charcoal); }

.contact-info{ display:flex; flex-direction:column; gap:28px; }
.contact-info .item span{ display:block; font-size:0.7rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--stone); margin-bottom:6px; }
.contact-info .item a, .contact-info .item p{ font-family:'Playfair Display', serif; font-size:1.15rem; color:var(--ivory); }

/* ---------- footer ---------- */
.contact-grid{ display:grid; grid-template-columns:1.3fr 0.9fr; gap:70px; }
@media (max-width:860px){
  .contact-grid{ grid-template-columns:1fr; gap:44px; }
}
  background:var(--charcoal); color:rgba(247,245,240,0.55);
  padding:50px 0; font-size:0.8rem;
}
footer.site-footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
footer.site-footer .foot-links{ display:flex; gap:22px; }
footer.site-footer a:hover{ color:var(--orange-soft); }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
}

@media (max-width:640px){
  .wrap{ padding:0 22px; }
  section{ padding:80px 0; }
}
