@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-Italic.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #14110e;
  --ivory: #f6f1ea;
  --paper: #fffbf6;
  --sand: #c4a574;
  --dune: #e6d7c3;
  --camel: #a8845a;
  --clay: #9c4e32;
  --stone: #6e655a;
  --header-h: 64px;
  --max: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--dune);
  color: var(--ink);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--camel);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--dune);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 26px;
  width: auto;
}

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

.site-nav {
  display: none;
}

.site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--camel);
}

.site-nav a[aria-current="page"] {
  color: var(--camel);
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-bars span,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle-bars span {
  top: 6.25px;
}

.nav-toggle-bars::before {
  top: 0;
}

.nav-toggle-bars::after {
  top: 12.5px;
}

.nav-open .nav-toggle-bars span {
  opacity: 0;
}

.nav-open .nav-toggle-bars::before {
  top: 6.25px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  top: 6.25px;
  transform: rotate(-45deg);
}

/* Buttons — first-version tracking and uppercase */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 13px 25px;
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
}

.btn:hover {
  background: #2a2420;
  border-color: #2a2420;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--ivory);
}

/* Intro — big title + faint camel */

.intro {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(480px, calc(100vh - var(--header-h)), 820px);
  padding: 72px 0 64px;
}

.intro .ghost {
  position: absolute;
  right: -12%;
  top: 54%;
  transform: translateY(-50%);
  height: 260px;
  width: auto;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.intro h1 {
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 22px;
}

.intro-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--stone);
  margin-bottom: 32px;
  max-width: 28rem;
}

/* Full-width lifestyle image */

.hero-photo {
  margin: 0;
  line-height: 0;
  background: var(--ivory);
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

/* Categories */

.cats {
  padding: 72px 0 36px;
}

.cats-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.cats-head h2,
.stores h2,
.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cats-head span {
  font-size: 13px;
  color: var(--stone);
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card .media {
  overflow: hidden;
  background: var(--dune);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--dune);
  transition: transform 0.7s ease;
}

.card:hover img {
  transform: scale(1.035);
}

.card .label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 2px 0;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  gap: 12px;
}

.card .label em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

.card:hover .label em {
  color: var(--ink);
}

/* Brand story */

.story-wrap {
  padding: 56px 0 88px;
}

.story {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: 1px solid var(--dune);
}

.story img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 70% 50%;
  display: block;
}

.story-copy {
  padding: 36px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--camel);
  margin-bottom: 16px;
}

.story-copy h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 18px;
}

.story-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 28px;
}

/* Shops */

.stores {
  padding: 40px 0 80px;
}

.stores .sub {
  color: var(--stone);
  margin: 12px 0 28px;
  font-size: 16px;
}

.store-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.store {
  padding: 24px 24px;
  border: 1px solid var(--dune);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.store b {
  display: block;
  font-weight: 600;
  font-size: 16px;
}

.store i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--camel);
}

.store:hover i {
  color: var(--ink);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--dune);
  padding: 40px 0 96px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-nav a {
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--camel);
}

.footer-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--dune);
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.footer-contact {
  margin-top: 28px;
}

.footer-contact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  min-height: 44px;
  transition: color 0.2s ease;
}

.footer-whatsapp svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-whatsapp:hover {
  color: var(--camel);
}

.wa-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 22%, transparent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-fab svg {
  width: 24px;
  height: 24px;
  display: block;
}

.wa-fab:hover {
  background: #1c1814;
  transform: translateY(-1px);
}

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

  .wa-fab:hover {
    transform: none;
  }
}

/* Inner pages */

.page-hero {
  padding: 40px 0 20px;
}

.page-hero p {
  margin-top: 14px;
  color: var(--stone);
  max-width: 36rem;
}

.page-visual {
  margin: 0 0 64px;
}

.page-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.crumb {
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 20px;
}

.crumb a:hover {
  color: var(--ink);
}

/* Desktop */

