/* Let's Go Peopling | site styles */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url("fonts/yellowtail-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("fonts/josefin-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Karla"; src: url("fonts/karla-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --teal: #25403F;
  --teal-soft: #3a5958;
  --orange: #AD5735;
  --orange-dark: #8f4529;
  --gold: #CE974B;
  --cream: #F8F0E3;
  --paper: #FBF6EC;
  --sand: #EFE2CC;
  --ink-muted: #5b6b68;
  --radius: 18px;
  --shadow: 0 2px 0 rgba(37,64,63,.08), 0 14px 30px -18px rgba(37,64,63,.35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --label: "Josefin Sans", "Futura", "Trebuchet MS", sans-serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .25 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--teal);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1.1; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: .7em;
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after { content: "✦"; color: var(--gold); letter-spacing: 0; }
.script { font-family: var(--script); font-weight: 400; color: var(--orange); font-size: 1.15em; font-variation-settings: normal; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
  padding: 1em 1.7em; border-radius: 999px; border: 2px solid var(--orange);
  background: var(--orange); color: var(--cream); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--orange-dark);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-dark); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-dark); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); box-shadow: 0 4px 0 var(--teal); }
.btn--ghost:hover { box-shadow: 0 6px 0 var(--teal); }
.btn--small { padding: .75em 1.2em; font-size: .78rem; }
.btn-note { font-size: .95rem; color: var(--ink-muted); margin-top: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 240, 227, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(206, 151, 75, .35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--orange); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3rem; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); letter-spacing: -.01em; }
.hero h1 .script { display: block; font-size: .78em; margin-bottom: .1em; }
.hero .lede { font-size: 1.2rem; max-width: 34em; color: var(--teal-soft); }
.hero-badge { justify-self: center; width: min(380px, 100%); filter: drop-shadow(0 18px 24px rgba(37,64,63,.18)); animation: float 7s ease-in-out infinite; }
.sunburst { position: absolute; right: -10%; top: 50%; width: 900px; max-width: none; transform: translateY(-50%); opacity: .2; pointer-events: none; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .sunburst, .hero-badge { animation: none; } html { scroll-behavior: auto; } }

/* Divider */
.divider { display: flex; align-items: center; gap: 1rem; color: var(--gold); width: min(1120px, 100% - 40px); margin: 0 auto; }
.divider::before, .divider::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 16px); opacity: .7; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.story p { font-size: 1.12rem; }
.story .pull { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; font-weight: 600; font-style: italic; color: var(--teal); border-left: 4px solid var(--gold); padding-left: 1.2rem; margin: 0; }

.ticket {
  position: relative; background: var(--paper); border: 2px solid var(--teal); border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); border: 2px solid var(--teal); transform: translateY(-50%); }
.ticket::before { left: -16px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -16px; clip-path: inset(0 50% 0 0); }
.ticket .stamp { font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; font-weight: 700; color: var(--cream); background: var(--orange); display: inline-block; padding: .35em .9em; border-radius: 4px; transform: rotate(-2deg); margin-bottom: 1rem; }

