@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&family=Permanent+Marker&family=Kalam:wght@400;700&display=swap');

:root {
  --csa-blue: #4fa9dd;
  --csa-blue-dark: #1f4f78;
  --csa-gold: #f4b81a;
  --csa-purple: #8b5fc4;
  --csa-purple-dark: #4a2f70;
  --csa-orange: #e8632c;
  --ink: #0c0f16;
  --ink-2: #12161f;
  --white: #fdfbf5;
  --line: rgba(246, 241, 230, 0.14);

  /* catalog / lookbook paper theme */
  --paper: #efe7d2;
  --paper-2: #e6dbb9;
  --paper-edge: #d9cca0;
  --ink-text: #201b12;
  --rule: #142748;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-text);
  font-family: 'Oswald', sans-serif;
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(23,51,92,0.05) 1px, transparent 1px);
  background-size: 14px 14px;
}

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

h1, h2, h3, .display {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

a { color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- GATE INTRO (full-screen, no loading UI) ---------- */
body.gate-loading { overflow: hidden; height: 100vh; }

.gate-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d1b30;
  overflow: hidden;
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1), visibility 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.gate-intro.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.08);
}

.gate-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gate-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gate-img.show { opacity: 1; }

/* ---------- NAV ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(12,15,22,0.9), rgba(12,15,22,0));
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(239,231,210,0.94);
  border-bottom: 2px solid var(--rule);
  color: var(--ink-text);
}
.navbar.scrolled .brand,
.navbar.scrolled nav a { color: var(--ink-text); }
.navbar.scrolled nav a::after { background: var(--csa-orange); }

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.navbar .brand img { height: 38px; width: auto; border-radius: 3px; }

.navbar nav {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.navbar nav a { text-decoration: none; opacity: 0.85; position: relative; padding-bottom: 4px; color: var(--white); }
.navbar nav a:hover { opacity: 1; }
.navbar nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--csa-gold); transition: width 0.25s ease;
}
.navbar nav a:hover::after { width: 100%; }

/* ---------- HERO / INTRO (full-screen splash that fades away) ---------- */
.hero {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1c3a63 0%, var(--rule) 70%);
  transition: opacity 1.1s ease, visibility 1.1s ease;
}
.hero.gone { opacity: 0; visibility: hidden; pointer-events: none; }
body.welcome-active { overflow: hidden; height: 100vh; }

/* corner tag, cactus-jack/fragment style */
.corner-tag {
  position: absolute;
  top: 92px;
  left: 22px;
  z-index: 5;
  padding: 10px 16px 10px 14px;
  text-align: left;
  color: var(--white);
}
.corner-tag::before, .corner-tag::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--csa-gold);
  border-style: solid;
}
.corner-tag::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.corner-tag::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.corner-tag .tag-title {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.corner-tag .tag-title svg { width: 14px; height: 14px; fill: var(--csa-gold); }
.corner-tag .tag-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(253,251,245,0.65);
  margin-top: 3px;
}

.hero-bg-video, .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(0.85) saturate(1.15);
}
.hero-bg-video.ready, .hero-bg-img.ready { opacity: 1; }
.hero-bg-video.faded { opacity: 0; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,48,0.15) 0%, rgba(13,27,48,0.35) 55%, rgba(13,27,48,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

/* CSS fallback attack stage: shown until video is ready or if video fails */
.attack-stage {
  position: relative;
  width: min(90vw, 640px);
  height: min(56vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.attack-stage .letters {
  display: flex;
  font-family: 'Anton', sans-serif;
  font-size: clamp(3.2rem, 14vw, 8rem);
  line-height: 1;
  -webkit-text-stroke: 3px var(--ink);
  opacity: 0;
  transform: scale(0.7);
  animation: lettersIn 0.7s 0.3s cubic-bezier(.2,1.4,.4,1) forwards;
}
.attack-stage .letters span { display: inline-block; }
.attack-stage .letters .c { color: var(--csa-blue); }
.attack-stage .letters .s { color: var(--csa-gold); }
.attack-stage .letters .a { color: var(--csa-purple); }

.attack-stage .letters.impact {
  animation: shake 0.45s 1.05s ease;
}

.claw-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.claw-marks svg { width: 100%; height: 100%; }
.claw-marks path {
  stroke: var(--white);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
}
.claw-marks.strike {
  animation: clawFlash 0.5s 0.95s ease forwards;
}
.claw-marks.strike path { animation: clawDraw 0.35s 0.95s ease forwards; }
.claw-marks.strike path:nth-child(2) { animation-delay: 1.0s; }
.claw-marks.strike path:nth-child(3) { animation-delay: 1.05s; }

.impact-flash {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  pointer-events: none;
}
.impact-flash.pop { animation: flashPop 0.4s 1.0s ease forwards; }

@keyframes lettersIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0) rotate(-0.5deg); }
  20%, 80% { transform: translate3d(3px, 0, 0) rotate(0.5deg); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0) rotate(-1deg); }
  40%, 60% { transform: translate3d(6px, 0, 0) rotate(1deg); }
}
@keyframes clawDraw { to { stroke-dashoffset: 0; } }
@keyframes clawFlash { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0.85; } }
@keyframes flashPop { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }

.hero-tagline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 1.5s ease forwards;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.hero-sub {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: var(--csa-gold);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 1.75s ease forwards;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Floating alarm-clock countdown — fixed, follows scroll everywhere */
.alarm-clock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--rule);
  border: 2px solid var(--csa-gold);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 1.9s ease forwards;
}
.countdown-label {
  font-family: 'Permanent Marker', cursive;
  color: var(--csa-gold);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  grid-template-rows: repeat(2, 52px);
  gap: 6px;
}
.w-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
}
.w-tile b {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
}
.w-unit {
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.w-days {
  grid-column: span 2;
  background: var(--csa-blue);
  border-radius: 14px;
  flex-direction: row;
  gap: 5px;
}
.w-days b { color: var(--ink); font-size: 1.3rem; }
.w-days .w-unit { color: var(--ink); margin-top: 0; }

.w-char {
  background: var(--csa-orange);
  border-radius: 50%;
  position: relative;
}
/* This video is the hidden source frames get chroma-keyed from; it must stay off-screen
   rather than display:none, since browsers auto-pause display:none videos after a moment. */
.alarm-char-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.w-char img,
.w-char .alarm-char-canvas {
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.w-char img {
  transform-origin: 50% 85%;
  animation: anxiousShake 2.4s ease-in-out infinite;
}
.w-char img.js-hidden { display: none; }
.w-char .alarm-char-canvas.js-hidden { display: none; }
/* Constant nervous jitter with a bigger panicked "ring" burst each cycle —
   like a clock that knows you're about to be late for class */
@keyframes anxiousShake {
  0%   { transform: translate(0,0) rotate(0deg); }
  5%   { transform: translate(-1px,1px) rotate(-1.5deg); }
  10%  { transform: translate(1px,-1px) rotate(1.5deg); }
  15%  { transform: translate(-1px,-1px) rotate(-1deg); }
  20%  { transform: translate(1px,1px) rotate(1deg); }
  25%  { transform: translate(-1px,0) rotate(-1.5deg); }
  30%  { transform: translate(1px,0) rotate(1.5deg); }
  35%  { transform: translate(0,-1px) rotate(-1deg); }
  40%  { transform: translate(0,0) rotate(0deg); }
  48%  { transform: translate(0,0) rotate(0deg); }
  50%  { transform: translate(-3px,2px) rotate(-7deg); }
  52%  { transform: translate(3px,-2px) rotate(7deg); }
  54%  { transform: translate(-3px,1px) rotate(-6deg); }
  56%  { transform: translate(3px,-1px) rotate(6deg); }
  58%  { transform: translate(-2px,2px) rotate(-4deg); }
  60%  { transform: translate(2px,-2px) rotate(4deg); }
  62%  { transform: translate(-1px,1px) rotate(-2deg); }
  64%  { transform: translate(1px,-1px) rotate(2deg); }
  68%  { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}

.w-hours {
  background: var(--ink);
  border: 2px solid var(--csa-gold);
  border-radius: 50%;
}
.w-hours b { color: var(--csa-gold); }
.w-hours .w-unit { color: var(--csa-gold); }

.w-minutes {
  background: var(--csa-gold);
  border-radius: 12px;
}
.w-minutes b { color: var(--ink); }
.w-minutes .w-unit { color: var(--ink); }

.w-seconds {
  background: var(--csa-purple);
  border-radius: 50%;
}
.w-seconds b { color: var(--white); }
.w-seconds .w-unit { color: var(--white); }

.w-label {
  background: transparent;
  border: 2px solid rgba(244,184,26,0.5);
  border-radius: 12px;
}
.w-label span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .alarm-clock { right: 12px; bottom: 12px; padding: 8px 10px; }
  .widget-grid { grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(2, 40px); gap: 4px; }
  .w-tile b { font-size: 0.85rem; }
  .w-days b { font-size: 1rem; }
  .w-unit { font-size: 0.42rem; }
  .w-label span { font-size: 0.48rem; }
  .countdown-label { font-size: 0.56rem; }
  /* The source clip is a 1:1 square; on a tall portrait screen "contain" inside a
     full-height box leaves huge empty bars above/below and reads as tiny. Instead,
     size the element itself as a true square (full width, height:auto) so the video
     fills its own box completely — no cropping, no dead space, no distortion. */
  .hero-bg-video, .hero-bg-img {
    top: 50%;
    bottom: auto;
    left: 0;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
  }
}


.btn-apply {
  display: inline-block;
  background: linear-gradient(135deg, var(--csa-gold), #d99a0e);
  color: var(--ink);
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  padding: 16px 42px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(244,184,26,0.6);
  animation: glowPulse 2.4s 2.8s ease-in-out infinite;
  border: 2px solid #fff2c9;
}
.btn-apply:hover { transform: translateY(-2px); }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,184,26,0.55); }
  50% { box-shadow: 0 0 32px 6px rgba(244,184,26,0.55); }
}

