/* ============================================================
   Global Strategic Foresight
   Dark editorial styles
   Navigation: centered at the top
   Cards: a lead story overlapping the image, then a staggered pair
   ============================================================ */

:root {
  --bg: #0d0d0d;
  --bg-raised: #141414;
  --text: #f5f5f0;
  --muted: #a8a8a0;
  --gold: #c9a961;
  --gold-deep: #b8963e;
  --line: rgba(245, 245, 240, 0.1);
  --serif: "Cormorant Garamond", "EB Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1120px, calc(100% - 10vw));
  --narrow: min(740px, calc(100% - 10vw));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(201, 169, 97, 0.32);
  color: var(--text);
}

img {
  max-width: 100%;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: var(--bg);
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- Centered masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 245, 240, 0.08);
  transition: border-color 0.4s ease, background 0.4s ease;
}

body.is-scrolled .masthead {
  background: rgba(13, 13, 13, 0.96);
  border-bottom-color: rgba(201, 169, 97, 0.45);
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4.75rem);
  min-height: 4.6rem;
  padding: 0 1.25rem;
}

.nav-list > li > a,
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.35s ease, transform 0.35s var(--ease);
}

.nav-list > li > a:hover,
.nav-parent:hover,
.nav-item.is-open .nav-parent,
.nav-list > li > a.is-active,
.nav-parent.is-active {
  color: var(--gold);
}

.nav-list > li > a:hover,
.nav-parent:hover {
  transform: translateY(-2px);
}

.nav-list > li > a.is-active {
  box-shadow: inset 0 -1px 0 var(--gold);
}

.nav-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.3s ease;
}

.nav-item.is-open .nav-caret,
.nav-item:hover .nav-caret {
  transform: translateY(2px) rotate(225deg);
}

.nav-item {
  position: relative;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  z-index: 50;
  min-width: 15.5rem;
  padding: 0.45rem 0;
  background: var(--bg-raised);
  border: 1px solid rgba(201, 169, 97, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
}

/* Fill the gap between the button and the menu so the pointer does not close it. */
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.85rem;
  height: 0.85rem;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub,
.nav-item.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-sub a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}

.nav-sub a:hover,
.nav-sub a.is-active {
  color: var(--gold);
  padding-left: 1.65rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 4.6rem);
  min-height: calc(100svh - 4.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 6vw 16vh;
  background: #0d0d0d;
}

/* Dark stand-in when the hero image is missing, so the first screen does not break. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, #1a1a1a 0%, #0d0d0d 72%);
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 128%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
}

/* The bottom 28% fades into the next section's #141414. It covers the image, not the type. */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(20, 20, 20, 0.55) 52%,
    #141414 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(60rem, 100%);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.8rem, 9vw, 8rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  color: #f5f5f0;
}

.hero-title span {
  display: block;
}

.hero-italic {
  font-style: italic;
  font-weight: 400;
}

.hero-tag {
  margin-top: 1.45rem;
  color: #f5f5f0;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-rule {
  width: 2.75rem;
  height: 1px;
  margin: 1.7rem auto 0;
  background: var(--gold);
}

.hero-lede {
  max-width: 34rem;
  margin: 1.7rem auto 0;
  color: rgba(245, 245, 240, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.wrap-narrow {
  width: var(--narrow);
  margin: 0 auto;
}

.kicker {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title,
.page-head h1,
.invite h2,
.article h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.94;
}

.section-title {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.page-head h1,
.article h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
}

/* Statement band: image on the right, with long fades into the dark ground. Type sits on the left. */
.imperative {
  position: relative;
  background: #141414;
  overflow: hidden;
}

.imperative-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 8rem 0;
}

.imperative-copy {
  max-width: 32rem;
}

.imperative h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 4.4vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-align: left;
  color: #f5f5f0;
}

.imperative-rule {
  width: 2.75rem;
  height: 1px;
  margin: 1.45rem 0 0;
  background: var(--gold);
}

.imperative p {
  margin-top: 1.7rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #f5f5f0;
  text-align: left;
}

