 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    /*--bg:     #C2CABB; light green*/
    --bg:     #fff;
    --fg:     #10120F;
    --accent: #10120F;
    --muted:  #3a3d38;
    --dim:    #1e211c;

    /* Legacy timeline */
    --sage: #3E4095; /* theme blue */
    --sage-light: #b5c4af;
    --sage-bg: #c8d4c2;
    /*--sage-dark: #58634f;  dark green*/
    --sage-dark: #3E4095; /* theme blue */
    --dark: #1a1a18;
    --off-white: #f4f1eb;

    /* Fluid spacing */
    --pad-xs: clamp(16px, 4vw, 24px);
    --pad-sm: clamp(24px, 5vw, 40px);
    --pad-md: clamp(24px, 6vw, 80px);
    --pad-lg: clamp(56px, 8vw, 120px);

    /* Fluid type */
    --text-xs:   clamp(9px,  2vw,   11px);
    --text-sm:   clamp(11px, 2.5vw, 15px);
    --text-md:   clamp(14px, 3vw,   18px);
    --text-lg:   clamp(18px, 3.5vw, 26px);
    --text-xl:   clamp(28px, 5vw,   40px);
    --text-hero: clamp(34px, 7vw,   72px);
}

html { scroll-behavior: smooth; }

body {
      background: var(--bg)!important ;
      color: var(--fg);
      font-family: Syne;
      overflow-x: hidden;
      cursor: none;
      line-height: 1.7;
  }

body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 100;
      opacity: 0.5;
  }

p, a {
   font-family: Syne;
   line-height: 1.7;
  }

section {
        padding-top: 100px;
        padding-bottom: 100px;
  }


  .playwrite-nz-guides-regular {
  font-family: "Playwrite NZ Guides", cursive;
  font-weight: 400;
  font-style: normal;
}


.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s;
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid #58634f;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor.big { width: 18px; height: 18px; }

.cursor-ring.big { width: 56px; height: 56px; opacity: 0.15; }

/* ============ NAV BASE ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
/*  background: rgba(12, 10, 8, 0.85);*/
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
/*  border-bottom: 1px solid rgba(200, 170, 120, 0.12);*/
}

#main-nav{
  display:flex;
}

.nav-logo img {
  display: block;
  transition: opacity 0.3s ease;
}
.nav-logo:hover img { opacity: 0.75; }

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.2rem;
}

.nav-links a {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sage);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover { color: var(--sage); }
.nav-links a:hover::after { width: 100%; }

/* ============ HAMBURGER BUTTON ============ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 910;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background:var(--sage);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              width 0.3s ease;
}

/* Hamburger → X animation */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============ OVERLAY ============ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-overlay.is-visible {
  display: block;
}
.nav-overlay.is-active {
  opacity: 1;
}

/* ============ DRAWER ============ */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  width: min(320px, 82vw);
  background: #0d0b08;
  border-left: 1px solid rgb(185 213 230 / 85%);
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-close {
  align-self: flex-end;
  background: none;
  border: 1px solid rgb(185 213 230 / 85%);
  color: rgb(185 213 230 / 85%);
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: 2rem;
}
.nav-drawer-close:hover {
  color: rgb(185 213 230 / 85%);
  border-color: rgb(185 213 230 / 85%);
}

.nav-drawer-logo {
  margin-bottom: 2.5rem;
}

.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-drawer-links li {
  border-bottom: 1px solid rgb(185 213 230 / 85%);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Stagger animation for each link */
.nav-drawer.is-open .nav-drawer-links li:nth-child(1) { transition-delay: 0.05s; }
.nav-drawer.is-open .nav-drawer-links li:nth-child(2) { transition-delay: 0.10s; }
.nav-drawer.is-open .nav-drawer-links li:nth-child(3) { transition-delay: 0.15s; }
.nav-drawer.is-open .nav-drawer-links li:nth-child(4) { transition-delay: 0.20s; }
.nav-drawer.is-open .nav-drawer-links li:nth-child(5) { transition-delay: 0.25s; }

.nav-drawer.is-open .nav-drawer-links li {
  opacity: 1;
  transform: translateX(0);
}

.nav-drawer-links a {
  display: block;
  padding: 1rem 0;
  font-family:  'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgb(185 213 230 / 85%);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.nav-drawer-links a:hover {
  color: rgb(185 213 230 / 85%);
  padding-left: 0.5rem;
}

.nav-drawer-tagline {
  font-family:  'Syne', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgb(185 213 230 / 85%);
  text-transform: uppercase;
  margin: 0;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  nav { padding: 1rem 1.5rem; }
}

/* Prevent body scroll when drawer open */
body.nav-open {
  overflow: hidden;
}

/*nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  z-index: 50;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  opacity: 1;
  animation: fadeUp 1s 0.2s forwards;
}

.nav-links {
  display: flex; 
  gap: 2.5rem; 
  list-style: none;
  opacity: 1; 
  animation: fadeUp 1s 0.4s forwards;
}
.nav-links a {
  font-size: 0.65rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase;
  color: var(--fg); text-decoration: none; transition: opacity 0.3s;
}
.nav-links a:hover { opacity: 0.4; }
*/
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 3rem 3rem;
  overflow: hidden;
}
.hero h1, h2, h3, h4{
  text-transform: uppercase;
      line-height: 1.2em;
}

.second_title{
  color: var(--sage-dark);
}

#canvas-wrap {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

#rock-canvas { width: 100% !important; height: 100% !important; display: block; }

.rock-ring {
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  width: min(480px, 48vw); height: min(480px, 48vw);
  border-radius: 50%;
  border: 1px solid rgba(194,202,187,0.06);
  z-index: 1; pointer-events: none;
  animation: ringPulse 5s ease-in-out infinite;
}

.rock-ring::before {
  content: ''; position: absolute; inset: 25px;
  border-radius: 50%; border: 1px solid rgba(194,202,187,0.03);
}

