/*
Theme Name: Ananta Harmony
Theme URI: https://anantaharmony.com
Author: Ananta Harmony
Author URI: https://anantaharmony.com
Description: A quiet-luxury editorial theme for wellness, mindful living, and seasonal recipes. Built for Ananta Harmony.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ananta-harmony
*/

:root{
  --ivory:#F8F4EF;
  --linen:#EFE7DE;
  --olive:#5A674F;
  --olive-dark:#485240;
  --sage:#A7B29D;
  --rose:#D38B97;
  --rose-dark:#C17685;
  --charcoal:#4A4A4A;
  --divider:#E8DDD3;
  --max: 1280px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

img{ filter:saturate(0.94) sepia(0.05) contrast(1.02) brightness(1.01); max-width:100%; display:block; }

body{
  background:var(--ivory);
  color:var(--charcoal);
  font-family:'Inter', sans-serif;
  font-weight:400;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Cormorant Garamond', serif;
  font-weight:500;
  color:var(--olive-dark);
  line-height:1.15;
}

a{ color:inherit; text-decoration:none; }
button{ font-family:'Inter', sans-serif; cursor:pointer; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 48px; }

.eyebrow{
  font-family:'Inter', sans-serif;
  font-size:12px;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--olive);
  font-weight:500;
}

.divider-line{ width:46px; height:2px; background:var(--rose); margin:16px 0 20px; border:none; }
.divider-line.center{ margin:16px auto 24px; }

.btn-primary{
  display:inline-block; background:var(--olive); color:var(--ivory);
  border:1px solid var(--olive); padding:15px 32px; font-size:12px; border-radius:6px;
  letter-spacing:0.14em; text-transform:uppercase; transition:background .35s ease, box-shadow .35s ease;
  box-shadow:0 4px 14px rgba(90,103,79,0.18);
}
.btn-primary:hover{ background:var(--olive-dark); box-shadow:0 6px 18px rgba(90,103,79,0.24); }

.btn-secondary{
  display:inline-block; background:rgba(211,139,151,0.08); color:var(--rose-dark);
  border:1px solid var(--rose); padding:15px 32px; font-size:12px; border-radius:6px;
  letter-spacing:0.14em; text-transform:uppercase; transition:background .35s ease, color .35s ease, box-shadow .35s ease;
  box-shadow:0 4px 14px rgba(211,139,151,0.12);
}
.btn-secondary:hover{ background:var(--rose); color:#fff; }

.btn-rose{
  display:inline-block; background:var(--rose); color:#fff; border:none; border-radius:6px;
  padding:15px 30px; font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  transition:background .3s ease, box-shadow .3s ease;
  box-shadow:0 4px 14px rgba(211,139,151,0.22);
}
.btn-rose:hover{ background:var(--rose-dark); }

.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s ease, transform .9s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- TOP BAR ---------- */
.top-bar{ background:var(--olive); color:var(--ivory); text-align:center; padding:9px 20px; font-size:11px; letter-spacing:0.18em; text-transform:uppercase; }

/* ---------- NAV ---------- */
header.site-nav{ position:sticky; top:0; z-index:50; background:rgba(248,244,239,0.95); backdrop-filter:blur(6px); border-bottom:1px solid var(--divider); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:18px 48px; max-width:var(--max); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand svg{ width:34px; height:34px; stroke:var(--rose); }
.brand-text{ font-family:'Cormorant Garamond', serif; line-height:1.1; }
.brand-text .l1{ font-size:21px; letter-spacing:0.14em; color:var(--olive-dark); }
.brand-text .l2{ font-size:11px; letter-spacing:0.32em; color:var(--rose); display:block; margin-top:1px; }

.menu{ display:flex; gap:34px; list-style:none; }
.menu li{ position:relative; }
.menu li a{ font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--charcoal); position:relative; padding-bottom:4px; display:inline-block; }
.menu li a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--olive); transition:width .3s ease; }
.menu li a:hover::after, .menu li.current-menu-item a::after{ width:100%; }

.nav-icons{ display:flex; align-items:center; gap:18px; }
.nav-icons svg{ width:17px; height:17px; stroke:var(--sage); }
.nav-toggle{ display:none; background:none; border:none; }

