/* WordPress/navigation integration; the reference page layouts live in main.css. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99999; top: 12px; left: 12px; padding: 12px 16px; color: var(--navy); background: var(--lime); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.logo img { width: 100%; height: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(17px,2vw,32px); list-style: none; margin: 0; padding: 0; }
.site-nav__cta { list-style: none; margin: 0; padding: 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 11px 0; list-style: none; color: rgba(255,255,255,.73); font-size: 11px; line-height: 1.8; }
.footer-menu { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; padding: 0; margin: 0; font-size: 11px; }
.project-archive-card { position: relative; }
.project-record-link { position: absolute; inset: 0; z-index: 2; }
.project-record-link:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.project-single { background: #fff; color: var(--navy); }
.project-hero { position: relative; min-height: 540px; height: 70svh; display: grid; grid-template-columns: 52% 48%; overflow: hidden; color: #fff; background: var(--navy); }
.project-hero__panel { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(100px, 9vw, 130px) max(5vw, 36px) 36px; overflow: hidden; background: radial-gradient(circle at 90% 70%, rgba(20,94,255,.25), transparent 45%), linear-gradient(145deg, #041624, #082b49); }
.project-hero__panel h1 { margin: 12px 0 0; font-size: clamp(34px, 4.5vw, 68px); line-height: 1.05; letter-spacing: -.05em; font-weight: 650; }
.project-hero__panel p { max-width: 500px; margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; }
.project-hero__explore { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: color .2s; margin-top: 24px; }
.project-hero__explore:hover { color: var(--lime); }
.project-hero__explore svg { width: 36px; height: 36px; padding: 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.project-hero__visual { position: relative; min-width: 0; overflow: hidden; }
.project-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-hero__visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,22,36,.3), transparent 30%), linear-gradient(0deg, rgba(3,18,31,.6), transparent 40%); }

.project-details { background: #f7fafb; border-bottom: 1px solid #e2e8f0; padding: 36px max(5vw, 24px); }
.project-details__inner { max-width: 1000px; margin: 0 auto; }
.project-details dl { display: flex; flex-wrap: wrap; gap: 24px 60px; margin: 0; padding: 0; }
.project-details dt { color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.project-details dd { margin: 0; font-size: 18px; font-weight: 600; color: var(--navy); }

.project-story { padding: clamp(50px, 7vw, 90px) max(5vw, 24px); background: #fff; }
.project-story__inner { max-width: 900px; margin: 0 auto; }
.project-story h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.04em; color: var(--navy); margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.project-story h2:first-child { margin-top: 0; }
.project-story p { font-size: 17px; line-height: 1.8; color: #334155; margin: 0 0 24px; }

@media (max-width: 900px) {
  .project-hero { grid-template-columns: 1fr; height: auto; min-height: auto; }
  .project-hero__visual { min-height: 280px; max-height: 380px; }
  .project-details dl { gap: 18px 36px; }
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.news-card { display: flex; flex-direction: column; }
.news-card > a { display: flex; flex-direction: column; flex-grow: 1; text-decoration: none; color: inherit; }
.news-card__image { aspect-ratio: 16/10; overflow: hidden; background: var(--navy); color: white; display: grid; place-items: center; border-radius: 4px; margin-bottom: 20px; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card__image img { transform: scale(1.04); }
.news-card__placeholder { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.news-card time { display: block; font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.news-card h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -.03em; margin: 0 0 12px; color: var(--navy); }
.news-card p { font-size: 15px; line-height: 1.7; color: #475569; margin: 0 0 20px; flex-grow: 1; }
.news-card .text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; color: var(--navy); transition: color .2s; }
.news-card:hover .text-link { color: var(--lime); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}
.pagination { padding: 0 5vw 50px; }
.pagination .nav-links { display: flex; gap: 20px; }
.article-image { margin: 0; }
.article-image img { width: 100%; height: auto; max-height: 80vh; object-fit: cover; }
.site-nav__list a { color: rgba(255,255,255,.72); transition: color .25s; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_parent > a { color: #fff; }
.site-nav__list .current-menu-item > a::after, .site-nav__list .current_page_parent > a::after { content: ''; display: block; height: 1px; margin-top: 6px; background: var(--lime); transform: scaleX(.55); transform-origin: left; }
.menu-toggle { flex: 0 0 auto; width: 48px; height: 48px; padding: 0; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { position: absolute; left: 11px; width: 26px; height: 1px; background: currentColor; transition: transform .25s, top .25s, opacity .25s; }
.menu-toggle > span:nth-child(1) { top: 18px; }
.menu-toggle > span:nth-child(2) { top: 24px; }
.menu-toggle > span:nth-child(3) { top: 30px; }
.menu-open .menu-toggle > span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle > span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle > span:nth-child(3) { top: 24px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }
.admin-bar .header { top: 32px; }
.project > a.project__full-link { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; z-index: 3; }
.project h3 { right: 32px; }
[data-service-panel][hidden], [data-project-category][hidden] { display: none !important; }
.project-archive__grid > .project-archive-card { grid-column: span 6; }
.project-archive__grid > .project-archive-card--wide { grid-column: span 7; }
.project-archive__grid > .project-archive-card--narrow { grid-column: span 5; }
html:not(.arc-reveals-ready) .reveal { opacity: 1; transform: none; }
html:not(.arc-js) .about-brands__marquee { overflow-x: auto; }
.about-brands__marquee:focus-within .about-brands__track { animation-play-state: paused; }

/* Fallback WordPress pages/404 remain readable without adding them to the menu. */
.inner-hero { min-height: 60vh; padding: 150px 5vw 60px; color: #fff; background: var(--navy); }
.inner-hero h1 { margin: 24px 0; font-size: clamp(48px,7vw,100px); line-height: .95; letter-spacing: -.06em; }
.prose { max-width: 950px; margin: auto; font-size: 17px; line-height: 1.8; }
.prose img { height: auto; }
.prose a { text-decoration: underline; }
.not-found { min-height: 80svh; padding: 160px 24px 80px; display: grid; place-content: center; justify-items: center; text-align: center; color: #fff; background: var(--navy); }
.not-found > span { font-size: clamp(100px,20vw,220px); color: var(--lime); line-height: 1; }
.not-found h1 { max-width: 800px; font-size: clamp(32px,5vw,60px); letter-spacing: -.04em; }
.button { display: inline-flex; gap: 14px; padding: 16px 24px; border-radius: 99px; font-weight: 700; }
.button--lime { color: var(--navy); background: var(--lime); }

@media (max-width: 900px) {
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav__list a { font-size: 30px; color: #fff; }
  .nav { overflow-y: auto; overscroll-behavior: contain; }
  .project-archive__grid > .project-archive-card { grid-column: span 6; }
  html:not(.arc-js) .header { position: relative; height: auto; min-height: 76px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
  html:not(.arc-js) .nav { position: static; transform: none; padding: 20px 0; width: 100%; }
  html:not(.arc-js) .menu-toggle { display: none; }
}
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 650px) { .project-archive__grid > .project-archive-card { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { .about-brands__marquee { overflow-x: auto; } }
