/* ============================================================
   anupi.me — design tokens
   Type: Lexend throughout (built for reading ease — a deliberate
   nod to a psychology/research practice), weight does the work
   of hierarchy instead of mixing families.
   Color: soft sage (lead) + sky + honey, on warm cream.
   Categories are color-coded with meaning, not decoration:
     sage  = research
     sky   = clinical practice
     honey = teaching / speaking
   ============================================================ */

:root{
  --cream:      #FAF8F2;
  --cream-deep: #F3F0E8;
  --charcoal:   #2B2E2A;
  --muted:      #6B7066;

  --sage:       #6FA083;
  --sage-deep:  #4F8068;
  --sage-light: #E6EFE7;

  --sky:        #7DA8CC;
  --sky-deep:   #5C87AC;
  --sky-light:  #E7F0F7;

  --honey:      #E8B94A;
  --honey-deep: #C99A2E;
  --honey-light:#FBF1DA;

  --white:      #FFFFFF;
  --line:       rgba(43,46,42,.10);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(43,46,42,.06);
  --shadow-md: 0 10px 30px rgba(43,46,42,.08);

  --maxw: 1080px;
}

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

html{scroll-behavior:smooth}

body{
  background:var(--cream);
  color:var(--charcoal);
  font-family:'Lexend',system-ui,sans-serif;
  font-weight:400;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
ul{list-style:none}

:focus-visible{outline:2.5px solid var(--sage-deep);outline-offset:3px;border-radius:4px}

h1,h2,h3,h4{font-weight:600;letter-spacing:-.01em;color:var(--charcoal)}
h1{font-size:clamp(2.4rem,5vw,3.4rem);line-height:1.1;font-weight:600}
h2{font-size:clamp(1.8rem,3.5vw,2.4rem);line-height:1.2}
h3{font-size:1.15rem;font-weight:600}
p{color:var(--charcoal)}

.eyebrow{
  font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--sage-deep);display:flex;align-items:center;gap:8px;margin-bottom:10px;
}
.eyebrow::before{
  content:'';width:7px;height:7px;border-radius:50%;background:var(--sage);flex-shrink:0;
}

.muted{color:var(--muted)}

/* ============== Layout helpers ============== */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:72px 0}
.section--sm{padding:48px 0}
.bg-cream{background:var(--cream)}
.bg-cream-deep{background:var(--cream-deep)}
.bg-sage{background:var(--sage-light)}
.bg-sky{background:var(--sky-light)}
.bg-honey{background:var(--honey-light)}

/* ============== Buttons ============== */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 26px;border-radius:999px;
  font-size:.92rem;font-weight:600;letter-spacing:.01em;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.btn-primary{background:var(--sage);color:var(--white)}
.btn-primary:hover{background:var(--sage-deep);transform:translateY(-1px);box-shadow:var(--shadow-sm)}
.btn-ghost{background:transparent;color:var(--charcoal);border:1.5px solid var(--line)}
.btn-ghost:hover{border-color:var(--sage);background:var(--sage-light)}

/* ============== Header / Nav ============== */
header.site{
  position:sticky;top:0;z-index:200;
  background:rgba(250,248,242,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{font-size:1.15rem;font-weight:700;letter-spacing:-.01em;display:flex;align-items:center;gap:6px}
.logo .dot{color:var(--sage);font-size:1.4rem;line-height:0}
.nav-links{display:flex;align-items:center;gap:30px}
.nav-links a{
  font-size:.92rem;font-weight:500;color:var(--muted);
  padding:6px 2px;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;
}
.nav-links a:hover{color:var(--charcoal)}
.nav-links a.active{color:var(--charcoal);border-color:var(--sage)}
.nav-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center}
.nav-toggle span,.nav-toggle::before,.nav-toggle::after{
  content:'';display:block;width:20px;height:2px;background:var(--charcoal);
  transition:transform .2s,opacity .2s;
}
.nav-toggle{flex-direction:column;gap:5px}

@media(max-width:760px){
  .nav-toggle{display:flex}
  .nav-links{
    position:fixed;top:72px;left:0;right:0;
    background:var(--cream);border-bottom:1px solid var(--line);
    flex-direction:column;align-items:flex-start;gap:0;
    padding:8px 24px 18px;
    transform:translateY(-8px);opacity:0;pointer-events:none;
    transition:opacity .2s,transform .2s;
  }
  .nav-links.open{transform:translateY(0);opacity:1;pointer-events:all}
  .nav-links a{width:100%;padding:12px 0;border-bottom:1px solid var(--line)}
  .nav-links a.active{border-bottom-color:var(--line);color:var(--sage-deep)}
}

/* ============== Hero (home) ============== */
.hero{padding:64px 0 56px}
.hero-grid{display:grid;grid-template-columns:auto 1fr;gap:48px;align-items:center}
.hero-photo-wrap{position:relative;width:188px;height:188px;flex-shrink:0}
.hero-photo-ring{
  position:absolute;inset:-14px;border-radius:50%;
  border:2px solid var(--sage);opacity:.45;
}
.hero-photo{
  width:188px;height:188px;border-radius:50%;object-fit:cover;
  border:5px solid var(--white);box-shadow:var(--shadow-md);
}
.hero-tagline{font-size:1.15rem;color:var(--sage-deep);font-weight:500;margin:10px 0 16px}
.hero-intro{max-width:520px;font-size:1.05rem;color:var(--muted);margin-bottom:28px}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap}

