:root {
  --blue: #243d68;
  --blue-dark: #111629;
  --blue-soft: #eef3f7;
  --orange: #c86f2d;
  --ink: #162036;
  --muted: #66728d;
  --paper: #ffffff;
  --line: #91a0ba;
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 86px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(28, 42, 74, 0.08);
}

.brand,
.brand-esfera,
.brand-sunne,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand {
  font-size: 21px;
}

.brand small,
.footer-logo small {
  display: block;
  margin-top: -3px;
  font-size: 11px;
  line-height: 1;
  text-align: right;
}

.brand-sunne strong,
.footer-logo.sunne {
  font-weight: 800;
}

.brand-sunne span span,
.footer-logo.sunne span span {
  color: var(--orange);
}

.divider {
  width: 2px;
  height: 36px;
  margin: 0 18px;
  background: var(--ink);
  opacity: 0.55;
}

.sun-mark,
.sunne-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.65) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #f39255, #e96f44);
}

.sunne-icon {
  width: 43px;
  background:
    linear-gradient(#fff 0 18%, transparent 18% 32%, #fff 32% 45%, transparent 45% 58%, #fff 58% 72%, transparent 72%),
    linear-gradient(135deg, #b9692e, #d88943);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  padding: 10px 0;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 28px;
}

.hero {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 48px clamp(24px, 7vw, 96px);
  color: white;
  background:
    linear-gradient(90deg, rgba(20, 43, 78, 0.66) 0%, rgba(20, 43, 78, 0.44) 38%, rgba(20, 43, 78, 0.10) 72%, rgba(20, 43, 78, 0) 100%),
    url("/assets/hero-clean.png") right top / cover no-repeat;
}

.hero-copy {
  width: min(100%, 1180px);
  padding-right: 270px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 22px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1120px;
  font-size: 88px;
  line-height: 0.98;
}

.line {
  width: 138px;
  height: 2px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.72);
}

.lead {
  max-width: 780px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.hero-button,
.signup-form button,
.login-card button,
.admin-actions button {
  border: 0;
  border-radius: 999px;
  background: #eef1ef;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.hero-button {
  position: absolute;
  right: clamp(34px, 7vw, 110px);
  top: 65%;
  z-index: 1;
  padding: 20px 34px;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-50%);
}

.quickfacts {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.6fr;
  gap: 0;
  padding: 26px clamp(24px, 7vw, 96px);
  color: var(--blue);
  background: white;
}

.quickfacts article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 0 34px;
  border-right: 3px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.quickfacts article:first-child {
  padding-left: 0;
}

.quickfacts article:last-child {
  border-right: 0;
}

.fact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
}

.clock,
.pin {
  border: 4px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.clock::before,
.clock::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  width: 3px;
  height: 14px;
  background: currentColor;
  transform-origin: bottom;
}

.clock::after {
  top: 20px;
  height: 12px;
  transform: rotate(118deg);
}

.pin {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 50%;
  transform: rotate(45deg);
}

.section-band {
  background: var(--blue-soft);
}

.perspectives {
  padding: 52px clamp(24px, 7vw, 96px) 68px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(40px, 9vw, 170px);
  align-items: start;
  margin-bottom: 58px;
}

.intro-grid h2,
.expect h2,
.location h2,
.contact h2 {
  color: var(--blue);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
}

.intro-grid p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.perspective-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.perspective-grid article {
  min-height: 280px;
  padding: 0 clamp(28px, 5vw, 70px);
  border-right: 3px solid var(--line);
  color: var(--blue);
}

.perspective-grid article:last-child {
  border-right: 0;
}

.perspective-grid span {
  width: 67px;
  height: 67px;
  display: grid;
  place-items: center;
  margin: 0 0 24px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 34px;
  font-weight: 800;
}

.perspective-grid h3,
.perspective-grid h4,
.expect-grid h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.08em;
}

.perspective-grid h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.perspective-grid p,
.expect-grid p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.expect-program {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(340px, 1fr);
}

.expect {
  padding: 60px clamp(24px, 7vw, 96px) 74px;
  background: white;
}

.expect h2,
.location h2,
.contact h2 {
  color: #141414;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
}

.expect-grid article {
  min-height: 250px;
  padding: 0 40px;
  border-right: 2px solid #202020;
}

.expect-grid article:first-child {
  padding-left: 0;
}

.expect-grid article:last-child {
  border-right: 0;
}

.expect-icon {
  width: 70px;
  height: 58px;
  display: block;
  margin-bottom: 22px;
  color: #111;
  position: relative;
}

.people::before {
  content: "◎◎◎";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 32px;
  letter-spacing: -8px;
}

.people::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 64px;
  height: 26px;
  border: 4px solid currentColor;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom: 0;
}

.house::before {
  content: "⌂";
  font-size: 78px;
  line-height: 0.8;
}

.chat::before {
  content: "☏";
  font-size: 64px;
  line-height: 0.8;
}