.imperative-figure {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 76%;
  z-index: 0;
}

.imperative-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(165deg, #1c1c1c 0%, #101010 100%);
}

.imperative-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #141414 0%,
    rgba(20, 20, 20, 0.94) 14%,
    rgba(20, 20, 20, 0.68) 30%,
    rgba(20, 20, 20, 0.3) 46%,
    rgba(20, 20, 20, 0.05) 58%,
    rgba(20, 20, 20, 0.22) 74%,
    rgba(20, 20, 20, 0.58) 88%,
    #141414 100%
  );
}

.imperative-photo {
  display: block;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 68% 20%;
}

.home-flash {
  padding: 1rem 0 6.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.link-gold {
  display: inline-block;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.22rem;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.link-gold:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Story cards: lead overlap, then a stagger ---------- */

.story-stagger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
  row-gap: 3rem;
  align-items: start;
  margin-top: 4.75rem;
}

.story-stagger > .story:nth-child(even) {
  margin-top: 5.25rem;
}

.story-link {
  display: block;
  color: inherit;
}

.story-media {
  overflow: hidden;
  background: #2a2a2a;
  aspect-ratio: 5 / 4;
}

.story--lead .story-media {
  aspect-ratio: 16 / 9;
}

.story-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-fallback {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  background: #2a2a2a;
}

.story-panel {
  position: relative;
  z-index: 1;
  background: var(--bg-raised);
  border-top: 1px solid var(--gold);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.story--lead .story-panel {
  width: min(40rem, 82%);
  margin-top: -7.5rem;
  margin-left: auto;
  padding: 1.8rem 2rem 1.9rem;
}

.story--compact .story-panel {
  margin-top: -3.6rem;
  margin-left: 1.15rem;
  margin-right: 1.15rem;
  padding: 1.2rem 1.25rem 1.35rem;
}

.story:hover .story-img {
  transform: scale(1.06);
}

.story:hover .story-panel {
  transform: translateY(-10px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(201, 169, 97, 0.32);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
  line-height: 1;
}

.story-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}

.story--lead .story-title {
  margin-top: 0.85rem;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
}

.story--compact .story-title {
  margin-top: 0.7rem;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
}

.story-subtitle {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-note {
  color: var(--muted);
  padding: 2rem 0 3rem;
}

/* Home convenings band: image on the left, type on the right. The photo sits lower and fades toward the text. */
.invite {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
}

.invite-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 7.5rem 0 8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
}

.invite-figure {
  margin-top: 4.75rem;
  margin-right: -7.5rem;
}

.invite-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(200deg, #2a2a2a 0%, #121212 100%);
}

.invite-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #1a1a1a 0%,
    rgba(26, 26, 26, 0.55) 14%,
    rgba(26, 26, 26, 0.16) 32%,
    rgba(26, 26, 26, 0) 48%,
    rgba(26, 26, 26, 0.28) 64%,
    rgba(26, 26, 26, 0.72) 80%,
    #1a1a1a 100%
  );
}

.invite-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.invite-copy-block {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(32rem, 100%);
  padding-left: 1.5rem;
}

.invite h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  color: #f5f5f0;
}

.invite .invite-copy {
  max-width: 34rem;
  margin-top: 1.35rem;
  color: #c9c9c0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.invite .link-gold {
  margin-top: 2.15rem;
}

/* ---------- Interior pages ---------- */

.page {
  padding-bottom: 5.5rem;
}

.page-head {
  padding: 5.75rem 0 2.75rem;
}

.deck {
  max-width: 38rem;
  margin-top: 1.45rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.conv-hero {
  width: min(40rem, calc(100% - 10vw));
  margin: 0 auto;
  padding: 7.25rem 0 0.5rem;
  text-align: center;
}

.conv-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  letter-spacing: -0.03em;
  line-height: 0.94;
  color: #f5f5f0;
}

.conv-rule {
  width: 2.75rem;
  height: 1px;
  margin: 1.55rem auto 0;
  background: var(--gold);
}