.hero-center {
  display: flex; 
  flex-direction: column; 
  justify-content: center;
/*      padding-top: 6rem;*/
   position: relative; z-index: 2; max-width: 55%;
}
.hero-eyebrow {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 1s 0.5s forwards;
}
    .hero-title, h2 {
    font-family: 'Syne', serif;
    font-size: clamp(3rem, 3vw, 0.5rem);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: 0px;
    font-size: 2rem;
    line-height: 1.2em;
    text-transform: uppercase;
   
}
 .hero-title{
   width: 450px;
 }

 .main-img{
    vertical-align: middle;
    display: flex;
    width: 39%;
}
.main-img img{
  width: 80%;
  height: 80%;
}

  .hero-title .line {
    display: block; opacity: 0; transform: translateY(60px);
    animation: slideUp 1s cubic-bezier(0.16,1,0.3,1) forwards;
  }

  .hero-title .line:nth-child(1) { animation-delay: 0.6s; }
  .hero-title .line:nth-child(2) { animation-delay: 0.75s; color: var(--sage-dark); }
  .hero-title .line:nth-child(3) { animation-delay: 0.9s; }

  .hero-sub {
    margin-top: 2.5rem; 
    max-width: 400px;
  /*  font-size: 0.72rem; */
  /*  line-height: 1.9; */
      color: var(--muted);
      opacity: 0; 
      animation: fadeUp 1s 1.2s forwards;
    }

  .hero-footer {
    display: flex; justify-content: space-between; align-items: flex-end;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 1s 1.5s forwards;
    }

  .hero-scroll {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.6rem; letter-spacing: 0; text-transform: uppercase; color: var(--muted);
    }

  .scroll-line {
    width: 50px; height: 1px; background: var(--dim); position: relative; overflow: hidden;
    }

  .scroll-line::after {
    content: ''; position: absolute; top:0; left:-100%;
    width:100%; height:100%; background: var(--fg);
    animation: scanLine 2.5s 2s infinite;
    }

  .hero-status {
    font-size: 0.6rem; letter-spacing: 0; text-transform: uppercase;
    color: var(--muted); display: flex; align-items: center; gap: 0.6rem;
    }

  .status-dot {
    width:6px; height:6px; background:#6ee7a0; border-radius:50%;
    animation: dotPulse 2s infinite;
    }

  .marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--dim);
    border-bottom: 1px solid var(--dim);
    padding: 1.1rem 0;
    }

    .marquee-track {
      display: flex; gap: 3.5rem;
      animation: marquee 22s linear infinite;
      white-space: nowrap;
    }
    .marquee-track span {
      font-family: 'Syne', sans-serif; font-size: 0.6rem;
      letter-spacing: 0; text-transform: uppercase; color: var(--muted); flex-shrink: 0;
    }

    .marquee-track span.dot { color: var(--fg); opacity: 0.25; }

    .about {
      padding: 10rem 3rem;
      display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
    }

    .section-label {
      font-size: 0.6rem; letter-spacing: 0; text-transform: uppercase;
      color: var(--muted); margin-bottom: 2rem;
    }

    .about-title {
      font-family: 'Syne', serif;
      font-size: clamp(2.5rem, 4.5vw, 3rem);
      font-weight: 500; line-height: 1.1; letter-spacing: 0;
    }

    .about-title em { font-style: italic; color: rgba(194,202,187,0.45); }

    .about-body { padding-top: 2rem; }
    .about-body p { font-size: 0.75rem; line-height: 2; color: var(--muted); margin-bottom: 1.5rem; }
    .about-body p strong { color: var(--fg); font-weight: 400; }
    .skills-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .skill-item { border-top: 1px solid var(--dim); padding-top: 1rem; }
    .skill-name { font-size: 0.6rem; letter-spacing:0; text-transform: uppercase; color: var(--fg); margin-bottom: 0.3rem; }
    .skill-detail { font-size: 0.58rem; color: var(--muted); }

    .work { padding: 0 3rem 10rem; }
    .work-header {
      display: flex; justify-content: space-between; align-items: baseline;
      margin-bottom: 4rem; border-top: 1px solid var(--dim); padding-top: 2rem;
    }
    .work-title {
      font-family: 'Syne', serif;
      font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 700;
    }
    .work-count { font-size: 0.6rem; letter-spacing: 0; color: var(--muted); }
    .project-list { display: flex; flex-direction: column; }
    .project-item {
      display: grid; grid-template-columns: 70px 1fr auto auto;
      align-items: center; gap: 2rem; padding: 2rem 0;
      border-bottom: 1px solid var(--dim);
      cursor: none; position: relative; overflow: hidden;
      transition: padding-left 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .project-item::before {
      content: ''; position: absolute; inset: 0; background: var(--dim);
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .project-item:hover { padding-left: 1.5rem; }
    .project-item:hover::before { transform: scaleX(1); }
    .project-num { font-size: 0.6rem; letter-spacing: 0; color: var(--muted); position: relative; }
    .project-name {
      font-family: 'Syne', serif;
      font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 700;
      position: relative; transition: color 0.3s;
    }
    .project-item:hover .project-name { color: rgba(194,202,187,0.5); }
    .project-tags { display: flex; gap: 0.6rem; position: relative; }
    .project-tag {
      font-size: 0.55rem; letter-spacing: 0; text-transform: uppercase;
      color: var(--muted); border: 1px solid var(--dim); padding: 0.3rem 0.6rem; border-radius: 20px;
    }
    .project-year { font-size: 0.6rem; color: var(--muted); position: relative; }

    .contact { padding: 5rem 3rem; text-align: center; }
    .contact-eyebrow { font-size: 0.6rem; letter-spacing:0; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
    .contact-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(3rem, 7.5vw, 7.5rem);
      font-weight: 900; line-height: 1; letter-spacing: 0; margin-bottom: 3rem;
    }
    .contact-title em { font-style: italic; color: rgba(194,202,187,0.4); }
    .contact-link {
      display: inline-flex; align-items: center; gap: 1rem;
      font-size: 0.68rem; letter-spacing:0; text-transform: uppercase;
      color: var(--fg); text-decoration: none;
      border-bottom: 1px solid var(--muted); padding-bottom: 0.4rem;
      transition: border-color 0.3s;
    }
    .contact-link::after { content: '→'; }
    .contact-link:hover { border-color: var(--fg); }


    @keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
    @keyframes slideUp { from{opacity:0;transform:translateY(60px)} to{opacity:1;transform:translateY(0)} }
    @keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
    @keyframes scanLine { from{left:-100%} to{left:100%} }
    @keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:0.2} }
    @keyframes ringPulse { 0%,100%{transform:translateY(-50%) scale(1);opacity:1} 50%{transform:translateY(-50%) scale(1.03);opacity:0.5} }

    .reveal {
      opacity: 1; transform: translateY(35px);
      transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
    }
    .reveal.visible { opacity:1; transform:translateY(0); }


/*================== About Responsives ====================*/

@media(max-width:768px){

      nav,footer{padding:1.5rem}

      .hero,.work,.about,.contact{padding-left:1.5rem;padding-right:1.5rem}

      .hero-center{max-width:100%}

      .project-item{grid-template-columns:50px 1fr}

      .project-tags,.project-year{display:none}
    }



    .main-hero{
      display: flex;
      justify-content: center;
      padding-top: 8rem;
     position: relative;
     z-index: 2;
    /*    max-width: 55%;*/
    }
  }


/*  CEO Section  */

.ceo {
    padding: 6rem 0 6rem;
    background: var(--bg-light-color);
}

.container {
    max-width: 1800rem;
    margin: 0 auto;
    padding: 0 8rem;
}

.ceo__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
/*    -ms-flex-direction: column;
    flex-direction: column;*/
    position: relative;
}

