/* ============================================================
   EME Rotary Summit Bari 2027 — public site
   Brand: Rotary Royal Blue #17458F · Rotary Gold #F7A81B · Montserrat
   Principles: minimalism, institutional elegance, geometry,
   negative space, no tourist clichés, international legibility.
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-541c05b2af564eadeb698b39bbf9f4e4.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-62fc6289736dd6be39b31964a5ff85f4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink:        #0a1b36;
  --blue:       #17458f;
  --blue-deep:  #0d2a5c;
  --gold:       #f7a81b;
  --mist:       #edf0f5;
  --paper:      #ffffff;
  --muted:      #5a6478;
  --line:       rgba(23, 69, 143, .13);
  --line-light: rgba(255, 255, 255, .16);

  --measure: 1220px;
  --gutter: clamp(20px, 5vw, 48px);
  --band-y: clamp(72px, 11vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }

/* ---------- Typography ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.06; letter-spacing: -.028em; }
h1 { font-size: clamp(1.95rem, 6.4vw, 5.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.9vw, 3rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.2rem); letter-spacing: -.012em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a  { color: var(--blue); text-decoration: none; }

/* Wide-tracked inscriptional label — the brand's own device */
.label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.label--muted { color: var(--muted); }
.lede {
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}
.band--dark .lede { color: rgba(255,255,255,.72); }

/* anchored sections must clear the sticky bar */
:target { scroll-margin-top: 150px; }

