/* ============================================================
   GANO EXCEL - Main Stylesheet
   Editorial wellness aesthetic: forest green, cream, terracotta
   ============================================================ */

:root{
  --forest:#1f3d2b;
  --forest-deep:#15291d;
  --moss:#3f5d45;
  --cream:#f5efe3;
  --cream-warm:#ebe0cc;
  --paper:#faf6ec;
  --terracotta:#c2562a;
  --clay:#a8431f;
  --ink:#1a1a17;
  --ash:#6b6b63;
  --line:rgba(26,26,23,0.14);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}

/* ===================== NAV ===================== */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:18px 40px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  background:rgba(250,246,236,0.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-logo{
  font-family:'Fraunces',serif;
  font-size:22px;font-weight:500;
  letter-spacing:-0.01em;
  color:var(--ink);
}
.nav-logo span{color:var(--terracotta);font-style:italic}
.nav-links{display:flex;gap:32px;list-style:none}
.nav-links a{
  font-size:13px;font-weight:500;
  position:relative;padding:4px 0;
  transition:color .3s;color:var(--ink);
}
.nav-links a::after{
  content:'';position:absolute;bottom:0;left:0;width:0;height:1px;
  background:var(--terracotta);transition:width .3s;
}
.nav-links a:hover{color:var(--terracotta)}
.nav-links a:hover::after{width:100%}
.nav-right{display:flex;align-items:center;gap:16px}
.nav-cta{
  padding:10px 20px;
  border:1px solid var(--ink);
  border-radius:999px;
  font-size:12px;font-weight:500;
  transition:all .3s;
  color:var(--ink);
  display:inline-flex;align-items:center;gap:6px;
}
.nav-cta:hover{background:var(--ink);color:var(--paper)}

/* Language picker */
.lang-picker{position:relative}
.lang-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:999px;
  font-size:12px;font-weight:500;
  color:var(--ink);
  background:transparent;border:1px solid var(--line);
  transition:all .25s;
}
.lang-btn:hover{border-color:var(--ink)}
.lang-btn .chev{font-size:9px;opacity:0.6}
.lang-menu{
  position:absolute;top:calc(100% + 8px);right:0;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:14px;
  padding:8px;
  min-width:180px;
  max-height:380px;
  overflow-y:auto;
  box-shadow:0 20px 50px rgba(0,0,0,0.12);
  opacity:0;visibility:hidden;
  transform:translateY(-6px);
  transition:all .25s;
  z-index:200;
}
.lang-menu.open{opacity:1;visibility:visible;transform:translateY(0)}
.lang-menu a{
  display:block;
  padding:9px 14px;
  font-size:13px;
  border-radius:8px;
  color:var(--ink);
  transition:all .2s;
}
.lang-menu a:hover{background:var(--cream);color:var(--terracotta)}
.lang-menu a.active{background:var(--forest);color:var(--cream)}

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    padding: 140px 40px 60px;
    background: radial-gradient(circle at top right,#f7efe5 0,#faf7f3 45%,#ffffff 100%);
    position: relative;
    overflow: hidden;
}
.hero-grid{
  display:grid;grid-template-columns:1.1fr 0.9fr;gap:60px;
  max-width:1400px;margin:0 auto;
  align-items:end;min-height:calc(100vh - 200px);
}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 14px;background:var(--cream);
  border-radius:999px;margin-bottom:32px;
}
.hero-eyebrow .dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--terracotta);animation:pulse 2s infinite;
}
.hero-visual {
    display: flex;
    height:600px;
    justify-content: center;
    align-items: center;
    padding: 60px;
    border-radius: 36px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(255,245,235,1) 0%, rgba(245,212,187,0.95) 30%, rgba(203,120,63,0.75) 65%, rgba(95,42,25,1) 100%);
}

.hero-mushroom {
    max-width: 620px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.25));
}

    .hero-mushroom:hover {
        transform: scale(1.04) rotate(-1deg);
    }
.mono{
  font-family:'DM Mono',monospace;
  letter-spacing:0.02em;text-transform:uppercase;font-size:11px;
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
.hero-title{
  font-family:'Fraunces',serif;
  font-size:clamp(52px,8vw,128px);
  line-height:0.95;letter-spacing:-0.04em;
  font-weight:400;color:var(--forest);
}
.hero-title em{font-style:italic;color:var(--terracotta);font-weight:300}
.hero-title .sm{
  display:block;font-size:0.55em;
  font-weight:300;margin-top:8px;color:var(--ink);
}
.hero-desc{
  max-width:420px;font-size:16px;
  color:var(--ash);margin:32px 0;line-height:1.7;
}
.hero-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:16px 28px;border-radius:999px;
  font-size:14px;font-weight:500;
  transition:all .3s;cursor:pointer;
  border:none;text-align:center;
}
.btn-primary{background:var(--forest);color:var(--paper)}
.btn-primary:hover{background:var(--forest-deep);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--paper)}
.btn-cream{background:var(--cream);color:var(--forest)}
.btn-cream:hover{background:var(--paper);transform:translateY(-2px)}
.btn-outline-cream{background:transparent;color:var(--cream);border:1px solid var(--cream)}
.btn-outline-cream:hover{background:var(--cream);color:var(--forest)}
.btn svg{width:16px;height:16px}

/* Outer wrapper — this is the positioning context for badges */
.hero-visual-wrap {
    position: relative;
    /* Match whatever size .hero-visual had before */
    width: 100%;
    max-width: 560px; /* adjust to your layout */
    margin: 0 auto;
}

/* The actual visual box — can keep overflow:hidden freely */
.hero-visual {
    position: relative;
    width: 100%;
    border-radius: 40% 40% 20px 20px / 50% 50% 20px 20px;
    overflow: hidden;  safe — badges are outside this now 
    background: var(--forest);  or whatever your bg is 
}

.mushroom-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Badges — positioned relative to .hero-visual-wrap, NOT .hero-visual */
.hero-badge {
    position: absolute;
    background: var(--paper);
    border-radius: 50px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
    z-index: 10;
    white-space: nowrap;
}

    .hero-badge .num {
        font-family: 'Fraunces', serif;
        font-size: 22px;
        color: var(--terracotta);
        font-weight: 500;
        line-height: 1;
    }

    .hero-badge .lbl {
        font-size: 12px;
        color: var(--ash);
        letter-spacing: 0.05em;
    }

/* Badge positions relative to the wrap — fully visible */
.hero-badge-1 {
    top: 10%;
    left: 0%; /* starts at wrap edge, no clipping */
    animation: float 5s ease-in-out infinite;
}

.hero-badge-2 {
    bottom: 15%;
    right: 0%; /* starts at wrap edge, no clipping */
    animation: float 6s ease-in-out infinite 1.5s;
}

