/*
Theme Name: Shyam Siyani — Solutions Architect
Theme URI: https://ajjatp.com
Author: Shyam Siyani
Author URI: https://ajjatp.com
Description: A bold, editorial personal-brand theme for Shyam Siyani — Solutions Architect, Product Owner, and founder of AJJA Technology Partners. One-page layout with an experience timeline, services, and contact CTA. Custom-built, no page builder required.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shyam-siyani
*/

/* ==========================================================================
   0. RESET
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body,h1,h2,h3,h4,p,figure,blockquote,dl,dd,ul,ol { margin: 0; }

ul[class],ol[class] { padding: 0; list-style: none; }

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

button { font: inherit; cursor: pointer; }

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

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root{
  /* -- palette (Dreamteam-inspired: warm cream, near-black ink, rust-red accent) -- */
  --cream:        #F4EEE2;
  --cream-deep:   #ECE3D2;
  --paper:        #FBF8F1;
  --ink:          #171410;
  --ink-soft:     #4A4640;
  --ink-faint:    #8B8578;
  --rust:         #C0392B;
  --rust-dark:    #9C2E22;
  --rust-tint:    #F1D9D3;
  --line:         rgba(23,20,16,.12);
  --line-soft:    rgba(23,20,16,.08);
  --white:        #FFFFFF;
  --dark:         #16130F;
  --dark-2:       #201C16;

  /* -- type -- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* -- shape / motion -- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(23,20,16,.06), 0 12px 32px -12px rgba(23,20,16,.18);
  --shadow-lift: 0 20px 50px -20px rgba(23,20,16,.35);
  --ease: cubic-bezier(.22,1,.36,1);

  --wrap: 1180px;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

body{
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,h2,h3,h4{
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rust);
  display: inline-block;
}

.section-head{
  max-width: 720px;
  margin: 0 0 56px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(30px, 4vw, 44px); }
.section-head p{ margin-top: 18px; font-size: 18px; color: var(--ink-soft); }

.accent-italic{
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--rust);
}

section{ position: relative; }

.section-pad{ padding: 110px 0; }
@media (max-width: 780px){ .section-pad{ padding: 72px 0; } }

.bg-grid{
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
}

.bg-dark{
  background: var(--dark);
  color: var(--paper);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4{ color: var(--paper); }
.bg-dark .section-head p{ color: rgba(251,248,241,.62); }

.bg-paper{ background: var(--paper); }

/* buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--rust); }
.btn-rust{ background: var(--rust); color: var(--paper); }
.btn-rust:hover{ background: var(--rust-dark); }
.btn-ghost{ background: transparent; border-color: rgba(23,20,16,.22); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--ink); }
.btn-ghost-light{ background: transparent; border-color: rgba(251,248,241,.3); color: var(--paper); }
.btn-ghost-light:hover{ border-color: var(--paper); }

/* pill badges */
.pill{
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ==========================================================================
   3. HEADER / NAV
   ========================================================================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid (not translucent + backdrop-filter) on purpose: a filter/
     backdrop-filter on this element would create a CSS containing block
     for position:fixed descendants (like the mobile menu nested inside
     header > nav), which breaks their viewport-relative positioning. */
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.site-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-logo .mark-img{
  height: 42px;
  width: auto;
  border-radius: 9px;
  display: block;
  box-shadow: 0 2px 6px rgba(23,20,16,.25);
}
.site-logo img.custom-logo{
  height: 42px;
  width: auto;
  border-radius: 9px;
  display: block;
}
.site-logo .sub{
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.primary-menu{
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.primary-menu a{
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.primary-menu a:hover{ color: var(--rust); }

.header-actions{ display: flex; align-items: center; gap: 20px; }

.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: transparent;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after{ top: 0; transform: rotate(-45deg); }

@media (max-width: 900px){
  .primary-menu{
    position: fixed; inset: 84px 0 0 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    padding: 24px 32px 32px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    border-bottom: 1px solid var(--line);
    overflow-y: auto;
  }
  .primary-menu.is-open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-menu li{ width: 100%; border-bottom: 1px solid var(--line-soft); }
  .primary-menu a{ display: block; padding: 16px 4px; font-size: 17px; }
  .nav-toggle{ display: inline-flex; }
  .header-actions .btn-primary{ display: none; }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */

.hero{
  padding: 120px 0 90px;
  text-align: center;
}
.hero .wrap{ max-width: 980px; }
.hero h1{
  font-size: clamp(40px, 6.4vw, 76px);
  letter-spacing: -0.03em;
}
.hero h1 .line{ display: block; }
.hero h1 .rust{ color: var(--rust); }
.hero-sub{
  max-width: 620px;
  margin: 28px auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 23px);
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero-cta{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta{
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-faint);
  letter-spacing: .02em;
}

/* client logo strip */
.logo-strip{
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.logo-strip .strip-label{
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.logo-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
}
.logo-row span{
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-soft);
  opacity: .75;
  padding: 6px 4px;
}

/* ==========================================================================
   5. ABOUT
   ========================================================================== */

.about-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px){ .about-grid{ grid-template-columns: 1fr; gap: 40px; } }

.about-copy p{
  font-size: 18px;
  color: rgba(251,248,241,.82);
  margin-bottom: 20px;
}
.about-copy p:last-child{ margin-bottom: 0; }
.about-copy strong{ color: var(--paper); font-weight: 700; }

.stat-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat-card{
  background: rgba(251,248,241,.05);
  border: 1px solid rgba(251,248,241,.14);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.stat-card .num{
  font-size: 34px;
  font-weight: 800;
  color: var(--rust);
  display: block;
  letter-spacing: -0.02em;
}
.stat-card .label{
  margin-top: 6px;
  font-size: 14px;
  color: rgba(251,248,241,.65);
  line-height: 1.4;
}

.competency-list{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.competency-list .pill{
  background: rgba(251,248,241,.06);
  border-color: rgba(251,248,241,.18);
  color: rgba(251,248,241,.85);
}

/* ==========================================================================
   6. SERVICES
   ========================================================================== */

.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1000px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .services-grid{ grid-template-columns: 1fr; } }

.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service-card .icon{
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--rust-tint);
  color: var(--rust);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card .icon svg{ width: 24px; height: 24px; }
.service-card h3{ font-size: 19px; margin-bottom: 10px; }
.service-card p{ font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ==========================================================================
   7. EXPERIENCE TIMELINE (accordion)
   ========================================================================== */

.timeline{
  position: relative;
  margin-top: 8px;
}
.timeline::before{
  content: "";
  position: absolute;
  left: 23px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--line);
}
@media (max-width: 640px){ .timeline::before{ left: 15px; } }

.xp-item{
  position: relative;
  padding-left: 68px;
  margin-bottom: 6px;
}
@media (max-width: 640px){ .xp-item{ padding-left: 46px; } }

.xp-dot{
  position: absolute;
  left: 0; top: 14px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--rust);
  z-index: 1;
}
@media (max-width: 640px){ .xp-dot{ width: 32px; height: 32px; font-size: 10px; left: 0; } }

.xp-item.is-current .xp-dot{ background: var(--rust); color: var(--paper); border-color: var(--rust); }

.xp-toggle{
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.xp-toggle-text h3{
  font-size: 18px;
  margin-bottom: 4px;
}
.xp-toggle-text .role{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rust);
}
.xp-toggle-text .dates{
  font-size: 13.5px;
  color: var(--ink-faint);
  font-weight: 600;
  margin-top: 4px;
}
.xp-plus{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.xp-plus::before, .xp-plus::after{
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.xp-plus::before{ left: 9px; right: 9px; top: 14px; height: 2px; }
.xp-plus::after{ top: 9px; bottom: 9px; left: 14px; width: 2px; }
.xp-item.is-open .xp-plus::after{ transform: rotate(90deg); }

.xp-panel{
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s var(--ease);
}
.xp-item.is-open .xp-panel{ max-height: 600px; }
.xp-panel-inner{
  padding: 22px 26px 6px 26px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.xp-panel-inner .highlight{
  margin-top: 14px;
  padding-left: 18px;
  border-left: 2px solid var(--rust-tint);
  color: var(--ink);
  font-weight: 500;
}
.xp-panel-inner .clients{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xp-panel-inner .clients span{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--cream-deep);
  color: var(--ink-soft);
}

/* ==========================================================================
   8. TESTIMONIAL
   ========================================================================== */

.testimonial{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.45;
  color: var(--paper);
}
.testimonial cite{
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: var(--rust);
  letter-spacing: .02em;
}
.testimonial cite span{
  display: block;
  margin-top: 3px;
  font-weight: 500;
  font-size: 13.5px;
  color: rgba(251,248,241,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ==========================================================================
   9. CREDENTIALS + PERSONAL
   ========================================================================== */

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 780px){ .two-col{ grid-template-columns: 1fr; } }

.info-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.info-card h3{
  font-size: 20px;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.info-card ul{ display: flex; flex-direction: column; gap: 16px; }
.info-card li{ font-size: 15.5px; color: var(--ink-soft); }
.info-card li strong{ display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }

/* ==========================================================================
   10. CONTACT / CTA
   ========================================================================== */

.cta-panel{
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before{
  content:"";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--rust) 0%, transparent 70%);
  opacity: .35;
  border-radius: 50%;
}
.cta-panel h2{
  color: var(--paper);
  font-size: clamp(28px, 4vw, 42px);
  position: relative;
}
.cta-panel p{
  position: relative;
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(251,248,241,.68);
  font-size: 17px;
}
.cta-actions{
  position: relative;
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-contact-row{
  position: relative;
  margin-top: 30px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: rgba(251,248,241,.55);
}
.cta-contact-row a{ color: rgba(251,248,241,.85); font-weight: 600; }
.cta-contact-row a:hover{ color: var(--rust); }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.site-footer{
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.site-footer .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p{ font-size: 13.5px; color: var(--ink-faint); }
.footer-links{ display: flex; gap: 24px; }
.footer-links a{ font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.footer-links a:hover{ color: var(--rust); }

/* ==========================================================================
   12. GENERIC PAGE / SINGLE POST CONTENT
   ========================================================================== */

.page-hero{
  padding: 100px 0 40px;
}
.page-hero h1{ font-size: clamp(34px, 5vw, 54px); }

.entry-content{
  max-width: 760px;
  padding: 20px 0 100px;
}
.entry-content p{ margin-bottom: 20px; font-size: 17.5px; color: var(--ink-soft); }
.entry-content h2{ font-size: 28px; margin: 40px 0 16px; }
.entry-content h3{ font-size: 22px; margin: 32px 0 14px; }
.entry-content a{ color: var(--rust); text-decoration: underline; }
.entry-content img{ border-radius: var(--radius-md); margin: 24px 0; }
.entry-content ul, .entry-content ol{ margin: 0 0 20px 22px; list-style: disc; color: var(--ink-soft); font-size: 17.5px; }
.entry-content ol{ list-style: decimal; }

.error-404{
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 80px 0;
}
.error-404 h1{ font-size: clamp(60px, 12vw, 140px); color: var(--rust); }
.error-404 p{ margin: 16px 0 32px; font-size: 18px; color: var(--ink-soft); }

/* ==========================================================================
   13. REVEAL ANIMATION
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   14. WORDPRESS CORE ALIGNMENT HELPERS
   ========================================================================== */

.alignwide{ max-width: calc(var(--wrap) - 64px); margin-left: auto; margin-right: auto; }
.alignfull{ width: 100%; max-width: none; }
.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
