/*
Theme Name: Paw Community Portfolio
Theme URI: https://pawcommunity.in/
Author: Paw Community
Author URI: https://pawcommunity.in/
Description: A premium, lightweight one-page portfolio theme for Paw Community — built to showcase the Paw Community app, events, team and story. Motion by GSAP + ScrollTrigger, Lenis smooth scroll, Swiper.js and AOS.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: paw-community
*/

/* =========================================================
   0. TOKENS
   The Walk — this theme's signature is a leash line that
   runs beside the content and fills as you scroll, with a
   paw print that walks down the page: the pet's journey
   from street, to community, to home.
   ========================================================= */
:root{
  --paper: #FBF3E4;
  --paper-card: #FFFCF6;
  --ink: #17231A;
  --ink-soft: #4A5946;
  --ink-faint: #8A9284;
  --marigold: #E8A33D;
  --marigold-dark: #C97F1E;
  --leaf: #3F6650;
  --leaf-deep: #26402F;
  --leaf-light: #E1EADD;
  --rust: #BE5735;
  --line: rgba(23, 35, 26, 0.12);
  --line-strong: rgba(23, 35, 26, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-card: 0 20px 45px -25px rgba(23, 35, 26, 0.35);
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --logo-height: 44px;
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: auto; }
html.has-lenis{ scroll-behavior: auto; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img{ max-width:100%; display:block; height:auto; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; line-height:1.08; margin:0 0 .4em; color: var(--ink); }
p{ margin:0 0 1em; }
.container{ max-width: var(--container); margin:0 auto; padding:0 var(--gutter); }
.visually-hidden{ position:absolute !important; width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap; }

::selection{ background: var(--marigold); color: var(--ink); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* eyebrow / labels */
.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--leaf);
  display:inline-flex;
  align-items:center;
  gap:.5em;
  margin-bottom: 1em;
}
.eyebrow::before{
  content:"";
  width: 18px; height: 2px;
  background: var(--marigold);
  display:inline-block;
  border-radius: 2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family: var(--font-body);
  font-weight:600;
  font-size: .98rem;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.9,.25,1), box-shadow .35s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--ink); color: var(--paper-card); }
.btn-primary:hover{ background: var(--leaf-deep); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-ghost{ border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--ink); background: var(--ink); color: var(--paper-card); transform: translateY(-2px); }
.btn-accent{ background: var(--marigold); color: var(--leaf-deep); }
.btn-accent:hover{ background: var(--marigold-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn svg{ width:16px; height:16px; }

/* =========================================================
   2. LAYOUT SHELL
   ========================================================= */
#site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 18px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
#site-header.is-scrolled{
  background: rgba(251,243,228,.86);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.site-branding{ display:flex; align-items:center; gap:.7em; font-family: var(--font-display); font-size: 1.25rem; font-weight:600; }
.site-branding img{ height: var(--logo-height, 44px); width:auto; }
.site-branding .paw-dot{ color: var(--marigold); }

.primary-nav ul{ display:flex; align-items:center; gap: 2.1em; }
.primary-nav a{
  font-size: .95rem; font-weight:500; position:relative; padding: 4px 0;
}
.primary-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background: var(--marigold);
  transition: right .3s cubic-bezier(.2,.9,.25,1);
}
.primary-nav a:hover::after{ right:0; }
.header-cta{ display:flex; align-items:center; gap:14px; }
.menu-toggle{ display:none; background:none; border:none; padding:8px; }
.menu-toggle span{ display:block; width:24px; height:2px; background: var(--ink); margin:5px 0; border-radius:2px; }

/* =========================================================
   3. THE LEASH LINE (signature scroll element)
   ========================================================= */
.leash-scope{ position:relative; }
.leash-wrap{
  position:absolute; top:0; left: 26px; bottom:0; width: 3px;
  display:flex; justify-content:center; z-index: 2; pointer-events:none;
}
.leash-track{
  position:relative; width:3px; height:100%;
  background-image: linear-gradient(var(--line-strong) 60%, transparent 0%);
  background-size: 3px 14px; background-repeat: repeat-y;
  border-radius:3px;
}
.leash-fill{
  position:absolute; top:0; left:0; width:3px; height:0%;
  background: linear-gradient(var(--leaf), var(--marigold));
  border-radius:3px;
  transform-origin: top;
}
.leash-walker{
  position:absolute; left:50%; top:0%; transform: translate(-50%,-50%);
  width: 34px; height:34px;
  background: var(--paper-card);
  border: 2px solid var(--marigold);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-card);
}
.leash-walker svg{ width:18px; height:18px; fill: var(--leaf-deep); }
@media (max-width: 980px){ .leash-wrap{ display:none; } }

