/* PROJECTS.CSS — page-specific styles for projects.html
   Loaded after base.css. */

html { scroll-behavior: smooth; color-scheme: light; background: #F7F3EE; }
    body {
      background: #F7F3EE; color: #18192A;
      font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
      overflow-x: hidden; -webkit-font-smoothing: antialiased;
    }
    ::-webkit-scrollbar-track { background: #F7F3EE; }
    ::-webkit-scrollbar-thumb { background: #7A5018; }

    /* PAGE HEADER — replaces removed mini-showcase */
    .listing-head { padding: 158px 64px 40px; border-bottom: 1px solid #D2CABD; }
    .lh-breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.60rem; letter-spacing: 0.18em; text-transform: uppercase; color: #7C80A0; margin-bottom: 22px; }
    .lh-breadcrumb a { color: #7C80A0; text-decoration: none; transition: color 0.25s ease; }
    .lh-breadcrumb a:hover { color: #9E6B1E; }
    .lh-breadcrumb .sep { color: #BEB4A6; }
    .lh-breadcrumb .current { color: #9E6B1E; }
    .listing-title { font-family: var(--cinzel); font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: 0.02em; color: #18192A !important; margin-bottom: 14px; }
    .listing-title em { font-style: italic; color: #9E6B1E !important; font-weight: 500; }
    .listing-sub { font-family: var(--jakarta); font-size: 0.92rem; font-weight: 700; color: #40455E; max-width: 580px; line-height: 1.75; margin-bottom: 10px; }

    /* PROJECT GRID — single column, large auto-cycling media. Each pg-card is
       a deliberately dark "tile" sitting on the page's light background. */
    .proj-grid-section { padding: 56px 64px 100px; }
    .pg-grid { display: flex; flex-direction: column; gap: 40px; }
    .pg-card { background: #181C2E; border: 1px solid #252A40; transition: border-color 0.3s ease; overflow: hidden; }
    .pg-card:hover { border-color: #8B6E42; }

    .pg-media { position: relative; width: 100%; aspect-ratio: 16/9; background: #0c0f1a; overflow: hidden; }
    .pg-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
    .pg-slide.active { opacity: 1; }
    .pg-slide-icon-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
    .media-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
    .pg-slide-icon { width: 66px; height: 66px; color: #C8A46D; opacity: 0.32; }
    .pg-media-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,19,32,0.55) 0%, transparent 42%); pointer-events: none; }
    .pg-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
    .pg-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(200,164,109,0.35); transition: background 0.3s ease, transform 0.3s ease; }
    .pg-dot.active { background: #C8A46D; transform: scale(1.3); }

    .pg-body { padding: 32px 36px 36px; }
    .pg-cat { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.2em; text-transform: uppercase; color: #C8A46D; margin-bottom: 12px; }
    .pg-title { font-family: var(--cinzel); font-size: 1.32rem; font-weight: 600; color: #ECE8DF !important; margin-bottom: 12px; line-height: 1.3; }
    .pg-short { font-family: var(--jakarta); font-size: 0.88rem; font-weight: 300; color: #8890AE; line-height: 1.7; }
    .pg-inaug { font-family: var(--jakarta); font-size: 0.78rem; font-weight: 300; color: #6B7092; font-style: italic; margin-top: 10px; line-height: 1.5; }

    .pg-toggle { display: flex; align-items: center; gap: 8px; margin-top: 18px; cursor: pointer; user-select: none; width: fit-content; }
    .pg-toggle-text { font-family: var(--jakarta); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #C8A46D; }
    .pg-toggle-icon { width: 14px; height: 14px; color: #C8A46D; transition: transform 0.35s ease; flex-shrink: 0; }
    .pg-card.open .pg-toggle-icon { transform: rotate(180deg); }
    .pg-toggle:hover .pg-toggle-text { color: #D9BA8A; }

    .pg-expand { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
    .pg-expand-inner { padding-top: 20px; border-top: 1px solid #252A40; margin-top: 20px; }
    .pg-full { font-family: var(--jakarta); font-size: 0.86rem; font-weight: 300; color: #8890AE; line-height: 1.8; }
    .pg-full + .pg-full { margin-top: 14px; }
    .pg-scope-title { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.2em; text-transform: uppercase; color: #C8A46D; margin: 20px 0 12px; }
    .pg-scope { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
    .pg-scope li { position: relative; padding-left: 18px; font-family: var(--jakarta); font-size: 0.84rem; font-weight: 300; color: #8890AE; line-height: 1.6; }
    .pg-scope li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; background: #C8A46D; transform: rotate(45deg); }
    .pg-scope + .pg-full { margin-top: 18px; }
    .pg-meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
    .pg-meta-tag { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6B7092; border: 1px solid #252A40; padding: 6px 12px; }

    /* CTA */
    .cta-section { padding: 110px 64px; text-align: center; position: relative; overflow: hidden; background: #EDE7DD; }
    .cta-content { position: relative; z-index: 1; }
    .cta-h2 { font-family: var(--cinzel); font-size: clamp(2.2rem, 4.5vw, 4.2rem); font-weight: 500; letter-spacing: 0.04em; line-height: 1.1; max-width: 640px; margin: 0 auto 24px; color: #18192A !important; }
    .cta-sub { font-family: var(--jakarta); font-size: 0.96rem; font-weight: 300; color: #40455E; margin-bottom: 44px; }
    .cta-acts { display: flex; align-items: center; gap: 28px; justify-content: center; }
    .btn-gold { display: inline-flex; align-items: center; gap: 12px; font-family: var(--jakarta); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #F7F3EE; background: #9E6B1E; padding: 16px 36px; text-decoration: none; border: none; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }

    /* FOOTER */
    .footer { background: #18192A; border-top: 1px solid rgba(200,164,109,0.14); padding: 64px 64px 44px; }
    .footer-top { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }

    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }

    /* ENQUIRY MODAL (light card, works on dark page) */
    .enq-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(16,19,32,0.68); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }

    @media (max-width: 1100px) {
      .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    }
    @media (max-width: 900px) {
      .listing-head { padding: 118px 24px 32px; }
      .proj-grid-section { padding: 36px 24px 70px; }
      .pg-grid { gap: 28px; }
      .pg-media { aspect-ratio: 4/3; }
      .pg-body { padding: 24px 24px 28px; }
      .pg-title { font-size: 1.1rem; }
      .pg-scope { grid-template-columns: 1fr; gap: 8px; }
      .cta-section { padding: 80px 24px; }
      .cta-acts { flex-direction: column; align-items: center; }
      .footer { padding: 48px 24px 32px; }
      .footer-top { grid-template-columns: 1fr; gap: 32px; }
      .footer-bot { flex-direction: column; gap: 12px; text-align: center; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    }