:root {
  --black: #050505;
  --white: #ffffff;
  --cream: #fffbb4;
  --circle: #f5f5f5;
  --text: #3a3a3a;
  --muted: #585858;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--black);
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

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

button {
  border: 0;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

img,
ion-icon {
  display: block;
}

img {
  max-width: 100%;
}

/* Hero Base */
.stool-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--white);
}

.brand-badge {
  position: absolute;
  top: 0;
  left: max(42px, calc((100vw - 1440px) / 2 + 42px));
  z-index: 40;
  width: 78px;
  height: 156px;
  display: grid;
  place-items: center;
  border-radius: 42px 42px 3px 3px;
  background: var(--cream);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Header */
.hero-header {
  position: absolute;
  top: 57px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 84px), 1356px);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: translateX(-50%);
}

.desktop-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 36px;
  transform: translateX(-50%);
}

.desktop-nav a {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  opacity: 0.68;
  transform: translateY(-2px);
}

.desktop-nav span {
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.signin-btn {
  width: 100px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--black);
  border-radius: 7px;
  font-size: 17px;
  font-weight: 600;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.signin-btn:hover {
  color: var(--white);
  background: var(--black);
  transform: translateY(-2px);
}

.cart-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: var(--black);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cart-btn ion-icon {
  font-size: 23px;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.mobile-toggle {
  display: none;
}

.mobile-menu,
.menu-overlay {
  display: none;
}

/* Hero Content */
.hero-container {
  position: relative;
  width: min(calc(100% - 170px), 1310px);
  min-height: 1024px;
  margin: 0 auto;
  padding-top: 150px;
}

.hero-subtitle {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: clamp(31px, 2.68vw, 40px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.hero-title {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  text-align: center;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(140px, 18vw, 255px);
  font-weight: 400;
  line-height: 0.75;
  letter-spacing: -0.09em;
  white-space: nowrap;
  transform: scaleX(1.18);
  transform-origin: center;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 330px minmax(430px, 1fr) 330px;
  gap: 40px;
  align-items: start;
  margin-top: -22px;
}

.hero-left {
  padding-top: 146px;
}

.hero-intro {
  max-width: 340px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.038em;
  text-transform: uppercase;
}

.angled-tags {
  position: relative;
  width: 295px;
  min-height: 140px;
  margin-top: 131px;
}

.tag-pill {
  position: absolute;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 15px;
  border: 1px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tag-pill-one {
  top: 0;
  left: 47px;
}

.tag-pill-two {
  top: 43px;
  left: 0;
}

.tag-pill-three {
  top: 86px;
  left: 47px;
}

.tag-pill:hover,
.tag-pill.active {
  color: var(--white);
  background: var(--black);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.tag-pill-two:hover,
.tag-pill-two.active {
  transform: rotate(0.5deg) translateX(6px);
}

.tag-pill-three:hover,
.tag-pill-three.active {
  transform: rotate(-1.2deg) translateX(6px);
}

.mini-stool {
  position: absolute;
  top: 19px;
  left: 236px;
  z-index: -1;
  width: 112px;
  transform: rotate(-24deg);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.16));
  animation: miniFloat 4.6s ease-in-out infinite;
}

.hero-product {
  position: relative;
  height: 642px;
  margin-inline: -35px;
}

.product-circle {
  position: absolute;
  top: 139px;
  left: 50%;
  z-index: 1;
  width: 486px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--circle);
  transform: translateX(-50%);
}

.main-stool {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: 496px;
  transform: translate(calc(-50% + var(--move-x, 0px)), var(--move-y, 0px));
  filter: drop-shadow(0 34px 28px rgba(0, 0, 0, 0.16));
  animation: mainFloat 5.8s ease-in-out infinite;
}

.hero-right {
  padding-top: 80px;
}

.preview-card {
  width: 258px;
  height: 280px;
  display: grid;
  place-items: center;
  margin-left: 15px;
  overflow: hidden;
  border-radius: 0 0 130px 130px;
  background: var(--cream);
}

.preview-card img {
  width: 116px;
  transform: translateY(8px);
  filter: drop-shadow(0 15px 14px rgba(0, 0, 0, 0.18));
  animation: previewFloat 4.4s ease-in-out infinite;
}

.collection-copy {
  width: 342px;
  margin-top: 51px;
}

.collection-copy h2 {
  margin-bottom: 12px;
  color: var(--black);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.collection-copy p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.62;
}

.order-btn {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 35;
  width: 298px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.035em;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.order-btn ion-icon {
  font-size: 22px;
}

.order-btn:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

/* Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title.reveal-item {
  transform: translateY(28px) scaleX(1.18);
}

.hero-title.reveal-item.is-visible {
  transform: translateY(0) scaleX(1.18);
}

.order-btn.reveal-item {
  transform: translateX(-50%) translateY(28px);
}

.order-btn.reveal-item.is-visible {
  transform: translateX(-50%) translateY(0);
}

@keyframes mainFloat {
  0%,
  100% {
    transform: translate(calc(-50% + var(--move-x, 0px)), var(--move-y, 0px));
  }

  50% {
    transform: translate(calc(-50% + var(--move-x, 0px)), calc(var(--move-y, 0px) - 13px));
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translateY(8px);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes miniFloat {
  0%,
  100% {
    transform: rotate(-24deg) translateY(0);
  }

  50% {
    transform: rotate(-24deg) translateY(-9px);
  }
}

@media (min-width: 1500px) {
  .hero-container {
    width: min(calc(100% - 190px), 1320px);
  }

  .hero-layout {
    grid-template-columns: 340px minmax(470px, 1fr) 340px;
  }
}

@media (max-width: 1320px) {
  .hero-container {
    width: min(calc(100% - 120px), 1120px);
  }

  .hero-title {
    font-size: clamp(128px, 13vw, 172px);
  }

  .hero-layout {
    grid-template-columns: 285px minmax(380px, 1fr) 285px;
    gap: 30px;
  }

  .hero-intro {
    font-size: 20px;
  }

  .angled-tags {
    width: 270px;
  }

  .mini-stool {
    left: 215px;
    width: 100px;
  }

  .preview-card {
    width: 240px;
    height: 262px;
  }

  .collection-copy {
    width: 295px;
  }
}

@media (max-width: 1100px) {
  .stool-hero {
    min-height: 940px;
  }

  .hero-container {
    width: min(calc(100% - 78px), 980px);
    min-height: 940px;
    padding-top: 136px;
  }

  .hero-title {
    font-size: clamp(104px, 13vw, 142px);
  }

  .hero-layout {
    grid-template-columns: 235px minmax(320px, 1fr) 235px;
    gap: 22px;
    margin-top: -12px;
  }

  .desktop-nav {
    gap: 30px;
}

  .hero-left {
    padding-top: 116px;
  }

  .hero-intro {
    font-size: 17px;
  }

  .angled-tags {
    width: 230px;
    margin-top: 108px;
  }

  .tag-pill {
    height: 30px;
    font-size: 13px;
  }

  .tag-pill-one,
  .tag-pill-three {
    left: 32px;
  }

  .tag-pill-two {
    left: 0;
  }

  .mini-stool {
    left: 178px;
    width: 88px;
  }

  .hero-product {
    height: 570px;
  }

  .product-circle {
    top: 122px;
    width: 420px;
  }

  .main-stool {
    width: 420px;
  }

  .hero-right {
    padding-top: 64px;
  }

  .preview-card {
    width: 218px;
    height: 240px;
  }

  .collection-copy {
    width: 245px;
    margin-top: 38px;
  }

  .collection-copy h2 {
    font-size: 24px;
  }

  .collection-copy p {
    font-size: 13.5px;
  }
}

/* Mobile Layout */
@media (max-width: 900px) {
  .brand-badge {
    left: 24px;
  }

  .hero-header {
    top: 26px;
    width: calc(100% - 42px);
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .mobile-toggle {
    position: relative;
    width: 34px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--black);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-toggle ion-icon {
    position: absolute;
    font-size: 31px;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .mobile-toggle .close-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.7);
  }

  .mobile-toggle.is-open .menu-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.7);
  }

  .mobile-toggle.is-open .close-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(5px);
    transition: opacity 0.35s var(--ease);
  }

  .menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(330px, 86vw);
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: -22px 0 70px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
    transform: translateX(105%);
    transition: transform 0.42s var(--ease);
  }

  .mobile-menu.is-open {
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(5, 5, 5, 0.1);
  }

  .mobile-menu-head span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .mobile-menu-head button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--black);
  }

  .mobile-menu-head button ion-icon {
    font-size: 23px;
  }

  .mobile-nav {
    display: grid;
    gap: 6px;
    padding-top: 28px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .mobile-nav a ion-icon {
    font-size: 17px;
    opacity: 0.7;
    transition: transform 0.25s var(--ease);
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    opacity: 0.7;
    transform: translateX(3px);
  }

  .mobile-nav a:hover ion-icon,
  .mobile-nav a.active ion-icon {
    transform: translateX(3px);
  }

  .mobile-order {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    border-radius: 999px;
    color: var(--black);
    background: var(--cream);
    font-size: 16px;
    font-weight: 800;
  }

  .mobile-order ion-icon {
    font-size: 20px;
  }

  .hero-container {
    width: min(calc(100% - 48px), 680px);
    min-height: auto;
    padding-top: 144px;
    padding-bottom: 74px;
  }

  .hero-subtitle {
    max-width: 650px;
    margin: 0 auto;
    font-size: clamp(30px, 6.8vw, 30px);
    line-height: 1.12;
    white-space: normal;
}

  .hero-title {
    margin-top: 20px;
    font-size: clamp(78px, 19vw, 132px);
    letter-spacing: -0.1em;
    transform: scaleX(1.08);
  }

  .hero-title.reveal-item {
    transform: translateY(28px) scaleX(1.08);
  }

  .hero-title.reveal-item.is-visible {
    transform: translateY(0) scaleX(1.08);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 8px;
  }

  .hero-product {
    order: 1;
    width: min(100%, 450px);
    height: 512px;
    margin: 0 auto;
  }

  .product-circle {
    top: 100px;
    width: 390px;
  }

  .main-stool {
    width: 390px;
  }

  .hero-left {
    order: 2;
    display: grid;
    justify-items: center;
    padding-top: 0;
    text-align: center;
  }

  .hero-intro {
    max-width: 500px;
    font-size: 19px;
  }

  .angled-tags {
    width: 330px;
    min-height: 146px;
    margin-top: 28px;
  }

  .tag-pill {
    font-size: 14px;
  }

  .tag-pill-one {
    left: 68px;
  }

  .tag-pill-two {
    left: 22px;
  }

  .tag-pill-three {
    left: 68px;
  }

  .mini-stool {
    left: 248px;
    width: 84px;
  }

  .hero-right {
    order: 3;
    width: min(100%, 610px);
    display: grid;
    grid-template-columns: minmax(200px, 250px) 1fr;
    gap: 28px;
    align-items: center;
    padding-top: 0;
    margin: 0 auto;
  }

  .preview-card {
    width: 100%;
    height: 250px;
    margin: 0;
    border-radius: 0 0 125px 125px;
  }

  .preview-card img {
    width: 108px;
  }

  .collection-copy {
    width: auto;
    margin-top: 0;
  }

  .collection-copy h2 {
    font-size: 28px;
  }

  .collection-copy p {
    font-size: 15px;
  }

  .order-btn {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 298px);
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 35px auto 0;
    transform: none;
    }

  .order-btn:hover {
    transform: translateY(-4px);
  }

  .order-btn.reveal-item,
  .order-btn.reveal-item.is-visible {
    transform: none;
  }
}