/* =========================================================
   4. HERO
   ========================================================= */
.hero{
  position:relative;
  padding: 168px 0 96px;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items:center;
}
.hero h1{
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  letter-spacing: -.01em;
}
.hero h1 .line{ display:block; overflow:hidden; }
.hero h1 .word{ display:inline-block; will-change: transform; }
.hero h1 em{ font-style: italic; color: var(--leaf); }
.hero-sub{ font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 2em; }
.hero-actions{ display:flex; gap: 16px; flex-wrap:wrap; margin-bottom: 2.6em; }

.stat-row{ display:flex; gap: 28px; flex-wrap:wrap; }
.stat-chip{ display:flex; flex-direction:column; gap:2px; }
.stat-chip .num{ font-family: var(--font-mono); font-size: 1.5rem; font-weight:700; color: var(--leaf-deep); }
.stat-chip .label{ font-size: .82rem; color: var(--ink-faint); }

.hero-visual{ position:relative; }
.hero-visual .frame{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 4/5; background: var(--leaf-light);
}
.hero-visual .frame img, .hero-visual .frame video{ width:100%; height:100%; object-fit:cover; }
.hero-visual .badge{
  position:absolute; bottom: -22px; left: -22px;
  background: var(--paper-card); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-card);
  display:flex; align-items:center; gap:12px; max-width: 240px;
}
.hero-visual .badge .dot{ width:10px;height:10px;border-radius:50%; background: var(--marigold); flex:none; }
.hero-visual .badge strong{ display:block; font-size:.9rem; }
.hero-visual .badge span{ font-size:.78rem; color: var(--ink-faint); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero{ padding-top: 128px; }
}

/* =========================================================
   5. SECTION SCAFFOLD
   ========================================================= */
.section{ position:relative; padding: 110px 0; }
.section + .section{ border-top: 1px solid var(--line); }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p{ color: var(--ink-soft); font-size: 1.05rem; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-dark{ background: var(--leaf-deep); color: var(--paper-card); }
.section-dark h2, .section-dark h3{ color: var(--paper-card); }
.section-dark .section-head p{ color: rgba(251,243,228,.75); }
.section-dark .eyebrow{ color: var(--marigold); }

/* =========================================================
   6. APP / SAAS SECTION
   ========================================================= */
.app-showcase{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items:center; }
.app-showcase .phone-stack{ position:relative; }
.app-showcase .phone-frame{
  border-radius: 34px; overflow:hidden; box-shadow: var(--shadow-card);
  border: 6px solid var(--ink); background: var(--ink); max-width: 320px; margin: 0 auto;
}
.app-showcase .phone-frame img{ display:block; width:100%; }
.feature-list{ display:flex; flex-direction:column; gap: 22px; margin: 32px 0; }
.feature-item{ display:flex; gap:16px; align-items:flex-start; }
.feature-icon{
  flex: none; width:46px; height:46px; border-radius: 14px;
  background: var(--leaf-light); display:flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
}
.feature-item h4{ font-size: 1.08rem; margin-bottom:.25em; }
.feature-item p{ color: var(--ink-soft); font-size: .96rem; margin:0; }

.adopt-band{
  margin-top: 70px; padding: 40px; border-radius: var(--radius-lg);
  background: var(--paper-card); border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap: 32px; flex-wrap:wrap;
}
.adopt-band .price{ font-family: var(--font-mono); font-size: 2.4rem; color: var(--leaf-deep); }
.adopt-band .price span{ font-size: 1rem; color: var(--ink-faint); font-weight:400; }
.adopt-band-copy{ max-width: 480px; }
.adopt-band-copy p{ color: var(--ink-soft); margin:.4em 0 0; }

/* =========================================================
   7. HOW IT WORKS
   ========================================================= */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 32px; counter-reset: step; }
