/*
  Studio Labut'-style template (static)
  - Edit colors in :root
  - Replace placeholder SVGs in /assets with your photos
*/

:root {
  --bg: #fff4ea;              /* warm grey-beige */
  --accent: #ffe4e1;          /* soft pink */
  --text: #121212;
  --muted: rgba(18, 18, 18, 0.68);
  --line: rgba(18, 18, 18, 0.35);
  --pill-border: rgba(18, 18, 18, 0.35);
  --pill-accent: rgba(233, 140, 155, 0.38);
  --max: 1400px;
  --pad-x: clamp(20px, 4vw, 52px);
  --pad-y: clamp(18px, 2.2vw, 34px);
}

/* Force the HTML `hidden` attribute to ALWAYS hide elements */
[hidden] {
  display: none !important;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

/* Header */
.site-header {
  padding-top: 18px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  text-decoration: none;
}

.icon-link:hover {
  border-color: rgba(18, 18, 18, 0.25);
}

.brand {
  font-family: "Ballet", cursive;   /* Only the title uses Ballet */
  font-weight: 100;                /* Ballet is basically one weight */
  letter-spacing: 0;               /* scripts usually look best with 0 */
  line-height: 1;
  font-size: clamp(30px, 3.2vw, 56px);
  text-decoration-thickness: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-actions a {
  text-decoration: none;
}

.header-actions a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 999px;
}

.cart-btn:hover {
  background: rgba(18, 18, 18, 0.06);
}

.cart-count {
  min-width: 22px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Make the dropdown summary match header nav links */
.header-nav a,
.header-nav .nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;

  text-decoration: none;
  color: inherit;
}

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px; /* adjust to match your spacing */
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}
.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}


.header-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 56px);
  padding-top: 14px;
  padding-bottom: 10px;
}

.header-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 4px;
}

.header-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > summary {
  list-style: none;           /* remove default marker */
  cursor: pointer;
  user-select: none;

  /* match your nav link styling */
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 12px;
  padding: 10px;

  display: grid;
  gap: 8px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  z-index: 50;
}

.nav-dropdown__menu a {
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-dropdown__menu a:hover {
  background: rgba(233, 140, 155, 0.20);
}


/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--pill-accent);
  padding: 16px 30px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.45);
  background: transparent;
  transition: 160ms ease;
}

.pill:hover {
  color: var(--text);
  border-color: rgba(233, 140, 155, 0.6);
}

.pill--ghost {
  border-color: rgba(233, 140, 155, 0.25);
  color: rgba(18, 18, 18, 0.35);
}

.pill--solid {
  background: rgba(233, 140, 155, 0.08);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(26px, 4vw, 70px);
  align-items: end;
  padding-top: clamp(22px, 3.5vw, 70px);
  padding-bottom: clamp(34px, 4vw, 86px);
}

.hero h1 {
  font-family: "STIX Two Text", ui-serif, Georgia, serif;
  font-weight: 10;
  font-size: clamp(56px, 5.6vw, 120px);
  line-height: 0.92;
  margin: 0 0 26px;
  letter-spacing: 0.001em;
}

.hero-media {
  width: 100%;
  max-width: 880px;
  justify-self: end;
  border: 1px solid rgba(18, 18, 18, 0.08);
}

/* HERO CAROUSEL (pink section background acts as border) */
.hero-carousel-section {
  background: var(--accent);
  /* This padding is the “pink border thickness” */
  padding: 26px;
}

/* This controls how wide the slideshow is.
   If you want it truly edge-to-edge, remove max-width. */
.hero-carousel {
  max-width: var(--max);
  margin: 0 auto;

  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* Use a wide Nike-like ratio.
   Change this if you want taller/shorter. */
.hero-carousel__viewport {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: rgba(255, 255, 255, 0.25);
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  transform: translateX(0%);
  transition: transform 650ms ease;
  will-change: transform;
}

.hero-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}

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