/* ---------- HERO ---------- */
.hero{ display:grid; grid-template-columns:0.85fr 1.15fr; align-items:center; gap:0; position:relative; }
.hero-copy{ padding:70px 48px 70px 48px; max-width:560px; margin-left:auto; position:relative; z-index:2; }
.hero-copy h1{ font-size:clamp(38px,4.6vw,58px); }
.hero-copy h1 .line2{ color:var(--rose); font-style:italic; font-weight:400; }
.hero-copy p{ font-size:15.5px; color:var(--charcoal); max-width:400px; margin:0 0 34px; font-weight:300; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-image{ position:relative; }
.hero-image::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to right, var(--ivory) 0%, rgba(248,244,239,0.55) 8%, rgba(248,244,239,0) 26%);
}
.hero-image img{
  width:100%; height:600px; object-fit:cover; display:block;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, black 20%);
  mask-image:linear-gradient(to right, transparent 0%, black 20%);
  filter:saturate(0.94) sepia(0.05) contrast(1.02) brightness(1.01) drop-shadow(0 18px 34px rgba(90,79,60,0.14));
}

/* ---------- PHILOSOPHY ---------- */
.philosophy{ display:grid; grid-template-columns:1fr 1fr; gap:0; max-width:var(--max); margin:110px auto; padding:0 48px; align-items:center; }
.philosophy-img{ position:relative; }
.philosophy-img::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to left, var(--ivory) 0%, rgba(248,244,239,0.5) 8%, rgba(248,244,239,0) 26%);
}
.philosophy-img img{
  width:100%; height:480px; object-fit:cover; display:block;
  -webkit-mask-image:linear-gradient(to left, transparent 0%, black 20%);
  mask-image:linear-gradient(to left, transparent 0%, black 20%);
  filter:saturate(0.94) sepia(0.05) contrast(1.02) brightness(1.01) drop-shadow(0 18px 34px rgba(90,79,60,0.14));
}
.philosophy-copy{ position:relative; padding-left:56px; z-index:2; }
.philosophy-copy h2{ font-size:36px; max-width:440px; }
.philosophy-copy p{ font-size:15.5px; max-width:420px; margin-bottom:30px; font-weight:300; }
.philosophy-branch{ position:absolute; right:0; top:0; width:100px; opacity:.8; }

/* ---------- EXPLORE OUR WORLD ---------- */
.explore{ padding:100px 0 110px; }
.section-head{ text-align:center; max-width:600px; margin:0 auto 60px; }
.section-head h2{ font-size:14px; letter-spacing:0.2em; text-transform:uppercase; font-family:'Inter',sans-serif; font-weight:600; color:var(--olive-dark); }

.explore-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; max-width:var(--max); margin:0 auto; padding:0 48px; }
.explore-card{ text-align:center; padding:38px 18px; border:1px solid var(--divider); border-radius:8px; transition:box-shadow .3s ease, transform .3s ease; }
.explore-card:hover{ box-shadow:0 8px 22px rgba(90,103,79,0.1); transform:translateY(-3px); }
.explore-card svg{ width:36px; height:36px; margin:0 auto 20px; }
.explore-card:nth-child(odd) svg{ stroke:var(--sage); }
.explore-card:nth-child(even) svg{ stroke:var(--rose); }
.explore-card h3{ font-size:18px; margin-bottom:10px; font-weight:500; }
.explore-card p{ font-size:12.5px; color:var(--charcoal); font-weight:300; line-height:1.6; }

/* ---------- FEATURED ARTICLES ---------- */
.articles{ max-width:var(--max); margin:0 auto 130px; padding:0 48px; position:relative; }
.articles-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:56px; }
.article-card{ border:1px solid var(--divider); border-radius:8px; padding:20px 22px 26px; background:var(--ivory); transition:box-shadow .35s ease, transform .35s ease; }
.article-card:hover{ box-shadow:0 20px 40px rgba(90,103,79,0.12); transform:translateY(-4px); }
.article-card img{ width:calc(100% + 44px); height:190px; object-fit:cover; margin:-20px -22px 22px; border-radius:8px 8px 0 0; }
.article-card h3{ font-size:19px; margin-bottom:10px; font-weight:500; }
.article-card p{ font-size:13.5px; font-weight:300; margin-bottom:14px; color:var(--charcoal); }
.read-more{ font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--rose); font-weight:500; }
.article-nav{ position:absolute; top:44%; width:100%; left:0; display:flex; justify-content:space-between; pointer-events:none; }
.article-nav button{ pointer-events:all; width:34px; height:34px; border-radius:50%; border:1px solid var(--divider); background:var(--ivory); color:var(--rose); font-size:16px; margin:0 -50px; }

