/* Greycrest Visuals Inc. — Main Theme Stylesheet */
/* Google Fonts loaded via functions.php */


:root {
    --gold:        #B8964E;
    --gold-light:  #D4AE6B;
    --gold-pale:   #F0E0C0;
    --gold-deep:   #8C6E30;
    --charcoal:    #2A2A2A;
    --charcoal-mid:#3C3C3C;
    --navy:        #12181F;
    --navy-mid:    #1A2230;
    --navy-light:  #243040;
    --white:       #F8F5EF;
    --off-white:   #EDE8DE;
    --grey:        #8A8A8A;
    --grey-light:  #B4B0A8;
    --accent:      #4A7FA5;
    --accent-light:#6FA3C8;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--navy);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.75;
    font-size: 17px;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 4rem;
    background: rgba(18, 24, 31, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(184,150,78,0.18);
    transition: background 0.3s;
  }

  .nav-logo img { height: 110px; width: auto; display: block; }

  .nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }

  .nav-links a {
    color: var(--grey-light); text-decoration: none;
    font-size: 0.84rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }

  .nav-cta {
    background: transparent !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    padding: 0.45rem 1.3rem;
    font-size: 0.72rem !important;
    letter-spacing: 0.16em !important;
    transition: all 0.25s !important;
  }
  .nav-cta:hover { background: var(--gold) !important; color: var(--charcoal) !important; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 7rem 4rem 4rem;
    position: relative; overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute; top: -200px; right: -80px;
    width: 700px; height: 700px;
    background: radial-gradient(ellipse, rgba(184,150,78,0.07) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-left { padding-right: 3rem; animation: fadeUp 0.9s ease both; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(184,150,78,0.1);
    border: 1px solid rgba(184,150,78,0.35);
    color: var(--gold);
    font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    padding: 0.4rem 1rem; margin-bottom: 2rem;
  }
  .hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 600; line-height: 1.1;
    margin-bottom: 1.5rem; color: var(--white);
  }
  .hero h1 em { font-style: italic; color: var(--gold); }

  .hero-sub {
    font-size: 1.1rem; color: var(--grey-light);
    max-width: 520px; margin-bottom: 2.5rem; line-height: 1.85;
  }

  .hero-actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }

  .btn-primary {
    background: var(--gold); color: var(--charcoal);
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.25s; display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

  .btn-secondary {
    color: var(--grey-light); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: color 0.2s;
  }
  .btn-secondary:hover { color: var(--white); }
  .btn-secondary::after { content: '→'; }

  /* ── CREDENTIALS CARD ── */
  .hero-right { animation: fadeUp 0.9s ease 0.15s both; }

  .credentials-card {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.22);
    padding: 2.25rem; position: relative;
  }
  .credentials-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }

  .credentials-title {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
  }

  .credential-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .credential-item:last-child { border-bottom: none; }

  .cred-icon {
    width: 34px; height: 34px;
    background: rgba(184,150,78,0.1);
    border: 1px solid rgba(184,150,78,0.22);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 0.85rem;
  }
  .cred-label {
    font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--grey); margin-bottom: 0.15rem;
  }
  .cred-value { font-size: 0.97rem; color: var(--white); }

  .minority-badge {
    margin-top: 1.25rem;
    background: rgba(74,127,165,0.1);
    border: 1px solid rgba(74,127,165,0.28);
    padding: 0.7rem 1rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .minority-badge-icon { font-size: 1rem; }
  .minority-badge-text { font-size: 0.85rem; color: var(--accent-light); font-weight: 500; }

  /* ── TRUST BAR ── */
  .trust-bar {
    background: var(--navy-mid);
    border-top: 1px solid rgba(184,150,78,0.15);
    border-bottom: 1px solid rgba(184,150,78,0.15);
    padding: 1.75rem 4rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  }
  .trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; }
  .trust-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem; font-weight: 700;
    color: var(--gold); line-height: 1;
  }
  .trust-label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }

  /* ── SECTIONS ── */
  section { padding: 7rem 4rem; }

  .section-label {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.9rem;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 600; line-height: 1.2;
    color: var(--white); margin-bottom: 1.1rem;
  }
  .section-sub { font-size: 1.05rem; color: var(--grey-light); max-width: 600px; line-height: 1.85; }
  .gold-divider { width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1.5rem 0; }

  /* ── SECTORS ── */
  .sectors { background: var(--navy-mid); }

  .sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.25rem; }

  .sector-card {
    background: var(--navy); border: 1px solid rgba(255,255,255,0.06);
    padding: 1.85rem; transition: all 0.3s; position: relative; overflow: hidden;
  }
  .sector-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 0; background: linear-gradient(180deg, rgba(184,150,78,0.07) 0%, transparent 100%);
    transition: height 0.3s;
  }
  .sector-card:hover::before { height: 100%; }
  .sector-card:hover { border-color: rgba(184,150,78,0.3); transform: translateY(-2px); }

  .sector-icon { font-size: 1.5rem; margin-bottom: 0.9rem; display: block; }
  .sector-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 0.65rem;
  }
  .sector-desc { font-size: 0.92rem; color: var(--grey); line-height: 1.75; }
  .sector-examples { margin-top: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .sector-tag {
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); background: rgba(184,150,78,0.08);
    border: 1px solid rgba(184,150,78,0.22); padding: 0.18rem 0.55rem;
  }

  /* ── CAPABILITIES ── */
  .capabilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
  .cap-list { list-style: none; }
  .cap-item { display: flex; gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cap-num { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--gold); letter-spacing: 0.1em; padding-top: 0.1rem; flex-shrink: 0; width: 24px; }
  .cap-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
  .cap-desc { font-size: 0.93rem; color: var(--grey); line-height: 1.75; }
  .cap-right { position: sticky; top: 7rem; }
  .cap-highlight {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.22);
    padding: 2.25rem; position: relative;
  }
  .cap-highlight::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
  }
  .cap-quote {
    font-family: 'Cormorant Garamond', serif; font-size: 1.42rem;
    font-style: italic; color: var(--white); line-height: 1.6; margin-bottom: 1.25rem;
  }
  .cap-quote-source { font-size: 0.75rem; color: var(--gold); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

  /* ── PROCUREMENT ── */
  .procurement { background: var(--navy-mid); position: relative; overflow: hidden; }
  .procurement::before {
    content: 'RFP'; position: absolute; right: -2rem; top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif; font-size: 17rem; font-weight: 700;
    color: rgba(184,150,78,0.03); pointer-events: none; line-height: 1;
  }
  .procurement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; margin-top: 3rem; }
  .procurement-steps { list-style: none; }
  .proc-step { display: flex; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .proc-step-num {
    font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--gold);
    background: rgba(184,150,78,0.1); border: 1px solid rgba(184,150,78,0.22);
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .proc-step-title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.28rem; letter-spacing: 0.02em; }
  .proc-step-desc { font-size: 0.92rem; color: var(--grey); line-height: 1.7; }

  .compliance-card {
    background: var(--navy); border: 1px solid rgba(74,127,165,0.3); padding: 2.25rem; position: relative;
  }
  .compliance-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
  }
  .compliance-title { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.4rem; }
  .compliance-item { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.93rem; color: var(--grey-light); }
  .compliance-item:last-child { border-bottom: none; }
  .compliance-check { color: var(--gold); font-size: 0.78rem; flex-shrink: 0; margin-top: 0.1rem; }

  /* ── CASES ── */
  .cases { background: var(--navy-mid); }
  .cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.25rem; }
  .case-card { background: var(--navy); border: 1px solid rgba(255,255,255,0.06); overflow: hidden; transition: all 0.3s; }
  .case-card:hover { border-color: rgba(184,150,78,0.25); transform: translateY(-3px); }
  .case-img {
    width: 100%; height: 190px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
    display: flex; align-items: center; justify-content: center; font-size: 2.8rem;
    position: relative; overflow: hidden;
  }
  .case-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, var(--navy) 100%); }
  .case-body { padding: 1.6rem; }
  .case-sector { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.65rem; }
  .case-title { font-family: 'Cormorant Garamond', serif; font-size: 1.18rem; font-weight: 600; color: var(--white); margin-bottom: 0.65rem; line-height: 1.3; }
  .case-desc { font-size: 0.92rem; color: var(--grey); line-height: 1.75; margin-bottom: 1.1rem; }
  .case-outcome { background: rgba(184,150,78,0.08); border-left: 2px solid var(--gold); padding: 0.7rem 0.9rem; font-size: 0.88rem; color: var(--gold-light); font-style: italic; }

  /* ── FOUNDER ── */
  .founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .founder-img-area { position: relative; }
  .founder-photo {
    width: 100%; aspect-ratio: 4/5;
    background: var(--navy-mid); border: 1px solid rgba(184,150,78,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem; position: relative; overflow: hidden;
  }
  .founder-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(184,150,78,0.05), transparent); }
  .founder-accreditation {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--gold); color: var(--charcoal); padding: 1.2rem 1.4rem; text-align: center;
  }
  .accred-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 0.15rem; }
  .accred-value { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; display: block; }
  .founder-content { padding-left: 1rem; }
  .founder-name { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
  .founder-role { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
  .founder-bio { font-size: 1rem; color: var(--grey-light); line-height: 1.88; margin-bottom: 1.25rem; }
  .founder-designations { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
  .designation-badge { background: rgba(74,127,165,0.1); border: 1px solid rgba(74,127,165,0.3); color: var(--accent-light); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.28rem 0.7rem; }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--navy-mid); }
  .test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3.25rem; }
  .test-card { background: var(--navy); border: 1px solid rgba(255,255,255,0.06); padding: 2.1rem; position: relative; }
  .test-card::before { content: '"'; position: absolute; top: 1.4rem; right: 1.75rem; font-family: 'Cormorant Garamond', serif; font-size: 4.5rem; color: rgba(184,150,78,0.1); line-height: 1; }
  .test-stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 0.9rem; }
  .test-body { font-size: 0.97rem; color: var(--grey-light); line-height: 1.82; margin-bottom: 1.4rem; font-style: italic; }
  .test-name { font-size: 0.94rem; font-weight: 600; color: var(--white); margin-bottom: 0.12rem; }
  .test-title { font-size: 0.82rem; color: var(--grey); font-weight: 400; letter-spacing: 0.05em; }

  /* ── VENDOR INFO ── */
  .vendor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3.25rem; }
  .vendor-card { background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.06); padding: 2.1rem; }
  .vendor-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--white); margin-bottom: 0.9rem; }
  .vendor-info-list { list-style: none; }
  .vendor-info-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.92rem; gap: 1rem; }
  .vendor-info-item:last-child { border-bottom: none; }
  .vii-label { color: var(--grey); font-weight: 400; flex-shrink: 0; }
  .vii-value { color: var(--white); font-weight: 500; text-align: right; }

  /* ── CTA ── */
  .cta-section { background: var(--navy-mid); text-align: center; padding: 8rem 4rem; position: relative; overflow: hidden; }
  .cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(184,150,78,0.07) 0%, transparent 70%); pointer-events: none; }
  .cta-section .section-title { max-width: 680px; margin: 1rem auto 1.4rem; }
  .cta-section .section-sub { max-width: 540px; margin: 0 auto 2.5rem; text-align: center; }
  .cta-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
  .cta-note { margin-top: 2rem; font-size: 0.76rem; color: var(--grey); letter-spacing: 0.05em; }

  /* ── CONTACT ── */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
  .contact-form { background: var(--navy-mid); border: 1px solid rgba(184,150,78,0.22); padding: 2.4rem; position: relative; }
  .contact-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
  .form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
  .form-sub { font-size: 0.82rem; color: var(--grey); margin-bottom: 1.8rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 0.9rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
  .form-group label { font-size: 0.67rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
  .form-group input, .form-group select, .form-group textarea { background: var(--navy); border: 1px solid rgba(255,255,255,0.09); color: var(--white); padding: 0.8rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 1rem; width: 100%; transition: border-color 0.2s; outline: none; }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
  .form-group select option { background: var(--navy-mid); }
  .form-group textarea { resize: vertical; min-height: 95px; }
  .contact-info-title { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.9rem; line-height: 1.2; }
  .contact-info-sub { font-size: 0.92rem; color: var(--grey-light); line-height: 1.82; margin-bottom: 2.25rem; }
  .contact-methods { list-style: none; }
  .contact-method { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .contact-method:last-child { border-bottom: none; }
  .cm-icon { width: 38px; height: 38px; background: rgba(184,150,78,0.1); border: 1px solid rgba(184,150,78,0.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.95rem; }
  .cm-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.18rem; }
  .cm-value { font-size: 0.92rem; color: var(--white); }
  .cm-value a { color: var(--gold); text-decoration: none; }

  /* ── FOOTER ── */
  footer { background: var(--charcoal); border-top: 1px solid rgba(184,150,78,0.18); padding: 4rem 4rem 2rem; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-logo img { height: 52px; width: auto; display: block; margin-bottom: 1.1rem; }
  .footer-tagline { font-size: 0.9rem; color: var(--grey); line-height: 1.78; max-width: 270px; margin-bottom: 1.1rem; }
  .footer-contact { font-size: 0.9rem; color: var(--grey-light); line-height: 1.9; }
  .footer-contact a { color: var(--gold); text-decoration: none; }
  .footer-col-title { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
  .footer-links a { font-size: 0.9rem; color: var(--grey); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--white); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--grey); }
  .footer-designations { display: flex; gap: 0.65rem; }
  .footer-badge { background: rgba(74,127,165,0.1); border: 1px solid rgba(74,127,165,0.25); color: var(--accent-light); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.22rem 0.55rem; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ── PROCESS STEPS INSIDE CARD ── */
  .proc-mini { display: flex; flex-direction: column; gap: 1rem; }
  .proc-mini-item { display: flex; gap: 1rem; align-items: flex-start; }
  .proc-mini-num { color: var(--gold); font-family: 'DM Mono', monospace; font-size: 0.62rem; background: rgba(184,150,78,0.1); border: 1px solid rgba(184,150,78,0.22); width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .proc-mini-title { font-size: 0.83rem; font-weight: 600; color: var(--white); margin-bottom: 0.18rem; }
  .proc-mini-desc { font-size: 0.78rem; color: var(--grey); line-height: 1.6; }



/* ── PAGE HERO ── */
.page-hero {
    padding: 9rem 4rem 5rem;
    background: var(--navy-mid);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(184,150,78,0.15);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -150px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(184,150,78,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ── FILTER TABS (Work page) ── */
.filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
    padding: 0.55rem 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent; color: var(--grey-light);
    cursor: pointer; transition: all 0.22s;
}
.filter-btn:hover { border-color: rgba(184,150,78,0.4); color: var(--white); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

/* ── WORK GRID ── */
.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.work-card {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.07);
    display: flex; flex-direction: column;
    overflow: hidden; transition: all 0.3s;
}
.work-card:hover { border-color: rgba(184,150,78,0.28); transform: translateY(-3px); }
.work-card-img {
    width: 100%; height: 180px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.6rem; position: relative; overflow: hidden; flex-shrink: 0;
}
.work-card-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--navy-mid) 100%);
}
.work-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.work-card-type { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.6rem; }
.type-video { color: var(--gold); }
.type-photo { color: var(--accent-light); }
.work-card-sector { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.6rem; }
.work-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; line-height: 1.3; }
.work-card-desc { font-size: 0.82rem; color: var(--grey); line-height: 1.75; flex: 1; }
.work-card-outcome { margin-top: 1rem; background: rgba(184,150,78,0.07); border-left: 2px solid var(--gold); padding: 0.6rem 0.85rem; font-size: 0.78rem; color: var(--gold-light); font-style: italic; }
.work-card-outcome-blue { margin-top: 1rem; background: rgba(74,127,165,0.07); border-left: 2px solid var(--accent); padding: 0.6rem 0.85rem; font-size: 0.78rem; color: var(--accent-light); font-style: italic; }
.more-card { background: var(--navy); border: 1px dashed rgba(184,150,78,0.25); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 2rem; text-align: center; min-height: 300px; }

/* ── LEGAL PAGES ── */
.legal-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--white); margin: 3rem 0 0.75rem; padding-top: 2rem; border-top: 1px solid rgba(184,150,78,0.15); }
.legal-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 1rem; font-weight: 600; color: var(--gold-light); margin: 1.5rem 0 0.5rem; letter-spacing: 0.04em; }
.legal-body p { font-size: 1rem; color: var(--grey-light); line-height: 1.85; margin-bottom: 1rem; }
.legal-body ul { list-style: none; margin: 0.75rem 0 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-body ul li { font-size: 1rem; color: var(--grey-light); line-height: 1.8; display: flex; gap: 0.75rem; }
.legal-body ul li::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.legal-body a { color: var(--gold); text-decoration: none; }
.legal-meta { background: var(--navy-mid); border: 1px solid rgba(184,150,78,0.2); padding: 1.5rem 2rem; margin-bottom: 3rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.legal-meta-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.legal-meta-value { font-size: 0.92rem; color: var(--white); font-weight: 500; }

/* ── PROC MINI (Capabilities page) ── */
.proc-mini { display: flex; flex-direction: column; gap: 1rem; }
.proc-mini-item { display: flex; gap: 1rem; align-items: flex-start; }
.proc-mini-num { color: var(--gold); font-family: 'DM Mono', monospace; font-size: 0.62rem; background: rgba(184,150,78,0.1); border: 1px solid rgba(184,150,78,0.22); width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proc-mini-title { font-size: 0.83rem; font-weight: 600; color: var(--white); margin-bottom: 0.18rem; }
.proc-mini-desc { font-size: 0.78rem; color: var(--grey); line-height: 1.6; }

/* ── WORDPRESS SPECIFIC ── */
.wp-site-blocks { padding: 0; }
body.wp-singular .entry-content { max-width: 100%; padding: 0; }
.site-header, .site-footer { display: none; } /* hide default WP header/footer */
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
p { margin-bottom: 1rem; }


/* ══════════════════════════════════════════════════════════
   CASE STUDY TEMPLATE STYLES
   ══════════════════════════════════════════════════════════ */

.cs-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--navy-mid);
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    transition: opacity 0.3s;
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--navy) 0%, rgba(18,24,31,0.6) 60%, rgba(18,24,31,0.3) 100%);
}

.cs-hero-back {
    position: absolute;
    top: 7rem;
    left: 4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey-light);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
    z-index: 2;
}
.cs-hero-back:hover { color: var(--gold); }
.cs-hero-back::before { content: '←'; }

.cs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.cs-hero-service {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cs-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.cs-hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--grey-light);
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 2rem;
}

.cs-hero-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.cs-hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cs-meta-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey);
}

.cs-meta-value {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
}

/* STATS BAR */
.cs-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--gold);
}

.cs-stat {
    padding: 1.5rem 2rem;
    border-right: 1px solid rgba(10,22,40,0.2);
    text-align: center;
}
.cs-stat:last-child { border-right: none; }

.cs-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.cs-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: 0.75;
}

/* BODY SECTIONS */
.cs-body {
    background: var(--navy);
    padding: 6rem 4rem;
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.cs-main {}

.cs-section {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cs-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cs-section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.cs-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cs-section-body {
    font-size: 1rem;
    color: var(--grey-light);
    line-height: 1.9;
}

.cs-section-body p { margin-bottom: 1rem; }
.cs-section-body p:last-child { margin-bottom: 0; }

.cs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cs-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.97rem;
    color: var(--grey-light);
    line-height: 1.75;
}

.cs-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.55rem;
}

.cs-deliverable {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.18);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cs-deliverable-icon {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.cs-deliverable-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.cs-deliverable-desc {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.65;
}

/* RESULTS */
.cs-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.cs-result-item {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.15);
    border-left: 3px solid var(--gold);
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
    color: var(--grey-light);
    line-height: 1.65;
}

/* TESTIMONIAL */
.cs-testimonial {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.22);
    padding: 2.5rem;
    position: relative;
    margin-top: 1.5rem;
}

.cs-testimonial::before {
    content: '"';
    position: absolute;
    top: 1.25rem;
    right: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: rgba(184,150,78,0.12);
    line-height: 1;
}

.cs-testimonial-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.cs-testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.cs-testimonial-title {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* SIDEBAR */
.cs-sidebar {
    position: sticky;
    top: 7rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cs-sidebar-card {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.18);
    padding: 1.75rem;
    position: relative;
}

.cs-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.cs-sidebar-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.cs-sidebar-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    gap: 1rem;
}
.cs-sidebar-row:last-child { border-bottom: none; }
.cs-sidebar-row-label { color: var(--grey); font-weight: 400; }
.cs-sidebar-row-value { color: var(--white); font-weight: 500; text-align: right; }

/* PHOTO GALLERY */
.cs-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.cs-gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.06);
}

.cs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.cs-gallery-item:hover img { transform: scale(1.05); }

/* VIDEO EMBED */
.cs-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: var(--navy-mid);
    margin-top: 1.25rem;
}
.cs-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.cs-video-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.18);
}
.cs-video-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
    opacity: 0.5;
}
.cs-video-placeholder-text {
    font-size: 0.85rem;
    color: var(--grey);
    letter-spacing: 0.05em;
}

/* CTA SECTION */
.cs-cta {
    background: var(--navy-mid);
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cs-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(184,150,78,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* NEXT PROJECT NAV */
.cs-nav-projects {
    background: var(--navy);
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(184,150,78,0.12);
}
.cs-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.cs-nav-link:hover { opacity: 0.75; }
.cs-nav-direction {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey);
}
.cs-nav-project-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}


/* ── HERO VIDEO BACKGROUND ── */
.hero {
    isolation: isolate;
}

.hero video {
    pointer-events: none;
}

/* Ensure hero content stays sharp over video */
.hero-left, .hero-right {
    position: relative;
    z-index: 2;
}

/* Slightly increase overlay on credentials card for readability over video */
.credentials-card {
    background: rgba(26, 34, 48, 0.95);
    backdrop-filter: blur(8px);
}


/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE STYLES
   Breakpoints: tablet (1024px), mobile (768px), small (480px)
   ══════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════
   RESPONSIVE STYLES — SINGLE CONSOLIDATED SOURCE OF TRUTH
   Breakpoints: 1024px (tablet), 768px (mobile), 480px (small)
   ══════════════════════════════════════════════════════════ */

/* ── HAMBURGER: hidden on desktop ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1000;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ── MOBILE NAV OVERLAY: hidden by default ── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(18,24,31,0.98);
    backdrop-filter: blur(20px);
    z-index: 500;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.mobile-nav-overlay a:hover { color: var(--gold); }

.mobile-nav-overlay .mobile-nav-cta {
    background: var(--gold);
    color: var(--charcoal) !important;
    padding: 0.75rem 2.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* ── TABLET: 1024px ── */
@media (max-width: 1024px) {
    nav#top { padding: 0.75rem 2rem; }
    .nav-links { gap: 1.5rem; }
    .nav-links a { font-size: 0.75rem; }
    .hero { padding: 8rem 2rem 4rem; }
    .hero-left { max-width: 100%; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .cs-grid { grid-template-columns: 1fr; gap: 3rem; }
    .cs-sidebar { position: static; }
    .cs-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOBILE: 768px ── */
@media (max-width: 768px) {

    /* NAV */
    nav#top {
        padding: 0.75rem 1.25rem;
        flex-wrap: nowrap;
    }

    .nav-logo img { height: 56px !important; }

    /* Hide desktop nav links, show hamburger */
    .nav-links { display: none !important; }

    .nav-hamburger { display: flex; }

    /* HERO — fix: grid not flex */
    .hero {
        grid-template-columns: 1fr !important;
        padding: 5.5rem 1.5rem 3rem !important;
        min-height: auto !important;
        gap: 2rem;
    }
    .hero-left {
        padding-right: 0 !important;
        width: 100%;
    }
    .hero-right { width: 100%; }

    .hero h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
    .hero-sub { font-size: 0.9rem; }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-actions a { width: 100%; text-align: center; }

    /* TRUST BAR */
    .trust-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 2rem 1.5rem !important;
        gap: 1.5rem;
    }

    /* SECTIONS */
    section { padding: 4rem 1.5rem; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

    /* PAGE HERO */
    .page-hero { padding: 7rem 1.5rem 3rem !important; }
    .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }

    /* WHY GREYCREST */
    .why-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .why-card { padding: 1.5rem; }

    /* SECTORS */
    .sectors-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .sectors-full-grid { grid-template-columns: 1fr !important; }
    .sector-card { padding: 1.5rem; }

    /* CASES / TESTIMONIALS */
    .cases-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .case-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .test-grid { grid-template-columns: 1fr !important; gap: 1rem; }

    /* WORK */
    .work-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .filter-bar { gap: 0.5rem; }
    .filter-btn { font-size: 0.68rem; padding: 0.5rem 1rem; }

    /* CAPABILITIES */
    .cap-grid { grid-template-columns: 1fr !important; }
    .capabilities-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr !important; }
    .on-location-grid { grid-template-columns: 1fr !important; }
    .format-grid { grid-template-columns: 1fr !important; }
    .specs-grid { grid-template-columns: 1fr 1fr !important; }

    /* PROCUREMENT */
    .procurement-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .proc-steps { grid-template-columns: 1fr !important; }
    .compliance-grid { grid-template-columns: 1fr !important; }
    .vendor-grid { grid-template-columns: 1fr !important; }

    /* ABOUT */
    .about-grid { grid-template-columns: 1fr !important; }
    .founder-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .founder-photo { height: 350px; aspect-ratio: unset; }
    .founder-accreditation { position: static; margin-top: 1rem; }
    .credentials-grid { grid-template-columns: 1fr !important; }

    /* CONTACT */
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-methods { margin-bottom: 2rem; }
    .form-row { grid-template-columns: 1fr !important; }

    /* CASE STUDY */
    .cs-hero { padding: 6rem 1.5rem 3rem; min-height: 60vh; }
    .cs-hero-title { font-size: clamp(2rem, 7vw, 3rem); }
    .cs-hero-meta { gap: 1rem; flex-wrap: wrap; }
    .cs-stats { grid-template-columns: repeat(2, 1fr); }
    .cs-body { padding: 3rem 1.5rem; }
    .cs-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .cs-sidebar { position: static; }
    .cs-results-grid { grid-template-columns: 1fr !important; }
    .cs-gallery { grid-template-columns: repeat(2, 1fr); }
    .cs-nav-projects { padding: 2rem 1.5rem; flex-direction: column; gap: 1.5rem; text-align: center; }
    .cs-cta { padding: 4rem 1.5rem; }
    .cs-hero-back { top: 5rem; left: 1.5rem; }

    /* FOOTER */
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-designations { justify-content: center; flex-wrap: wrap; }

    /* LEGAL */
    .legal-body h2 { font-size: 1.3rem; }
    .legal-meta { flex-direction: column; gap: 1rem; }
}

/* ── SMALL MOBILE: 480px ── */
@media (max-width: 480px) {
    nav#top { padding: 0.6rem 1rem; }
    .nav-logo img { height: 48px !important; }

    .hero { padding: 5rem 1.25rem 2.5rem !important; }
    .hero h1 { font-size: 2rem !important; }

    .trust-bar {
        grid-template-columns: 1fr 1fr !important;
        padding: 1.5rem 1.25rem !important;
    }
    .trust-number { font-size: 1.8rem; }

    section { padding: 3rem 1.25rem; }
    .page-hero { padding: 6rem 1.25rem 2.5rem !important; }

    .cs-stats { grid-template-columns: 1fr 1fr; }
    .cs-stat { padding: 1rem; }
    .cs-stat-number { font-size: 1.6rem; }
    .cs-gallery { grid-template-columns: 1fr; }
    .cs-body { padding: 2.5rem 1.25rem; }
    .cs-hero { padding: 5.5rem 1.25rem 2.5rem; }

    footer { padding: 2.5rem 1.25rem 1.5rem; }
}


/* ══════════════════════════════════════════════════════════
   MOBILE OVERRIDE — FINAL AUTHORITY (appended last, wins all)
   ══════════════════════════════════════════════════════════ */

/* Desktop: hamburger always hidden */
nav#top .nav-hamburger,
button.nav-hamburger,
#nav-hamburger {
    display: none !important;
}

/* Mobile: hide desktop nav, show hamburger */
@media screen and (max-width: 768px) {

    /* Force hide ALL desktop nav links */
    nav#top ul.nav-links,
    nav#top #nav-links,
    .nav-links {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    /* Force show hamburger */
    nav#top .nav-hamburger,
    button.nav-hamburger,
    #nav-hamburger {
        display: flex !important;
        visibility: visible !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 0.5rem;
        background: none;
        border: none;
        z-index: 1000;
    }

    #nav-hamburger span {
        display: block !important;
        width: 24px;
        height: 2px;
        background: var(--white);
        transition: all 0.3s;
    }

    /* Hamburger X animation when active */
    #nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    #nav-hamburger.active span:nth-child(2) { opacity: 0; }
    #nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Nav bar itself: logo + hamburger only, no wrapping */
    nav#top {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.75rem 1.25rem !important;
        overflow: visible !important;
    }

    /* Hero: single column */
    .hero {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 5.5rem 1.5rem 3rem !important;
        min-height: auto !important;
        gap: 2rem !important;
    }
    .hero-left { padding-right: 0 !important; width: 100% !important; }
    .hero-right { width: 100% !important; }
}

/* ── MOBILE NAV LIST (dynamic WordPress menu in overlay) ── */
.mobile-nav-list {
    list-style: none;
    display: contents; /* children flow directly into overlay's flex column */
}
.mobile-nav-list li { display: contents; }

/* ── WHY GREYCREST SECTION ── */
.why-section {
    background: var(--navy-mid);
    padding: 7rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.why-bg-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(184,150,78,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.why-title { max-width: 680px; margin: 1rem auto 1.5rem; }
.why-sub   { max-width: 580px; margin: 0 auto 3rem; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}
.why-card {
    background: var(--navy);
    border: 1px solid rgba(184,150,78,0.2);
    padding: 2rem;
    text-align: left;
}
.why-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 600;
    color: var(--white); margin-bottom: 0.5rem;
}
.why-card-body { font-size: 0.83rem; color: var(--grey); line-height: 1.75; margin: 0; }

.why-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* Mobile: stack to single column, auto height */
@media (max-width: 768px) {
    .why-section { padding: 4rem 1.5rem; }
    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .why-card { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   FULL-SITE RESPONSIVE CLASS FIXES
   ══════════════════════════════════════════════════════════ */

/* ── PAGE HERO SHARED ── */
.page-hero-glow {
    position: absolute; top: -150px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(184,150,78,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-title { font-size: clamp(2.4rem, 4vw, 3.8rem); }

/* ── CONTACT ── */
.contact-section { padding: 5rem 4rem; background: var(--navy); }
.procurement-note {
    margin-top: 2.5rem;
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.2);
    padding: 1.75rem;
}

/* ── CAPABILITIES ── */
.capabilities-section { padding: 6rem 4rem; background: var(--navy); }
.cap-process-label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--grey); margin-bottom: 1.1rem;
}
.engagement-terms {
    margin-top: 1.5rem;
    background: var(--navy);
    border: 1px solid rgba(184,150,78,0.2);
    padding: 1.75rem;
}
.terms-list { display: flex; flex-direction: column; gap: 0.6rem; }
.terms-row {
    display: flex; justify-content: space-between;
    font-size: 0.83rem; padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terms-row-last { border-bottom: none; }
.terms-label { color: var(--grey); }
.terms-value { color: var(--white); font-weight: 500; }
.cap-cta-btn { display: block; width: 100%; text-align: center; margin-top: 1.5rem; }

.on-location-section {
    margin-top: 4rem; padding-top: 4rem;
    border-top: 1px solid rgba(184,150,78,0.15);
}
.on-location-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.on-location-card {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.18);
    padding: 1.85rem;
}
.on-location-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 600;
    color: var(--white); margin-bottom: 0.6rem;
}
.on-location-body { font-size: 0.95rem; color: var(--grey); line-height: 1.75; margin: 0; }

/* ── PROCUREMENT ── */
.procurement-main-section { padding: 6rem 4rem; background: var(--navy); }
.procurement-sidebar { display: flex; flex-direction: column; gap: 1.4rem; }
.naics-card {
    background: var(--navy-mid);
    border: 1px solid rgba(74,127,165,0.3);
    padding: 1.65rem;
}
.naics-label {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.2em; color: var(--accent-light); margin-bottom: 0.9rem;
}
.naics-desc { font-size: 0.82rem; color: var(--grey); line-height: 1.8; margin-bottom: 0.9rem; }
.naics-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.naics-list li { font-size: 0.8rem; color: var(--grey-light); display: flex; gap: 0.5rem; }
.naics-bullet { color: var(--gold); flex-shrink: 0; }

.vendor-ref-card {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.2);
    padding: 1.65rem;
}
.vendor-ref-row {
    display: flex; justify-content: space-between;
    font-size: 0.83rem; padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 1rem;
}
.vendor-ref-last { border-bottom: none; }
.vendor-ref-label { color: var(--grey); }
.vendor-ref-value { color: var(--white); font-weight: 500; text-align: right; }

.compliance-section { padding: 5rem 4rem 6rem; background: var(--navy); }
.compliance-sub { margin-bottom: 3.5rem; }
.compliance-cards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.compliance-feature-card {
    background: var(--navy-mid);
    border: 1px solid rgba(184,150,78,0.2);
    padding: 2rem; position: relative;
}
.compliance-feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.compliance-feature-label {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
}
.compliance-feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem; font-weight: 600;
    color: var(--white); margin-bottom: 0.75rem;
}
.compliance-feature-body { font-size: 0.93rem; color: var(--grey); line-height: 1.78; margin-bottom: 0.75rem; }

.direct-award-note {
    margin-top: 1.5rem;
    background: var(--navy-mid);
    border: 1px solid rgba(74,127,165,0.28);
    padding: 1.75rem;
    display: flex; align-items: flex-start; gap: 1.25rem;
}
.direct-award-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.direct-award-title { font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
.direct-award-body { font-size: 0.9rem; color: var(--grey-light); line-height: 1.78; margin: 0; }

/* ── WHO WE SERVE ── */
.sectors-section { padding: 6rem 4rem; background: var(--navy); }

/* ── LEGAL PAGES ── */
.legal-page-body { padding: 5rem 4rem 7rem; background: var(--navy); }
.legal-page-body, .legal-body, .legal-meta {
    -webkit-overflow-scrolling: touch;
    overflow-y: visible;
}

/* ── CTA SECTION shared ── */
.cta-title { max-width: 600px; margin: 1rem auto 1.5rem; }
.cta-sub { max-width: 500px; margin: 0 auto 2.5rem; }

/* ── ABOUT ── */
.about-section { padding: 6rem 4rem; background: var(--navy); }
.about-vendor-section { background: var(--navy-mid); padding: 6rem 4rem; }

/* ══════════════════════════════════════════════════════════
   MOBILE OVERRIDES FOR NEW CLASSES
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Contact */
    .contact-section { padding: 3rem 1.5rem; }
    .procurement-note { padding: 1.25rem; }

    /* Capabilities */
    .capabilities-section { padding: 3rem 1.5rem; }
    .on-location-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .on-location-section { margin-top: 2.5rem; padding-top: 2.5rem; }

    /* Procurement */
    .procurement-main-section { padding: 3rem 1.5rem; }
    .compliance-section { padding: 3rem 1.5rem; }
    .compliance-cards-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .direct-award-note { flex-direction: column; gap: 0.75rem; }

    /* Who We Serve */
    .sectors-section { padding: 3rem 1.5rem; }

    /* Legal */
    .legal-page-body { padding: 3rem 1.5rem 4rem; }

    /* About */
    .about-section { padding: 3rem 1.5rem; }
    .about-vendor-section { padding: 3rem 1.5rem; }

    /* CTA */
    .cta-section { padding: 4rem 1.5rem !important; }
}

@media (max-width: 480px) {
    .contact-section { padding: 2.5rem 1.25rem; }
    .capabilities-section { padding: 2.5rem 1.25rem; }
    .procurement-main-section { padding: 2.5rem 1.25rem; }
    .compliance-section { padding: 2.5rem 1.25rem; }
    .sectors-section { padding: 2.5rem 1.25rem; }
    .legal-page-body { padding: 2.5rem 1.25rem 3rem; }
}
