/* ==========================================================================
   แก้วพิมลทัวร์ — Design tokens
   ========================================================================== */
:root{
  --forest: #163C2C;      /* deep forest green — primary */
  --forest-2:#1F4E38;     /* slightly lighter forest, for gradients */
  --leaf:   #2F7D57;      /* mid leaf green — accents, links */
  --leaf-soft: #DCE9DC;   /* pale leaf tint — section backgrounds */
  --gold:   #C79A3D;      /* temple-gold accent */
  --gold-soft: #EADFC0;
  --cream:  #FBF7EE;      /* warm paper background */
  --paper:  #F3EEE0;      /* alternate section background */
  --ink:    #1B241C;      /* primary text */
  --ink-soft: #55635A;    /* secondary text */
  --line:   #DDD6C4;      /* hairline borders on cream */
  --white:  #FFFFFF;

  --font-display: "Noto Serif Thai", "Noto Serif", serif;
  --font-body: "Noto Sans Thai", "Noto Sans", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow: 0 20px 45px -25px rgba(22, 60, 44, 0.45);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.3;
  margin: 0 0 .5em;
  font-weight: 700;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section{ padding: 88px 0; }
.section-alt{ background: var(--paper); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--leaf);
  text-transform: none;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--gold);
  display:inline-block;
}

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.section-head p{ font-size: 1.02rem; }
.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold{
  background: var(--gold);
  color: var(--forest);
  box-shadow: 0 14px 28px -14px rgba(199,154,61,.7);
}
.btn-gold:hover{ background:#d6ac52; }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-outline{
  background: transparent;
  border-color: var(--leaf);
  color: var(--leaf);
}
.btn-outline:hover{ background: var(--leaf); color: var(--white); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(251,247,238,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--forest);
  font-size: 1.15rem;
}
.brand .mark{
  width: 42px; height:42px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex: none;
}
.brand small{
  display:block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .68rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
}
.nav-links{
  display:flex; align-items:center; gap: 30px;
}
.nav-links a{
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:2px; background: var(--gold);
  transition: right .22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after{ right:0; }
.nav-links a.active{ color: var(--leaf); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-cta .btn{ padding: 10px 20px; font-size: .88rem; }
.nav-cta .btn-outline{ border-color: var(--forest); color: var(--forest); }
.nav-cta .btn-outline:hover{ background: var(--forest); color:var(--white); }

.nav-toggle{
  display:none;
  width: 42px; height:42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:18px; height:2px; background: var(--forest);
  position:relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--cream);
    flex-direction:column; align-items:flex-start;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
    display:none;
    gap: 16px;
  }
  .nav-links.open{ display:flex; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 88vh;
  display:flex; align-items:flex-end;
  color: var(--white);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(15,35,26,.94) 0%, rgba(16,40,29,.62) 42%, rgba(16,40,29,.28) 68%, rgba(16,40,29,.5) 100%);
}
.hero-inner{
  position:relative;
  z-index:2;
  padding-bottom: 76px;
  width:100%;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 22px;
}
.hero-eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--gold); }
.hero h1{
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 15ch;
  margin-bottom: .4em;
}
.hero h1 em{
  font-style: normal;
  color: var(--gold);
}
.hero p.lead{
  color: rgba(255,255,255,.86);
  max-width: 46ch;
  font-size: 1.08rem;
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap:14px;
  margin-top: 30px;
}

