/**
 * ============================================
 * WITHKIND STUDIO - Main Stylesheet
 * ============================================
 *
 * This stylesheet contains all styles for the withkind.studio website.
 * It supports both light and dark themes via CSS custom properties.
 *
 * TABLE OF CONTENTS:
 * 1. CSS Custom Properties (Theme Variables)
 * 2. Base Styles & Reset
 * 3. Typography
 * 4. Layout & Container
 * 5. Header & Navigation
 * 6. Hero Section
 * 7. Clients Section
 * 8. Services Section
 * 9. Process Section (How We Work)
 * 10. Work/Projects Section
 * 11. Fit Section (Who We Work With)
 * 12. Pricing Section
 * 13. About Section
 * 14. CTA Section
 * 15. Footer
 * 16. Utility Classes
 * 17. Responsive Styles
 *
 * ============================================
 */

/* ============================================
   1. CSS CUSTOM PROPERTIES (THEME VARIABLES)
   ============================================ */

:root {
  /* ------------------------------------------
     Light Theme (Default)
     ------------------------------------------ */

  /* Core Colors */
  --background: #fcfcfc;
  --foreground: #171717;
  --card: #ffffff;
  --card-foreground: #171717;
  --border: #e5e5e5;
  --muted: #f5f5f5;
  --muted-foreground: #6B6B6B;

  /* Brand Colors - Mint/Teal Palette */
  --mint: #DDF4F5;           /* Logo background color */
  --mint-dark: #5BA3A8;      /* Darker mint for accents */
  --mint-deep: #3D7A7F;      /* Deep mint/teal */
  --mint-text: #1E6368;      /* Accessible teal for text (6.7:1 on white) */

  /* Section Backgrounds */
  --section-primary: #ffffff;
  --section-secondary: #fafafa;
  --section-tertiary: #f0fafa;
  --section-warm: #fdf8f4;
  --section-cool: #f8fafb;

  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------
   Dark Theme
   Activated by adding class="dark" to <html>
   Or automatically via system preference
   ------------------------------------------ */

.dark,
[data-theme="dark"] {
  --background: #000000;
  --foreground: #ffffff;
  --card: #121212;
  --card-foreground: #ffffff;
  --border: #333333;
  --muted: #262626;
  --muted-foreground: #a3a3a3;

  /* Brand Colors - Adjusted for dark mode */
  --mint: #DDF4F5;
  --mint-dark: #7BC4C9;
  --mint-deep: #5BA3A8;
  --mint-text: #7BC4C9;     /* Same as mint-dark; light teal passes on dark backgrounds */

  /* Section Backgrounds - Dark mode */
  --section-primary: #000000;
  --section-secondary: #0d0d0d;
  --section-tertiary: #0a1614;
  --section-warm: #141210;
  --section-cool: #0d0f10;

  /* Shadows - Adjusted for dark */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

/* Auto dark mode via system preference */
@media (prefers-color-scheme: dark) {
  :root:not(.light):not([data-theme="light"]) {
    --background: #000000;
    --foreground: #ffffff;
    --card: #121212;
    --card-foreground: #ffffff;
    --border: #333333;
    --muted: #262626;
    --muted-foreground: #a3a3a3;
    --mint-dark: #7BC4C9;
    --mint-deep: #5BA3A8;
    --mint-text: #7BC4C9;
    --section-primary: #000000;
    --section-secondary: #0d0d0d;
    --section-tertiary: #0a1614;
    --section-warm: #141210;
    --section-cool: #0d0f10;
  }
}


/* ============================================
   2. BASE STYLES & RESET
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}


/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  color: var(--muted-foreground);
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

/* Label/Tag Style */
.label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mint-text);
}


/* ============================================
   4. LAYOUT & CONTAINER
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

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

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(252, 252, 252, 0.92); /* light theme default */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.dark .header,
[data-theme="dark"] .header {
  background: rgba(0, 0, 0, 0.92);
}