.ceo-top {
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.ceo-title{
  font-size: clamp(2rem, 3vw, 0.5rem);
}
/*.ceo-text {
    font-weight: 500;
    font-size: 140rem;
    line-height: 1.2;
    letter-spacing: -7%;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    z-index: 3;
}*/

/*.ceo-middle {
    top: 2rem;
}


.ceo-bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: right;
    bottom: 10rem;
    right: 0;
}*/

.ceo-img{
     width: 70%;
    filter: grayscale(0.9);
}

.ceo h1{
  text-transform: uppercase;
}

.space{
  padding-top: 2rem;
  padding-bottom: 2rem;

}

.ceo-subtitle{
  font-family: 'Syne', serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: 0;
}

.ceo__wrapper-title{
  margin-top: -7rem;
    z-index: 9999;
    position: relative;
    float: right;
/*    margin-right: -8rem;*/
}

/* ══════════════════════════════════════
       Signature
══════════════════════════════════════ */

.scroll-reveal-section{
  height:220vh;
  /*background:#c1c7b8;*/
}

.scroll-reveal-inner{
  position:sticky;
  top:0;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 5vw;
}

.content{
  max-width:500px;
  width:100%;
  text-align:center;
}

/* TEXT */

.scroll-text{
  font-size:1rem;
  line-height:1.6;
  word-wrap: break-word;
}

.scroll-text span{
  opacity:0.15;
}


/* IMAGE */

.image-wrap{
  margin-top:40px;
  overflow:hidden;
  display:flex;
  justify-content:center;
}

.reveal-image{
  width:100px;
  clip-path: inset(0 100% 0 0); /* hidden initially */
}

 /* ── CURSOR ── */
    #cur { position:fixed; 
      width:8px; height:8px; 
      background:var(--fg); 
      border-radius:50%; 
      pointer-events:none; z-index:9999; 
      transform:translate(-50%,-50%); 
      mix-blend-mode:difference; }

    #cur-ring { position:fixed; width:32px; 
      height:32px; 
      border:1px solid #58634f; 
      border-radius:50%; 
      pointer-events:none; 
      z-index:9998; 
      transform:translate(-50%,-50%); 
      transition:width .3s,height .3s,opacity .3s; }

    #cur.big { width:14px; height:14px; }

    #cur-ring.big { width:52px; height:52px; opacity:.12; }

    /* ══════════════════════════════════════
       SHARED UTILS
    ══════════════════════════════════════ */
    .sec-label {
      font-size: .55rem;
      letter-spacing: 0;
      text-transform: uppercase;
      color: var(--accent);
    }
    .line-h { width: 100%; height: 1px; background: var(--dim); }


    /* ═════════════════════════════════════
       TRANSITION STRIP between sections
    ══════════════════════════════════════ */
    .strip {
      height: 1px;
      background: var(--dim);
      margin: 0 3rem;
    }

    /* ══════════════════════════════════════
       SECTION 2 — LEGACY
       Horizontal scroll inside pinned section
    ══════════════════════════════════════ */
    #legacy-wrap {
      height: 600vh;
      position: relative;
    }

    #legacy-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .legacy-header {
      padding: 2.5rem 3rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      border-bottom: 1px solid var(--dim);
      flex-shrink: 0;
    }
    .legacy-title-wrap {}
    .legacy-title {
      font-family: 'Syne';
    font-size: clamp(2.5rem, 3vw, 5.5rem);
    font-weight: 500;
      line-height: .9;
      letter-spacing: 0;
    }
    .legacy-title em {
      font-style: italic;
      color: var(--fg-dim);
    }
    .legacy-meta {
      font-size: .55rem;
      letter-spacing: 0;
      text-transform: uppercase;
      color: var(--fg-mute);
      padding-bottom: .5rem;
    }

    /* Horizontal rail */
    .legacy-rail {
      flex: 1;
      display: flex;
      align-items: center;
      will-change: transform;
      border-bottom: 1px solid var(--dim);
    }

    /* Inner track — extra wide */
    .legacy-track {
      display: flex;
      align-items: center;
      gap: 0;
      padding: 0 3rem;
      margin: auto;
      /* width set by JS */
    }

    /* Each legacy card */
    .legacy-card {
      position: relative;
      flex-shrink: 0;
/*      width: 38vw;*/
      width: 5vw;
      min-width: 300px;
      padding: 2rem 2.5rem 2rem 0;
      border-right: 1px solid var(--dim);
      margin-right: 3vw;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      opacity: 1 !important;
    }
    .legacy-card:last-child {
      border-right: none;
    }

    .lc-year {
      font-size: .9rem;
      letter-spacing: 0;
      color: var(--accent);
    }
    .lc-num {
          font-family: 'Syne';
      font-size: clamp(2.5rem, 2vw, 5.5rem);
      font-weight: 500;
      line-height: 1;
      color: var(--fg-mute);
    }
    .lc-title {
          font-family: 'Syne';
    font-size: clamp(2.5rem, 2vw, 5.5rem);
    font-weight: 500;
      line-height: 1.1;
      letter-spacing: 0;
    }
    .lc-title em { font-style: italic; color: var(--fg-dim); }
    .lc-body {
      font-size: .9rem;
      line-height: 1.7;
/*      color: rgba(194,202,187,.45);*/
      max-width: 360px;
    }
    .lc-body strong { color: var(--fg); font-weight: 400; }
    .lc-tags {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin-top: .5rem;
    }
    .lc-tag {
      font-size: .7rem;
      letter-spacing: 0;
      text-transform: uppercase;
      border: 1px solid var(--dim);
      padding: .28rem .65rem;
      border-radius: 20px;
      color: #000;
    }

    /* Parallax image placeholder per card */
    .lc-img {
      width: 100%;
      height: auto;
      border-radius: 4px;
      /*background: var(--dim);*/
      overflow: hidden;
      position: relative;
    }
     .lc-img img{
      width: 100%;
     }

    .lc-img::after {
      content: '';
      position: absolute; inset: 0;
      /*background: linear-gradient(135deg, var(--sage) 0%, var(--bg) 100%);*/
      opacity: .6;
    }
    .lc-img-inner {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
    }
    .lc-img-glyph {
/*      font-family: 'Cormorant Garamond', serif;*/
      font-size: 5rem;
      font-weight: 300;
      color: rgba(194,202,187,.08);
      position: relative; z-index: 2;
    }

    /* Legacy bottom progress bar */
    .legacy-scrub {
      height: 1px;
      background: var(--dim);
      margin: 0 3rem;
      position: relative;
      flex-shrink: 0;
    }
    .legacy-scrub-fill {
      position: absolute;
      top: 0; left: 0;
      height: 100%;
      background: var(--accent);
      width: 0%;
      transform-origin: left;
    }
    .legacy-scrub-labels {
      display: flex;
      justify-content: space-between;
      padding: .7rem 0 1.5rem;
      font-size: .5rem;
      letter-spacing:0;
      color: var(--fg-mute);
    }

    /* ── CLIP REVEAL text ── */
    .clip-reveal {
      overflow: hidden;
      display: block;
    }
    .clip-inner {
      display: block;
      transform: translateY(100%);
    }

    /* ── SPLIT CHARS ── */
    .char { display: inline-block; }

    /* ── Scroll indicator ── */
    .scroll-indicator {
      position: fixed;
      right: 2.5rem;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: .4rem;
      z-index: 200;
      opacity: 0;
    }
    .si-dot {
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--fg-mute);
      transition: background .3s, transform .3s;
    }
    .si-dot.active { background: var(--fg); transform: scale(1.5); }


/*Other*/
.stats { position: relative; }
@media (max-width: 650px) {
  .stats { padding: 85px 15px 50px; }
}
.stats .square { top: 65rem; left: 55rem; }
@media (max-width: 1100px) {
  .stats .square { display: none; }
}
.stats .square:nth-child(2) { left: unset; right: 20rem; }
.stats .square:nth-child(3) { top: unset; bottom: 20rem; }
.stats .square:nth-child(4) { top: unset; left: unset; right: 20rem; bottom: 20rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; border-bottom: 1rem solid var(--border); }
@media (max-width: 650px) {
  .stats__grid { display: flex; flex-wrap: wrap; -webkit-box-pack: start; justify-content: flex-start; border: none; }
}
.stats__cell { border-right: 1rem solid var(--border); display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; padding: 84rem 0px; }
@media (max-width: 1100px) {
  .stats__cell { padding: 40px 0px; }
}
@media (max-width: 650px) {
  .stats__cell { padding: 0px; border: none; }
}
.stats__cell:nth-child(4n) { border-right: none; }
.stats__cell h2 { font-size: 109rem; font-weight: 500; line-height: 1.2; }
@media (max-width: 1100px) {
  .stats__cell h2 { font-size: 30px; }
}
@media (max-width: 650px) {
  .stats__cell h2 { margin-right: auto; font-size: 44px; margin-bottom: 30px; }
}
@media (max-width: 400px) {
  .stats__cell h2 { font-size: 34px; }
}
.stats__cell h2 .blue { color: var(--blue-color); }
.stats__cell h2 .design, .stats__cell h2 .and, .stats__cell h2 .building { display: inline-block; }
@media (max-width: 1100px) {
  .stats__cell h2 .design { display: block; }
}
@media (max-width: 650px) {
  .stats__cell h2 .and { margin-left: 50px; }
}
.stats__cell p { font-weight: bold; font-size: 20rem; line-height: 1.2; letter-spacing: 19%; text-transform: uppercase; width: 40%; margin: 0px auto; text-align: center; }
@media (max-width: 1100px) {
  .stats__cell p { font-size: 10px; }
}
@media (max-width: 650px) {
  .stats__cell p { width: 100%; }
}
.stats__cell .counter { font-family: "IvyStyle Sans"; font-weight: 400; font-size: 120rem; line-height: 1.2; letter-spacing: -7%; text-transform: uppercase; overflow: hidden; color: var(--blue-color); position: relative; }
@media (max-width: 1100px) {
  .stats__cell .counter { font-size: 50px; }
}
.stats__cell .counter span { display: inline-block; }
.stats__cell .counter .three-first, .stats__cell .counter .five-first { transform: translateY(-100%); }
.stats__cell .counter .two-first { position: absolute; left: 45%; transform: translateX(-50%); }
.stats__cell .counter .four-first { position: absolute; right: 0px; }
.stats__cell .counter .eight-second { transform: translateY(-100%); }
.stats__cell .counter .seven-second { position: absolute; top: 0px; right: 0px; }
.stats__cell .counter .two-third, .stats__cell .counter .five-third, .stats__cell .counter .seven-third { transform: translateY(-100%); }
.stats__cell .counter .one-third, .stats__cell .counter .four-third, .stats__cell .counter .six-third { position: absolute; left: 0px; }
.stats__cell .counter .four-third { left: 70%; transform: translateX(-50%); }
.stats__cell .counter .six-third { right: 0px; left: unset; }
@media (max-width: 650px) {
  .stats-cell__mob { width: 50%; margin-right: 0px; margin-bottom: 20px; }
}
.stats__title, .stats__count, .stats__text { padding-top: 200rem; padding-bottom: 131rem; border-bottom: 1rem solid var(--border); }
@media (max-width: 1100px) {
  .stats__title, .stats__count, .stats__text { padding-top: 100px; padding-bottom: 50px; }
}
@media (max-width: 650px) {
  .stats__title, .stats__count, .stats__text { padding: 0px; border: none; }
}
@media (max-width: 650px) {
  .stats__count { -webkit-box-ordinal-group: 2; order: 1; }
}
.stats__title { grid-column: 1 / span 2; padding-left: 145rem; color: var(--black-text-color-second); }
@media (max-width: 1100px) {
  .stats__title { padding-left: 15px; }
}
@media (max-width: 650px) {
  .stats__title { padding: 0px; }
}
.stats__count { grid-column: 3; }
.stats__text { grid-column: 4; }
@media (max-width: 650px) {
  .stats__text { margin-bottom: 60px; }
}
.stats__text p { font-family: "IvyStyle Sans"; font-weight: 400; font-size: 24rem; line-height: 1.2; letter-spacing: -5%; padding-left: 15rem; padding-right: 15rem; width: auto; text-align: left; }
@media (max-width: 1100px) {
  .stats__text p { font-size: 10px; padding: 0px 15px; }
}
@media (max-width: 650px) {
  .stats__text p { font-size: 14px; padding: 0px; }
}

