:root {
  --bg: #0b1323;
  --text: #f8faff;
  --muted: #d3dceb;
  --light-muted: #bac7dc;
  --line: #495873;
  --card: #15223a;
  --dark: #080f1d;
  --accent: #d3dceb;
  --max: 1380px;
  --serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Courier New', monospace;
  --panel: #1b2943;
}

body { background: var(--bg); }
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.brand { font-weight: 800; letter-spacing: -0.04em; }
.nav-links, .footer-links, .image-note, .eyebrow, .section-label, .number,
.writing-type, .pillar-card a, .writing-card a { font-family: var(--mono); }
.nav-links a, .footer-links a { color: var(--text); }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.055em; }
h1 { font-size: clamp(3.4rem, 7.8vw, 8.5rem); line-height: 0.92; }
h2 { font-size: clamp(2.35rem, 4.9vw, 5.4rem); line-height: 0.98; color: var(--light-muted); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2.25rem); line-height: 1; }

.home .hero { background: var(--dark); color: var(--text); padding-bottom: clamp(42px, 7vw, 102px); }
.home .hero-inner {
  width: 100%;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
}
.home .hero .lead { color: var(--muted); max-width: 38rem; }
.home .hero .eyebrow { color: var(--light-muted); }
.hero-copy { min-width: 0; container-type: inline-size; }
.home .hero-title {
  display: grid;
  gap: 0.14em;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: min(14cqi, 7.1rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}
.hero-title-line {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
}
.hero-title-label {
  font-size: 0.33em;
  letter-spacing: -0.025em;
}
.hero-title-word { color: var(--light-muted); }
.home .portrait-wrap { max-width: 420px; border-radius: 0; }
.opening-intro { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .opening-intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--dark);
    color: var(--text);
    pointer-events: none;
    animation: opening-release 400ms ease 2550ms both;
  }

  .opening-wordmark {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.26em;
    width: 100%;
    padding: 0 5vw;
    font: 800 clamp(1.65rem, 9vw, 10rem) / 1 var(--serif);
    letter-spacing: -0.075em;
    text-transform: uppercase;
  }

  .opening-wordmark span {
    --entry-offset: -65vw;
    animation: opening-word-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) 100ms backwards;
  }

  .opening-wordmark span + span {
    --entry-offset: 65vw;
    animation-delay: 430ms;
    color: var(--light-muted);
  }

  body:focus-within .opening-intro { display: none; }
}

@keyframes opening-word-enter {
  from { transform: translateX(var(--entry-offset)); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes opening-release {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}

.image-note { background: var(--panel); color: var(--text); }
.home .section { padding-block: clamp(36px, 6vw, 80px); }

.home .pillar-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.home .pillar-card {
  grid-column: span 5;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 3.3vw, 46px);
  backdrop-filter: none;
}
.home .pillar-card:nth-child(3n + 1) { grid-column: span 7; }
.home .pillar-card:nth-child(odd) { border-right: 1px solid var(--line); }
.home .pillar-card:nth-child(n + 3) { border-bottom: 0; }
.home .pillar-card .section-image { aspect-ratio: 2 / 1; margin-bottom: 24px; }
.art-in-the-park-image img { object-position: center top; }
.home .pillar-card .placeholder { background: var(--panel); }
.home .pillar-card .placeholder img { visibility: hidden; }
.placeholder figcaption { font-family: var(--mono); }
.home .pillar-card h3 { max-width: 18ch; }
.home .pillar-card p:not(.number) { max-width: 43ch; }
.home .pillar-card .number { color: var(--accent); }
.home .intro-grid { border-top: 1px solid var(--line); }
.home .contact-section { background: var(--panel); max-width: none; margin: 0; }
.contact-button { border-radius: 0; font-family: var(--mono); color: var(--dark); }
.site-footer { background: var(--bg); }
.contact-button:hover { color: var(--text); }
.section-image { background: var(--dark); }
.views-stack {
  position: absolute;
  inset-block: 7%;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 2181 / 1788;
}
.views-leaf {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 62.5%;
  overflow: hidden;
  box-shadow: -4px 0 9px rgb(0 0 0 / 35%);
}
.views-leaf:nth-child(2) { left: 12.5%; }
.views-leaf:nth-child(3) { left: 25%; }
.views-leaf:nth-child(4) { left: 37.5%; }
.views-replay {
  align-self: start;
  margin-bottom: 16px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--light-muted);
  font: 0.8rem var(--mono);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.section-image .views-leaf img,
.home .pillar-card .views-cover .views-leaf img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  transform: none;
}
.section-image .views-leaf-2025 img,
.home .pillar-card .views-cover .views-leaf-2025 img {
  inset: -1.63% auto auto -0.85%;
  width: 101.69%;
  height: 103.25%;
}
.section-image .views-leaf-current img,
.home .pillar-card .views-cover .views-leaf-current img {
  inset: -7.27% auto auto -50.18%;
  width: 200.44%;
  height: 114.54%;
}

@media (prefers-reduced-motion: no-preference) {
  .views-stack-enter .views-leaf {
    animation: views-slide-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .views-stack-enter .views-leaf:nth-child(2) { animation-delay: 450ms; }
  .views-stack-enter .views-leaf:nth-child(3) { animation-delay: 900ms; }
  .views-stack-enter .views-leaf:nth-child(4) { animation-delay: 1350ms; }
}
@keyframes views-slide-in {
  from { transform: translateX(250%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.section-image img { filter: none; }
.section-image:not(.placeholder) figcaption { color: #fff; background: var(--dark); padding: 5px 8px; text-shadow: none; }
.market-card { background: var(--card); }
.writing-type, .writing-card p:not(.writing-type), .dark-inner p { color: var(--muted); }
.dark-band { color: var(--text); border-block: 1px solid var(--line); }
.pillar-card a, .writing-card a { border-bottom-color: var(--line); }


@media (max-width: 700px) {
  h1 { font-size: clamp(2.65rem, 11vw, 4.6rem); }
  .home .hero-inner { grid-template-columns: 1fr; }
  .home .portrait-wrap { max-width: 300px; }
  .home .pillar-grid { grid-template-columns: 1fr; }
  .home .pillar-card:nth-child(n) { grid-column: auto; border: 0; }
  .home .pillar-card + .pillar-card:nth-child(n) { border-top: 1px solid var(--line); }
  .nav { padding-inline: 20px; }
}