.hero-scroll{
  position:absolute;bottom:30px;left:50%;transform:translateX(-50%);
  font-size:11px;letter-spacing:0.2em;text-transform:uppercase;
  color:var(--ash);display:flex;flex-direction:column;align-items:center;gap:8px;
}
.hero-scroll .line{width:1px;height:30px;background:var(--ash);animation:scroll-line 2s infinite}
@keyframes scroll-line{
  0%{transform:scaleY(0);transform-origin:top}
  50%{transform:scaleY(1);transform-origin:top}
  51%{transform-origin:bottom}
  100%{transform:scaleY(0);transform-origin:bottom}
}

/* ===================== MARQUEE ===================== */
.marquee{
  background:var(--forest);color:var(--cream);
  padding:22px 0;overflow:hidden;
  border-top:1px solid var(--forest-deep);
  border-bottom:1px solid var(--forest-deep);
}
.marquee-track{
  display:flex;gap:60px;white-space:nowrap;
  animation:marquee 40s linear infinite;
}
.marquee-track span{
  font-family:'Fraunces',serif;font-size:28px;
  font-style:italic;font-weight:300;
  display:inline-flex;align-items:center;gap:60px;
}
.marquee-track span::after{content:'✦';color:var(--terracotta);font-style:normal}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ===================== LEGACY ===================== */
.legacy{padding:120px 40px;background:var(--paper)}
.legacy-inner{max-width:1400px;margin:0 auto}
.legacy-header{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-bottom:80px}

.section-tag{
  font-family:'DM Mono',monospace;
  font-size:11px;text-transform:uppercase;
  letter-spacing:0.2em;color:var(--terracotta);
  margin-bottom:20px;
  display:flex;align-items:center;gap:10px;
}
.section-tag::before{content:'';width:30px;height:1px;background:currentColor}

.legacy-title{
  font-family:'Fraunces',serif;
  font-size:clamp(36px,4.5vw,64px);
  line-height:1.05;letter-spacing:-0.03em;
  font-weight:400;color:var(--forest);
}
.legacy-title em{font-style:italic;color:var(--terracotta)}
.legacy-desc{font-size:16px;color:var(--ash);line-height:1.8;align-self:center}
.legacy-desc p+p{margin-top:16px}

.stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:40px;
  padding:60px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.stat-item{display:flex;flex-direction:column;gap:8px}
.stat-num{
  font-family:'Fraunces',serif;
  font-size:clamp(48px,5vw,80px);font-weight:400;
  letter-spacing:-0.04em;color:var(--forest);line-height:1;
}
.stat-num sup{font-size:0.5em;color:var(--terracotta);font-weight:300;vertical-align:top}
.stat-label{font-size:13px;color:var(--ash);max-width:180px;line-height:1.4}

/* ===================== STORY ===================== */
.story{
  background:var(--forest);color:var(--cream);
  padding:140px 40px;position:relative;overflow:hidden;
}
.story::before{
  content:'';position:absolute;top:-200px;right:-200px;
  width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle,rgba(194,86,42,0.15) 0%,transparent 70%);
}
.story-inner{max-width:1400px;margin:0 auto;position:relative}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.story-visual{aspect-ratio:1;position:relative;display:flex;align-items:center;justify-content:center}
.story-circle{
  width:100%;height:100%;border-radius:50%;
  background:linear-gradient(135deg,var(--terracotta) 0%,var(--clay) 100%);
  position:relative;overflow:hidden;
}
.story-circle::after{
  content:'';position:absolute;inset:40px;border-radius:50%;
  border:1px dashed rgba(245,239,227,0.4);
}
.story-year{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  font-family:'Fraunces',serif;
  font-size:clamp(80px,12vw,180px);font-weight:300;
  color:var(--cream);letter-spacing:-0.05em;line-height:1;text-align:center;
}
.story-year em{
  font-style:italic;font-size:0.3em;display:block;
  letter-spacing:0.3em;text-transform:uppercase;font-weight:400;margin-top:10px;
}
.story .section-tag{color:var(--terracotta)}
.story-title{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,4.5vw,68px);line-height:1.05;
  letter-spacing:-0.03em;font-weight:400;margin-bottom:32px;
}
.story-title em{font-style:italic;color:var(--terracotta)}
.story-text{font-size:15px;line-height:1.8;color:rgba(245,239,227,0.75);margin-bottom:20px}
.story-signature{margin-top:40px;padding-top:30px;border-top:1px solid rgba(245,239,227,0.15)}
.story-signature-name{font-family:'Fraunces',serif;font-style:italic;font-size:22px;color:var(--cream)}
.story-signature-title{font-size:12px;letter-spacing:0.15em;text-transform:uppercase;color:rgba(245,239,227,0.5);margin-top:4px}

/* ===================== PRODUCTS (home) ===================== */
.products{padding:140px 40px;background:var(--paper)}
.products-inner{max-width:1400px;margin:0 auto}
.products-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:60px;gap:40px;flex-wrap:wrap}
.products-title{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,5vw,72px);line-height:1;
  letter-spacing:-0.03em;color:var(--forest);
  font-weight:400;max-width:600px;
}
.products-title em{font-style:italic;color:var(--terracotta)}

