:root {
  --page-bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #fcfcfd;
  --text-main: #161513;
  --text-muted: #5b5a58;
  --line: #d9d8d5;
  --line-strong: #c5c4c1;
  --brand: #c74634;
  --brand-deep: #a73728;
  --brand-soft: #f7ddda;
  --success: #1f6f43;
  --error: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 90% 10%, rgba(199, 70, 52, 0.08) 0 230px, transparent 240px),
    radial-gradient(circle at 12% 90%, rgba(22, 21, 19, 0.08) 0 200px, transparent 210px),
    linear-gradient(170deg, #fafbfc 0%, var(--page-bg) 60%, #f0f1f3 100%);
  padding: 2rem;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(10px);
  z-index: 0;
}

.bg-shape-a {
  width: 240px;
  height: 240px;
  top: -100px;
  right: 14%;
  background: rgba(199, 70, 52, 0.2);
}

.bg-shape-b {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: 8%;
  background: rgba(42, 41, 39, 0.16);
}

.hero,
.layout,
.hero-highlights,
 .countdown-strip,
footer {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.countdown-strip {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 0.9rem;
  border: 1px solid #e4b9b1;
  border-top: 4px solid var(--brand);
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, rgba(199, 70, 52, 0.18) 0 42px, transparent 44px),
    linear-gradient(130deg, #fff8f6 0%, #ffffff 55%, #fff5f3 100%);
  box-shadow: 0 12px 26px rgba(145, 49, 36, 0.12);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.countdown-live {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7d2418;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #e9beb6;
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.countdown-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  flex: 1;
}

.countdown-strip-grid article {
  border: 1px solid #ebdfdc;
  border-radius: 999px;
  background: #fff;
  padding: 0.3rem 0.28rem;
  text-align: center;
}

.countdown-strip-grid strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1;
  color: #1f1d1b;
}

.countdown-strip-grid span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #615d59;
}

.countdown-strip-note {
  margin: 0;
  color: #6a6561;
  font-size: 0.7rem;
  white-space: nowrap;
}

.hero {
  border-radius: 1rem;
  border: 1px solid #2d2b29;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, #181716 0%, #242220 56%, #35312d 100%);
  color: #fcfcfb;
  padding: 2rem;
  box-shadow: 0 18px 38px rgba(24, 23, 22, 0.22);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.hero-main {
  display: flex;
  flex-direction: column;
}

.hero-rail {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.hero-rail-title {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ffd9d3;
  font-weight: 700;
}

.hero-rail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.hero-rail-stats article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.65rem;
  background: rgba(17, 17, 17, 0.22);
  padding: 0.55rem 0.5rem;
}

.hero-rail-stats span {
  display: inline-flex;
  min-width: 2.1rem;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  padding: 0.05rem 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f7f7f5;
}

.hero-rail-stats p {
  margin: 0.4rem 0 0;
  color: #efeeec;
  font-size: 0.76rem;
  line-height: 1.25;
}

.hero-rail-cards {
  display: grid;
  gap: 0.5rem;
}

.hero-rail-cards article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.72rem;
  padding: 0.6rem;
  background: rgba(17, 17, 17, 0.25);
}

.hero-rail-cards h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.hero-rail-cards p {
  margin: 0;
  color: #d8d7d4;
  font-size: 0.82rem;
  line-height: 1.36;
}

.hero-rail-note {
  border-radius: 0.62rem;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  padding: 0.55rem 0.6rem;
  color: #d9d8d5;
  font-size: 0.78rem;
  line-height: 1.34;
}

.brand-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0.75rem 0 0;
  color: #f3c4be;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
}

h1 {
  margin: 0.65rem 0 0.95rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4.3vw, 3.8rem);
  line-height: 1.04;
  max-width: 17.5ch;
}

.hero-copy {
  margin: 0;
  max-width: 64ch;
  line-height: 1.58;
  color: #e4e3e1;
}

.event-meta {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.event-meta > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.72rem;
  padding: 0.72rem;
  font-size: 0.93rem;
}

.map-link {
  margin-left: 0.38rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  min-width: 1.75rem;
  width: 1.75rem;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}

.map-link:hover {
  border-color: #ffd0c8;
  background: rgba(255, 255, 255, 0.22);
}

.hero-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-btn-primary {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
}

.hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.layout {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.panel {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(37, 35, 33, 0.08);
}

.panel h2 {
  margin: 0 0 0.72rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.panel p {
  margin: 0 0 0.78rem;
  color: var(--text-muted);
  line-height: 1.56;
}

.hero-highlights {
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 21, 19, 0.06);
}

.hero-highlights .hero-rail-title {
  margin: 0 0 0.7rem;
  color: var(--brand-deep);
}

.hero-highlights .hero-rail-stats {
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.hero-highlights .hero-rail-stats article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f9f7f6 100%);
  padding: 0.72rem 0.65rem;
  box-shadow: 0 6px 14px rgba(23, 21, 19, 0.06);
}

.hero-highlights .hero-rail-stats span {
  border: 1px solid #d6b8b2;
  background: #f7dfdb;
  color: var(--brand-deep);
  font-size: 0.96rem;
  font-weight: 800;
  min-width: 2.5rem;
  padding: 0.12rem 0.55rem;
}

.hero-highlights .hero-rail-stats p {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.5rem;
}