.conv-hero .deck {
  margin-right: auto;
  margin-left: auto;
}

.conv-band {
  position: relative;
  overflow: hidden;
}

.conv-band--text-right {
  background: #141414;
}

.conv-split {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 8vw));
  min-height: 40rem;
  margin: 0 auto;
  padding: 6.5rem 0;
  display: grid;
  grid-template-columns: minmax(16rem, 34rem) 1fr;
  align-items: center;
}

.conv-band--text-right .conv-split {
  grid-template-columns: 1fr minmax(16rem, 34rem);
}

.conv-band--text-right .conv-copy {
  grid-column: 2;
}

.conv-copy h2 {
  max-width: 10em;
  margin-bottom: 1.6rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 3.6vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #f5f5f0;
}

.conv-copy p,
.conv-close p {
  max-width: 36em;
  color: #c9c9c0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.conv-copy p + p {
  margin-top: 1.45rem;
}

.conv-mark {
  font-style: normal;
  font-weight: 500;
  color: #c9a961;
}

.conv-figure {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 74%;
  z-index: 0;
}

.conv-band--text-left .conv-figure {
  right: 0;
}

.conv-band--text-right .conv-figure {
  left: 0;
}

.conv-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #1a1a1a;
}

.conv-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.conv-band--text-left .conv-frame::after {
  background: linear-gradient(
    to right,
    #0d0d0d 0%,
    #0d0d0d 24%,
    rgba(13, 13, 13, 0.72) 42%,
    rgba(13, 13, 13, 0.28) 58%,
    rgba(13, 13, 13, 0) 76%
  );
}

.conv-band--text-right .conv-frame::after {
  background: linear-gradient(
    to left,
    #141414 0%,
    #141414 24%,
    rgba(20, 20, 20, 0.72) 42%,
    rgba(20, 20, 20, 0.28) 58%,
    rgba(20, 20, 20, 0) 76%
  );
}

.conv-quote {
  width: min(38rem, calc(100% - 12vw));
  margin: 0 auto;
  padding: 5.75rem 0 5.25rem;
  text-align: center;
}

.conv-quote p {
  max-width: none;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.1vw, 2.45rem);
  line-height: 1.35;
  color: #c9a961;
}

.conv-quote footer {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a8a8a0;
}

.conv-photo {
  position: absolute;
  top: -9%;
  left: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
}

.conv-photo--dome {
  object-position: center 28%;
}

.conv-photo--palace {
  object-position: center 40%;
}

.conv-close {
  width: min(36rem, calc(100% - 10vw));
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.conv-close p {
  margin-right: auto;
  margin-left: auto;
}

.conv-mail {
  margin-top: 1.25rem;
}

.conv-mail a {
  color: #f5f5f0;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12rem;
}

.conv-mail a:hover {
  color: var(--gold);
}

.conv-close .link-gold {
  margin-top: 1.9rem;
}

/* ---------- Article ---------- */

.article {
  padding: 4.2rem 0 6rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.back-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.article-date {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-deck {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.35;
  color: var(--muted);
}

.prose {
  margin-top: 2.8rem;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text);
}

.prose p {
  margin: 0 0 1.25rem;
}

.prose h2,
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 2.3rem 0 0.85rem;
}

.prose h2 {
  font-size: 2.05rem;
}

.prose h3 {
  font-size: 1.6rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 169, 97, 0.45);
}

.prose blockquote {
  margin: 1.6rem 0;
  padding-left: 1.1rem;
  border-left: 1px solid var(--gold);
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
}

/* Body images keep their ratio and are not cropped. A missing or failed image is a gray block, not a file. */
.prose img,
.prose figure,
.prose .wp-block-image,
.prose .wp-caption {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2.5rem auto;
}

.prose img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.prose figure img,
.prose .wp-caption img,
.prose .wp-block-image img {
  margin: 0 auto;
}

.prose-fallback {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2.5rem auto;
  background: #2a2a2a;
}

.prose figcaption,
.prose .wp-caption-text,
.prose .wp-element-caption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Contact ---------- */