.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cat-card{
  aspect-ratio:2/3;border-radius:24px;overflow:hidden;
  position:relative;cursor:pointer;
  transition:transform .4s;display:block;
}
.cat-card:hover{transform:translateY(-6px)}
.cat-card:nth-child(1){background:linear-gradient(160deg,#6b4226 0%,#8a5432 100%)}
.cat-card:nth-child(2){background:linear-gradient(160deg,#2a4a34 0%,#3f5d45 100%)}
.cat-card:nth-child(3){background:linear-gradient(160deg,#a8431f 0%,#c2562a 100%)}
.cat-card:nth-child(4){background:linear-gradient(160deg,#d4af7a 0%,#e8c891 100%)}
.cat-card-inner{
  position:absolute;inset:0;padding:28px;
  display:flex;flex-direction:column;justify-content:space-between;
  color:var(--cream);
}
.cat-card:nth-child(4) .cat-card-inner{color:var(--forest-deep)}
.cat-num{font-family:'DM Mono',monospace;font-size:11px;letter-spacing:0.15em;opacity:0.75}
.cat-name{
  font-family:'Fraunces',serif;
  font-size:30px;line-height:1.05;font-weight:400;letter-spacing:-0.02em;
}
.cat-name em{font-style:italic;display:block}
.cat-desc{font-size:12px;line-height:1.5;opacity:0.8;margin-top:8px}
.cat-arrow{
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,0.15);
  display:flex;align-items:center;justify-content:center;
  backdrop-filter:blur(8px);
  margin-top:16px;transition:all .3s;
}
.cat-card:nth-child(4) .cat-arrow{background:rgba(31,61,43,0.15)}
.cat-card:hover .cat-arrow{background:var(--cream);color:var(--forest);transform:rotate(-45deg)}

.cat-card-inner {
    position: relative;
    overflow: hidden;
    height: 500px; /* fix the box size — adjust to taste */
}

.cat-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the box, crops instead of stretching */
    object-position: center; /* crops from the center */
    z-index: 0;
}


/* Dark overlay on top of image */
.cat-card-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 100% );
    z-index: 1;
}

/* Text sits above the overlay */
.cat-card-inner > div {
    position: relative;
    z-index: 2;
}

/* Make all text white for readability */
.cat-num,
.cat-name,
.cat-desc,
.cat-arrow {
    color: #ffffff;
}

.cat-name {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cat-desc {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===================== GANODERMA ===================== */
.ganoderma{padding:140px 40px;background:var(--cream);position:relative;overflow:hidden}
.gano-inner{max-width:1400px;margin:0 auto}
.gano-top{text-align:center;margin-bottom:80px}
.gano-top .section-tag{justify-content:center}
.gano-title{
  font-family:'Fraunces',serif;
  font-size:clamp(48px,7vw,112px);line-height:0.95;
  letter-spacing:-0.04em;color:var(--forest);
  font-weight:400;max-width:900px;margin:0 auto;
}
.gano-title em{font-style:italic;color:var(--terracotta);font-weight:300}
.gano-sub{max-width:600px;margin:32px auto 0;font-size:16px;color:var(--ash);line-height:1.7}

.benefits-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:2px;
  background:var(--line);border:1px solid var(--line);
  border-radius:20px;overflow:hidden;
}
.benefit{background:var(--cream);padding:40px;transition:background .3s}
.benefit:hover{background:var(--paper)}
.benefit-num{
  font-family:'Fraunces',serif;font-size:48px;
  color:var(--terracotta);font-weight:300;
  letter-spacing:-0.03em;margin-bottom:20px;font-style:italic;
}
.benefit-title{
  font-family:'Fraunces',serif;font-size:22px;
  color:var(--forest);margin-bottom:10px;letter-spacing:-0.01em;
}
.benefit-text{font-size:13px;color:var(--ash);line-height:1.7}

/* ===================== OPPORTUNITY ===================== */
.opportunity{padding:140px 40px;background:var(--paper)}
.opp-inner{max-width:1400px;margin:0 auto}
.opp-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.opp-visual {
    position: relative;
    aspect-ratio: 1;
    background: var(--forest);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.opp-floating {
    position: absolute;
    background: var(--paper);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 2;
}

    .opp-floating.f1 {
        top: 12%;
        left: 5%;
        animation: float 5s ease-in-out infinite;
    }

    .opp-floating.f2 {
        bottom: 18%;
        right: 5%;
        animation: float 6s ease-in-out infinite 1s;
    }

    .opp-floating.f3 {
        top: 55%;
        left: 5%;
        animation: float 7s ease-in-out infinite 2s;
    }

    .opp-floating .val {
        font-family: 'Fraunces', serif;
        font-size: 22px;
        color: var(--forest);
        font-weight: 500;
        white-space: nowrap;
    }

    .opp-floating .lab {
        font-size: 9px;
        color: var(--ash);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-top: 3px;
        white-space: nowrap;
    }

.opp-title{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,5vw,72px);line-height:1;
  letter-spacing:-0.03em;color:var(--forest);
  font-weight:400;margin-bottom:32px;
}
.opp-title em{font-style:italic;color:var(--terracotta)}
.steps{display:flex;flex-direction:column;gap:4px;margin:40px 0}
.step{
  padding:24px 0;display:grid;grid-template-columns:60px 1fr auto;gap:24px;
  align-items:center;border-bottom:1px solid var(--line);
  cursor:pointer;transition:padding .3s;
}
.step:hover{padding-left:12px}
.step-num{font-family:'Fraunces',serif;font-style:italic;font-size:38px;color:var(--terracotta);font-weight:300}
.step-text{font-family:'Fraunces',serif;font-size:20px;color:var(--forest);letter-spacing:-0.01em}
.step-arrow{
  width:40px;height:40px;border-radius:50%;
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  transition:all .3s;
}
.step:hover .step-arrow{background:var(--forest);color:var(--cream);border-color:var(--forest)}

/* ===================== TESTIMONIAL ===================== */
.testimonial{padding:140px 40px;background:var(--forest-deep);color:var(--cream);text-align:center}
.test-inner{max-width:900px;margin:0 auto}
.test-quote{
  font-family:'Fraunces',serif;
  font-size:clamp(28px,3.5vw,48px);
  line-height:1.25;letter-spacing:-0.02em;font-weight:300;
}
.test-quote em{color:var(--terracotta);font-style:italic}
.test-author{margin-top:40px;font-family:'Fraunces',serif;font-style:italic;font-size:18px}
.test-role{font-size:11px;letter-spacing:0.2em;text-transform:uppercase;color:rgba(245,239,227,0.5);margin-top:6px}

/* ===================== CTA ===================== */
.cta{padding:140px 40px;background:var(--terracotta);color:var(--cream);text-align:center;position:relative;overflow:hidden}
.cta::before{
  content:'✦';position:absolute;font-size:400px;
  top:-80px;right:-60px;color:rgba(245,239,227,0.08);
  font-family:'Fraunces',serif;
}
.cta-inner{max-width:900px;margin:0 auto;position:relative}
.cta-title{
  font-family:'Fraunces',serif;
  font-size:clamp(48px,7vw,112px);line-height:0.95;
  letter-spacing:-0.04em;font-weight:400;
}
.cta-title em{font-style:italic;font-weight:300}
.cta-desc{max-width:520px;margin:32px auto;font-size:16px;opacity:0.85;line-height:1.7}
.cta-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* ===================== INNER PAGE HERO ===================== */
.page-hero{
  padding:160px 40px 80px;background:var(--paper);
  border-bottom:1px solid var(--line);
}
.page-hero-inner{max-width:1400px;margin:0 auto}
.crumbs{
  font-family:'DM Mono',monospace;font-size:11px;
  letter-spacing:0.15em;text-transform:uppercase;
  color:var(--ash);margin-bottom:24px;
  display:flex;gap:10px;align-items:center;
}
.crumbs a{color:var(--terracotta);transition:opacity .2s}
.crumbs a:hover{opacity:0.7}
.page-title{
  font-family:'Fraunces',serif;
  font-size:clamp(48px,6.5vw,104px);
  line-height:0.98;letter-spacing:-0.04em;
  font-weight:400;color:var(--forest);max-width:1100px;
}
.page-title em{font-style:italic;color:var(--terracotta);font-weight:300}
.page-sub{max-width:620px;margin-top:28px;font-size:17px;color:var(--ash);line-height:1.7}

/* ===================== PRODUCT LIST PAGE ===================== */
.products-filters{
  padding:20px 40px;
  border-bottom:1px solid var(--line);
  position:sticky;top:68px;z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(250,246,236,0.9);
}
.filters-inner{
  max-width:1400px;margin:0 auto;
  display:flex;gap:10px;flex-wrap:wrap;
}
.filter-tab{
  padding:10px 20px;border-radius:999px;
  background:transparent;border:1px solid var(--line);
  font-size:13px;color:var(--ink);
  transition:all .3s;display:inline-block;
}
.filter-tab:hover{border-color:var(--ink)}
.filter-tab.active{background:var(--forest);color:var(--cream);border-color:var(--forest)}

.products-list{padding:80px 40px;background:var(--paper)}
.products-list-inner{max-width:1400px;margin:0 auto}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.product-card{
  background:var(--cream);border-radius:24px;overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .4s,box-shadow .4s;
  cursor:pointer;
}
.product-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(0,0,0,0.08)}
.product-card-visual{
  aspect-ratio:4/3;position:relative;
  display:flex;align-items:center;justify-content:center;
  color:var(--cream);padding:24px;
}
.product-card-tag{
  position:absolute;top:20px;left:20px;
  font-family:'DM Mono',monospace;font-size:10px;
  letter-spacing:0.15em;text-transform:uppercase;
  background:rgba(245,239,227,0.2);
  padding:6px 12px;border-radius:999px;
  backdrop-filter:blur(8px);
}
.product-card-mark{width:80px;height:80px;opacity:0.9}
.product-card-mark svg{width:100%;height:100%}
.product-card-body{padding:26px;flex:1;display:flex;flex-direction:column}
.product-card-name{
  font-family:'Fraunces',serif;font-size:22px;
  color:var(--forest);letter-spacing:-0.01em;
  margin-bottom:10px;font-weight:500;
}
.product-card-desc{font-size:13px;color:var(--ash);line-height:1.7;flex:1}
.product-card-foot{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.product-card-more{
  font-size:13px;color:var(--terracotta);font-weight:500;
  display:inline-flex;align-items:center;gap:6px;
  transition:gap .3s;
}
.product-card:hover .product-card-more{gap:12px}

.products-note{
  margin-top:60px;padding:24px;
  background:var(--cream);border-radius:14px;
  font-size:12px;color:var(--ash);line-height:1.7;
}
.empty-state{
  padding:80px 40px;text-align:center;
  background:var(--cream);border-radius:20px;
  color:var(--ash);font-size:15px;
}

/* ===================== COMPANY STATEMENT ===================== */
.company-stmt{padding:120px 40px;background:var(--forest);color:var(--cream);text-align:center}
.company-stmt-inner{max-width:900px;margin:0 auto}
.company-stmt-inner .section-tag{justify-content:center;color:var(--terracotta)}
.company-stmt-title{
  font-family:'Fraunces',serif;
  font-size:clamp(36px,5vw,68px);line-height:1.05;
  letter-spacing:-0.03em;font-weight:400;
}
.company-stmt-title em{font-style:italic;color:var(--terracotta)}
.company-stmt-text{margin-top:28px;font-size:17px;line-height:1.75;color:rgba(245,239,227,0.8);max-width:680px;margin-left:auto;margin-right:auto}

/* ===================== ABOUT PAGE ===================== */
.pillars{padding:100px 40px;background:var(--paper)}
.pillars-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.pillar{padding:36px 28px;background:var(--cream);border-radius:20px;transition:transform .3s}
.pillar:hover{transform:translateY(-6px)}
.pillar-num{
  font-family:'Fraunces',serif;font-style:italic;
  font-size:44px;color:var(--terracotta);
  font-weight:300;letter-spacing:-0.03em;margin-bottom:20px;
}
.pillar h3{
  font-family:'Fraunces',serif;font-size:22px;
  color:var(--forest);letter-spacing:-0.01em;
  margin-bottom:12px;font-weight:500;
}
.pillar p{font-size:13px;color:var(--ash);line-height:1.7}

.leadership{padding:120px 40px;background:var(--cream)}
.leadership-inner{max-width:1400px;margin:0 auto}
.leadership-title{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,5vw,72px);line-height:1;
  letter-spacing:-0.03em;color:var(--forest);
  font-weight:400;margin-bottom:60px;
}
.leadership-title em{font-style:italic;color:var(--terracotta)}
.leaders-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.leader-card{
  padding:36px;background:var(--paper);
  border-radius:20px;transition:transform .3s;
}
.leader-card:hover{transform:translateY(-4px)}
.leader-avatar{
  width:350px;height:120px;border-radius:30%;
  display:flex;align-items:center;justify-content:center;
  color:var(--cream);margin-bottom:24px;
  font-family:'Fraunces',serif;font-size:28px;
  font-weight:500;letter-spacing:-0.02em;
}
.leader-name{
  font-family:'Fraunces',serif;font-size:22px;
  color:var(--forest);letter-spacing:-0.01em;font-weight:500;
}
.leader-role{
  font-family:'DM Mono',monospace;font-size:10px;
  letter-spacing:0.15em;text-transform:uppercase;
  color:var(--terracotta);margin-top:6px;margin-bottom:20px;
}
.leader-msg{font-size:13px;color:var(--ash);line-height:1.7}

.mission{padding:140px 40px;background:var(--forest-deep);color:var(--cream);text-align:center}
.mission-inner{max-width:1000px;margin:0 auto}
.mission-inner .section-tag{justify-content:center}
.mission-title{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,6vw,92px);line-height:1.05;
  letter-spacing:-0.03em;font-weight:400;margin-top:24px;
}
.mission-title em{font-style:italic;color:var(--terracotta)}

/* ===================== CONTACT PAGE ===================== */
.contact-section{padding:80px 40px 120px;background:var(--paper)}
.contact-inner{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1.1fr;gap:80px}
.contact-heading{
  font-family:'Fraunces',serif;
  font-size:clamp(36px,4.5vw,64px);line-height:1;
  letter-spacing:-0.03em;color:var(--forest);
  font-weight:400;margin-bottom:48px;
}
.contact-heading em{font-style:italic;color:var(--terracotta)}
.contact-info{display:flex;flex-direction:column;gap:28px}
.contact-item{padding-bottom:24px;border-bottom:1px solid var(--line)}
.contact-item:last-child{border-bottom:none}
.contact-item-label{
  font-family:'DM Mono',monospace;font-size:10px;
  letter-spacing:0.2em;text-transform:uppercase;
  color:var(--terracotta);margin-bottom:10px;
}
.contact-item-value{font-family:'Fraunces',serif;font-size:20px;color:var(--forest);line-height:1.4}
.contact-item-value a{color:var(--forest);transition:color .3s}
.contact-item-value a:hover{color:var(--terracotta)}

.contact-form{
  background:var(--cream);border-radius:24px;
  padding:48px;display:flex;flex-direction:column;gap:20px;
}
.form-title{
  font-family:'Fraunces',serif;font-size:30px;
  color:var(--forest);letter-spacing:-0.02em;font-weight:500;
}
.form-sub{font-size:14px;color:var(--ash);line-height:1.6;margin-bottom:12px}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-field{display:flex;flex-direction:column;gap:8px}
.form-field label{
  font-family:'DM Mono',monospace;font-size:10px;
  letter-spacing:0.15em;text-transform:uppercase;
  color:var(--ash);
}
.form-input{
  padding:14px 16px;border:1px solid var(--line);
  border-radius:12px;background:var(--paper);
  font-family:inherit;font-size:14px;color:var(--ink);
  transition:border-color .2s;
}
.form-input:focus{outline:none;border-color:var(--forest)}
.form-textarea{resize:vertical;min-height:120px;font-family:inherit}
.form-radio{display:flex;gap:16px;flex-wrap:wrap}
.form-radio label{font-size:13px;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:6px;text-transform:none;letter-spacing:normal;font-family:inherit}
.form-radio input[type=radio]{accent-color:var(--terracotta);margin-right:6px}
.form-err{color:var(--clay);font-size:12px;margin-top:2px}
.form-submit{align-self:flex-start;margin-top:12px}

.contact-success{
  background:var(--cream);border-radius:24px;padding:60px 48px;
  text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center;
}
.success-check{
  width:70px;height:70px;border-radius:50%;
  background:var(--forest);color:var(--cream);
  display:flex;align-items:center;justify-content:center;
  font-size:32px;font-weight:500;margin-bottom:12px;
}

/* ===================== FOOTER ===================== */
.footer{background:var(--ink);color:var(--cream);padding:80px 40px 30px}
.footer-inner{max-width:1400px;margin:0 auto}
.footer-top{
  display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:60px;
  padding-bottom:60px;border-bottom:1px solid rgba(245,239,227,0.12);
}
.footer-brand{
  font-family:'Fraunces',serif;font-size:36px;
  letter-spacing:-0.02em;margin-bottom:20px;color:var(--cream);
}
.footer-brand span{color:var(--terracotta);font-style:italic}
.footer-tag{font-size:13px;color:rgba(245,239,227,0.6);max-width:320px;line-height:1.6}
.footer-col h4{
  font-family:'DM Mono',monospace;font-size:11px;
  letter-spacing:0.2em;text-transform:uppercase;
  margin-bottom:22px;color:var(--terracotta);font-weight:500;
}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:12px}
.footer-col a{font-size:14px;color:rgba(245,239,227,0.7);transition:color .3s}
.footer-col a:hover{color:var(--cream)}
.footer-contact{font-size:14px;color:rgba(245,239,227,0.7);line-height:1.8}
.footer-contact a{color:inherit}
.footer-contact a:hover{color:var(--cream)}
.footer-bottom{
  margin-top:30px;display:flex;justify-content:space-between;
  align-items:center;font-size:12px;color:rgba(245,239,227,0.4);
  flex-wrap:wrap;gap:12px;
}
.footer-socials{display:flex;gap:14px}
.footer-socials a{
  width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(245,239,227,0.2);
  display:flex;align-items:center;justify-content:center;
  transition:all .3s;color:rgba(245,239,227,0.7);
}
.footer-socials a:hover{background:var(--terracotta);border-color:var(--terracotta);color:var(--cream)}

/* ===================== REVEAL ===================== */
.reveal{
  opacity:0;transform:translateY(30px);
  transition:opacity .9s cubic-bezier(.2,.7,.2,1),
             transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.show{opacity:1;transform:translateY(0)}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1024px){
  .hero-grid{gap:40px}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .leaders-grid{grid-template-columns:repeat(2,1fr)}
  .pillars-inner{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .nav{padding:14px 20px}
  .nav-links{display:none}
  .hero{padding:120px 20px 40px}
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-visual{order:-1;max-width:360px;margin:0 auto}
  .hero-badge-1{top:4%;left:0}
  .hero-badge-2{bottom:10%;right:0}
  .legacy,.story,.products,.ganoderma,.opportunity,.testimonial,.cta,
  .pillars,.leadership,.mission,.contact-section,.company-stmt,.page-hero{padding:80px 20px}
  .legacy-header,.story-grid,.opp-grid,.contact-inner{grid-template-columns:1fr;gap:40px}
  .stats{grid-template-columns:repeat(2,1fr);gap:30px}
  .benefits-grid{grid-template-columns:1fr}
  .footer{padding:60px 20px 30px}
  .footer-top{grid-template-columns:1fr;gap:40px}
  .products-filters{padding:20px;position:static}
}
@media(max-width:600px){
  .cat-grid,.product-grid,.leaders-grid,.pillars-inner{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .marquee-track span{font-size:20px}
  .hero-actions,.cta-buttons{flex-direction:column;align-items:stretch}
  .btn{justify-content:center}
  .form-row{grid-template-columns:1fr}
  .contact-form{padding:32px 24px}
}

/* ===================== PLANTATION GALLERY ===================== */
.gallery{
  padding:120px 40px;
  background:var(--cream);
}
.gallery-inner{max-width:1400px;margin:0 auto}
.gallery-header{
  display:flex;justify-content:space-between;align-items:flex-end;
  margin-bottom:50px;gap:40px;flex-wrap:wrap;
}
.gallery-title{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,5vw,72px);
  line-height:1.05;letter-spacing:-0.03em;
  color:var(--forest);font-weight:400;max-width:700px;
}
.gallery-title em{font-style:italic;color:var(--terracotta)}

.gallery-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:20px;
  height:720px;
}
.gallery-tile{
  position:relative;margin:0;
  border-radius:24px;overflow:hidden;
  cursor:pointer;
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery-tile:hover{transform:scale(1.02)}
.gallery-tile img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.gallery-tile:hover img{transform:scale(1.08)}
.gallery-tile-tall{grid-row:1 / span 2}
.gallery-tile-wide{grid-column:2 / span 2}
.gallery-tile figcaption{
  position:absolute;left:0;right:0;bottom:0;
  padding:24px 24px 22px;color:var(--cream);
  background:linear-gradient(to top,rgba(15,25,18,0.85) 0%,rgba(15,25,18,0.4) 60%,transparent 100%);
  display:flex;align-items:flex-end;gap:16px;
  font-size:14px;line-height:1.4;font-weight:500;
}
.gallery-num{
  font-family:'Fraunces',serif;font-style:italic;
  font-size:36px;font-weight:300;
  color:var(--terracotta);line-height:1;
  flex-shrink:0;
}

/* ===================== PRODUCT PHOTO ===================== */
.product-card-visual{position:relative}
.product-card-photo{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  max-width:75%;max-height:75%;
  width:auto;height:auto;
  object-fit:contain;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,0.25));
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
  z-index:2;
}
.product-card:hover .product-card-photo{transform:translate(-50%,-52%) scale(1.05)}

/* ===================== LEADER PHOTO ===================== */
.leader-avatar{position:relative;overflow:hidden}
.leader-photo{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  border-radius:inherit;
}

/* ===================== RESPONSIVE additions ===================== */
@media(max-width:900px){
  .gallery{padding:80px 20px}
  .gallery-grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:repeat(3,200px);
    height:auto;gap:14px;
  }
  .gallery-tile-tall{grid-row:auto;grid-column:1 / span 2}
  .gallery-tile-wide{grid-column:1 / span 2}
}
@media(max-width:600px){
  .gallery-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,220px)}
  .gallery-tile-tall,.gallery-tile-wide{grid-column:1;grid-row:auto}
  .gallery-header{flex-direction:column;align-items:flex-start}
}