.hero-meta {
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,251,245,0.7);
  opacity: 0;
  animation: fadeUp 0.7s 2.3s ease forwards;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 40px;
  border: 2px solid rgba(253,251,245,0.6);
  border-radius: 14px;
  opacity: 0;
  animation: fadeUp 0.7s 2.4s ease forwards;
}
.scroll-cue::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--csa-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: cueDrop 1.6s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { top: 6px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}

/* ---------- SECTIONS (paper theme) ---------- */
section { padding: 100px 0; position: relative; background: var(--paper); }
.section-label {
  font-family: 'Permanent Marker', cursive;
  color: var(--csa-orange);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  color: var(--ink-text);
}
.section-intro {
  max-width: 680px;
  color: rgba(32,27,18,0.72);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 48px;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- SMACK STATEMENT (now folded into the Orientation/about section) ---------- */
.about { position: relative; overflow: hidden; }
.smack-impact {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,99,44,0.16) 0%, rgba(232,99,44,0) 68%);
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
}
.about.smacked .smack-impact {
  animation: smackFlash 0.9s ease-out forwards;
}
.smack-text {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink-text);
  max-width: 1100px;
  opacity: 0;
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}
.about.smacked .smack-text {
  animation: smackDrop 0.85s cubic-bezier(.2,.9,.3,1.1) forwards;
}
@keyframes smackDrop {
  0%   { transform: translateY(-220%) scale(1.4) rotate(-6deg); opacity: 0; }
  45%  { transform: translateY(4%) scale(1.03) rotate(2deg); opacity: 1; }
  55%  { transform: translateY(-3%) scale(1) rotate(-2deg); }
  65%  { transform: translateX(-1.5%) translateY(1%) rotate(1.2deg); }
  75%  { transform: translateX(1.5%) translateY(-0.5%) rotate(-1deg); }
  85%  { transform: translateX(-0.6%) rotate(0.4deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
}
@keyframes smackFlash {
  0%   { opacity: 0; transform: scale(0.3); }
  40%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* CREST PAGE (real first content page, revealed when the intro fades) */
.crest-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: radial-gradient(ellipse at center, #1c3a63 0%, var(--rule) 70%);
  border-bottom: 10px solid var(--paper);
  padding: 110px 0 80px;
}
.crest-page-inner { width: 100%; }
.crest-page-img {
  width: min(360px, 74vw);
  margin: 0 auto 14px;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.5));
}
.crest-page-tagline {
  font-family: 'Permanent Marker', cursive;
  color: var(--csa-gold);
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  margin-bottom: 34px;
}
.crest-page-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 26px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.crest-page-facts div {
  border-left: 3px solid var(--csa-gold);
  padding-left: 12px;
  font-size: 0.95rem;
  color: rgba(253,251,245,0.85);
}
.crest-page-facts b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 1.05rem;
  color: var(--csa-gold);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

/* ABOUT */
.about { border-top: 4px solid var(--rule); }
.about-body { max-width: 720px; }

.programs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.programs span {
  border: 2px solid rgba(32,27,18,0.25);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  background: var(--white);
}
.programs span:nth-child(1) { border-color: var(--csa-blue); color: var(--csa-blue-dark); }
.programs span:nth-child(2) { border-color: var(--csa-gold); color: #8a6404; }
.programs span:nth-child(3) { border-color: var(--csa-purple); color: var(--csa-purple-dark); }
.programs span:nth-child(4) { border-color: var(--csa-orange); color: #a34018; }
.programs span:nth-child(5) { border-color: var(--ink-text); color: var(--ink-text); }

/* ---------- APPLY (admissions form / carbon copy) ---------- */
.apply-section { border-top: 4px solid var(--rule); text-align: center; }
.apply-section .section-intro { margin-left: auto; margin-right: auto; }

.vendor-info {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vendor-info-single { grid-template-columns: 1fr; }
.vendor-info-block {
  background: var(--white);
  border: 2px solid rgba(32,27,18,0.18);
  border-radius: 10px;
  padding: 24px 26px;
}
.vendor-info-block h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  color: var(--ink-text);
  margin-bottom: 10px;
}
.vendor-info-block p {
  color: rgba(32,27,18,0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}
.vendor-info-block p + p { margin-top: 12px; }
.rental-rates-label {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  color: var(--ink-text);
  margin-top: 16px;
  margin-bottom: 6px;
}
.rental-rates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(32,27,18,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}
.rental-rates-list li::before { content: '\2713'; color: var(--csa-gold); margin-right: 8px; font-weight: 700; }
.form-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--ink-text);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--paper-edge);
  position: relative;
}
.form-wrap::before {
  content: 'ADMISSIONS FORM \2014 DETACH ALONG DOTTED LINE';
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--rule);
  padding: 8px 0;
  border-bottom: 2px dashed rgba(255,255,255,0.4);
}
/* Native application form */
.apply-form {
  padding: 32px 28px 36px;
  text-align: left;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-text);
}
.form-field-full { grid-column: 1 / -1; margin-top: 18px; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  padding: 10px 12px;
  border: 2px solid rgba(32,27,18,0.2);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink-text);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--csa-blue-dark);
}
.form-field textarea { resize: vertical; }