/* ══════════════════════════════════════
       STATS SECTION
    ══════════════════════════════════════ */
    .stats-section {
          background: var(--bg)
      width: 100%;
      border-top: 1px solid var(--dim);
      border-bottom: 1px solid var(--dim);
    }

    /* ── TOP ROW: 3 columns ── */
    .stats-top {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      border-bottom: 1px solid var(--dim);
      min-height: 52vh;
    }

    /* Column dividers */
    .stats-top > * + * { border-left: 1px solid var(--dim); }

    /* ── Cell 1: Big headline ── */
    .cell-headline {
      padding: 4rem 3.5rem;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }
    .cell-headline .eyebrow {
      font-size: .52rem;
      letter-spacing: 0;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
    }
    .headline-text {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.8rem, 2.5vw, 5.5rem);
      font-weight: 500;
      line-height: .92;
      letter-spacing:0;
      text-transform: uppercase;
      color: var(--fg);
    }
    .headline-text .hl-accent {
      display: block;
      color: var(--accent);
          font-family: 'Syne', serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: 0;
    }

    /* ── Cell 2: Featured stat ── */
    .cell-feat-stat {
      padding: 4rem 3rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      position: relative;
      overflow: hidden;
    }
    .cell-feat-stat::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse at 50% 60%, rgba(139,168,130,.1) 0%, transparent 70%);
      pointer-events: none;
    }
    .feat-num {
      font-family: 'Syne', sans-serif;
      font-size: clamp(5rem, 6vw, 9rem);
      font-weight: 500;
      line-height: 1;
      letter-spacing: 0;
      color: var(--accent);
      display: block;
    }
    .feat-label {
      font-size: .55rem;
      letter-spacing: 0;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: .8rem;
    }

    /* ── Cell 3: Description text ── */
    .cell-desc {
      padding: 4rem 3.5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .desc-body {
/*      font-size: .72rem;*/
/*      line-height: 2;*/
      color:#10120F;
/*      text-transform: uppercase;*/
/*      letter-spacing: .06em;*/
    }
    .desc-body strong { color: var(--fg); font-weight: 400; }

    /* ── BOTTOM ROW: 4 equal stat cells ── */
    .stats-bottom {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      min-height: 28vh;
    }
    .stats-bottom > * + * { border-left: 1px solid var(--dim); }

    .stat-cell {
      padding: 3rem 2.5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
      cursor: default;
      transition: background .4s;
    }
    .stat-cell::after {
      content: '';
      position: absolute; inset: 0;
      background: #DEF0FF;
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform .4s cubic-bezier(.16,1,.3,1);
    }
    .stat-cell:hover::after { transform: scaleY(1); }

    .stat-num {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2.5rem, 5vw, 4.8rem);
      font-weight: 500;
      line-height: 1;
      letter-spacing: 0;
      color: var(--accent);
      position: relative; z-index: 1;
      display: block;
    }
    .stat-label {
      font-size: .5rem;
      letter-spacing: 0;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: .8rem;
      line-height: 1.7;
      position: relative; z-index: 1;
    }

    /* Corner marks (like the screenshot's small squares) */
    .corner-mark {
      position: absolute;
      width: 8px; height: 8px;
      border: 1px solid var(--dim);
    }
    .corner-mark.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
    .corner-mark.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
    .corner-mark.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
    .corner-mark.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

    /* ── Animated number counter ── */
    .count-up { display: inline-block; }

    /* ── Responsive ── */
    @media (max-width: 900px) {
      .stats-top { grid-template-columns: 1fr 1fr; min-height: auto; }
      .cell-desc { grid-column: 1 / -1; border-left: none !important; border-top: 1px solid var(--dim); }
      .stats-bottom { grid-template-columns: repeat(2, 1fr); }
      .stats-bottom > *:nth-child(3) { border-left: none; border-top: 1px solid var(--dim); }
    }
    @media (max-width: 560px) {
      .stats-top { grid-template-columns: 1fr; }
      .stats-top > * + * { border-left: none; border-top: 1px solid var(--dim); }
      .stats-bottom { grid-template-columns: repeat(2,1fr); }
      .cell-headline, .cell-feat-stat, .cell-desc, .stat-cell { padding: 2rem 1.5rem; }
    }




