:root {
    --sunset-deep: #c94a2c;
    --sunset-mid: #e8763a;
    --sunset-warm: #f0a050;
    --sky-blue: #5b7fa6;
    --sky-lavender: #9b8bb4;
    --glass-bg: rgba(255,255,255,0.10);
    --glass-border: rgba(255,255,255,0.22);
    --text-light: #fdf6ee;
    --text-muted: rgba(253,246,238,0.75);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Jost', sans-serif; background: #1a1210; color: var(--text-light); overflow-x: hidden; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 48px; display: flex; align-items: center; justify-content: space-between;
    background: rgba(26,18,16,0.35); backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.4s;
  }
  .nav-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-light); text-decoration: none; }
  .nav-logo span { color: var(--sunset-warm); }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.3s; }
  .nav-links a:hover, .nav-links a.active { color: var(--sunset-warm); }
  .nav-cta { padding: 10px 26px; background: linear-gradient(135deg, var(--sunset-deep), var(--sunset-mid)); color: #fff; border-radius: 3px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: opacity 0.3s, transform 0.2s; }
  .nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

  /* PAGE HERO */
  .page-hero {
    position: relative; min-height: 70vh; padding: 180px 0 100px; overflow: hidden;
    display: flex; align-items: center;
    background: #1a1210;
  }
  .page-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('../images/hero-bg.jpg') center 40%/cover no-repeat;
    transform: scale(1.04);
    animation: heroSlowZoom 20s ease-in-out infinite alternate;
  }
  @keyframes heroSlowZoom { from { transform: scale(1.04); } to { transform: scale(1.10); } }
  .page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom,
      rgba(26,18,16,0.55) 0%,
      rgba(26,18,16,0.65) 50%,
      rgba(26,18,16,0.92) 100%
    );
  }
  .page-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
  .breadcrumb { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }
  .breadcrumb a { color: var(--sunset-warm); text-decoration: none; }
  .breadcrumb span { margin: 0 10px; opacity: 0.4; }
  .page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 24px; }
  .page-hero h1 em { font-style: italic; color: var(--sunset-warm); }
  .page-hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; line-height: 1.75; }

  /* SECTIONS */
  section { padding: 100px 0; }
  .container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
  .section-label { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sunset-warm); font-weight: 600; margin-bottom: 12px; }
  .section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.15; color: var(--text-light); margin-bottom: 18px; }
  .section-desc { font-size: 1rem; font-weight: 300; color: var(--text-muted); line-height: 1.75; max-width: 620px; }
  .divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(240,160,80,0.3), transparent); }

  /* PROJECTS GRID */
  #projects { background: #12100f; }
  .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 60px; }
  .project-card {
    display: flex; flex-direction: column; gap: 14px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 8px; padding: 36px 32px; backdrop-filter: blur(12px);
    text-decoration: none; color: inherit;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
  }
  .project-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--sunset-deep), var(--sunset-warm));
    opacity: 0; transition: opacity 0.3s;
  }
  .project-card:hover, .project-card:focus-visible {
    transform: translateY(-6px); border-color: rgba(240,160,80,0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4); outline: none;
  }
  .project-card:hover::before, .project-card:focus-visible::before { opacity: 1; }
  .project-tag { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sunset-warm); font-weight: 600; }
  .project-card h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
  .project-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
  .project-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sunset-warm); margin-top: 8px; transition: gap 0.2s; }
  .project-card:hover .project-arrow { gap: 12px; }

  /* FOOTER */
  footer { background: #0a0908; border-top: 1px solid rgba(255,255,255,0.07); padding: 48px 0 32px; }
  .footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--text-light); margin-bottom: 14px; display: block; text-decoration: none; }
  .footer-logo span { color: var(--sunset-warm); }
  .footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; max-width: 260px; }
  .footer-col h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul a { font-size: 0.88rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
  .footer-col ul a:hover { color: var(--sunset-warm); }
  .footer-bottom { max-width: 1160px; margin: 0 auto; padding: 24px 40px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.25); }

  /* HAMBURGER */
  .hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; background: none; border: none; padding: 4px; z-index: 200; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease; transform-origin: center; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { display: none; position: fixed; top: 65px; left: 0; right: 0; background: rgba(20,13,11,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 28px 24px 32px; flex-direction: column; gap: 0; z-index: 99; transform: translateY(-12px); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease; pointer-events: none; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 0; font-size: 1rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s; }
  .mobile-menu a:hover { color: var(--sunset-warm); }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu .mobile-cta { margin-top: 20px; display: block; text-align: center; padding: 14px; border-radius: 3px; background: linear-gradient(135deg, var(--sunset-deep), var(--sunset-mid)); color: #fff; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.1em; }

  @media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    .container { padding: 0 20px; }
    .page-hero { padding: 140px 0 70px; min-height: auto; }
    .projects-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; }
    .footer-bottom { flex-direction: column; gap: 8px; }
  }
