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

  :root {
    --gold: #C8860A;
    --gold-light: #F0B84A;
    --gold-pale: #FDF3DC;
    --brown: #5C3A0E;
    --brown-dark: #3B2006;
    --cream: #FFFBF0;
    --ink: #2A1A08;
    --muted: #7A5C3A;
    --border: rgba(120, 80, 20, 0.18);
    --card-bg: #FFFDF5;
    --red-accent: #8B2020;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ── CONFETTI ── */
  #confetti-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    background: linear-gradient(160deg, var(--brown-dark) 0%, #7B3F0E 55%, #9E5014 100%);
    padding: 80px 24px 100px;
    text-align: center;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(circle at 20% 50%, rgba(200, 134, 10, 0.18) 0%, transparent 60%),
      radial-gradient(circle at 80% 20%, rgba(240, 184, 74, 0.12) 0%, transparent 50%);
  }

  .hero-badge {
    display: inline-block;
    background: rgba(200, 134, 10, 0.25);
    border: 1px solid rgba(240, 184, 74, 0.4);
    color: var(--gold-light);
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
  }

  .hero-school {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(240, 184, 74, 0.7);
    margin-bottom: 18px;
  }

  .hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 10vw, 88px);
    font-weight: 900;
    color: #fff;
    line-height: 1.0;
    margin-bottom: 8px;
  }

  .hero-name span {
    color: var(--gold-light);
    font-style: italic;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(18px, 3vw, 26px);
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
  }

  .hero-tagline {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 400;
    color: var(--gold-light);
    position: relative;
  }

  .hero-tagline::before,
  .hero-tagline::after {
    content: '✦';
    font-style: normal;
    font-size: 0.5em;
    vertical-align: middle;
    margin: 0 14px;
    opacity: 0.6;
  }

  .hero-wave {
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 60px;
    overflow: hidden;
  }

  .hero-wave svg { display: block; }

  /* ── STATS STRIP ── */
  .stats {
    background: var(--gold);
    padding: 28px 24px;
    display: flex;
    justify-content: center;
    gap: clamp(24px, 6vw, 80px);
    flex-wrap: wrap;
  }

  .stat {
    text-align: center;
    color: var(--brown-dark);
  }

  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    display: block;
  }

  .stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: 4px;
    display: block;
  }

  /* ── LAYOUT ── */
  .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* ── SECTION HEADING ── */
  .section-head {
    text-align: center;
    padding: 64px 0 40px;
  }

  .section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 10px;
  }

  .section-head p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
  }

  .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 16px auto;
    border-radius: 2px;
  }

  /* ── FORM ── */
  .form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 4px 32px rgba(90, 40, 0, 0.07);
    margin-bottom: 56px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  @media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px 20px; }
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .form-group.full { grid-column: 1 / -1; }

  label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
  }

  input[type="text"],
  textarea {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
  }

  input[type="text"]:focus,
  textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 134, 10, 0.12);
  }

  textarea { min-height: 110px; }

  .submit-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: var(--brown-dark);
    color: var(--gold-light);
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
  }

  .submit-btn:hover { background: var(--brown); }
  .submit-btn:active { transform: scale(0.99); }

  .form-error {
    color: var(--red-accent);
    font-size: 12px;
    margin-top: 4px;
    display: none;
  }

  /* ── MESSAGES ── */
  #messages-section { padding-bottom: 80px; }

  #msg-count {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px;
  }

  .msg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }

  .msg-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    position: relative;
    box-shadow: 0 2px 12px rgba(90, 40, 0, 0.05);
    animation: fadeUp 0.4s ease both;
  }

  .msg-card::before {
    content: '\201C';
    position: absolute;
    top: 12px; left: 18px;
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    line-height: 1;
    color: var(--gold-light);
    opacity: 0.5;
    pointer-events: none;
  }

  .msg-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    padding-top: 18px;
    margin-bottom: 16px;
    word-break: break-word;
  }

  .msg-author {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--gold);
    font-weight: 700;
  }

  .msg-date {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
  }

  .no-msgs {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
  }

  /* ── SUCCESS TOAST ── */
  .toast {
    position: fixed;
    bottom: 28px; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--brown-dark);
    color: var(--gold-light);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 200;
    pointer-events: none;
  }

  .toast.show { transform: translateX(-50%) translateY(0); }

  /* ── FOOTER ── */
  footer {
    background: var(--brown-dark);
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 28px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  footer strong { color: var(--gold-light); }

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