.step{ position:relative; padding: 32px 28px; background: var(--paper-card); border-radius: var(--radius-md); border: 1px solid var(--line); }
.step .step-num{ font-family: var(--font-mono); color: var(--marigold-dark); font-size:.85rem; letter-spacing:.08em; margin-bottom: 18px; display:block; }
.step h3{ font-size: 1.2rem; }
.step p{ color: var(--ink-soft); font-size: .95rem; margin:0; }
@media (max-width: 860px){ .steps{ grid-template-columns: 1fr; } }

/* =========================================================
   8. EVENTS (Swiper)
   ========================================================= */
.events-swiper{ overflow: visible !important; padding-bottom: 20px !important; }
.event-card{
  background: var(--paper-card); border-radius: var(--radius-md); overflow:hidden;
  border: 1px solid var(--line); height:100%; display:flex; flex-direction:column;
  transition: transform .4s cubic-bezier(.2,.9,.25,1), box-shadow .4s ease;
}
.event-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-card); }
.event-media{ aspect-ratio: 4/3; overflow:hidden; background: var(--leaf-light); position:relative; }
.event-media img, .event-media video{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.event-card:hover .event-media img, .event-card:hover .event-media video{ transform: scale(1.06); }
.event-date{
  position:absolute; top:14px; left:14px; background: var(--paper-card);
  font-family: var(--font-mono); font-size:.75rem; padding: 5px 10px; border-radius: 999px;
  color: var(--leaf-deep);
}
.event-body{ padding: 22px 22px 26px; flex:1; display:flex; flex-direction:column; }
.event-body .tag{ font-family: var(--font-mono); font-size: .72rem; color: var(--marigold-dark); text-transform:uppercase; letter-spacing:.08em; margin-bottom:.5em; }
.event-body h3{ font-size: 1.18rem; margin-bottom:.3em; }
.event-body p{ color: var(--ink-soft); font-size:.92rem; flex:1; }
.events-nav{ display:flex; gap:12px; margin-top: 34px; justify-content:flex-end; }
.events-nav button{
  width: 46px; height:46px; border-radius:50%; border:1.5px solid var(--line-strong);
  background: transparent; display:flex; align-items:center; justify-content:center; transition: all .3s ease;
}
.events-nav button:hover{ background: var(--ink); border-color: var(--ink); color: var(--paper-card); }
.events-nav button svg{ width:18px; height:18px; }

.paw-trail{ display:flex; align-items:center; gap:8px; margin: 40px 0 0; opacity:.5; }
.paw-trail span{ width:7px; height:7px; border-radius:50%; background: var(--marigold); }

/* =========================================================
   9. TESTIMONIALS
   ========================================================= */
.testimonial-swiper{ padding-bottom: 10px !important; }
.testi-card{
  background: var(--paper-card); border-radius: var(--radius-md); padding: 32px;
  border: 1px solid var(--line); height:100%;
}
.testi-quote{ font-family: var(--font-display); font-size: 1.15rem; line-height:1.5; margin-bottom: 22px; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:44px; height:44px; border-radius:50%; overflow:hidden; background: var(--leaf-light); flex:none; }
.testi-avatar img{ width:100%; height:100%; object-fit:cover; }
.testi-person strong{ display:block; font-size: .95rem; }
.testi-person span{ font-size:.78rem; color: var(--ink-faint); }

/* =========================================================
   10. MISSION / ABOUT
   ========================================================= */
.mission-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.mission-card{ padding: 34px 30px; border-radius: var(--radius-md); background: rgba(251,252,246,.06); border: 1px solid rgba(251,243,228,.16); }
.section-dark .mission-card h3{ font-size: 1.2rem; }
.section-dark .mission-card p{ color: rgba(251,243,228,.72); font-size: .95rem; margin:0; }
@media (max-width: 860px){ .mission-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   11. TEAM
   ========================================================= */
.team-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.team-card{ text-align:center; }
.team-photo{
  aspect-ratio: 1; border-radius: var(--radius-md); overflow:hidden; background: var(--leaf-light);
  margin-bottom: 16px; position:relative;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.team-card:hover .team-photo img{ transform: scale(1.05); }
.team-card h3{ font-size: 1.05rem; margin-bottom:.15em; }
.team-card .role{ font-family: var(--font-mono); font-size:.76rem; color: var(--leaf); text-transform:uppercase; letter-spacing:.06em; }
.team-card .bio{ font-size: .88rem; color: var(--ink-soft); margin-top:.6em; }
.team-social{ display:flex; gap:10px; justify-content:center; margin-top:.7em; }
.team-social a{ width:30px;height:30px;border-radius:50%;border:1px solid var(--line-strong); display:flex;align-items:center;justify-content:center; }
.team-social svg{ width:14px;height:14px; }
@media (max-width: 980px){ .team-grid{ grid-template-columns: repeat(2,1fr); } }

/* =========================================================
   12. CTA BAND
   ========================================================= */
.cta-band{
  border-radius: var(--radius-lg); background: var(--marigold);
  padding: 64px; text-align:center; position:relative; overflow:hidden;
}
.cta-band h2{ font-size: clamp(1.8rem,3.6vw,2.6rem); color: var(--leaf-deep); }
.cta-band p{ color: var(--leaf-deep); opacity:.85; max-width: 50ch; margin: 0 auto 2em; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cta-band .btn-primary{ background: var(--ink); }
.cta-band .btn-ghost{ border-color: rgba(23,35,26,.35); }
.cta-band .btn-ghost:hover{ background: var(--ink); }

/* =========================================================
   13. FOOTER
   ========================================================= */
#site-footer{ padding: 70px 0 34px; background: var(--ink); color: rgba(251,243,228,.75); }
.footer-top{ display:flex; justify-content:space-between; gap: 40px; flex-wrap:wrap; margin-bottom: 50px; }
.footer-brand{ max-width: 320px; }
.footer-brand .site-branding{ color: var(--paper-card); margin-bottom: 14px; }
.footer-cols{ display:flex; gap: 60px; flex-wrap:wrap; }
.footer-col h4{ color: var(--paper-card); font-size: .82rem; text-transform:uppercase; letter-spacing:.08em; font-family: var(--font-mono); margin-bottom: 16px; }
.footer-col ul{ display:flex; flex-direction:column; gap: 10px; }
.footer-col a{ font-size:.92rem; opacity:.85; transition: opacity .25s ease, color .25s ease; }
.footer-col a:hover{ opacity:1; color: var(--marigold); }
.footer-social{ display:flex; gap:12px; margin-top: 18px; }
.footer-social a{ width:40px;height:40px;border-radius:50%; border:1px solid rgba(251,243,228,.25); display:flex;align-items:center;justify-content:center; }
.footer-social svg{ width:17px;height:17px; }
.footer-bottom{ display:flex; justify-content:space-between; gap: 16px; flex-wrap:wrap; padding-top: 28px; border-top: 1px solid rgba(251,243,228,.14); font-size: .8rem; }
.footer-bottom a{ opacity:.7; }
.footer-bottom a:hover{ opacity:1; }

.wa-float{
  position:fixed; right:24px; bottom:24px; z-index:600;
  width:56px;height:56px;border-radius:50%; background:#25D366;
  display:flex;align-items:center;justify-content:center; box-shadow: var(--shadow-card);
  transition: transform .3s ease;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width:26px;height:26px; fill:#fff; }

/* =========================================================
   14. AOS overrides (kept subtle, per frontend design guidance)
   ========================================================= */
[data-aos]{ transition-property: transform, opacity; }

/* =========================================================
   16. STANDALONE PAGE HERO (About / Team / Events / Contact)
   ========================================================= */
.page-hero{
  padding: 160px 0 70px;
  text-align:center;
}
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero p{ max-width: 60ch; margin: 0 auto; color: var(--ink-soft); font-size: 1.08rem; }

.narrative-block{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items:center; }
.narrative-block .frame{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3; background: var(--leaf-light); }
.narrative-block .frame img{ width:100%; height:100%; object-fit:cover; }
.narrative-block.reverse{ direction: rtl; }
.narrative-block.reverse > *{ direction: ltr; }
@media (max-width: 860px){ .narrative-block{ grid-template-columns:1fr; } }

.events-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 980px){ .events-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .events-grid{ grid-template-columns: 1fr; } }

.contact-wrap{ display:grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
.contact-info-card{ background: var(--paper-card); border:1px solid var(--line); border-radius: var(--radius-md); padding: 32px; height: fit-content; }
.contact-info-card h3{ font-size: 1.1rem; margin-bottom: 1em; }
.contact-info-row{ display:flex; align-items:center; gap:14px; margin-bottom: 18px; }
.contact-info-row .ico{ width:42px;height:42px;border-radius:12px; background: var(--leaf-light); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-info-row .ico svg{ width:19px;height:19px; color: var(--leaf-deep); }
.contact-info-row a, .contact-info-row span{ font-size:.94rem; }

.contact-form{ display:grid; gap: 18px; }
.contact-form .row2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form label{ display:block; font-size:.82rem; font-weight:600; margin-bottom:.4em; color: var(--ink-soft); }
.contact-form input, .contact-form textarea{
  width:100%; padding: .9em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: var(--paper-card); font-family: var(--font-body); font-size:.96rem; color: var(--ink);
  transition: border-color .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color: var(--leaf); }
.contact-form textarea{ min-height: 140px; resize: vertical; }
.form-notice{ padding: 14px 18px; border-radius: var(--radius-sm); font-size:.92rem; margin-bottom: 8px; }
.form-notice.success{ background: var(--leaf-light); color: var(--leaf-deep); }
.form-notice.error{ background: #FBE3D8; color: var(--rust); }
.hp-field{ position:absolute; left:-9999px; opacity:0; }
@media (max-width: 860px){ .contact-wrap{ grid-template-columns:1fr; } .contact-form .row2{ grid-template-columns:1fr; } }

@media (max-width: 860px){
  .menu-toggle{ display:block; }
  .primary-nav{
    position: fixed; inset: 0; top: 0; background: var(--paper);
    display:flex; align-items:center; justify-content:center;
    transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.9,.25,1);
    z-index: 400;
  }
  .primary-nav.is-open{ transform: translateY(0); }
  .primary-nav ul{ flex-direction:column; gap: 1.4em; text-align:center; }
  .primary-nav a{ font-size: 1.4rem; font-family: var(--font-display); }
  .header-cta .btn-ghost{ display:none; }
  .app-showcase{ grid-template-columns: 1fr; }
  .app-showcase .phone-stack{ order:-1; }
  .footer-top{ flex-direction:column; }
}
@media (max-width: 600px){
  .team-grid{ grid-template-columns: 1fr 1fr; }
  .adopt-band{ flex-direction:column; align-items:flex-start; }
  .cta-band{ padding: 42px 26px; }
}
