@font-face {
  font-family: Nunito;
  src: url("./assets/nunito.ttf") format("truetype");
  font-weight: 400 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1f1f1f;
  --paper: #fffbf5;
  --cream: #fff3e0;
  --orange: #f16029;
  --orange-foreground: #fff;
  --burnt: #a63208;
  --muted: #625950;
  --line: #e5d9ca;
  --gutter: clamp(24px, 5.55vw, 88px);
  --header: 76px;
  --flow: clamp(44px, 5vw, 72px);
  --detail-size: clamp(18px, 1.45vw, 20px);
  font-family: Nunito, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
h1, h2, h3, .hero-subtitle, .fact strong { font-weight: 800; }
body { min-width: 300px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--burnt); outline-offset: 5px; }
::selection { background: #ffd4bb; color: var(--ink); }
.symbols { position: absolute; width: 0; height: 0; pointer-events: none; }
svg:not(.symbols) { display: block; flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: calc(100% - 2 * var(--gutter)); max-width: 1360px; margin-inline: auto; }
.section { padding-block: var(--flow); }
.section-intro { margin-bottom: clamp(22px, 3vw, 40px); }
.section-intro h2 { font-size: clamp(46px, 5vw, 76px); letter-spacing: -.065em; line-height: 1.04; text-wrap: balance; }
.section-lead { max-width: 32ch; margin-top: 14px; color: var(--muted); font-size: var(--detail-size); line-height: 1.45; }
.eyebrow { margin-bottom: 14px; color: var(--burnt); font-size: 15px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 10px 18px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 4; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--header); }
.event-logo { display: block; width: clamp(132px, 12.5vw, 180px); aspect-ratio: 4.34; border-radius: 999px; overflow: hidden; justify-self: start; }
.event-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center 49.6%; }
.header-cta { justify-self: end; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); font-size: 15px; font-weight: 800; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .18s; }
.site-nav a:hover, .text-link:hover { color: var(--burnt); }
.menu-toggle, .icon-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 55px; padding: 12px 20px; border: 1px solid transparent; border-radius: 11px; font-size: 16px; font-weight: 950; line-height: 1.2; transition: color .18s, background-color .18s, border-color .18s; }
.button svg, .text-link svg { width: 19px; height: 19px; transition: transform .18s; }
.button:hover svg, .text-link:hover svg { transform: translate(2px, -2px); }
.button-primary { background: var(--orange); color: var(--orange-foreground); font-size: 19px; }
.button-outline { border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.button-small { min-height: 43px; padding: 8px 13px; font-size: 15px; }
.button-small svg { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 16px; font-weight: 900; line-height: 1.22; transition: color .18s; }

.hero { padding-block: clamp(22px, 2.45vw, 40px); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
.hero-copy { padding-block: 24px; animation: arrive .45s ease-out both; }
.hero-organizer { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(14px, 2.1vw, 31px); color: var(--muted); font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; }
.hero-organizer img { width: clamp(104px, 8.8vw, 128px); height: auto; }
.hero h1 { font-size: clamp(54px, 7.15vw, 110px); letter-spacing: -.055em; line-height: .88; white-space: nowrap; }
.hero-title-accent { color: var(--orange); }
.hero-subtitle { margin-top: 21px; font-size: clamp(24px, 2.65vw, 40px); letter-spacing: -.04em; line-height: 1.13; }
.hero-lead { max-width: 31ch; margin-top: 15px; color: var(--muted); font-size: clamp(17px, 1.43vw, 21px); line-height: 1.46; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; margin-top: clamp(24px, 3vw, 39px); }
.hero-actions .text-link:hover svg { transform: translateY(3px); }
.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: clamp(18px, 2vw, 30px); background: var(--orange); animation: arrive .55s .08s ease-out both; }
.art-orbit { width: 77%; aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid #fff3e0a6; border-radius: 50%; }
.art-orbit::before, .art-orbit::after { content: ""; position: absolute; inset: -5%; border: 1px solid #fff3e04f; border-radius: 50%; pointer-events: none; }
.art-orbit::after { inset: -10%; border-color: #fff3e032; }
.art-city { display: grid; width: 95%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #35442d; }
.art-city img { width: 100%; height: 100%; object-fit: cover; }
.art-mascot { position: absolute; left: 1%; bottom: 1%; width: 34%; height: auto; transform-origin: 50% 95%; transition: transform .38s cubic-bezier(.2,.65,.3,1); }
.hero-art:hover .art-mascot { transform: rotate(-4deg) translateY(-3px); }
.art-cross { position: absolute; width: 17px; height: 17px; color: var(--cream); }
.art-cross::before, .art-cross::after { content: ""; position: absolute; background: currentColor; }
.art-cross::before { inset: 8px 0; }
.art-cross::after { inset: 0 8px; }
.art-cross-top { top: 9%; left: 8%; }
.art-cross-bottom { bottom: 9%; right: 8%; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.event-facts { background: var(--cream); border-block: 1px solid var(--line); }
.fact-list { display: grid; grid-template-columns: 1.05fr 1fr 1fr; margin-block: 0; padding: 24px 0; list-style: none; }
.fact { display: flex; align-items: center; gap: 15px; min-width: 0; }
.fact + .fact { padding-left: clamp(15px, 4.5vw, 72px); border-left: 1px solid #dfcfba; }
.fact-icon, .topic-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #ffdfca; color: var(--burnt); }
.fact strong { display: block; font-size: clamp(17px, 1.65vw, 23px); letter-spacing: -.035em; line-height: 1.2; }
.fact p { margin-top: 3px; color: var(--muted); font-size: 16px; line-height: 1.3; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 52px); }
.topic { padding-top: 22px; border-top: 1px solid var(--line); }
.topic-icon { width: 52px; height: 52px; background: var(--cream); }
.topic-icon svg { width: 26px; height: 26px; }
.topic h3, .speaker h3 { margin-top: 19px; font-size: clamp(23px, 2.35vw, 33px); letter-spacing: -.045em; line-height: 1.12; }
.topic p { max-width: 33ch; margin-top: 10px; color: var(--muted); font-size: var(--detail-size); line-height: 1.5; }

.speaker-section { background: var(--cream); border-block: 1px solid var(--line); }
.speaker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(17px, 2.2vw, 34px); }
.speaker { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.speaker-image { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 17px; background: #e0d4c2; }
.speaker-image img { width: 100%; height: 100%; object-fit: contain; }
.speaker h3 { margin-top: 17px; }
.speaker-role { margin-top: 5px; color: var(--muted); font-size: var(--detail-size); font-weight: 750; line-height: 1.35; }
.speaker-talk { margin-top: 12px; font-weight: 900; font-size: var(--detail-size); line-height: 1.35; }
.speaker-more { margin-top: auto; padding-top: 6px; color: var(--burnt); }
.more-speakers { display: grid; grid-template-columns: 1fr 2.1fr; align-items: center; gap: 20px; margin-top: clamp(22px, 2.6vw, 36px); padding-top: 20px; border-top: 1px solid #dfcfba; }
.more-speakers h3 { font-size: 19px; }
.more-speakers p { color: var(--muted); font-size: var(--detail-size); }
.more-speakers ul { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; font-size: clamp(18px, 1.6vw, 22px); font-weight: 950; }

.schedule-grid { display: grid; grid-template-columns: .81fr 1.19fr; gap: clamp(24px, 5vw, 84px); align-items: start; }
.schedule-intro { position: sticky; top: calc(var(--header) + 28px); }
.schedule-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.schedule-list li { display: grid; grid-template-columns: clamp(63px, 8vw, 108px) 1fr; gap: 12px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); }
.schedule-list time { color: var(--burnt); font-size: 18px; font-weight: 1000; font-variant-numeric: tabular-nums; }
.schedule-list h3 { font-size: clamp(18px, 1.8vw, 25px); letter-spacing: -.035em; line-height: 1.15; }
.schedule-list p { margin-top: 3px; color: var(--muted); font-size: var(--detail-size); line-height: 1.4; }

.partners { border-top: 1px solid var(--line); background: var(--cream); }
.partners h2 { font-size: clamp(38px, 4vw, 58px); }
.partner-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.partner + .partner { border-inline-start: 1px solid var(--line); }
.partner-link { position: relative; display: grid; grid-template-rows: 105px auto; justify-items: center; align-content: start; gap: 14px; min-height: 100%; padding: 20px clamp(16px, 2vw, 30px); transition: background-color .18s; }
.partner-link-wordmark { grid-template-rows: auto; align-content: center; }
.partner-link:hover { background: var(--paper); }
.partner-mark { display: block; width: min(100%, 212px); height: 105px; }
.partner-mark img { width: 100%; height: 100%; object-fit: contain; }
.partner-mark-ministry { width: min(100%, 184px); }
.partner-mark-ministry img { object-fit: cover; object-position: 50% 42%; mix-blend-mode: multiply; }
.partner-name { max-width: 28ch; font-size: var(--detail-size); font-weight: 900; line-height: 1.25; text-align: center; text-wrap: pretty; }
.partner-link .partner-arrow { position: absolute; inset-block-start: 18px; inset-inline-end: 14px; width: 18px; height: 18px; color: var(--burnt); transition: transform .18s; }
.partner-link:hover .partner-arrow { transform: translate(2px, -2px); }

.register { background: var(--orange); }
.register-grid { display: grid; grid-template-columns: .91fr 1.09fr; gap: clamp(28px, 6vw, 100px); align-items: center; }
.register-copy { margin: 0; color: var(--orange-foreground); }
.register-copy :is(.eyebrow, .section-lead) { color: inherit; font-size: max(19px, var(--detail-size)); }
.register-copy h2 { font-size: clamp(43px, 4.8vw, 74px); }
.register-copy .section-lead { font-weight: 750; }
.form-panel { min-width: 0; padding: clamp(10px, 1.4vw, 20px); border-radius: 21px; background: #fff; }
.application-frame { display: block; width: 100%; border: 0; }
.form-local-note { margin: 8px; color: var(--muted); font-size: var(--detail-size); }

.site-footer { padding-block: 37px; background: var(--ink); color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-inner p { margin-top: 8px; color: #e4d7c6; font-size: 16px; }
.site-footer .text-link:hover { color: #ffb38e; }

body:has(dialog[open]) { overflow: hidden; }
.bio-dialog { max-width: min(530px, calc(100vw - 38px)); max-height: calc(100dvh - 36px); padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); }
.bio-dialog[open] { animation: arrive .22s ease-out; }
.bio-dialog::backdrop { background: #1f1f1fb5; }
.bio-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 14px; padding: clamp(23px, 4vw, 42px); }
.bio-inner .icon-button { grid-area: 1 / 2; }
.bio-inner h2 { grid-area: 1 / 1; align-self: center; font-size: clamp(29px, 4vw, 40px); letter-spacing: -.05em; line-height: 1.1; overflow-wrap: anywhere; }
#bio-body { grid-column: 1 / -1; }
.bio-inner p { font-size: var(--detail-size); line-height: 1.5; color: var(--muted); }
.bio-inner p + p { margin-top: 10px; }

@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(49px, 7.2vw, 77px); }
  .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-facts .fact + .fact { padding-left: 18px; }
  .fact { gap: 10px; }
  .fact-icon { width: 38px; height: 38px; }
  .fact-icon svg { width: 19px; height: 19px; }
  .register-grid { gap: 30px; }
}

@media (max-width: 760px) {
  :root { --header: 62px; }
  .header-inner { display: flex; gap: 12px; }
  .menu-toggle:not([hidden]) { display: grid; }
  .header-cta { margin-inline-start: auto; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; z-index: 3; display: none; min-width: 188px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--paper); }
  .header-inner:has(.menu-toggle[aria-expanded="true"]) .site-nav { display: grid; gap: 0; padding: 8px 15px; }
  .hero { padding-block: 21px; }
  .hero-inner { grid-template-columns: 1fr; gap: 19px; }
  .hero-copy { padding: 10px 0 0; }
  .hero h1 { font-size: clamp(44px, 11.7vw, 82px); }
  .hero-organizer { margin-bottom: 17px; }
  .hero-subtitle { margin-top: 14px; }
  .hero-lead { margin-top: 6px; }
  .hero-actions { gap: 7px 14px; margin-top: 16px; }
  .art-mascot { width: 31%; }
  .fact-list { grid-template-columns: 1fr; padding-block: 5px; }
  .fact { padding-block: 11px; }
  .event-facts .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid #dfcfba; }
  .topic-grid { grid-template-columns: 1fr; gap: 24px; }
  .topic { display: grid; grid-template-columns: 44px 1fr; column-gap: 13px; align-items: center; padding-top: 15px; }
  .topic-icon { grid-row: span 2; align-self: start; width: 44px; height: 44px; }
  .topic h3 { margin-top: 0; }
  .topic p { max-width: 42ch; margin-top: 6px; }
  .speaker-grid { grid-template-columns: 1fr; gap: 17px; }
  .speaker { display: grid; grid-template-columns: clamp(88px, 29vw, 175px) 1fr; grid-template-rows: repeat(3, auto) 1fr; gap: 0 14px; align-items: start; }
  .speaker + .speaker { padding-top: 17px; border-top: 1px solid #dfcfba; }
  .speaker-image { grid-row: 1 / 5; align-self: start; border-radius: 12px; }
  .speaker h3 { margin-top: 0; font-size: clamp(20px, 4.3vw, 29px); }
  .speaker-talk { margin-top: 7px; }
  .speaker-more { justify-self: start; align-self: end; }
  .more-speakers { grid-template-columns: 1fr; gap: 14px; }
  .more-speakers ul { justify-content: flex-start; }
  .partner-list { grid-template-columns: 1fr; }
  .partner + .partner { border-inline-start: 0; border-top: 1px solid var(--line); }
  .partner-link { grid-template-columns: clamp(60px, 20vw, 90px) minmax(0, 1fr); grid-template-rows: auto; align-items: center; justify-items: start; min-height: 90px; padding: 12px 30px 12px 0; }
  .partner-mark { height: 70px; }
  .partner-mark-wordmark { grid-column: 1 / -1; width: min(100%, 164px); }
  .partner-name { text-align: left; overflow-wrap: anywhere; }
  .partner-link .partner-arrow { inset-block: 0; inset-inline-end: 6px; margin-block: auto; }
  .schedule-grid, .register-grid { grid-template-columns: 1fr; }
  .schedule-intro { position: static; margin-bottom: 0; }
  .register-copy .section-lead { max-width: 36ch; }
}

@media (max-width: 415px) {
  .hero-actions { gap: 7px 8px; }
  .hero-actions .button { min-height: 49px; padding-inline: 9px; gap: 8px; }
  .hero-actions .button svg { width: 16px; height: 16px; }
  .hero-actions .text-link { flex: 1 1 0; gap: 5px; font-size: 15px; letter-spacing: -.02em; }
  .hero-actions .text-link svg { width: 15px; }
  .header-inner { gap: 9px; }
  .header-inner .event-logo { width: 122px; }
  .header-cta { gap: 7px; padding-inline: 8px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
  .menu-toggle { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