@media (prefers-color-scheme: dark) {
  :root:not(.light):not([data-theme="light"]) .header {
    background: rgba(0, 0, 0, 0.92);
  }
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header__logo {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

/* Invert logo in dark mode */
.dark .header__logo,
[data-theme="dark"] .header__logo {
  filter: invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not(.light):not([data-theme="light"]) .header__logo {
    filter: invert(1);
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Theme Toggle Button */
.theme-toggle {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--foreground);
  transition: background var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--muted);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Menu Toggle Button */
.menu-toggle {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--foreground);
  transition: background var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--muted);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Navigation */
.nav-overlay {
  position: fixed;
  inset: 0;
  top: 76px;
  background: var(--background);
  z-index: 90;
  padding: 2rem 1.5rem;
  display: none;
  overflow-y: auto;
}

.nav-overlay.active {
  display: block;
}

.nav-menu {
  display: grid;
  gap: 1rem;
}

.nav-item {
  display: block;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.nav-item:hover {
  border-color: var(--mint-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.nav-item__description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}


/* ============================================
   6. HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000000;
}

/* Video Background */
.hero__video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

/* Dark overlay for text readability — always black tint regardless of theme */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 10;
  padding: 8rem 0 4rem;
}

.hero__title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.hero__scroll:hover {
  color: #ffffff;
}

.hero__scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}


/* ============================================
   7. CLIENTS SECTION
   ============================================ */

.clients {
  padding: 3rem 0;
  background: var(--section-warm);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients__label {
  margin-bottom: 2rem;
}

.clients__track {
  display: flex;
  gap: 4rem;
  animation: scroll 40s linear infinite;
}

.clients__track:hover {
  animation-play-state: paused;
}

.clients__logo {
  flex-shrink: 0;
  height: 32px;
  width: auto;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.clients__logo:hover {
  opacity: 0.8;
}

/* Invert logos in light mode for better visibility */
.dark .clients__logo,
[data-theme="dark"] .clients__logo {
  filter: invert(1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-192px * 12));
  }
}


/* ============================================
   8. SERVICES SECTION
   ============================================ */

.services {
  background: var(--section-secondary);
  position: relative;
}

/* Decorative top line */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint-dark), transparent);
  opacity: 0.3;
}

.services__header {
  margin-bottom: 3rem;
}

.services__list {
  border-top: 1px solid var(--border);
}

.services__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
}

.services__item:hover {
  background: var(--muted);
}

.services__number {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  color: var(--mint-text);
  width: 3rem;
}

.services__name {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
}

.services__footer {
  margin-top: 3rem;
}


/* ============================================
   9. PROCESS SECTION (HOW WE WORK)
   ============================================ */

.process {
  background: var(--section-tertiary);
  position: relative;
  overflow: hidden;
}

/* Decorative glow */
.process__glow {
  position: absolute;
  top: 0;
  left: 25%;
  width: 400px;
  height: 400px;
  background: var(--mint-dark);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.process__content {
  position: relative;
  z-index: 1;
}

.process__list {
  border-top: 1px solid rgba(91, 163, 168, 0.2);
}

.process__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid var(--mint-dark);
  transition: background var(--transition-fast);
}

.process__item:hover {
  background: rgba(91, 163, 168, 0.1);
}


/* ============================================
   10. WORK/PROJECTS SECTION
   ============================================ */

.work {
  background: var(--section-warm);
  overflow: hidden;
}

.work__header {
  margin-bottom: 3rem;
}

/* Horizontal Scroll Container */
.work__carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 3rem; /* min 48px from edge */
  scroll-padding-left: 3rem;
}

.work__carousel::-webkit-scrollbar {
  display: none;
}

