*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #0a0a0a;
    --white: #fafaf8;
    --beige: #e8e0d4;
    --beige-dark: #c9bfaf;
    --warm-gray: #9a9186;
    --light-bg: #f4f1ec;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    font-weight: 300;
    letter-spacing: 0.01em;
  }

  /* ─── NAV ─────────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 3rem;
    transition: background 0.5s, padding 0.4s;
  }
  nav.scrolled {
    background: rgba(250,250,248,0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 3rem;
    border-bottom: 0.5px solid var(--beige);
  }
  .nav-logo {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--white);
    text-decoration: none;
    transition: color 0.4s;
  }
  nav.scrolled .nav-logo { color: var(--black); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
  }
  .nav-links a:hover { opacity: 1; color: var(--white); }
  nav.scrolled .nav-links a { color: var(--warm-gray); }
  nav.scrolled .nav-links a:hover { color: var(--black); }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { display: block; width: 24px; height: 1px; background: var(--white); transition: background 0.4s; }
  nav.scrolled .hamburger span { background: var(--black); }

  /* ─── HERO ───────────────────────────────────────── */
  .hero {
    position: relative;
    height: 100vh; min-height: 640px;
    display: flex; align-items: flex-end;
    padding: 0 3rem 6rem;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1800&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroScale 8s ease forwards;
  }
  @keyframes heroScale { to { transform: scale(1); } }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.1) 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 720px;
    animation: heroFadeUp 1.2s 0.4s both ease;
  }
  @keyframes heroFadeUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }
  .hero-tag {
    display: inline-block;
    font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--beige-dark); margin-bottom: 1.5rem;
    border-left: 1px solid var(--beige-dark); padding-left: 1rem;
  }
  .hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300; line-height: 1.1;
    color: var(--white); margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
  }
  .hero h1 em { font-style: italic; color: var(--beige); }
  .hero p {
    font-size: 0.9rem; font-weight: 300; letter-spacing: 0.05em;
    color: rgba(255,255,255,0.72); margin-bottom: 3rem;
    max-width: 420px; line-height: 1.8;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: var(--sans); font-size: 0.7rem;
    font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
    text-decoration: none; padding: 1rem 2.5rem;
    transition: all 0.35s ease; cursor: pointer; border: none;
  }
  .btn-light {
    background: var(--white); color: var(--black);
  }
  .btn-light:hover { background: var(--beige); }
  .btn-outline {
    background: transparent;
    border: 0.5px solid var(--white); color: var(--white);
  }
  .btn-outline:hover { background: var(--white); color: var(--black); }
  .btn-dark {
    background: var(--black); color: var(--white);
  }
  .btn-dark:hover { background: #2a2a2a; }
  .btn-wa {
    background: #25D366; color: var(--white);
    font-size: 0.7rem; letter-spacing: 0.15em;
    display: inline-flex; align-items: center; gap: 0.6rem;
  }
  .btn-wa:hover { background: #1eb858; }
  .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
  .hero-scroll {
    position: absolute; bottom: 2.5rem; right: 3rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    z-index: 2;
  }
  .hero-scroll span { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }
  .scroll-line { width: 0.5px; height: 60px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
  .scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--beige); animation: scrollDown 2s 1.5s infinite; }
  @keyframes scrollDown { to { top: 200%; } }

  /* ─── SECTIONS COMMON ────────────────────────────── */
  section { padding: 8rem 3rem; }
  .section-tag {
    font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--warm-gray); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .section-tag::before { content: ''; display: block; width: 40px; height: 0.5px; background: var(--beige-dark); }
  .section-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300; line-height: 1.2;
    letter-spacing: -0.01em; color: var(--black);
  }
  .section-title em { font-style: italic; color: var(--warm-gray); }

  /* ─── ABOUT ──────────────────────────────────────── */
  .about { background: var(--black); }
  .about-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center; max-width: 1200px; margin: 0 auto;
  }
  .about-img { position: relative; }
  .about-img img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    display: block;
  }
  .about-img-accent {
    position: absolute; bottom: -2rem; right: -2rem;
    width: 55%; aspect-ratio: 1/1; object-fit: cover;
    border: 6px solid var(--black);
    opacity: 0.9;
  }
  .about-text .section-tag { color: var(--warm-gray); }
  .about-text .section-tag::before { background: #3a3a3a; }
  .about-text .section-title { color: var(--white); }
  .about-text p {
    color: rgba(255,255,255,0.58); font-size: 0.92rem; line-height: 1.9;
    margin-top: 2rem; max-width: 440px;
  }
  .about-stats {
    display: flex; gap: 3rem; margin-top: 3.5rem;
    padding-top: 2.5rem; border-top: 0.5px solid #2a2a2a;
  }
  .stat-num {
    font-family: var(--serif); font-size: 2.8rem; font-weight: 300;
    color: var(--beige); letter-spacing: -0.02em; line-height: 1;
  }
  .stat-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-gray); margin-top: 0.4rem; }

  /* ─── PROJECTS ───────────────────────────────────── */
  .projects { background: var(--light-bg); }
  .projects-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    max-width: 1200px; margin: 0 auto 4rem;
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    max-width: 1200px; margin: 0 auto;
    background: var(--beige-dark);
  }
  .project-card {
    position: relative; overflow: hidden;
    background: var(--white);
    cursor: pointer;
  }
  .project-card:first-child { grid-row: span 2; }
  .project-card img {
    width: 100%; height: 100%; min-height: 280px;
    object-fit: cover; display: block;
    transition: transform 0.7s ease;
  }
  .project-card:first-child img { min-height: 580px; }
  .project-card:hover img { transform: scale(1.06); }
  .project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.82) 0%, transparent 55%);
    opacity: 0; transition: opacity 0.4s;
  }
  .project-card:hover .project-overlay { opacity: 1; }
  .project-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.8rem; transform: translateY(8px);
    transition: transform 0.4s; opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
  }
  .project-card:hover .project-info { transform: translateY(0); opacity: 1; }
  .project-cat {
    font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--beige-dark); margin-bottom: 0.4rem;
  }
  .project-name {
    font-family: var(--serif); font-size: 1.4rem; font-weight: 400;
    color: var(--white); line-height: 1.2;
  }
  .project-always {
    position: absolute; top: 1.2rem; left: 1.5rem;
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    background: var(--white); color: var(--black);
    padding: 0.35rem 0.9rem;
  }

  /* ─── SERVICES ───────────────────────────────────── */
  .services { background: var(--white); }
  .services-inner { max-width: 1200px; margin: 0 auto; }
  .services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; margin-top: 5rem;
    border-top: 0.5px solid var(--beige); border-left: 0.5px solid var(--beige);
  }
  .service-item {
    padding: 3rem 2rem;
    border-right: 0.5px solid var(--beige); border-bottom: 0.5px solid var(--beige);
    transition: background 0.35s;
    cursor: default;
  }
  .service-item:hover { background: var(--black); }
  .service-num {
    font-family: var(--serif); font-size: 3rem; font-weight: 300;
    color: var(--beige); line-height: 1; margin-bottom: 2rem;
    transition: color 0.35s;
  }
  .service-item:hover .service-num { color: #3a3a3a; }
  .service-icon {
    width: 36px; height: 36px; margin-bottom: 1.5rem;
    opacity: 0.5; transition: opacity 0.35s, filter 0.35s;
  }
  .service-item:hover .service-icon { opacity: 0.8; filter: invert(1); }
  .service-name {
    font-family: var(--serif); font-size: 1.35rem; font-weight: 400;
    color: var(--black); margin-bottom: 1rem; line-height: 1.3;
    transition: color 0.35s;
  }
  .service-item:hover .service-name { color: var(--white); }
  .service-desc {
    font-size: 0.82rem; line-height: 1.8; color: var(--warm-gray);
    transition: color 0.35s;
  }
  .service-item:hover .service-desc { color: rgba(255,255,255,0.55); }

  /* ─── TESTIMONIALS ───────────────────────────────── */
  .testimonials { background: var(--light-bg); overflow: hidden; }
  .testi-inner { max-width: 1200px; margin: 0 auto; }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
  .testi-card {
    padding: 3rem;
    background: var(--white);
    border-bottom: 2px solid var(--beige);
    position: relative;
  }
  .testi-quote {
    font-family: var(--serif); font-size: 4rem; font-weight: 300;
    color: var(--beige); line-height: 0.8; margin-bottom: 1.5rem;
  }
  .testi-text {
    font-family: var(--serif); font-size: 1.08rem; font-style: italic;
    font-weight: 400; line-height: 1.7; color: var(--black);
    margin-bottom: 2rem;
  }
  .testi-author { display: flex; align-items: center; gap: 1rem; }
  .testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; background: var(--beige);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.1rem; color: var(--warm-gray);
    flex-shrink: 0; overflow: hidden;
  }
  .testi-name { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; color: var(--black); }
  .testi-role { font-size: 0.7rem; color: var(--warm-gray); letter-spacing: 0.05em; margin-top: 2px; }
  .testi-stars { display: flex; gap: 3px; margin-top: 1rem; }
  .testi-stars span { color: var(--beige-dark); font-size: 0.7rem; }

  /* ─── CONTACT ────────────────────────────────────── */
  .contact { background: var(--black); }
  .contact-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8rem; max-width: 1200px; margin: 0 auto;
    align-items: start;
  }
  .contact-left .section-title { color: var(--white); }
  .contact-left .section-tag { color: var(--warm-gray); }
  .contact-left .section-tag::before { background: #3a3a3a; }
  .contact-left p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.9; margin-top: 1.5rem; max-width: 360px; }
  .contact-detail {
    margin-top: 3rem; display: flex; flex-direction: column; gap: 1.2rem;
  }
  .contact-detail-item { display: flex; flex-direction: column; gap: 0.25rem; }
  .cd-label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--warm-gray); }
  .cd-value { font-size: 0.9rem; color: rgba(255,255,255,0.75); letter-spacing: 0.02em; }
  .contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
  .form-field { display: flex; flex-direction: column; gap: 0.5rem; }
  .form-field label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm-gray); }
  .form-field input, .form-field textarea {
    background: transparent;
    border: none; border-bottom: 0.5px solid #2a2a2a;
    color: var(--white); font-family: var(--sans); font-size: 0.88rem; font-weight: 300;
    padding: 0.8rem 0; outline: none; letter-spacing: 0.04em;
    transition: border-color 0.3s;
    width: 100%;
  }
  .form-field input:focus, .form-field textarea:focus { border-color: var(--beige-dark); }
  .form-field input::placeholder, .form-field textarea::placeholder { color: #3a3a3a; }
  .form-field textarea { resize: none; height: 100px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .form-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.5rem; }

  /* ─── FOOTER ─────────────────────────────────────── */
  footer {
    background: var(--black); border-top: 0.5px solid #1a1a1a;
    padding: 3rem;
  }
  .footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-logo { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: 0.15em; color: var(--white); }
  .footer-copy { font-size: 0.7rem; color: #3a3a3a; letter-spacing: 0.1em; }
  .footer-social { display: flex; gap: 1.5rem; }
  .footer-social a {
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--warm-gray); text-decoration: none; transition: color 0.3s;
  }
  .footer-social a:hover { color: var(--white); }

  /* ─── REVEAL ANIMATIONS ──────────────────────────── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.22s; }
  .reveal-delay-3 { transition-delay: 0.35s; }
  .reveal-delay-4 { transition-delay: 0.48s; }

  /* ─── MOBILE MENU ────────────────────────────────── */
  .mobile-menu {
    position: fixed; inset: 0; background: var(--black); z-index: 99;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  .mobile-menu.open { opacity: 1; pointer-events: all; }
  .mobile-menu a {
    font-family: var(--serif); font-size: 2rem; font-weight: 300; font-style: italic;
    color: var(--white); text-decoration: none; letter-spacing: 0.04em;
  }

  /* ─── RESPONSIVE ─────────────────────────────────── */
  @media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card:first-child { grid-row: auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr 1fr; }
    .testi-grid .testi-card:last-child { display: none; }
    .about-inner { gap: 3rem; }
  }
  @media (max-width: 768px) {
    nav { padding: 1.2rem 1.5rem; }
    nav.scrolled { padding: 0.9rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    section { padding: 5rem 1.5rem; }
    .hero { padding: 0 1.5rem 5rem; }
    .hero h1 { font-size: 2.6rem; }
    .about-inner { grid-template-columns: 1fr; gap: 4rem; }
    .about-img-accent { display: none; }
    .projects-grid { grid-template-columns: 1fr; background: none; gap: 1rem; }
    .project-overlay, .project-info { opacity: 1; transform: none; }
    .project-card img, .project-card:first-child img { min-height: 260px; height: 260px; }
    .services-grid { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-grid .testi-card:last-child { display: block; }
    .contact-inner { grid-template-columns: 1fr; gap: 4rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .about-stats { gap: 2rem; }
    .hero-scroll { display: none; }
  }
  @media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 90vh;
    padding: 6rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.85rem;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 0.75rem;
  }
}
@media (max-width: 768px) {
  section {
    padding: 4rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .projects-grid {
    gap: 1.2rem;
  }

  .project-card {
    border-radius: 12px;
    overflow: hidden;
  }

  .project-info {
    padding: 1rem;
  }
}
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 200;
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: white;
}

.mobile-cta a:first-child {
  background: #000;
}

.mobile-cta a:last-child {
  background: #25D366;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
  }
}
.mobile-menu a {
  font-size: 1.6rem;
}
input, textarea {
  font-size: 16px;
}