:root {
  --bg: #f4f4f2;
  --bg-elevated: #ffffff;
  --ink: #111111;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, 0.1);
  --orange: #ff4d12;
  --orange-hot: #ff6a33;
  --orange-deep: #e03d08;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-display: "Orbitron", sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --container: min(1160px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-1: 0 4px 12px rgba(17, 17, 17, 0.06);
  --shadow-2: 0 14px 34px rgba(17, 17, 17, 0.1);
  --shadow-3: 0 28px 60px rgba(17, 17, 17, 0.14);
  --shadow-orange: 0 16px 40px rgba(255, 77, 18, 0.32);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(255, 77, 18, 0.07), transparent 55%),
    linear-gradient(180deg, #f7f7f5 0%, var(--bg) 40%, #efefed 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}
a:hover { color: var(--orange-deep); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--orange); color: #fff;
  padding: 0.65rem 1rem; font-weight: 600; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: var(--container); margin-inline: auto; }

.section {
  position: relative;
  padding: clamp(4.2rem, 8vw, 6.8rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--orange);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  max-width: 16ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  text-wrap: balance;
}

h3 { font-size: 1.12rem; }

.section-lead,
.hero-lead {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.section-lead strong { color: var(--ink); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--orange);
  padding: 0.42rem 0.55rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 77, 18, 0.35);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

.site-nav .nav-cta {
  color: #fff;
  background: var(--orange);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: var(--shadow-orange);
}
.site-nav .nav-cta:hover {
  background: var(--orange-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 2.7rem; height: 2.7rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  padding: 0; cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem; height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons — volume */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.15rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  color: #fff;
  box-shadow:
    var(--shadow-orange),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  color: #fff;
  box-shadow:
    0 20px 46px rgba(255, 77, 18, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-1), inset 0 1px 0 #fff;
}
.btn-ghost:hover {
  border-color: rgba(17, 17, 17, 0.22);
  box-shadow: var(--shadow-2);
  color: var(--ink);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--shadow-2);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
}

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.35rem;
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { color: var(--orange-deep); gap: 0.5rem; }

/* Hero — mono split + volumetric frame */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.brand-signal {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

.hero-location {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 { margin-bottom: 1rem; }

.hero-lead {
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-frame {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  box-shadow:
    var(--shadow-3),
    0 0 0 1px rgba(17, 17, 17, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%);
  border-radius: inherit;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: auto -8% -12% 20%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(255, 77, 18, 0.28), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

.hero-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow:
    0 36px 70px rgba(17, 17, 17, 0.18),
    0 0 0 1px rgba(17, 17, 17, 0.06);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.2rem;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 77, 18, 0.15);
}

.about-visual,
.discipline-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-3);
  position: relative;
}

.about-visual::before,
.discipline-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.about-visual img,
.discipline-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.about-visual:hover img,
.discipline-visual:hover img { transform: scale(1.04); }

/* Discipline */
.discipline {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.65), transparent);
}

.discipline-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.discipline-visual {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.discipline-points { display: grid; gap: 0.75rem; }

.point {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.point p,
.tech-spec li {
  margin: 0;
  color: var(--muted);
}

.tech-spec {
  margin-top: 0.35rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 77, 18, 0.2);
  background: #fff;
  box-shadow: var(--shadow-2), inset 0 1px 0 #fff;
}

.tech-spec ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}
.tech-spec strong { color: var(--ink); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3);
}

.service-tag {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.service-card p:not(.service-tag) {
  color: var(--muted);
  flex: 1;
  margin: 0;
}

/* Events */
.events-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.4rem;
  align-items: start;
}

.events-list { display: grid; gap: 0.85rem; }

.event-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.event-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.event-time { color: var(--muted); font-size: 0.84rem; }
.event-body h3 { margin-bottom: 0.25rem; }
.event-body p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.event-form,
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.55rem 1.45rem;
  box-shadow: var(--shadow-3);
}

.event-form h3 { margin-bottom: 0.4rem; }

.form-note,
.form-alt {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafafa;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(17, 17, 17, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 77, 18, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 77, 18, 0.12);
  background: #fff;
}

.form-success {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  background: rgba(255, 77, 18, 0.08);
  border: 1px solid rgba(255, 77, 18, 0.2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.92rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
}

.gallery-item {
  margin: 0;
  grid-column: span 2;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
}

.gallery-item--wide {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item--wide img {
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* Community */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote {
  margin: 0;
  padding: 1.55rem 1.4rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease-out);
}
.quote:hover { transform: translateY(-5px); }

.quote p { margin: 0 0 1rem; font-size: 1.02rem; }
.quote footer { color: var(--muted); font-size: 0.86rem; }

.community-cta {
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.community-cta p { color: var(--muted); margin: 0 0 1rem; }

/* Contact */
.contact { padding-bottom: clamp(4.5rem, 9vw, 7rem); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-dl { margin: 1.4rem 0 0; }
.contact-dl > div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.contact-dl dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.contact-dl dd { margin: 0; color: var(--muted); }

.contact-dl a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 77, 18, 0.35);
}
.contact-dl a:hover { color: var(--orange); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.6rem;
  background: #fff;
  box-shadow: 0 -10px 30px rgba(17, 17, 17, 0.03);
}

.footer-inner { display: grid; gap: 0.6rem; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.footer-note { font-size: 0.8rem !important; opacity: 0.75; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero-layout,
  .about-grid,
  .discipline-layout,
  .services-grid,
  .events-layout,
  .quotes,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-frame {
    transform: none;
    order: -1;
  }
  .hero-frame img { aspect-ratio: 16 / 11; }

  .discipline-visual { position: static; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-2);
    backdrop-filter: blur(12px);
  }
  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-cta {
    margin-top: 0.85rem;
    text-align: center;
    border: none;
  }

  .brand-signal { font-size: clamp(2.4rem, 13vw, 3.8rem); }
  h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-frame,
  .gallery-item img,
  .about-visual img { transition: none; transform: none; }
}
