/*
Theme Name: Puneet Arora - Atelier Advisory
Theme URI: https://puneetarora.design
Author: Puneet Arora
Author URI: https://puneetarora.design
Description: Bespoke Executive Web Advisory and Enterprise CMS Replatforming WordPress theme with native Elementor Page Builder integration and custom custom-crafted widgets.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: puneet-advisory
Tags: custom-header, custom-menu, editor-style, full-width-template, translation-ready
*/

:root {
  --color-linen: #FAF7F2;
  --color-sand: #F4EFEB;
  --color-sand-light: #FAF6F0;
  --color-clay: #C85A32;
  --color-clay-hover: #B24A24;
  --color-clay-deep: #983D1B;
  --color-espresso: #211D1A;
  --color-espresso-soft: #36302B;
  --color-ink-muted: #6A625B;
  --color-ink-light: #968E86;
  --color-border-organic: #E7DFD5;
  --color-border-warm: rgba(33, 29, 26, 0.12);
  --color-sage: #4A5D4E;
  --color-sage-soft: #E5ECE6;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--color-linen);
  color: var(--color-espresso);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Base Editorial Typography */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }

/* Navigation Styling & List Resets */
#site-navigation ul,
.site-header ul,
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-navigation ul li a,
.site-header ul li a {
  text-decoration: none;
  color: #6A625B;
  transition: color 0.2s ease;
}

#site-navigation ul li a:hover,
.site-header ul li a:hover,
#site-navigation ul li.current-menu-item a {
  color: #C85A32;
}

/* Base Elementor Full-Width Canvas resets */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PUNEET ARORA ADVISORY: HERO SECTIONS & ACCORDION FIXES
   (Apply directly in WordPress Customizer > Additional CSS or Theme style.css)
   ========================================================================== */

/* 1. HOMEPAGE HERO ROTATOR SECTION (Fixes width blowout on full-width Elementor sections) */
.puneet-hero-rotator-widget,
.site-main .puneet-hero-rotator-widget {
  max-width: 80rem !important; /* 1280px */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1.25rem, 4vw, 3rem) !important;
  padding-right: clamp(1.25rem, 4vw, 3rem) !important;
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(3.5rem, 6vw, 5rem) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: min(850px, 85vh);
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #E7DFD5 !important;
}

.puneet-hero-rotator-widget h1,
.site-main .puneet-hero-rotator-widget h1 {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: clamp(2.25rem, 5.5vw, 4.75rem) !important;
  color: #211D1A !important;
  font-weight: 400 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.08 !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.puneet-hero-rotator-widget .puneet-rotating-phrase {
  display: block !important;
  font-family: 'Newsreader', Georgia, serif !important;
  font-style: italic !important;
  color: #C85A32 !important;
  font-weight: 300 !important;
  margin-top: 0.5rem !important;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 2. SUBPAGE HERO SECTIONS & LAYOUTS (Outcomes, Approach, Experience, Contact) */
.puneet-outcomes-screen,
.puneet-approach-screen,
.puneet-experience-screen,
.puneet-contact-screen,
.site-main .puneet-outcomes-screen,
.site-main .puneet-approach-screen,
.site-main .puneet-experience-screen,
.site-main .puneet-contact-screen {
  max-width: 80rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 6vw, 5rem) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  font-family: 'Outfit', sans-serif !important;
  color: #211D1A !important;
}

/* Taxonomy / Status Badges on All Pages */
.taxonomy-tag,
.puneet-outcomes-screen .taxonomy-tag,
.puneet-approach-screen .taxonomy-tag,
.puneet-experience-screen .taxonomy-tag,
.puneet-contact-screen .taxonomy-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
  padding: 0.375rem 0.875rem !important;
  border-radius: 9999px !important;
  background-color: #F4EFEB !important;
  border: 1px solid #E7DFD5 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: #36302B !important;
  margin-bottom: 1.5rem !important;
}

.taxonomy-tag::before,
.puneet-outcomes-screen .taxonomy-tag::before,
.puneet-approach-screen .taxonomy-tag::before,
.puneet-experience-screen .taxonomy-tag::before,
.puneet-contact-screen .taxonomy-tag::before {
  content: '' !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 9999px !important;
  background-color: #C85A32 !important;
}

