/* ============================================================
   CandyInject — dark coral theme
   ============================================================ */

:root {
  --bg: #140F0F;
  --bg-2: #1C1514;
  --bg-3: #241A19;
  --ink: #F7EDEA;
  --ink-muted: #CBBBB5;
  --ink-faint: #A8948E;
  --coral: #FF6F61;
  --coral-deep: #E85B4E;
  --coral-dark: #C7443A;
  --pale: #FFE4E1;
  --line: #322523;
  --line-soft: #2A1E1C;
  --maxw: 1180px;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pale);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid var(--coral);
  background: var(--coral);
  color: #1A0F0D;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--pale);
  border-color: var(--pale);
  color: #1A0F0D;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--pale);
  border-color: var(--pale);
}

.btn-ghost:hover {
  background: var(--pale);
  color: #1A0F0D;
}

/* ============================================================
   NAVIGATION — top bar with lollipop icon
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #140F0F;
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* lollipop icon */
.candy-nav {
  width: 34px;
  height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.candy-head {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--coral);
  position: relative;
  background: #1A0F0D;
  box-shadow: 0 0 12px 0 #FF6F61;
}

.candy-head::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed var(--pale);
  animation: spin 14s linear infinite;
}

.candy-head::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.candy-stick {
  width: 4px;
  height: 14px;
  background: var(--coral);
  border-radius: 0 0 4px 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.nav-wordmark {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.nav-wordmark span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   HERO — framed emblem hero
   ============================================================ */
.hero-section {
  position: relative;
  padding: 84px 0 96px;
  background: radial-gradient(circle at 78% 20%, #2A1A17 0%, #140F0F 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero-title .accent {
  color: var(--coral);
}

.hero-sub {
  color: var(--ink-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* emblem */
.emblem-hero {
  position: relative;
  width: 320px;
  height: 320px;
  display: grid;
  place-items: center;
  justify-self: center;
}

.emblem-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #FF6F61 0%, rgba(255, 111, 97, 0.28) 38%, rgba(20, 15, 15, 0) 68%);
  filter: blur(6px);
}

.emblem-frame {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8px #140F0F;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
}

.emblem-ring-outer {
  inset: 22px;
  border: 3px solid var(--coral);
}

.emblem-ring-mid {
  inset: 52px;
  border: 2px dashed var(--pale);
  animation: spin 30s linear infinite;
}

.emblem-disc {
  position: absolute;
  inset: 92px;
  border-radius: 50%;
  background: var(--coral-deep);
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px;
}

.emblem-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pale);
}

/* ============================================================
   STATEMENT row
   ============================================================ */
.statement-section {
  padding: 88px 0;
  background-color: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.statement-text {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 900px;
}

.statement-text .accent {
  color: var(--coral);
}

.statement-sub {
  margin-top: 26px;
  color: var(--ink-muted);
  max-width: 680px;
  font-size: 1.05rem;
}

/* ============================================================
   STATS band
   ============================================================ */
.stats-section {
  padding: 80px 0;
  background-color: var(--bg-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.stat {
  padding: 8px 0 0;
}

.stat-num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--coral);
}

.stat-label {
  margin-top: 16px;
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================================
   BENTO grid
   ============================================================ */
.bento-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.section-head {
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bento-cell {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 28px;
  background: var(--bg-2);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-cell:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -24px #FF6F61;
}

.bento-cell.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, #2A1A17 0%, #1C1514 100%);
}

.bento-cell.bento-wide {
  grid-column: span 2;
}

.bento-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
}

.bento-large .bento-title {
  font-size: 2rem;
}

.bento-text {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.bento-large .bento-text {
  font-size: 1.1rem;
  max-width: 520px;
}

/* ============================================================
   QUOTE row
   ============================================================ */
.quotes-section {
  padding: 88px 0;
  background-color: var(--bg-2);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.quote-item {
  padding: 6px 6px 6px 26px;
  border-left: 3px solid var(--coral);
}

.quote-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.quote-author {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px;
  background: linear-gradient(150deg, #1F1614 0%, #140F0F 100%);
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-copy {
  color: var(--ink-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-meta {
  margin-top: 26px;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.cta-meta a {
  color: var(--pale);
}

/* contact form inside CTA band */
.contact-form {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  background: #0E0A0A;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ============================================================
   FOOTER — two-row stacked
   ============================================================ */
.footer {
  background-color: #0E0A0A;
  border-top: 1px solid var(--line);
}

.footer-top {
  padding: 40px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-company {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.footer-contact {
  text-align: right;
  border-top: 1px solid var(--coral);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact a {
  color: var(--ink-muted);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--pale);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 26px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.footer-nav a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--coral);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-legal a:hover {
  color: var(--coral);
}

.footer-copy {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* ============================================================
   Reveal animation (safe without JS)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .emblem-hero {
    width: 260px;
    height: 260px;
  }
  .emblem-ring-outer { inset: 16px; }
  .emblem-ring-mid { inset: 42px; }
  .emblem-disc { inset: 74px; padding: 20px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-cell.bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .statement-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #140F0F;
    border-bottom: 1px solid var(--line);
    padding: 22px 28px;
    gap: 20px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-cell.bento-large,
  .bento-cell.bento-wide {
    grid-column: span 1;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-legal {
    flex-wrap: wrap;
  }
  .footer-contact {
    text-align: left;
  }
}
