:root{
  --primary:#1A4D3A;
  --dark:#0E2E1F;
  --gold:#C9A84C;
  --cream:#F5F1E8;
  --white:#FFFFFF;
  --text:#0F1F17;
  --muted:#647069;
  --border:#E6E0D4;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'DM Sans',sans-serif;
  color:var(--text);
  background:#FFFFFF;
  line-height:1.65;
}

h1,
h2,
h3{
  font-family:'Playfair Display',serif;
  line-height:1.08;
  letter-spacing:-0.025em;
}

img{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1240px,calc(100% - 48px));
  margin:auto;
}

/* =========================
   TOP BAR
========================= */

.top-bar{
  background:var(--dark);
  color:#FFFFFF;
  font-size:12px;
}

.top-bar-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.top-bar a{
  color:#E5CD8A;
}

/* =========================
   NAVIGATION
========================= */

.navbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}

.navbar-inner{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.logo{
  font-family:'Playfair Display',serif;
  font-size:29px;
  font-weight:700;
  color:var(--primary);
}

.logo span{
  color:var(--gold);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-links a{
  font-size:12px;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
}

.nav-links a.active{
  color:var(--primary);
}

.nav-cta,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 26px;
  border-radius:2px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.09em;
  text-transform:uppercase;
  transition:0.25s ease;
}

.nav-cta,
.btn-primary{
  background:var(--primary);
  color:#FFFFFF;
}

.btn-outline{
  border:1px solid var(--dark);
  color:var(--dark);
  background:transparent;
}

.btn:hover,
.nav-cta:hover{
  transform:translateY(-2px);
}

/* =========================
   HERO
========================= */

.hero-book{
  min-height:760px;
  overflow:hidden;
  background:
    radial-gradient(
      circle at 80% 28%,
      rgba(201,168,76,0.15),
      transparent 25%
    ),
    linear-gradient(135deg,#F8F4EB,#ECE5D7);
}

.hero-grid{
  min-height:760px;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  align-items:center;
  gap:48px;
}

.eyebrow,
.section-label{
  margin-bottom:18px;
  color:var(--gold);
  font-size:11px;
  font-weight:700;
  letter-spacing:0.22em;
  text-transform:uppercase;
}

.hero-copy h1{
  color:var(--dark);
  font-size:clamp(50px,6vw,84px);
  font-weight:700;
}

.hero-copy h1 em{
  color:var(--primary);
  font-weight:400;
}

.hero-text{
  max-width:620px;
  margin:26px 0 34px;
  color:var(--muted);
  font-size:17px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
  margin-top:38px;
  color:#536159;
  font-size:12px;
}

.trust-row span::before{
  content:'✦';
  margin-right:8px;
  color:var(--gold);
}

.hero-visual{
  position:relative;
  min-width:0;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-visual .glow{
  position:absolute;
  width:430px;
  height:430px;
  border-radius:50%;
  background:rgba(201,168,76,0.22);
  filter:blur(10px);
}

.hero-visual img{
  position:relative;
  z-index:2;
  width:100%;
  height:auto;
  max-height:620px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 35px 34px rgba(14,46,31,0.2));
}

/* =========================
   GENERAL SECTIONS
========================= */

.section{
  padding:110px 0;
}

.story-grid,
.quality-grid{
  display:grid;
  grid-template-columns:0.8fr 1.2fr;
  gap:90px;
}

.story h2,
.section-heading h2,
.quality h2,
.download h2{
  color:var(--dark);
  font-size:clamp(40px,5vw,62px);
}

.story-copy > p{
  margin-bottom:42px;
  color:#33443A;
  font-family:'Playfair Display',serif;
  font-size:25px;
}

.principles{
  display:grid;
  gap:20px;
}

.principles article{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:20px;
  padding-top:20px;
  border-top:1px solid var(--border);
}

.principles strong{
  color:var(--primary);
}

.principles span{
  color:var(--muted);
}

.section-soft{
  background:var(--cream);
}

.section-heading{
  max-width:780px;
  margin-bottom:54px;
}

.section-heading.centered{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.section-heading > p:last-child{
  margin-top:18px;
  color:var(--muted);
  font-size:17px;
}

/* =========================
   PRODUCT GRID
========================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  align-items:start;
  gap:24px;
}

.product-card{
  grid-column:span 4;
  min-width:0;
  align-self:start;
  overflow:hidden;
  background:#FFFFFF;
  border:1px solid rgba(14,46,31,0.08);
  box-shadow:0 16px 50px rgba(14,46,31,0.07);
}

.product-card.featured{
  grid-column:span 8;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  align-items:start;
  align-self:start;
  height:auto;
}

/* PRODUCT IMAGE FIX */

.product-image{
  min-height:340px;
  height:auto;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:26px;
  overflow:hidden;
  background:#F9F6EF;
}

.product-card.featured .product-image{
  min-height:0;
  height:auto;
  align-self:start;
}

.product-image img,
.product-card.featured .product-image img{
  width:100%;
  height:auto;
  max-height:none;
  display:block;
  flex-shrink:0;
  object-fit:contain;
  object-position:top center;
}

.product-card.featured .product-copy{
  align-self:start;
  height:auto;
}

/* PRODUCT COPY */

.product-copy{
  padding:30px;
}

.product-copy > span{
  color:var(--gold);
  font-size:10px;
  font-weight:700;
  letter-spacing:0.18em;
  text-transform:uppercase;
}

.product-copy h3{
  margin:12px 0;
  color:var(--dark);
  font-size:29px;
}

.product-copy p{
  margin-bottom:18px;
  color:var(--muted);
}

.product-copy a{
  color:var(--primary);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

/* =========================
   INGREDIENTS
========================= */

.ingredient-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.ingredient-grid article{
  overflow:hidden;
  background:#FFFFFF;
  border:1px solid var(--border);
}

.ingredient-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  object-position:center;
}

.ingredient-grid article div{
  padding:24px;
}

.ingredient-grid h3{
  margin-bottom:8px;
  color:var(--dark);
  font-size:27px;
}

.ingredient-grid p{
  color:var(--muted);
}

/* =========================
   QUALITY SECTION
========================= */

.section-dark{
  background:var(--dark);
  color:#FFFFFF;
}

.quality h2{
  color:#FFFFFF;
}

.quality > div > div > p:last-child{
  max-width:500px;
  margin-top:22px;
  color:rgba(255,255,255,0.65);
}

.quality-list{
  display:grid;
}

.quality-list article{
  display:grid;
  grid-template-columns:55px 1fr;
  gap:18px;
  padding:25px 0;
  border-top:1px solid rgba(255,255,255,0.14);
}

.quality-list b{
  color:var(--gold);
  font-family:'Playfair Display',serif;
  font-size:22px;
}

.quality-list h3{
  margin-bottom:6px;
  font-size:24px;
}

.quality-list p{
  color:rgba(255,255,255,0.62);
}

/* =========================
   DOWNLOAD
========================= */

.download-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
  padding:58px;
  background:linear-gradient(135deg,#F8F4EB,#EEE6D6);
}

.download-card p:not(.section-label){
  margin-top:16px;
  color:var(--muted);
}

.download-actions{
  display:flex;
  flex-shrink:0;
  flex-wrap:wrap;
  gap:14px;
}

/* =========================
   FOOTER
========================= */

footer{
  padding:70px 0 28px;
  background:#081D13;
  color:#FFFFFF;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1.4fr;
  gap:60px;
}

.logo.light{
  color:#FFFFFF;
}

.footer-grid p{
  margin-top:12px;
  color:rgba(255,255,255,0.55);
}

.footer-grid > div{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-grid strong{
  margin-bottom:6px;
  color:var(--gold);
  font-size:11px;
  letter-spacing:0.15em;
  text-transform:uppercase;
}

.footer-grid a:not(.logo){
  color:rgba(255,255,255,0.70);
  font-size:14px;
}

.legal{
  margin-top:45px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.40);
  font-size:12px;
}

/* =========================
   TABLET
========================= */

@media(max-width:980px){

  .nav-links{
    display:none;
  }

  .hero-book{
    min-height:auto;
  }

  .hero-grid{
    min-height:auto;
    grid-template-columns:1fr;
    padding:85px 0 45px;
  }

  .hero-copy{
    text-align:center;
  }

  .hero-text{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-actions,
  .trust-row{
    justify-content:center;
  }

  .hero-visual{
    min-height:480px;
  }

  .hero-visual img{
    width:100%;
    height:auto;
    max-height:480px;
    object-fit:contain;
  }

  .story-grid,
  .quality-grid{
    grid-template-columns:1fr;
    gap:42px;
  }

  .product-card,
  .product-card.featured{
    grid-column:span 6;
    display:block;
  }

  .product-image,
  .product-card.featured .product-image{
    min-height:0;
    height:auto;
  }

  .product-image img,
  .product-card.featured .product-image img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:top center;
  }

  .ingredient-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .download-card{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* =========================
   MOBILE
========================= */

@media(max-width:640px){

  .container{
    width:min(100% - 30px,1240px);
  }

  .top-bar-inner{
    justify-content:center;
    text-align:center;
  }

  .top-bar-inner span{
    display:none;
  }

  .navbar-inner{
    height:70px;
  }

  .nav-cta{
    min-height:42px;
    padding:0 16px;
  }

  .hero-grid{
    padding-top:64px;
  }

  .hero-copy h1{
    font-size:43px;
  }

  .hero-text{
    font-size:15px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-visual{
    min-height:auto;
    padding:25px 0 10px;
  }

  .hero-visual .glow{
    width:280px;
    height:280px;
  }

  .hero-visual img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
  }

  .section{
    padding:72px 0;
  }

  .story h2,
  .section-heading h2,
  .quality h2,
  .download h2{
    font-size:38px;
  }

  .story-copy > p{
    font-size:21px;
  }

  .principles article{
    grid-template-columns:1fr;
    gap:6px;
  }

  .product-card,
  .product-card.featured{
    grid-column:1 / -1;
    display:block;
  }

  .product-image,
  .product-card.featured .product-image{
    min-height:0;
    height:auto;
    padding:16px;
    overflow:hidden;
  }

  .product-image img,
  .product-card.featured .product-image img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:top center;
  }

  .product-copy{
    padding:24px;
  }

  .product-copy h3{
    font-size:26px;
  }

  .ingredient-grid{
    grid-template-columns:1fr;
  }

  .ingredient-grid img{
    height:230px;
  }

  .download-card{
    padding:34px 24px;
  }

  .download-actions{
    width:100%;
    flex-direction:column;
  }

  .download-actions .btn{
    width:100%;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:36px;
  }
}
/* Final master-logo override */
.navbar .logo.avn-logo-link,.footer .logo.avn-logo-link{font-size:0!important;width:auto!important;height:auto!important}.navbar .logo .avn-master-logo{width:64px!important;height:64px!important}.footer .logo .avn-master-logo{width:78px!important;height:78px!important}
.product-image img,.hero-visual img{object-fit:contain!important;object-position:center!important}
