/* Project BOWIE static edition: intentionally JavaScript-free. */
:root {
  --ink: #282246;
  --ink-soft: #4a416c;
  --accent: #ff6464;
  --accent-2: #7c62ff;
  --paper: #ffffff;
  --wash: #f3f2ed;
  --line: #d8d5e2;
  --muted: #666278;
  --shadow: 0 16px 38px rgba(40, 34, 70, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: #373a69; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-family: "Arial Narrow", "Segoe UI", sans-serif; line-height: 1.14; margin: 1.45em 0 .55em; }
h1 { font-size: clamp(2.25rem, 7vw, 4.8rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.65rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h5 { color: var(--accent); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }
p, ul, ol, blockquote { margin: 0 0 1.25rem; }
blockquote { border-left: 4px solid var(--accent); padding: 1rem 1.3rem; background: var(--wash); }
figure { margin: 2rem 0; }
figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; }

.skip-link { position: absolute; left: -9999px; top: 0; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; }
.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 20px rgba(40,34,70,.05);
}
.header-inner { width: min(1180px, calc(100% - 2.5rem)); min-height: 94px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; min-width: 190px; text-decoration: none; }
.site-logo { width: auto; height: 66px; max-width: 245px; object-fit: contain; object-position: left center; border-radius: 0; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0; }
.site-nav a { position: relative; padding: .8rem 1.25rem; color: #65616f; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 1rem; letter-spacing: .03em; text-decoration: none; }
.site-nav a::after { position: absolute; left: 1.25rem; right: 1.25rem; bottom: .45rem; height: 2px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: center; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.page-content { min-height: 60vh; }
.page-content > :not(.home-hero):not(.project-story):not(.latest-news):not(.subpage-hero):not(.news-grid):not(.post) { width: min(1040px, calc(100% - 2.5rem)); }
.page-content > p, .page-content > ul, .page-content > ol, .page-content > blockquote,
.page-content > h2, .page-content > h3, .page-content > h4, .page-content > h5,
.page-content > figure, .page-content > div:not(.news-grid):not(.faq-list):not(.page-intro) {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.page-intro { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.page-intro h1 { margin-top: .1em; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-rule { display: block; width: 54px; height: 2px; margin: 1.25rem 0 1.7rem; background: var(--ink); }
.hero-rule.light { background: white; }
.subpage-hero { width: 100%; margin: 0 0 4.5rem; padding: 5.5rem 1.25rem 4.4rem; text-align: center; background: radial-gradient(circle at 50% 20%, #fff 0, #f3f2ed 67%, #e7e5ea 120%); }
.subpage-hero h1 { margin: .15rem 0 0; color: var(--ink-soft); font-size: clamp(2.4rem, 6vw, 4.6rem); }
.subpage-hero .hero-rule { margin: 1.4rem auto 0; }

.home-hero { position: relative; width: min(1180px, calc(100% - 2.5rem)); min-height: 690px; margin: 0 auto; padding: 7.5rem 0 6.5rem; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.5rem; }
.home-hero::before { position: absolute; inset: 0 51% 0 -50vw; z-index: -1; content: ""; background: radial-gradient(circle at center, #fff 0, #f4f3f0 70%, #e9e7e8 120%); }
.hero-copy h1 { margin: 0 0 .2rem; color: var(--ink); font-size: clamp(4.3rem, 10vw, 7.3rem); letter-spacing: .025em; }
.hero-copy p { max-width: 610px; color: #48445a; line-height: 1.68; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 500px; }
.hero-visual::before { position: absolute; width: 88%; aspect-ratio: 1; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(124,98,255,.16), rgba(74,65,108,.04) 63%, transparent 64%); }
.hero-visual img { position: relative; z-index: 1; width: min(100%, 555px); border-radius: 0; filter: drop-shadow(0 24px 35px rgba(40,34,70,.15)); }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(74,65,108,.22); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 92%; aspect-ratio: 1.6; }
.orbit-two { width: 72%; aspect-ratio: 1.45; transform: rotate(28deg); }
.button { display: inline-block; padding: .8rem 1.65rem; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-weight: 650; letter-spacing: .035em; text-decoration: none; border: 1px solid currentColor; border-radius: 3px; }
.button-outline { margin-top: .6rem; color: var(--ink); background: transparent; }
.button-outline:hover { color: white; border-color: var(--ink-soft); background: var(--ink-soft); }
.project-story { position: relative; padding: 6.5rem max(1.25rem, calc((100vw - 1180px) / 2)); color: white; background: linear-gradient(200deg, rgba(74,65,108,.97), rgba(63,47,92,.93)), url("/wp-content/uploads/2020/12/sky-space-dark-galaxy.jpg") center / cover no-repeat; }
.story-inner { max-width: 1060px; }
.project-story .eyebrow { color: #d3d3d7; }
.project-story h2 { max-width: 880px; margin: .25rem 0 0; color: white; font-size: clamp(2.3rem, 5.5vw, 4.4rem); }
.story-columns { max-width: 980px; columns: 2; column-gap: 3.5rem; text-align: justify; }
.story-columns p { break-inside: avoid; }
.button-light { margin-top: 1rem; color: white; }
.button-light:hover { color: var(--ink); background: white; }
.latest-news { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: 6.5rem 0 7.5rem; }
.latest-news > h2 { margin: .2rem 0 0; }
.section-action { margin-top: 2.5rem; text-align: center; }

.news-grid { width: min(1180px, calc(100% - 2.5rem)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: 2.5rem auto 6rem; }
.latest-news .news-grid { width: 100%; margin-bottom: 0; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 22px rgba(40,34,70,.07); }
.card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wash); }
.card-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.card-body { padding: 1.25rem; }
.card-body time, .post-meta { color: var(--muted); font-size: .82rem; }
.card-body h2 { margin: .4rem 0 1rem; font-size: 1.18rem; }
.card-body h2 a { color: var(--ink); text-decoration: none; }
.read-more { font-size: .9rem; font-weight: 750; }

.post { max-width: 860px; margin: 0 auto; padding: 5rem 1.25rem 7rem; }
.post-header { margin-bottom: 2.5rem; }
.post-header h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
.post-featured { margin: 0 0 2.5rem; box-shadow: var(--shadow); }
.post .wp-block-gallery ul, .blocks-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; padding: 0; list-style: none; }
.blocks-gallery-item { margin: 0; }
.blocks-gallery-item img { width: 100%; height: 220px; object-fit: cover; }

.page-about .page-content, .page-team .page-content, .page-contact .page-content { padding-bottom: 6rem; }
.team-list { width: min(1100px, calc(100% - 2.5rem)); margin: 0 auto; }
.team-member { display: grid; grid-template-columns: minmax(260px, 35%) minmax(0, 65%); align-items: center; gap: 4rem; padding: 1rem 0 4.75rem; margin-bottom: 4.75rem; border-bottom: 1px dashed #b8b8ba; }
.team-member.image-right { grid-template-columns: minmax(0, 65%) minmax(260px, 35%); }
.team-member.image-right .team-bio { order: 1; }
.team-member.image-right .team-portrait { order: 2; }
.team-portrait { min-width: 0; text-align: center; }
.team-portrait > img { width: 100%; max-width: 370px; margin: 0 auto; border-radius: 5px; box-shadow: var(--shadow); }
.team-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem 1.3rem; margin-top: 1.35rem; font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.team-links a { white-space: nowrap; }
.team-bio { min-width: 0; }
.member-role { margin: 0 0 .55rem; color: #655c5c; font-size: .76rem; letter-spacing: .12em; text-decoration: underline; text-transform: uppercase; }
.team-bio h2 { margin: 0 0 .65rem; color: var(--ink-soft); font-size: clamp(2.2rem, 4.2vw, 3.15rem); letter-spacing: .015em; }
.member-position, .member-degree { margin: 0 0 .4rem; color: var(--ink-soft); font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: .86rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.team-bio .hero-rule { width: 80px; height: 1px; margin: 1.25rem 0 1.55rem; background: #373a69; }
.member-text { color: #37334b; line-height: 1.65; text-align: justify; }
.member-text p:last-child { margin-bottom: 0; }
.team-member:last-child { margin-bottom: 0; border-bottom: 0; }

.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item { margin: .8rem 0; border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 750; }
.faq-answer { padding: 0 1.2rem 1rem; color: var(--ink-soft); }
.faq-note { max-width: 850px; margin: 2rem auto; padding: 1rem 1.2rem; border-left: 4px solid var(--accent); background: var(--wash); }

.contact-section { width: min(940px, calc(100% - 2.5rem)); margin: 0 auto; }
.contact-intro { max-width: 680px; margin: 0 auto 2.7rem; text-align: center; }
.contact-intro h2 { margin: .2rem 0 0; }
.contact-intro .hero-rule { margin: 1.25rem auto 1.6rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.contact-item { min-height: 170px; padding: 2.15rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: var(--wash); box-shadow: 0 8px 22px rgba(40,34,70,.05); }
.contact-item p { margin: 0; }
.contact-item a { font-size: 1.08rem; font-weight: 750; }
.contact-label { margin-bottom: .55rem !important; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.site-footer { color: #74717b; background: #fcfcfb; border-top: 1px solid #eceaf0; }
.footer-main { position: relative; isolation: isolate; width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; padding: 5rem 0 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; text-align: center; }
.footer-main::before { position: absolute; inset: 1.5rem 0; z-index: -1; content: ""; background: url("/wp-content/uploads/2021/01/cropped-bowie-variant.png") center / contain no-repeat; opacity: .03; pointer-events: none; }
.site-footer h2 { margin: 0 0 1.2rem; color: #77747d; font-size: 1.05rem; letter-spacing: .04em; }
.site-footer p { margin: 0; }
.site-footer a { color: #73707a; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-links nav { display: grid; gap: .15rem; }
.footer-bowie img { width: 180px; max-height: 90px; margin: 0 auto .8rem; object-fit: contain; opacity: .52; border-radius: 0; }
.footer-support img { width: 190px; max-height: 74px; margin: 0 auto 1rem; object-fit: contain; opacity: .58; border-radius: 0; }
.footer-bottom { padding: 1rem max(1.25rem, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; gap: 2rem; color: #e9e9e9; background: #2f284f; font-size: .9rem; }
.footer-bottom a { color: white; }

@media (max-width: 820px) {
  .header-inner { padding: 1rem 0; align-items: center; flex-direction: column; gap: .25rem; }
  .site-nav { justify-content: center; }
  .home-hero { min-height: 0; padding: 4.5rem 0; grid-template-columns: 1fr; }
  .home-hero::before { inset: 0 -50vw 45% -50vw; }
  .hero-visual { min-height: 420px; }
  .story-columns { columns: 1; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .team-member, .team-member.image-right { grid-template-columns: minmax(220px, 38%) minmax(0, 62%); gap: 2.3rem; }
  .footer-main { grid-template-columns: 1fr; gap: 3.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner, .home-hero, .latest-news, .news-grid, .footer-main { width: min(100% - 1.5rem, 1180px); }
  .site-logo { height: 58px; max-width: 210px; }
  .site-nav a { padding: .55rem .6rem; font-size: .92rem; }
  .site-nav a::after { left: .6rem; right: .6rem; bottom: .25rem; }
  .home-hero { gap: 1rem; }
  .hero-copy h1 { font-size: 4.5rem; }
  .hero-visual { min-height: 330px; }
  .project-story { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .subpage-hero { padding-top: 4rem; padding-bottom: 3.5rem; }
  .news-grid, .post .wp-block-gallery ul, .blocks-gallery-grid { grid-template-columns: 1fr; }
  .contact-section { width: min(100% - 1.5rem, 940px); }
  .contact-grid { grid-template-columns: 1fr; }
  .team-list { width: min(100% - 1.5rem, 1100px); }
  .team-member, .team-member.image-right { display: flex; flex-direction: column; align-items: stretch; gap: 2.2rem; padding-bottom: 3.5rem; margin-bottom: 3.5rem; }
  .team-member.image-right .team-portrait, .team-member.image-right .team-bio { order: initial; }
  .team-portrait > img { max-width: 330px; }
  .team-bio { text-align: left; }
  .member-text { text-align: left; }
  .footer-bottom { align-items: center; flex-direction: column; gap: .35rem; text-align: center; }
}