/* ── CEO ── */
    .ceo-section {
      display: grid; grid-template-columns: 1fr 1fr;
      min-height: 80vh; overflow: hidden;
      position: relative;
          z-index: 1;
    }
    .ceo-text-col {
/*      background:#000;*/
/*      color: #f4f1ec;*/
      padding: 8rem 5rem; display: flex; flex-direction: column;
      justify-content: center;
    }
    .ceo-label {
      font-family: 'DM Mono', monospace;
      font-size: .58rem; letter-spacing: 0; text-transform: uppercase;
/*      color: #f4f1ec; */
      margin-bottom: 2rem;
    }
    .ceo-title {
      font-weight: 300; line-height: 1.05;
      font-family: 'Syne', serif;
      font-size: clamp(2rem, 3vw, 0.5rem);
      line-height: 1.4;
      letter-spacing: 0;
          border-bottom: 1px solid #a1a1a1;
    }
    .ceo-title em { font-style: italic; color: var(--sage); }
    .ceo-desc {
      margin-top: 2.5rem; font-size: 1rem; line-height: 1.9;
       max-width: 360px;
       margin-left: 13rem;
    }
    .ceo-name-block { border-top: 1px solid #a1a1a1; margin-top: 3.5rem; padding-top: 2rem; }
    .ceo-name { font-size: 1.4rem; font-weight: 400;    
    }
    .ceo-role { font-size: .6rem; letter-spacing: 0; text-transform: uppercase;  margin-top: .4rem;    }
    .ceo-img-col {
      /* position: relative; */
      overflow: hidden;
      display: flex;
      align-items: flex-end;

    }
    .ceo-img-col img {
      width: auto;
      height: 60%; 
      /*object-fit: cover;
      object-position: top center;
      filter: grayscale(20%); */
      transform: scale(1.02);
      transition: transform 8s ease;
      position: absolute;
      left: 30rem;
      z-index: 9999;

    }
    .ceo-img-col:hover img { transform: scale(1.06); }

    .width60{
      width: 65%;
      justify-self: center;
      line-height: 1.5;
      color: #222;
      font-weight: 200;
      font-family: 'Syne';
    }


/*  ==================================================
                  About  PAge                               
===================================================  */

/*----------- Main Section --------------*/

.about-head span{
 font-size: 2rem; 
 line-height:1.2em;
     text-transform: uppercase;
}

.abt_hero {
    padding-top: 8rem;
    padding-bottom: 3rem;

    position: relative;
    align-content: flex-end;
    align-items: flex-end;
    width: 80%;
    justify-self: center;
    border-bottom:1px solid #a1a1a1;
}

.abt_end{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.abt-img img {
    width: 80%;
    float: right;
}

.abt-sub{
  margin-top: 1.5rem;
    color: var(--muted);
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

@media(max-width:768px){

      .about{grid-template-columns:1fr;gap:3rem}

      .abt_hero{ padding-top: 0!important; width: 100%!important; }
      .abt-img{ text-align:center; }
      .abt-img img { width: 42%!important;}
      .bl_cont p{width: 100%!important;}
      .values-section{
        grid-template-columns:1fr!important;
        padding: 60px 30px!important;
       }
       .value-card {
          padding: 2px 8px!important; }

       .footer-nav {
          display: grid !important;}

    }
/* ------------- 2nd Black Section --------------- */

.bl_cont{
  background: var(--dark);
}

.bl_cont p{
  color: #999;
    width: 70%;
    text-align: center;
    justify-content: center;
    justify-self: center;
}



  /* ── MISSION BANNER ── */
  .mission {
    background: var(--dark);
    color: var(--sage-light);
    padding: 56px 80px;
    text-align: center;
    animation: fadeIn 1.2s ease both;
  }
  .mission p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.9;
    color: #c2cebe;
  }

  /* ── VALUES ── */
  .values-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 80px 60px;
    position: relative;
  }

  .values-left {
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  .values-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 12px;
  }
  .values-heading {    font-size: 42px;
    font-weight: 300;
    line-height: 1.15;
    color: var(--dark);
  }
  .values-heading em {
    color: var(--muted);
    display: block;
  }

  .values-grid {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .value-card {
    padding: 32px 28px;
    border-top: 1px solid var(--divider);
    position: relative;
    transition: background 0.3s ease;
  }
  .value-card:hover {
    background: rgba(255,255,255,0.12);
  }
  .value-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 28px; right: 28px;
    height: 1px;
    background: var(--divider);
  }
  .value-card h3 {
    font-family: 'DM Mono', monospace;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    color: var(--dark);
  }
  .value-card p {
    font-size: 16px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.4;
  }

  .value-card .card-line {
    display: block;
    width: 0;
    height: 1px;
    background: #000;
    margin-bottom: 14px;
    transition: width 0.6s cubic-bezier(.22,1,.36,1);
  }
  .value-card.visible .card-line,
  .value-card:hover .card-line {
    width: 30px;
  }

  /* ── EXPERTISE ── */
  .expertise-section {
    padding: 90px 60px;
    text-align: center;
    border-top: 1px solid var(--divider);
    position: relative;
    overflow: hidden;
  }
  .expertise-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
  }

  .expertise-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--dark);
    margin-bottom: 36px;
  }
  .expertise-title span {
    color: var(--sage-dark);
  }

  .expertise-body {
    max-width: 680px;
    margin: 0 auto 36px;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.85;
  }

  .expertise-tagline {
    font-size: 20px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
  }
  .expertise-tagline::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 200px; height: 1px;
    background: var(--dark-mid);
    transform-origin: center;
    transition: transform 1s cubic-bezier(.22,1,.36,1) 0.3s;
  }
  .expertise-tagline.visible::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* ── MILESTONES ── */
  .milestones-section {
    padding: 80px 60px;
    border-top: 1px solid var(--divider);
  }
  .milestones-heading {
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.22em;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 50px;
  }

  .milestones-layout {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 40px;
    align-items: start;
  }

  .milestones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .milestone-card {
    padding: 28px 24px;
    border-top: 1px solid var(--divider);
    border-right: 1px solid var(--divider);
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .milestone-card:nth-child(2n) { border-right: none; }
  .milestone-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-3px);
  }

  .milestone-icon {
    width: 40px; height: 40px;
    margin-bottom: 16px;
    position: relative;
  }
  .milestone-icon svg {
    width: 40px; height: 40px;
    fill: var(--dark-mid);
    transition: transform 0.4s ease;
  }
  .milestone-card:hover .milestone-icon svg {
    transform: scale(1.12) rotate(5deg);
  }

  .milestone-card h4 {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: var(--dark);
  }
  .milestone-card p {
    font-size: 16px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.75;
  }

  .stone-image img{
    width: 70%;
  }



/*======== LEGACY Page =========*/


/* ═══════════════════════════════════════
   Legacy HERO
═══════════════════════════════════════ */
.legacy_hero {
  min-height: 100svh;
  padding: calc(64px + clamp(28px, 5vw, 56px)) var(--pad-md) clamp(48px, 8vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}

/* Legacy bg font */
.hero-bg-text {
    position: absolute;
        font-family: 'Syne';
    /* bottom: 8%; */
    /* left: 14%; */
    font-size: clamp(80px, 35vw, 395px);
    font-weight: 300;
    color: rgb(251 251 251 / 10%);
    /* letter-spacing: -0.02em; */
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    text-transform: lowercase;
    text-align: center;
    justify-self: center;
    top: 0;
}

.legacy_hero-content { position: relative; z-index: 2; }
.legacy_hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: clamp(14px, 2.5vw, 24px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.legacy_hero-divider {
  width: 70%; height: 1px;
  background: var(--sage-dark);
  margin: clamp(18px, 3vw, 32px) 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: expandLine 0.7s ease 0.9s forwards;
}
.legacy_hero-sub {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.9;
  color: var(--accent);
  max-width: 340px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 1.1s forwards;
}
.legacy_hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; z-index: 2;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: fadeUp 1.2s ease 0.7s forwards;
}
.legacy_hero-pyramid {
  width: clamp(180px, 34vw, 460px);
  height: clamp(180px, 34vw, 460px);
}


/* ═══════════════════════════════════════
   QUOTE
═══════════════════════════════════════ */
.quote-band {
  padding: var(--pad-lg) var(--pad-md);
  text-align: center;
}
.quote-band blockquote {
  font-size: var(--text-md);
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  color: var(--accent);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.85;
  font-family: 'Syne', serif;
}

/* ═══════════════════════════════════════
   TIMELINE
═══════════════════════════════════════ */
.timeline-section { padding: var(--pad-lg) var(--pad-md); }
.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  text-align: center;
  margin-bottom: 14px;
}
.section-title {
  font-size: var(--text-xl);
  font-weight: 300;
  text-align: center;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: clamp(44px, 7vw, 80px);
}

.timelinetitlespan{
  color: var(--sage-dark);

}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

/* Spine */
.timeline-spine {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--sage-dark);
  transform-origin: top;
  transform: translateX(-50%) scaleY(0);
  transition: transform 1.4s cubic-bezier(0.4,0,0.2,1);
}
.timeline-spine.revealed { transform: translateX(-50%) scaleY(1); }

