/* ===================================================================
   TSBN — This Should Be Normal
   Design tokens sourced directly from the supplied reference design.
   =================================================================== */

:root {
  /* Color */
  --bg:            #0a0a0a;
  --bg-raised:     #121212;
  --bg-input:      #131313;
  --border-subtle: #232323;
  --border-input:  #2a2a2a;

  --cream:         #f3dfc4;   /* card backgrounds */
  --cream-deep:    #eed6be;

  --ink:           #0a0a0a;   /* text printed on cream/peach */

  --white:         #f7f4ee;
  --white-soft:    #e9e4da;

  --text-muted:    #a39a8d;   /* body copy on dark bg */
  --text-faint:    #6f675c;

  --accent:        #f1c79c;   /* peach accent (eyebrows, links, dots) */
  --accent-strong: #e8a878;   /* darker peach for emphasis/hover */

  --btn-grad-start:#f6cea9;
  --btn-grad-end:  #f1bd8f;

  --suit-red:      #b8483a;   /* hearts / diamonds */
  --suit-ink:      #1a1410;   /* spades / clubs on cream */

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --wrap-max: 1180px;
  --wrap-pad: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  :root { --wrap-pad: 40px; }
}
@media (min-width: 1024px) {
  :root { --wrap-pad: 56px; }
}

/* ===================== Reset ===================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

/* ===================== Shared bits ===================== */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 17px 28px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, var(--btn-grad-start), var(--btn-grad-end));
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(241, 199, 156, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(241, 199, 156, 0.45);
}

.btn-primary:active { transform: translateY(0); }

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-full { width: 100%; }

/* ===================== Header ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-mark {
  height: 64px;
  width: auto;
}

.logo { display: inline-flex; }

.main-nav {
  display: none;
  gap: 40px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-soft);
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}

.main-nav a:hover { color: var(--accent); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav.is-open { max-height: 280px; }

.mobile-nav a {
  padding: 16px var(--wrap-pad);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 860px) {
  .mobile-nav { display: none; }
}

/* ===================== Hero ===================== */

.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(184, 110, 58, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  line-height: 1.04;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 36px;
}

.hero-art {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 11;
}

.hero-art-fade {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 82% 90% at 50% 62%, #000 22%, transparent 62%);
  mask-image: radial-gradient(ellipse 82% 90% at 50% 62%, #000 22%, transparent 62%);
}

.hero-art-fade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

@media (max-width: 899px) {
  .hero-art { aspect-ratio: 4 / 3; max-width: 520px; margin-inline: auto; }
}

/* ===================== Game / Carousel ===================== */

.game {
  padding-block: 56px 80px;
}

.statement-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  color: var(--white);
  max-width: 26ch;
  margin: 0 auto 48px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-arrow {
  flex: none;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.carousel-arrow svg { width: 16px; height: 16px; }

.carousel-arrow:hover {
  border-color: var(--accent);
  background: rgba(241, 199, 156, 0.08);
}

@media (min-width: 760px) {
  .carousel-arrow { display: flex; }
}

.card-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.card-track::-webkit-scrollbar { display: none; }

.card {
  scroll-snap-align: start;
  flex: 0 0 190px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
}

.card img {
  width: 100%;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-subtle);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.dot.is-active {
  background: var(--accent-strong);
  transform: scale(1.3);
}

/* ===================== Submit Section ===================== */

.submit-section {
  padding-block: 80px;
  border-top: 1px solid var(--border-subtle);
}

.submit-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .submit-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

.submit-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.1rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.submit-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 38ch;
  margin-bottom: 32px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--white-soft);
}

.benefit-list svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}

.submit-form {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.field textarea,
.field select,
.field input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  color: var(--white-soft);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s var(--ease);
  resize: vertical;
}

.field textarea::placeholder,
.field input::placeholder { color: var(--text-faint); }

.field textarea:focus,
.field select:focus,
.field input:focus {
  border-color: var(--accent-strong);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23a39a8d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select:invalid { color: var(--text-faint); }

.submit-form .btn-full { margin-top: 6px; }

.form-fineprint {
  margin-top: 16px;
  font-size: 12.5px;
  text-align: center;
  color: var(--text-faint);
}

.form-fineprint a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(241, 199, 156, 0.4);
}

.form-fineprint a:hover { text-decoration-color: var(--accent); }

/* ===================== Pull Quote ===================== */

.pull-quote {
  padding-block: 88px 96px;
  text-align: center;
}

.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.55;
  color: var(--white-soft);
  max-width: 56ch;
  margin: 0 auto;
}

.pull-quote strong {
  font-weight: 700;
  font-style: normal;
  color: var(--white);
}

.quote-mark {
  font-family: var(--font-display);
  color: var(--accent);
  font-style: normal;
  font-size: 1.3em;
  vertical-align: -0.08em;
}

.quote-divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  margin: 32px auto 0;
}

/* ===================== Footer ===================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.footer-brand .logo-mark {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34ch;
}

.footer-col-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-muted);
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--white); }

.social-row {
  display: flex;
  gap: 14px;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--white-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-row svg { width: 17px; height: 17px; }

.social-row a:hover {
  border-color: var(--accent-strong);
  color: var(--accent);
}

.footer-bottom {
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}