.contact-intro {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.email-list {
  margin: 2.3rem 0 2.8rem;
}

.email-row {
  margin: 0.35rem 0;
  color: var(--muted);
}

.email-row a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.email-row a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  max-width: 34rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(168, 168, 160, 0.4);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}

.form-error {
  color: var(--gold);
  font-size: 0.88rem;
}

.button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.95rem 1.6rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 12px 32px rgba(201, 169, 97, 0.18);
}

.fine-print {
  max-width: 34rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
}

.footer-rule {
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 1.8rem;
  background: var(--gold);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.95;
}

.footer-copy a:hover {
  color: var(--gold);
}

.noscript {
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- Loading and route changes ---------- */

.loading {
  min-height: 10rem;
  display: grid;
  place-items: center;
}

.view > .loading {
  min-height: 70vh;
}

.loading span {
  display: block;
  width: 4.5rem;
  height: 1px;
  background: var(--gold);
  transform-origin: center;
  animation: loadbar 1.15s ease infinite;
}

.view-enter {
  animation: viewIn 0.55s ease both;
}

.rise {
  animation: riseIn 0.95s var(--ease) both;
}

.rise-d1 { animation-delay: 0.1s; }
.rise-d2 { animation-delay: 0.22s; }
.rise-d3 { animation-delay: 0.36s; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.imperative-copy.reveal {
  opacity: 0;
  transform: translate3d(-28px, 34px, 0);
  transition:
    opacity 1.05s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.imperative-figure.reveal {
  opacity: 0;
  transform: translate3d(34px, 40px, 0) scale(0.95);
  transition:
    opacity 1.15s cubic-bezier(0.25, 0.1, 0.25, 1) 0.16s,
    transform 1.15s cubic-bezier(0.25, 0.1, 0.25, 1) 0.16s;
}

.imperative-copy.reveal.is-visible,
.imperative-figure.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.invite-copy-block.reveal {
  opacity: 0;
  transform: translate3d(28px, 34px, 0);
  transition:
    opacity 1.05s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 1.05s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.invite-figure.reveal {
  opacity: 0;
  transform: translate3d(-34px, 40px, 0) scale(0.96);
  transition:
    opacity 1.15s cubic-bezier(0.25, 0.1, 0.25, 1) 0.16s,
    transform 1.15s cubic-bezier(0.25, 0.1, 0.25, 1) 0.16s;
}

.invite-copy-block.reveal.is-visible,
.invite-figure.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.conv-copy.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}

.conv-band--text-left .conv-copy.reveal {
  transform: translate3d(-22px, 28px, 0);
}

.conv-band--text-right .conv-copy.reveal {
  transform: translate3d(22px, 28px, 0);
}

.conv-figure.reveal {
  opacity: 0;
  transform: translate3d(26px, 32px, 0) scale(0.97);
  transition:
    opacity 1.12s var(--ease) 0.16s,
    transform 1.12s var(--ease) 0.16s;
}

.conv-band--text-right .conv-figure.reveal {
  transform: translate3d(-26px, 32px, 0) scale(0.97);
}

.conv-copy.reveal.is-visible,
.conv-figure.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes viewIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loadbar {
  0% { transform: scaleX(0.25); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.25); opacity: 0.35; }
}

@media (max-width: 860px) {
  :root {
    --wrap: min(1120px, calc(100% - 2.5rem));
    --narrow: min(740px, calc(100% - 2.5rem));
  }

  .hero {
    min-height: 88vh;
    min-height: 88svh;
    padding: 5.5rem 1.25rem 14vh;
  }

  .imperative-inner {
    width: min(1120px, calc(100% - 2.5rem));
    padding: 4.75rem 0 0;
  }

  .imperative-copy {
    max-width: none;
  }

  .imperative {
    padding-bottom: 2.5rem;
  }

  .imperative-figure {
    position: relative;
    width: 100%;
    height: 28rem;
    margin-top: 2.25rem;
  }

  .imperative-photo {
    object-position: center 58%;
  }

  .imperative-frame::after {
    background: linear-gradient(
      to bottom,
      rgba(20, 20, 20, 0.72) 0%,
      rgba(20, 20, 20, 0.2) 16%,
      rgba(20, 20, 20, 0) 32%,
      rgba(20, 20, 20, 0) 50%,
      rgba(20, 20, 20, 0.35) 72%,
      rgba(20, 20, 20, 0.72) 88%,
      #141414 100%
    );
  }

  .hero-tag {
    letter-spacing: 0.18em;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-stagger {
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
  }

  .story-stagger > .story:nth-child(even) {
    margin-top: 0;
  }

  .story--lead .story-panel {
    width: auto;
    margin-top: -2.75rem;
  }

  .nav-list {
    gap: 1.15rem;
  }

  .nav-list > li > a,
  .nav-parent {
    letter-spacing: 0.16em;
  }

  .nav-sub {
    left: 50%;
    min-width: 13.5rem;
  }

  .conv-hero,
  .conv-close {
    width: min(40rem, calc(100% - 2.5rem));
  }

  .conv-band {
    display: flex;
    flex-direction: column;
  }

  .conv-split,
  .conv-band--text-right .conv-split {
    order: 1;
    width: min(1120px, calc(100% - 2.5rem));
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 3.25rem 0 0;
  }

  .conv-band--text-right .conv-copy {
    grid-column: auto;
  }

  .conv-band--text-left .conv-figure,
  .conv-band--text-right .conv-figure {
    order: 2;
    position: relative;
    width: 100%;
    height: 22rem;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 2.25rem;
  }

  .conv-quote {
    width: min(38rem, calc(100% - 2.5rem));
    padding: 4rem 0 3.5rem;
  }

  .conv-band--text-left .conv-frame::after {
    background: linear-gradient(
      to bottom,
      #0d0d0d 0%,
      rgba(13, 13, 13, 0.62) 22%,
      rgba(13, 13, 13, 0) 52%
    );
  }

  .conv-band--text-right .conv-frame::after {
    background: linear-gradient(
      to bottom,
      #141414 0%,
      rgba(20, 20, 20, 0.62) 22%,
      rgba(20, 20, 20, 0) 52%
    );
  }

  .conv-copy.reveal,
  .conv-band--text-left .conv-copy.reveal,
  .conv-band--text-right .conv-copy.reveal,
  .conv-figure.reveal,
  .conv-band--text-right .conv-figure.reveal {
    transform: translate3d(0, 24px, 0);
  }

  .conv-copy.reveal.is-visible,
  .conv-figure.reveal.is-visible {
    transform: none;
  }

  .invite-inner {
    width: min(1180px, calc(100% - 2.5rem));
    grid-template-columns: 1fr;
    padding: 4.5rem 0 4.75rem;
  }

  .invite-copy-block {
    order: 1;
    width: auto;
    padding-left: 0;
  }

  .invite-figure {
    order: 2;
    margin: 2.4rem 0 0;
  }

  .invite-frame::after {
    background: linear-gradient(
      to bottom,
      #1a1a1a 0%,
      rgba(26, 26, 26, 0.62) 24%,
      rgba(26, 26, 26, 0) 56%
    );
  }

  .invite-copy-block.reveal,
  .invite-figure.reveal {
    transform: translate3d(0, 24px, 0);
  }

  .invite-copy-block.reveal.is-visible,
  .invite-figure.reveal.is-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .rise,
  .view-enter,
  .loading span,
  .imperative-copy.reveal,
  .imperative-figure.reveal,
  .conv-copy.reveal,
  .conv-figure.reveal,
  .conv-band--text-left .conv-copy.reveal,
  .conv-band--text-right .conv-copy.reveal,
  .conv-band--text-right .conv-figure.reveal,
  .invite-copy-block.reveal,
  .invite-figure.reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .story-img,
  .story-panel,
  .button,
  .link-gold,
  .nav-list > li > a,
  .nav-parent,
  .hero-photo {
    transition: none;
    transform: none;
  }
}
