/* TEDY ABERA LANGANO • BLACK & GOLD DASHBOARD V14 • 2026-11-12
   VISUAL PATCH ONLY. Existing API, JS, authentication, products, orders, ERP and
   owner features are deliberately untouched. Add after V13. No layout-changing JS.
   Production image: hero-girl-bed.png is unchanged and retains all of its pixels.
*/

/* Ethiopic lettering is real selectable HTML, not a low-resolution word image.
   Noto Serif Ethiopic is available from the visitor's system where installed;
   Google Fonts provides it online, with Noto Sans Ethiopic as offline fallback. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Ethiopic:wght@700;800;900&display=swap');

:root{--tedy-gold-light:#fff3c1;--tedy-gold-mid:#fbd370;--tedy-gold-deep:#a96e23}

/* Restrained luxury, all sizes tied to *width*, not to the changing Chrome URL bar. */
#page-home.home-page{
  width:100%!important;max-width:100%!important;
  background:radial-gradient(ellipse 86% 34% at 50% 22%,#211209 0%,#100a07 41%,#050505 78%)!important;
  overflow:visible!important;overflow-x:clip!important;
  padding:0 clamp(7px,2vw,18px) 34px!important;
}
#page-home .home-masthead{
  position:relative!important;isolation:isolate;
  width:100%!important;max-width:900px!important;
  margin:0 auto!important;
  padding:10px 0 12px!important;
  border:0!important;border-image:none!important;
  background:transparent!important;box-shadow:none!important;
}
/* The gold crest retains the original transparent WEBP, no raster upscaling. */
#page-home .home-crest{
  display:block!important;
  width:clamp(142px,29vw,240px)!important;
  height:clamp(126px,25vw,208px)!important;
  margin:0 auto 1px!important;
  background-image:url('tedy-blackgold-house.webp')!important;
  background-size:contain!important;background-repeat:no-repeat!important;
  background-position:50% 50%!important;
  filter:drop-shadow(0 4px 7px #0008) drop-shadow(0 0 12px #cc7c2a51)!important;
}
/* Sharp, legible, embossed metallic lettering: narrow shadows do NOT blur glyphs. */
#page-home .home-company-name,
#page-home .home-company-name span{
  font-family:'Noto Serif Ethiopic','Noto Sans Ethiopic','Abyssinica SIL',serif!important;
  font-style:normal!important;
  font-weight:900!important;
  font-synthesis:none!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  color:#ffda83!important;
  -webkit-text-fill-color:transparent!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  background-color:transparent!important;
  background-image:linear-gradient(175deg,#fff8dc 0%,#ffe2a5 17%,#f7b943 44%,#fff0af 61%,#c4892c 84%,#fff1b0 100%)!important;
  text-shadow:none!important;
  -webkit-text-stroke:.45px rgba(255,233,152,.35);
  paint-order:stroke fill;
}
#page-home .home-company-name{
  display:block!important;
  width:100%!important;max-width:800px!important;
  margin:0 auto!important;
  font-size:clamp(28px,5.8vw,56px)!important;
  line-height:1.40!important;
  padding:0 3px 2px!important;
  overflow:visible!important;
  text-align:center!important;
  text-wrap:balance;
  filter:drop-shadow(0 3px 0 rgba(90,48,13,.6)) drop-shadow(0 1px 8px rgba(240,150,30,.42))!important;
}
#page-home .home-company-name span{
  display:inline-block!important;
  font-size:1.17em!important;
  line-height:1.34!important;
  padding:0 4px 4px!important;
}
/* Gilded arc like the approved concept; CSS only, does not obscure text. */
#page-home .home-masthead::after{
  content:''!important;display:block!important;
  position:relative!important;
  height:3px!important;
  width:68%!important;max-width:410px!important;
  margin:0 auto!important;
  border-radius:50%!important;
  background:linear-gradient(90deg,transparent 0%,#7a3e0a 11%,#ffd66e 44%,#fff6ca 51%,#f8b53f 64%,#7e420b 88%,transparent 100%)!important;
  box-shadow:0 2px 7px rgba(255,188,58,.43)!important;
  pointer-events:none!important;
}
/* Fixed photo-width fraction from the FIRST frame. 'dvh' is intentionally absent.
   V13 used width:auto + max-height:calc(100dvh - 260px), causing image width
   to jump when Chrome hides the address bar on scroll. */
#page-home .home-hero{
  display:block!important;
  width:100%!important;
  max-width:920px!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:2px auto 0!important;
  padding:6px!important;
  border:2px solid #efc66a!important;
  border-radius:29px!important;
  line-height:0!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#8d4b12 0%,#ffde80 15%,#fff3b7 32%,#d39136 49%,#ffe498 71%,#99591a 100%)!important;
  box-shadow:0 0 0 3px #080604,0 0 0 4px #ae721e,0 0 21px rgba(232,151,29,.27),0 13px 32px #000d!important;
}
#page-home .home-hero img{
  display:block!important;
  width:100%!important;max-width:100%!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  aspect-ratio:1024 / 1536!important;
  object-fit:contain!important;object-position:center center!important;
  border-radius:21px!important;
  filter:none!important;opacity:1!important;
  transform:none!important;transition:none!important;
}
#page-home .home-quick-links{margin-top:27px!important}

@media(max-width:720px){
  #page-home.home-page{padding:0 9px 26px!important}
  #page-home .home-masthead{padding:8px 0 8px!important}
  #page-home .home-crest{
    width:clamp(126px,39vw,166px)!important;
    height:clamp(115px,34vw,146px)!important;
    margin:0 auto 0!important;
  }
  #page-home .home-company-name{
    font-size:clamp(27px,7.8vw,34px)!important;
    line-height:1.40!important;
    padding:0 4px 1px!important;
  }
  #page-home .home-company-name span{font-size:1.16em!important;line-height:1.30!important;padding-bottom:3px!important}
  #page-home .home-masthead::after{width:77%!important;height:2px!important}
  #page-home .home-hero{
    width:100%!important;max-width:100%!important;
    padding:5px!important;margin:3px auto 0!important;
    border-radius:24px!important;
  }
  #page-home .home-hero img{width:100%!important;max-width:100%!important;
    height:auto!important;max-height:none!important;
    aspect-ratio:1024 / 1536!important;
    border-radius:18px!important}
  #page-home .home-quick-links{margin-top:23px!important}
}
@media(max-width:380px){
  #page-home.home-page{padding-inline:7px!important}
  #page-home .home-crest{width:clamp(125px,40vw,148px)!important;height:clamp(110px,35vw,132px)!important}
  #page-home .home-company-name{font-size:clamp(26px,7.7vw,30px)!important}
  #page-home .home-hero{padding:4px!important}
}
/* No viewport-height-dependent special cases: landscape/scroll cannot resize photo. */
@media(prefers-reduced-motion:reduce){
  #page-home .home-company-name,#page-home .home-company-name span{animation:none!important}
}
