/*
Theme Name: Shay Baumgart
Theme URI: https://shaybaumgart.com
Author: Shay Baumgart
Author URI: https://shaybaumgart.com
Description: Personal portfolio theme for Shay Baumgart – Strategic Growth & Design Leadership.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shay-baumgart
Tags: portfolio, one-page, minimal, professional
*/

/* ============================================================
   CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --background: #F3F5F4;
  --foreground: #0F1720;
  --card: #FFFFFF;
  --card-foreground: #0F1720;
  --primary: #6E8F7A;
/*  --primary: #1B1F24;*/
  --primary-foreground: #FFFFFF;
  --primary-rgb: 27, 31, 36;
  --secondary: #DCE2DC;
  --secondary-foreground: #1B1F24;
  --muted: #BEB8B6;
  --muted-foreground: #5F6B73;
  --accent: #6E8F7A;
  --accent-foreground: #FFFFFF;
  --border: #E2E8E5;
  --input: #E2E8E5;
  --ring: #6E8F7A;
  --destructive: #E05252;

  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Figtree', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --px-sm: 1.5rem;
  --px-md: 3rem;
  --px-lg: 6rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::selection,
body *::selection {
  background-color: rgba(37, 99, 235, 0.2);
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  color: var(--foreground);
}

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

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   TYPOGRAPHY SPECIAL
   ============================================================ */
.text-stroke {
  -webkit-text-stroke: 1.5px var(--foreground);
  color: transparent;
  transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.text-stroke:hover {
  color: var(--foreground);
  -webkit-text-stroke: 1.5px transparent;
}

/* ============================================================
   BACKGROUND EFFECTS
   ============================================================ */
/* Fixed grid overlay */
.bg-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* Ambient blobs */
.ambient-blob-tr {
  position: fixed;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.ambient-blob-bl {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(191, 219, 254, 0.3);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.site-nav__logo span {
  color: var(--primary);
}

.site-nav__links {
  display: none;
  gap: 2rem;
  list-style: none;
}

.site-nav__links a {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.site-nav__links a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.site-wrapper {
  min-height: 100vh;
  overflow: hidden;
}

.site-main {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
}

/* ============================================================
   SECTION PADDING UTILITY
   ============================================================ */
.section-px {
  padding-left: var(--px-sm);
  padding-right: var(--px-sm);
}

@media (min-width: 768px) {
  .section-px {
    padding-left: var(--px-md);
    padding-right: var(--px-md);
  }
}

@media (min-width: 1024px) {
  .section-px {
    padding-left: var(--px-lg);
    padding-right: var(--px-lg);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 1rem;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: transparent;
}

.hero__divider {
  height: 1px;
  width: 3rem;
  background-color: var(--border);
  flex-shrink: 0;
}

.hero__subtitle-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--muted-foreground);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  max-width: 1400px;
}

.hero__body-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .hero__body-row {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 300;
  line-height: 1.75;
  max-width: 36rem;
}

.hero__description em {
  color: var(--foreground);
  font-weight: 500;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(var(--primary-rgb), 0.3);
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .hero__description {
    font-size: 1.5rem;
  }
}

.hero__cta-wrap {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .hero__cta-wrap {
    justify-content: flex-end;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  height: 4rem;
  padding: 0 2.5rem;
  font-size: 0.875rem;
  gap: 1rem;
  border-radius: 0;
}

.btn--primary:hover {
  background-color: rgba(var(--primary-rgb), 0.9);
}

.btn--primary .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.btn--primary:hover .btn-icon {
  transform: translate(3px, -3px);
}

.btn--cta-primary {
  background-color: var(--primary);
  color: #ffffff;
  height: 4rem;
  padding: 0 3rem;
  font-size: inherit;
  letter-spacing: 0.15em;
  border-radius: 0;
}

.btn--cta-primary:hover {
  background-color: var(--foreground);
}

.btn--cta-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--foreground);
  height: 4rem;
  padding: 0 3rem;
  font-size: inherit;
  letter-spacing: 0.15em;
  border-radius: 0;
}

.btn--cta-outline:hover {
  background-color: var(--foreground);
  color: #ffffff;
}

/* ============================================================
   IMAGE BREAK SECTION
   ============================================================ */
.image-break {
  padding: 4rem var(--px-sm);
}

@media (min-width: 768px) {
  .image-break {
    padding-left: var(--px-md);
    padding-right: var(--px-md);
  }
}

@media (min-width: 1024px) {
  .image-break {
    padding-left: var(--px-lg);
    padding-right: var(--px-lg);
  }
}

.image-break__frame {
  width: 100%;
  height: 400px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb), 0.05);
  animation: frameFadeIn 1.2s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

@supports not (animation-timeline: view()) {
  .image-break__frame {
    animation: frameFadeInFallback 1.2s ease 0.2s both;
  }
  @keyframes frameFadeInFallback {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
  }
}

@keyframes frameFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.image-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.image-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.8) 0%, transparent 60%);
  z-index: 10;
}

