:root {
  --bg: #0b0b0d; --fg: #f2efe9; --muted: #8b8680; --accent: #e03e7c;
  --card: #15141a; --line: #24222b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--accent); }
.tt-header { display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; border-bottom: 1px solid var(--line);
  position: relative; }
.tt-brand { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tt-nav { display: flex; gap: 1.25rem; align-items: center; }
.tt-nav form.tt-inline button { background: none; border: 0; color: var(--fg); cursor: pointer; }

.tt-burger {
  display: none;
  background: none; border: 0; padding: 0.4rem; cursor: pointer;
  width: 2.4rem; height: 2.4rem;
  flex-direction: column; justify-content: center; gap: 5px;
  position: relative; z-index: 45;
}
.tt-burger span {
  display: block; width: 1.5rem; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.tt-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tt-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tt-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

@media (max-width: 760px) {
  .tt-header { padding: 0.85rem 1rem; position: relative; z-index: 40; }
  .tt-brand { position: relative; z-index: 45; }
  .tt-burger { display: flex; }

  .tt-nav {
    position: fixed; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0;
    background: radial-gradient(ellipse at top, #1a1520 0%, var(--bg) 70%);
    padding: 5rem 1.5rem 2rem;
    z-index: 35;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
    overflow-y: auto;
  }
  .tt-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s;
  }

  .tt-nav > a,
  .tt-nav > form.tt-inline {
    width: 100%; max-width: 22rem;
    text-align: center;
    padding: 1rem 0.5rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.15s;
  }
  .tt-nav > a:hover { color: var(--accent); }
  .tt-nav > form.tt-inline button {
    background: none; border: 0; color: var(--fg);
    font: inherit; letter-spacing: inherit;
    cursor: pointer; width: 100%; padding: 0;
  }
  .tt-nav > form.tt-inline button:hover { color: var(--accent); }

  .tt-nav.is-open > a,
  .tt-nav.is-open > form.tt-inline { opacity: 1; transform: translateY(0); }
  .tt-nav.is-open > *:nth-child(1) { transition-delay: 0.08s; }
  .tt-nav.is-open > *:nth-child(2) { transition-delay: 0.14s; }
  .tt-nav.is-open > *:nth-child(3) { transition-delay: 0.20s; }
  .tt-nav.is-open > *:nth-child(4) { transition-delay: 0.26s; }
  .tt-nav.is-open > *:nth-child(5) { transition-delay: 0.32s; }
  .tt-nav.is-open > *:nth-child(6) { transition-delay: 0.38s; }
  .tt-nav.is-open > *:nth-child(7) { transition-delay: 0.44s; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .tt-nav, .tt-nav > a, .tt-nav > form.tt-inline { transition: opacity 0.15s, visibility 0s; transform: none; }
  .tt-nav.is-open > *:nth-child(n) { transition-delay: 0s; }
}
.tt-main { max-width: 1080px; margin: 0 auto; padding: 2rem; }
.tt-hero, .tt-gate { text-align: center; padding: 4rem 1rem; }
.tt-tagline { color: var(--muted); }
.tt-cta { display: inline-block; padding: 0.85rem 1.6rem; background: var(--accent);
  color: #fff; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; }
.tt-cta:hover { filter: brightness(1.1); color: #fff; }
.tt-small { color: var(--muted); font-size: 0.85rem; }
.tt-gate__form { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }
.tt-gate__leave { align-self: center; color: var(--muted); }
.tt-footer { border-top: 1px solid var(--line); padding: 1.2rem; text-align: center; color: var(--muted); }
.tt-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem; margin-bottom: 1rem; }
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.tt-badge { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; border: 1px solid var(--line); color: var(--muted); margin-right: 0.3rem; }
.tt-messages { list-style: none; padding: 0; }
.tt-msg { padding: 0.7rem 1rem; border-radius: 8px; margin-bottom: 0.5rem; background: var(--card); }
.tt-msg--error { border-left: 3px solid #e24040; }
.tt-msg--success { border-left: 3px solid #49c27c; }
input, select, textarea { background: var(--card); color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.6rem; width: 100%; }
label { display: block; margin: 0.8rem 0 0.3rem; color: var(--muted); font-size: 0.9rem; }
form.tt-form button[type="submit"] { margin-top: 1.2rem; }
