/* ==========================================================
   about.css  (light + dark theme, same system as properties.css)
   ========================================================== */

:root{
  /* ---- fixed brand tokens ---- */
  --dark:#141210;
  --gold:#d9a441;
  --gold-soft:rgba(217,164,65,.14);
  --brick:#c06a3f;
  --ease:cubic-bezier(.22,.85,.32,1);
  --font-display:'Fraunces',serif;

  /* ---- theme tokens (light = default) ---- */
  --bg-page:#efeae0;          /* body, legacy, testimonials */
  --bg-alt:#e7e1d6;           /* mission / why-choose section */
  --bg-surface:#ffffff;       /* cards, marquee */
  --bg-surface-2:#f7f3ea;
  --text-heading:#1c1712;
  --text-body:#332c22;
  --text-muted:#5f5647;
  --accent-text:#b4572d;      /* brick text, readable on light */
  --border-soft:rgba(24,20,16,.14);
  --shadow-photo:0 40px 80px -30px rgba(20,15,10,.35);
}

/* Dark mode: toggled by data-theme="dark" on <html>, and used
   automatically for visitors whose OS is dark if they haven't
   chosen a theme yet. */
html[data-theme="dark"]{
  --bg-page:#181410;
  --bg-alt:#1d1814;
  --bg-surface:#211b16;
  --bg-surface-2:#2a221c;
  --text-heading:#f2ece1;
  --text-body:#e7e1d6;
  --text-muted:#cfc4b3;
  --accent-text:#e39868;
  --border-soft:rgba(242,236,225,.14);
  --shadow-photo:0 40px 70px -30px rgba(0,0,0,.7);
}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]):not([data-theme="dark"]){
    --bg-page:#181410;
    --bg-alt:#1d1814;
    --bg-surface:#211b16;
    --bg-surface-2:#2a221c;
    --text-heading:#f2ece1;
    --text-body:#e7e1d6;
    --text-muted:#cfc4b3;
    --accent-text:#e39868;
    --border-soft:rgba(242,236,225,.14);
    --shadow-photo:0 40px 70px -30px rgba(0,0,0,.7);
  }
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg-page);
  color:var(--text-body);
  font-family:'Manrope',sans-serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  transition:background .3s ease, color .3s ease;
}
h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:500;
  letter-spacing:-0.01em;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
.wrap{max-width:1240px;margin:0 auto;padding:0 40px;}
::selection{background:var(--brick);color:#181410;}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ---------- reveal animation ---------- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-stagger.in .stagger-item{opacity:1;transform:translateY(0);}
.stagger-item{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease), transform .7s var(--ease);}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal *, .stagger-item{transition:none !important; opacity:1 !important; transform:none !important;}
  html{scroll-behavior:auto;}
}



/* start css */


/* ==========================================================
   THEME TOGGLE — put the button next to .burger in the header:
     <button class="theme-toggle" id="themeToggle" aria-label="Toggle dark mode">
       <i class="fa-regular fa-sun"></i><i class="fa-regular fa-moon"></i>
     </button>
   ========================================================== */
.theme-toggle{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%;
  border:1px solid rgba(255,255,255,.4); background:transparent; color:#fff;
  cursor:pointer; flex-shrink:0; font-size:15px;
  transition:border-color .3s ease, background .3s ease, color .3s ease;
}
.theme-toggle:hover{border-color:var(--gold); background:rgba(232,193,90,.1); color:var(--gold);}
.theme-toggle .fa-moon{display:none;}
html[data-theme="dark"] .theme-toggle .fa-sun{display:none;}
html[data-theme="dark"] .theme-toggle .fa-moon{display:inline;}

/* ==========================================================
   HEADER (sits over the dark hero photo, so it is dark in both themes)
   ========================================================== */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1030;
  padding:20px 0;
  background:transparent;
  box-shadow:none;
  transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled,
.site-header.scrolled{
  padding:12px 0;
  background:rgba(24,20,16,.88);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(0,0,0,.28);
  border-bottom:1px solid rgba(217,164,65,.15);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:16px;}