/* ---------- RESOURCES + RECIPES ROW ---------- */
.combo-outer{ max-width:var(--max); margin:0 auto 130px; padding:0 48px; }
.combo{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:0; background:var(--linen); border:1px solid var(--divider); border-radius:10px; overflow:hidden; }
.combo-resources{ padding:50px 44px; }
.combo-resources .eyebrow{ display:block; margin-bottom:10px; }
.combo-resources p{ font-size:14px; font-weight:300; max-width:280px; margin:10px 0 24px; }
.resource-image{ margin:20px 0 26px; border-radius:8px; overflow:hidden; box-shadow:0 20px 40px rgba(90,79,60,0.16); }
.resource-image img{ width:100%; height:220px; object-fit:cover; display:block; }
.combo-recipes{ padding:50px 44px; border-left:1px solid var(--divider); }
.combo-recipes .eyebrow{ display:block; margin-bottom:24px; }
.recipe-row{ display:flex; gap:26px; flex-wrap:wrap; }
.recipe-item{ text-align:center; width:110px; }
.recipe-item .circle{ width:100px; height:100px; border-radius:50%; overflow:hidden; margin:0 auto 14px; border:1px solid var(--divider); }
.recipe-item .circle img{ width:100%; height:100%; object-fit:cover; }
.recipe-item h4{ font-size:14px; font-weight:500; margin-bottom:4px; }
.recipe-item a{ font-size:10.5px; color:var(--rose); letter-spacing:0.04em; }

