/* ============================================================
   Iron Kids Co. — kitchen-table workshop aesthetic
   Charcoal + Amber · slab display + friendly grotesque
   ============================================================ */

:root {
  --charcoal: #23211e;
  --charcoal-2: #2b2926;
  --charcoal-3: #35322e;
  --amber: #f5a623;
  --amber-deep: #e8930c;
  --cream: #f6efe3;
  --kraft: #efe4d0;
  --kraft-deep: #d9c6a5;
  --ink-soft: rgba(35, 33, 30, 0.72);
  --cream-soft: rgba(246, 239, 227, 0.72);

  --display: "Alfa Slab One", Georgia, serif;
  --body: "Karla", "Segoe UI", sans-serif;
  --hand: "Caveat", cursive;

  --radius: 18px;
  --shadow-sticker: 0 2px 0 rgba(35, 33, 30, 0.9), 0 14px 30px rgba(35, 33, 30, 0.18);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--charcoal);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--charcoal); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: 0.5px; }

a { color: inherit; }

.hand {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--amber-deep);
  margin-bottom: 0.9rem;
}
.eyebrow--amber { color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 3px solid var(--charcoal);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}
.btn--amber {
  background: var(--amber);
  color: var(--charcoal);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}
.btn--amber:hover { background: var(--amber-deep); transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,0.35); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 239, 227, 0.4);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn--charcoal {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}
.btn--charcoal:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(0,0,0,0.25); color: var(--amber); }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.9rem; border-width: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(35, 33, 30, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 239, 227, 0.08);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav__badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--charcoal);
  font-family: var(--display);
  font-size: 1.05rem;
  border: 3px solid var(--charcoal);
  box-shadow: 0 0 0 2px var(--amber);
  transform: rotate(-6deg);
}
.nav__wordmark {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.nav__wordmark em { font-style: normal; color: var(--amber); }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream-soft);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--amber); }
.nav__actions { display: flex; align-items: center; gap: 0.8rem; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav__burger span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 9vw, 8rem);
  background: var(--charcoal);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.16) 0%, transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero__kicker { margin-bottom: 1.6rem; }
.tape {
  display: inline-block;
  background: rgba(245, 166, 35, 0.9);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.45rem 1.3rem;
  transform: rotate(-2deg);
  clip-path: polygon(2% 0, 98% 4%, 100% 96%, 0 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: 0.5px;
  margin-bottom: 1.6rem;
}
.hero__title span { display: block; }
.hero__title-accent {
  color: var(--amber);
  text-shadow: 4px 4px 0 rgba(232, 147, 12, 0.25);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-soft);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero__sub strong { color: var(--cream); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__note { margin-top: 1.6rem; color: var(--amber); opacity: 0.85; }

/* sticker pile */
.hero__pile {
  position: relative;
  min-height: 380px;
}
.sticker {
  position: absolute;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
  animation: float 7s ease-in-out infinite;
}
.sticker:hover { transform: scale(1.07) rotate(0deg) !important; }
.sticker svg { display: block; }
.sticker--1 { width: 44%; top: 2%;  left: 6%;  transform: rotate(-8deg); animation-delay: 0s; }
.sticker--2 { width: 42%; top: 6%;  right: 4%; transform: rotate(7deg);  animation-delay: 1.2s; }
.sticker--3 { width: 52%; top: 44%; left: 14%; transform: rotate(4deg);  animation-delay: 2.1s; }
.sticker--4 { width: 34%; top: 52%; right: 8%; transform: rotate(-10deg); animation-delay: 3s; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.hero__pile-note {
  position: absolute;
  bottom: -6%;
  right: 6%;
  color: var(--amber);
  transform: rotate(-4deg);
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--amber);
  color: var(--charcoal);
  overflow: hidden;
  border-top: 3px solid var(--charcoal);
  border-bottom: 3px solid var(--charcoal);
  padding: 0.75rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: scroll 26s linear infinite;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  white-space: nowrap;
}
.marquee__track i { font-style: normal; font-size: 0.8rem; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- story ---------- */
.story {
  background: var(--kraft);
  color: var(--charcoal);
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem);
  position: relative;
}
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.story__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.story__text h2 { margin-bottom: 1.4rem; }
.story__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 32rem; }
.story__text p em { font-style: italic; }
.story__sig { color: var(--amber-deep); font-size: 1.6rem; margin-top: 1.4rem; }
.underline-amber {
  background: linear-gradient(transparent 62%, rgba(245, 166, 35, 0.75) 62%, rgba(245, 166, 35, 0.75) 92%, transparent 92%);
  padding: 0 0.1em;
}

.story__card { position: relative; justify-self: center; }
.polaroid {
  background: #fffdf8;
  padding: 14px 14px 10px;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(35, 33, 30, 0.25);
  transform: rotate(2.5deg);
  max-width: 400px;
  position: relative;
}
.polaroid::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 110px;
  height: 30px;
  background: rgba(245, 166, 35, 0.55);
  clip-path: polygon(3% 10%, 97% 0, 100% 90%, 0 100%);
}
.polaroid svg { display: block; width: 100%; border-radius: 3px; }
.polaroid__caption {
  text-align: center;
  color: var(--charcoal);
  padding: 0.6rem 0 0.3rem;
  font-size: 1.45rem;
}
.story__stamp {
  position: absolute;
  bottom: -26px;
  right: -18px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px dashed var(--amber-deep);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  transform: rotate(-14deg);
  background: rgba(255, 253, 248, 0.85);
}

