﻿/* ============================================================
   MYKAVRA — v3 layer (homepage concept, 2026-11-24)
   Loaded after site.css: only overrides + new page-level blocks.
   Palette: cream / forest / gold, Playfair Display + Inter + Caveat
   ============================================================ */
:root{
  --ivory:#FBF7F0;
  --cream:#FDFAF3;
  --sand:#F3EADA;
  --forest:#1F3B2F;
  --forest-deep:#152C24;
  --forest-band:#1B3A2E;
  --gold:#C0A063;
  --gold-soft:#DCC79F;
  --ink:#20261F;
  --muted:#5B6560;
  --line:rgba(31,59,47,.13);
  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"Inter","Segoe UI",system-ui,sans-serif;
  --script:"Caveat","Segoe Script",cursive;
}
body{background:var(--ivory);font-size:16.5px;color:#26302A}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;color:#17362B}
.wrap{width:min(1220px,94vw)}

/* ---------------- header ---------------- */
header.site{background:rgba(251,247,240,.95);border-bottom:1px solid rgba(31,59,47,.10);backdrop-filter:blur(10px)}
.nav{height:88px;gap:30px;align-items:center}
.brand3{display:flex;align-items:center;gap:12px;text-decoration:none;flex:0 0 auto}
.brand3 .mark{width:60px;height:60px;border-radius:50%;background:#F7F0E2;border:1.5px solid rgba(192,160,99,.6);display:grid;place-items:center;box-shadow:inset 0 0 0 3px rgba(253,250,243,.9)}
.brand3 .mark img{width:42px;height:42px}
.brand3 .bt b{display:block;font-family:var(--serif);font-size:24px;font-weight:600;letter-spacing:.11em;line-height:1;color:#17362B}
.brand3 .bt i{display:block;font-style:normal;font-size:8.5px;letter-spacing:.2em;color:#6B5733;margin-top:5px}

.nav3-links{display:flex;align-items:center;gap:26px;flex:1;margin-left:6px}
.nav3-links > a,.nav3-item > a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;font-size:14.5px;font-weight:500;color:#2C382F;padding:6px 0;border-bottom:1px solid transparent}
.nav3-links > a:hover,.nav3-item > a:hover{color:var(--forest)}
.nav3-links > a.is-active,.nav3-item > a.is-active{border-bottom-color:#2C382F}
.nav3-item{position:relative}
.nav3-item > a svg{width:9px;height:9px;opacity:.6}
.nav3-menu{position:absolute;top:calc(100% + 10px);left:-14px;min-width:268px;max-height:calc(100vh - 96px);overflow-y:auto;background:#FFFCF5;border:1px solid rgba(31,59,47,.12);border-radius:14px;box-shadow:0 26px 50px -30px rgba(20,40,30,.45);padding:10px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:.16s ease;z-index:70}
.nav3-item:hover .nav3-menu,.nav3-item:focus-within .nav3-menu{opacity:1;visibility:visible;transform:none}
.nav3-menu a{display:flex;justify-content:space-between;gap:14px;text-decoration:none;font-size:13.5px;color:#33423A;padding:8px 10px;border-radius:8px}
.nav3-menu a:hover{background:#F5EDDD;color:var(--forest)}
.nav3-menu a span{color:#8A9188;font-size:11.5px;white-space:nowrap;flex:0 0 auto}
.nav3-tools{display:flex;align-items:center;gap:12px}
.search-btn{width:40px;height:40px;border-radius:50%;border:1px solid rgba(31,59,47,.18);background:#FFFCF5;display:grid;place-items:center;cursor:pointer;color:#2C382F}
.search-btn:hover{border-color:rgba(31,59,47,.4)}
.search-btn svg{width:17px;height:17px}
.pets-btn{display:inline-flex;align-items:center;gap:8px;background:#1F3B2F;color:#F8F3E6;text-decoration:none;border-radius:999px;padding:11px 20px;font-size:14px;font-weight:600}
.pets-btn:hover{background:#152C24}
.pets-btn svg{width:16px;height:16px;stroke:#F8F3E6}

/* ---------------- hero ---------------- */
.hero3{padding:28px 0 0}
.hero3-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:center}
.hero3-copy{padding:4px 0 8px}
h1.hero3-title{font-size:clamp(44px,5.4vw,72px);line-height:1.02;letter-spacing:-.015em;margin:0;color:#17362B;font-weight:500}
.hero3-title em{font-style:normal}
.hero3-lede{margin:20px 0 0;font-size:19px;line-height:1.55;color:#3C4A42;max-width:19.5em}
.hero3-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.hero3-proof{display:flex;flex-wrap:wrap;gap:7px 17px;margin:20px 0 0;font-size:13px;line-height:1.4;color:#5F6B63}
.hero3-proof span{position:relative;padding-left:11px}
.hero3-proof span::before{content:"";position:absolute;left:0;top:.52em;width:4px;height:4px;border-radius:50%;background:#B08D57}
.btn3{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:14px 24px;font-size:14.5px;font-weight:600;text-decoration:none;border:1px solid transparent;transition:.18s}
.btn3.primary{background:#1F3B2F;color:#FAF6EA}
.btn3.primary:hover{background:#152C24}
.btn3.outline{border-color:rgba(31,59,47,.32);color:#1F3B2F;background:transparent}
.btn3.outline:hover{background:#FFFCF5;border-color:#1F3B2F}
.btn3 svg{width:15px;height:15px}
.hero3-art{position:relative;min-height:1px}
.hero3-frame{position:relative;border-radius:68% 0 0 0 / 100% 0 0 0}
.hero3-img{position:relative;overflow:hidden;border-radius:68% 0 0 0 / 100% 0 0 0;height:clamp(340px,33vw,452px);background:var(--sand)}
.hero3-img img{width:100%;height:100%;object-fit:cover;object-position:58% 50%}
.hero3-arc{position:absolute;inset:-14px -18px -8px -14px;border-radius:68% 0 0 0 / 100% 0 0 0;border-top:1.5px solid rgba(192,160,99,.7);border-left:1.5px solid rgba(192,160,99,.7);pointer-events:none}

/* ---------------- species cards ---------------- */
.species3{padding:46px 0 0}
.sp-grid3{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.sp3{position:relative;display:block;border-radius:15px;overflow:hidden;aspect-ratio:1.14/1;background:#2B3A31;box-shadow:0 22px 44px -34px rgba(20,40,30,.5)}
.sp3 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.sp3:hover img{transform:scale(1.05)}
.sp3::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,24,19,0) 28%,rgba(14,24,19,.52) 58%,rgba(14,24,19,.9) 82%,rgba(14,24,19,.97) 100%)}
.sp3-in{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:16px 16px 16px;color:#FBF6E9}
.sp3-top{display:flex;align-items:center;gap:9px}
.sp3-top svg{width:20px;height:20px;stroke:#FBF6E9;flex:0 0 auto;opacity:.92}
.sp3-top h3{margin:0;font-family:var(--serif);font-size:22px;font-weight:500;color:#FDFAF1;line-height:1.1}
.sp3-top .arr{margin-left:auto;width:30px;height:30px;border-radius:50%;border:1px solid rgba(253,250,241,.55);display:grid;place-items:center;color:#FDFAF1;font-size:12px;transition:.18s}
.sp3:hover .arr{background:#FDFAF1;color:#1F3B2F}
.sp3-tag{margin:6px 0 0;font-size:13px;line-height:1.35;color:rgba(250,244,232,.88)}

/* ---------------- tools band ---------------- */
.tools3{padding:70px 0 0}
.tools3-wrap{display:grid;grid-template-columns:minmax(190px,.52fr) 2.6fr;gap:40px;align-items:center}
.eyebrow3{display:inline-flex;align-items:center;gap:9px;font-size:10.5px;letter-spacing:.2em;font-weight:600;color:#74562A;text-transform:uppercase}
.eyebrow3::before{content:"";width:20px;height:1px;background:rgba(192,160,99,.85)}
.tools3 h2{font-size:clamp(28px,2.9vw,38px);line-height:1.12;margin:12px 0 0;max-width:9em}
.tools3 p{margin:12px 0 0;font-size:14.5px;color:var(--muted);max-width:16em}
.tools3 .btn3{margin-top:22px}
.tools3-panel{position:relative;background:#FFFCF5;border:1px solid rgba(31,59,47,.10);border-radius:26px;padding:34px 10px;box-shadow:0 34px 70px -60px rgba(20,40,30,.55)}
.tools3-items{display:grid;grid-template-columns:repeat(5,1fr)}
.t3{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:6px 10px;text-align:center;border-left:1px solid rgba(31,59,47,.10);color:#2C382F;min-height:96px}
.t3:first-child{border-left:none}
.t3 svg{width:34px;height:34px;stroke:#1F3B2F;stroke-width:1.4}
.t3 span{font-size:13px;line-height:1.35;font-weight:500;text-decoration:underline;text-decoration-color:rgba(44,56,47,.5);text-underline-offset:4px}
.t3:hover span{text-decoration-color:#1F3B2F}
.tools3-leaf{position:absolute;right:-26px;top:-8px;bottom:-8px;width:120px;opacity:.55;pointer-events:none}
.tools3-leaf svg{width:100%;height:100%;stroke:#8C9A80}
.tools3-notes{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;padding-left:2px;font-size:12.5px;color:#5F6B63}
.tools3-notes span{display:inline-flex;align-items:center;gap:7px}
.tools3-notes svg{width:13px;height:13px;stroke:#8C9A80}

/* ---------------- guides band ---------------- */
.guides3{background:var(--forest-band);margin-top:56px;padding:62px 0 60px;color:#F5EFE1}
.guides3-grid{display:grid;grid-template-columns:1.02fr .95fr .9fr;gap:40px;align-items:center}
.g3-photo{position:relative;border-radius:16px;overflow:hidden;box-shadow:0 30px 60px -40px rgba(0,0,0,.6)}
.g3-photo img{width:100%;height:352px;object-fit:cover;object-position:50% 55%}
.g3-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,22,17,.05) 40%,rgba(12,22,17,.55) 100%)}
.g3-script{position:absolute;left:26px;bottom:22px;right:26px;z-index:2;font-family:var(--script);font-size:38px;line-height:.95;color:#FDF8EA;transform:rotate(-3deg);text-shadow:0 2px 14px rgba(0,0,0,.4)}
.g3-script svg{display:block;width:150px;height:18px;margin-top:4px;stroke:#E4BE7E;stroke-width:2}
.guides3 h2{font-size:clamp(28px,2.9vw,36px);line-height:1.14;margin:12px 0 0;color:#FBF6E9;max-width:11em}
.guides3 .eyebrow3{color:#D7B87C}
.guides3 p{margin:14px 0 0;font-size:14.5px;line-height:1.6;color:rgba(245,239,225,.76);max-width:24em}
.guides3 .btn3{margin-top:24px;background:#F7F1E2;color:#1F3B2F;border-color:transparent}
.guides3 .btn3:hover{background:#FFF9EC}
.g3-list{display:grid;gap:0}
.g3-item{display:flex;align-items:center;gap:14px;padding:16px 0;text-decoration:none;color:#F7F2E6;border-bottom:1px solid rgba(245,239,225,.16)}
.g3-item:first-child{border-top:1px solid rgba(245,239,225,.16)}
.g3-item img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:1px solid rgba(245,239,225,.28)}
.g3-item b{display:block;font-size:14.5px;font-weight:500;color:#FBF7EC;line-height:1.35}
.g3-item span{display:block;font-size:12px;color:rgba(245,239,225,.62);margin-top:3px}
.g3-item:hover b{color:#F3D9A8}

/* ---------------- footer ---------------- */
footer.site{margin-top:0;background:#16332A;border-top:none;color:#EDE7D8;padding:0}
.foot3{display:grid;grid-template-columns:1fr auto auto;gap:48px;align-items:center;padding:36px 0 30px}
.foot3 .brand3 .mark{width:52px;height:52px;background:#F6EFE1;border-color:rgba(192,160,99,.5)}
.foot3 .brand3 .mark img{width:36px;height:36px}
.foot3 .brand3 .bt b{font-size:21px;color:#F7F1E3}
.foot3 .brand3 .bt i{color:rgba(237,231,216,.6)}
.foot3-nav{display:flex;flex-wrap:wrap;gap:8px 0;align-items:center}
.foot3-nav a{text-decoration:none;font-size:13.5px;color:rgba(237,231,216,.88);padding:0 16px;border-left:1px solid rgba(237,231,216,.34)}
.foot3-nav a:first-child{border-left:none;padding-left:0}
.foot3-nav a:hover{color:#F3D9A8}
.foot3-social{display:flex;gap:10px}
.foot3-social a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(237,231,216,.35);display:grid;place-items:center;color:#EDE7D8;text-decoration:none}
.foot3-social a:hover{background:rgba(237,231,216,.12)}
.foot3-social svg{width:15px;height:15px;fill:currentColor}
.foot3-legal{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(237,231,216,.14);padding:14px 0 22px;font-size:11.5px;color:rgba(237,231,216,.58)}
.foot3-legal a{text-decoration:none;color:rgba(237,231,216,.7);margin-left:16px}
.foot3-legal a:hover{color:#F3D9A8}

/* ---------------- search modal ---------------- */
.mk-search{position:fixed;inset:0;z-index:90;display:none;align-items:flex-start;justify-content:center;padding:12vh 20px 40px;background:rgba(18,34,27,.55);backdrop-filter:blur(4px)}
.mk-search.open{display:flex}
.mk-search-box{width:min(620px,100%);background:#FFFCF5;border-radius:18px;padding:20px;box-shadow:0 40px 80px -40px rgba(0,0,0,.55)}
.mk-search-box input{width:100%;border:1px solid rgba(31,59,47,.2);border-radius:12px;padding:12px 14px;font-size:15px;background:#fff}
.mk-search-box input:focus{outline:none;border-color:#1F3B2F;box-shadow:0 0 0 3px rgba(31,59,47,.1)}
.mk-search-results{margin-top:12px;max-height:52vh;overflow:auto;display:grid;gap:2px}
.mk-search-results a{display:block;text-decoration:none;padding:10px 12px;border-radius:10px;color:#2C382F}
.mk-search-results a:hover{background:#F5EDDD}
.mk-search-results b{display:block;font-size:14px}
.mk-search-results span{display:block;font-size:12px;color:#78837B;margin-top:2px}
.mk-search-hint{font-size:11.5px;color:#8A9188;margin:10px 2px 0}

/* ---------------- inner page adjustments ---------------- */
.page-hero h1,.article h1,.sp-hero h1{font-weight:500}
h1{font-weight:500;letter-spacing:-.01em}
h2{font-weight:500;letter-spacing:-.008em}
.prose h2,.article-body h2{font-weight:500}
.section{padding:56px 0 8px}

/* ---------------- responsive ---------------- */
@media (max-width:1100px){
  .nav3-links{gap:18px}
  .nav3-links > a,.nav3-item > a{font-size:13.5px}
  .hero3-grid{grid-template-columns:1fr 1fr;gap:28px}
  .sp-grid3{grid-template-columns:repeat(2,1fr)}
  .tools3-wrap{grid-template-columns:1fr;gap:24px}
  .tools3 h2,.tools3 p{max-width:none}
  .guides3-grid{grid-template-columns:1fr 1fr}
  .g3-list{grid-column:1 / -1}
  .foot3{grid-template-columns:1fr;gap:24px}
}
@media (max-width:860px){
  .hero3-grid{grid-template-columns:1fr;gap:26px}
  .hero3-copy{padding-top:6px}
  .hero3-img{height:min(52vh,400px);border-radius:58% 0 0 0 / 100% 0 0 0}
  .hero3-frame{border-radius:58% 0 0 0 / 100% 0 0 0}
  .hero3-arc{border-radius:58% 0 0 0 / 100% 0 0 0}
  .guides3-grid{grid-template-columns:1fr}
  .g3-photo img{height:300px}
}
@media (max-width:820px){
  .nav3-links,.search-btn,.pets-btn{display:none}
  .menu-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;border:1px solid rgba(31,59,47,.2);background:#FFFCF5;margin-left:auto}
  .nav{height:74px}
}
@media (max-width:760px){
  .brand3 .mark{width:52px;height:52px}
  .brand3 .mark img{width:37px;height:37px}
  .brand3 .bt b{font-size:20px}
  .hero3{padding:22px 0 0}
  h1.hero3-title{font-size:clamp(38px,10vw,48px)}
  .hero3-lede{font-size:16px}
  .hero3-cta .btn3{flex:1 1 auto;justify-content:center}
  .sp-grid3{grid-template-columns:1fr;gap:12px}
  .sp3{aspect-ratio:1.5/1}
  .tools3-panel{padding:20px 6px}
  .tools3-items{grid-template-columns:1fr 1fr}
  .t3{border-left:none;border-top:1px solid rgba(31,59,47,.1);min-height:110px}
  .t3:first-child,.t3:nth-child(2){border-top:none}
  .t3:nth-child(odd){border-right:1px solid rgba(31,59,47,.1)}
  .tools3-leaf{display:none}
  .guides3{padding:40px 0}
  .g3-script{font-size:30px}
  .foot3-legal a{margin-left:0;margin-right:14px}
}

/* ---------------- reptile hub cards ---------------- */
.hub2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:6px}
.hub-card{display:grid;grid-template-columns:150px 1fr;gap:0;text-decoration:none;background:#FFFCF5;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.18s}
.hub-card:hover{box-shadow:0 22px 44px -34px rgba(20,40,30,.5);border-color:rgba(31,59,47,.24)}
.hub-card img{width:100%;height:100%;min-height:150px;object-fit:cover}
.hc-body{padding:18px 20px}
.hc-body h3{margin:0;font-size:21px}
.hc-body p{margin:6px 0 10px;font-size:13.5px;color:var(--muted);line-height:1.55}
.hc-body span{font-size:12.5px;font-weight:600;color:var(--forest)}
@media (max-width:760px){
  .hub2{grid-template-columns:1fr}
  .hub-card{grid-template-columns:1fr}
  .hub-card img{height:150px;min-height:0}
}

/* ---------------- mobile panel groups ---------------- */
.mobile-panel{padding:10px 0 18px;max-height:calc(100vh - 74px);overflow-y:auto;overscroll-behavior:contain}
.mobile-panel .wrap{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}
.mp-group{padding:6px 0 8px;border-bottom:1px solid rgba(31,59,47,.08)}
.mp-group b{display:block;font-size:10.5px;letter-spacing:.16em;color:#74562A;text-transform:uppercase;margin:4px 0 6px}
.mobile-panel .mp-group a{display:block;text-decoration:none;font-size:13.5px;color:#33413A;padding:6px 2px;border:0}
@media (max-width:520px){.mobile-panel .wrap{grid-template-columns:1fr}}

/* ---------------- homepage wide container ---------------- */
.home3 .wrap{width:min(1330px,95vw)}
.hero3-grid{grid-template-columns:.82fr 1.18fr;gap:42px}
.tools3 h2{font-size:clamp(24px,2.15vw,30px);line-height:1.16;max-width:7.4em}
.tools3 p{max-width:14em}
.tools3-wrap{grid-template-columns:190px minmax(0,1fr);gap:44px}
.t3 svg{width:38px;height:38px}
.t3 span{font-size:13.5px}
.t3{min-height:104px}
@media (max-width:1100px){
  .home3 .wrap{width:min(1330px,94vw)}
  .hero3-grid{grid-template-columns:1fr 1fr;gap:30px}
  .tools3-wrap{grid-template-columns:1fr;gap:22px}
  .tools3 h2,.tools3 p{max-width:none}
}

/* ---------------- final spacing / button fixes ---------------- */
.tools3{padding:56px 0 0}
.tools3 .btn3{white-space:nowrap;padding:13px 22px}
.tools3-notes{margin-top:14px}
.guides3 h2{max-width:12em}

/* ---------------- rhythm adjustments ---------------- */
.species3{padding:42px 0 0}
.tools3{padding:48px 0 0}
.sp3-top h3{font-size:24px}
.sp3-tag{font-size:13.5px}
.hero3-lede{max-width:16em}

/* ---------------- mobile hero: stack instead of squeeze ---------------- */
@media (max-width:860px){
  .hero3-grid{grid-template-columns:1fr;gap:18px}
  .hero3-copy{padding-top:4px}
  .hero3-art{order:2}
  .hero3-img,.hero3-frame,.hero3-arc{height:230px;border-radius:16px}
  .hero3-arc{inset:0;border-radius:16px;border-width:1px}
  .hero3-cta{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .hero3-cta .btn3{white-space:nowrap;padding:12px 8px;font-size:13px;justify-content:center}
}
@media (max-width:760px){
  .hero3-title{font-size:clamp(34px,9vw,42px)}
  .hero3-lede{max-width:none}
  .hero3-proof{font-size:12px;gap:5px 8px}
  .hero3-proof span{padding-left:9px}
  h1.hero3-title br{display:none}
}

/* ---------------- inner page content measure ---------------- */
.content-grid{grid-template-columns:minmax(0,760px) 300px;justify-content:space-between}
.prose{max-width:none}

/* ---------------- guide pages: single comfortable column ---------------- */
.wrap.article{width:min(800px,92vw);margin:0 auto}
.wrap.article .article-body,.wrap.article .prose{max-width:none}

/* ---------------- final gap pass ---------------- */
.species3{padding:26px 0 0}
.tools3{padding:40px 0 0}

/* ---------------- new silhouette badge ---------------- */
.brand3 .mark{width:60px;height:60px;border:0;background:none;box-shadow:none;border-radius:0}
.brand3 .mark img{width:60px;height:60px;object-fit:contain;display:block}
.foot3 .brand3 .mark{width:52px;height:52px;background:none;border:0}
.foot3 .brand3 .mark img{width:52px;height:52px}
@media (max-width:760px){
  .brand3 .mark{width:50px;height:50px}
  .brand3 .mark img{width:50px;height:50px}
}

@media (max-width:900px){.tools3-leaf{display:none}}


.hero3-img picture{display:block;height:100%}

/* ---------------- V4.9.3 mobile content-grid fix ---------------- */
@media (max-width:1020px){
  .content-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .side-card{position:static;order:-1}
}