/* thin page hero for inner pages */
.page-hero{
  position:relative;
  color: var(--white);
  padding: 130px 0 70px;
  overflow:hidden;
}
.page-hero-bg{
  position:absolute; inset:0;
  background-size: cover; background-position:center;
}
.page-hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(115deg, rgba(15,35,26,.95) 10%, rgba(22,60,44,.72) 60%, rgba(22,60,44,.5) 100%);
}
.page-hero-inner{ position:relative; z-index:2; }
.page-hero .eyebrow{ color: var(--gold-soft); }
.page-hero .eyebrow::before{ background: var(--gold); }
.page-hero h1{ color: var(--white); font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 20ch; }
.page-hero p{ color: rgba(255,255,255,.85); max-width: 56ch; font-size: 1.05rem; }
.crumb{ font-size:.85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.crumb a{ color: rgba(255,255,255,.92); font-weight:600; }
.crumb span{ opacity:.6; margin: 0 8px; }

/* ==========================================================================
   Route divider — signature element (dashed travel path + waypoints)
   ========================================================================== */
.route-divider{
  position: relative;
  height: 64px;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
}
.route-divider svg{ width:100%; height:100%; display:block; }
.route-path{
  stroke-dasharray: 2 14;
  stroke-linecap: round;
}

/* Process / route steps (used on index "why choose us") */
.route-steps{
  position: relative;
}
.route-steps .route-line{
  position:absolute;
  top: 27px; left: 6%; right: 6%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 0 60%, transparent 0 100%);
  background-size: 16px 2px;
  background-repeat: repeat-x;
  z-index:0;
}
.steps-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position:relative;
  z-index:1;
}
.step{ text-align:left; }
.step .num{
  width: 56px; height:56px;
  border-radius:50%;
  background: var(--forest);
  color: var(--gold-soft);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 1.15rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.step h3{ font-size: 1.05rem; margin-bottom: 8px; }
.step p{ font-size: .93rem; margin:0; }

@media (max-width: 900px){
  .steps-grid{ grid-template-columns: 1fr 1fr; }
  .route-steps .route-line{ display:none; }
}
@media (max-width: 560px){
  .steps-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stat / passport-stamp badges — signature element
   ========================================================================== */
.stats-row{
  display:flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}
.stamp{
  width: 148px; height: 148px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center;
  padding: 10px;
  transform: rotate(-4deg);
  background: rgba(255,255,255,.03);
}
.stamp:nth-child(even){ transform: rotate(3deg); }
.stamp .n{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 1.7rem;
  color: var(--gold);
  line-height:1;
}
.stamp .l{
  font-size: .74rem;
  color: rgba(255,255,255,.85);
  margin-top: 6px;
  letter-spacing: .02em;
}
.stamp.on-light{ border-color: var(--leaf); }
.stamp.on-light .n{ color: var(--forest); }
.stamp.on-light .l{ color: var(--ink-soft); }

/* ==========================================================================
   Intro / about split
   ========================================================================== */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media{ position:relative; }
.split-media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width:100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split-media .float-card{
  position:absolute;
  bottom: -22px; left: -22px;
  background: var(--forest);
  color: var(--white);
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.split-media .float-card .n{
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight:700;
}
.split-media .float-card .l{ font-size: .8rem; color: rgba(255,255,255,.85); }

@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media{ order:0; }
  .split-media .float-card{ left: 12px; bottom: -18px; }
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .icon{
  width: 52px; height:52px;
  border-radius: 12px;
  background: var(--leaf-soft);
  color: var(--forest);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.card .icon svg{ width:26px; height:26px; }
.card h3{ font-size: 1.12rem; margin-bottom: 10px; }
.card p{ font-size: .94rem; margin:0; }

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

/* ==========================================================================
   Destination gallery
   ========================================================================== */
.dest-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 18px;
}
.dest{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.dest.big{ grid-row: span 2; }
.dest img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.dest:hover img{ transform: scale(1.07); }
.dest::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(15,35,26,.85) 0%, rgba(15,35,26,0) 55%);
}
.dest-label{
  position:absolute; left:18px; right:18px; bottom:16px; z-index:2;
  color: var(--white);
}
.dest-label .tag{
  font-size: .72rem; font-weight:700; letter-spacing:.05em;
  color: var(--gold-soft);
  display:block; margin-bottom:4px;
}
.dest-label h3{ color: var(--white); font-size: 1.15rem; margin:0; }

@media (max-width: 900px){
  .dest-grid{ grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .dest.big{ grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px){
  .dest-grid{ grid-template-columns: 1fr; grid-template-rows: none; }
  .dest.big{ grid-column: auto; }
  .dest{ height: 220px; }
}

/* ==========================================================================
   Testimonial / CTA band
   ========================================================================== */
.band{
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-2) 100%);
  color: var(--white);
  position: relative;
  overflow:hidden;
}
.band::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 85% 20%, rgba(199,154,61,.18), transparent 45%);
}
.band-inner{ position:relative; z-index:1; text-align:center; }
.band h2{ color: var(--white); }
.band p{ color: rgba(255,255,255,.82); max-width: 56ch; margin-left:auto; margin-right:auto; }
.band .btn-row{ display:flex; gap:14px; justify-content:center; margin-top: 28px; flex-wrap:wrap; }