/* Dots (bottom center) */
.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 5;
}

.hero-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
}

.hero-carousel__dot.is-active {
  width: 22px;                 /* active dot becomes “pill” */
  background: rgba(255, 255, 255, 0.95);
}

/* Controls (bottom right) */
.hero-carousel__controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.18);

  background: rgba(255, 255, 255, 0.85);
  color: rgba(18, 18, 18, 0.78);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  backdrop-filter: blur(6px);
}

.hero-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.97);
  color: rgba(18, 18, 18, 0.92);
}

.hero-carousel__btn:focus-visible {
  outline: 2px solid rgba(233, 140, 155, 0.85);
  outline-offset: 3px;
}

.hero-carousel__btn .icon {
  width: 18px;
  height: 18px;
}

/* Toggle between pause/play icons */
.hero-carousel__toggle .icon-play {
  display: none;
}
.hero-carousel__toggle.is-paused .icon-pause {
  display: none;
}
.hero-carousel__toggle.is-paused .icon-play {
  display: block;
}

/* Mobile: make the hero less “letterbox” */
@media (max-width: 720px) {
  .hero-carousel__viewport {
    aspect-ratio: 4 / 5;
  }

  .hero-carousel__controls {
    right: 12px;
    bottom: 12px;
  }

  .hero-carousel__dots {
    bottom: 12px;
  }

  .hero-carousel__btn {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__track {
    transition: none;
  }
}


/* Sections */
.section {
  padding-top: clamp(34px, 4vw, 72px);
  padding-bottom: clamp(34px, 4vw, 72px);
}

.section h2 {
  font-family: "STIX Two Text", ui-serif, Georgia, serif;
  font-weight: 300;
  font-size: clamp(20px, 4.6vw, 40px);
  line-height: 0.95;
  margin: 0 0 28px;
}

/* Shop grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}

.product {
  display: flex;
  flex-direction: column;
}

.product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.product h3 {
  font-family: "STIX Two Text", ui-serif, Georgia, serif;
  font-weight: 100;
  font-size: clamp(14px, 2.5vw, 22px);
  margin: 18px 0 8px;
  line-height: 1;
}

.product .price {
  margin: 0 0 14px;
  color: rgba(18, 18, 18, 0.78);
}

.product-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  height: 46px;
  overflow: hidden;
}

.qty button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.qty button:hover {
  background: rgba(18, 18, 18, 0.06);
}

.qty input {
  width: 38px;
  height: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.add-btn {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--pill-accent);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.34);
  cursor: pointer;
}

.add-btn:hover {
  color: var(--text);
  border-color: rgba(233, 140, 155, 0.6);
}

/* Accent split section */
/* Full-width accent background sections (pink band) */
.section-accent,
.accent {
  background: var(--accent);
}

/* Optional additional background bands */
.section-cream { background: var(--bg); }
.section-white { background: #ffffff; }

.section-dark {
  background: #121212;
  color: var(--bg);
}
.section-dark a { color: var(--bg); }


.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(22px, 3vw, 64px);
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.split h2 {
  font-family: "STIX Two Text", ui-serif, Georgia, serif;
  font-weight: 100;
  font-size: clamp(56px, 3.8vw, 98px);
  line-height: 0.9;
  margin: 0 0 16px;
}

.split p {
  font-size: clamp(18px, 1vw, 24px);
  line-height: 1.4;
  margin: 0 0 16px;
  max-width: 42ch;
  color: rgba(18, 18, 18, 0.78);
}

.text-link {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Values */
.values {
  padding-top: clamp(34px, 4vw, 70px);
}

.values h2 {
  margin-bottom: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}

.value h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
}

.value p {
  margin: 0;
  line-height: 1.55;
  color: rgba(18, 18, 18, 0.78);
  max-width: 48ch;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0 0;
}

/* Journal */
.journal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 3vw, 70px);
  align-items: end;
}