/* Desktop: 3-col alternating */
.tl-item {
  display: grid;
  grid-template-columns: 1fr clamp(36px,5vw,56px) 1fr;
  margin-bottom: clamp(36px, 6vw, 70px);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.tl-item.from-left  { transform: translateX(-28px); }
.tl-item.from-right { transform: translateX(28px); }
.tl-item.revealed   { opacity: 1; transform: translateX(0); }

.tl-side { padding-top: 2px; }
.tl-side.left  { text-align: right; padding-right: clamp(16px,3vw,36px); }
.tl-side.right { text-align: left;  padding-left:  clamp(16px,3vw,36px); }
.tl-side.empty { pointer-events: none; }
.tl-mid { display: flex; justify-content: center; padding-top: 4px; }
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #DEF0FF;
  border: 2px solid #c8d3c1;
  box-shadow: 0 0 0 3px var(--sage-dark);
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tl-item:hover .tl-dot { transform: scale(1.45); box-shadow: 0 0 0 5px var(--sage-dark); }
.tl-year {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 9px;
}
.tl-heading {
  font-size: clamp(17px, 3vw, 24px);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 9px;
  line-height: 1.25;
}
.tl-body {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.9;
  color: var(--accent);
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   PRINCIPLES
═══════════════════════════════════════ */
.principles-section {
  padding: var(--pad-lg) var(--pad-md);
  background: rgba(110,128,104,0.08);
}
.principles-header {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.12;
  color: var(--accent);
  margin-bottom: clamp(36px, 6vw, 64px);
  max-width: 500px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(110,128,104,0.3);
}
.principle {
  padding: clamp(22px,4vw,40px) clamp(14px,3vw,32px) clamp(22px,4vw,40px) 0;
  border-right: 1px solid rgba(110,128,104,0.3);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.principle:last-child { border-right: none; padding-right: 0; }
.principle.revealed { opacity: 1; transform: translateY(0); }
.principle:nth-child(1) { transition-delay: 0.00s; }
.principle:nth-child(2) { transition-delay: 0.10s; 
  padding:clamp(22px, 4vw, 40px) clamp(14px, 3vw, 32px) clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px);
}
.principle:nth-child(3) { transition-delay: 0.20s; 
  padding:clamp(22px, 4vw, 40px) clamp(14px, 3vw, 32px) clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px);}
.principle:nth-child(4) { transition-delay: 0.30s; 
  padding:clamp(22px, 4vw, 40px) clamp(14px, 3vw, 32px) clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px);}
.principle-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--sage-dark);
  margin-bottom: 14px;
}
.principle-name {
  font-size: clamp(16px, 2.5vw, 21px);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 10px;
}
.principle-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.85;
  color: var(--accent);
  opacity: 0.65;
}

/* ═══════════════════════════════════════
   MANIFESTO
═══════════════════════════════════════ */
.manifesto-band {
  background: var(--dark);
  padding: clamp(48px,7vw,80px) var(--pad-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto-band::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px
  );
}
.manifesto-text {
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--off-white);
  max-width: 740px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.manifesto-text strong { font-style: normal; font-weight: 600; }

/* ═══════════════════════════════════════
   CTA
═══════════════════════════════════════ */
.cta-section { padding: var(--pad-lg) var(--pad-md); text-align: center; }
.cta-section h2 {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--accent);
  line-height: 1.4;
  margin-bottom: clamp(28px,5vw,52px);
      text-transform: none;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-dark);
  padding-bottom: 4px;
  transition: gap 0.3s ease, color 0.2s;
}
.cta-btn:hover { gap: 18px; color: var(--sage-dark); }
.cta-btn span { font-size: 16px; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--dark);
  color: rgba(244,241,235,0.55);
  padding: clamp(40px,6vw,60px) var(--pad-md) clamp(24px,4vw,40px);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(140px,120px) 1fr auto;
  gap: clamp(20px,5vw,48px);
  align-items: start;
  padding-bottom: clamp(28px,5vw,48px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
      justify-items: center;
}
.footer-logo-text {
  font-size: clamp(17px,3vw,22px);
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.2;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px,2vw,28px);
  align-items: flex-start;
  padding-top: 4px;
}
.footer-nav a {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.5);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--off-white); }
.footer-social { display: flex; gap: clamp(8px,1.5vw,14px); align-items: center; flex-shrink: 0; }
.social-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: rgba(244,241,235,0.5);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.social-dot:hover { border-color: var(--sage); color: var(--sage); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: clamp(20px,3.5vw,28px);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════ */
/*@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes expandLine {
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}*/

/* Generic scroll reveal */
/*.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }*/

/* ═══════════════════════════════════════
   TABLET  ≤ 900px
═══════════════════════════════════════ */
@media (max-width: 900px) {

  /* Hero: single column, image first */
 /* .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(64px + clamp(24px,4vw,40px));
  }
  .hero-content   { order: 2; }
  .hero-image-wrap { order: 1; }
  .hero-divider   { margin-left: auto; margin-right: auto; }
  .hero-sub       { margin: 0 auto; text-align: left; max-width: 100%; }*/

  /* Timeline: single left-rail column */
  .timeline-spine {
    left: clamp(12px, 4vw, 22px);
    transform: translateX(0) scaleY(0);
  }
  .timeline-spine.revealed { transform: translateX(0) scaleY(1); }

  .tl-item {
    grid-template-columns: clamp(26px, 5vw, 42px) 1fr;
  }
  /* Force all content into column 2 */
  .tl-item .tl-mid {
    grid-column: 1; grid-row: 1;
    justify-content: flex-start;
    padding-left: clamp(6px,2vw,16px);
  }
  .tl-item .tl-side.left,
  .tl-item .tl-side.right {
    grid-column: 2; grid-row: 1;
    text-align: left;
    padding-left: clamp(12px,3vw,22px);
    padding-right: 0;
    visibility: visible !important;
  }
  .tl-item .tl-side.empty { display: none; }

  /* Reset side-slide → fade-up on tablet/mobile */
  .tl-item.from-left,
  .tl-item.from-right { transform: translateY(20px); }
  .tl-item.revealed   { transform: translateY(0); }

  /* Principles: 2×2 grid */
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principle {
    border-right: none !important;
    border-bottom: 1px solid rgba(110,128,104,0.3);
    padding-right: 0;
  }
  .principle:nth-child(odd)  { border-right: 1px solid rgba(110,128,104,0.3) !important; }
  .principle:nth-child(3),
  .principle:nth-child(4)    { border-bottom: none; }

  /* Footer: 2-column */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer-brand { grid-column: 1 / -1; }
}




/* ── FOUNDER PAGE DARK OVERRIDE ── */

.founder-page .scroll-progress { background: rgba(255,255,255,0.15); }
/*.founder-nav { border-bottom: 1px solid rgba(255,255,255,0.08); }*/
.founder-nav-links a { color: #f4f1eb !important; }
.founder-nav-links a:hover { opacity: 0.5; }

/* ── HERO ── */
.founder-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(80px,12vw,140px) clamp(24px,5vw,80px) clamp(40px,6vw,80px);
  /*background: #010101;*/
  position: relative;
  overflow: hidden;
}
.founder-hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  gap: 2rem 3rem;
  align-items: end;
  position: relative;
}
.founder-tagline-left {
  grid-column: 1;
  grid-row: 2;
  padding-bottom: 2rem;
}
.founder-tagline-left p {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 300;
  line-height: 1.55;
}
.founder-portrait {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.founder-portrait img {
  width: clamp(320px, 50vw, 1200px);
  object-fit: contain;
  display: block;
  filter: none;
}
.founder-name-block {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding-bottom: 8rem;
}
.founder-name-block h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 0.75rem;
}
.founder-title-line {
  width: 40px;
  height: 1px;
  background: var(--sage-dark);
  margin-bottom: 0.6rem;
}
.founder-role {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  /*color: rgba(244,241,235,0.45);*/
  font-weight: 400;
}

/* ── BRAND STATEMENT ── */
.founder-statement {
  /*background: #010101;*/
  padding: clamp(60px,8vw,120px) clamp(24px,5vw,80px);
}
.founder-statement-inner {
  max-width: 700px;
}
.founder-sh {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /*color: #f4f1eb;*/
  line-height: 1.2;
}
.founder-sh-accent {
  /*color: #DEF0FF;*/
  margin-bottom: 1.5rem;
}
.founder-divider {
  width: 40px;
  height: 1px;
  /*background: rgba(244,241,235,0.2);*/
  margin: 1.5rem 0 1.5rem;
}
.founder-statement-text p {
  font-size: 0.72rem;
  line-height: 2;
  color: rgba(244,241,235,0.55);
  max-width: 480px;
}

