:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #12131a;
  --muted: #5b5f6a;
  --border: rgba(18, 19, 26, 0.08);
  --accent: #ff3ea5;
  --accent2: #00d4ff;
  --accent3: #ffe24a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 40px rgba(18, 19, 26, 0.15);
  --shadow-card: 0 12px 30px rgba(18, 19, 26, 0.08);
  --font-sans: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  padding-top: 0;
}

.header {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  background: rgba(251, 251, 253, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  padding-inline: clamp(1rem, 3vw, 2.25rem);
  box-shadow: 0 12px 35px rgba(18, 19, 26, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 72px;
  gap: 1rem;
  transition: padding 0.2s ease;
}

.header .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.header-inner nav {
  flex: 1;
}

.header-inner nav .nav-links {
  justify-content: center;
}

.logo {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  color: #0c0d12;
  position: relative;
  padding-left: 1.35rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  line-height: 1.2;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  display: none;
}

.drawer nav a {
  text-decoration: none;
}

.header-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: nowrap;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(18, 19, 26, 0.18);
  background: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  padding: 0;
  position: relative;
}

.header-link svg {
  width: 20px;
  height: 20px;
}

.header-link-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(18, 19, 26, 0.18);
  transform: translateY(-1px);
}

.header-link--cart {
  border-color: rgba(18, 19, 26, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.header-link--cart strong {
  margin-left: 0.25rem;
  font-weight: 600;
}

.header-link--cart .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 80vw);
  height: 100vh;
  background: #fff;
  box-shadow: -15px 0 35px rgba(18, 19, 26, 0.2);
  transition: right 0.3s ease;
  z-index: 210;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer.open {
  right: 0;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 205;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.no-scroll {
  overflow: hidden;
}

.hero {
  margin-top: 0;
  min-height: clamp(560px, 80vh, 820px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  width: 100%;
  padding-top: clamp(96px, 10vw, 130px);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 26, 0.65),
    rgba(18, 19, 26, 0.35) 45%,
    rgba(18, 19, 26, 0.2)
  );
}

.hero-content {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 680px;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  color: #fff;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

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

.section {
  padding: clamp(3rem, 4vw, 4.5rem);
}

.section + .section {
  margin-top: clamp(2rem, 3vw, 3rem);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-family: var(--font-serif);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.chip-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  padding-left: 0;
  list-style: none;
}

.chip-row li {
  list-style: none;
}

.chip {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(18, 19, 26, 0.08);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
}

.scroll-row article {
  scroll-snap-align: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.card[data-image-group] {
  padding: 0;
  border: none;
  box-shadow: none;
}

.card figure {
  width: 100%;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin: 0.75rem 0 0;
  font-size: 1.1rem;
}

.card p {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.collection-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 19, 26, 0), rgba(18, 19, 26, 0.7));
}

.collection-card .content {
  position: relative;
  padding: 1.5rem;
  color: #fff;
  z-index: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.blog-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.blog-card .body {
  padding: 1rem;
}

.blog-card .pill {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 62, 165, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.hero + .section {
  margin-top: 0;
}

.newsletter {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter input {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  flex: 1;
  min-width: 230px;
}

.newsletter button {
  min-width: 200px;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(18, 19, 26, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.contact-form input,
.contact-form textarea {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  font-size: 1rem;
  width: 100%;
  background: #fff;
}

.contact-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 160px;
}

.contact-form button {
  grid-column: 1 / -1;
  align-self: end;
  padding: 1rem 1.5rem;
  justify-self: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 20px rgba(18, 19, 26, 0.25);
}

.contact-form button:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    justify-self: stretch;
  }
}

.footer {
  padding: 3rem clamp(1.5rem, 4vw, 4.5rem);
  background: #0c0d12;
  color: #fff;
  margin-top: 3rem;
  text-align: left;
}

.footer .container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer .footer-links a:hover,
.footer .footer-links a:focus-visible {
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 1.5rem;
  }

  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .footer-links {
    justify-content: center;
  }
}

.accordion {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
}

.accordion button {
  width: 100%;
  border: none;
  background: transparent;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.accordion-content {
  padding: 0 1.25rem 1rem;
  display: none;
  color: var(--muted);
}

.accordion-content.active {
  display: block;
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 0.4rem;
  }
  .header-inner nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: inline-flex;
  }
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: space-between;
  }
  .logo {
    padding-left: 0.5rem;
    margin: 0;
  }
  .header nav {
    display: none;
  }
  .header-actions {
    width: auto;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .header-link {
    width: 38px;
    height: 38px;
  }
  .header-actions .hamburger {
    order: 0;
  }

  .hero-content {
    padding-inline: 1.25rem;
  }

  .scroll-row {
    grid-auto-columns: 80%;
  }
  .hero {
    padding-top: clamp(90px, 12vw, 120px);
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
  .chip-row {
    gap: 0.65rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-inline: 1rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-ctas {
    gap: 0.5rem;
  }

  .hero-ctas .btn {
    font-size: 0.95rem;
  }
}