.tier-select { margin-top: 22px; }
.tier-select-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-text);
  margin-bottom: 10px;
}
.tier-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tier-option input { position: absolute; opacity: 0; pointer-events: none; }
.tier-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 2px solid rgba(32,27,18,0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-align: center;
}
.tier-option-card b { font-family: 'Anton', sans-serif; font-size: 0.95rem; letter-spacing: 0.02em; }
.tier-option-card em { font-style: normal; font-size: 0.75rem; color: rgba(32,27,18,0.6); }
.tier-option-card strong { font-family: 'Anton', sans-serif; color: var(--csa-orange); font-size: 1.1rem; }
.tier-option input:checked + .tier-option-card {
  border-color: var(--csa-gold);
  background: rgba(244,184,26,0.12);
  transform: translateY(-2px);
}
.tier-option input:focus-visible + .tier-option-card { outline: 2px solid var(--csa-blue-dark); }

.form-submit { margin-top: 26px; width: 100%; cursor: pointer; font-size: 1rem; }
.form-note {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 0.8rem;
  color: rgba(32,27,18,0.6);
  line-height: 1.5;
  text-align: center;
}
.text-link {
  color: var(--csa-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.text-link:hover { color: #a34018; }

/* ---------- TICKETS ---------- */
.tickets-section { border-top: 4px solid var(--rule); text-align: center; }
.tickets-section .section-intro { margin-left: auto; margin-right: auto; }
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.ticket-grid-single {
  grid-template-columns: 1fr;
  max-width: 380px;
}
.ticket-card {
  background: var(--white);
  border: 2px solid rgba(32,27,18,0.18);
  border-radius: 10px;
  padding: 28px 26px;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ticket-card:hover { transform: translateY(-6px); border-color: var(--csa-gold); }
.ticket-card.featured { border-color: var(--csa-purple); }
.ticket-badge {
  font-family: 'Permanent Marker', cursive;
  color: var(--csa-orange);
  font-size: 0.9rem;
  display: block;
}
.ticket-card.featured .ticket-badge { color: var(--csa-purple-dark); }
.ticket-price {
  font-family: 'Anton', sans-serif;
  font-size: 2.8rem;
  color: var(--ink-text);
  line-height: 1;
  margin: 10px 0 16px;
}
.ticket-perks { list-style: none; padding: 0; margin: 0; font-size: 0.92rem; color: rgba(32,27,18,0.8); line-height: 1.9; }
.ticket-perks li::before { content: '\2713'; color: var(--csa-gold); margin-right: 8px; font-weight: 700; }
.ticket-buy { margin-top: 30px; }

/* FOOTER */
footer {
  background: var(--rule);
  padding: 50px 0 30px;
  text-align: center;
  color: rgba(253,251,245,0.7);
  font-size: 0.85rem;
}
footer .foot-brand {
  font-family: 'Anton', sans-serif;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
footer .foot-tagline {
  color: var(--csa-gold);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .navbar nav { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .tier-options { grid-template-columns: 1fr; }
  .ticket-grid { grid-template-columns: 1fr; }
  .crest-page-facts { grid-template-columns: 1fr 1fr; }
  .vendor-info { grid-template-columns: 1fr; }
  .corner-tag .tag-title { font-size: 0.7rem; }
}
@media (max-width: 520px) {
  .crest-page-facts { grid-template-columns: 1fr; }
  .apply-form { padding: 24px 18px 30px; }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .form-field { font-size: 0.72rem; }
}
