/* ============================================
   HERQU.ONLINE — Dark Cinematic Showroom
   ============================================ */

:root {
  --night-black: #0B0B0D;
  --charcoal: #151519;
  --deep-aubergine: #211923;
  --copper: #B87552;
  --muted-teal: #547B78;
  --warm-ivory: #EEE7DA;
  --smoke-gray: #A7A19A;
  --soft-black: #101013;

  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-ui: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --header-h: 64px;
  --topline-h: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--night-black);
  color: var(--warm-ivory);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke-gray);
}

.display-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--warm-ivory);
}

/* ---------- Top line + Header ---------- */

.top-line {
  height: var(--topline-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-black);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--smoke-gray);
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.92);
  border-bottom: 1px solid rgba(238, 231, 218, 0.08);
  backdrop-filter: blur(8px);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 11, 13, 0.97);
  border-bottom-color: rgba(184, 117, 82, 0.28);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--warm-ivory);
  justify-self: start;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.primary-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--smoke-gray);
  transition: color 0.25s var(--ease);
}

.primary-nav a:hover {
  color: var(--copper);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--warm-ivory);
  transition: color 0.25s var(--ease);
}

.icon-btn:hover {
  color: var(--copper);
}

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-ivory);
  position: relative;
  padding-right: 0.55rem;
}

.bag-count {
  color: var(--smoke-gray);
}

.bag-dot {
  width: 5px;
  height: 5px;
  background: var(--copper);
  border-radius: 50%;
  position: absolute;
  right: -2px;
  top: 2px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--warm-ivory);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(40deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-40deg);
}

.mobile-menu {
  position: fixed;
  inset: calc(var(--topline-h) + var(--header-h)) 0 0 0;
  z-index: 90;
  background: var(--night-black);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(238, 231, 218, 0.08);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--warm-ivory);
  transition: color 0.25s var(--ease);
}

.mobile-menu a:hover {
  color: var(--copper);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--copper);
  color: var(--night-black);
  padding: 0.95rem 1.4rem;
}

.btn-primary:hover {
  background: var(--warm-ivory);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--warm-ivory);
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid rgba(238, 231, 218, 0.25);
}

.btn-ghost:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}

.btn-line {
  margin-top: 1.25rem;
  color: var(--warm-ivory);
  border-bottom: 1px solid var(--copper);
  padding: 0.35rem 0;
  width: fit-content;
}

.btn-line:hover {
  color: var(--copper);
}

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100vh - var(--topline-h) - var(--header-h));
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  position: relative;
  background: var(--night-black);
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
  padding: 3.5rem 1.5rem 1.5rem;
  position: relative;
  z-index: 2;
  animation: rise-in 0.9s var(--ease) both;
}

.hero-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 1px;
  background: var(--copper);
}

.hero-support {
  margin-top: 1.75rem;
  max-width: 34rem;
  color: var(--smoke-gray);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero-stage {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1rem 3rem;
}

.stage-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 1px;
  background: rgba(238, 231, 218, 0.06);
}

.hero-object {
  width: min(420px, 78vw);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.55));
  animation: object-in 1.15s var(--ease) 0.15s both;
}

.object-svg {
  width: 100%;
  height: auto;
}

/* Hero technical callouts */

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
  opacity: 0;
  animation: fade-label 0.8s var(--ease) forwards;
}

.callout .measure {
  display: block;
  background: var(--copper);
  opacity: 0.7;
}

.callout-1 {
  top: 12%;
  left: 6%;
  animation-delay: 0.55s;
}

.callout-1 .measure {
  width: 36px;
  height: 1px;
}

.callout-2 {
  top: 22%;
  right: 7%;
  flex-direction: row-reverse;
  animation-delay: 0.7s;
}

.callout-2 .measure {
  width: 28px;
  height: 1px;
}

.callout-3 {
  bottom: 28%;
  left: 5%;
  animation-delay: 0.85s;
}

.callout-3 .measure {
  width: 1px;
  height: 28px;
}

.callout-4 {
  bottom: 36%;
  right: 6%;
  flex-direction: row-reverse;
  animation-delay: 1s;
}

.callout-4 .measure {
  width: 42px;
  height: 1px;
}

.callout-5 {
  top: 48%;
  left: 4%;
  animation-delay: 1.15s;
}

.callout-5 .measure {
  width: 22px;
  height: 1px;
}

/* ---------- Info strip ---------- */

.info-strip {
  border-top: 1px solid rgba(238, 231, 218, 0.08);
  border-bottom: 1px solid rgba(238, 231, 218, 0.08);
  background: var(--charcoal);
}

.strip-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 0;
}

.strip-inner > span:not(.strip-rule) {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke-gray);
  padding: 0 1.25rem;
}

.strip-rule {
  width: 1px;
  height: 12px;
  background: rgba(184, 117, 82, 0.45);
}

/* ---------- Discovery ---------- */

.discover {
  padding: 5rem 1.5rem 4.5rem;
  background: var(--night-black);
  border-bottom: 1px solid rgba(238, 231, 218, 0.06);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--muted-teal);
  text-transform: uppercase;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.discover-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.discover-list li {
  border-top: 1px solid rgba(238, 231, 218, 0.08);
}

.discover-list li:last-child {
  border-bottom: 1px solid rgba(238, 231, 218, 0.08);
}

.discover-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.15rem 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--warm-ivory);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.discover-list a .cat-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--copper);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.discover-list a:hover {
  color: var(--copper);
  transform: translateX(6px);
  border-bottom-color: rgba(184, 117, 82, 0.55);
}