/* ---------- NEWSLETTER ---------- */
.newsletter{ background:var(--sage); padding:0; }
.newsletter .wrap{ display:flex; align-items:center; justify-content:space-between; gap:40px; padding:40px 48px; flex-wrap:wrap; }
.newsletter-left{ display:flex; align-items:center; gap:22px; }
.newsletter-left svg{ width:44px; height:44px; stroke:var(--olive-dark); flex-shrink:0; }
.newsletter-left h2{ font-size:22px; color:var(--olive-dark); margin-bottom:4px; }
.newsletter-left p{ font-size:13.5px; color:var(--olive-dark); font-weight:300; max-width:360px; }
.newsletter-form{ display:flex; gap:0; }
.newsletter-form input{ width:260px; padding:14px 18px; border:1px solid var(--olive); border-right:none; background:var(--ivory); font-family:'Inter',sans-serif; font-size:13px; border-radius:6px 0 0 6px; }
.newsletter-form input:focus{ outline:2px solid var(--olive-dark); outline-offset:2px; }
.newsletter-form button{ background:var(--rose); color:#fff; border:none; padding:0 26px; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; border-radius:0 6px 6px 0; box-shadow:0 4px 14px rgba(211,139,151,0.2); }
.newsletter-note{ width:100%; text-align:right; padding:0 48px 20px; font-size:12.5px; color:var(--olive-dark); }

/* ---------- FOOTER ---------- */
footer{ background:var(--ivory); padding-top:80px; position:relative; overflow:hidden; }
.footer-branch{ position:absolute; right:40px; bottom:60px; width:110px; opacity:.7; }
.footer-top{ max-width:var(--max); margin:0 auto; padding:0 48px 70px; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ font-size:13px; font-weight:300; color:var(--charcoal); margin-bottom:16px; }
.footer-social{ display:flex; gap:14px; }
.footer-social svg{ width:16px; height:16px; stroke:var(--sage); }
.footer-col h5{ font-family:'Inter',sans-serif; font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase; color:var(--olive); margin-bottom:18px; }
.footer-col ul{ list-style:none; }
.footer-col li{ margin-bottom:11px; }
.footer-col a{ display:block; font-size:13.5px; color:var(--charcoal); }
.footer-col a:hover{ color:var(--olive-dark); }
.footer-strip{ border-top:1px solid var(--divider); padding:22px 48px; text-align:center; }
.footer-strip p{ font-size:11.5px; font-weight:300; color:var(--charcoal); letter-spacing:0.02em; }

/* ---------- GENERIC PAGE / SINGLE POST ---------- */
.page-hero{ position:relative; max-width:var(--max); margin:0 auto; padding:60px 48px 0; }
.page-hero-img{ position:relative; margin-bottom:40px; }
.page-hero-img img{ width:100%; height:420px; object-fit:cover; border-radius:10px; filter:saturate(0.94) sepia(0.05) contrast(1.02) brightness(1.01) drop-shadow(0 18px 34px rgba(90,79,60,0.14)); }
.page-content{ max-width:760px; margin:0 auto; padding:0 48px 120px; }
.page-content h1{ font-size:44px; margin-bottom:18px; }
.page-content .entry-meta{ margin-bottom:24px; }
.page-content p{ font-size:16px; font-weight:300; margin-bottom:22px; max-width:100%; }
.page-content h2{ font-size:30px; margin:40px 0 16px; }
.page-content h3{ font-size:22px; margin:30px 0 12px; }
.page-content ul, .page-content ol{ margin:0 0 22px 22px; font-weight:300; }
.page-content img{ border-radius:8px; margin:24px 0; }
.page-content blockquote{ border-left:3px solid var(--rose); padding-left:20px; font-style:italic; color:var(--olive-dark); margin:30px 0; }

.archive-header{ text-align:center; max-width:700px; margin:70px auto 20px; padding:0 48px; }
.archive-header h1{ font-size:40px; }
.archive-grid{ max-width:var(--max); margin:0 auto; padding:0 48px 120px; display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.pagination{ text-align:center; padding:0 48px 100px; }
.pagination a, .pagination span{ display:inline-block; margin:0 6px; font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--olive-dark); border-bottom:1px solid transparent; }
.pagination a:hover{ border-bottom-color:var(--olive-dark); }

@media (max-width: 900px){
  .nav-inner{ padding:16px 22px; }
  .menu{ position:fixed; top:98px; left:0; right:0; background:var(--ivory); flex-direction:column; gap:0; border-bottom:1px solid var(--divider); transform:translateY(-140%); transition:transform .4s ease; z-index:40; }
  .menu.open{ transform:translateY(0); }
  .menu li a{ padding:16px 26px; border-bottom:1px solid var(--divider); width:100%; }
  .nav-toggle{ display:block; }
  .wrap{ padding:0 22px; }
  .hero{ grid-template-columns:1fr; }
  .hero-copy{ padding:44px 22px; max-width:100%; }
  .hero-image img{ height:320px; -webkit-mask-image:none; mask-image:none; }
  .hero-image::before{ display:none; }
  .philosophy{ grid-template-columns:1fr; padding:0 22px; gap:34px; margin:70px auto; }
  .philosophy-img img{ height:300px; -webkit-mask-image:none; mask-image:none; }
  .philosophy-img::after{ display:none; }
  .philosophy-copy{ padding-left:0; }
  .philosophy-branch{ display:none; }
  .explore-grid{ grid-template-columns:repeat(2,1fr); padding:0 22px; }
  .articles{ padding:0 22px; }
  .articles-grid{ grid-template-columns:1fr 1fr; }
  .article-nav{ display:none; }
  .combo-outer{ padding:0 22px; margin-bottom:90px; }
  .combo{ grid-template-columns:1fr; }
  .combo-recipes{ border-left:none; border-top:1px solid var(--divider); }
  .newsletter .wrap{ flex-direction:column; align-items:flex-start; padding:32px 22px; }
  .newsletter-form{ width:100%; }
  .newsletter-form input{ flex:1; width:auto; }
  .newsletter-note{ text-align:left; padding:0 22px 20px; }
  .footer-top{ grid-template-columns:1fr 1fr; padding:0 22px 60px; }
  .footer-branch{ display:none; }
  .archive-grid{ grid-template-columns:1fr; padding:0 22px 100px; }
  .page-hero{ padding:40px 22px 0; }
  .page-content{ padding:0 22px 90px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ transition:none; opacity:1; transform:none; }
}