.logo-link{display:flex; align-items:center; min-width:0;}
.logo-img{
  height:44px; width:auto; max-width:220px; object-fit:contain; display:block;
  transition:height .35s var(--ease);
}
.site-header.is-scrolled .logo-img,
.site-header.scrolled .logo-img{height:36px;}

.site-header nav{display:flex; align-items:center; gap:28px; flex-shrink:0;}

.nav-link-plain{
  font-size:.92rem; position:relative; padding-bottom:2px;
  font-weight:500; letter-spacing:.2px;
  background:linear-gradient(100deg, #a9793a 0%, #f4d998 22%, #c9a15a 45%, #fff2c9 60%, #a9793a 78%, #f0d290 100%);
  background-size:220% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-text-fill-color:transparent;
  animation:goldShine 4.5s linear infinite;
}
.nav-link-plain::after{
  content:""; position:absolute; left:0; bottom:-3px; width:0; height:1px;
  background:var(--gold); transition:width .3s ease;
}
.nav-link-plain:hover::after{width:100%;}
@keyframes goldShine{
  0%{background-position:0% center;}
  100%{background-position:220% center;}
}

.burger{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  cursor:pointer; padding:10px; width:42px; height:42px;
  border:1px solid rgba(255,255,255,.4); border-radius:50%;
  transition:border-color .3s ease, background .3s ease;
  flex-shrink:0;
}
.burger:hover{border-color:var(--gold); background:rgba(232,193,90,.1);}
.burger span{width:18px; height:1.5px; background:#fff; display:block; margin:0 auto; transition:transform .35s cubic-bezier(.65,0,.35,1), opacity .25s ease, background .3s ease;}
.burger.active span{background:var(--gold);}
.burger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.burger.active span:nth-child(2){opacity:0;}
.burger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* ---------- Side drawer (always dark) ---------- */
.offcanvas.vivek-drawer{
  background:var(--dark); color:#fff; border-left:1px solid #2b2b2b; width:min(400px,88vw);
}
.drawer-close{
  width:42px; height:42px; border-radius:50%; border:1px solid #3a3a3a; background:transparent; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; cursor:pointer;
  transition:border-color .3s, transform .3s, color .3s;
}
.drawer-close:hover{border-color:var(--gold); color:var(--gold); transform:rotate(90deg);}
.drawer-menu{list-style:none; padding:0; margin:1.6rem 0 auto;}
.drawer-menu li{border-bottom:1px solid #2a2a2a;}
.drawer-menu a{
  display:flex; align-items:center; justify-content:space-between; padding:1rem .1rem;
  font-family:'Fraunces',serif; font-size:1.2rem; color:#fff; transition:color .3s ease;
}
.drawer-menu a.current{color:var(--gold);}
.drawer-menu a .arrow{font-size:1rem; opacity:.5; transition:transform .3s ease, opacity .3s ease;}
.drawer-menu a:hover{color:var(--gold);}
.drawer-menu a:hover .arrow{transform:translateX(5px); opacity:1;}
.drawer-foot{padding-top:1.4rem; color:#999; font-size:.85rem; line-height:1.6;}
.drawer-foot .social{display:flex; gap:.6rem; margin-top:1rem;}
.drawer-foot .social a{
  width:36px; height:36px; border:1px solid #3a3a3a; border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:#fff;
  transition:border-color .3s, background .3s, color .3s;
}
.drawer-foot .social a svg{width:14px; height:14px;}
.drawer-foot .social a:hover{border-color:var(--gold); background:var(--gold-soft); color:var(--gold);}

/* ============ HERO (dark photo overlay, light text in both themes) ============ */
.hero{
  position:relative;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:70px;
  background:
    linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.65) 100%),
    url('../img/project/Scene 5_1.png') no-repeat center center;
  background-size:cover;
  background-position:center;
}
.hero-glow{
  position:absolute; right:6%; bottom:0; width:38%; height:78%;
  background:linear-gradient(180deg, rgba(255,214,170,.16), transparent 70%);
  filter:blur(30px);
  pointer-events:none;
}
.hero-inner{position:relative;z-index:2;width:100%;text-align:center;}
.hero h1{
  font-size:clamp(30px, 4.6vw, 58px);
  line-height:1.16;
  max-width:920px;margin:0 auto;
  color:#f2ece1;
  font-weight:400;
}
.hero h1 em{font-style:italic;color:#e39868;font-weight:500;}

/* ============ MARQUEE ============ */
.marquee-wrap{
  background:var(--bg-surface);
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
  overflow:hidden;padding:26px 0;
  transition:background .3s ease, border-color .3s ease;
}
.marquee-track{display:flex;width:max-content;animation:scroll-left 34s linear infinite;}
.marquee-track span{
  font-family:'Fraunces',serif;font-size:clamp(20px,2.5vw,30px);
  color:transparent; -webkit-text-stroke:1px var(--text-muted);
  padding:0 10px;white-space:nowrap;font-weight:400;
  display:flex;align-items:center;gap:34px;
}
.marquee-track span i{
  font-style:normal;color:var(--brick);
  -webkit-text-stroke:0;font-size:10px;
}
@keyframes scroll-left{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ============ LEGACY SECTION ============ */
.legacy{padding:130px 0 100px;background:var(--bg-page);transition:background .3s ease;}
.legacy-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center;}
.legacy-media{position:relative;}
.legacy-media .backer{
  position:absolute;top:-38px;left:38px;width:85%;height:40%;
  border:1px solid var(--border-soft);border-radius:4px;
  background:linear-gradient(160deg,#3a2c22,#241c16);
}
.legacy-photo{
  position:relative;border-radius:4px;
  aspect-ratio:4/5;
  background:
    linear-gradient(200deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 45%, rgba(0,0,0,.6)),
    repeating-linear-gradient(60deg,#4b382a 0 18px,#3b2c21 18px 36px);
  box-shadow:var(--shadow-photo);
  overflow:visible;
}
.legacy-photo .interior{
  position:absolute; inset:0; border-radius:4px;
  background:
    linear-gradient(200deg, rgba(50,80,90,.35), transparent 60%),
    url("../img/project/Scene 5_1.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.play-btn{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:64px;height:64px;border-radius:50%;
  background:#f2ece1;color:#181410;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
  cursor:pointer;border:none;
  transition:transform .35s var(--ease);
}
.play-btn:hover{transform:translate(-50%,-50%) scale(1.08);}
.play-btn svg{width:18px;height:18px;margin-left:3px;}
.badge-orbit{
  overflow:visible;
  z-index:3;
  position:absolute;top:-30px;right:-30px;width:120px;height:120px;
  animation:spin 18s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg);}}
.badge-orbit .center-dot{
  position:absolute;inset:0;margin:auto;width:6px;height:6px;border-radius:50%;background:var(--brick);
}

.eyebrow-rule{width:52px;height:2px;background:var(--brick);margin-bottom:22px;}
.legacy-copy h2{font-size:clamp(28px,3vw,42px);color:var(--text-heading);margin-bottom:26px;}
.legacy-copy p{font-size:15.5px;line-height:1.85;color:var(--text-muted);margin-bottom:20px;max-width:520px;}
.legacy-copy p strong{color:var(--text-heading);font-weight:700;}

/* ============ TIMELINE (if used) ============ */
.timeline-section{padding:70px 0 130px;background:var(--bg-page);position:relative;}
.timeline-section::before{
  content:'';position:absolute;left:0;right:0;top:0;height:1px;
  background:var(--border-soft);
}
.timeline-heading{font-size:clamp(24px,2.6vw,36px);color:var(--text-heading);max-width:640px;margin-bottom:52px;}
.tl-nav{
  display:flex;align-items:center;gap:14px;
  border:1px solid var(--border-soft);border-radius:60px;padding:10px 12px;
  margin-bottom:50px;
}
.tl-arrow{
  width:36px;height:36px;border-radius:50%;flex-shrink:0;
  border:1px solid var(--border-soft);background:none;color:var(--text-heading);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .25s, border-color .25s, color .25s;
}
.tl-arrow:hover{background:var(--brick);border-color:var(--brick);color:#fff;}
.tl-track-wrap{overflow:hidden;flex:1;}
.tl-track{display:flex;gap:8px;transition:transform .5s var(--ease);}
.tl-year{
  flex-shrink:0;padding:11px 20px;border-radius:40px;
  font-size:13.5px;font-weight:700;letter-spacing:.02em;
  background:none;border:none;color:var(--text-muted);cursor:pointer;
  display:flex;align-items:center;gap:9px;white-space:nowrap;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.tl-year::before{
  content:'';width:6px;height:6px;border-radius:50%;background:var(--text-muted);
  transition:background .3s;
}
.tl-year.active{background:var(--text-heading);color:var(--bg-page);}
.tl-year.active::before{background:var(--brick);}
.tl-year:hover:not(.active){color:var(--text-heading);}

.tl-panel{
  border:1px solid var(--border-soft);border-radius:18px;
  padding:56px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;
  background:linear-gradient(160deg, var(--bg-surface), var(--bg-surface-2));
}
.tl-cert{
  aspect-ratio:16/11;border-radius:8px;
  background:#e7e1d6;color:#231c16;
  position:relative;overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.45);
}
.tl-cert::before{
  content:'';position:absolute;top:0;right:0;width:120px;height:120px;
  background:linear-gradient(135deg,#2c2420 50%, transparent 50%);
}
.tl-cert-inner{position:relative;z-index:1;padding:34px;height:100%;display:flex;flex-direction:column;justify-content:center;gap:10px;}
.tl-cert-seal{
  width:48px;height:48px;border-radius:50%;border:3px solid var(--brick);
  display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;
  color:var(--brick);margin-bottom:8px;
}
.tl-cert-inner .cert-label{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#7a6a56;font-weight:700;}
.tl-cert-inner h3{font-family:'Fraunces',serif;font-size:22px;font-weight:500;color:#241d17;}
.tl-cert-inner .cert-sub{font-size:12px;color:#5c5044;font-style:italic;}
.tl-cert-inner .cert-member{font-size:15px;font-weight:700;color:#241d17;margin-top:6px;}

.tl-text .range{font-family:'Fraunces',serif;font-size:26px;color:var(--accent-text);margin-bottom:16px;}
.tl-text p{font-size:15px;line-height:1.85;color:var(--text-muted);}

@media (max-width:860px){
  .tl-panel{grid-template-columns:1fr;padding:28px;gap:30px;}
  .legacy-grid{grid-template-columns:1fr;gap:100px;}
}

/* ============ MISSION / VISION / VALUES + WHY ============ */
.mv-section{
  background-color:var(--bg-alt);
  color:var(--text-body);
  padding:130px 0;
  transition:background-color .3s ease, color .3s ease;
}
.mv-top{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;margin-bottom:130px;}
.mv-copy h2{font-size:32px;font-weight:500;margin-bottom:10px;color:var(--text-heading);}
.mv-copy .mv-lead{font-size:15.5px;color:var(--text-muted);margin-bottom:38px;line-height:1.7;}
.mv-copy .core-title{font-size:32px;margin-bottom:22px;}
.value-list{list-style:none;display:flex;flex-direction:column;gap:15px;}
.value-list li{
  display:flex;align-items:flex-start;gap:12px;font-size:14.5px;color:var(--text-body);line-height:1.5;
}
.value-list .tick{
  width:20px;height:20px;border-radius:50%;background:var(--brick);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
.value-list .tick svg{width:11px;height:11px;stroke:#fff;}

.mv-media{position:relative;}
.mv-photo{
  aspect-ratio:4/5;
  border-radius:6px;
  overflow:hidden;
  position:relative;
  background:
    linear-gradient(200deg, rgba(0,0,0,.4), transparent 55%),
    url("../img/project/Scene 5_1.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:var(--shadow-photo);
}
.mv-orbit-text{
  position:absolute;top:-26px;left:-26px;width:110px;height:110px;
  animation:spin 20s linear infinite reverse;
}
.mv-orbit-text text{fill:var(--text-heading);}

.why-row{display:grid;grid-template-columns:1fr 1.15fr;gap:80px;align-items:center;}
.why-photo{
  aspect-ratio:4/5;
  border-radius:6px;
  overflow:hidden;
  background:
    linear-gradient(200deg, rgba(0,0,0,.35), transparent 60%),
    url("../img/project/Scene 5_1.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:var(--shadow-photo);
}
.why-copy h2{font-size:32px;font-weight:500;margin-bottom:14px;color:var(--text-heading);}
.why-copy .why-lead{font-size:14.5px;color:var(--text-muted);margin-bottom:26px;}

@media (max-width:860px){
  .mv-top,.why-row{grid-template-columns:1fr;gap:44px;}
  .why-row{display:flex;flex-direction:column-reverse;}
}

/* ============ TESTIMONIALS ============ */
.testi-section{background:var(--bg-page);padding:120px 0 140px;text-align:center;transition:background .3s ease;}
.testi-section h2{font-size:clamp(26px,3vw,38px);color:var(--text-heading);margin-bottom:60px;}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.testi-card{
  border:1px solid var(--border-soft);border-radius:16px;padding:32px;
  text-align:left;background:var(--bg-surface);
  transition:transform .4s var(--ease), border-color .4s var(--ease), background .3s ease;
}
.testi-card:hover{transform:translateY(-6px);border-color:var(--brick);}
.stars{display:flex;gap:3px;margin-bottom:18px;}
.stars svg{width:15px;height:15px;fill:var(--gold);}
.testi-card p{font-size:14.5px;line-height:1.7;color:var(--text-muted);margin-bottom:26px;min-height:95px;}
.testi-person{display:flex;align-items:center;gap:12px;}
.testi-avatar{
  width:42px;height:42px;border-radius:50%;
  background:linear-gradient(145deg,var(--brick),#7a4527);
  display:flex;align-items:center;justify-content:center;
  font-family:'Fraunces',serif;font-weight:600;color:#fff;font-size:15px;
}
.testi-person .pname{font-size:14px;font-weight:700;color:var(--text-heading);}
.testi-person .prole{font-size:12px;color:var(--text-muted);}

.testi-dots{display:none;gap:8px;justify-content:center;margin-top:32px;}
.testi-dots button{width:8px;height:8px;border-radius:50%;border:none;background:var(--border-soft);cursor:pointer;}
.testi-dots button.active{background:var(--brick);width:22px;border-radius:6px;transition:width .3s var(--ease);}

@media (max-width:900px){
  .testi-grid{grid-template-columns:1fr;}
}

/* ============ NEWSLETTER + FOOTER (always dark) ============ */
.newsletter-section{background:var(--dark); color:#fff; padding:70px 0 0;}
.newsletter-section h2{font-family:var(--font-display); font-weight:400; font-size:clamp(28px,4vw,42px); margin:0;}
.newsletter-form{display:flex; gap:12px; max-width:560px; width:100%;}
.newsletter-form input{flex:1; background:transparent; border:1px solid #555; border-radius:30px; padding:15px 22px; color:#fff; outline:none; font-size:14.5px;}
.newsletter-form input::placeholder{color:#999;}
.newsletter-form input:focus{border-color:var(--gold);}
.newsletter-form button{background:#e9e9e9; color:#111; border:none; border-radius:30px; padding:15px 26px; font-size:14.5px; font-weight:600; display:flex; align-items:center; gap:8px; white-space:nowrap; transition:background .2s ease, color .2s ease;}
.newsletter-form button:hover{background:var(--gold); color:#111;}

footer{border-top:1px solid #2b2b2b; margin-top:36px; padding-top:34px;}
.footer-links a{font-size:14.5px; color:#ddd; transition:color .2s ease;}
.footer-links a:hover{color:var(--gold); text-decoration:underline;}
.footer-address{color:#999; font-size:13.5px;}
.socials a,
.footer-social a{width:36px; height:36px; border-radius:50%; border:1px solid #444; display:flex; align-items:center; justify-content:center; color:#fff; transition:background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;}
.socials a:hover,
.footer-social a:hover{background:var(--gold); color:#111; border-color:var(--gold); transform:translateY(-3px);}
.socials svg{width:15px; height:15px;}
.copyright{color:#888; font-size:13px;}

@media (max-width:720px){
  .site-header{padding:18px 22px;}
  .wrap{padding:0 22px;}
  .hero{padding-bottom:70px;}
  .legacy{padding:90px 0 70px;}
  .mv-section{padding:90px 0;}
  .mv-top{margin-bottom:80px;}
}