/* ===================== HERITAGE IMAGE BLOCK (About page) ===================== */
.heritage-image{padding:0 40px;background:var(--paper)}
.heritage-image-inner{
  max-width:1400px;margin:0 auto;
  position:relative;border-radius:32px;overflow:hidden;
  height:600px;
}
.heritage-photo{
  width:100%;height:100%;object-fit:cover;display:block;
}
.heritage-caption{
  position:absolute;left:40px;right:40px;bottom:40px;
  max-width:700px;color:var(--cream);
  padding:32px 36px;
  background:linear-gradient(135deg,rgba(21,41,29,0.85) 0%,rgba(31,61,43,0.7) 100%);
  backdrop-filter:blur(10px);
  border-radius:20px;
}
.heritage-quote{
  font-family:'Fraunces',serif;
  font-size:clamp(20px,2vw,30px);
  line-height:1.35;letter-spacing:-0.01em;
  font-weight:400;font-style:italic;
  margin-top:14px;
}

@media(max-width:900px){
  .heritage-image{padding:0 20px}
  .heritage-image-inner{height:480px}
  .heritage-caption{left:20px;right:20px;bottom:20px;padding:24px}
}

/* ========================================================================
   WORLDWIDE / REGISTER / MEMBER pages — V1 editorial styling
   ======================================================================== */