.hero-highlights .hero-rail-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.hero-highlights .hero-rail-cards article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f7 100%);
  padding: 0.7rem;
}

.hero-highlights .hero-rail-cards h3 {
  color: var(--text-main);
}

.hero-highlights .hero-rail-cards p {
  color: var(--text-muted);
}

.hero-highlights .hero-rail-note {
  border: 1px dashed #d7c7c3;
  background: #fff4f1;
  color: #4f4b48;
}

ul {
  margin: 0;
  padding-left: 1.12rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.agenda-cards {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.agenda-card {
  border: 1px solid var(--line);
  border-radius: 0.72rem;
  padding: 0.85rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf8f7 100%);
  box-shadow: 0 8px 18px rgba(23, 21, 19, 0.05);
}

.agenda-card-tag {
  margin: 0 0 0.45rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.agenda-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.35;
}

.agenda-card p {
  margin: 0;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #fff;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.68rem;
  border-bottom: 1px solid var(--line);
}

th {
  background: #f6f4f3;
  color: #3f3d3b;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

tbody tr:hover {
  background: rgba(199, 70, 52, 0.06);
}

.form-panel {
  border-top: 4px solid var(--brand);
}

.faq-panel {
  border-top: 4px solid #d7d4d1;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: #fff;
  padding: 0.75rem 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #22201f;
}

.faq-list p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.form-note {
  margin-top: -0.06rem;
}

.privacy-note {
  margin-top: -0.2rem;
  font-size: 0.86rem;
}

.retention-note {
  margin-top: -0.28rem;
  font-size: 0.84rem;
}

.retention-note a {
  color: var(--brand-deep);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.34rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  margin: 0.2rem 0 0.8rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #2f2d2b;
}

.consent-check input[type='checkbox'] {
  margin-top: 0.2rem;
  width: 1.02rem;
  height: 1.02rem;
  min-height: 1.02rem;
  border-radius: 0.25rem;
  accent-color: var(--brand);
  padding: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.captcha-box {
  margin: 0.3rem 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.75rem;
  background: #fff;
}

.captcha-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.captcha-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3f3d3b;
}

.captcha-refresh {
  min-height: 1.9rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
}

.captcha-question {
  margin: 0.55rem 0 0.45rem;
  color: #262422;
  font-weight: 600;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  min-height: 2.72rem;
  border-radius: 0.56rem;
  border: 1px solid var(--line-strong);
  padding: 0 0.75rem;
  background: #fff;
  color: var(--text-main);
}

input::placeholder {
  color: #8f8d8a;
}

input:focus,
select:focus {
  outline: 2px solid rgba(199, 70, 52, 0.2);
  border-color: var(--brand);
}

button[type='submit'] {
  min-height: 2.95rem;
  border: 0;
  border-radius: 0.62rem;
  padding: 0 1rem;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.22rem;
  box-shadow: 0 10px 18px rgba(167, 55, 40, 0.3);
}

button[type='submit']:hover {
  filter: brightness(1.03);
}

button[type='submit']:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.form-message {
  margin: 0.72rem 0 0;
  min-height: 1.2rem;
  font-weight: 600;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

.calendar-actions {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: #fff;
  padding: 0.75rem;
}

.calendar-title {
  margin: 0 0 0.45rem;
  color: var(--text-main);
  font-weight: 600;
}

.calendar-links {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.calendar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  color: var(--text-main);
  background: #fbfbfb;
}

.calendar-links a:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1000;
}

.modal[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}

.modal-card {
  position: relative;
  width: min(94vw, 620px);
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem;
  box-shadow: 0 18px 36px rgba(16, 16, 16, 0.3);
}

.modal-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.modal-message {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.modal-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.modal-close-btn {
  min-height: 2.2rem;
  padding: 0 0.9rem;
  border-radius: 0.58rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
}

.sticky-register-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(24px);
  width: min(900px, calc(100% - 2rem));
  border: 1px solid #3e302d;
  border-radius: 999px;
  background: rgba(29, 26, 24, 0.96);
  color: #f4f2ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  box-shadow: 0 16px 34px rgba(10, 9, 8, 0.3);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-register-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sticky-register-bar p {
  margin: 0;
  color: #f4f2ef;
  font-size: 0.87rem;
}

.sticky-register-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
}

footer {
  margin-top: 1rem;
  text-align: center;
  color: #5a5855;
  font-size: 0.88rem;
}

footer a {
  color: #474340;
  font-weight: 700;
}

@media (max-width: 920px) {
  body {
    padding: 1rem;
  }

  .event-meta,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-highlights .hero-rail-stats,
  .hero-highlights .hero-rail-cards {
    grid-template-columns: 1fr;
  }

  .countdown-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-strip {
    width: 100%;
    border-radius: 0.9rem;
    padding: 0.7rem 0.75rem;
    display: grid;
    gap: 0.45rem;
  }

  .countdown-strip-note {
    white-space: normal;
    font-size: 0.72rem;
  }

  .agenda-cards {
    grid-template-columns: 1fr;
  }

  .sticky-register-bar {
    border-radius: 0.8rem;
    align-items: flex-start;
    flex-direction: column;
    padding: 0.7rem;
  }

  .sticky-register-bar a {
    width: 100%;
    justify-content: center;
  }

  h1 {
    max-width: none;
  }
}
