/* ------------------------------
   Base + Layout
------------------------------ */

:root {
  /* Pothos palette */
  --pothos-dark: #3b581b;
  --pothos-medium: #95af34;
  --pothos-light: #eaef97;
  --pothos-cream: #fefee2;

  /* Nav-specific tokens */
  --nav-bg: #111f10;
  --nav-bg-inner: #1b2c13;
  --nav-outline: #dde96a;
  --nav-text: #fdfdfd;
  --nav-muted: #ddeac5;
  --nav-accent: var(--pothos-medium);
  --nav-accent-soft: rgba(221, 233, 106, 0.14);
  --nav-border: rgba(221, 233, 106, 0.9);
  --nav-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --nav-radius: 999px;
  --container-max: 1100px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

/* ------------------------------
   Header / Nav Shell
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(173, 208, 104, 0.55),
    rgba(173, 208, 104, 0.2),
    transparent
  );
}

@supports ((backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px))) {
  .site-header {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

.nav-container {
  max-width: var(--container-max);
  margin: 0.4rem auto 0;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  background:
    radial-gradient(circle at top left, rgba(234, 239, 151, 0.24), transparent 60%),
    linear-gradient(135deg, var(--nav-bg-inner), #25381a);
  border-radius: var(--nav-radius);
  border: 1px solid var(--nav-border);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(149, 175, 52, 0.25);
}

/* ------------------------------
   Brand
------------------------------ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--nav-text);
  white-space: nowrap;
}

.brand-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;   /* small rounding, not a circle; set to 0 if you want sharp corners */
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;        /* no outline / ring */
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--nav-muted);
}

/* ------------------------------
   Nav Links (Desktop base)
------------------------------ */

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;          /* slightly smaller so long labels fit */
  letter-spacing: 0.06em;     /* a bit tighter */
  text-transform: uppercase;
  font-weight: 500;
  color: var(--nav-muted);
  border: 1px solid transparent;
  white-space: nowrap;        /* keeps "WHAT I DO" on one line */
  transition:
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    transform 110ms ease,
    box-shadow 150ms ease;
}

.nav-link:hover {
  color: var(--nav-text);
  background: rgba(17, 31, 16, 0.92);
  border-color: rgba(221, 233, 106, 0.6);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--nav-text);
  background: var(--nav-accent-soft);
  border-color: rgba(221, 233, 106, 0.9);
}

/* CTA button */
.nav-cta {
  background: var(--accent);               /* same as .btn-primary */
  color: #050a05;
  border-radius: 999px;
  border: 1px solid rgba(149, 175, 52, 0.5);
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(6, 16, 7, 0.32);
}

.nav-cta:hover {
  background: #a7c746;                     /* same hover color */
  box-shadow: 0 8px 18px rgba(6, 16, 7, 0.38);
  transform: translateY(-1px);
  color: #050a05;
}

/* ------------------------------
   Mobile Navigation (default)
------------------------------ */

.nav-toggle {
  display: none;
}

/* Hamburger icon */
.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(221, 233, 106, 0.9);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  background: rgba(17, 31, 16, 0.9);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-text);
  transition:
    transform 180ms ease,
    opacity 160ms ease,
    top 180ms ease,
    bottom 180ms ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
}

.nav-toggle-label span::before {
  top: -0.28rem;
}

.nav-toggle-label span::after {
  bottom: -0.28rem;
}

