:root {
  --ink: #073842;
  --ink-2: #14525d;
  --muted: #5d6f73;
  --line: rgba(7, 56, 66, 0.16);
  --paper: #ffffff;
  --mist: #eaf6f6;
  --mist-2: #f5fbfb;
  --coral: #f26f5b;
  --coral-2: #ff8b73;
  --gold: #dca047;
  --teal: #047481;
  --deep: #02333a;
  --shadow: 0 22px 55px rgba(7, 56, 66, 0.14);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 38%, var(--coral) 0 22%, transparent 23%),
    conic-gradient(from 20deg, var(--teal), #63c7c1, var(--gold), var(--coral), var(--teal));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.72);
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 1px;
  font-size: 12px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 12px;
  font-weight: 800;
}

.brand-text span {
  color: var(--ink-2);
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a,
.mobile-nav a,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: var(--coral);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button-primary {
  color: #fff;
  background: var(--coral);
}

.button-primary:hover,
.header-cta:hover {
  background: #db5d4b;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 56, 66, 0.38);
}

.button-secondary:hover {
  background: #fff;
  border-color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.76);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 20px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  padding: 14px 0;
  font-weight: 750;
  border-bottom: 1px solid rgba(7, 56, 66, 0.1);
}

.hero {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 76px) 72px;
  isolation: isolate;
}

.hero-image,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
}

.hero-fade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 30%, rgba(255, 255, 255, 0.14) 60%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0) 32%);
}

.hero-content {
  width: min(680px, 100%);
  max-width: calc(100vw - 40px);
  padding-top: 36px;
}

.date-line {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: break-word;
}

.date-line span + span::before {
  content: " · ";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6.6vw, 92px);
  max-width: 760px;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-copy {
  max-width: 620px;
  color: #314c52;
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 76px);
}

.section-intro {
  padding-top: clamp(46px, 6vw, 72px);
}

.section-grid,
.program-layout,
.split,
.venue-band,
.contact-section,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-grid,
.program-layout,
.split,
.venue-band,
.contact-section {
  display: grid;
  gap: clamp(34px, 6vw, 76px);
}

.section-grid,
.program-layout,
.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
}

.section-soft {
  background: linear-gradient(180deg, var(--mist-2), #fff);
}

.section-copy {
  max-width: 610px;
}

.section-rule {
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--coral);
}

.image-panel,
.stage-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img,
.stage-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stage-panel img {
  aspect-ratio: 16 / 9;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
}

.section-heading p {
  margin-bottom: 6px;
}

.program-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.program-list article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.program-list p {
  margin: 0;
  font-size: 15px;
}

.speaker-section {
  background: var(--paper);
}

.lineup-rails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lineup-rails div,
.sponsor-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.lineup-rails div {
  min-height: 174px;
  padding: 22px;
}

.lineup-rails span {
  display: block;
  margin-bottom: 24px;
  color: var(--coral);
  font-weight: 850;
}

.lineup-rails strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.lineup-rails p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.sponsors-section {
  background: #fff;
}

.sponsor-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-grid article {
  padding: 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.sponsor-grid p {
  margin-bottom: 22px;
  color: var(--coral);
  font-weight: 850;
}

.sponsor-grid span {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.venue-section {
  background: var(--mist);
}

.venue-band {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: start;
}

.venue-band p {
  max-width: 690px;
}

.venue-facts {
  margin: 0;
  display: grid;
  gap: 14px;
}

.venue-facts div {
  padding: 20px 0;
  border-top: 1px solid rgba(7, 56, 66, 0.18);
}

.venue-facts dt {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.venue-facts dd {
  margin: 8px 0 0;
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-section {
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  align-items: start;
  padding: clamp(72px, 9vw, 108px) clamp(20px, 6vw, 76px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(2, 51, 58, 0.98), rgba(4, 116, 129, 0.9)),
    radial-gradient(circle at 90% 30%, rgba(242, 111, 91, 0.25), transparent 32%);
}

.contact-section h2,
.contact-section p,
.contact-section a,
.contact-section address {
  color: #fff;
}

.contact-section p {
  opacity: 0.82;
}

address {
  font-style: normal;
  line-height: 1.8;
  opacity: 0.9;
}

.contact-routes {
  display: grid;
  gap: 7px;
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-routes a {
  width: max-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 750;
}

.inquiry-form .full,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
}

.consent-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

textarea {
  resize: vertical;
  min-height: 132px;
}

select option {
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 139, 115, 0.85);
  outline-offset: 2px;
}

.form-submit {
  justify-self: start;
  min-width: 172px;
  margin-top: 8px;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 6vw, 76px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.legal-main {
  padding: 118px clamp(20px, 6vw, 76px) 72px;
  background:
    linear-gradient(180deg, var(--mist-2), #fff 420px);
}

.legal-article {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-article h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
}

.legal-article h2 {
  margin-top: 44px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.legal-article ul {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-meta {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 800;
}

.legal-card {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 82svh;
    padding-top: 106px;
  }

  .section-grid,
  .program-layout,
  .split,
  .section-heading,
  .section-heading.compact,
  .venue-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: 10px;
  }

  .brand-text strong {
    font-size: 10px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: 80svh;
    padding: 100px 18px 48px;
  }

  .hero-image {
    object-position: 68% 50%;
  }

  .hero-fade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 48%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 38%);
  }

  h1 {
    font-size: 39px;
    line-height: 1;
  }

  h2 {
    font-size: 36px;
  }

  .date-line,
  .hero-copy,
  p {
    font-size: 16px;
  }

  .hero-copy {
    max-width: 320px;
  }

  .date-line span {
    display: block;
  }

  .date-line span + span::before {
    content: "";
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .lineup-rails,
  .sponsor-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .lineup-rails div,
  .sponsor-grid article {
    min-height: 0;
  }

  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
