:root {
  --ink: #282018;
  --soft-ink: #675746;
  --cream: #fffaf2;
  --paper: #f8efe4;
  --peach: #ed927d;
  --peach-deep: #c96554;
  --gold: #c98d28;
  --wool: #efd7b4;
  --line: rgba(111, 82, 47, 0.18);
  --shadow: 0 24px 80px rgba(114, 74, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(104, 77, 48, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 77, 48, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 75% 15%, rgba(237, 146, 125, 0.18), transparent 22rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%);
  background-size: 64px 64px, 64px 64px, auto, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 1rem auto 0;
  padding: 0.76rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 18px 48px rgba(101, 63, 24, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 5px, transparent 5px 10px),
    linear-gradient(135deg, var(--peach), #ffd1c5);
  color: #fffaf2;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: inset 0 -8px 0 rgba(113, 56, 38, 0.12);
}

.brand strong,
.brand small {
  display: block;
  max-width: min(44vw, 320px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 0.12rem;
  color: var(--soft-ink);
  font-weight: 800;
}

.nav-actions,
.cta-row,
.ticker-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.nav-actions a,
.button,
[data-copy] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(201, 141, 40, 0.34);
  border-radius: 14px;
  background: #fffaf2;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(121, 82, 34, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.nav-actions a {
  min-width: 56px;
  padding: 0 1rem;
}

.nav-actions a:hover,
.button:hover,
[data-copy]:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 141, 40, 0.72);
  box-shadow: 0 14px 28px rgba(121, 82, 34, 0.14);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1.2rem 0 0;
}

.banner-window {
  position: relative;
  min-height: clamp(220px, 34vw, 395px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.banner-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.8), transparent 32%, rgba(255, 250, 242, 0.42)),
    linear-gradient(0deg, rgba(255, 250, 242, 0.94), transparent 46%);
  pointer-events: none;
}

.banner-window img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 1rem;
  align-items: end;
  margin-top: -3.4rem;
  padding: 0 clamp(0.7rem, 2vw, 1.6rem);
}

.copy-block,
.mascot-panel,
.texture-strip article,
.story {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.copy-block {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--peach-deep);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p,
strong {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9ch;
  margin: 0;
  color: #19120d;
  font-size: clamp(3.6rem, 10vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.lead {
  max-width: 58ch;
  margin: 1.1rem 0 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.75vw, 1.22rem);
  line-height: 1.62;
}

.ticker-line {
  margin-top: 1.25rem;
}

.ticker-line > span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7b1a2, #ffe8bf 58%, #d69b35);
  color: #20160e;
  font-weight: 950;
  box-shadow: inset 0 -5px 0 rgba(120, 71, 27, 0.1);
}

[data-copy] {
  cursor: pointer;
  padding: 0 1rem;
}

.cta-row {
  margin-top: 1.35rem;
}

.button {
  min-width: 128px;
  padding: 0.78rem 1.05rem;
}

.button.primary {
  border-color: transparent;
  background: #23170e;
  color: var(--cream);
}

.mascot-panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(0.5rem, 1.4vw, 0.8rem);
}

.mascot-panel img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

.texture-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.texture-strip article {
  min-height: 116px;
  padding: 1rem;
  border-radius: 24px;
}

.texture-strip span {
  display: block;
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-strip strong {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  color: var(--peach-deep);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border-radius: 28px;
}

.story .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.55rem;
}

.story h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.story p:not(.eyebrow) {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 1.75vw, 1.18rem);
  line-height: 1.7;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  color: var(--soft-ink);
  font-weight: 900;
}

.threads {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  pointer-events: none;
}

.thread {
  position: absolute;
  bottom: -14vh;
  width: 34vw;
  height: 34vw;
  min-width: 260px;
  min-height: 260px;
  border: 18px solid rgba(201, 141, 40, 0.09);
  border-radius: 50%;
  transform: translateY(18%) rotate(-12deg);
  animation: float-thread 9s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.thread:nth-child(1) {
  left: -16vw;
}

.thread:nth-child(2) {
  right: -18vw;
  border-color: rgba(237, 146, 125, 0.1);
}

.thread:nth-child(3) {
  left: 28vw;
  bottom: -22vh;
  border-color: rgba(239, 215, 180, 0.16);
}

.thread:nth-child(4) {
  display: none;
}

@keyframes float-thread {
  to {
    transform: translateY(8%) rotate(5deg);
  }
}

@media (max-width: 900px) {
  .hero-content,
  .story {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-top: -2.1rem;
    padding: 0 0.65rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .mascot-panel img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  main,
  .topbar,
  footer {
    width: min(100% - 1rem, 1180px);
  }

  .topbar,
  footer {
    flex-direction: column;
    align-items: stretch;
  }

  .brand strong,
  .brand small {
    max-width: calc(100vw - 7rem);
  }

  .nav-actions,
  .cta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .nav-actions a,
  .button {
    min-width: 0;
    width: 100%;
    padding-inline: 0.45rem;
  }

  .banner-window {
    min-height: 250px;
    border-radius: 22px;
  }

  .banner-window img {
    object-position: center;
  }

  .copy-block,
  .mascot-panel,
  .story {
    border-radius: 22px;
  }

  .texture-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.85rem, 18vw, 4.1rem);
  }
}