/* ---------- Layout ---------- */
.shell { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band-y); }
.band--mist { background: var(--mist); }
.band--dark { background: var(--blue-deep); color: #fff; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--tight { padding-block: clamp(52px, 7vw, 88px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1rem 2rem;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px;
  background: var(--gold); color: var(--ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: #ffbe45; }
.btn--line { background: transparent; border-color: var(--line); color: var(--blue); }
.btn--line:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--onDark { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--onDark:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__in { display: flex; align-items: center; gap: 1.4rem; height: 136px; }
.masthead__logo { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.masthead__logo img { height: 100px; width: auto; }
.masthead__name {
  /* shown only where the nav is collapsed: with eight links there is no room */
  display: none; gap: .16rem; line-height: 1.05;
  font-size: .98rem; font-weight: 600; letter-spacing: .01em; color: var(--ink);
  white-space: nowrap;
}
.masthead__name em {
  font-style: normal; font-size: .67rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
/* Rotary International alongside the summit lockup, set off by a hairline */
.masthead__rotary {
  height: 50px; width: auto; flex-shrink: 0;
  padding-right: .8rem;
  border-right: 1px solid var(--line);
}
.masthead__nav { display: flex; gap: 1.3rem; margin-left: auto; list-style: none; padding: 0; }
.masthead__nav a {
  font-size: .93rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  color: var(--ink); padding-block: .4rem;
  border-bottom: 1px solid transparent;
}
.masthead__nav a:hover { color: var(--blue); }
.masthead__nav a[aria-current] { color: var(--blue); border-bottom-color: var(--gold); }
/* Wide: the wrapper dissolves and its children sit directly in the bar. */
.masthead__panel { display: contents; }
.burger { display: none; }
.locale { display: flex; gap: .55rem; font-size: .7rem; font-weight: 600; letter-spacing: .1em; }
.locale a { color: var(--muted); }
.locale a[aria-current] { color: var(--blue); }
.masthead .btn { padding: .72rem 1.4rem; font-size: .72rem; }
.burger {
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 9px; margin-right: -9px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.masthead.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.masthead.is-open .burger span:nth-child(2) { opacity: 0; }
.masthead.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero: the convergence field ---------- */
.hero {
  position: relative;
  background: var(--blue-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__field { position: absolute; inset: -6% -4%; z-index: 0; pointer-events: none; }
.hero__field svg { width: 100%; height: 100%; }
.hero__field line { stroke: var(--gold); stroke-width: .9; opacity: .44; }
.hero__field circle { fill: var(--gold); opacity: .7; }
/* clears the hub so the type reads cleanly */
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(42% 46% at 50% 44%,
              var(--blue-deep) 0%, var(--blue-deep) 26%, rgba(13,42,92,0) 76%);
}
.hero__in {
  position: relative; z-index: 2;
  padding-block: clamp(58px, 8vw, 96px) clamp(60px, 8vw, 100px);
  text-align: center;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center;
}
.hero__in > * { max-width: 100%; }
.hero__mark { width: clamp(112px, 15vw, 176px); margin-bottom: clamp(30px, 4.5vw, 52px); }
/* In the hero the summit's own name leads and the payoff sits under it. */
.hero .label {
  font-size: clamp(1rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  margin-bottom: clamp(1.1rem, 2vw, 1.7rem);
}
.hero h1 { max-width: 15ch; font-size: clamp(1.6rem, 4.2vw, 3.2rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__payoff {
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: 300; letter-spacing: .01em;
  color: rgba(255,255,255,.8);
}

/* The opening line, standing alone under the photograph */
.incipit {
  background: var(--gold);
  padding-block: clamp(34px, 4.6vw, 60px);
}
.incipit + .band { padding-top: clamp(46px, 6vw, 82px); }
.incipit__line {
  margin: 0 auto;
  max-width: 22ch;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -.025em;
  color: var(--ink);
}
.incipit__line em { font-style: normal; font-weight: 600; color: var(--blue); }

/* Date set as an inscription */
.inscription {
  margin-top: clamp(38px, 5vw, 58px);
  padding-top: 1.7rem;
  border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; justify-items: center;
}
.inscription__date {
  font-size: clamp(.95rem, 2.1vw, 1.32rem);
  font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: #fff;
}
.inscription__place {
  font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: clamp(34px, 4.5vw, 48px); }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__body p { color: var(--muted); }
/* a claim written out under a section title, with no second column */
.section__claim {
  margin: 1.4rem 0 0;
  max-width: none;
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  font-weight: 300; line-height: 1.3; letter-spacing: -.018em;
  color: var(--blue);
}
.band--dark .split__body p { color: rgba(255,255,255,.72); }
.pull {
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  font-weight: 300; line-height: 1.45; letter-spacing: -.012em;
  color: var(--ink);
}
.band--dark .pull { color: #fff; }

/* ---------- Values: hairline band ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); }
.value { padding: 2.1rem 1.6rem 0; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; padding-left: 0; }
.value svg { width: 38px; height: 38px; stroke: var(--gold); fill: none; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.2rem; }
.value h3 { margin-bottom: .45rem; color: var(--blue); }
.value p { font-size: .92rem; color: var(--muted); }

/* ---------- Figures (scale) ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.figure { border-top: 1px solid var(--line-light); padding-top: 1.5rem; }
.figure__n {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 200; line-height: 1; letter-spacing: -.035em;
  color: var(--gold);
}
.figure__k { display: block; margin-top: .7rem; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.66); }

/* ---------- Moments (two dates) ---------- */
.moments { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(38px, 5vw, 60px); }
.moment { border-top: 2px solid var(--blue); padding-top: 1.9rem; }
.moment--accent { border-top-color: var(--gold); }
.moment__d { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 700; letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.moment__m { display: block; margin-top: .5rem; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.moment h3 { margin: 1.4rem 0 .5rem; color: var(--ink); }
.moment p { color: var(--muted); font-size: .96rem; }

/* ---------- Panels (venues, cards) ---------- */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: clamp(26px, 3vw, 38px); }
/* cards of unequal text still line their call to action up along one baseline */
.panels--even .panel { display: flex; flex-direction: column; }
.panel__action { margin-top: auto; padding-top: 1.4rem; }
.band--mist .panel { background: var(--paper); }
.panel__k { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.panel h3 { margin: .85rem 0 .55rem; color: var(--blue); }
.panel p { color: var(--muted); font-size: .95rem; }
.panel__price { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 300; letter-spacing: -.03em; color: var(--ink); margin: .5rem 0 .2rem; }
.panel--accent { border-color: var(--gold); border-top-width: 2px; }

/* ---------- People (speakers) ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.people--next { margin-top: clamp(30px, 3.8vw, 48px); }
.person__photo,
.person__initials {
  width: clamp(104px, 9vw, 124px); height: clamp(104px, 9vw, 124px);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  object-fit: cover;
}
.person__initials {
  display: grid; place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 1.9rem; font-weight: 600; letter-spacing: .02em;
}
.person h3 { color: var(--blue); margin-bottom: .25rem; }
.person__role {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .6rem;
}
.person__bio { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Sponsor logos ---------- */
.tier { margin-top: clamp(30px, 4vw, 48px); }
/* On the homepage the group name is the only heading the section has. */
.tier--center { margin-top: clamp(38px, 5vw, 60px); }
.tier--center:first-child { margin-top: 0; }
.tier--center .tier__name {
  text-align: center;
  font-size: clamp(.95rem, 1.7vw, 1.25rem);
  letter-spacing: .16em;
  padding-bottom: 1rem;
  margin-bottom: 1.7rem;
}
.tier__name {
  font-size: .68rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
  padding-bottom: .8rem; margin: 0 0 1.4rem;
  border-bottom: 1px solid var(--line);
}
.logos { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 44px); align-items: center; }
.logos--center { justify-content: center; }
.logo {
  display: grid; place-items: center;
  min-height: 56px; padding: .4rem 0;
  color: var(--ink); font-weight: 600; font-size: 1rem;
}
.logo img { max-height: 56px; width: auto; object-fit: contain; }
a.logo:hover { color: var(--blue); }

/* ---------- Agenda list ---------- */
.agenda__daylabel {
  font-size: .95rem; font-weight: 700; color: var(--blue);
  letter-spacing: -.01em; margin: 0 0 .2rem;
}
.agenda__meta {
  font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); margin-bottom: .5rem;
}
.panel__meta { font-size: .78rem; letter-spacing: .04em; color: var(--muted); margin-bottom: .6rem; }
.panel__price-note { font-size: .88rem; font-weight: 600; color: var(--blue); margin-bottom: 0; }

.agenda { border-top: 1px solid var(--line); }
.agenda__row { display: grid; grid-template-columns: minmax(170px, 22%) 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); }
.agenda__when { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: .35rem; }
.agenda h3 { color: var(--blue); margin-bottom: .4rem; }
.agenda p { color: var(--muted); font-size: .95rem; }

/* ---------- Closing invitation ---------- */
.invite { text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.invite > * { max-width: 100%; }
.invite__quote {
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  font-weight: 300; line-height: 1.32; letter-spacing: -.02em;
  max-width: 24ch; color: #fff; text-wrap: balance;
}
.invite__quote strong { font-weight: 600; color: var(--gold); }

/* ---------- Page head (inner pages) ---------- */
.pagehead { background: var(--mist); border-bottom: 1px solid var(--line); padding-block: clamp(46px, 6.5vw, 84px) clamp(38px, 5vw, 62px); }
.crumb { font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }
.pagehead h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 20ch; }
.pagehead .lede { margin-top: 1.3rem; }

/* ---------- Footer ---------- */
.colophon { background: var(--ink); color: rgba(255,255,255,.62); padding-block: clamp(52px, 7vw, 82px) 2rem; }
.colophon__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(28px, 4vw, 52px); }
.colophon img { width: min(260px, 80%); height: auto; margin: -1.4rem 0 .6rem -.6rem; }
.colophon h4 { margin: 0 0 1rem; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.colophon a { display: block; padding: .28rem 0; font-size: .9rem; color: rgba(255,255,255,.62); }
.colophon a:hover { color: var(--gold); }
.colophon__note { font-size: .9rem; line-height: 1.6; }
.colophon__base {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  margin-top: clamp(34px, 5vw, 56px); padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .76rem; color: rgba(255,255,255,.45);
}


/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .8rem 1.2rem;
  font-size: .8rem; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Responsive ---------- */
/* Between the full desktop bar and the point where the nav is dropped, the
   mark, the wordmark and the links step down together instead of colliding. */
@media (max-width: 1400px) {
  .masthead__in { height: 110px; gap: 1.1rem; }
  .masthead__logo { gap: .75rem; }
  .masthead__logo img { height: 76px; }
  .masthead__rotary { height: 50px; padding-right: .85rem; }
  .masthead__nav { gap: 1rem; }
  .masthead__nav a { font-size: .86rem; }
}

@media (max-width: 1240px) {
  .masthead__name { display: grid; }
  .burger { display: inline-flex; }
  .masthead__cta { margin-left: auto; }
  .masthead__panel {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .2rem var(--gutter) 1.3rem;
    box-shadow: 0 20px 40px -30px rgba(10, 27, 54, .55);
  }
  .masthead.is-open .masthead__panel { display: block; }
  .masthead__nav { flex-direction: column; gap: 0; margin-left: 0; }
  .masthead__nav a {
    display: block; padding-block: .95rem; font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .masthead__nav a[aria-current] { border-bottom-color: var(--gold); }
  .locale { margin-top: 1.2rem; font-size: .78rem; }
  .split { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
  .value { border-top: 1px solid var(--line); }
  .value:first-child, .value:nth-child(2) { border-top: 0; }
  .figures { grid-template-columns: 1fr 1fr; gap: 26px; }
  .moments { grid-template-columns: 1fr; }
  .colophon__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) {
  .masthead__name { display: none; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .value:first-child { border-top: 0; }
  .agenda__row { grid-template-columns: 1fr; gap: .5rem; }
  .colophon__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }

  /* keep wide-tracked type inside the viewport */
  .label { font-size: .58rem; letter-spacing: .16em; }
  .hero h1, .pagehead h1 { max-width: 100%; }
  .inscription__date { font-size: 1rem; letter-spacing: .12em; }
  .inscription__place { letter-spacing: .2em; }
  .invite__quote { max-width: 100%; }

  .masthead__rotary { height: 46px; padding-right: .7rem; }
  .masthead__in { height: 94px; gap: .7rem; }
  .masthead__logo img { height: 66px; }
  .masthead__logo { gap: .6rem; }
  .masthead__name { font-size: .84rem; }
  .masthead__name em { font-size: .6rem; letter-spacing: .14em; }

  .masthead .btn { width: auto; padding: .58rem 1rem; font-size: .64rem; letter-spacing: .08em; }
}

/* A page reached from outside carries the marks but no way further in. */
.masthead--bare { position: static; }
.masthead--bare .masthead__logo { cursor: default; }
.masthead--bare .masthead__name { display: grid; }
.locale--bare { margin-left: auto; }
.colophon--bare { padding-block: clamp(28px, 3.5vw, 44px); }
.colophon--bare .colophon__base { border-top: 0; padding-top: 0; margin-top: 0; }

/* ---------- Welcome: two portraits flanking the invitation ---------- */
.welcome {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr) minmax(140px, 190px);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
  margin-top: clamp(34px, 4.5vw, 54px);
}
.welcome__host { margin: 0; text-align: center; }
.welcome__photo {
  width: clamp(110px, 12vw, 168px); height: clamp(110px, 12vw, 168px);
  margin: 0 auto .9rem;
  border-radius: 50%; object-fit: cover;
}
.welcome__initials {
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600;
}
.welcome__host figcaption { display: grid; gap: .3rem; }
.welcome__host strong { font-size: .95rem; font-weight: 700; color: var(--blue); }
.welcome__host span {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); line-height: 1.45;
}
.welcome__text p { color: var(--muted); }
.welcome__text p:last-child { margin-bottom: 0; }

/* Narrow: the two portraits sit side by side, the invitation below them. */
@media (max-width: 820px) {
  .welcome { grid-template-columns: 1fr 1fr; }
  .welcome__host { order: 1; }
  .welcome__text { order: 2; grid-column: 1 / -1; }
}

/* ---------- Public forms ---------- */
.formx { max-width: 46rem; }
.formx__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(16px, 2vw, 26px); }
.formx__field label, .formx__consent label { display: block; }
.formx label {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .5rem;
}
.formx input[type="text"], .formx input[type="email"], .formx select {
  width: 100%; padding: .85rem 1rem;
  font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .15s ease;
}
.formx input:focus, .formx select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 69, 143, .12);
}
.formx__field { margin-bottom: 1.25rem; }
.formx__help { margin: .4rem 0 0; font-size: .82rem; color: var(--muted); }

/* A field that failed validation has to be findable at a glance. */
.formx__error {
  display: flex; align-items: baseline; gap: .4rem;
  margin: .45rem 0 0; font-size: .86rem; font-weight: 500; color: #b3261e;
}
.formx__error::before { content: '!'; font-weight: 700; }
.formx__field.is-invalid label { color: #b3261e; }
.formx__field.is-invalid input,
.formx__field.is-invalid select {
  border-color: #b3261e; background: #fdf3f2;
}
.formx__field.is-invalid input:focus,
.formx__field.is-invalid select:focus {
  border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .15);
}
.formx__consent.is-invalid {
  padding: .9rem 1rem; border-left: 2px solid #b3261e; background: #fdf3f2;
}
.formx__consent.is-invalid input { accent-color: #b3261e; outline: 2px solid #b3261e; outline-offset: 2px; }

.formx__consent { margin: .6rem 0 1.8rem; }
.formx__consent label {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start;
  font-size: .92rem; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--ink); line-height: 1.5;
}
.formx__consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--blue); }

.formx__alert {
  padding: .9rem 1.1rem; margin-bottom: 1.6rem;
  border-left: 2px solid #b3261e; background: #fdf3f2;
  font-size: .92rem; color: #7a1c16;
}
.formx__datanote { margin: .2rem 0 .9rem; font-size: .88rem; color: var(--muted); max-width: 52ch; }

.steps { margin: 1.6rem 0 0; padding-left: 1.2rem; color: var(--muted); max-width: 34ch; }
.steps li { margin-bottom: .7rem; }

.prereg__code {
  display: inline-block; margin-top: 1.6rem;
  padding: 1rem 1.6rem;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: .12em;
  color: var(--blue); background: var(--mist); border-radius: 2px;
}

@media (max-width: 620px) {
  .formx__row { grid-template-columns: 1fr; }
}

/* ---------- FAQ: native disclosure, no script ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.15rem 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem); font-weight: 600;
  color: var(--ink); cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; margin-left: auto;
  font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--blue);
}
.faq__item[open] summary::after { content: '–'; }
.faq__item summary:hover { color: var(--blue); }
.faq__answer { padding: 0 0 1.4rem; max-width: 78ch; color: var(--muted); }
.faq__answer a { border-bottom: 1px solid var(--line); }
.faq__answer em { color: var(--muted); font-style: italic; }
.faq__notice {
  margin-top: 1.6rem; padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-size: .95rem; color: var(--muted); max-width: 60ch;
}

/* ---------- Legal documents ---------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  margin: clamp(34px, 4vw, 48px) 0 .8rem;
  color: var(--blue);
}
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.draft-note {
  background: rgba(247, 168, 27, .1);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  font-size: .92rem;
  color: var(--ink) !important;
}
.colophon__legal { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.colophon__legal a { display: inline; padding: 0; }

/* Ticket grid: keep a lone ticket the same width as one in a row of three */
.panels--tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel--muted { opacity: .55; }
@media (max-width: 900px) { .panels--tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .panels--tickets { grid-template-columns: 1fr; } }

/* ---------- Photographic band ---------- */
.band--photo {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.band--photo > .band__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
/* Keeps white type legible over a photograph that is bright in places */
.band--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,27,54,.55) 0%, rgba(10,27,54,.35) 45%, rgba(10,27,54,.75) 100%),
    rgba(13,42,92,.35);
}
.band--photo h1, .band--photo h2, .band--photo h3 { color: #fff; }
.band--photo .lede, .band--photo p { color: rgba(255,255,255,.85); }
.band--photo .crumb, .band--photo .crumb a { color: rgba(255,255,255,.7); }
.band--photo .invite__quote { color: #fff; }
.band__credit {
  position: absolute; right: clamp(12px, 3vw, 24px); bottom: 10px; z-index: 1;
  margin: 0;
  font-size: .62rem; letter-spacing: .06em;
  color: rgba(255,255,255,.55) !important;
}
.band__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* A photographic page header needs more room than a flat one */
.pagehead.band--photo { padding-block: clamp(76px, 11vw, 150px) clamp(64px, 9vw, 120px); border-bottom: 0; }

/* ---------- Hero over the photograph ---------- */
.hero--photo .hero__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
/* The scrim carries all the contrast: the sky is bright and the type is white */
.hero--photo .hero__veil {
  background:
    radial-gradient(58% 58% at 50% 46%, rgba(10,27,54,.72) 0%, rgba(10,27,54,.42) 55%, rgba(10,27,54,.20) 100%),
    linear-gradient(180deg, rgba(10,27,54,.78) 0%, rgba(10,27,54,.45) 40%, rgba(13,42,92,.82) 100%);
}
/* Lines read as an overlay on the city, not as clutter */
.hero--photo .hero__field line { opacity: .3; }
.hero--photo .hero__field circle { opacity: .5; }
.hero--photo .hero__payoff { color: rgba(255,255,255,.92); }
.hero--photo .inscription__place { color: rgba(255,255,255,.75); }
.hero--photo .band__credit { bottom: 8px; }
/* On a phone the frame is tall and the photo is wide: hold the waterfront */
@media (max-width: 620px) {
  .hero--photo .hero__photo { object-position: 62% 60%; }
}
/* The photographer's own watermark sits bottom-right inside the picture, and
   is visible in the hero crop — keep our caption on the other side so the two
   never collide, and so a credit survives when the crop hides the watermark. */
.hero--photo .band__credit { left: clamp(12px, 3vw, 24px); right: auto; }
