/* Hekayatna experience v3 — shared navigation, footer, home refinements */
:root{--hn-gold:#eac08c;--hn-cream:#f8e8d9;--hn-muted:#c8b2be;--hn-border:#795268}
body{font-family:Tahoma,Arial,sans-serif}
.site-header{position:sticky;top:0;z-index:100;background:rgba(27,15,27,.97);border-bottom:1px solid #644054;backdrop-filter:blur(14px)}
.site-header .nav{max-width:1320px;width:94%;min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:nowrap;margin:auto}
.site-header .brand{display:flex;align-items:center;gap:10px;font-size:27px;white-space:nowrap;line-height:1.3;color:#edc394}
.site-header .brand .brand-icon{display:grid;place-items:center;border:1px solid #b0835f;border-radius:11px;font-size:25px;width:41px;height:41px}
.site-header .brand small{font-size:10px;color:#d8b4b7;line-height:1.7}
.site-header .links{display:flex;align-items:center;justify-content:center;gap:17px;flex-wrap:nowrap;font-size:13px}
.site-header .links a{white-space:nowrap;min-height:38px;display:flex;align-items:center}
.site-header .links a:hover,.site-footer a:hover{color:#f3ca94}
.site-header .header-cta{white-space:nowrap;padding:9px 15px;font-size:13px}
.site-header .nav-toggle{display:none;align-items:center;gap:9px;background:transparent;color:#f4d9b5;border:1px solid #906b6b;border-radius:10px;padding:9px 14px;min-height:44px}
.site-header .nav-toggle svg,.hn-icon{width:25px;height:25px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.site-header .links a:focus-visible,.site-header .nav-toggle:focus-visible,.site-footer a:focus-visible{outline:3px solid #edbd83;outline-offset:3px}
.site-footer{background:#20131e;border-top:1px solid #644052;margin-top:45px;padding:0;color:#cdb8c1;text-align:right}
.site-footer .footer-inner{width:92%;max-width:1150px;margin:auto;padding:49px 0 32px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}
.site-footer .footer-brand{font-size:26px;color:#ecc28f;font-weight:700}
.site-footer .footer-inner p{line-height:2;max-width:420px;color:#c8b0b9;font-size:14px;margin-top:12px}
.site-footer h3{font-size:16px;color:#f5dcc3;margin:0 0 15px}
.site-footer .footer-links{display:flex;flex-direction:column;gap:10px;font-size:13px}
.site-footer .footer-bottom{border-top:1px solid #523444;padding:18px 0;text-align:center;font-size:12px;color:#b69faa}
.hn .hero-new{padding:66px 0 79px}
.hn .hero-grid{gap:28px}
.hn h1{font-size:clamp(39px,5.1vw,66px);line-height:1.28}
.hn .book-stage{min-height:335px}
.hn .book{width:260px;min-height:322px;transform:rotate(-5deg)}
.hn .book-stage:before{width:330px;height:330px}
.hn .intro{margin-top:-26px}
.hn section.body-section{padding-top:52px}
.hn .heading{margin-bottom:20px}
.hn .path-grid{gap:15px}
.hn .path{min-height:173px;padding:24px}
.hn .path .glyph{display:inline-flex;align-items:center;justify-content:center;color:#ecc28e;background:#57394a;width:47px;height:47px;border:1px solid #8d6572;border-radius:14px;font-size:0}
.hn .path .glyph svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hn .category-new{transition:background .18s,border-color .18s}
.hn .category-new:hover{background:#3c283a;border-color:#c39878}
.hn .cover{height:195px}
.hn .cover img{height:195px}
.hn .story{display:block;min-height:100%;text-decoration:none}
.hn .story-content h3{line-height:1.55}
.hn .story-content p{line-height:1.9}
.hn .story-meta{align-items:center;flex-wrap:wrap;line-height:1.7}
.hn .feature{margin-top:48px;padding:31px}
.hn .ending{padding:54px 0 66px}
.hn .ending-panel{padding:37px 20px}
@media(max-width:1150px){
.site-header .nav{gap:10px}
.site-header .links{gap:10px;font-size:12px}
.site-header .brand{font-size:23px}
.site-header .header-cta{padding:8px 11px}
}
@media(max-width:970px){
.site-header .nav{position:relative;min-height:67px;flex-wrap:wrap;padding:10px 0}
.site-header .nav-toggle{display:flex;order:2;margin-inline-start:auto}
.site-header .header-cta{order:1;margin-inline-start:auto}
.site-header .links{display:none;order:3;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:9px;background:#2a1929;border:1px solid #68465a;border-radius:13px;box-shadow:0 15px 30px #0006}
.site-header .links.is-open{display:flex}
.site-header .links a{font-size:14px;min-height:44px;padding:8px 12px;border-radius:8px}
.site-header .links a:hover{background:#453044}
}
@media(max-width:700px){
.site-footer .footer-inner{grid-template-columns:1fr 1fr;gap:29px}
.site-footer .footer-inner>div:first-child{grid-column:1/-1}
.hn .hero-new{padding:48px 0 70px}
.hn .book-stage{min-height:290px}
.hn .book-stage:before{width:268px;height:268px}
.hn .book{width:225px;min-height:284px}
.hn section.body-section{padding-top:43px}
.hn .path{min-height:154px}
.hn .feature{padding:22px}
.hn .ending{padding:48px 0}
}
@media(max-width:410px){.site-header .header-cta{display:none}.site-header .brand{font-size:23px}.site-footer .footer-inner{grid-template-columns:1fr}.site-footer .footer-inner>div:first-child{grid-column:auto}}

/* Refinement 2026-11-23: desktop headline, vertical rhythm, navigation readability */
@media(min-width:1051px){
.hn .hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:24px}
.hn .hero-new h1{font-size:clamp(43px,3.1vw,53px);line-height:1.34;letter-spacing:-.6px}
.hn .hero-new h1 em{white-space:nowrap}
.site-header .nav{max-width:1400px;width:95%;gap:19px}
.site-header .links{gap:16px;font-size:14px}
.site-header .links a{font-size:14px;font-weight:600}
}
@media(min-width:971px) and (max-width:1050px){
.hn .hero-new h1{font-size:43px;line-height:1.38}
.site-header .nav{width:97%;gap:9px}
.site-header .links{gap:8px;font-size:13px}
.site-header .links a{font-size:13px;font-weight:600}
}
@media(min-width:701px){
.hn .hero-new{padding-top:55px;padding-bottom:68px}
.hn .book-stage{min-height:310px}
.hn section.body-section{padding-top:37px}
.hn .feature{margin-top:30px}
.hn .ending{padding-top:38px;padding-bottom:44px}
.hn .heading{margin-bottom:16px}
.hn .path{min-height:160px}
.hn .category-new{min-height:95px}
}
@media(max-width:700px){
.hn .hero-new h1{font-size:clamp(33px,9vw,43px);line-height:1.4}
.hn section.body-section{padding-top:32px}
.hn .feature{margin-top:28px}
.hn .ending{padding:35px 0 42px}
.site-header .links a{font-size:15px}
}