/* ---------- shop ---------- */
.shop {
  background: var(--cream);
  color: var(--charcoal);
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem);
  position: relative;
}
.shop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.shop__head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; position: relative; z-index: 1; }
.shop__sub { color: var(--ink-soft); margin-top: 0.9rem; }
.shop__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.8rem;
  max-width: 1180px;
  margin: 0 auto;
}
.card {
  position: relative;
  background: #fffdf8;
  border: 3px solid var(--charcoal);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-sticker);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:nth-child(odd)  { transform: rotate(-0.7deg); }
.card:nth-child(even) { transform: rotate(0.6deg); }
.card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 2px 0 rgba(35, 33, 30, 0.9), 0 24px 44px rgba(35, 33, 30, 0.24);
}
.card__badge {
  position: absolute;
  top: -14px;
  left: 18px;
  background: var(--charcoal);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  transform: rotate(-2deg);
}
.card__badge--holiday { background: var(--amber-deep); color: var(--charcoal); }
.card__badge--shine {
  background: linear-gradient(100deg, #b8c6e8, #e8b8d8, #b8e8d0, #e8dcb8);
  color: var(--charcoal);
}
.card__art {
  background: var(--kraft);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.card__art--holo {
  background: linear-gradient(115deg, #dfe6f5 0%, #f3dfee 30%, #dff2e8 60%, #f5eedb 100%);
}
.card__art svg { display: block; width: 100%; height: auto; }
.card h3 {
  font-family: var(--body);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.card__price {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--amber-deep);
}
.card__link {
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 1px;
  transition: color 0.15s ease;
}
.card__link:hover { color: var(--amber-deep); }
.shop__cta { text-align: center; margin-top: 3.2rem; position: relative; z-index: 1; }

/* ---------- crew ---------- */
.crew {
  background: var(--charcoal);
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem);
  position: relative;
}
.crew::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
}
.crew__head { text-align: center; max-width: 620px; margin: 0 auto 3.2rem; position: relative; z-index: 1; }
.crew__sub { color: var(--cream-soft); margin-top: 0.9rem; }
.crew__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  max-width: 1120px;
  margin: 0 auto;
}
.job {
  background: var(--charcoal-2);
  border: 1px solid rgba(246, 239, 227, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.job:hover { transform: translateY(-6px); border-color: rgba(245, 166, 35, 0.5); }
.job__age {
  display: inline-block;
  background: rgba(245, 166, 35, 0.14);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.job h3 { font-size: 1.3rem; margin-bottom: 0.6rem; color: var(--cream); }
.job p { font-size: 0.94rem; color: var(--cream-soft); margin-bottom: 1.3rem; }
.job__pay {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--amber);
}
.job__pay span {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream-soft);
}
.crew__note {
  text-align: center;
  color: var(--amber);
  margin-top: 2.8rem;
  position: relative;
  z-index: 1;
  transform: rotate(-1deg);
}

/* ---------- tiktok band ---------- */
.tiktok {
  background: var(--amber);
  color: var(--charcoal);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
  border-top: 3px solid var(--charcoal);
  border-bottom: 3px solid var(--charcoal);
  position: relative;
  overflow: hidden;
}
.tiktok::before {
  content: "★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 1.4em;
  font-size: 0.7rem;
  opacity: 0.35;
  white-space: nowrap;
}
.tiktok__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.tiktok h2 { margin-bottom: 1rem; }
.tiktok p { font-weight: 500; margin-bottom: 2rem; color: rgba(35, 33, 30, 0.82); }

/* ---------- faq ---------- */
.faq {
  background: var(--cream);
  color: var(--charcoal);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
}
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: 2.6rem; }
.faq__list details {
  background: #fffdf8;
  border: 2px solid var(--charcoal);
  border-radius: 14px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 1.1rem 1.3rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  font-weight: 800;
  transition: transform 0.2s ease;
}
.faq__list details[open] .faq__icon { transform: rotate(45deg); }
.faq__list details p {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- footer ---------- */
.footer {
  background: var(--charcoal);
  padding: 3.5rem clamp(1rem, 4vw, 3rem) 2.5rem;
  border-top: 3px solid var(--amber);
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.9rem; }
.footer__name { font-family: var(--display); font-size: 1.15rem; }
.footer__tag { font-size: 0.88rem; color: var(--cream-soft); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cream-soft);
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--amber); }
.footer__fine {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(246, 239, 227, 0.4);
  border-top: 1px solid rgba(246, 239, 227, 0.1);
  padding-top: 1.6rem;
  margin-top: 0.6rem;
}

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticker { animation: none; }
  .marquee__track { animation-duration: 60s; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__pile { min-height: 320px; max-width: 460px; margin: 1rem auto 0; width: 100%; }
  .story__inner { grid-template-columns: 1fr; }
  .story__card { margin-top: 1rem; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--charcoal-2);
    border-bottom: 2px solid var(--amber);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 1rem clamp(1rem, 4vw, 3rem);
    border-top: 1px solid rgba(246, 239, 227, 0.08);
  }
  .nav__burger { display: flex; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .story__stamp { right: 0; }
}