.local { background: var(--teal); color: var(--cream); }
.local .wrap { display: flex; align-items: center; gap: 2rem; justify-content: center; text-align: left; flex-wrap: wrap; }
.local .pin { width: 64px; height: 64px; flex: none; }
.local h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .25em; color: var(--cream); }
.local p { margin: 0; max-width: 40em; color: #e9dfcf; }
.placeholder { background: rgba(206,151,75,.25); border-bottom: 2px dashed var(--gold); padding: 0 .25em; border-radius: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.chips li { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; padding: .55em 1.2em; border-radius: 999px; border: 2px solid var(--teal); background: var(--paper); }
.chips li:nth-child(2) { border-color: var(--orange); color: var(--orange); transform: rotate(-2deg); }
.chips li:nth-child(3) { border-color: var(--gold); transform: rotate(1.5deg); }

.grow { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 2.5rem 0; }
.card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.4rem; border: 1px solid rgba(37,64,63,.12); box-shadow: var(--shadow); text-align: left; }
.card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: var(--gold); display: grid; place-items: center; margin-bottom: 1rem; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { font-size: 1rem; margin: 0; color: var(--teal-soft); }

.partner .two-col { align-items: stretch; }
.partner-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.partner-list li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.partner-list li::before { content: "✦"; color: var(--orange); }
.partner-art { border-radius: var(--radius); background: var(--orange); color: var(--cream); padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.partner-art .big { font-family: var(--script); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; margin-bottom: .4em; position: relative; }
.partner-art p { position: relative; font-size: 1.1rem; margin: 0; }
.partner-art svg { position: absolute; right: -80px; bottom: -80px; width: 320px; opacity: .25; }

.closing { text-align: center; padding-bottom: clamp(4rem, 9vw, 7rem); }
.closing h2 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 14em; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--teal); color: #e9dfcf; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-mark { width: 92px; height: 92px; border-radius: 50%; background: var(--cream); padding: 6px; }
.site-footer a { color: var(--gold); }
.footer-tag { font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: flex-end; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(233,223,207,.2); padding-top: 1.2rem; font-size: .85rem; opacity: .75; text-align: center; }

/* Modal + forms */
dialog.modal {
  width: min(560px, 100% - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  border: 2px solid var(--teal); border-radius: 22px; padding: 0; background: var(--paper); color: var(--teal);
  box-shadow: 0 30px 60px -20px rgba(37,64,63,.5);
}
dialog.modal::backdrop { background: rgba(37,64,63,.55); backdrop-filter: blur(3px); }
.modal-head { padding: 1.8rem 1.8rem .4rem; position: relative; }
.modal-head h2 { font-size: 2rem; margin-bottom: .2em; }
.modal-head p { color: var(--teal-soft); margin: 0; }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); color: var(--teal); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.modal-close:hover { background: var(--gold); }
form.lgp-form { padding: 1rem 1.8rem 1.8rem; display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-family: var(--label); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.field .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-muted); font-family: var(--body); font-size: .85rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field textarea {
  font: inherit; font-size: 1rem; color: var(--teal); background: #fffdf8; border: 1.5px solid rgba(37,64,63,.35); border-radius: 10px; padding: .75em .9em; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(173,87,53,.18); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; gap: .45rem; margin-top: .3rem; }
.checks label, .consent { font-family: var(--body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1rem; display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.checks input, .consent input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: .25em; flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg { display: none; text-align: center; padding: 2rem 1.8rem 2.4rem; }
.form-msg .script { font-size: 2.6rem; display: block; margin-bottom: .2em; }
.form-error { color: var(--orange-dark); font-size: .92rem; display: none; }
.is-sent form.lgp-form, .is-sent .modal-head p { display: none; }
.is-sent .form-msg { display: block; }

/* Survey page */
.survey-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; text-align: center; }
.survey-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.survey-hero .lede { font-size: 1.15rem; color: var(--teal-soft); max-width: 36em; margin-inline: auto; }
.survey-frame { background: var(--paper); border: 2px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 4rem; }
.survey-frame iframe { width: 100%; min-height: 1600px; border: 0; display: block; }
.survey-placeholder { padding: clamp(2rem, 5vw, 3.2rem); }
.survey-placeholder ol { padding-left: 1.3rem; margin: 1rem 0 0; }
.survey-placeholder li { margin-bottom: .6rem; }
.draft-flag { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; background: var(--gold); color: var(--teal); padding: .4em .9em; border-radius: 4px; display: inline-block; margin-bottom: 1rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero .wrap, .two-col { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-badge { width: 230px; order: -1; }
  .sunburst { right: 50%; top: 20%; transform: translate(50%, -50%); width: 700px; animation: none; }
  .story .pull { margin-top: .5rem; }
  .cards { grid-template-columns: 1fr; }
  .partner-list { grid-template-columns: 1fr; }
  .site-header .wrap { min-height: 64px; }
  .brand img { height: 46px; }
  .local .wrap { flex-direction: column; text-align: center; }
  .site-footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-content: center; }
  .row-2 { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
}

/* Motto + connection tracks */
.motto { background: var(--teal); color: var(--cream); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow); text-align: center; }
.motto-line { margin: 0; line-height: 1.1; }
.motto-line .script { color: var(--gold); font-size: clamp(2.4rem, 5vw, 3.4rem); }
.motto-sub { color: #e9dfcf; margin: .3rem 0 1.6rem; }
.motto-sub:last-child { margin-bottom: 0; }
.tracks { padding-top: 0; }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.track-grid .ticket { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem 1.8rem; }
.track-grid .ticket h3 { font-size: 1.7rem; }
.track-grid .ticket p { flex: 1; }
.ticket .stamp--next { background: var(--gold); color: var(--teal); transform: rotate(1.5deg); }
@media (max-width: 960px) { .track-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.track-grid .ticket:first-child { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(173,87,53,.12), var(--shadow); }
.track-grid .ticket:first-child::before, .track-grid .ticket:first-child::after { border-color: var(--orange); }