.discover-list a:hover .cat-num {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Philosophy ---------- */

.philosophy {
  background: var(--deep-aubergine);
  padding: 6rem 1.5rem;
}

.philosophy-inner {
  max-width: 920px;
  margin: 0 auto;
}

.philosophy .mono-label {
  color: rgba(238, 231, 218, 0.55);
}

.philosophy-copy {
  margin-top: 1.75rem;
  max-width: 34rem;
  color: rgba(238, 231, 218, 0.78);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}

.principles {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(238, 231, 218, 0.12);
  padding-top: 2rem;
}

.principle-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--warm-ivory);
  margin-bottom: 0.5rem;
}

.principle-note {
  display: block;
  font-size: 0.88rem;
  color: rgba(238, 231, 218, 0.55);
  font-weight: 300;
  max-width: 16rem;
}

/* ---------- Featured ---------- */

.featured {
  background: var(--charcoal);
  padding: 6rem 1.5rem 3.5rem;
  border-bottom: 1px solid rgba(238, 231, 218, 0.06);
}

.featured-intro {
  max-width: 920px;
  margin: 0 auto;
}

.featured-copy {
  margin-top: 1.5rem;
  max-width: 32rem;
  color: var(--smoke-gray);
  font-weight: 300;
  line-height: 1.7;
}

.featured-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 0;
}

.featured-meta .mono-label {
  padding: 0 0.85rem 0 0;
}

.meta-sep {
  width: 1px;
  height: 11px;
  background: var(--muted-teal);
  margin-right: 0.85rem;
}

/* ---------- Products ---------- */

.products {
  background: var(--night-black);
  padding: 2rem 0 5rem;
}

.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  border-bottom: 1px solid rgba(238, 231, 218, 0.06);
}

.product:last-child {
  border-bottom: none;
}

.product-reverse .product-visual {
  order: 2;
}

.product-reverse .product-body {
  order: 1;
}

.product-visual {
  background: var(--soft-black);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2.5rem;
  border: 1px solid rgba(238, 231, 218, 0.05);
}

.product-visual svg {
  width: min(280px, 70%);
  height: auto;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.55s var(--ease);
}

.product:hover .product-visual svg {
  transform: translateY(-8px);
}

.product-id {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  color: var(--muted-teal);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--copper);
}

.product-name {
  font-family: var(--font-ui);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.product-desc {
  color: var(--smoke-gray);
  font-weight: 300;
  max-width: 28rem;
  line-height: 1.7;
}

/* ---------- Journal ---------- */

.journal {
  background: var(--charcoal);
  padding: 6rem 1.5rem;
  border-top: 1px solid rgba(238, 231, 218, 0.06);
}

.journal-inner {
  max-width: 820px;
  margin: 0 auto;
}

.journal-copy {
  margin: 1.5rem 0 2rem;
  max-width: 28rem;
  color: var(--smoke-gray);
  font-weight: 300;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--soft-black);
  border-top: 1px solid rgba(238, 231, 218, 0.08);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-tag {
  margin: 0.75rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--warm-ivory);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col .mono-label {
  margin-bottom: 0.35rem;
  color: var(--muted-teal);
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--smoke-gray);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--copper);
}

.footer-muted {
  font-size: 0.85rem;
  color: rgba(167, 161, 154, 0.65);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 231, 218, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--warm-ivory);
  border: 1px solid rgba(184, 117, 82, 0.45);
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast[hidden] {
  display: block;
}

/* ---------- Motion ---------- */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes object-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-label {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Large screens: cinematic hero layout ---------- */

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(320px, 0.95fr) 1.05fr;
    grid-template-rows: 1fr;
    align-items: stretch;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem 4rem 3.5rem;
  }

  .hero-stage {
    min-height: calc(100vh - var(--topline-h) - var(--header-h));
    align-items: center;
    padding: 2rem 2rem 2rem 0;
  }

  .hero-object {
    width: min(460px, 42vw);
  }

  .callout-1 { top: 18%; left: 8%; }
  .callout-2 { top: 20%; right: 10%; }
  .callout-3 { bottom: 22%; left: 10%; }
  .callout-4 { bottom: 30%; right: 12%; }
  .callout-5 { top: 52%; left: 6%; }
}

/* ---------- Tablet / Mobile ---------- */

@media (max-width: 959px) {
  .primary-nav,
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .product,
  .product-reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.75rem 1.25rem;
  }

  .product-reverse .product-visual,
  .product-reverse .product-body {
    order: unset;
  }

  .product-visual {
    min-height: 280px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .discover {
    padding: 3.5rem 0 3rem;
  }

  .section-kicker {
    padding: 0 1.5rem;
  }

  .discover-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 0 1.5rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .discover-list li {
    border: none;
    border-right: 1px solid rgba(238, 231, 218, 0.1);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .discover-list li:last-child {
    border-bottom: none;
    border-right: none;
  }

  .discover-list a {
    font-size: 2rem;
    padding: 1rem 1.75rem 1rem 0.25rem;
    min-width: max-content;
  }

  .discover-list a .cat-num {
    display: none;
  }

  .callout-3,
  .callout-5 {
    display: none;
  }
}

@media (max-width: 600px) {
  .top-line {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .bag-btn span:first-child {
    display: none;
  }

  .hero-copy {
    padding-top: 2.5rem;
  }

  .hero-support {
    font-size: 0.95rem;
  }

  .strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .strip-inner > span:not(.strip-rule) {
    white-space: nowrap;
    padding: 0 0.9rem;
  }

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

  .philosophy,
  .featured,
  .journal {
    padding: 4rem 1.25rem;
  }
}