/* Subpage H1 Headings */
.puneet-outcomes-screen h1,
.puneet-approach-screen h1,
.puneet-experience-screen h1,
.puneet-contact-screen h1,
.site-main .puneet-outcomes-screen h1,
.site-main .puneet-approach-screen h1,
.site-main .puneet-experience-screen h1,
.site-main .puneet-contact-screen h1 {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
  color: #211D1A !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1.25rem !important;
  max-width: 56rem !important;
}

/* Subpage Hero Subtitle Descriptions with Divider */
.subtitle,
.puneet-outcomes-screen .subtitle,
.puneet-approach-screen .subtitle,
.puneet-experience-screen .subtitle,
.puneet-contact-screen .subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
  color: #6A625B !important;
  font-weight: 300 !important;
  line-height: 1.625 !important;
  max-width: 44rem !important;
  margin-bottom: 2.5rem !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid #E7DFD5 !important;
}

/* 3. BULLETPROOF ACCORDION FUNCTIONALITY & BUTTON STYLE RESETS (ZERO THEME OVERRIDES) */
.puneet-accordion-row {
  cursor: pointer !important;
  user-select: none !important;
  transition: background-color 0.25s ease !important;
  border-bottom: 1px solid #E7DFD5 !important;
  background-color: transparent !important;
}

.puneet-accordion-row:hover {
  background-color: rgba(244, 239, 235, 0.6) !important;
}

/* Hard reset for button tag against WordPress/theme styles (fixes dark grey background glitch) */
button.puneet-accordion-toggle,
.puneet-accordion-row button.puneet-accordion-toggle,
.puneet-competency-accordions-widget button.puneet-accordion-toggle {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  cursor: pointer !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: inherit !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  line-height: inherit !important;
}

button.puneet-accordion-toggle:hover,
button.puneet-accordion-toggle:focus,
button.puneet-accordion-toggle:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: inherit !important;
}

.puneet-accordion-body {
  display: none;
}

.puneet-accordion-row.accordion-open > .puneet-accordion-body {
  display: block;
}

.puneet-accordion-body-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.puneet-accordion-row h3,
button.puneet-accordion-toggle h3 {
  color: #211D1A !important;
  font-family: 'Newsreader', Georgia, serif !important;
  font-weight: 400 !important;
  margin: 0 !important;
  transition: color 0.2s ease !important;
}

.puneet-accordion-row:hover h3,
button.puneet-accordion-toggle:hover h3 {
  color: #C85A32 !important;
}

