/* ==========================================================================
   DESIGN TOKENS & VARIABLES (Dark Luxury & Editorial)
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #0b0d0c;
  /* Deep dark natural obsidian */
  --bg-secondary: #111413;
  /* Muted dark background for alternate sections */

  /* Accent surfaces (Project Cards) */
  --card-green-bg: #1d2d24;
  /* Canopy House background */
  --card-brown-bg: #2b211a;
  /* Common Ground background */
  --card-dark-bg: #161e1d;
  /* Field Office background */

  /* Text and details */
  --text-primary: #f2f5f3;
  /* Off-white editorial text */
  --text-secondary: #9aa5a1;
  /* Muted gray-green */
  --text-muted: #5e6865;
  /* Subdued metadata */

  --accent-cream: #f4eae1;
  /* Cream background for active primary buttons */
  --accent-cream-hover: #e5dbd2;
  --accent-gold: #c5a880;
  /* Signature gold signature colors */

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --section-padding: 120px 40px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.section-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-cream);
  color: #000000;
}

.btn-primary:hover {
  background-color: var(--accent-cream-hover);
  transform: translateY(-2px);
}

.btn-primary i {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: var(--transition-smooth);
}

.btn-primary:hover i {
  transform: translate(2px, -2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 12px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: relative;
  width: 100%;
  padding: 40px;
  z-index: 2;
}


.navbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .brand {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* ==========================================================================
   HERO WRAPPER + BACKGROUND IMAGE
   ========================================================================== */

/* Full-bleed wrapper */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  /* Clip the blurred edges */
  display: flex;
  flex-direction: column;
}

/* Background image layer (High Res) */
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('hero_bg.jpg?v=2');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark directional overlay — matches the moody tone but much lighter */
.hero-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(5, 8, 6, 0.35) 0%,
      rgba(5, 8, 6, 0.15) 45%,
      rgba(5, 8, 6, 0.45) 100%);
  z-index: 1;
}

/* Navbar — sits naturally in flex flow above the background */
.hero-wrapper .navbar {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  /* Override the standalone .navbar absolute positioning */
  top: auto;
  left: auto;
  width: 100%;
}

/* Hero section — content sits inside the flex wrapper */
.hero-section {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px 80px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  max-width: 770px;
  margin-top: auto;
  margin-bottom: auto;
  transform: translate(-15px, -25px);
}


.hero-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
  font-weight: 600;
}


.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(35px, 6vw, 73px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
  margin-top: 40px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-scroll:hover {
  color: #ffffff;
}

.hero-scroll i {
  width: 14px;
  height: 14px;
  animation: bounce 2s infinite;
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
  background-color: #111813;
  /* Extremely dark, subtle forest green */
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 80px;
  width: 100%;
}

.about-sidebar-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  color: #fff;
  border-color: var(--accent-gold);
  background-color: rgba(197, 168, 128, 0.1);
  transform: scale(1.05);
}

.social-icon i,
.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}

.phone-number {
  margin-top: 24px;
}

.phone-number a {
  color: var(--accent-gold);
  font-family: var(--font-sans);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: opacity 0.3s;
}

.phone-number a:hover {
  opacity: 0.7;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-main-text {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 32px;
}

.about-description {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 300;
}

.signature {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--accent-gold);
}

.signature-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ==========================================================================
   PROJECTS SECTION — WOVEN PANELS
   ========================================================================== */
.projects-section {
  display: flex;
  flex-direction: column;
  height: 100vh;
  /* force it to fit screen */
  overflow: hidden;
  /* clips the diagonal cuts cleanly */
}

/* Each woven panel */
.project-panel {
  position: relative;
  flex: 1 1 0;
  /* Strictly distribute height equally */
  min-height: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* No straight diagonal — waves handle the transition */
.project-panel:not(:first-child) {
  margin-top: -2px;
  /* prevent 1px gap between sections */
}

/* Hover: expand hovered panel */
.projects-section:has(.project-panel:hover) .project-panel {
  flex: 0.8;
}

.projects-section .project-panel:hover {
  flex: 1.4;
}

/* Panel colors — site palette */
.panel-1 {
  background-color: #1a2520;
}

.panel-2 {
  background-color: #201a15;
}

.panel-3 {
  background-color: #111a1a;
}

/* Subtle dark vignette on each panel */
.project-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* SVG wave divider — organic swoosh transition between panels */
.panel-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  z-index: 4;
  /* above vignette and content */
  pointer-events: none;
  line-height: 0;
}

.panel-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Panel inner content — center everything */
.panel-inner {
  position: relative;
  z-index: 2;
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Shift text up in panels with waves so it stays visually centered */
.project-panel:not(.panel-3) .panel-inner {
  padding-bottom: 100px;
}

.panel-label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
  transition: transform 0.4s var(--transition-smooth);
}

.project-panel:hover .panel-title {
  transform: translateX(8px);
}

.panel-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  transition: transform 0.4s var(--transition-smooth) 0.04s, opacity 0.4s ease;
  opacity: 0.7;
}

.project-panel:hover .panel-tagline {
  transform: translateX(8px);
  opacity: 1;
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease, transform 0.4s var(--transition-smooth) 0.06s;
}

.project-panel:hover .panel-cta {
  color: var(--accent-gold);
  transform: translateX(8px);
}

