: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,
footer {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.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);
}

.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;
}

.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;
}

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);
}

.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;
}

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;
  }

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

  h1 {
    max-width: none;
  }
}