/* ── PHILOSOPHY ── */
.founder-philosophy {
  background: url('../images/white-chess.jpg');
  background-size: cover;
  padding: clamp(40px,6vw,80px) 0;
  overflow: hidden;
}
.founder-philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.founder-philosophy-text {
  padding: clamp(40px,6vw,80px) clamp(24px,5vw,80px);
}
.founder-philosophy-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /*color: rgba(244,241,235,0.7);*/
  margin-bottom: 1.5rem;
}
.philosophy-italic {
  font-size: clamp(0.8rem, 1.4vw, 0.95rem) !important;
  color: rgba(244,241,235,0.8) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.25rem !important;
}
.founder-philosophy-text p {
  /*font-size: 0.7rem;*/
  line-height: 2;
  /*color: rgba(244,241,235,0.5);*/
  max-width: 440px;
}
.founder-chess-img {
  position: relative;
  height: 560px;
  overflow: hidden;
}
.founder-chess-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) contrast(1.1) grayscale(0.3);
}

/* ── MANIFESTO QUOTE ── */
.founder-manifesto {
  /*background: #010101;*/
  padding: clamp(60px,8vw,120px) clamp(24px,5vw,80px);
  text-align: center;
  /*border-top: 1px solid rgba(255,255,255,0.06);*/
}
.founder-quote {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.7;
  /*color: rgba(244,241,235,0.8);*/
  max-width: 680px;
  margin: 0 auto;
  border: none;
  padding: 0;
}

/* ── FOOTER DARK ── */
.founder-footer {
  background: #010101;
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .founder-hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .founder-portrait {
    grid-column: 1; grid-row: 1;
    justify-content: flex-start;
  }
  .founder-tagline-left { grid-column: 1; grid-row: 2; }
  .founder-name-block { grid-column: 1; grid-row: 3; }
  .founder-philosophy-inner { grid-template-columns: 1fr; }
  .founder-chess-img { height: 300px; }
}
@media (max-width: 580px) {
  .founder-portrait img { width: 80vw; }
}


/* ── =============================================================
                        WORK HERO (Page) 
===============================================================── */
.work-hero {
  padding: clamp(100px, 14vw, 160px) clamp(24px, 5vw, 80px) clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.work-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 2rem 4rem;
  align-items: start;
  position: relative;
}
.work-category-pill {
  grid-column: 1;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
}
.work-hero-text {
  grid-column: 1;
}
.work-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.work-hero-body {
  color: var(--muted);
  max-width: 430px;
}
.work-hero-img {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.work-hero-img img {
  width: clamp(200px, 35vw, 420px);
  object-fit: contain;
  animation: stoneFloat 6s ease-in-out infinite;
}

/* ── EXPERTISE ── */
.expertise-section {
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  background: var(--bg);
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(16,18,15,0.15);
}
.expertise-card {
  padding: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 28px);
  border-right: 1px solid rgba(16,18,15,0.15);
}
.expertise-card:last-child { border-right: none; }
.expertise-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.expertise-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── PROJECTS ── */
.projects-section {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  background: var(--bg);
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 9vw, 200px);
}
.project-card {
  display: block;
  text-decoration: none;
  color: var(--fg);
  cursor: none;
}
.project-card-img {
  position: relative;
  overflow: hidden;
  background: #b5b8ae;
  width: 100%;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-card-img img {
  transform: scale(1.04);
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,18,15,0.35), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .project-card-overlay { opacity: 1; }

.project-card.large .project-card-img {
/*  aspect-ratio: 4/3;*/
  aspect-ratio: auto;

}
.projects-right-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 32px);
}
.projects-right-col .project-card .project-card-img {
  aspect-ratio: 4/2.5;
}
.project-card-label {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.project-name {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.project-city {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.project-city::before { content: '| '; }

/* Bottom row — second large card spans full left col */
.projects-grid > .project-card.large:nth-child(3) {
  grid-column: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .work-hero-inner {
    grid-template-columns: 1fr;
  }
  .work-hero-img {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
  .work-hero-img img { width: 55vw; }
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
  .expertise-card:nth-child(2) { border-right: none; }
  .expertise-card:nth-child(3) { border-right: 1px solid rgba(16,18,15,0.15); }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { border-right: none; border-bottom: 1px solid rgba(16,18,15,0.15); }
}


/* ── PROJECT DETAIL HERO ── */
.pd-hero {
  background: var(--bg);
  padding: clamp(100px,14vw,160px) clamp(24px,5vw,80px) clamp(40px,6vw,80px);
}
.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
  align-items: start;
}
.pd-back a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 2rem;
}
.pd-back a:hover { color: var(--fg); }
.pd-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.pd-title span{
  font-size: clamp(0.5rem, 2vw, 1.2rem);
  color: var(--sage-dark);
}
.pd-divider {
  border: none;
  border-top: 1px solid rgba(16,18,15,0.2);
  margin: 1.5rem 0;
}
.pd-hero-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.pd-overview {
/*  font-size: 0.72rem;*/
  color: var(--muted);
  max-width: 380px;
}
/* Image stack */
.pd-img-stack {
  position: relative;
}
.pd-img-main {
  position: relative;
  z-index: 2;
}
.pd-img-main img {
  width: 86%;
/*  aspect-ratio: 4/3;*/
  object-fit: cover;
  display: block;
}
.pd-img-accent {
  position: absolute;
  top: -70px;
  right: -20px;
  width: 65%;
  height: 65%;
  background: var(--fg);
  z-index: 1;
}
.pd-img-dots {
  position: absolute;
  top: -36px;
  right: 23px;;
  z-index: 3;
  color: var(--sage-dark);
}

/* ── TABS ── */
.pd-tabs-wrap {
  background: var(--bg);
  padding: 0 clamp(24px,5vw,80px);
  border-bottom: 1px solid rgba(16,18,15,0.12);
}
.pd-tabs {
  display: flex;
  gap: 0;
}
.pd-tab {
  background: none;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 1.4rem;
  cursor: none;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  margin-bottom: -1px;
}
.pd-tab:hover { color: var(--fg); }
.pd-tab.active {
  color: var(--fg);
  border-bottom-color: var(--fg);
  background: rgba(16,18,15,0.06);
  border-radius: 4px 4px 0 0;
}

/* ── SHARED SECTION STYLES ── */
.pd-section {
  padding: clamp(60px,7vw,40px) clamp(24px,5vw,80px);
  background: var(--bg);
}
.pd-section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem,2.5vw,2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: clamp(32px,4vw,52px);
}

/* ── AMENITIES ── */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
/*  gap: clamp(24px,3vw,40px) clamp(16px,2.5vw,32px);*/
  margin-bottom: 2.5rem;
      gap: 0;
    margin-bottom: 2.5rem;
    border: 1px solid #ddd;
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 32px 28px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: var(--bg);
    transition: background .2s;

}
.amenity-icon {
  width: 44px;
  height: 44px;
  color: var(--fg);
  opacity: 0.7;
}
.amenity-icon svg { 
  width: 100%; height: 100%; 
    stroke: #222;
    fill: none;
    stroke-width: 1.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.amenity-item span {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.4;
}
.pd-visit-cta { margin-top: 1rem; }

/* ── GALLERY MOSAIC ── */
/* ── Gallery Swiper ─────────────────────────── */
.gallery-swiper {
  position: relative;
  width: 90vw;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-swiper .swiper-slide {
  position: relative;
 /* padding-bottom: 62%;
  transform: scale(0.85);*/
  transition: transform 200ms ease;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-swiper .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
/*  height: 100%;*/
  object-fit: cover;
  display: block;
}

.gallery-swiper .swiper-slide.swiper-slide-active {
  transform: scale(1);
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  filter: grayscale(1);
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: #333;
}

/* Mobile */
@media (max-width: 479px) {
  .gallery-swiper .swiper-slide { padding-bottom: 70%; }
  .gallery-swiper .swiper-button-prev,
  .gallery-swiper .swiper-button-next { display: none; }
}

/* Tablet + Desktop: hide dots */
@media (min-width: 480px) {
  .gallery-swiper .swiper-pagination { display: none; }
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next,
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
  filter: grayscale(1);
}
.swiper-container {
  position: relative;
  width: 90vw;
  height: 300px;
}
.swiper-container > .swiper-slide__content {
  position: absolute;
  top: 0;
}
.swiper-slide {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms linear;
  transform: scale(0.8);
}
.swiper-slide img,
.swiper-slide.swiper-slide-active img {
  width: 100%;
}
.swiper-slide.swiper-slide-active {
  transform: scale(1);
}
.swiper-slide__content {
  height: 300px;
}

/* ── Responsive additions only ── */
@media (max-width: 479px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}
@media (max-width: 767px) {
  .swiper-container,
  .swiper-slide {
    height: 220px;
  }
  .gallery-swiper .swiper-slide img{
    height: 100%;
  }
}

.swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -32px;
    z-index: 10;
    cursor: pointer;
    background-size: 10px 65px;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #e0e0e0;
    border-radius: 100%;
}



/* ── LOCATION ── */
.location-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(24px,3vw,40px);
  border: 1px solid rgba(16,18,15,0.12);
  max-width: 400px;
}
.location-icon { color: var(--fg); flex-shrink: 0; }
.location-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.location-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
}

