/* Timber Pizza Co — Atlanta Mixer landing */
:root {
  --orange: #E85A1C;
  --orange-dark: #C94A12;
  --peach: #F7E6D8;
  --peach-light: #FBF3EB;
  --cream: #FFF9F5;
  --ink: #1A1A1A;
  --ink-soft: #3D3D3D;
  --white: #FFFFFF;
  --max: 720px;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(232, 90, 28, 0.12);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--peach-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
}

/* Header / brand bar */
.brand-bar {
  background: var(--cream);
  border-bottom: 1px solid rgba(232, 90, 28, 0.15);
  padding: 0.85rem 1.25rem;
  text-align: center;
}

.brand-mark {
  display: inline-block;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  padding: 0.2rem 0.5rem;
  line-height: 1.2;
}

.brand-mark .co {
  font-size: 0.72em;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--peach) 0%, var(--peach-light) 100%);
  padding: 1.5rem 1.25rem 2rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 5.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  color: var(--ink);
}

.flyer-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 90, 28, 0.18);
  background: var(--white);
}

.flyer-wrap img {
  width: 100%;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(232, 90, 28, 0.35);
}
button.btn-primary {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: var(--white) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Details */
.details {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 0.5rem;
}

.details h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 90, 28, 0.12);
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(232, 90, 28, 0.1);
}

.detail-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-list li:first-child {
  padding-top: 0;
}

.detail-list .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 0.15rem;
}

.detail-list .value {
  color: var(--ink);
  font-size: 0.98rem;
}

.detail-list .value strong {
  display: block;
  font-weight: 700;
}

.blurb {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* RSVP */
.rsvp {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

.rsvp h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

.rsvp-note {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.rsvp-note strong {
  color: var(--ink);
}

.rsvp-box {
  background: var(--peach);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px dashed rgba(232, 90, 28, 0.45);
}

.rsvp-box p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.rsvp-iframe {
  display: block;
  width: 100%;
  min-height: 1200px;
  height: 1200px;
  border: 0;
  background: var(--white);
  border-radius: 8px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.75rem 1.25rem;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer .name {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.site-footer .tag {
  margin: 0 0 0.75rem;
  color: rgba(255, 249, 245, 0.7);
}

.site-footer .invite {
  margin: 0;
  max-width: 28rem;
  margin-inline: auto;
  font-size: 0.82rem;
  color: rgba(255, 249, 245, 0.55);
  line-height: 1.45;
}

@media (min-width: 560px) {
  .detail-list li {
    grid-template-columns: 6.5rem 1fr;
  }
}


.rsvp-fallback {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--ink-soft);
}


/* Flyer-only hero: flyer graphic carries brand + event copy */
.hero.hero-flyer-only {
  padding-top: 1.25rem;
}
.hero.hero-flyer-only .flyer-wrap {
  margin-top: 0;
}


/* Visual-only hero (cropped flyer — no date/venue in image) */
.hero.hero-visual {
  padding: 1.25rem 1.25rem 0.5rem;
  background: var(--peach-light);
}
.hero.hero-visual .flyer-wrap {
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero.hero-visual .flyer-wrap img {
  width: 100%;
  height: auto;
}

.details {
  padding: 1.25rem 1.25rem 0.5rem;
}
.details .detail-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.details h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--ink);
}
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.detail-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(232, 90, 28, 0.12);
}
.detail-list li:last-child {
  border-bottom: 0;
}
.detail-list .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 0.15rem;
}
.detail-list .value {
  color: var(--ink);
}
.detail-list .value strong {
  display: inline;
}
.blurb {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.hosts {
  padding: 1.5rem 1.25rem 0.5rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.hosts h2 {
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
}
.host-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.host-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem 1.2rem;
  box-shadow: var(--shadow);
}
.host-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid rgba(232, 90, 28, 0.35);
}
.host-name {
  margin: 0;
  font-size: 1.05rem;
}
.host-title {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
@media (max-width: 420px) {
  .host-grid { grid-template-columns: 1fr; }
}

.rsvp-iframe {
  display: block;
  width: 100%;
  min-height: 1200px;
  height: 1200px;
  border: 0;
  background: var(--white);
  border-radius: 8px;
}
.rsvp-fallback {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--ink-soft);
}

/* === atlanta mixer v2 form + topbar === */
.topbar {
  background: var(--cream);
  border-bottom: 1px solid rgba(232, 90, 28, 0.15);
  padding: 0.85rem 1.25rem;
  text-align: center;
}
.top-logo {
  display: inline-block;
  height: 52px;
  width: auto;
  max-width: min(320px, 80vw);
  margin: 0 auto;
}

.hero.hero-visual {
  padding: 1.25rem 1.25rem 0.5rem;
  background: var(--peach-light);
}
.hero.hero-visual .flyer-wrap {
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: var(--max);
}
.hero.hero-visual .flyer-wrap img {
  width: 100%;
  height: auto;
}

.details {
  padding: 1.25rem 1.25rem 0.5rem;
}
.details .detail-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.details h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}
.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.detail-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(232, 90, 28, 0.12);
}
.detail-list li:last-child { border-bottom: 0; }
.detail-list .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 0.15rem;
}
.blurb {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}
.details .cta-row {
  margin-top: 1.1rem;
}

.hosts {
  padding: 1.5rem 1.25rem 0.5rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.hosts h2 { margin: 0 0 1.1rem; font-size: 1.2rem; }
.host-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.host-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem 1.2rem;
  box-shadow: var(--shadow);
}
.host-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid rgba(232, 90, 28, 0.35);
  display: block;
}
.host-name { margin: 0; font-size: 1.05rem; }
.host-title { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 420px) {
  .host-grid { grid-template-columns: 1fr; }
}

.rsvp {
  padding: 1.75rem 1.25rem 2.5rem;
}
.rsvp-panel {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 1.6rem;
}
.rsvp .kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
}
.rsvp h2 {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 1.45rem;
}
.rsvp-note {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
}
#rsvp-form {
  display: grid;
  gap: 0.85rem;
}
#rsvp-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
#rsvp-form .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.7;
  font-size: 0.85em;
}
#rsvp-form input,
#rsvp-form select {
  font: 1rem system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 26, 26, 0.16);
  background: #fff;
  color: var(--ink);
}
#rsvp-form input:focus,
#rsvp-form select:focus {
  outline: 3px solid rgba(232, 90, 28, 0.35);
  outline-offset: 1px;
}
#rsvp-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}
.form-status {
  min-height: 1.4rem;
  text-align: center;
  font-weight: 600;
  margin: 0;
}
.form-status.err { color: #b42318; }
.thanks {
  display: none;
  text-align: center;
  background: var(--peach-light);
  border: 1px solid rgba(232, 90, 28, 0.18);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
}
.thanks h3 { margin: 0 0 0.4rem; }
.thanks p { margin: 0; color: var(--ink-soft); }

.maps-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.maps-link:hover { color: var(--orange); }
.detail-card a { color: var(--orange); }
.detail-card a.btn,
.detail-card a.btn-primary {
  color: var(--white);
}