.panel-cta i {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
}

.project-panel:hover .panel-cta i {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   PROJECT MODALS
   ========================================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 6, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  height: 88vh;
  max-height: 88vh;
  background: #111413;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.project-modal.is-open .modal-inner {
  transform: translateY(0) scale(1);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-close i {
  width: 16px;
  height: 16px;
}

/* Top: media area — 40% of modal height */
.modal-media {
  position: relative;
  background: #0d1410;
  flex: 0 0 45%;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.modal-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-placeholder span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 500;
  padding: 10px 18px;
  border: 1px dashed var(--border-subtle);
  border-radius: 6px;
}

/* Bottom: content — 60% of modal height */
.modal-content {
  flex: 0 0 55%;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.modal-meta {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.modal-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
}

.modal-focal-points {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-focal-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.modal-focal-points li i {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.modal-btn {
  align-self: flex-start;
}


/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.services-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 80px;
  width: 100%;
}

.services-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 48px;
  line-height: 1.2;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.service-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.service-item:hover {
  padding-left: 16px;
  background-color: rgba(255, 255, 255, 0.01);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  transition: color 0.3s ease;
}

.service-item.active .service-name {
  color: var(--accent-gold);
}

.service-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform 0.4s ease, color 0.3s ease;
}

.service-item.active .service-icon {
  color: var(--accent-gold);
}

.service-icon.minus-icon {
  display: none;
}

.service-item.active .plus-icon {
  display: none;
}

.service-item.active .minus-icon {
  display: block;
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.6;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.service-item.active .service-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 160px 40px;
  background: radial-gradient(circle at 50% 50%, rgba(29, 45, 36, 0.08) 0%, transparent 70%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.contact-content {
  max-width: 720px;
  margin: 0 auto;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.15;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.footer-center {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(-3px);
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 24px;
  }

  .navbar,
  .hero-section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-container,
  .services-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-sidebar-heading {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Can implement burger menu if needed */
  }

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

  .project-card {
    aspect-ratio: 16 / 10;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .projects-subtitle {
    text-align: left;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .service-desc {
    text-align: left;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE — HERO SECTION ONLY  (≤ 480px)
   All other sections are untouched.
   ========================================================================== */
@media (max-width: 480px) {

  /* Navbar: slim, keep brand only */
  .nav-links {
    display: none;
  }

  .navbar {
    padding: 20px 24px;
  }

  /* Stronger dark gradient so text is crisp over the photo */
  .hero-wrapper::after {
    background: linear-gradient(to bottom,
        rgba(5, 8, 6, 0.25) 0%,
        rgba(5, 8, 6, 0.30) 40%,
        rgba(5, 8, 6, 0.75) 100%);
  }

  /* Full small-viewport height */
  .hero-wrapper {
    min-height: 100svh;
  }

  /* Hero section: positioned right above laptop screen */
  .hero-section {
    padding: 72px 24px 31vh;
    justify-content: flex-end;
    align-items: flex-start;
  }

  /* Content block: no desktop transform, full width */
  .hero-content {
    max-width: 100%;
    transform: none;
    margin: 0;
  }

  /* Subtitle: small, spaced, gold-white */
  .hero-subtitle {
    font-size: 9px;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
    opacity: 0.85;
    transform: translateY(-16px);
  }

  /* Title: bold, commanding, slightly larger, lifted up independently */
  .hero-title {
    font-size: clamp(30px, 11vw, 90px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
    transform: translateY(-16px);
  }

  /* Description: short and readable */
  .hero-description {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 100%;
    opacity: 0.9;
  }

  /* CTA group: side-by-side, same width */
  .hero-cta-group {
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .hero-cta-group .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  /* Hero bottom bar: slim single line */
  .hero-bottom {
    display: flex;
    padding-top: 14px;
    margin-top: 18px;
    font-size: 9px;
    letter-spacing: 0.18em;
    opacity: 0.65;
  }

  .hero-scroll {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .hero-scroll i {
    width: 12px;
    height: 12px;
  }

  /* About Me Section: Mobile Layout */
  .about-sidebar-heading {
    display: none;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about-sidebar {
    display: contents;
  }

  .about-sidebar .section-badge {
    order: 1;
    margin-bottom: 24px;
  }

  .about-content {
    display: contents;
  }

  .about-main-text {
    order: 2;
    margin-bottom: 28px;
  }

  .about-sidebar .social-links {
    order: 3;
    margin-bottom: 0;
  }

  .about-sidebar .phone-number {
    order: 4;
    margin-top: 20px;
    margin-bottom: 32px;
  }

  .about-description {
    order: 5;
    margin-bottom: 24px;
  }

  .signature {
    order: 6;
  }
}

/* ==========================================================================
   BURGER BUTTON — hidden on desktop, visible on mobile
   ========================================================================== */
.burger-btn {
  display: none;
  /* hidden by default on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
  z-index: 200;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animate to X when active */
.burger-btn.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-btn.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE NAV OVERLAY
   ========================================================================== */
.mobile-nav {
  display: none;
  /* hidden until JS adds .is-open */
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 12, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--accent-gold);
}

/* Show burger only on mobile */
@media (max-width: 480px) {
  .burger-btn {
    display: flex;
  }
}