/* Quotes */
.quote-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.quote .stars{ color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.quote p{ font-size: .95rem; color: var(--ink); margin-bottom: 16px; }
.quote .who{ font-size: .85rem; font-weight:700; color: var(--forest); }
.quote .who span{ font-weight:400; color: var(--ink-soft); }

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

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{
  display:grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 44px;
  align-items:start;
}
.contact-list{ display:flex; flex-direction:column; gap: 16px; }
.contact-item{
  display:flex; gap: 16px;
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-item .icon{
  width:46px; height:46px; flex:none;
  border-radius:50%;
  background: var(--leaf-soft);
  color: var(--forest);
  display:flex; align-items:center; justify-content:center;
}
.contact-item .icon svg{ width:22px; height:22px; }
.contact-item h3{ font-size: .98rem; margin-bottom: 4px; }
.contact-item p, .contact-item a{ font-size: .92rem; margin:0; color: var(--ink-soft); }
.contact-item a:hover{ color: var(--leaf); }

.map-wrap{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 420px;
}
.map-wrap iframe{ width:100%; height:100%; min-height:420px; border:0; display:block; }

.hours-card{
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--line);
}
.hours-row{
  display:flex; justify-content:space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
}
.hours-row:last-child{ border-bottom:none; }
.hours-row .d{ font-weight:600; color: var(--ink); }
.hours-row .t{ color: var(--ink-soft); }

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

/* ==========================================================================
   Timeline (About page)
   ========================================================================== */
.timeline{
  position:relative;
  padding-left: 30px;
  border-left: 2px dashed var(--gold);
}
.timeline-item{ position:relative; padding-bottom: 40px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:"";
  position:absolute; left:-38px; top:2px;
  width:14px; height:14px; border-radius:50%;
  background: var(--forest);
  border: 3px solid var(--gold);
}
.timeline-item .yr{
  font-family: var(--font-display);
  color: var(--leaf);
  font-weight:700;
  font-size: 1rem;
  margin-bottom: 6px;
  display:block;
}
.timeline-item h3{ font-size: 1.05rem; margin-bottom:6px; }
.timeline-item p{ margin:0; font-size:.93rem; }

/* Values grid */
.values-grid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
}
.value{ text-align:center; }
.value .icon{
  width:60px; height:60px; border-radius:50%;
  background: var(--forest);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 16px;
}
.value .icon svg{ width:28px; height:28px; }
.value h3{ font-size: 1rem; }
.value p{ font-size: .88rem; }

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

/* Team */
.team-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card{ text-align:center; }
.team-card .ph{
  width:100%; aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--forest);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
  overflow:hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.team-card .ph svg{ width: 40%; height:40%; }
.team-card h3{ font-size: .98rem; margin-bottom:2px; }
.team-card p{ font-size: .82rem; margin:0; }

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

/* ==========================================================================
   Policy page
   ========================================================================== */
.policy{
  max-width: 820px;
  margin: 0 auto;
}
.policy .updated{
  display:inline-block;
  background: var(--leaf-soft);
  color: var(--forest);
  font-size: .82rem;
  font-weight:700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.policy h2{
  font-size: 1.3rem;
  margin-top: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.policy h2:first-of-type{ border-top:none; margin-top:0; padding-top:0; }
.policy h3{ font-size: 1.05rem; margin-top: 22px; }
.policy p, .policy li{ color: var(--ink-soft); font-size: .98rem; }
.policy ul{ padding-left: 22px; list-style: disc; margin-bottom: 1em; }
.policy li{ margin-bottom: 8px; }
.policy .toc{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 40px;
}
.policy .toc h3{ margin-top:0; font-size:.95rem; color: var(--forest); }
.policy .toc ol{ padding-left: 20px; margin:0; }
.policy .toc li{ margin-bottom:6px; font-size:.92rem; }
.policy .toc a{ color: var(--ink-soft); }
.policy .toc a:hover{ color: var(--leaf); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--forest);
  color: rgba(255,255,255,.85);
  padding: 64px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand .brand{ color: var(--white); }
.footer-brand .brand .mark{ background: var(--gold); color: var(--forest); }
.footer-brand p{ color: rgba(255,255,255,.68); font-size: .9rem; margin-top: 14px; max-width: 32ch; }
.footer-col h4{
  color: var(--white); font-family: var(--font-body);
  font-size: .85rem; letter-spacing:.04em; font-weight:700;
  margin-bottom: 18px; text-transform: uppercase;
}
.footer-col ul{ display:flex; flex-direction:column; gap: 11px; }
.footer-col a, .footer-col p{ color: rgba(255,255,255,.72); font-size: .9rem; margin:0; }
.footer-col a:hover{ color: var(--gold); }
.footer-social{ display:flex; gap:10px; margin-top: 16px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%;
  background: rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background: var(--gold); color: var(--forest); }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 26px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  flex-wrap:wrap;
  gap: 10px;
}
.footer-bottom a{ color: rgba(255,255,255,.6); }
.footer-bottom a:hover{ color: var(--gold); }

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

/* ==========================================================================
   Reveal-on-scroll (subtle, respects reduced motion)
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* Back to top */
.to-top{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height:46px; border-radius:50%;
  background: var(--forest); color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
  opacity:0; pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.show{ opacity:1; pointer-events:auto; }
.to-top:hover{ transform: translateY(-3px); }
