@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap");

:root {
  --navy: #0b1220;
  --gold: #c4a46a;
  --champagne: #e8dcc8;
  --silver: #c9d0d8;
  --off: #f4f1ea;
  --ink: #1c2230;
  --muted: #5c6473;
  --line: rgba(196, 164, 106, 0.35);
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--off);
  padding: 8px 12px;
  z-index: 20;
}

/* —— chrome —— */
.mast {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 7vw;
}
.mast-light {
  position: relative;
  background: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--champagne);
  flex-shrink: 0;
}
.brand span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

#nav-toggle { display: none; }
.menu-btn {
  display: none;
  color: var(--champagne);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
}
.mast nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
}
.mast nav a {
  color: rgba(232, 220, 200, 0.78);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}
.mast nav a:hover,
.mast nav a[aria-current="page"] {
  color: var(--champagne);
}

.site-foot {
  background: var(--navy);
  color: rgba(232, 220, 200, 0.7);
  padding: 36px 7vw 28px;
}
.site-foot .brand { margin-bottom: 14px; }
.foot-line {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--silver);
  max-width: 36rem;
}
.foot-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-links a {
  color: rgba(232, 220, 200, 0.65);
  text-decoration: none;
}
.foot-links a:hover { color: var(--champagne); }

/* —— home hero —— */
.hero {
  min-height: 100svh;
  background:
    url("assets/images/cover-constellation.jpg") center 42% / cover no-repeat;
}
.hero-copy {
  background: var(--navy);
  color: var(--off);
  padding: 64px 7vw 72px;
}
.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 16ch;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--off);
}
.hero-copy .deck {
  margin: 0 0 22px;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--silver);
}
.quiet-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.quiet-link:hover { color: var(--champagne); }

@media (max-width: 720px) {
  .hero {
    min-height: 78svh;
    background-position: center 38%;
  }
}

/* —— home cards —— */
.home-cards {
  background: var(--off);
  padding: 72px 7vw 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
}
.home-cards article {
  padding-top: 18px;
  border-top: 1px solid rgba(196, 164, 106, 0.55);
}
.home-cards h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.home-cards p {
  color: var(--muted);
  font-size: 16px;
}

.home-close {
  background: var(--navy);
  color: var(--silver);
  padding: 48px 7vw;
  font-size: 1.05rem;
  font-weight: 300;
  margin: 0;
}

/* —— interior —— */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 7vw 48px;
  color: var(--off);
  background:
    linear-gradient(180deg, rgba(11,18,32,0.35) 0%, rgba(11,18,32,0.82) 100%),
    url("assets/images/section-constellation.jpg") center / cover no-repeat;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 18ch;
  line-height: 1.2;
}

.reading {
  background: var(--off);
  color: var(--ink);
  padding: 56px 7vw 80px;
}
.reading-inner {
  max-width: 42rem;
}
.reading h2 {
  margin: 2.2em 0 0.55em;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
}
.reading h2:first-child { margin-top: 0; }
.reading .lede {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1.6em;
}
.reading ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.reading ol > li {
  counter-increment: step;
  padding: 22px 0 22px 3.2rem;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  position: relative;
}
.reading ol > li:first-child { border-top: 0; }
.reading ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--gold);
  font-weight: 500;
  font-size: 1.05rem;
}
.reading ol h2 {
  margin: 0 0 0.4em;
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 56rem;
}
.partner-card {
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  padding: 32px 28px 28px;
}
.partner-card img {
  height: 48px;
  width: auto;
  max-width: 280px;
  margin-bottom: 22px;
  object-fit: contain;
  object-position: left center;
}
.partner-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.mail {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.mail:hover { color: #000; }

@media (max-width: 900px) {
  .home-cards,
  .split,
  .partner-grid { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .mast nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 8px 7vw 20px;
    gap: 12px;
  }
  #nav-toggle:checked ~ nav { display: flex; }
}
/* extra: exhibit, form, hero-in-place, footer legal, footnote */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 7vw 8vh;
  color: var(--off);
  background:
    linear-gradient(180deg, rgba(11,18,32,0.05) 0%, rgba(11,18,32,0.12) 48%, rgba(11,18,32,0.88) 100%),
    url("assets/images/cover-constellation.jpg") center 38% / cover no-repeat;
}
.hero .hero-text h1 {
  margin: 0 0 14px;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--off);
}
.hero .deck {
  margin: 0 0 20px;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  font-weight: 300;
  color: var(--silver);
}
@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    background-image:
      linear-gradient(180deg, rgba(11,18,32,0.15) 0%, rgba(11,18,32,0.2) 40%, rgba(11,18,32,0.9) 100%),
      url("assets/images/portrait-wordmark.jpg");
    background-position: center 18%;
    background-size: cover;
  }
}

.exhibit {
  margin: 2.4em 0 0;
  padding: 28px 28px 24px;
  background: #fff;
  border-left: 3px solid var(--gold);
}
.exhibit h2 { margin-top: 0; }
.exhibit dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  margin: 1.1em 0 0;
}
.exhibit dt { color: var(--muted); font-size: 15px; }
.exhibit dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.exhibit .note { margin-top: 1.1em; font-size: 14px; color: var(--muted); }

.quiet-form {
  margin-top: 2em;
  max-width: 28rem;
  display: grid;
  gap: 14px;
}
.quiet-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.quiet-form input,
.quiet-form textarea {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(11,18,32,0.16);
  padding: 10px 12px;
}
.quiet-form textarea { min-height: 110px; resize: vertical; }
.quiet-form button {
  justify-self: start;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gold);
  padding: 8px 0;
  cursor: pointer;
}
.quiet-form button:hover { color: #000; }

.foot-legal {
  margin: 10px 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(232, 220, 200, 0.62);
}
.foot-legal a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(196,164,106,0.4); }

.partner-card.primary { }
.footnote {
  margin-top: 2em;
  font-size: 14px;
  color: var(--muted);
  max-width: 42rem;
}

.tel { color: inherit; text-decoration: none; }