.image-break__caption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 20;
}

.image-break__caption-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.image-break__caption-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================================
   VISION SPLIT SECTION
   ============================================================ */
.vision-section {
  padding: 6rem var(--px-sm);
  border-top: 1px solid rgba(var(--border), 0.5);
  background-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .vision-section {
    padding-left: var(--px-md);
    padding-right: var(--px-md);
  }
}

@media (min-width: 1024px) {
  .vision-section {
    padding-left: var(--px-lg);
    padding-right: var(--px-lg);
  }
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

@media (min-width: 1024px) {
  .vision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Left panel */
.vision-left__heading {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
}

.vision-left__body {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  background-color: #ffffff;
  transition: border-color 0.2s ease;
  cursor: default;
}

.skill-item:hover {
  border-color: var(--primary);
}

.skill-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.skill-item:hover .skill-item__icon {
  opacity: 1;
}

.skill-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Right panel */
.vision-right {
  background-color: var(--primary);
  padding: 3rem;
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.vision-right__blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(50%, -50%);
  filter: blur(2rem);
}

.vision-right__heading {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
  color: var(--primary-foreground);
}

.strat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 10;
}

.strat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.strat-item:first-child {
  padding-top: 0;
}

.strat-item__name {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.strat-item__value {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.vision-right__body {
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.75;
  position: relative;
  z-index: 10;
}

/* ============================================================
   OUTCOMES SECTION
   ============================================================ */
.outcomes-section {
  padding: 8rem var(--px-sm);
  background-color: var(--card);
  border-top: 1px solid rgba(var(--border), 0.5);
  border-bottom: 1px solid rgba(var(--border), 0.5);
}

@media (min-width: 768px) {
  .outcomes-section {
    padding-left: var(--px-md);
    padding-right: var(--px-md);
  }
}

@media (min-width: 1024px) {
  .outcomes-section {
    padding-left: var(--px-lg);
    padding-right: var(--px-lg);
  }
}

.outcomes-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 6rem;
  gap: 2rem;
}

@media (min-width: 768px) {
  .outcomes-header {
    flex-direction: row;
  }
}

.outcomes-header__heading {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.outcomes-header__kicker {
  text-align: right;
}

.outcomes-header__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.outcomes-header__rule {
  height: 4px;
  width: 6rem;
  background-color: var(--primary);
  margin-left: auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .outcomes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.outcome-card {
  background-color: #ffffff;
  padding: 3rem;
  transition: background-color 0.5s ease;
  cursor: default;
}

.outcome-card:hover {
  background-color: var(--primary);
}

.outcome-card__stat {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
  transition: color 0.5s ease;
  color: var(--foreground);
}

.outcome-card:hover .outcome-card__stat {
  color: #ffffff;
}

.outcome-card__stat-accent {
  color: var(--primary);
  transition: color 0.5s ease;
}

.outcome-card:hover .outcome-card__stat-accent {
  color: rgba(255, 255, 255, 0.5);
}

.outcome-card__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  transition: color 0.5s ease;
}

.outcome-card:hover .outcome-card__label {
  color: rgba(255, 255, 255, 0.6);
}

.outcome-card__body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--foreground);
  transition: color 0.5s ease;
}

.outcome-card:hover .outcome-card__body {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   CTA / CONNECT SECTION
   ============================================================ */
.cta-section {
  padding: 10rem var(--px-sm);
  text-align: center;
  background-color: #ffffff;
  position: relative;
}

@media (min-width: 768px) {
  .cta-section {
    padding-left: var(--px-md);
    padding-right: var(--px-md);
  }
}

@media (min-width: 1024px) {
  .cta-section {
    padding-left: var(--px-lg);
    padding-right: var(--px-lg);
  }
}

.cta-section__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.cta-section__heading {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  margin-bottom: 2.5rem;
}

.cta-section__heading span {
  color: var(--primary);
}

.cta-section__body {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  font-weight: 300;
  margin-bottom: 4rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .cta-section__body {
    font-size: 1.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 3rem var(--px-sm);
  border-top: 1px solid rgba(var(--border), 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding-left: var(--px-md);
    padding-right: var(--px-md);
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--foreground);
}

.site-footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--primary);
}

/* ============================================================
   SCROLL ANIMATIONS (CSS-only fallback)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SVG ICONS (inline helpers)
   ============================================================ */
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   WORDPRESS CORE ALIGNMENT CLASSES
   ============================================================ */
.alignleft  { float: left;  margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--muted-foreground); text-align: center; }
