/* ── HERO JUNGLE: liana title + material slabs ── */

/* Title */
.hero-name{will-change:transform,opacity;}
.hero-name .sr-name{display:block;}
.hero-name.liana-ready .sr-name{
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;
}
.liana-title{display:block;width:min(86vw,760px);margin-left:-28px;line-height:0;}
.liana-svg{
  display:block;width:100%;height:auto;overflow:visible;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.6)) drop-shadow(0 0 34px rgba(120,180,70,.10));
}
.hero-name.liana-ready em{margin-top:-6%;position:relative;z-index:1;text-shadow:0 0 10px #07090f,0 0 18px #07090f;}

.lt-body{animation:lt-fade 1.1s ease-out both;}
@keyframes lt-fade{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}

.lt-grow{stroke-dasharray:1;stroke-dashoffset:1;animation:lt-grow 1.6s cubic-bezier(.4,.1,.3,1) forwards;}
@keyframes lt-grow{to{stroke-dashoffset:0;}}

.lt-leaf{transform-box:fill-box;transform-origin:0 50%;animation:lt-pop .6s cubic-bezier(.34,1.5,.64,1) both;}
@keyframes lt-pop{from{transform:scale(0);}to{transform:scale(1);}}

.lt-sway{transform-box:view-box;animation:lt-sway 5s ease-in-out infinite alternate;}
@keyframes lt-sway{from{transform:rotate(-3.5deg);}to{transform:rotate(3.5deg);}}

.liana-svg:not(.lt-go) .lt-body,.liana-svg:not(.lt-go) .lt-grow,.liana-svg:not(.lt-go) .lt-leaf{animation-play-state:paused;}

/* Slabs */
.hero-rule{display:none;}
#hero .hero-tags{gap:22px;margin-top:30px;align-items:flex-start;}
.slab-hang{
  --r:0deg;--d:0s;
  position:relative;display:inline-block;
  transform-origin:50% -34px;
  animation:slab-swing 6s ease-in-out var(--d) infinite alternate;
}
.slab-hang:hover{animation-duration:1.3s;}
@keyframes slab-swing{from{transform:rotate(calc(var(--r) - 1.6deg));}to{transform:rotate(calc(var(--r) + 1.6deg));}}
/* liana cords the slabs hang from */
.slab-hang::before,.slab-hang::after{
  content:'';position:absolute;bottom:calc(100% - 5px);width:5px;height:36px;border-radius:3px;z-index:1;
  background:
    repeating-linear-gradient(160deg,transparent 0 3px,rgba(0,0,0,.35) 3px 4px),
    linear-gradient(90deg,#2c4515,#5f8a2c 45%,#33501a);
  box-shadow:0 0 0 1px rgba(8,12,4,.6);
}
.slab-hang::before{left:18%;transform:rotate(-6deg);}
.slab-hang::after{right:18%;transform:rotate(6deg);}
.slab{
  position:relative;display:inline-block;
  padding:13px 24px 12px;
  font-size:.82rem;letter-spacing:5px;text-transform:uppercase;font-weight:700;
  cursor:default;user-select:none;transition:filter .3s;
}
.slab-hang:hover .slab{filter:brightness(1.1);}

/* 1 — Carrara marble, incised gold leaf */
.slab-marble{
  font-family:'Noto Serif JP',Georgia,serif;
  color:#a8822a;
  text-shadow:0 1px 0 rgba(255,255,255,.75),0 -1px 0 rgba(70,45,0,.45);
  background:
    linear-gradient(160deg,rgba(255,255,255,.35),transparent 40%,rgba(0,0,0,.08)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='140'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.008 0.022' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='table' tableValues='.97 .97 .9 .97 .97 .97 .52 .97 .97 .97 .97 .88 .97 .97'/%3E%3CfeFuncG type='table' tableValues='.95 .95 .88 .95 .95 .95 .5 .95 .95 .95 .95 .86 .95 .95'/%3E%3CfeFuncB type='table' tableValues='.93 .93 .88 .93 .93 .93 .56 .93 .93 .93 .93 .86 .93 .93'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") center/cover,
    #f1ede6;
  border-radius:3px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.6),
    inset 0 0 0 5px rgba(0,0,0,.04),
    inset 0 -3px 6px rgba(0,0,0,.18),
    0 8px 18px rgba(0,0,0,.55),0 2px 0 #b9b2a6,0 3px 0 #8f887c;
}

/* 2 — rough granite, chiselled, with moss */
.slab-granite{
  font-family:'Special Elite',monospace;letter-spacing:4px;
  color:#15171a;font-size:.86rem;
  text-shadow:1px 1px 0 rgba(255,255,255,.45),-1px -1px 0 rgba(0,0,0,.7),0 0 1px rgba(0,0,0,.6);
  background:
    radial-gradient(ellipse 30% 45% at 0% 100%,rgba(92,130,45,.85),rgba(92,130,45,0) 70%),
    radial-gradient(ellipse 18% 30% at 100% 0%,rgba(110,150,55,.7),rgba(110,150,55,0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 .55 .12 0 0 0 .55 .13 0 0 0 .55 .15 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    linear-gradient(170deg,#a3a6ab,#74777d);
  clip-path:polygon(2% 8%,9% 0,28% 4%,47% 0,71% 3%,90% 0,99% 9%,100% 42%,97% 70%,100% 93%,84% 100%,60% 96%,38% 100%,16% 97%,0 100%,3% 66%,0 38%);
  padding:15px 28px 14px;
}
/* clip-path hides box-shadow, so the shadow comes from the wrapper */
.slab-hang:has(.slab-granite){filter:drop-shadow(0 8px 10px rgba(0,0,0,.6));}

/* 3 — walnut plank, branded letters, nails */
.slab-walnut{
  font-family:'Noto Serif JP',Georgia,serif;
  color:#1e0f04;
  text-shadow:0 0 1px rgba(30,10,0,.9),0 0 5px rgba(90,30,0,.45),0 1px 0 rgba(255,210,160,.18);
  background:
    radial-gradient(circle at 10px 50%,#d8d2c4 0 2px,#5a5650 2.5px 3.5px,transparent 4px),
    radial-gradient(circle at calc(100% - 10px) 50%,#d8d2c4 0 2px,#5a5650 2.5px 3.5px,transparent 4px),
    linear-gradient(90deg,rgba(0,0,0,.35),transparent 6%,transparent 94%,rgba(0,0,0,.35)),
    linear-gradient(180deg,rgba(255,220,170,.18),transparent 30%,rgba(0,0,0,.25)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='90'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.18' numOctaves='3' seed='8'/%3E%3CfeColorMatrix values='0 0 0 .55 .26 0 0 0 .34 .13 0 0 0 .18 .05 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E") center/cover,
    #6b4423;
  border-radius:5px 3px 6px 4px;
  padding:13px 30px 12px;
  box-shadow:inset 0 1px 0 rgba(255,220,170,.25),inset 0 -2px 0 rgba(0,0,0,.35),0 8px 18px rgba(0,0,0,.55),0 2px 0 #3a230f;
}

@media(max-width:768px){
  .liana-title{width:96vw;margin-left:-14px;}
  #hero .hero-tags{gap:44px 14px;margin-top:26px;}
  .slab{font-size:.7rem;letter-spacing:3px;padding:11px 16px 10px;}
  .slab-walnut{padding:11px 22px 10px;}
}

/* ── Remaining hero text ── */

/* full name: moss growing in letters inlaid in the stone */
#hero .hero-name em{
  font-weight:700;letter-spacing:6px;font-size:clamp(1.05rem,2.7vw,1.95rem);
  color:transparent;-webkit-text-fill-color:transparent;
  background:radial-gradient(ellipse 30% 80% at 70% 50%,rgba(190,215,120,.35),transparent 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='60'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.18' numOctaves='4' seed='2'/%3E%3CfeColorMatrix values='0 0 0 .5 .14 0 0 0 .95 .22 0 0 0 .35 .04 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") 0 0/220px 60px,#46602a;
  -webkit-background-clip:text;background-clip:text;
  text-shadow:none;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.10)) drop-shadow(0 -1px 0 rgba(0,0,0,.9)) drop-shadow(0 2px 6px rgba(0,0,0,.6));
}

/* location: wooden trail arrow lashed with liana */
#hero .loc-pill{
  position:relative;isolation:isolate;border:none;background:none;
  padding:9px 40px 9px 36px;
  font-family:'Special Elite',monospace;font-size:.72rem;letter-spacing:2.5px;
  color:#2a1607;text-shadow:0 0 1px rgba(40,15,0,.8),0 1px 0 rgba(255,220,170,.28);
  filter:drop-shadow(0 6px 8px rgba(0,0,0,.6));
  transform:rotate(-1.2deg);margin-top:4px;
}
#hero .loc-pill::before{
  content:'';position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(255,225,180,.22),transparent 35%,rgba(0,0,0,.28)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='60'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.007 0.22' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 .5 .42 0 0 0 .34 .26 0 0 0 .2 .12 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E") center/cover,#9a6d3e;
  clip-path:polygon(0 6%,2% 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,1% 100%,0 92%);
}
#hero .loc-pill::after{
  content:'';position:absolute;left:11px;top:-5px;bottom:-5px;width:11px;border-radius:4px;
  background:repeating-linear-gradient(-32deg,#6a8f34 0 3px,#3a5418 3px 5px);
  box-shadow:0 0 0 1px rgba(10,14,5,.7),inset 0 0 2px rgba(0,0,0,.5);
}

/* bio: torn field-journal parchment tied on with a vine */
#hero .hero-bio{
  position:relative;isolation:isolate;
  max-width:520px;margin-top:10px;
  color:#3b2a16;font-style:italic;font-weight:400;line-height:1.8;
  border-left:none;padding:24px 28px 22px 30px;text-shadow:none;
  transform:rotate(.7deg);
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.65));
}
#hero .hero-bio::before{
  content:'';position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(ellipse 35% 45% at 8% 12%,rgba(120,80,30,.22),transparent 70%),
    radial-gradient(ellipse 40% 50% at 95% 95%,rgba(90,55,20,.30),transparent 70%),
    linear-gradient(90deg,rgba(80,50,20,.12),transparent 8%,transparent 92%,rgba(80,50,20,.16)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5' seed='9'/%3E%3CfeColorMatrix values='0 0 0 -.22 1.02 0 0 0 -.26 .95 0 0 0 -.3 .82 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E") center/cover,#e4d3ae;
  clip-path:polygon(0.0% 0.8%,3.8% 0.4%,7.7% 1.6%,11.5% 0.2%,15.4% 1.3%,19.2% 0.9%,23.1% 0.1%,26.9% 1.2%,30.8% 0.1%,34.6% 1.0%,38.5% 0.2%,42.3% 0.2%,46.2% 1.0%,50.0% 2.0%,53.8% 0.3%,57.7% 0.5%,61.5% 1.5%,65.4% 2.3%,69.2% 1.4%,73.1% 1.0%,76.9% 2.3%,80.8% 0.1%,84.6% 2.1%,88.5% 0.7%,92.3% 0.3%,96.2% 0.3%,100.0% 0.7%,98.9% 11.1%,99.7% 22.2%,99.2% 33.3%,99.1% 44.4%,99.5% 55.6%,99.2% 66.7%,99.9% 77.8%,99.9% 88.9%,100.0% 99.4%,96.2% 98.0%,92.3% 98.7%,88.5% 99.1%,84.6% 98.2%,80.8% 98.6%,76.9% 99.1%,73.1% 97.6%,69.2% 97.9%,65.4% 99.3%,61.5% 98.3%,57.7% 98.4%,53.8% 97.4%,50.0% 97.8%,46.2% 99.1%,42.3% 97.1%,38.5% 99.6%,34.6% 98.7%,30.8% 97.7%,26.9% 99.5%,23.1% 98.5%,19.2% 99.9%,15.4% 98.0%,11.5% 97.7%,7.7% 98.3%,3.8% 97.4%,0.0% 99.1%,1.0% 88.9%,0.8% 77.8%,0.8% 66.7%,0.6% 55.6%,1.2% 44.4%,1.3% 33.3%,0.7% 22.2%,0.9% 11.1%);
}
#hero .hero-bio::after{
  content:'';position:absolute;left:50%;top:-16px;width:84px;height:42px;margin-left:-42px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cpath d='M6 22 C20 8 34 30 48 16 S70 12 76 20' fill='none' stroke='%230c1206' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M6 22 C20 8 34 30 48 16 S70 12 76 20' fill='none' stroke='%235f8a2c' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M40 20 C44 10 56 6 64 6 C58 14 50 20 40 20Z' fill='%236e9a34' stroke='%2316300c'/%3E%3Cpath d='M30 20 C24 28 16 34 8 34 C12 26 20 21 30 20Z' fill='%234f7a26' stroke='%2316300c'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* scroll hint: a little dangling leaf */
#hero .scroll-hint{
  display:inline-flex;align-items:center;gap:10px;
  color:rgba(175,205,125,.62);animation:hint-fade 3.2s ease-in-out infinite;
}
#hero .scroll-hint::before{
  content:'';width:14px;height:30px;flex:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40'%3E%3Cpath d='M10 0 Q12 10 10 20' fill='none' stroke='%235f8a2c' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10 19 C4 24 4 32 10 39 C16 32 16 24 10 19Z' fill='%236e9a34' stroke='%2316300c' stroke-width='.8'/%3E%3Cpath d='M10 21 L10 37' stroke='%23cfe596' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") center/contain no-repeat;
  transform-origin:50% 0;animation:hint-bob 1.9s ease-in-out infinite;
}
@keyframes hint-bob{0%,100%{transform:translateY(0) rotate(-8deg);}50%{transform:translateY(4px) rotate(8deg);}}
@keyframes hint-fade{0%,100%{opacity:.55;}50%{opacity:1;}}

/* monkey */
.lt-monkey{transition:opacity 1.2s ease;}
.lt-monkey.in{opacity:1;}

@media(max-width:768px){
  #hero .hero-bio{padding:20px 20px 18px 22px;font-size:.86rem;}
}
/* Hero animations intentionally ignore prefers-reduced-motion (site owner's choice). */

/* Basalt ground (textures drawn by assets/basalt.js; technique from the PSworks site) */
html.basalt-ready body{
  background-color:#131211;
  background-image:
    radial-gradient(1400px 900px at 12% -8%,rgba(255,236,220,.05),transparent 62%),
    var(--basalt-tex,none),
    var(--grain,none);
  background-size:auto,384px 384px,160px 160px;
  background-attachment:fixed,fixed,fixed;
}