.program {
  padding: 60px clamp(34px, 5vw, 76px);
  color: white;
  background: linear-gradient(110deg, #263d6a, #13325c);
}

.program h2 {
  font-size: clamp(42px, 5vw, 64px);
}

.program dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px 36px;
  margin: 72px 0 0;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.program dt {
  color: rgba(255,255,255,0.78);
}

.registration {
  padding: 82px clamp(24px, 7vw, 96px);
  color: white;
  background:
    radial-gradient(circle at 55% 10%, rgba(67,91,139,0.7), transparent 36%),
    linear-gradient(115deg, #111629, #2b416f 62%, #101425);
}

.registration-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.registration h2 {
  text-align: center;
  font-size: clamp(38px, 5.4vw, 67px);
  font-weight: 700;
  line-height: 1.05;
}

.registration p {
  max-width: 960px;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
}

.event-meta {
  margin-top: 56px;
}

.place {
  padding-left: 34px;
  position: relative;
  font-weight: 800;
}

.place::before {
  content: "⌖";
  position: absolute;
  left: 0;
}

.signup-form {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.choice-row label {
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  text-align: center;
}

.choice-row input {
  position: absolute;
  opacity: 0;
}

.choice-row span {
  font-size: 58px;
  line-height: 0.8;
}

.choice-row input:checked + span,
.choice-row input:checked + span + strong {
  color: white;
}

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

.signup-form label,
.login-card label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.signup-form input,
.signup-form textarea,
.login-card input,
.admin-shell input,
.admin-shell select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 14px 15px;
  font: inherit;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
}

.signup-form textarea {
  resize: vertical;
}

.privacy {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: rgba(255,255,255,0.83);
  font-size: 15px;
  line-height: 1.35;
}

.privacy input {
  width: 18px;
  height: 18px;
}

.signup-form button {
  justify-self: start;
  padding: 16px 28px;
  font-size: 16px;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 28px;
  margin: 0;
  font-weight: 800;
}

.form-status.success {
  color: #d7f5de;
}

.form-status.error,
.error {
  color: #ffd0d0;
}

.location {
  padding-top: 52px;
  background: white;
}

.location h2,
.contact h2 {
  padding: 0 clamp(24px, 7vw, 96px) 36px;
}

.map-frame {
  width: 100%;
  height: clamp(320px, 38vw, 520px);
  background: var(--blue-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.location img {
  width: 100%;
  height: clamp(260px, 36vw, 485px);
  object-fit: cover;
}

.contact {
  padding: 52px clamp(24px, 7vw, 96px) 72px;
  background: white;
}

.contact h2 {
  padding-left: 0;
}

.contact-grid {
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
}

.contact article {
  min-width: 210px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-logo {
  min-height: 44px;
  margin-bottom: 24px;
  font-size: 25px;
  letter-spacing: 0;
}

.admin-body {
  min-height: 100vh;
  background: #f4f6f9;
}

.login-card,
.admin-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 48px auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(20, 31, 52, 0.1);
}

.login-card {
  max-width: 430px;
  padding: 32px;
}

.login-card h1,
.admin-shell h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 42px;
}

.login-card form {
  display: grid;
  gap: 18px;
}

.login-card button {
  padding: 14px 20px;
}

.admin-shell {
  padding: 26px;
}

.admin-shell header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-shell nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-shell nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: white;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

.admin-shell table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-shell th,
.admin-shell td {
  padding: 10px;
  border-bottom: 1px solid #e3e8f0;
  text-align: left;
  vertical-align: top;
}

.admin-shell input,
.admin-shell select {
  min-width: 110px;
  border-color: #cfd7e4;
  padding: 9px;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions button {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--blue);
  color: white;
}

.admin-actions .danger {
  background: #a33d3d;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    padding: 12px 20px;
  }

  .brand {
    font-size: 17px;
  }

  .divider {
    margin: 0 8px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 20px;
    background: white;
    box-shadow: 0 18px 38px rgba(20, 31, 52, 0.12);
  }

  .main-nav.open {
    display: grid;
  }

  .hero {
    min-height: 520px;
    align-items: end;
    flex-direction: column;
    justify-content: center;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-button {
    position: relative;
    right: auto;
    top: auto;
    align-self: flex-start;
    transform: none;
  }

  .quickfacts,
  .intro-grid,
  .perspective-grid,
  .expect-program,
  .expect-grid,
  .form-grid,
  .choice-row {
    grid-template-columns: 1fr;
  }

  .quickfacts article,
  .perspective-grid article,
  .expect-grid article {
    border-right: 0;
    border-bottom: 2px solid var(--line);
    padding: 24px 0;
  }

  .quickfacts article:last-child,
  .perspective-grid article:last-child,
  .expect-grid article:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .perspectives,
  .expect {
    gap: 30px;
  }

  .program dl {
    margin-top: 42px;
  }
}

@media (max-width: 560px) {
  .brand-sunne,
  .divider {
    display: none;
  }

  .hero {
    min-height: 590px;
    padding-top: 34px;
    background-position: 72% top;
  }

  .hero h1 {
    font-size: 45px;
  }

  .lead {
    font-size: 18px;
  }

  .lead,
  .intro-grid p,
  .perspective-grid p,
  .expect-grid p {
    letter-spacing: 0.04em;
  }

  .quickfacts {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .registration {
    padding-top: 58px;
  }

  .registration p {
    font-size: 18px;
  }

  .program dl {
    grid-template-columns: 78px 1fr;
    gap: 22px;
  }

  .contact-grid {
    gap: 42px;
  }
}