/* Mobile menu panel (hidden by default) */
.main-nav {
  position: absolute;
  inset-inline: 0.75rem;
  top: calc(100% - 0.35rem);
  transform: translateY(0.6rem);
  background: linear-gradient(
    to bottom,
    rgba(17, 31, 16, 0.98),
    rgba(17, 31, 16, 0.95),
    rgba(17, 31, 16, 0.92)
  );
  border-radius: 1.2rem;
  border: 1px solid rgba(221, 233, 106, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
  padding: 0.5rem 0.4rem;
  opacity: 0;
  pointer-events: none;
  transform-origin: top;
  scale: 0.98;
  display: none;
  transition:
    opacity 160ms ease-out,
    scale 160ms ease-out;
}

.main-nav ul {
  flex-direction: column;
  align-items: stretch;
}

.main-nav li {
  width: 100%;
}

.main-nav .nav-link {
  width: 100%;
  justify-content: flex-start;
  padding-block: 0.55rem;
}

/* Toggle open when checkbox is checked */
.nav-toggle:checked ~ .main-nav {
  display: block;
  opacity: 1;
  pointer-events: auto;
  scale: 1;
}

/* Animate burger into “X” */
.nav-toggle:checked + .nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
  top: 0;
  transform: rotate(0deg);
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* ------------------------------
   Medium Screens
------------------------------ */

@media (min-width: 768px) {
  .nav-container {
    padding-inline: 1.9rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.8rem;
  }
}

/* ------------------------------
   Desktop Nav (hamburger off)
------------------------------ */

@media (min-width: 1024px) {
  .nav-toggle-label {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    scale: 1;
    padding: 0;
    inset: auto;
    display: block;
  }

  .main-nav ul {
    flex-direction: row;
  }

  .nav-container {
    margin-top: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ---------------------------------
   Layout & Typography
--------------------------------- */

:root {
  /* Pothos palette */
  --pothos-dark: #3b581b;
  --pothos-medium: #95af34;
  --pothos-light: #eaef97;
  --pothos-cream: #fefee2;

  /* Page tokens – lighter UI */
  --page-bg: #f5f8eb;   /* main background */
  --page-bg-alt: #edf4da;
  --section-muted: #f2f6e6;
  --section-dark: #eaf1d6;
  --text-main: #1f2933;
  --text-muted: #6b7a5a;
  --accent: var(--pothos-medium);
  --accent-soft: rgba(149, 175, 52, 0.12);
  --border-subtle: rgba(149, 175, 52, 0.35);
  --card-bg: #ffffff;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-soft: 0 18px 45px rgba(148, 175, 52, 0.18);
  --container-max: 1100px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(234, 239, 151, 0.4),
      transparent 55%
    ),
    radial-gradient(
      circle at center right,
      rgba(149, 175, 52, 0.28),
      transparent 60%
    ),
    var(--page-bg);
  color: var(--text-main);
}

/* Constrains content width and adds padding */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Reusable section wrapper */
.section {
  position: relative;
  padding-top: 1rem;
}

/* Skip rendering off-screen sections until needed */
.section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section-inner {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(149, 175, 52, 0.28);
  background:
    radial-gradient(
      circle at top left,
      rgba(234, 239, 151, 0.25),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(149, 175, 52, 0.18),
      transparent 55%
    ),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

/* Variants */
.section-muted .section-inner {
  background:
    radial-gradient(
      circle at top left,
      rgba(234, 239, 151, 0.18),
      transparent 55%
    ),
    #f7faef;
}


.section-dark {
  padding-top: 1rem;
}

.section-dark .section-inner {
  background:
    radial-gradient(
      circle at top center,
      rgba(149, 175, 52, 0.22),
      transparent 55%
    ),
    #f2f6e6;
}

/* Section headings */
.section-header {
  padding: 2rem 1.8rem 1.5rem;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-header {
  margin-inline: auto;
}

/* Eyebrow label */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-top: 0.75rem;
}

.section-header p {
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

/* ---------------------------------
   Hero
--------------------------------- */

.hero {
  padding-top: 1.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-copy {
  padding: 2.25rem 1.8rem 1.5rem;
}

.hero-subtitle {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #556647;
}

.hero-meta span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(149, 175, 52, 0.35);
  background: #f7faef;
}

/* Side panel in hero */
.hero-panel {
  padding: 0 1.8rem 2rem;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.hero-card-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.hero-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  margin: 0.4rem 0 0.6rem;
  color: var(--text-muted);
}

.hero-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------------------------------
   About section layout
--------------------------------- */

.about-inner {
  padding-inline: 1.8rem;
}

.about-layout {
  display: flex;
  flex-direction: column;       /* mobile: stack text then photo */
  gap: 1.5rem;
  align-items: flex-start;
}

.about-text {
  padding-right: 0;
}

.about-photo {
  width: 100%;
  display: flex;
  justify-content: center;   /* center under the text on small screens */
  padding: 0 0 1.5rem;
}

.about-photo-img {
  max-width: 200px;
  max-height: 300px;
  width: min(100%, 200px);
  height: auto;
  border-radius: 1.4rem;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

/* Tablet & up: side-by-side */
@media (min-width: 768px) {
  .about-inner {
    padding-inline: 2.2rem;
  }

  .about-layout {
    flex-direction: row;        /* desktop: text left, photo right */
    align-items: flex-start;
  }

  .about-text {
    flex: 2;
    padding-right: 2rem;
  }

  .about-photo {
    flex: 1;
    justify-content: flex-end;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .about-photo-img {
    max-width: 240px;
    max-height: 360px;
    width: min(100%, 240px);
    height: auto;
  }
}


/* ---------------------------------
   Grid & Cards
--------------------------------- */

.grid {
  display: grid;
  gap: 1.3rem;
  padding: 0 1.8rem 2rem;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

/* Change this: */
.card p:not(.badge) {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feature cards */
.feature-card h3 {
  margin-bottom: 0.4rem;
}

/* Portfolio cards */
.portfolio-card h3 {
  margin-bottom: 0.25rem;
}

/* ---------------------------------
   Pricing
--------------------------------- */

.pricing-grid {
  margin-top: 0.5rem;
}

.pricing-card {
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(149, 175, 52, 0.9);
  box-shadow: 0 24px 60px rgba(149, 175, 52, 0.3);
  transform: translateY(-2px);
  background: linear-gradient(
    to bottom right,
    #fefee2,
    #ffffff
  );
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(149, 175, 52, 0.6);
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.badge-primary {
  border-color: transparent;
  background: var(--accent);
  color: #0b1107;
}

/* Prevent badge from stretching full width inside flex-column cards */
.pricing-card .badge {
  align-self: flex-start;
  width: fit-content; /* optional, but makes intent explicit */
}


.price {
  font-size: 1.3rem;
  margin: 0.3rem 0 0.1rem;
}

.pricing-subtitle {
  font-size: 0.9rem;
}

/* Pricing grid: 1-up on mobile, 2-up on tablet+ */
.pricing-grid-2 {
  grid-template-columns: 1fr; /* mobile default */
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Make sure each pricing card stretches evenly */
.pricing-grid-2 .pricing-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}


/* ---------------------------------
   Contact
--------------------------------- */

.contact-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0 1.8rem 2rem;
}

.contact-note {
  margin: 0 0 0.4rem;
  color: #5f6f50;
  font-weight: 500;
}

.contact-note-small {
  font-size: 0.8rem;
}

.contact-email {
  display: inline-flex;
  margin-bottom: 0.5rem;
}

/* ---------------------------------
   Buttons
--------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 120ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #050a05;
  box-shadow: 0 6px 14px rgba(6, 16, 7, 0.32); /* smaller + softer */
}

.btn-primary:hover {
  background: #a7c746;
  box-shadow: 0 8px 18px rgba(6, 16, 7, 0.38);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(149, 175, 52, 0.5);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: #f7faef;
  border-color: rgba(149, 175, 52, 0.85);
  transform: translateY(-1px);
}

/* ---------------------------------
   Footer
--------------------------------- */

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-meta {
  margin-top: 0.25rem;
}

/* ---------------------------------
   Responsive Layout
--------------------------------- */

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

/* Medium screens (tablets) */
@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }

  .hero-inner {
    flex-direction: row;
  }

  .hero-copy,
  .hero-panel {
    width: 50%;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-section {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact-section > .section-header {
    padding-top: 1.5rem;
  }

  .contact-panel {
    width: 40%;
    align-self: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .section-header {
    padding-inline: 2.2rem;
  }

  .grid {
    padding-inline: 2.2rem;
  }
}

/* Large screens (desktops) */
@media (min-width: 1024px) {
  .container {
    padding-inline: 2.4rem;
  }

  .hero-copy {
    padding-inline: 2.4rem;
  }

  .hero-panel {
    padding-inline: 2.4rem;
  }

  .section-header {
    padding-inline: 2.4rem;
  }

  .grid {
    padding-inline: 2.4rem;
  }
}