/* ── ENQUIRY ── */
.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.enq-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.enq-field label {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.enq-field input,
.enq-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(16,18,15,0.25);
  padding: 0.6rem 0;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.25s;
  cursor: none;
}
.enq-field input:focus,
.enq-field select:focus { border-bottom-color: var(--fg); }
.enq-submit {
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 0.75rem 2.5rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: none;
  transition: opacity 0.25s;
  margin-top: 0.5rem;
}
.enq-submit:hover { opacity: 0.75; }
.enquiry-map-side {
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted);
}
.map-placeholder p {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── ANIMATIONS ── */
/*@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(.22,1,.36,1), transform 0.75s cubic-bezier(.22,1,.36,1);
}*/
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pd-hero-inner { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .enquiry-layout { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
  .gal-tall { grid-row: auto; aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-tabs { overflow-x: auto; }
  .gallery-mosaic { grid-template-columns: 1fr; }
}

.btn-view-more {
  width: 105px;
  border-radius: 30px !important;
  font-size: 14px !important;
}

.w-100 {
  width: 100%;
}



.view-more-btn {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 8;
  padding: 4px 0;
}

/* Text fades in from left */
.view-more-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.32s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

/* Arrow container */
.view-more-arrow {
  position: relative;
  display: flex;
  align-items: center;
  height: 14px;
  margin-left: 11px;
}

/* Line draws from left */
.arrow-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--dark);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Circle pops at the tip */
.arrow-circle {
  display: block;
  position: absolute;
  /* sits at the right end of the line */
  left: 100%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--dark);
  transition:
    transform 0.26s ease 0.38s,
    left      0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Board hover: everything animates */
.board:hover .view-more-text {
  opacity: 1;
  transform: translateX(0);
}
.board:hover .arrow-line { width: 40px; }
.board:hover .arrow-circle { transform: translate(-50%, -50%) scale(1); }


.home-d-flex {
  display: flex !important;
  width: auto;
}

.home-arrow-line {
  margin-top: 12.5px;
  margin-left: 8px;
  width: 25px;
}
.yt-video {
  text-align: center;
}


/* ═══════════════════════════════════════
  Testimonial
═══════════════════════════════════════ */
.ts-wrap{
      width:100%;padding:3rem 0;box-sizing:border-box;
      text-align:center;position:relative;overflow:hidden
    }

.ts-label{
      font-size:10px;letter-spacing:4px;
      color:var(--color-text-tertiary);text-transform:uppercase;margin-bottom:2.5rem
    }

.ts-slider{
      position:relative;min-height:220px;display:flex;
      align-items:center;justify-content:center}

.ts-slide{
      position:absolute;top:0;left:0;width:100%;display:flex;
      flex-direction:column;align-items:center;justify-content:center;
      min-height:220px;opacity:0;transform:translateX(60px);
      transition:opacity 0.55s ease,transform 0.55s ease;pointer-events:none;}

.ts-slide.active{
      opacity:1;transform:translateX(0);pointer-events:auto}

.ts-slide.exit-left{
      opacity:0;transform:translateX(-60px)}

.ts-quote{
      font-family:'syne',serif;font-size:clamp(1.1rem,2.5vw,1.4rem);
      font-weight:300;line-height:1.75;color:var(--color-text-primary);
      max-width:660px;margin:0 auto 2rem;letter-spacing:0.02em}

.ts-author{
      font-family:'syne',sans-serif;font-size:11px;letter-spacing:5px;
      color:var(--color-text-secondary);text-transform:uppercase}

.ts-controls{
      display:flex;align-items:center;justify-content:center;gap:2.5rem;margin-top:2.5rem}

.ts-arrow{
      background:none;border:none;cursor:pointer;padding:0;
      display:flex;align-items:center;justify-content:center;
      color:var(--color-text-primary);opacity:0.4;transition:opacity 0.2s;line-height:1}

.ts-arrow:hover{
      opacity:1}

.ts-arrow svg{
      width:38px;height:14px;display:block}

.ts-dots{
      display:flex;gap:8px;align-items:center}

.ts-dot{
      width:5px;height:5px;border-radius:50%;background:var(--color-text-secondary);
      opacity:0.25;transition:opacity 0.3s,transform 0.3s;cursor:pointer;border:none;padding:0}

.ts-dot.active{
      opacity:0.85;transform:scale(1.3)}

.ts-divider{
      width:32px;height:1px;background:var(--color-text-secondary);
      opacity:0.2;margin:0 auto 2.8rem}



/* ═══════════════════════════════════════
   MOBILE  ≤ 580px
═══════════════════════════════════════ */
@media (max-width: 580px) {

  .hero-bg-text { display: none; }

  /* Principles: single column */
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: none !important; padding-right: 0; }
  .principle:nth-child(odd)  { border-right: none !important; }
  .principle:not(:last-child){ border-bottom: 1px solid rgba(110,128,104,0.3) !important; }

  /* Footer: full stack */
  .footer-top {
   grid-auto-columns: auto;
    grid-template-rows: unset;
  }
  .footer-brand { grid-column: 1; }
  .footer-social { flex-wrap: wrap; }
  .footer-bottom { flex-direction: row; align-items: flex-start; gap: 8px; }
}

/* ═══════════════════════════════════════
   SMALL MOBILE  ≤ 360px
═══════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-pyramid { width: 130px; height: 130px; }
  .cta-section h2 br { display: none; }
}

/* ═══════════════════════════════════════
   SMALL MOBILE  ≤ 768px
═══════════════════════════════════════ */

@media (max-width: 768px) {

  .width60{width:100%;}

  /* Home page ============*/

.hero-title {
    width: 100%;
}

.main-hero{
      display: grid;
}

.main-img img {
    width: 100%;
    height: 100%;
}

.ceo-section{
      grid-template-columns: auto;
}

.ceo-img-col img{
    
    height: 25%;
    left: 2rem;
    top: 19rem;

 }
 .ceo-title{
      font-size: clamp(1.4rem, 3vw, 0.5rem);
 }

 .ceo-text-col{
  padding: 2rem 3rem;
 }

 .ceo-desc{
      margin-left: 3rem;
      margin-top: 5rem;
 }
 .ceo-name-block{
    margin-top: 0;
    margin-bottom: 6rem;
 }

 .legacy-track{
  display: grid;
  padding: 0px !important;
 }

.legacy-card{
  border-right: none;
  border-bottom: 1px solid var(--dim);
}

.map-placeholder iframe{
  width: 100%;
}

.pd-img-dots {
    top: -36px;
    right: -32px;
}




}


/*================= Reponsive end  here ==============*/

.gal-fix-height {
    height: 450px;
}



.swiper-button-prev, .swiper-button-next {
    width: 35px!important;
    height: 35px!important;  
    background-size: 10px!important;
}