@media(max-width:680px){
  .hero-grid{grid-template-columns:1fr;text-align:center;justify-items:center}
  .hero-intro{margin-left:auto;margin-right:auto}
  .hero-btns{justify-content:center}
}

/* ============== Quick links (home) ============== */
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.quick-card{
  display:block;padding:26px 22px;border-radius:var(--radius-md);
  transition:transform .18s ease,box-shadow .18s ease;
}
.quick-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm)}
.quick-card h3{margin-bottom:6px}
.quick-card p{font-size:.88rem;color:var(--muted)}
.quick-icon{
  width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;font-size:1.1rem;
}
@media(max-width:680px){.quick-grid{grid-template-columns:1fr}}

/* ============== Cards (work / credentials) ============== */
.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.card{
  padding:28px 26px;border-radius:var(--radius-md);background:var(--white);
  border:1px solid var(--line);
}
.card-tag{
  display:inline-flex;align-items:center;gap:6px;
  font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:4px 12px;border-radius:999px;margin-bottom:14px;
}
.card-tag.tag-sage{background:var(--sage-light);color:var(--sage-deep)}
.card-tag.tag-sky{background:var(--sky-light);color:var(--sky-deep)}
.card-tag.tag-honey{background:var(--honey-light);color:var(--honey-deep)}
.card h3{margin-bottom:10px}
.card p{font-size:.93rem;color:var(--muted)}
@media(max-width:680px){.card-grid{grid-template-columns:1fr}}

/* ============== About page ============== */
.about-grid{display:grid;grid-template-columns:220px 1fr;gap:48px;align-items:start}
.about-photo{
  width:220px;height:220px;border-radius:var(--radius-lg);object-fit:cover;
  border:5px solid var(--white);box-shadow:var(--shadow-md);
}
.cred-list{margin-top:8px}
.cred-item{
  display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);
}
.cred-item:last-child{border-bottom:none}
.cred-dot{width:9px;height:9px;border-radius:50%;margin-top:7px;flex-shrink:0}
.cred-item strong{display:block;font-size:.97rem;font-weight:600}
.cred-item span{font-size:.86rem;color:var(--muted)}
@media(max-width:680px){
  .about-grid{grid-template-columns:1fr;justify-items:center;text-align:center}
  .cred-item{text-align:left}
}

/* ============== Empty state (blog / shop) ============== */
.empty-state{
  text-align:center;padding:80px 24px;border-radius:var(--radius-lg);
  background:var(--white);border:1px dashed var(--line);
}
.empty-icon{
  width:56px;height:56px;border-radius:50%;background:var(--sage-light);
  display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:1.4rem;
}
.empty-state h2{margin-bottom:10px}
.empty-state p{color:var(--muted);max-width:420px;margin:0 auto}
.category-row{display:flex;gap:10px;justify-content:center;margin-top:28px;flex-wrap:wrap}
.category-chip{
  font-size:.8rem;font-weight:600;padding:7px 16px;border-radius:999px;
}

/* ============== Contact page ============== */
.contact-card{
  background:var(--white);border-radius:var(--radius-lg);
  padding:48px 40px;border:1px solid var(--line);max-width:560px;margin:0 auto;text-align:center;
}
.contact-email{
  display:inline-flex;align-items:center;gap:10px;
  font-size:1.3rem;font-weight:600;color:var(--sage-deep);
  margin:18px 0 26px;
}
.contact-links{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.contact-loc{margin-top:24px;font-size:.88rem;color:var(--muted)}

/* ============== Footer ============== */
footer.site{
  border-top:1px solid var(--line);padding:28px 0;margin-top:auto;
}
.footer-row{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
}
.footer-copy{font-size:.82rem;color:var(--muted)}
.footer-links{display:flex;gap:18px}
.footer-links a{font-size:.85rem;color:var(--muted)}
.footer-links a:hover{color:var(--sage-deep)}

/* ============== Reduced motion ============== */
@media (prefers-reduced-motion: reduce){
  *{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