/* Shared stat strip on Worldwide hero */

/* ── Card updates ───────────────────────────────────────────── */
.ww-card {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: box-shadow .2s, transform .2s;
    text-decoration: none;
    color: inherit;
}

    .ww-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
        transform: translateY(-2px);
    }

    .ww-card.has-office {
        border-color: var(--terracotta);
        background: #fffaf7;
    }

        .ww-card.has-office .ww-card-arrow {
            color: var(--terracotta);
            font-size: 18px;
        }

    .ww-card.no-site {
        opacity: 0.7;
        cursor: default;
    }

.ww-card-arrow {
    margin-left: auto;
    color: var(--ash);
    font-size: 14px;
    flex-shrink: 0;
}

/* ── Modal ──────────────────────────────────────────────────── */
.ww-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

    .ww-modal.open {
        display: flex;
    }

.ww-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
}

.ww-modal-box {
    position: relative;
    background: var(--paper);
    border-radius: 24px;
    width: min(520px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.25);
    animation: modalIn .25s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ww-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--ash);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background .15s;
}

    .ww-modal-close:hover {
        background: var(--line);
    }

.ww-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px 32px 20px;
    border-bottom: 1px solid var(--line);
}

.ww-modal-flag {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ww-modal-flag .ww-flag-code {
        color: var(--paper);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

.ww-modal-country {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--forest);
    margin: 0 0 2px;
}

.ww-modal-region {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ash);
}

