/* === Quacktory × KRISS.AI — kawaii pastel, brackets, friendly === */
:root {
  --bg: #EAD8DD;
  --bg-light: #EFDFE3;
  --fg: #0E0E0E;
  --accent: #B5B3DC;
  --accent-2: #9FB6D6;
  --mint: #B7D9C3;
  --peach: #E8C9A8;
  --cream: #F2EBDF;
  --ink: #0E0E0E;
  --surface: #FFFFFF;
  --rule: rgba(14, 14, 14, 0.12);
  --shadow: 0 10px 30px rgba(181, 179, 220, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.005em;
  min-height: 100vh;
  background: linear-gradient(180deg, #EAD8DD 0%, #EFDFE3 50%, #E5D2D8 100%);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 8px; padding: 6px 10px;
  background: var(--ink); color: var(--surface); z-index: 99;
}
.skip-link:focus { top: 8px; }

/* === Top === */
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  position: relative;
  z-index: 10;
}
.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand span { font-weight: 500; opacity: 0.8; }
.pill-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.pill-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.pill-nav a:hover { opacity: 1; color: var(--accent); }
.bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
}
.bracket--tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.bracket--br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.book {
  justify-self: end;
  display: inline-block;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.book:hover { background: var(--accent); color: var(--ink); }

/* === Hero === */
.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  padding: 60px 40px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  position: relative;
  z-index: 4;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 0.7em;
  display: block;
  margin-bottom: 8px;
}
.caret {
  display: inline-block;
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
  font-weight: 700;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.hero__sub {
  font-size: 18px;
  font-weight: 500;
  max-width: 540px;
  margin: 0 auto 32px;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.5;
  position: relative;
  z-index: 4;
}
.hero__duck {
  width: clamp(260px, 30vw, 380px);
  height: clamp(320px, 38vw, 460px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(14, 14, 14, 0.15);
  margin: 40px 0;
  position: relative;
  z-index: 4;
  border: 6px solid var(--surface);
}
.hero__duck img { width: 100%; height: 100%; object-fit: cover; }
.hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--surface);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 4;
}
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(181, 179, 220, 0.4); }

.cloud {
  position: absolute;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(201, 194, 203, 0.4);
  z-index: 2;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: var(--surface);
  border-radius: 50%;
}
.cloud--l { top: 12%; left: 6%; width: 100px; height: 60px; }
.cloud--l::before { top: -20px; left: 20px; width: 60px; height: 50px; }
.cloud--l::after { top: -10px; right: 10px; width: 50px; height: 40px; }
.cloud--r { top: 18%; right: 8%; width: 120px; height: 70px; }
.cloud--r::before { top: -25px; left: 30px; width: 70px; height: 60px; }
.cloud--r::after { top: -15px; right: 15px; width: 60px; height: 50px; }
.cloud--c { top: 4%; left: 50%; transform: translateX(-50%); width: 180px; height: 90px; opacity: 0.7; }
.cloud--c::before { top: -40px; left: 50px; width: 100px; height: 80px; }
.cloud--c::after { top: -20px; right: 50px; width: 80px; height: 70px; }

.hero__nav-arrows {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  pointer-events: none;
  z-index: 5;
}
.arrow {
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.4;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.2s, color 0.2s;
}
.arrow:hover { opacity: 1; color: var(--accent); }

/* === Lineup === */
.lineup {
  padding: 100px 40px;
  background: var(--surface);
  border-radius: 32px 32px 0 0;
  margin-top: -32px;
  position: relative;
  z-index: 5;
}
.lineup__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.lineup__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.lineup__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.lineup__lead {
  font-size: 16px;
  color: var(--ink);
  opacity: 0.7;
}
.lineup__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--cream);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
  width: 100%;
}
.card:hover, .card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(181, 179, 220, 0.4);
  border-color: var(--accent);
  outline: none;
}
.card__sparkle {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 18px;
  color: var(--accent);
  animation: sparkle 2.4s ease-in-out infinite;
}
@keyframes sparkle { 0%, 100% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } }
.card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 8px;
}
.card__line {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card__size {
  font-size: 12px;
  color: var(--ink);
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.card__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* === B2B === */
.b2b {
  padding: 100px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.b2b__head { margin-bottom: 32px; }
.b2b__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}
.b2b__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.b2b__copy {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 32px;
}
.b2b__cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.b2b__cta:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }

/* === Footer === */
.leg {
  border-top: 1px solid var(--rule);
  padding: 24px 40px;
  background: var(--bg);
  margin-top: 60px;
}
.leg__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--ink);
  opacity: 0.7;
}
.leg__brand { font-weight: 700; color: var(--ink); }
.leg__count { color: var(--accent); font-weight: 600; }
.leg__gear {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.leg__gear:hover { background: var(--accent); color: var(--ink); }

/* === Modal === */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(14, 14, 14, 0.4); backdrop-filter: blur(8px); }
.modal__panel {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 22px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
}
.modal__close:hover { background: var(--accent); color: var(--ink); }
.modal__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; }
.modal__body { display: flex; flex-direction: column; gap: 12px; }
.modal__num { font-size: 11px; letter-spacing: 0.18em; color: var(--accent); font-weight: 600; }
.modal__title { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.modal__size { font-size: 14px; color: var(--ink); opacity: 0.8; }
.modal__desc { font-size: 14px; line-height: 1.6; color: var(--ink); opacity: 0.85; }
.modal__price { font-size: 17px; font-weight: 700; color: var(--accent); margin-top: 8px; }
.modal__term { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }

/* === Mobile === */
@media (max-width: 720px) {
  .top { grid-template-columns: 1fr; gap: 12px; padding: 16px; text-align: center; }
  .brand { justify-content: center; }
  .pill-nav { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 16px; }
  .book { justify-self: center; }
  .hero { padding: 40px 16px 60px; min-height: auto; }
  .hero__title { font-size: 44px; }
  .hero__duck { width: 80vw; height: 100vw; }
  .lineup { padding: 56px 16px; border-radius: 24px 24px 0 0; }
  .lineup__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .b2b { padding: 56px 16px; }
  .leg { padding: 20px 16px; }
  .modal__panel { grid-template-columns: 1fr; padding: 20px; }
  .modal__title { font-size: 24px; }
  .cloud { transform: scale(0.7); }
}
