:root {
    --black: #0d0d0d;
    --charcoal: #1c1c1c;
    --dark: #2a2a2a;
    --mid: #5a5a5a;
    --light: #a0a0a0;
    --white: #f9f8f5;
    --cream: #f2efe8;
    --gold: #b89a5a;
    --gold-light: #d4b878;
    --blue: #1a3a5c;
    --blue-light: #2a5580;
    --accent: #c8a96e;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--charcoal); overflow-x: hidden; }
  h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(249,248,245,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,154,90,0.15);
    transition: box-shadow 0.3s;
  }
  nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
  .nav-logo { display: flex; flex-direction: column; gap: 0; }
  .nav-logo span:first-child { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; line-height: 1.1; }
  .nav-logo span:last-child { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--dark); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; position: relative; transition: color 0.25s; }
  .nav-links a::after { content:''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta { background: var(--blue); color: #fff; padding: 0.55rem 1.4rem; border-radius: 2px; font-size: 0.8rem; font-weight: 500; text-decoration: none; letter-spacing: 0.06em; transition: background 0.25s, transform 0.2s; }
  .nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
  .hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); transition: all 0.3s; }
  .mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); padding: 1.5rem 5%; border-bottom: 1px solid var(--cream); z-index: 99; }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
  .mobile-menu a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 1rem; }

  /* HERO */
  #hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0d1b2e 0%, #1a3a5c 55%, #0d1b2e 100%);
    padding: 0 5%;
  }
  .hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(200,169,110,0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200,169,110,0.07) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-glow {
    position: absolute; right: -5%; top: 10%;
    width: 55vw; height: 80vh;
    background: radial-gradient(ellipse at center, rgba(42,85,128,0.55) 0%, transparent 65%);
    border-radius: 50%; filter: blur(30px); pointer-events: none;
  }
  .hero-accent-line {
    position: absolute; left: 5%; bottom: 15%;
    width: 1px; height: 120px; background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    animation: linePulse 3s ease-in-out infinite;
  }
  @keyframes linePulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
  .hero-content { position: relative; z-index: 2; max-width: 700px; animation: heroIn 1.1s ease forwards; }
  @keyframes heroIn { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
  .hero-eyebrow::before { content:''; display: block; width: 32px; height: 1px; background: var(--gold); }
  .hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem,7vw,5.5rem); font-weight: 300; color: var(--white); line-height: 1.05; margin-bottom: 1.8rem; }
  .hero-title strong { font-weight: 700; color: var(--gold-light); display: block; }
  .hero-sub { font-size: 1rem; color: rgba(249,248,245,0.72); line-height: 1.75; max-width: 500px; margin-bottom: 2.8rem; font-weight: 300; }
  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary { background: var(--gold); color: var(--black); padding: 0.85rem 2.2rem; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: all 0.25s; display: inline-block; }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,154,90,0.35); }
  .btn-outline { border: 1px solid rgba(249,248,245,0.4); color: var(--white); padding: 0.85rem 2.2rem; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: all 0.25s; display: inline-block; }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
  .hero-stats { position: absolute; right: 5%; bottom: 12%; z-index: 2; display: flex; flex-direction: column; gap: 2rem; animation: heroIn 1.3s ease forwards; }
  .stat { text-align: right; }
  .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
  .stat-label { font-size: 0.7rem; color: rgba(249,248,245,0.5); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.2rem; }
  .scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(249,248,245,0.4); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; z-index: 2; animation: bounce 2s ease-in-out infinite; }
  .scroll-hint .arrow { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(249,248,245,0.4), transparent); }
  @keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

  /* SECTIONS */
  section { padding: 7rem 5%; }
  .section-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
  .section-label::before { content:''; display: block; width: 24px; height: 1px; background: var(--gold); }
  .section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 600; color: var(--charcoal); line-height: 1.2; margin-bottom: 1.2rem; }
  .section-subtitle { color: var(--mid); line-height: 1.8; max-width: 560px; font-size: 0.95rem; font-weight: 300; }
  .divider { width: 48px; height: 2px; background: var(--gold); margin: 1.5rem 0; }

  /* ABOUT */
  #about { background: var(--cream); }
  .about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
  .about-image-stack { position: relative; height: 480px; }
  .about-img-main {
    position: absolute; right: 0; top: 0; width: 80%; height: 85%;
    background: linear-gradient(135deg, #1a3a5c, #2a5580);
    border-radius: 2px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .about-img-main svg { opacity: 0.3; width: 60%; }
  .about-img-accent {
    position: absolute; left: 0; bottom: 0; width: 50%; height: 50%;
    background: var(--gold); border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
  }
  .about-img-accent span { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 700; color: rgba(255,255,255,0.25); }
  .about-year-badge {
    position: absolute; right: -1.5rem; bottom: 30%;
    background: var(--white); padding: 1rem 1.5rem; border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
  }
  .about-year-badge strong { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--blue); display: block; line-height: 1; }
  .about-year-badge small { font-size: 0.65rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.1em; }
  .about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
  .pillar { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem; background: var(--white); border-radius: 2px; border-left: 2px solid var(--gold); }
  .pillar-icon { width: 36px; height: 36px; min-width: 36px; background: rgba(184,154,90,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .pillar-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; }
  .pillar-text strong { display: block; font-size: 0.8rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.2rem; }
  .pillar-text span { font-size: 0.75rem; color: var(--mid); }

  /* SERVICES */
  #services { background: var(--white); }
  .services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.06); }
  .service-card {
    background: var(--white); padding: 2.8rem 2.2rem;
    position: relative; overflow: hidden; cursor: default;
    transition: background 0.35s, transform 0.3s;
  }
  .service-card::before { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
  .service-card:hover { background: var(--charcoal); transform: translateY(-4px); z-index: 1; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover .service-title, .service-card:hover .service-desc { color: var(--white); }
  .service-card:hover .service-icon { background: rgba(184,154,90,0.2); }
  .service-num { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--gold); font-weight: 400; margin-bottom: 1.5rem; display: block; }
  .service-icon { width: 52px; height: 52px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: background 0.35s; }
  .service-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; transition: stroke 0.35s; }
  .service-card:hover .service-icon svg { stroke: var(--gold); }
  .service-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.8rem; transition: color 0.35s; }
  .service-desc { font-size: 0.83rem; color: var(--mid); line-height: 1.75; transition: color 0.35s; font-weight: 300; }

  /* WHY CHOOSE US */
  #why { background: var(--blue); position: relative; overflow: hidden; }
  #why::before {
    content:''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(200,169,110,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200,169,110,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
  }
  .why-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: center; }
  .why-left .section-title { color: var(--white); }
  .why-left .section-subtitle { color: rgba(249,248,245,0.65); }
  .why-left .divider { background: var(--gold); }
  .why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .why-item { display: flex; gap: 1rem; align-items: flex-start; }
  .why-check { width: 38px; height: 38px; min-width: 38px; background: rgba(200,169,110,0.15); border: 1px solid rgba(200,169,110,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .why-check svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2.5; }
  .why-text strong { display: block; color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; }
  .why-text span { color: rgba(249,248,245,0.5); font-size: 0.8rem; line-height: 1.6; font-weight: 300; }

  /* PROJECTS */
  #projects { background: var(--cream); }
  .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
  .project-card { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4/3; cursor: pointer; }
  .project-bg {
    position: absolute; inset: 0; transition: transform 0.5s ease;
    display: flex; align-items: center; justify-content: center;
  }
  .project-card:hover .project-bg { transform: scale(1.06); }
  .project-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,40,0.92) 0%, rgba(10,20,40,0.2) 60%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem;
    transition: background 0.35s;
  }
  .project-tag { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; font-weight: 500; }
  .project-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--white); font-weight: 600; margin-bottom: 0.5rem; }
  .project-desc { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.6; transform: translateY(8px); opacity: 0; transition: all 0.35s; font-weight: 300; }
  .project-card:hover .project-desc { opacity: 1; transform: translateY(0); }

  /* CONTACT */
  #contact { background: var(--white); }
  .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
  .contact-info { display: flex; flex-direction: column; gap: 2rem; }
  .contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
  .contact-icon { width: 44px; height: 44px; min-width: 44px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .contact-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.5; }
  .contact-detail-text strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.3rem; font-weight: 600; }
  .contact-detail-text span { font-size: 0.9rem; color: var(--charcoal); line-height: 1.6; }
  .map-container { margin-top: 1.5rem; border-radius: 2px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); }
  .map-container iframe { width: 100%; height: 220px; border: none; display: block; }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid); font-weight: 600; }
  .form-group input, .form-group textarea {
    padding: 0.85rem 1rem; border: 1px solid rgba(0,0,0,0.1); background: var(--cream);
    border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--charcoal);
    transition: border-color 0.25s, box-shadow 0.25s; outline: none; resize: none;
  }
  .form-group input:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,154,90,0.12); }
  .form-group textarea { height: 110px; }
  .btn-submit { background: var(--blue); color: var(--white); border: none; padding: 0.95rem 2.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: all 0.25s; align-self: flex-start; }
  .btn-submit:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,154,90,0.3); }

  /* FOOTER */
  footer { background: var(--charcoal); padding: 4rem 5% 2rem; }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-brand span:first-child { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 0.3rem; }
  .footer-brand .tagline-small { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
  .footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 280px; font-weight: 300; }
  .social-links { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
  .social-link { width: 34px; height: 34px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.25s, transform 0.2s; }
  .social-link:hover { background: var(--gold); transform: translateY(-2px); }
  .social-link svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2; }
  .footer-col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 600; margin-bottom: 1.2rem; font-family: 'DM Sans', sans-serif; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
  .footer-col a { text-decoration: none; color: rgba(255,255,255,0.45); font-size: 0.83rem; transition: color 0.25s; font-weight: 300; }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
  .footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); font-weight: 300; }
  .footer-bottom span { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

  /* SCROLL ANIMATIONS */
  .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
  .fade-up-delay-1 { transition-delay: 0.1s; }
  .fade-up-delay-2 { transition-delay: 0.2s; }
  .fade-up-delay-3 { transition-delay: 0.3s; }
  .fade-up-delay-4 { transition-delay: 0.4s; }
  .fade-up-delay-5 { transition-delay: 0.5s; }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .about-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-stats { display: none; }
    .about-image-stack { height: 380px; }
  }
  @media (max-width: 768px) {
    nav { padding: 1rem 5%; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .why-features { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    section { padding: 5rem 5%; }
    .about-image-stack { height: 300px; }
  }