:root{
  --cream:#F2EBDF;
  --cream-soft:#EAE1D2;
  --paper:#FBF8F2;
  --ink:#33363B;
  --ink-soft:#5B5E63;
  --terracotta:#96501F;
  --terracotta-deep:#7A4019;
  --terracotta-on-dark:#D3854A;
  --sage:#636A40;
  --sage-soft:#EDE9DA;
  --line:rgba(51,54,59,0.12);
  --shadow:0 20px 60px -25px rgba(51,54,59,0.35);
  --serif:'Frank Ruhl Libre', 'Times New Roman', serif;
  --sans:'Heebo', -apple-system, sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  background:var(--cream);
  color:var(--ink);
  line-height:1.7;
  font-size:17px;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; touch-action:manipulation; -webkit-tap-highlight-color:transparent;}
button{touch-action:manipulation; -webkit-tap-highlight-color:transparent;}
a:focus-visible, button:focus-visible{outline:2px solid var(--terracotta); outline-offset:2px;}
section{position:relative;}
section[id]{scroll-margin-top:90px;}
.wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
h1,h2,h3{font-family:var(--serif); font-weight:600; letter-spacing:-0.01em; text-wrap:balance;}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
.skip-link{
  position:absolute; top:-100px; right:16px; z-index:300;
  background:var(--terracotta); color:var(--paper); padding:12px 20px;
  border-radius:8px; text-decoration:none; font-weight:600; transition:top .2s ease;
}
.skip-link:focus{top:16px;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .reveal{transition:none; opacity:1; transform:none;}
  *, *::before, *::after{animation-duration:.01ms !important; transition-duration:.01ms !important;}
}

/* -------- decorative Shenmen-motif divider -------- */
.motif{
  display:flex; align-items:center; justify-content:center;
  gap:14px; color:var(--terracotta); opacity:0.75; margin:0 auto;
}
.motif svg{width:34px; height:34px;}
.motif--spaced{margin-bottom:24px;}
.motif .bar{width:44px; height:1px; background:var(--line);}

/* -------- reveal-on-scroll -------- */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ================= HEADER ================= */
header{
  position:fixed; top:0; right:0; left:0; z-index:100;
  background:rgba(242,235,223,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
  padding-top:env(safe-area-inset-top);
}
header.scrolled{box-shadow:0 8px 24px -18px rgba(51,54,59,0.4);}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px; max-width:1120px; margin:0 auto;
}
.brand{font-family:var(--serif); font-size:1.35rem; font-weight:700; letter-spacing:.02em;}
.brand span{color:var(--terracotta);}
.header-actions{display:flex; align-items:center; gap:18px; font-size:.95rem;}
.header-actions a{text-decoration:none;}
.tel-link{color:var(--ink-soft); display:flex; align-items:center; gap:6px; min-height:44px; padding:4px 2px;}
.tel-link:hover{color:var(--ink);}
.insta-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; color:var(--ink-soft); transition:color .2s ease;
}
.insta-link:hover, .insta-link:focus-visible{color:var(--ink);}
.wa-btn{
  background:var(--terracotta); color:var(--paper); padding:10px 22px;
  border-radius:999px; font-weight:600; display:flex; align-items:center; gap:8px;
  transition:background .25s ease, transform .25s ease;
}
.wa-btn:hover{background:var(--terracotta-deep); transform:translateY(-1px);}
.icon{width:18px; height:18px; flex-shrink:0;}

