/*
 * KEMET VAULT | approved reference image fidelity pass v6
 * Ref: full editorial concept: Sphinx sunset, warm papyrus, six photographic
 * eras, tourism + illustrated route map, deep Nile research, museum objects.
 * Intentional exceptions: published first-party photography and factual copy.
 */
body.home{--kv6-gold:#d8ac67;--kv6-paper:#f5e8d3;--kv6-parchment:#faeedb;--kv6-ink:#261f1a}
body.home #site-header.kv-header{position:absolute!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0;right:0;z-index:50;background:linear-gradient(180deg,rgba(9,23,34,.80),rgba(9,23,34,.04))!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
body.home #site-header .kv-header-inner{max-width:1480px!important;margin:0 auto!important;min-height:80px;display:flex;align-items:center;gap:19px;padding-inline:clamp(21px,3.6vw,54px)}
body.home #site-header .kv-brand{color:#fff7e9!important;display:flex;gap:12px;align-items:center;white-space:nowrap}
body.home #site-header .kv-brand-mark{font-size:34px!important;color:#e4b763!important;text-shadow:0 2px 12px rgba(20,21,17,.5)}
body.home #site-header .kv-brand strong{font:500 clamp(19px,2vw,27px)/1.1 Georgia,serif!important;letter-spacing:.08em;color:#fff4e3!important}
body.home #site-header .kv-brand small{font-size:9px!important;letter-spacing:.14em!important;color:#e8dcc6!important}
body.home #site-header .kv-nav{flex:1;display:flex;justify-content:center;gap:clamp(12px,1.7vw,25px)}
body.home #site-header .kv-nav>a{color:#fff3e2!important;text-decoration:none!important;border:0!important;padding:9px 2px!important;font-weight:600;font-size:12px;white-space:nowrap;opacity:.96}
body.home #site-header .kv-nav>a:hover,body.home #site-header .kv-nav>a[aria-current="page"]{color:#f5ca82!important;border-bottom:1px solid #e7b76d!important}
body.home #site-header .kv-search-trigger{border:1px solid #d5b079!important;border-radius:50%!important;color:#ffdf9f!important;background:rgba(5,17,27,.32)!important;min-width:38px;min-height:38px;display:grid;place-items:center;font-size:23px}
body.home #site-header .kv-search-trigger:hover{background:#d5a35b!important;color:#122331!important}
body.home #site-header .kv-nav-visit{color:#f8dca8!important}
body.home #site-header .kv6-header-cta{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid #e3ba7a;border-radius:5px;background:linear-gradient(135deg,#b48443,#956b33);padding:9px 16px;color:#fff7e9!important;font-size:12px;font-weight:780;white-space:nowrap;box-shadow:0 4px 16px rgba(22,12,3,.17)}
body.home #site-header .kv6-header-cta:hover{background:#d5a45f}
body.home #site-header .kv-nav-toggle{color:#ffe7b7!important}
/* EXACT REFERENCE HERO LAYOUT: giant warm full-bleed photo, three-line white/gold serif */
body.home .kv5-hero{min-height:clamp(610px,75vh,790px)!important;background:#a77b4b!important;position:relative}
body.home .kv5-hero-image{filter:sepia(.3) saturate(1.4) contrast(1.06) brightness(1.05)!important;object-position:61% 45%!important;transform:none!important}
body.home .kv5-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 82% 16%,rgba(255,195,99,.42),transparent 43%);mix-blend-mode:screen}
body.home .kv5-hero-shade{background:linear-gradient(90deg,rgba(5,17,28,.94) 0%,rgba(5,18,30,.84) 29%,rgba(8,23,36,.35) 56%,rgba(10,23,32,.06) 83%),linear-gradient(0deg,rgba(36,20,10,.36),transparent 25%,rgba(226,150,65,.2) 93%)!important}
body.home .kv5-hero-inner{max-width:1480px!important;min-height:inherit!important;padding:clamp(130px,13vw,210px) clamp(28px,5.6vw,82px) 110px!important;align-items:center!important}
body.home .kv5-hero-copy{max-width:650px}
body.home .kv5-hero .kv5-eyebrow{font-size:12px!important;letter-spacing:.26em;color:#e9b85c!important}
body.home .kv5-hero h1{font:500 clamp(55px,6.2vw,95px)/.97 Georgia,Times,serif!important;max-width:13ch!important;letter-spacing:-.05em!important;color:#fff9ea!important;margin:16px 0 20px!important;text-shadow:0 5px 22px rgba(5,17,24,.33)}
body.home .kv5-hero h1 span{display:block;color:#f4c776!important;white-space:nowrap}
body.home .kv5-hero-copy>p{font-size:clamp(14px,1.25vw,17px)!important;line-height:1.55!important;color:#f7edda!important;max-width:57ch;margin-bottom:21px!important}
body.home .kv5-search{max-width:625px}
body.home .kv5-search>label{font-weight:700!important;color:#f2d7a5!important;letter-spacing:.04em;margin-bottom:7px}
body.home .kv5-search-input{min-height:57px!important;border-radius:30px!important;border:2px solid rgba(235,191,106,.86)!important;box-shadow:0 8px 24px rgba(0,0,0,.24);background:#fffcf5!important}
body.home .kv5-search-input input{min-height:54px;color:#25313b!important;font-size:14px!important}
body.home .kv5-search-input button{background:linear-gradient(135deg,#d3a462,#b5833e)!important;color:#fff9e9!important;border-radius:50%!important;width:49px;height:49px;margin:3px;padding:0!important;font-size:23px!important;line-height:1;display:grid;place-items:center}
body.home .kv5-hero-buttons{gap:12px!important;margin-top:14px}
body.home .kv5-button{padding:13px 23px!important;min-width:215px;border-radius:7px!important;font:600 17px/1.25 Georgia,serif!important;box-shadow:0 10px 18px rgba(5,15,20,.24);height:57px}
body.home .kv5-button-gold{background:linear-gradient(115deg,#c1944b,#91651f)!important;border-color:#f9c879!important;color:#fff9ee!important}
body.home .kv5-button-teal{background:linear-gradient(115deg,#05333c,#08515a)!important;border-color:#5ac1b6!important}
body.home .kv5-button:before{font:700 23px/1 Georgia,serif;color:#ffdb9d}
body.home .kv5-button-gold:before{content:"▥"}
body.home .kv5-button-teal:before{content:"♧"}
body.home .kv6-hero-quote{position:absolute;right:clamp(28px,5.4vw,85px);bottom:70px;color:#fff0d7;font:italic 500 clamp(16px,1.6vw,23px)/1.2 Georgia,serif;text-align:right;text-shadow:0 3px 12px rgba(0,0,0,.65);max-width:270px}
body.home .kv6-hero-quote span{color:#edb66f;display:inline-block;min-width:35px;font-size:25px}
body.home .kv5-hero-switch{right:clamp(28px,5.4vw,85px);bottom:164px;background:rgba(5,24,30,.51);border:1px solid rgba(240,208,145,.48)}
body.home .kv5-hero-scroll{display:none}
/* Warm papyrus, section geometry and left-edge botanical motifs */
body.home .kv5-period-section,body.home .kv5-travel-section{background-color:#f4e8d5!important;background-image:radial-gradient(ellipse at 98% 15%,rgba(192,152,89,.12),transparent 40%),linear-gradient(115deg,rgba(255,253,247,.55),transparent 65%)!important}
body.home .kv5-period-section:before,body.home .kv5-travel-section:before{content:"❧";position:absolute;left:-10px;top:43px;color:rgba(79,112,63,.18);font:normal 210px/1 Georgia,serif;transform:rotate(-23deg);pointer-events:none}
body.home .kv5-container{max-width:1480px;padding-inline:clamp(27px,4.3vw,65px)}
body.home .kv5-section{padding:clamp(43px,4.4vw,68px) 0!important}
body.home .kv5-section-heading{margin-bottom:23px}
body.home .kv5-section-heading h2{font:500 clamp(34px,3.8vw,55px)/1.08 Georgia,serif!important;letter-spacing:-.035em;color:#211e19!important;margin:8px 0 8px!important}
body.home .kv5-section-heading p{font-size:14px!important;color:#776d61!important}
body.home .kv5-all-link{color:#855923!important;border-color:#9f7339!important}
body.home .kv5-period-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px!important}
body.home .kv5-period-card{min-height:clamp(300px,24vw,362px)!important;border-radius:8px!important}
body.home .kv5-card-shade{background:linear-gradient(0deg,rgba(2,12,18,.92) 0%,rgba(3,14,23,.26) 46%,transparent 70%)!important}
body.home .kv5-card-num{font:700 14px Georgia,serif!important;margin-top:auto;padding:0 14px 0;color:#ffe1a3}
body.home .kv5-card-bottom{padding:6px 14px 35px}
body.home .kv5-card-bottom strong{font:500 clamp(17px,1.8vw,24px)/1.1 Georgia,serif!important}
body.home .kv5-card-bottom small{font-size:11px!important}
body.home .kv5-card-arrow{background:#e9bd71;color:#173038;border-radius:50%;right:10px;bottom:9px}
body.home .kv5-scroll-controls{margin-top:12px}
body.home .kv5-scroll-controls>span{color:#9a7b56}
body.home .kv5-scroll-controls button{border-color:#c5a474!important;background:transparent!important}
body.home .kv5-scroll-controls button:hover{background:#e8bf7a!important}
/* TOURISM: six tall portraits plus parchment map like the supplied mockup */
body.home .kv5-travel-layout{grid-template-columns:minmax(0,1fr) minmax(195px,.20fr)!important;gap:12px!important}
body.home .kv5-destination-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px!important}
body.home .kv5-destination-card{min-height:clamp(310px,25vw,370px)!important;border-radius:8px}
body.home .kv5-dest-copy strong{font:500 clamp(19px,1.8vw,27px)/1.15 Georgia,serif!important}
body.home .kv5-travel-map{border:0!important;min-height:clamp(310px,25vw,370px)!important;background:linear-gradient(132deg,#edd8ae,#f5e7cc)!important}
body.home .kv5-map-cta{background:linear-gradient(130deg,#b68b4b,#89632d)!important;color:#fff4dc!important}
body.home .kv5-map-art{height:77%;width:100%;right:-12%}
/* RESEARCH: editorial full-photo dark cards as in the reference image */
body.home .kv5-evidence-section{background:radial-gradient(circle at 96% 0,rgba(19,103,102,.32),transparent 40%),linear-gradient(125deg,#032934,#043b43 56%,#082b32)!important}
body.home .kv5-evidence-section .kv5-section-heading h2{color:#fff0d8!important}
body.home .kv5-evidence-section .kv5-section-heading p{color:#c0d1cc!important}
body.home .kv5-evidence-section .kv5-all-link{color:#ebce8b!important}
body.home .kv5-research-grid{gap:13px}
body.home .kv5-story-card{position:relative;min-height:clamp(320px,27vw,420px);justify-content:end;background:#0d2f38;border-radius:9px;isolation:isolate;box-shadow:0 12px 24px rgba(0,0,0,.2);border-color:rgba(218,170,95,.36)}
body.home .kv5-story-photo{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;filter:saturate(.86) contrast(1.05)}
body.home .kv5-story-card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(3,15,19,.98) 2%,rgba(3,19,23,.81) 35%,rgba(3,18,25,.06) 78%);pointer-events:none}
body.home .kv5-story-copy{padding:17px;min-height:165px;justify-content:end}
body.home .kv5-story-copy>small{position:absolute;top:13px;left:13px;background:#238f9b;color:#fff!important;padding:6px 11px;border-radius:3px;font-size:10px!important;letter-spacing:.13em!important}
body.home .kv5-story-copy strong{font:500 clamp(20px,2vw,27px)/1.22 Georgia,serif!important;color:#fff2df!important;flex:0}
body.home .kv5-story-bottom{margin-top:3px}
body.home .kv5-story-bottom time{color:#e6d5bc!important}
body.home .kv5-story-bottom b{background:#edc380;color:#153a3c}
/* MUSEUM: six polished artifact collection cards on papyrus */
body.home .kv5-museum-section{background:radial-gradient(ellipse at 15% 0,rgba(226,177,101,.21),transparent 39%),linear-gradient(120deg,#f2e0be,#fcf1df 55%,#e8cfaa)!important}
body.home .kv5-museum-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body.home .kv5-museum-card{background:#fff1d8;border:1px solid rgba(172,125,56,.36);border-radius:9px;box-shadow:0 10px 27px rgba(77,55,26,.10)}
body.home .kv5-museum-photo{aspect-ratio:4/3;filter:saturate(1.11) contrast(1.04)}
body.home .kv5-museum-caption{min-height:66px;padding:12px 11px;background:#fbefdb}
body.home .kv5-museum-caption strong{font-size:12px!important;color:#241f19!important}
body.home .kv5-museum-caption i{background:#a87735!important;color:#fff2d5!important}
@media(max-width:1150px){
 body.home #site-header .kv-nav{gap:11px}
 body.home #site-header .kv-nav>a{font-size:11px}
 body.home #site-header .kv-header-inner{gap:12px}
 body.home .kv5-travel-layout{grid-template-columns:minmax(0,1fr)!important}
 body.home .kv5-travel-map{display:none}
 body.home .kv5-destination-grid{grid-template-columns:repeat(6,minmax(150px,1fr))}
}
@media(max-width:980px){
 body.home .kv5-period-grid{grid-auto-columns:minmax(195px,29%);grid-auto-flow:column;grid-template-columns:none}
 body.home .kv5-destination-grid{grid-auto-columns:minmax(160px,28%);grid-auto-flow:column;grid-template-columns:none}
 body.home #site-header .kv6-header-cta{display:none}
 body.home .kv6-hero-quote{display:none}
 body.home .kv5-hero-switch{bottom:30px}
 body.home .kv5-museum-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.home .kv5-hero-inner{padding-top:145px!important}
}
@media(max-width:680px){
 body.home #site-header{background:linear-gradient(180deg,rgba(3,19,28,.9),rgba(3,19,28,.58))!important}
 body.home #site-header .kv-header-inner{min-height:68px}
 body.home #site-header .kv-brand strong{font-size:21px!important}
 body.home #site-header .kv-brand-mark{font-size:27px!important}
 body.home #site-header .kv-nav{position:absolute;left:0;right:0;top:100%;background:#102a35!important;flex-direction:column;align-items:stretch;padding:16px 25px;display:none}
 body.home #site-header .kv-nav.is-open,body.home #site-header .kv-nav[aria-expanded="true"]{display:flex}
 body.home .kv5-hero{min-height:685px!important}
 body.home .kv5-hero-shade{background:linear-gradient(0deg,rgba(5,16,25,.95) 0%,rgba(7,20,30,.81) 66%,rgba(11,22,29,.28) 100%)!important}
 body.home .kv5-hero-inner{padding:116px 19px 110px!important}
 body.home .kv5-hero h1{font-size:clamp(43px,10.3vw,62px)!important;max-width:11ch!important}
 body.home .kv5-hero h1 span{white-space:normal}
 body.home .kv5-hero-copy>p{font-size:13px!important}
 body.home .kv5-button{font-size:13px!important;min-width:0;padding:12px!important;height:54px}
 body.home .kv5-button:before{font-size:19px}
 body.home .kv5-search-input input{font-size:12px!important}
 body.home .kv5-hero-switch{right:19px;left:19px;bottom:19px}
 body.home .kv5-section{padding:38px 0!important}
 body.home .kv5-container{padding-inline:19px}
 body.home .kv5-section-heading h2{font-size:clamp(30px,8vw,42px)!important}
 body.home .kv5-period-grid{grid-auto-columns:72%;grid-template-columns:none}
 body.home .kv5-destination-grid{grid-auto-columns:72%;grid-template-columns:none}
 body.home .kv5-period-card{min-height:315px!important}
 body.home .kv5-destination-card{min-height:336px!important}
 body.home .kv5-research-grid{grid-template-columns:1fr}
 body.home .kv5-story-card{min-height:315px}
 body.home .kv5-museum-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.home .kv5-museum-caption{min-height:70px}
}
@media(prefers-reduced-motion:reduce){body.home .kv5-home *{transition:none!important;animation:none!important;transform:none!important}}