.journal-copy {
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.3;
  margin: 0 0 24px;
  max-width: 30ch;
}

.journal-right {
  position: relative;
}

.journal-controls {
  position: absolute;
  right: 0;
  top: -54px;
  display: flex;
  gap: 10px;
}

.journal-controls button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.journal-controls button:hover {
  background: rgba(18, 18, 18, 0.06);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}

.post {
  display: flex;
  flex-direction: column;
}

.post img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.post-title {
  margin: 10px 0 0;
  font-size: 16px;
  color: rgba(18, 18, 18, 0.86);
}

/* Footer */
.footer {
  padding-bottom: 28px;
}

.footer-line {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: clamp(22px, 3vw, 64px);
  padding-top: 40px;
  padding-bottom: 20px;
}

.footer-ig img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.footer-ig a {
  display: inline-block;
  margin-top: 10px;
}

.newsletter p {
  margin: 0 0 16px;
  font-size: clamp(18px, 1.6vw, 22px);
  color: rgba(18, 18, 18, 0.86);
}

.newsletter-form {
  display: flex;
  gap: 14px;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--pill-border);
  background: transparent;
  font-size: 16px;
}

.newsletter-form button {
  height: 50px;
  min-width: 160px;
}

.footer-links a {
  display: inline-block;
  margin: 8px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.muted {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  color: rgba(18, 18, 18, 0.64);
}

/* Scroll reveal (fade-in on scroll) */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

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

/* Optional small stagger helpers */
.js .reveal.delay-1 { transition-delay: 80ms; }
.js .reveal.delay-2 { transition-delay: 160ms; }
.js .reveal.delay-3 { transition-delay: 240ms; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-media {
    justify-self: start;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .journal {
    grid-template-columns: 1fr;
  }

  .journal-controls {
    position: static;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .header-nav {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .product-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .add-btn {
    width: 100%;
  }
}

/* Account avatar button */
.account-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.18);
  background: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  width: 20px;
  height: 20px;
  color: rgba(18, 18, 18, 0.75);
}

.avatar-initial {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.85);
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--bg, #fff);
  z-index: 1001;

  transform: translateX(100%);
  transition: transform 260ms ease;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);

  display: flex;
  flex-direction: column;
}

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

body.drawer-open {
  overflow: hidden;
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
}

.drawer-header h2 {
  margin: 0;
  font-size: 20px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.18);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.drawer-tabs {
  display: flex;
  gap: 10px;
  padding: 12px 18px;
}

.drawer-tab {
  flex: 1;
  border: 1px solid rgba(18, 18, 18, 0.18);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
}

.drawer-tab.is-active {
  background: rgba(255, 255, 255, 0.85);
}

.drawer-body {
  padding: 14px 18px 22px;
  overflow: auto;
}

.drawer-panel {
  display: none;
}

.drawer-panel.is-active {
  display: block;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field input {
  border: 1px solid rgba(18, 18, 18, 0.18);
  border-radius: 12px;
  padding: 12px 12px;
  background: rgba(255, 255, 255, 0.6);
}

/* Shop page */
.shop-title {
  margin: 28px 0 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 18px 0 60px;
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: rgba(0, 0, 0, 0.05);
}

.product-card__info {
  padding: 14px 14px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-card__name {
  font-size: 18px;
  margin: 0;
}

.product-card__price {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

/* =========================
   HERO SLIDESHOW SIZE TUNING
   ========================= */

:root {
  --slideshow-max-width: 1200px;            /* change this for width */
  --slideshow-height: clamp(440px, 65vh, 820px); /* change this for height */
}

/* Width control (how wide the slideshow is inside its section) */
.hero-carousel {
  width: 100%;
  max-width: var(--slideshow-max-width);
  margin: 0 auto;
}

/* Height control */
.hero-carousel__viewport {
  height: var(--slideshow-height);
}

/* Make sure images actually fill the viewport cleanly */
.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