.ww-modal-body {
    padding: 24px 32px 32px;
}

.ww-modal-office-name {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--forest);
    margin-bottom: 8px;
}

.ww-modal-badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--forest);
    color: var(--paper);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.ww-modal-details {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .ww-modal-details li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
    }

        .ww-modal-details li.hidden {
            display: none;
        }

.ww-modal-icon {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ww-modal-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ash);
    margin-bottom: 2px;
}

.ww-modal-details a {
    color: var(--forest);
    text-decoration: underline;
    font-size: 14px;
}

.ww-modal-details div {
    font-size: 14px;
    color: var(--forest);
}

.ww-modal-actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

    .ww-modal-actions.hidden {
        display: none;
    }


.ww-stats{
  display:inline-flex;align-items:center;gap:32px;
  margin-top:40px;padding:20px 32px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:100px;
}
.ww-stat{text-align:center}
.ww-stat-num{
  font-family:'Fraunces',serif;
  font-size:36px;font-weight:400;
  color:var(--forest);letter-spacing:-0.03em;line-height:1;
  font-style:italic;
}
.ww-stat-num .sup{
  font-size:18px;color:var(--terracotta);margin-left:2px;
  font-style:normal;font-weight:500;
}
.ww-stat-lbl{
  font-size:10px;font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;
  color:var(--ash);margin-top:8px;
}
.ww-stat-div{width:1px;height:32px;background:var(--line)}

/* Hero variants */
.page-hero-forest{background:linear-gradient(180deg,var(--forest) 0%,var(--forest-deep) 100%);color:var(--cream)}
.page-hero-forest .crumbs,
.page-hero-forest .crumbs a{color:rgba(245,239,227,0.7)}
.page-hero-forest .crumbs a:hover{color:var(--terracotta)}
.page-hero-forest .page-title{color:var(--cream)}
.page-hero-forest .page-title em{color:var(--terracotta)}
.page-hero-forest .page-sub{color:rgba(245,239,227,0.8)}

.page-hero-cream{background:linear-gradient(180deg,var(--cream-warm) 0%,var(--paper) 100%)}

/* Region tab bar */
.ww-tabs-bar{
  padding:32px 40px;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  position:sticky;top:72px;z-index:50;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  background:rgba(250,246,236,0.9);
}
.ww-tabs{
  display:flex;gap:8px;flex-wrap:wrap;justify-content:center;
  max-width:1400px;margin:0 auto;
}
.ww-chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 20px;
  border-radius:100px;
  border:1px solid var(--line);
  background:transparent;
  font-family:inherit;font-size:13px;font-weight:500;
  color:var(--ink);
  cursor:pointer;
  transition:all .25s;
  letter-spacing:0.01em;
}
.ww-chip:hover{border-color:var(--terracotta);color:var(--terracotta)}
.ww-chip.active{
  background:var(--forest);
  color:var(--cream);
  border-color:var(--forest);
}

/* Country grid */
.ww-grid-section{padding:80px 40px;background:var(--paper)}
.ww-inner{max-width:1400px;margin:0 auto}
.ww-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:12px;
}
.ww-grid-lg{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}

.ww-card{
  display:flex;align-items:center;gap:14px;
  padding:16px 18px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:16px;
  color:var(--ink);
  text-decoration:none;
  transition:all .25s;
  position:relative;
}
.ww-card:hover{
  background:var(--paper);
  border-color:var(--terracotta);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(194,86,42,0.1);
}
.ww-card.no-site{
  opacity:0.5;
  pointer-events:none;
  cursor:default;
}
.ww-card.no-site .ww-card-arrow{display:none}

/* Flag chip — two-tone diagonal */
.ww-flag{
  width:40px;height:28px;
  border-radius:4px;
  display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;position:relative;overflow:hidden;
  box-shadow:0 1px 2px rgba(0,0,0,0.1);
}
.ww-flag-sm{width:34px;height:24px}
.ww-flag-code{
  position:relative;z-index:2;
  font-size:9px;font-weight:700;
  color:rgba(255,255,255,0.95);
  letter-spacing:0.04em;
  text-shadow:0 1px 2px rgba(0,0,0,0.5);
  font-family:'Inter',sans-serif,-apple-system;
}

