:root {
      --bg: #0b0d12;
      --accent: #e3cf9a;
      --accent-dark: #d4a574;
      --warm-concrete: #5a5248;
      --cool-gray: #6b7280;
      --warm-bronze: #a0826d;
      --sage: #8b9e7f;
      --text: #fffdf8;
      --muted: rgba(255, 253, 248, 0.84);
      --soft: rgba(255, 253, 248, 0.72);
      --line: rgba(246, 244, 239, 0.15);
    }

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

    html, body {
      width: 100%;
      font-family: 'Montserrat', sans-serif;
      color: var(--text);
      background: var(--bg);
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    /* ─────────────────────────── NAVIGATION ─────────────────────────── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 0.2rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(11, 13, 18, 0.97);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
      animation: slideDown 0.5s ease-out;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .nav-logo {
      display: inline-flex;
      align-items: center;
      gap: 0.0000005rem;
      text-decoration: none;
      font-size: 1.8rem;
      letter-spacing: 0.11em;
      font-weight: 600;
      color: var(--text);
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      text-transform: uppercase;
      line-height: 1;
    }

    .nav-logo:hover {
      transform: scale(1.03);
      color: var(--accent);
    }

    .nav-logo img {
      width: 90px;
      height: 90px;
      object-fit: contain;
      display: block;
      transition: filter 0.3s ease;
      margin-right: -20px;
    }

    .nav-logo:hover img {
      filter: brightness(1.1) drop-shadow(0 0 12px rgba(227, 207, 154, 0.3));
    }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }

    /* Hide mobile-only controls by default (desktop) */
    .hamburger { display: none; }
    .mobile-menu { display: none; }

    .nav-links a {
      text-decoration: none;
      font-size: 0.7rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--soft);
      transition: all 0.3s ease;
      font-weight: 300;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    /* ─────────────────────────── HERO SECTION ─────────────────────────── */
    .hero {
      position: relative;
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 8rem 2rem 4rem;
      margin-top: 40px;
      overflow: hidden;
      perspective: 1200px;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      background: var(--bg);
      z-index: -3;
      transform-origin: center;
      transform: translate3d(0, 0, 0);
      filter: saturate(0.92) contrast(1.02) brightness(0.85);
      will-change: transform;
    }

    .hero-color-overlay {
      position: absolute;
      inset: 0;
      z-index: -2;
      background: linear-gradient(180deg, rgba(88,72,62,0.14), rgba(139,158,127,0.06));
      pointer-events: none;
    }

    @keyframes zoomIn {
      from {
        transform: scale(1.05);
        opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.1), transparent 60%),
                  linear-gradient(135deg, rgba(11, 13, 18, 0.62) 0%, rgba(11, 13, 18, 0.48) 100%);
      z-index: -1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      animation: fadeInUp 0.8s ease-out 0.3s both;
      max-width: 900px;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .hero-label {
      display: inline-block;
      font-size: 0.75rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
      font-weight: 500;
      animation: fadeIn 0.6s ease-out 0.5s both;
      background: rgba(227, 207, 154, 0.08);
      padding: 0.6rem 1.5rem;
      border: 1px solid rgba(227, 207, 154, 0.2);
      border-radius: 30px;
      backdrop-filter: blur(10px);
    }

    .hero-title {
      font-size: clamp(3rem, 10vw, 6.5rem);
      font-weight: 600;
      line-height: 1.05;
      letter-spacing: -0.03em;
      margin-bottom: 1.5rem;
      text-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
      animation: slideInLeft 0.8s ease-out 0.6s both;
      mix-blend-mode: screen;
      background-clip: text;
      -webkit-background-clip: text;
    }

    @keyframes slideInLeft {
      from {
        transform: translateX(-60px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    .hero-title em {
      display: inline;
      font-style: normal;
      font-weight: 600;
      background: linear-gradient(135deg, var(--accent), var(--accent-dark));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: clamp(1.05rem, 2vw, 1.4rem);
      color: rgba(255, 253, 248, 0.76);
      max-width: 700px;
      margin: 0 auto;
      font-weight: 300;
      line-height: 1.8;
      animation: fadeInUp 0.8s ease-out 0.8s both;
    }

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

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    /* ─────────────────────────── SECTIONS ─────────────────────────── */
    .section {
      position: relative;
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding: 10rem 3rem;
      overflow: hidden;
    }

    .section-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
    }

    .section-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      mix-blend-mode: overlay;
    }

    .section-inner {
      position: relative;
      z-index: 2;
      max-width: 1100px;
      margin: 0 auto;
      width: 100%;
    }

    .section-label {
      display: inline-block;
      font-size: 0.75rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
      font-weight: 500;
      animation: fadeInUp 0.6s ease-out;
    }

    .section-title {
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 600;
      line-height: 1.15;
      margin-bottom: 2.5rem;
      letter-spacing: -0.02em;
      animation: slideInLeft 0.8s ease-out 0.2s both;
      max-width: 850px;
    }

    .section-text {
      font-size: clamp(1.08rem, 1.9vw, 1.4rem);
      color: var(--soft);
      line-height: 1.9;
      max-width: 800px;
      font-weight: 300;
      animation: fadeInUp 0.8s ease-out 0.4s both;
    }

    .accent-line {
      width: 5px;
      height: 100px;
      background: linear-gradient(180deg, var(--accent), rgba(227, 207, 154, 0.2));
      margin-bottom: 2rem;
      border-radius: 3px;
      animation: slideUp 0.6s ease-out;
    }

    @keyframes slideUp {
      from {
        transform: scaleY(0);
        opacity: 0;
      }
      to {
        transform: scaleY(1);
        opacity: 1;
      }
    }

    /* ─────────────────────────── MISSION SECTION ─────────────────────────── */
    #mission .section-bg {
      background-image: url('../images/17861217594680951.jpg');
      background-attachment: fixed;
      animation: parallax 20s ease-in-out infinite;
    }

    #mission .section-overlay {
      background: linear-gradient(135deg, rgba(11, 13, 18, 0.5), rgba(212, 165, 116, 0.08));
    }

    #mission .section-inner {
      background: rgba(11, 13, 18, 0.65);
      padding: 3rem;
      border-radius: 8px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(227, 207, 154, 0.1);
    }

    /* ─────────────────────────── PORTFOLIO GRID ─────────────────────────── */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 2.5rem;
      margin-top: 4rem;
    }

    .portfolio-card {
      aspect-ratio: 16/10;
      border-radius: 8px;
      overflow: hidden;
      position: relative;
      background: rgba(86, 90, 98, 0.2);
      border: 1px solid var(--line);
      cursor: pointer;
      transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
      animation: fadeInUp 0.6s ease-out;
      animation-fill-mode: both;
      transform-style: preserve-3d;
    }

    .portfolio-card:nth-child(1) { animation-delay: 0s; }
    .portfolio-card:nth-child(2) { animation-delay: 0.1s; }
    .portfolio-card:nth-child(3) { animation-delay: 0.2s; }
    .portfolio-card:nth-child(4) { animation-delay: 0.3s; }
    .portfolio-card:nth-child(5) { animation-delay: 0.4s; }
    .portfolio-card:nth-child(6) { animation-delay: 0.5s; }

    .portfolio-card:hover {
      transform: translateY(-16px);
      border-color: var(--accent);
      box-shadow: 0 24px 64px rgba(227, 207, 154, 0.25);
    }

    .portfolio-image,
    .portfolio-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s ease;
      display: block;
    }

    .portfolio-card:hover .portfolio-image,
    .portfolio-card:hover .portfolio-video {
      transform: scale(1.08) translateZ(0.01px);
      filter: brightness(1.12) saturate(1.05);
    }

    .portfolio-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(11, 13, 18, 0.85) 0%, rgba(11, 13, 18, 0.4) 100%);
      display: grid;
      place-items: center;
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: 3;
    }

    .portfolio-card:hover .portfolio-overlay {
      opacity: 1;
    }

    .portfolio-label {
      color: var(--accent);
      font-size: 0.9rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      font-weight: 600;
      animation: fadeIn 0.4s ease-out;
    }

    /* ─────────────────────────── CONTACT SECTION ─────────────────────────── */
    .contact-content {
      text-align: center;
      position: relative;
      z-index: 2;
      max-width: 100%;
      margin: 0 auto;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .contact-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 3rem;
      margin-bottom: 3rem;
      width: 100%;
    }

    .contact-link {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.8rem 1.6rem;
      text-decoration: none;
      color: var(--text);
      border: 1px solid var(--line);
      border-radius: 30px;
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      transition: all 0.3s ease;
      background: rgba(227, 207, 154, 0.05);
      backdrop-filter: blur(10px);
    }

    .contact-link:hover {
      border-color: var(--accent);
      background: rgba(227, 207, 154, 0.15);
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(227, 207, 154, 0.2);
    }

    .contact-link svg {
      width: 16px;
      height: 16px;
      opacity: 0.7;
      transition: opacity 0.3s ease;
    }

    .contact-link:hover svg {
      opacity: 1;
    }

    /* ─────────────────────────── FOOTER ─────────────────────────── */
    .footer {
      position: relative;
      background: rgba(11, 13, 18, 0.95);
      border-top: 1px solid var(--line);
      padding: 3.5rem 2rem;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.8s ease-out;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 2.5rem;
    }

    .footer-logo img {
      width: 60px;
      height: 60px;
      transition: filter 0.3s ease;
    }

    .footer-logo img:hover {
      filter: brightness(1.1) drop-shadow(0 0 8px rgba(227, 207, 154, 0.2));
    }

    .footer-copy {
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(246, 244, 239, 0.4);
      font-weight: 300;
      letter-spacing: 0.12em;
    }

    /* ─────────────────────────── RESPONSIVE ─────────────────────────── */
    @media (max-width: 768px) {
      nav {
        padding: 0.9rem 1.5rem;
      }

      .nav-links {
        display: none;
      }

      .nav-logo img {
        width: 120px;
        height: 120px;
      }

      /* Hamburger styles */
      .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        padding: 6px;
        margin-left: 12px;
        cursor: pointer;
      }

      .hamburger-line {
        display: block;
        height: 3px;
        background: var(--muted);
        border-radius: 2px;
      }

      .mobile-menu {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        background: rgba(11,13,18,0.98);
        border-top: 1px solid var(--line);
        display: none;
        z-index: 150;
      }

      .mobile-menu.open { display: block; }

      .mobile-nav-links { list-style: none; padding: 1rem; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }

      .mobile-nav-links a { color: var(--muted); text-decoration: none; padding: 0.75rem 0.5rem; display: block; }

      .section {
        padding: 4.5rem 1.5rem;
      }

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

      .section-bg {
        background-attachment: scroll;
      }

      .hero::before {
        background-attachment: scroll;
      }

      .contact-links {
        flex-direction: column;
      }

      .contact-link {
        width: 100%;
        justify-content: center;
      }

      /* Mobile accordion toggles were removed — show full sections on mobile */
      .mobile-toggle {
        display: none;
      }

      .section .section-inner {
        display: block;
        max-height: none;
        overflow: visible;
        transition: none;
        opacity: 1;
      }

      /* keep legacy selector but no-op when present */
      .section.open .section-inner {
        display: block;
        max-height: none;
        opacity: 1;
      }
    }

    /* ─────────────────────────── UTILITY ─────────────────────────── */
    .scroll-reveal {
      opacity: 1;
      transform: translateY(0);
      transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }