:root {
    --ink: #20201e;
    --muted: #787873;
    --paper: #f3f2ee;
    --sand: #e4e0d7;
    --dark: #171716;
    --gold: #b48b55;
    --line: rgba(32, 32, 30, .17);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.site-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--dark); color: white; font-size: 12px; letter-spacing: .35em; transition: opacity .6s ease, visibility .6s ease; }
.site-loader.is-hidden { opacity: 0; visibility: hidden; }
.container { max-width: 1280px; }
.site-header { position: fixed; z-index: 100; width: 100%; color: white; border-bottom: 1px solid rgba(255,255,255,.25); transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { background: rgba(243,242,238,.96); color: var(--ink); border-color: var(--line); box-shadow: 0 8px 25px rgba(0,0,0,.06); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.2vw; }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: -.03em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.brand-name { font-size: 13px; line-height: 1.05; font-weight: 600; }
.brand-name small { font-weight: 400; font-size: 11px; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 12px; }
.main-nav a { position: relative; opacity: .92; transition: opacity .25s ease; }
.main-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s ease; }
.main-nav a:not(.nav-contact):hover::after { right: 0; }
.main-nav a:hover { opacity: 1; }
.nav-contact { padding: 10px 16px; border: 1px solid currentColor; }
.nav-contact span, .text-link span { font-size: 16px; margin-left: 5px; }
.mobile-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s ease; }
.hero { height: min(930px, 100vh); min-height: 700px; position: relative; color: white; display: flex; align-items: center; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90") center/cover; transform: scale(1.03); animation: settle 1.8s ease forwards; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,7,.77), rgba(7,8,7,.18) 70%), linear-gradient(0deg, rgba(7,8,7,.58), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding: 100px 7vw 0; }
.eyebrow { font-size: 10px; letter-spacing: .25em; color: var(--muted); margin: 0 0 30px; font-weight: 600; }
.eyebrow-light { color: rgba(255,255,255,.7); }
.eyebrow .line { display: inline-block; vertical-align: middle; width: 40px; height: 1px; margin: 0 12px; background: currentColor; opacity: .55; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 400; letter-spacing: -.06em; line-height: .98; }
h1 { font-size: clamp(60px, 8vw, 120px); max-width: 900px; margin-bottom: 34px; }
h1 em, h2 em { font-family: var(--serif); font-weight: 500; }
.hero-copy { max-width: 330px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.82); margin-bottom: 75px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.scroll-arrow { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 16px; }
.hero-side-note { position: absolute; right: 4vw; bottom: 38px; z-index: 2; font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.6); writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-side-note span { height: 40px; width: 1px; display: block; margin: 14px auto; background: rgba(255,255,255,.5); }
.section-pad { padding: 145px 0; }
.intro { background: var(--paper); }
h2 { font-size: clamp(45px, 5.4vw, 78px); margin-bottom: 0; }
.intro-lead { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.25; letter-spacing: -.035em; max-width: 600px; margin-bottom: 27px; }
.body-copy { color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.text-link { display: inline-block; font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 5px; transition: color .25s ease, border-color .25s ease; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }
.metrics { border-top: 1px solid var(--line); margin-top: 135px; }
.metric { display: flex; align-items: baseline; gap: 15px; padding: 28px 25px 0 0; border-right: 1px solid var(--line); }
.metric:not(:first-child) { padding-left: 25px; }
.metric:last-child { border-right: 0; }
.metric strong { font-size: clamp(43px, 4vw, 62px); font-weight: 400; letter-spacing: -.08em; line-height: 1; }
.metric strong span { color: var(--gold); font-size: .5em; }
.metric small { color: var(--muted); font-size: 10px; line-height: 1.25; }
.section-dark { background: var(--dark); color: white; }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 72px; }
.section-intro { color: rgba(255,255,255,.58); margin-bottom: 3px; text-align: right; font-size: 13px; line-height: 1.35; }
.portfolio-filters { display: flex; gap: 24px; margin-bottom: 45px; border-bottom: 1px solid rgba(255,255,255,.2); }
.filter-btn { color: rgba(255,255,255,.58); background: transparent; border: 0; padding: 0 0 15px; font-size: 12px; position: relative; }
.filter-btn::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 100%; height: 2px; background: var(--gold); transition: right .3s ease; }
.filter-btn.active, .filter-btn:hover { color: white; }
.filter-btn.active::after { right: 0; }
.project-item.is-hidden { display: none; }
.project-card { height: 100%; }
.project-image-wrap { position: relative; aspect-ratio: 1.38; overflow: hidden; background: #31312e; }
.project-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.project-card:hover .project-image-wrap img { transform: scale(1.045); filter: saturate(1); }
.project-tag { position: absolute; top: 18px; left: 18px; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; padding: 7px 10px; background: rgba(23,23,22,.75); }
.project-arrow { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--dark); background: white; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.project-card:hover .project-arrow { opacity: 1; transform: translateY(0); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 0; }
.project-meta h3 { font-size: 21px; letter-spacing: -.04em; font-weight: 500; margin-bottom: 3px; }
.project-meta p, .project-description { color: rgba(255,255,255,.5); font-size: 11px; margin: 0; }
.project-type { text-align: right; padding-top: 5px; }
.project-description { max-width: 430px; margin-top: 13px; line-height: 1.45; }
.portfolio-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 68px; color: rgba(255,255,255,.5); font-size: 11px; }
.portfolio-footer strong { color: white; font-weight: 500; }
.outline-button { display: inline-flex; align-items: center; gap: 14px; padding: 14px 19px; border: 1px solid currentColor; font-size: 11px; transition: background .25s ease, color .25s ease; }
.outline-button:hover { color: var(--dark); background: white; }
.outline-button span { font-size: 16px; }
.approach { background: #d8d4cb; }
.approach-image { position: relative; aspect-ratio: .86; max-width: 520px; overflow: hidden; }
.approach-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.image-caption { position: absolute; bottom: 26px; left: 26px; color: white; font-size: 20px; line-height: 1.15; text-shadow: 0 2px 15px rgba(0,0,0,.4); }
.approach h2 { margin-bottom: 45px; }
.approach-list { border-top: 1px solid var(--line); }
.approach-item { display: flex; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.approach-item > span { color: var(--gold); font-size: 11px; padding-top: 2px; }
.approach-item h3 { font-size: 18px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 5px; }
.approach-item p { color: #64625d; font-size: 12px; line-height: 1.5; margin-bottom: 0; max-width: 380px; }
.ecosystem { background: var(--sand); }
.ecosystem h2 { margin-bottom: 0; }
.ecosystem-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ecosystem-card { min-height: 235px; padding: 25px 25px 25px 0; border-bottom: 1px solid var(--line); }
.ecosystem-card:nth-child(even) { padding-left: 25px; border-left: 1px solid var(--line); }
.ecosystem-card > span { color: var(--gold); font-size: 11px; }
.ecosystem-card h3 { font-size: 27px; font-weight: 400; letter-spacing: -.05em; margin: 36px 0 6px; }
.ecosystem-card p { max-width: 180px; font-size: 12px; color: var(--muted); line-height: 1.4; min-height: 35px; }
.ecosystem-card a { font-size: 11px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.ecosystem-card a b { font-size: 15px; margin-left: 6px; font-weight: 400; }
.section-paper { background: #ebe9e4; }
.journal .section-heading-row { margin-bottom: 60px; }
.journal .section-heading-row .text-link { margin-bottom: 7px; }
.journal-image { aspect-ratio: 1.38; overflow: hidden; margin-bottom: 23px; }
.journal-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .7s ease; }
.journal-feature:hover img { transform: scale(1.04); }
.journal-date { font-size: 9px; color: var(--muted); letter-spacing: .18em; margin-bottom: 12px; }
.journal-feature h3 { font-size: 27px; font-weight: 400; letter-spacing: -.045em; line-height: 1.1; max-width: 450px; margin-bottom: 23px; }
.journal-list { border-top: 1px solid var(--line); }
.journal-list article { display: flex; align-items: center; gap: 25px; min-height: 130px; border-bottom: 1px solid var(--line); }
.journal-list article > span { color: var(--gold); font-size: 11px; align-self: flex-start; padding-top: 25px; }
.journal-list article h3 { font-size: 20px; font-weight: 400; letter-spacing: -.04em; line-height: 1.15; margin-bottom: 0; }
.journal-list article b { margin-left: auto; font-size: 20px; font-weight: 400; transition: transform .25s ease; }
.journal-list article:hover b { transform: translate(4px,-4px); }
.journal-list .journal-date { margin-bottom: 8px; }
.contact { padding-bottom: 160px; }
.contact h2 { margin-bottom: 32px; }
.contact-copy { max-width: 390px; color: rgba(255,255,255,.58); font-size: 16px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 50px; }
.contact-details a { font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; }
.contact-details span { color: var(--gold); margin-left: 12px; }
.contact-form { border-top: 1px solid rgba(255,255,255,.3); }
.contact-form label { display: block; color: rgba(255,255,255,.58); font-size: 11px; padding: 19px 0 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; color: white; background: transparent; border: 0; outline: 0; padding: 5px 0 17px; font-size: 15px; resize: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.38); }
.contact-form select { color: white; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='white'/%3E%3C/svg%3E") right center/10px no-repeat; }
.contact-form option { color: var(--ink); }
.submit-button { border: 0; background: white; color: var(--ink); padding: 15px 20px; margin-top: 32px; font-size: 11px; transition: background .25s ease, transform .25s ease; }
.submit-button:hover { background: #d5ad78; transform: translateY(-2px); }
.submit-button span { margin-left: 26px; font-size: 17px; }
.form-success { border: 1px solid rgba(255,255,255,.3); padding: 36px; }
.form-success > span { color: var(--gold); font-size: 24px; }
.form-success h3 { margin-top: 30px; font-size: 27px; font-weight: 400; }
.form-success p { color: rgba(255,255,255,.58); margin-bottom: 25px; }
.form-alert { border-left: 2px solid #d5ad78; color: #ecd7bb; padding: 11px 14px; font-size: 12px; margin-bottom: 18px; }
.site-footer { background: #111110; color: white; padding: 62px 0 27px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 85px; }
.brand-footer .brand-mark { width: 50px; height: 50px; }
.footer-top > p { color: rgba(255,255,255,.5); font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.2; margin: 4px auto 0 120px; }
.back-top { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; align-self: center; }
.back-top span { margin-left: 10px; font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; display: flex; justify-content: space-between; color: rgba(255,255,255,.4); font-size: 10px; }
.footer-bottom div { display: flex; gap: 25px; }
.footer-bottom a:hover { color: white; }
.projects-directory { background: #fff; color: var(--ink); }
.directory-header { color: var(--ink); background: rgba(255,255,255,.97); border-color: #ecebe8; }
.directory-header .main-nav a.active { font-weight: 600; }
.directory-header .main-nav a.active::after { right: 0; }
.directory-main { padding-top: 84px; }
.directory-intro { padding: 62px 0 45px; }
.directory-title-row { display: flex; justify-content: space-between; align-items: flex-end; }
.directory-title-row .eyebrow { margin-bottom: 24px; }
.directory-rule { display: inline-block; width: 35px; height: 1px; background: currentColor; opacity: .4; vertical-align: middle; margin: 0 12px; }
.directory-intro h1 { color: var(--ink); font-size: clamp(55px, 6vw, 78px); margin: 0 0 10px; }
.directory-count { color: #666662; font-size: 14px; margin: 0; }
.directory-count strong { font-weight: 400; }
.directory-statement { color: #888883; font-size: 14px; line-height: 1.35; text-align: right; margin: 0 0 5px; }
.directory-controls { border-top: 1px solid #efeeec; border-bottom: 1px solid #efeeec; padding: 18px 0; }
.directory-filter-shell { display: flex; align-items: center; gap: 10px; }
.directory-filter-rail { display: flex; gap: 9px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; padding: 1px 0; }
.directory-filter-rail::-webkit-scrollbar { display: none; }
.directory-filter { white-space: nowrap; border: 1px solid #e7e6e3; color: #62615e; background: white; border-radius: 999px; padding: 9px 17px; font-size: 11px; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.directory-filter:hover, .directory-filter.active { border-color: var(--ink); background: var(--ink); color: white; }
.directory-arrow { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #d9d8d5; color: #4e4d49; background: white; border-radius: 50%; display: grid; place-items: center; font-size: 24px; line-height: 1; padding-bottom: 4px; transition: background .25s ease, color .25s ease; }
.directory-arrow:hover { background: var(--ink); color: white; }
.directory-projects { padding: 79px 0 135px; }
.directory-grid { row-gap: 52px; }
.directory-project-item { transition: opacity .35s ease, transform .35s ease; }
.directory-project-item.is-filtered { display: none; }
.directory-card-visual { position: relative; display: block; aspect-ratio: 1.48; overflow: hidden; border-radius: 12px; color: white; background: #d4d2cd; }
.directory-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .45s ease; filter: saturate(.82); }
.directory-card-visual:hover img { transform: scale(1.055); filter: saturate(1); }
.directory-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,9,.8) 0%, rgba(10,10,9,.12) 56%, rgba(10,10,9,.04) 100%); }
.directory-card-status { position: absolute; top: 15px; left: 15px; border: 1px solid rgba(255,255,255,.5); background: rgba(20,20,18,.22); backdrop-filter: blur(5px); padding: 6px 9px; border-radius: 3px; text-transform: uppercase; letter-spacing: .13em; font-size: 8px; }
.directory-card-copy { position: absolute; bottom: 17px; left: 16px; right: 16px; }
.directory-card-copy h2 { font-family: var(--sans); font-size: 20px; line-height: 1.1; letter-spacing: -.035em; font-weight: 500; margin-bottom: 4px; }
.directory-card-copy p { color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.25; margin: 0; }
.directory-card-meta { position: relative; min-height: 76px; padding: 15px 65px 0 4px; color: #252522; font-size: 11px; }
.directory-location { color: #72716c; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.directory-location .pin { color: #32312e; font-size: 15px; margin-right: 6px; vertical-align: -1px; }
.directory-card-meta > p { font-size: 11px; margin: 0; line-height: 1.25; }
.enquire-pill { position: absolute; top: 16px; right: 3px; border-radius: 999px; background: #0e0e0d; color: white; padding: 8px 16px; font-size: 10px; transition: background .25s ease, transform .25s ease; }
.enquire-pill:hover { color: white; background: var(--gold); transform: translateY(-2px); }
.directory-empty { text-align: center; padding: 90px 0; color: var(--muted); }
.directory-footer { padding-top: 62px; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }.delay-2 { transition-delay: .22s; }.delay-3 { transition-delay: .32s; }
@keyframes settle { from { transform: scale(1.1); filter: blur(4px); } to { transform: scale(1.03); filter: blur(0); } }

@media (max-width: 991px) {
    .header-inner { min-height: 72px; }
    .mobile-toggle { display: block; color: inherit; position: relative; z-index: 3; }
    .main-nav { position: absolute; left: 0; right: 0; top: 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 5vw 25px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
    .main-nav.is-open { transform: translateY(0); opacity: 1; }
    .main-nav a { padding: 12px 0; width: 100%; }
    .nav-contact { width: auto !important; padding: 9px 14px !important; margin-top: 8px; }
    .hero-content { padding-left: 6vw; }
    .section-pad { padding: 105px 0; }
    .metrics { margin-top: 95px; }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 25px; }
    .metric:nth-child(3) { padding-left: 0; }
    .metric:nth-child(4) { border-right: 0; }
    .approach-image { max-width: none; }
    .directory-title-row { align-items: flex-start; }
    .directory-statement { display: none; }
    .directory-projects { padding-top: 55px; }
}
@media (max-width: 575px) {
    body { font-size: 14px; }
    .brand-name { font-size: 11px; }
    .brand-mark { width: 36px; height: 36px; font-size: 10px; }
    .hero { min-height: 650px; height: 92vh; }
    .hero-content { padding: 80px 25px 0; }
    h1 { font-size: clamp(52px, 15vw, 78px); }
    .hero-copy { margin-bottom: 45px; }
    .hero-side-note { display: none; }
    .section-pad { padding: 82px 0; }
    .section-heading-row { display: block; margin-bottom: 48px; }
    .section-intro { text-align: left; margin-top: 25px; }
    .metrics { margin-top: 75px; }
    .metric { gap: 10px; padding-right: 10px; }
    .metric:not(:first-child) { padding-left: 12px; }
    .metric strong { font-size: 38px; }
    .metric small { font-size: 9px; }
    .portfolio-filters { overflow-x: auto; gap: 20px; white-space: nowrap; }
    .portfolio-footer { display: block; }
    .portfolio-footer .outline-button { margin-top: 22px; }
    .project-meta { display: block; }
    .project-type { text-align: left; margin-top: 8px !important; }
    .approach-item { gap: 15px; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .ecosystem-card, .ecosystem-card:nth-child(even) { padding: 24px 0; border-left: 0; }
    .journal-list { margin-top: 46px; }
    .journal-list article h3 { font-size: 17px; }
    .contact { padding-bottom: 100px; }
    .footer-top { display: block; padding-bottom: 50px; }
    .footer-top > p { margin: 35px 0; }
    .footer-bottom { display: block; }
    .footer-bottom div { margin: 16px 0; }
    .directory-main { padding-top: 72px; }
    .directory-intro { padding: 42px 0 33px; }
    .directory-intro h1 { font-size: 55px; }
    .directory-title-row .eyebrow { font-size: 9px; letter-spacing: .16em; }
    .directory-controls { padding: 13px 0; }
    .directory-filter-shell { gap: 6px; }
    .directory-arrow { flex-basis: 28px; width: 28px; height: 28px; font-size: 21px; }
    .directory-projects { padding: 42px 0 85px; }
    .directory-grid { row-gap: 32px; }
    .directory-card-visual { aspect-ratio: 1.27; }
}
/* --- PRIMARY MENU & DROPDOWN STYLES --- */
.primary-menu {
    /* 
       Theme Accent Options to try:
       #C06842 (Elegant Copper/Rust - Default below)
       #4A6B53 (Sophisticated Sage Green)
       #425563 (Deep Slate Blue)
    */
    --nav-highlight: #C06842; 
}

.primary-menu .menu {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 48px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu .menu > li {
    position: relative;
    padding: 10px 0;
}

.primary-menu .menu a {
    position: relative;
    opacity: 0.92;
    font-size: 15px; 
    font-weight: 500;
    transition: color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

/* Apply the new highlight color to Active and Hover states */
.primary-menu .menu > li.current-menu-item > a,
.primary-menu .menu > li:hover > a {
    color: var(--nav-highlight);
    opacity: 1;
}

/* Ensure the Contact Us button border matches the new highlight */
.primary-menu .menu > li.current-menu-item > a.nav-contact,
.primary-menu .menu > li:hover > a.nav-contact {
    border-color: var(--nav-highlight);
}

/* Sub-menu (Dropdown) Styles */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--paper);
    color: var(--ink);
    list-style: none;
    padding: 12px 0;
    margin: 0;
    min-width: 240px;
    border-radius: 2px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    z-index: 200;
}

/* Arrow indicator for parent items */
.menu-item-has-children > a::before {
    content: "▾";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: 0.6;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    padding: 0;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 10px 25px;
    font-size: 14px; 
    color: var(--muted);
    font-weight: 400;
    transition: color 0.2s ease, background 0.2s ease;
}

.primary-menu .sub-menu a:hover {
    color: var(--nav-highlight);
    background: rgba(0,0,0,0.03);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .primary-menu .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .primary-menu .menu > li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .primary-menu .menu > li > a {
        display: block;
        padding: 14px 0;
    }
    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 10px 15px;
        min-width: auto;
    }
    .primary-menu .sub-menu a {
        padding: 8px 10px;
    }
    .menu-item-has-children > a::before {
        display: none;
    }
}
/* --- OFFICIAL LOGO STYLES --- */
.brand-logo {
    height: 80px; /* Increased from 58px for a much larger, wider presence */
    width: auto;
    display: block;
    transition: filter 0.35s ease;
}

/* Turns the outlined SVG completely white over dark backgrounds */
.site-header .brand-logo {
    filter: brightness(0) invert(1);
}

/* Returns the SVG to Copper and Dark Ink on scroll */
.site-header.is-scrolled .brand-logo {
    filter: none;
}

.site-footer .brand-logo {
    filter: brightness(0) invert(1);
}

.brand-footer .brand-logo {
    height: 95px; /* Increased from 68px for the footer */
    margin-bottom: 25px;
}

@media (max-width: 575px) {
    .brand-logo {
        height: 55px; /* Increased from 44px so it stands out more on mobile */
    }
}