.ww-flag-red-blue{background:linear-gradient(135deg,#d62828 50%,#1d3b8b 50%)}
.ww-flag-blue-red{background:linear-gradient(135deg,#1d3b8b 50%,#d62828 50%)}
.ww-flag-red-white{background:linear-gradient(135deg,#d62828 50%,#f4f4f4 50%)}
.ww-flag-green-red{background:linear-gradient(135deg,#046a38 50%,#d62828 50%)}
.ww-flag-red-yellow{background:linear-gradient(135deg,#d62828 50%,#e4b800 50%)}
.ww-flag-yellow-black{background:linear-gradient(135deg,#e4b800 50%,#1a1a1a 50%)}
.ww-flag-green-white{background:linear-gradient(135deg,#046a38 50%,#f4f4f4 50%)}
.ww-flag-blue-white{background:linear-gradient(135deg,#1d3b8b 50%,#f4f4f4 50%)}
.ww-flag-yellow-blue{background:linear-gradient(135deg,#e4b800 50%,#1d3b8b 50%)}
.ww-flag-blue-yellow{background:linear-gradient(135deg,#1d3b8b 50%,#e4b800 50%)}
.ww-flag-red-green{background:linear-gradient(135deg,#d62828 50%,#046a38 50%)}
.ww-flag-black-red{background:linear-gradient(135deg,#1a1a1a 50%,#d62828 50%)}
.ww-flag-green-orange{background:linear-gradient(135deg,#046a38 50%,#e87722 50%)}
.ww-flag-orange-green{background:linear-gradient(135deg,#e87722 50%,#046a38 50%)}
.ww-flag-maroon-white{background:linear-gradient(135deg,#6d1414 50%,#f4f4f4 50%)}
.ww-flag-blue-green{background:linear-gradient(135deg,#1d3b8b 50%,#046a38 50%)}
.ww-flag-blue-black{background:linear-gradient(135deg,#1d3b8b 50%,#1a1a1a 50%)}
.ww-flag-yellow-white{background:linear-gradient(135deg,#e4b800 50%,#f4f4f4 50%)}
.ww-flag-yellow-green{background:linear-gradient(135deg,#e4b800 50%,#046a38 50%)}

.ww-card-body{flex:1;min-width:0}
.ww-card-name{
  font-family:'Fraunces',serif;
  font-size:17px;font-weight:400;
  color:var(--ink);line-height:1.3;letter-spacing:-0.01em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.ww-card-region{
  font-size:11px;font-weight:500;
  color:var(--ash);margin-top:3px;
  text-transform:uppercase;letter-spacing:0.06em;
}
.ww-card-arrow{
  color:var(--ash);font-size:18px;
  transition:transform .2s,color .2s;flex-shrink:0;
}
.ww-card:hover .ww-card-arrow{
  color:var(--terracotta);transform:translate(2px,-2px);
}

/* Section head */
.ww-offices-section{padding:120px 40px;background:var(--cream)}
.section-head{
  text-align:center;max-width:760px;margin:0 auto 60px;
}
.section-head .tag{
  display:inline-block;padding:6px 16px;
  background:var(--paper);border:1px solid var(--line);
  border-radius:100px;margin-bottom:20px;
  font-size:11px;font-weight:500;letter-spacing:0.16em;
  text-transform:uppercase;color:var(--forest);
}
.section-head .section-title{
  font-family:'Fraunces',serif;
  font-size:clamp(36px,4.5vw,64px);
  line-height:1.05;letter-spacing:-0.03em;
  font-weight:300;color:var(--ink);margin-bottom:20px;
}
.section-head .section-title em{
  font-style:italic;color:var(--terracotta);
}
.section-head .section-sub{
  font-size:16px;line-height:1.7;color:var(--ash);
}

/* Office grid */
.ww-offices-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
  gap:24px;
}
.ww-office{
  padding:32px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:24px;
  transition:all .25s;
}
.ww-office:hover{
  border-color:var(--forest);
  box-shadow:0 12px 30px rgba(31,61,43,0.08);
}
.ww-office-head{
  display:flex;align-items:center;gap:14px;
  padding-bottom:20px;margin-bottom:20px;
  border-bottom:1px solid var(--line);
}
.ww-office-country{
  font-family:'Fraunces',serif;
  font-size:22px;font-weight:400;
  color:var(--forest);letter-spacing:-0.015em;
  line-height:1.2;
}
.ww-office-type{
  font-size:10px;font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;
  color:var(--terracotta);margin-top:4px;
}
.ww-office-name{
  font-size:15px;font-weight:500;
  color:var(--ink);margin-bottom:20px;
  letter-spacing:-0.01em;
}
.ww-office-details{
  list-style:none;display:flex;flex-direction:column;gap:14px;
  padding:0;margin:0;
}
.ww-office-details li{
  display:flex;flex-direction:column;gap:3px;
}
.ww-office-lbl{
  font-size:10px;font-weight:500;
  letter-spacing:0.14em;text-transform:uppercase;
  color:var(--ash);
}
.ww-office-details a{
  color:var(--ink);
  border-bottom:1px solid transparent;
  transition:all .2s;
}
.ww-office-details a:hover{
  color:var(--terracotta);border-bottom-color:var(--terracotta);
}
.ww-office-details li span:last-child{
  font-size:13px;line-height:1.5;color:var(--ink);
}
.ww-office-hide{display:none}

/* ============ REGISTER PAGE ============ */
.join-benefits{padding:100px 40px;background:var(--paper)}
.join-inner{
  max-width:1400px;margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);gap:32px;
}
.benefit-card{
  padding:40px 32px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:24px;
  transition:all .3s;
}
.benefit-card:hover{
  background:var(--paper);
  border-color:var(--terracotta);
  transform:translateY(-4px);
}
.benefit-num{
  font-family:'Fraunces',serif;
  font-size:42px;font-weight:300;
  font-style:italic;
  color:var(--terracotta);
  letter-spacing:-0.03em;line-height:1;
  margin-bottom:18px;
}
.benefit-card h3{
  font-family:'Fraunces',serif;
  font-size:20px;font-weight:400;
  color:var(--forest);letter-spacing:-0.015em;
  margin-bottom:10px;line-height:1.3;
}
.benefit-card p{
  font-size:13px;color:var(--ash);
  line-height:1.65;
}

/* Picker section */
.picker-section{padding:100px 40px;background:var(--cream)}
.picker-bar{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;flex-wrap:wrap;margin-bottom:48px;
  padding:20px 24px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:100px;
}
.picker-search{
  position:relative;display:flex;align-items:center;
  flex:1;min-width:280px;max-width:380px;
  padding-left:40px;
}
.picker-search svg{
  position:absolute;left:14px;top:50%;
  transform:translateY(-50%);
  color:var(--ash);pointer-events:none;
}
.picker-search input{
  border:none;outline:none;background:transparent;
  padding:10px 0;width:100%;
  font-family:inherit;font-size:14px;color:var(--ink);
}
.picker-search input::placeholder{color:var(--ash)}

.picker-empty{
  text-align:center;padding:60px 20px;color:var(--ash);
  font-style:italic;font-family:'Fraunces',serif;font-size:17px;
}

.picker-fallback{padding:60px 40px 120px;background:var(--cream)}
.picker-fallback-card{
  max-width:900px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:32px;flex-wrap:wrap;
  padding:40px 48px;
  background:var(--forest);color:var(--cream);
  border-radius:24px;
}
.picker-fallback-card h3{
  font-family:'Fraunces',serif;
  font-size:26px;font-weight:400;
  letter-spacing:-0.02em;margin-bottom:8px;
  color:var(--cream);
}
.picker-fallback-card p{
  font-size:14px;line-height:1.6;
  color:rgba(245,239,227,0.75);
  max-width:480px;
}
.picker-fallback-card .btn-primary{
  background:var(--terracotta);color:var(--paper);
  border:none;flex-shrink:0;
}
.picker-fallback-card .btn-primary:hover{background:var(--cream);color:var(--forest)}

/* ============ MEMBER PAGE ============ */
.member-links{padding:60px 40px;background:var(--paper);border-bottom:1px solid var(--line)}
.member-links-grid{
  grid-template-columns:repeat(3,1fr);
}
.member-link{
  display:block;padding:28px 32px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:20px;
  color:var(--ink);text-decoration:none;
  position:relative;
  transition:all .25s;
}
.member-link:hover{
  background:var(--paper);
  border-color:var(--forest);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(31,61,43,0.08);
}
.member-link h3{
  font-family:'Fraunces',serif;
  font-size:18px;font-weight:400;
  color:var(--forest);letter-spacing:-0.01em;
  margin-bottom:6px;
}
.member-link p{
  font-size:13px;color:var(--ash);line-height:1.5;
}
.member-link .ml-arrow{
  position:absolute;top:28px;right:28px;
  font-size:18px;color:var(--ash);
  transition:transform .2s,color .2s;
}
.member-link:hover .ml-arrow{
  color:var(--terracotta);transform:translateX(3px);
}

/* Responsive */
@media(max-width:1000px){
  .join-inner{grid-template-columns:repeat(2,1fr)}
  .member-links-grid{grid-template-columns:1fr}
  .ww-offices-section{padding:80px 24px}
  .ww-tabs-bar{padding:20px}
  .ww-grid-section{padding:60px 24px}
  .picker-section{padding:60px 24px}
}
@media(max-width:600px){
  .join-inner{grid-template-columns:1fr}
  .ww-stats{gap:16px;padding:16px 20px}
  .ww-stat-num{font-size:26px}
  .ww-stat-div{display:none}
  .ww-grid{grid-template-columns:1fr}
  .picker-bar{padding:14px;border-radius:20px}
  .picker-fallback-card{padding:32px 24px;flex-direction:column;text-align:center}
  .picker-fallback-card p{max-width:none}
}

/* ═══════════════════════════════════════════════════════════
   MEMBER SITE PAGE  —  MemberSite.aspx
   Add these rules to your main site stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Search bar ─────────────────────────────────────────────── */
.ms-search-bar {
    background: var(--paper);
    padding: 24px 40px;
    border-bottom: 1px solid var(--line);
}

.ms-search-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.ms-search-wrap {
    position: relative;
    max-width: 480px;
}

.ms-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ash);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.ms-search-input {
    width: 100%;
    padding: 14px 18px 14px 46px;
    border: 1.5px solid var(--line);
    border-radius: 50px;
    background: var(--paper);
    font-size: 15px;
    color: var(--forest);
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

    .ms-search-input:focus {
        border-color: var(--forest);
        box-shadow: 0 0 0 3px rgba(42, 74, 55, 0.08);
    }

    .ms-search-input::placeholder {
        color: var(--ash);
    }

/* ── Tabs ───────────────────────────────────────────────────── */
.ms-tabs-bar {
    background: var(--paper);
    padding: 0 40px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ms-tabs {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 0;
}

    .ms-tabs::-webkit-scrollbar {
        display: none;
    }

.ms-chip {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--line);
    background: transparent;
    color: var(--ash);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

    .ms-chip:hover {
        border-color: var(--forest);
        color: var(--forest);
    }

    .ms-chip.active {
        background: var(--forest);
        border-color: var(--forest);
        color: var(--paper);
    }

/* ── Main grid section ──────────────────────────────────────── */
.ms-grid-section {
    background: var(--paper);
    padding: 60px 40px 100px;
}

.ms-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ── Region block ───────────────────────────────────────────── */
.ms-region-block {
}

.ms-region-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.ms-region-icon {
    font-size: 28px;
    line-height: 1;
}

.ms-region-title {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--forest);
    margin: 0 0 2px;
    letter-spacing: -0.02em;
}

.ms-region-count {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ash);
    margin: 0;
}

/* ── Country grid ───────────────────────────────────────────── */
.ms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

/* ── Country card ───────────────────────────────────────────── */
.ms-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    position: relative;
}

a.ms-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: var(--forest);
    transform: translateY(-2px);
}

.ms-card.no-link {
    opacity: 0.9;
    cursor: default;
}

.ms-card.featured {
    border-color: var(--terracotta);
    background: #fffaf7;
}

    .ms-card.featured:hover {
        border-color: var(--terracotta);
        box-shadow: 0 6px 20px rgba(194, 86, 42, 0.15);
    }

/* Flag badge */
.ms-card-flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--paper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ms-card-flag.hq {
        background: var(--terracotta);
    }

/* Card text */
.ms-card-info {
    flex: 1;
    min-width: 0;
}

.ms-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--forest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ms-card-region {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ash);
    margin-top: 2px;
}

/* HQ badge */
.ms-hq-badge {
    font-size: 9px;
    background: var(--terracotta);
    color: var(--paper);
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    font-weight: 600;
    flex-shrink: 0;
}

/* Arrow / Soon */
.ms-card-arrow {
    margin-left: auto;
    color: var(--ash);
    font-size: 14px;
    flex-shrink: 0;
    transition: color .2s, transform .2s;
}

a.ms-card:hover .ms-card-arrow {
    color: var(--forest);
    transform: translate(2px, -2px);
}

.ms-card.featured .ms-card-arrow {
    color: var(--terracotta);
}

.ms-card-soon {
    margin-left: auto;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ash);
    border: 1px solid var(--line);
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* ── Empty state ────────────────────────────────────────────── */
.ms-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 12px;
}

.ms-empty-icon {
    font-size: 48px;
}

.ms-empty-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    color: var(--forest);
    font-weight: 400;
}

.ms-empty-sub {
    font-size: 14px;
    color: var(--ash);
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-band {
    padding: 120px 40px;
    background: var(--paper);
    overflow: hidden;
}

.cta-band-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.cta-band .tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ash);
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 6vw, 72px); /* ← was too large, now clamped */
    font-weight: 400;
    color: var(--forest);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    max-width: 800px; /* ← prevents full-bleed stretch */
}

    .cta-title em {
        font-style: italic;
        color: var(--terracotta);
    }

.cta-sub {
    font-size: 16px;
    color: var(--ash);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ms-search-bar,
    .ms-tabs-bar,
    .ms-grid-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ms-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ms-region-title {
        font-size: 22px;
    }
    .cta-band {
        padding: 80px 24px;
    }

    .cta-title {
        font-size: clamp(32px, 8vw, 52px);
    }

    .cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .ms-card-name {
        font-size: 13px;
    }
}