@media (max-width: 620px) {
  .brand-badge {
    left: 14px;
    width: 52px;
    height: 112px;
    font-size: 11px;
  }

  .hero-left {
    padding-top: 60px;
}

  .hero-header {
    top: 16px;
    width: calc(100% - 28px);
  }

  .signin-btn {
    width: 78px;
    height: 38px;
    font-size: 14px;
  }

  .cart-btn {
    width: 38px;
    height: 38px;
  }

  .cart-btn ion-icon {
    font-size: 21px;
  }

  .mobile-toggle {
    width: 32px;
    height: 38px;
  }

  .mobile-toggle ion-icon {
    font-size: 29px;
  }

  .mobile-menu {
    width: min(310px, 84vw);
    padding: 24px 20px;
  }

  .mobile-nav a {
    font-size: 17px;
    font-weight: 600;
    padding-block: 13px;
  }

  .hero-container {
    width: calc(100% - 28px);
    padding-top: 124px;
  }

  .hero-subtitle {
    font-size: clamp(28px, 7.2vw, 38px);
    line-height: 38px;
}

  .hero-title {
    font-size: clamp(62px, 18vw, 96px);
  }

  .hero-product {
    height: 432px;
  }

  .product-circle {
    top: 90px;
    width: 312px;
  }

  .main-stool {
    width: 322px;
  }

  .hero-intro {
    font-size: 17px;
  }

  .hero-right {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .preview-card {
    width: min(100%, 245px);
    height: 258px;
    justify-self: center;
  }

  .collection-copy {
    max-width: 360px;
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .signin-btn {
    display: none;
  }

  .hero-container {
    padding-top: 116px;
  }

  .hero-title {
    font-size: clamp(56px, 18vw, 78px);
  }

  .hero-product {
    height: 382px;
  }

  .product-circle {
    top: 82px;
    width: 340px;
}

.main-stool {
    left: 55%;
}

  .main-stool {
        width: 270px;
  }

  .angled-tags {
    width: 292px;
    min-height: 134px;
  }

  .tag-pill {
    height: 30px;
    font-size: 12px;
  }

  .tag-pill-one {
    left: 50px;
  }

  .tag-pill-two {
    left: 6px;
  }

  .tag-pill-three {
    left: 50px;
  }

  .mini-stool {
    top: 18px;
    left: 214px;
    width: 72px;
  }

  .order-btn {
    height: 50px;
    font-size: 19px;
  }
}