/* Project Card */
.project-card {
  flex-shrink: 0;
  width: 80vw;
  max-width: 600px;
  scroll-snap-align: start;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Card color variations */
.project-card--mint { background: #E8F5E9; color: #1B5E20; }
.project-card--blue { background: #E3F2FD; color: #0D47A1; }
.project-card--peach { background: #FFF3E0; color: #B84500; } /* darkened from #E65100: 4.92:1 */
.project-card--lavender { background: #F3E5F5; color: #6A1B9A; }
.project-card--cyan { background: #E0F7FA; color: #006064; }
.project-card--coral { background: #FBE9E7; color: #BF360C; }
.project-card--lime { background: #F1F8E9; color: #33691E; }
.project-card--rose { background: #FCE4EC; color: #880E4F; }

.project-card__image {
  height: 400px;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__content {
  padding: 2rem;
}

.project-card__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: inherit;
}

.project-card__meta {
  font-size: 0.875rem;
}

/* Carousel Navigation */
.work__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.work__nav-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  transition: all var(--transition-fast);
}

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

.work__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.work__dots {
  display: flex;
  gap: 0.5rem;
}

.work__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-foreground);
  opacity: 0.3;
  transition: all var(--transition-fast);
}

.work__dot.active {
  width: 32px;
  border-radius: 4px;
  opacity: 1;
  background: var(--foreground);
}


/* ============================================
   11. FIT SECTION (WHO WE WORK WITH)
   ============================================ */

.fit {
  background: var(--section-cool);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient */
.fit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 163, 168, 0.1), transparent);
  pointer-events: none;
}

.fit__content {
  position: relative;
  z-index: 1;
}

.fit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.fit__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.fit__card-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.fit__card-title--good {
  color: var(--mint-text);
}

.fit__card-title--bad {
  color: #dc2626;
}

.fit__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fit__list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.fit__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.fit__icon--check {
  color: var(--mint-text);
}

.fit__icon--x {
  color: #dc2626;
}


/* ============================================
   12. PRICING SECTION
   ============================================ */

.pricing {
  background: var(--section-tertiary);
  position: relative;
  overflow: hidden;
}

/* Decorative glows */
.pricing__glow-1,
.pricing__glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.pricing__glow-1 {
  top: 5rem;
  right: 25%;
  width: 300px;
  height: 300px;
  background: var(--mint-dark);
  opacity: 0.15;
}

.pricing__glow-2 {
  bottom: 5rem;
  left: 25%;
  width: 400px;
  height: 400px;
  background: var(--mint-deep);
  opacity: 0.1;
}

.pricing__content {
  position: relative;
  z-index: 1;
}

.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.pricing__card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.pricing__card--primary {
  background: var(--mint);
  color: #1a2f2c;
}

.pricing__card--secondary {
  background: var(--mint);
  color: #1a2f2c;
}

.pricing__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing__card-price {
  font-size: 1.25rem;
  opacity: 0.7;
}

/* Direction Box — dark high-contrast card */
.pricing__direction {
  background: #1a2f2c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}

.pricing__direction-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.pricing__direction-text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}

.pricing__direction p:not(.pricing__direction-text) {
  color: rgba(255, 255, 255, 0.65);
}


/* ============================================
   13. ABOUT SECTION
   ============================================ */

.about {
  background: var(--section-secondary);
  position: relative;
}

/* Decorative top line */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint-dark), transparent);
  opacity: 0.2;
}

.about__tagline {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 2rem;
}


/* ============================================
   14. CTA SECTION
   ============================================ */

.cta {
  background: var(--mint);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient overlay */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(91,163,168,0.1));
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta__title {
  color: #1a2f2c;
  margin-bottom: 3rem;
}


/* ============================================
   15. FOOTER
   ============================================ */

.footer {
  background: var(--section-cool);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* Invert logo in dark mode */
.dark .footer__logo,
[data-theme="dark"] .footer__logo {
  filter: invert(1);
}

.footer__tagline {
  color: var(--muted-foreground);
}

.footer__nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mint-text);
  margin-bottom: 1rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-link {
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--foreground);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--foreground);
}


/* ============================================
   16. UTILITY CLASSES
   ============================================ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
}

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

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--white {
  background: #ffffff;
  color: #000000;
}

.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn--mint {
  background: var(--mint);
  color: #1a2f2c;
}

.btn--mint:hover {
  background: var(--mint-dark);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn--outline:hover {
  background: var(--muted);
}

.btn--dark {
  background: #1a2f2c;
  color: var(--mint);
}

.btn--dark:hover {
  background: #0d1715;
}

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* Max widths */
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }


/* ============================================
   17. RESPONSIVE STYLES
   ============================================ */

/* Tablet and up */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .header__inner {
    padding: 1rem 0;
  }

  .nav-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .work__carousel {
    padding: 0 3rem;
    scroll-padding-left: 3rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding: 0 4rem;
  }

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

  .work__carousel {
    padding: 0 4rem;
    scroll-padding-left: 4rem;
  }
}

/* Large screens */
@media (min-width: 1280px) {
  .container {
    padding: 0 5rem;
  }

  .work__carousel {
    padding: 0 5rem;
    scroll-padding-left: 5rem;
  }
}