/* ================= HERO ================= */
.hero{
  min-height:100vh; display:flex; align-items:center;
  padding:140px 0 80px;
  background:
    radial-gradient(ellipse 900px 500px at 85% 8%, rgba(181,101,46,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 5% 95%, rgba(124,131,85,0.12), transparent 60%),
    var(--cream);
  position:relative;
}
.hero .wrap{display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center;}
.eyebrow{
  font-size:.85rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--terracotta); font-weight:600; margin-bottom:18px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{content:''; width:28px; height:1px; background:var(--terracotta);}
.hero h1{font-size:clamp(2rem, 3.8vw, 3.1rem); line-height:1.28; margin-bottom:16px;}
.hero h1 em{font-style:normal; color:var(--terracotta);}
.hero-cn{
  font-family:var(--serif); font-size:clamp(2.6rem, 5vw, 4rem); color:var(--terracotta);
  letter-spacing:.04em; line-height:1.2; margin-bottom:18px;
}
.hero-source{
  font-family:var(--serif); font-weight:900; font-size:1.05rem; letter-spacing:.03em; color:var(--ink);
  margin-bottom:10px;
}
.hero-source-title{
  font-family:var(--serif); font-weight:700; letter-spacing:.03em; color:var(--terracotta);
}
.hero-quote{
  font-family:'Suez One', var(--serif), serif; font-size:clamp(1.15rem, 1.6vw, 1.4rem);
  line-height:1.7; color:var(--ink); max-width:46ch; margin-bottom:34px;
}
.hero-sub{font-size:1.15rem; color:var(--ink-soft); max-width:46ch; margin-bottom:34px;}
.dot-sep{font-size:2.2em; vertical-align:middle; color:var(--terracotta); padding:0 4px;}
.hero-modalities{
  display:flex; flex-wrap:wrap; gap:10px; margin-bottom:38px;
}
.chip{
  font-size:.85rem; padding:7px 16px; min-height:44px; border:1px solid var(--line);
  border-radius:999px; background:var(--paper); color:var(--ink-soft);
  font-family:inherit; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover, .chip:focus-visible{background:var(--terracotta); border-color:var(--terracotta); color:var(--paper); transform:translateY(-1px);}
.chip .plus{font-size:.75em; opacity:.6;}
.chip:hover .plus, .chip:focus-visible .plus{opacity:1;}
.hero-ctas{display:flex; flex-wrap:wrap; gap:16px; align-items:center;}
.btn-primary{
  background:var(--terracotta); color:var(--paper); padding:16px 34px;
  border-radius:999px; font-weight:600; text-decoration:none;
  display:inline-flex; align-items:center; gap:10px; font-size:1.02rem;
  box-shadow:0 14px 30px -12px rgba(181,101,46,0.55);
  transition:transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 18px 36px -12px rgba(181,101,46,0.65);}
.btn-ghost{
  color:var(--ink); text-decoration:none; font-weight:500;
  border-bottom:1px solid var(--ink); padding-bottom:2px;
  transition:color .2s ease, border-color .2s ease;
}
.btn-ghost:hover, .btn-ghost:focus-visible{color:var(--terracotta); border-color:var(--terracotta);}
.hero-portrait{position:relative;}
.hero-portrait .frame{
  position:relative; border-radius:18px; overflow:hidden;
  box-shadow:var(--shadow);
  aspect-ratio:3/4;
}
.hero-portrait img{width:100%; height:100%; object-fit:cover;}
.hero-portrait .frame-tag{
  position:absolute; bottom:-22px; right:-22px; background:rgba(251,248,242,0.72);
  backdrop-filter:blur(10px);
  border:1px solid var(--line); border-radius:14px; padding:16px 20px;
  box-shadow:var(--shadow); max-width:220px;
}
.frame-tag .num{font-family:var(--serif); font-size:1.8rem; color:var(--terracotta); font-weight:700;}
.frame-tag .cap{font-size:.8rem; color:var(--ink-soft);}
.hero-portrait::before{
  content:''; position:absolute; top:-18px; left:-18px; width:100%; height:100%;
  border:1.5px solid var(--terracotta); border-radius:18px; z-index:-1; opacity:.5;
}

/* ================= SECTION HEADINGS ================= */
.sec-head{text-align:center; max-width:680px; margin:0 auto 56px;}
.sec-head .motif{margin-bottom:18px;}
.sec-head h2{font-size:clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom:14px;}
.sec-head p{color:var(--ink-soft); font-size:1.05rem;}

/* ================= PHILOSOPHY ================= */
.philosophy{padding:120px 0; background:var(--paper);}
.philosophy .wrap{max-width:820px;}
.philosophy .greet{
  font-family:var(--serif); font-size:1.5rem; margin-bottom:26px; color:var(--ink);
}
.philosophy p{font-size:1.12rem; color:var(--ink-soft); margin-bottom:22px;}
.philosophy p:last-child{margin-bottom:0;}
.accent-text{color:var(--ink); font-weight:600;}
.philosophy .reasons{list-style:none; margin:8px 0 28px; display:flex; flex-direction:column; gap:16px;}
.philosophy .reasons li{display:flex; gap:14px; align-items:flex-start; font-size:1.05rem; color:var(--ink-soft);}
.philosophy .reasons .dot{width:7px; height:7px; border-radius:50%; background:var(--terracotta); margin-top:10px; flex-shrink:0;}

/* ================= ABOUT ================= */
.about{padding:120px 0;}
.about .wrap{display:grid; grid-template-columns:0.85fr 1.15fr; gap:60px; align-items:center;}
.about-img{border-radius:18px; overflow:hidden; box-shadow:var(--shadow); aspect-ratio:4/5;}
.about-img img{width:100%; height:100%; object-fit:cover;}
.about-text .eyebrow{margin-bottom:14px;}
.eyebrow--spaced{margin-top:22px;}
.about-text h2{font-size:clamp(1.8rem,3vw,2.3rem); margin-bottom:20px;}
.about-text p{color:var(--ink-soft); margin-bottom:16px; font-size:1.05rem;}

/* ================= APPROACH ================= */
.approach{padding:120px 0; background:var(--ink); color:var(--cream);}
.approach .sec-head p{color:rgba(242,235,223,0.65);}
.approach .sec-head h2{color:var(--cream);}
.approach-groups{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:rgba(242,235,223,0.15); border-radius:20px; overflow:hidden;}
.group{background:#2B2E33; padding:44px 40px;}
.group h3{font-family:var(--serif); font-size:1.5rem; color:var(--terracotta-on-dark); margin-bottom:6px; font-weight:600;}
.group .sub{font-size:.85rem; color:rgba(242,235,223,0.55); margin-bottom:26px;}
.group ul{list-style:none;}
.group li{
  display:flex; align-items:baseline; gap:12px; padding:14px 0;
  border-top:1px solid rgba(242,235,223,0.1);
}
.group li:first-of-type{border-top:none;}
.group li .dot{width:6px; height:6px; border-radius:50%; background:var(--terracotta-on-dark); flex-shrink:0;}
.group li .t{font-weight:500;}
.approach-note{
  text-align:center; max-width:640px; margin:44px auto 0; color:rgba(242,235,223,0.7);
  font-family:var(--serif); font-size:1.15rem; font-style:normal;
}

/* ================= TIMELINE ================= */
.timeline-sec{padding:120px 0; background:var(--paper);}
.timeline{max-width:760px; margin:0 auto; position:relative; padding-right:28px; border-right:2px solid var(--sage-soft);}
.t-item{position:relative; padding-bottom:36px;}
.t-item:last-child{padding-bottom:0;}
.t-item::before{
  content:''; position:absolute; right:-34px; top:4px; width:12px; height:12px;
  border-radius:50%; background:var(--paper); border:3px solid var(--terracotta);
}
.t-item .yr{font-family:var(--serif); font-weight:700; color:var(--terracotta); font-size:1.05rem;}
.t-item .ti{font-weight:600; margin:4px 0 2px;}
.t-item .tx{color:var(--ink-soft); font-size:.95rem;}

/* ================= LOCATIONS ================= */
.locations{padding:120px 0;}
.loc-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.loc-card{
  background:var(--paper); border:1px solid var(--line); border-radius:18px;
  padding:36px 32px; transition:transform .3s ease, box-shadow .3s ease;
}
.loc-card:hover{transform:translateY(-4px); box-shadow:var(--shadow);}
.loc-card .tag{
  display:inline-block; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--sage); background:var(--sage-soft); padding:5px 12px; border-radius:999px;
  margin-bottom:16px; font-weight:600;
}
.loc-card h3{font-size:1.4rem; margin-bottom:6px;}
.loc-card .addr{color:var(--ink-soft); margin-bottom:16px; font-size:.98rem;}
.loc-card .access{font-size:.92rem; color:var(--ink-soft); margin-bottom:22px; line-height:1.8;}
.loc-actions{display:flex; flex-wrap:wrap; gap:14px 24px; align-items:center;}
.loc-card .waze, .loc-card .gmaps{
  display:inline-flex; align-items:center; gap:8px; color:var(--terracotta);
  font-weight:600; text-decoration:none; font-size:.95rem; min-height:44px; padding:4px 0;
}
.loc-card .waze:hover, .loc-card .gmaps:hover{color:var(--terracotta-deep);}
.loc-wa{
  display:inline-flex; align-items:center; gap:8px; color:var(--sage);
  font-weight:600; text-decoration:none; font-size:.95rem; min-height:44px; padding:4px 0;
}
.loc-wa:hover{color:#5f6642;}
.loc-wa .icon{width:16px; height:16px;}

/* ================= CTA ================= */
.cta-final{
  padding:110px 0; text-align:center;
  background:linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
}
.cta-final h2{font-size:clamp(2rem,4vw,2.8rem); margin-bottom:18px;}
.cta-final p{color:var(--ink-soft); font-size:1.1rem; margin-bottom:36px; max-width:480px; margin-inline:auto;}

/* ================= FOOTER ================= */
footer{background:var(--ink); color:rgba(242,235,223,0.7); padding:56px 0 28px;}
.footer-inner{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; padding-bottom:32px; border-bottom:1px solid rgba(242,235,223,0.12);}
.footer-brand{font-family:var(--serif); font-size:1.3rem; color:var(--cream); font-weight:700;}
.footer-links{display:flex; gap:28px; font-size:.95rem; flex-wrap:wrap;}
.footer-links a{display:inline-flex; align-items:center; min-height:44px; text-decoration:none; color:rgba(242,235,223,0.7); transition:color .2s;}
.footer-links a:hover{color:var(--terracotta);}
.footer-bottom{padding-top:24px; font-size:.85rem; text-align:center; color:rgba(242,235,223,0.4);}

/* ================= WHATSAPP FLOATING ================= */
.wa-float{
  position:fixed; z-index:90;
  bottom:calc(26px + env(safe-area-inset-bottom));
  left:calc(26px + env(safe-area-inset-left));
  width:58px; height:58px; border-radius:50%; background:var(--terracotta);
  display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px -8px rgba(181,101,46,0.6);
  transition:transform .25s ease;
}
.wa-float:hover{transform:scale(1.08);}
.wa-float svg{width:28px; height:28px; fill:var(--paper);}

/* ================= MODALITY MODAL ================= */
.modal-overlay{
  position:fixed; top:0; right:0; bottom:0; left:0; z-index:200; background:rgba(51,54,59,0.55);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
  backdrop-filter:blur(3px);
}
.modal-overlay.open{opacity:1; pointer-events:auto;}
.modal-panel{
  background:var(--paper); border-radius:20px; max-width:560px; width:100%;
  box-shadow:0 30px 80px -20px rgba(0,0,0,0.45);
  transform:translateY(18px) scale(.98); transition:transform .25s ease;
  position:relative; max-height:85vh; max-height:85dvh;
  max-height:calc(var(--vvh, 100vh) * 0.85);
  display:flex; flex-direction:column; overflow:hidden;
}
.modal-overlay.open .modal-panel{transform:translateY(0) scale(1);}
.modal-close{
  position:absolute; top:12px; left:12px; width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background:var(--cream); color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:1.1rem;
  transition:background .2s ease, color .2s ease; z-index:1;
}
.modal-close:hover, .modal-close:focus-visible{background:var(--terracotta); color:var(--paper); border-color:var(--terracotta);}
.modal-header{padding:36px 36px 0 84px; flex-shrink:0;}
.modal-eyebrow{font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--terracotta); font-weight:600; margin-bottom:10px;}
.modal-en{font-size:.78rem; letter-spacing:.08em; color:var(--sage); margin-bottom:4px; font-weight:600;}
.modal-title{font-family:var(--serif); font-size:1.85rem; margin-bottom:20px;}
.modal-scroll{overflow-y:auto; overscroll-behavior:contain; padding:0 36px 36px;}
.modal-body{color:var(--ink-soft); font-size:1.02rem; line-height:1.75;}
.modal-body p{margin-bottom:16px;}
.modal-body p:last-child{margin-bottom:0;}
.modal-closing{
  font-family:var(--serif); font-size:1.15rem; line-height:1.6; color:var(--ink);
  border-right:2px solid var(--terracotta); padding-right:18px; margin-top:24px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:900px){
  .hero .wrap{grid-template-columns:1fr; text-align:center;}
  .eyebrow, .hero-ctas{justify-content:center;}
  .hero-modalities{justify-content:center;}
  .hero-portrait{max-width:380px; margin:0 auto;}
  .about .wrap{grid-template-columns:1fr;}
  .about-img{max-width:380px; margin:0 auto;}
  .approach-groups{grid-template-columns:1fr;}
  .loc-grid{grid-template-columns:1fr;}
}
@media(max-width:560px){
  .wrap{padding:0 20px;}
  .header-actions .tel-link span{display:none;}
  .wa-btn{width:44px; height:44px; padding:0; border-radius:50%; justify-content:center;}
  .wa-btn span{display:none;}
  .philosophy, .about, .approach, .timeline-sec, .locations, .cta-final{padding:80px 0;}
  .hero{padding:120px 0 60px;}
  body{font-size:16px;}
}