@media (min-width: 720px) {
  .intro .ghost {
    right: 24px;
    height: 400px;
  }

  .grid3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .card .label {
    font-size: 14px;
  }

  .store-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 80px;
  }

  .wrap {
    padding: 0 64px;
  }

  .logo img {
    height: 28px;
  }

  .nav-toggle {
    display: none;
  }

  .header-actions {
    flex: 1;
    justify-content: flex-end;
    gap: 36px;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }

  .intro {
    padding: 108px 0 92px;
  }

  .intro .ghost {
    right: 40px;
    height: 520px;
  }

  .intro-lead {
    font-size: 19px;
    margin-bottom: 40px;
  }

  .hero-photo img {
    height: 820px;
    aspect-ratio: auto;
  }

  .cats {
    padding: 96px 0 48px;
  }

  .cats-head {
    margin-bottom: 28px;
  }

  .card img {
    height: 500px;
    aspect-ratio: auto;
  }

  .story-wrap {
    padding: 40px 0 100px;
  }

  .story {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .story img {
    aspect-ratio: auto;
    min-height: 520px;
    height: 100%;
  }

  .story-copy {
    padding: 72px 56px;
  }

  .story-copy p {
    font-size: 16px;
  }

  .stores {
    padding: 20px 0 100px;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-footer {
    padding-bottom: 72px;
  }

  .wa-fab {
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
  }

  .page-hero {
    padding-top: 56px;
  }
}

/* Mobile menu */

@media (max-width: 899px) {
  .nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ivory);
    padding: 20px 20px 40px;
    gap: 4px;
    z-index: 60;
    overflow: auto;
  }

  .nav-open .site-nav a {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
    min-height: 56px;
    border-bottom: 1px solid var(--dune);
  }
}

/* Collection product grid */

.collection {
  padding-bottom: 96px;
}

.collection-hero {
  padding: 48px 0 32px;
}

.collection-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.collection-hero p {
  margin-top: 12px;
  color: var(--stone);
  max-width: 28rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 14px;
}

.product-card {
  display: block;
  color: inherit;
  min-width: 0;
}

.product-card .thumb {
  background: #eee4d6;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  transition: transform 0.7s ease;
}

a.product-card:hover .thumb img {
  transform: scale(1.035);
}

.product-card h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
  line-height: 1.35;
}

.color-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.color-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  border: 1px solid transparent;
}

.dot-ink {
  background: var(--ink);
}

.dot-sand {
  background: var(--sand);
}

.dot-ivory {
  background: var(--paper);
  border-color: var(--dune);
}

a.product-card:hover h2 {
  color: var(--camel);
}

.dot-blue {
  background: #2f5f8a;
}

.dot-grey {
  background: #b4b4b4;
}

.dot-cream {
  background: #e2d0b5;
  border-color: var(--dune);
}

.dot-clay {
  background: #b56545;
}

/* Product detail placeholder */

.pdp {
  display: grid;
  gap: 32px;
  padding: 12px 0 80px;
}

.pdp-stage {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #eee4d6;
}

.pdp-stage::-webkit-scrollbar {
  display: none;
}

.pdp-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  background: #eee4d6;
  overflow: hidden;
}

.pdp-slide img,
.pdp-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.pdp-thumbs button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: #eee4d6;
  overflow: hidden;
}

.pdp-thumbs [aria-current="true"] {
  outline: 1px solid var(--camel);
  outline-offset: 2px;
}

.to-fill {
  font-style: italic;
  color: var(--stone);
}

.pdp-info h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 28px;
}

.pdp-block + .pdp-block {
  margin-top: 24px;
}

.pdp-block h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.pdp-swatches {
  display: flex;
  gap: 10px;
}

.pdp-swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
  border: 1px solid transparent;
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  min-width: 64px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--dune);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pdp-acc {
  margin-top: 36px;
  border-top: 1px solid var(--dune);
}

.pdp-acc details {
  border-bottom: 1px solid var(--dune);
}

.pdp-acc summary {
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 550;
  font-size: 16px;
  list-style: none;
}

.pdp-acc summary::-webkit-details-marker {
  display: none;
}

.pdp-acc summary::after {
  content: "+";
  font-weight: 400;
  font-size: 20px;
  color: var(--camel);
}

.pdp-acc details[open] summary::after {
  content: "–";
}

.pdp-acc details p {
  padding: 0 0 20px;
  color: var(--stone);
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 20px;
  }

  .product-card h2 {
    font-size: 16px;
  }
}

@media (min-width: 900px) {
  .collection-hero {
    padding: 56px 0 36px;
  }

  .pdp {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: start;
    padding-top: 24px;
  }

  .pdp-info {
    padding-top: 8px;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 28px;
  }
}

/* Tentang TEVE / Cerita */

.cerita-page {
  padding-bottom: 96px;
}

.cerita-intro {
  padding: 48px 0 12px;
}

.cerita-intro h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 12em;
}

.cerita-intro p {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 38rem;
}

.cerita-photos {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

.cerita-photos img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #eee4d6;
}

@media (min-width: 900px) {
  .cerita-page {
    padding-bottom: 120px;
  }

  .cerita-intro {
    padding: 72px 0 20px;
  }

  .cerita-intro p {
    font-size: 18px;
    margin-top: 32px;
  }

  .cerita-photos {
    gap: 28px;
    margin-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card img,
  .product-card .thumb img,
  .btn {
    transition: none;
  }

  .card:hover img,
  a.product-card:hover .thumb img {
    transform: none;
  }
}