.puneet-accordion-icon,
button.puneet-accordion-toggle .puneet-accordion-icon {
  user-select: none !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  min-height: 2rem !important;
  border-radius: 9999px !important;
  border: 1px solid #E7DFD5 !important;
  color: #C85A32 !important;
  background-color: #FFFFFF !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 1.125rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.puneet-accordion-row:hover .puneet-accordion-icon,
button.puneet-accordion-toggle:hover .puneet-accordion-icon {
  border-color: #C85A32 !important;
}

.puneet-accordion-row.accordion-open .puneet-accordion-icon,
button.puneet-accordion-toggle.accordion-open .puneet-accordion-icon,
.puneet-accordion-row.accordion-open button.puneet-accordion-toggle .puneet-accordion-icon {
  background-color: #C85A32 !important;
  color: #FAF7F2 !important;
  border-color: #C85A32 !important;
  box-shadow: 0 1px 3px rgba(200, 90, 50, 0.2) !important;
}

/* 3b. 16-WEEK ENGAGEMENT FRAMEWORK TAB BUTTONS (RESET THEME BUTTON DEFAULTS) */
button.puneet-phase-btn,
.puneet-engagement-framework-widget button.puneet-phase-btn,
.puneet-phase-btn {
  background: rgba(244, 239, 235, 0.6) !important;
  background-color: rgba(244, 239, 235, 0.6) !important;
  border: 1px solid #E7DFD5 !important;
  border-radius: 0.75rem !important;
  padding: 1.25rem !important;
  text-align: left !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  transition: all 0.25s ease !important;
  color: #6A625B !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  user-select: none !important;
}

button.puneet-phase-btn:hover,
.puneet-engagement-framework-widget button.puneet-phase-btn:hover,
.puneet-phase-btn:hover {
  background: rgba(244, 239, 235, 0.85) !important;
  background-color: rgba(244, 239, 235, 0.85) !important;
  border-color: rgba(200, 90, 50, 0.4) !important;
}

button.puneet-phase-btn.is-active,
.puneet-engagement-framework-widget button.puneet-phase-btn.is-active,
.puneet-phase-btn.is-active {
  background: #FAF7F2 !important;
  background-color: #FAF7F2 !important;
  border-color: #C85A32 !important;
  border-width: 1px !important;
  border-style: solid !important;
  box-shadow: 0 1px 4px rgba(33, 29, 26, 0.08) !important;
}

button.puneet-phase-btn .puneet-phase-label,
.puneet-phase-btn .puneet-phase-label {
  color: #6A625B !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  transition: color 0.2s ease !important;
}

button.puneet-phase-btn.is-active .puneet-phase-label,
.puneet-phase-btn.is-active .puneet-phase-label {
  color: #C85A32 !important;
  font-weight: 600 !important;
}

button.puneet-phase-btn .puneet-phase-title,
.puneet-phase-btn .puneet-phase-title {
  color: #6A625B !important;
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.125rem !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding-top: 0.25rem !important;
  transition: color 0.2s ease !important;
}

button.puneet-phase-btn.is-active .puneet-phase-title,
.puneet-phase-btn.is-active .puneet-phase-title,
button.puneet-phase-btn:hover .puneet-phase-title,
.puneet-phase-btn:hover .puneet-phase-title {
  color: #211D1A !important;
}

button.puneet-phase-btn .puneet-phase-duration,
.puneet-phase-btn .puneet-phase-duration {
  color: #6A625B !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 10px !important;
}

/* 4. SUBPAGE INTERACTIVE CONTENT GRIDS */
.case-studies-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
}

.case-study-item {
  background-color: #FAF6F0 !important;
  border: 1px solid #E7DFD5 !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
  transition: all 0.3s ease !important;
}

.case-study-item:hover {
  border-color: #C85A32 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -6px rgba(200, 90, 50, 0.1) !important;
}

.case-study-item h3 {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.5rem !important;
  color: #211D1A !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

.methodology-phases {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  margin-top: 2rem !important;
}

.phase-card {
  background-color: #F4EFEB !important;
  border: 1px solid #E7DFD5 !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
}

.phase-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #C85A32 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
}

.phase-card h3 {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.35rem !important;
  color: #211D1A !important;
  margin-bottom: 0.75rem !important;
}

.credentials-badge-box {
  background-color: #F4EFEB !important;
  border: 1px solid #E7DFD5 !important;
  border-radius: 1rem !important;
  padding: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.badge-title {
  font-family: ui-monospace, monospace !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #C85A32 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.5rem !important;
}

.badge-cert {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.75rem !important;
  color: #211D1A !important;
  margin-bottom: 1rem !important;
}

.timeline-records {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
  margin-top: 2rem !important;
}

.record-item {
  background-color: #FAF7F2 !important;
  border: 1px solid #E7DFD5 !important;
  border-left: 3px solid #C85A32 !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
}

.record-period {
  font-family: ui-monospace, monospace !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #C85A32 !important;
  letter-spacing: 0.2em !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

.record-item h3 {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.35rem !important;
  color: #211D1A !important;
  margin-bottom: 0.25rem !important;
}

.record-org {
  font-size: 0.875rem !important;
  color: #6A625B !important;
  font-family: 'Outfit', sans-serif !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
}

.contact-details-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 2rem !important;
  margin-top: 2rem !important;
}

.channel-card {
  background-color: #F4EFEB !important;
  border: 1px solid #E7DFD5 !important;
  border-radius: 1rem !important;
  padding: 2rem !important;
}

.channel-label {
  font-family: ui-monospace, monospace !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #C85A32 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
}

.channel-value {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.5rem !important;
  color: #211D1A !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 0.75rem !important;
  word-break: break-all !important;
}

.channel-value:hover {
  color: #C85A32 !important;
}