/* ===== THY — Luxury B&W Landing ===== */

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

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray-100: #f0f0f0;
  --gray-200: #d4d4d4;
  --gray-400: #888;
  --gray-600: #444;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

ul { list-style: none; }

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--black);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(10, 10, 10, 0.4);
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  background: rgba(10, 10, 10, 0.06);
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  button, .btn, a { cursor: pointer; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.5s;
}

.header.scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.header.on-hero .logo,
.header.on-hero .nav-links a {
  color: var(--white);
}

.header.on-hero .nav-toggle span {
  background: var(--white);
}

.header.on-hero.scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
}

.header.on-hero.scrolled .logo,
.header.on-hero.scrolled .nav-links a {
  color: var(--black);
}

.header.on-hero.scrolled .nav-toggle span,
.header.on-hero .nav-toggle.active span {
  background: var(--black);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  position: relative;
}

.logo-leaf {
  font-size: 0.6rem;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-parallax {
  position: absolute;
  inset: -10% 0 0 0;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.2) 40%,
    rgba(10, 10, 10, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 8rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--white);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid transparent;
  cursor: none;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-buy {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  white-space: nowrap;
}

.btn-buy:hover {
  background: var(--black);
  color: var(--white);
}

/* Marquee */
.marquee {
  background: var(--black);
  color: var(--white);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding-right: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section common */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Products */
.products {
  padding: 8rem 0 6rem;
  background: var(--white);
}

.products-track-wrapper {
  position: relative;
  overflow: hidden;
}

.products-track {
  display: flex;
  gap: 2rem;
  padding: 0 3rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.products-track::-webkit-scrollbar { display: none; }
.products-track.active { cursor: grabbing; }

.product-card {
  flex: 0 0 min(380px, 85vw);
  scroll-snap-align: start;
  background: var(--gray-100);
  transition: transform 0.5s var(--ease-out);
}

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

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
  filter: grayscale(80%) contrast(1.1);
}

.product-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.product-tag {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 0.4rem 0.8rem;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.product-ingredients {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.product-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.products-progress {
  max-width: 200px;
  margin: 2rem auto 0;
  height: 1px;
  background: var(--gray-200);
}

.products-progress-bar {
  height: 100%;
  background: var(--black);
  width: 0%;
  transition: width 0.1s;
}

/* Banner 222 */
.banner-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-parallax {
  position: absolute;
  inset: -15% 0;
  will-change: transform;
}

.banner-img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 3rem;
  margin-left: auto;
  margin-right: 3rem;
  color: var(--white);
}

.banner-content .section-label {
  color: rgba(255, 255, 255, 0.5);
}

.banner-content h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.banner-content > p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 3rem;
}

.stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--serif);
  font-size: 2rem;
  display: inline;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-top: 0.5rem;
  max-width: 140px;
}

/* Journal / Articles */
.journal {
  padding: 8rem 3rem;
  background: var(--black);
  color: var(--white);
}

.journal .section-header .section-label {
  color: rgba(255, 255, 255, 0.4);
}

.journal .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.article-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.article-link {
  display: block;
}

.article-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}

.article-card:hover .article-img-wrap img {
  transform: scale(1.06);
  filter: grayscale(70%);
}

.article-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.6), transparent);
}

.article-body {
  padding: 2rem;
}

.article-cat {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.article-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0.8rem 0 1rem;
}

.article-body p {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.article-read {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.article-card:hover .article-read {
  opacity: 1;
}

/* Banner 333 Split */
.banner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.banner-split-img {
  overflow: hidden;
  position: relative;
}

.banner-parallax-inner {
  height: 120%;
  will-change: transform;
}

.banner-parallax-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}

.banner-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
  background: var(--white);
}

.banner-split-content h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.banner-split-content > p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.feature-list {
  margin-bottom: 2.5rem;
}

.feature-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.feature-list li span {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gray-400);
  min-width: 24px;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 5rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.footer-brand p {
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.5;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.82rem;
  font-weight: 300;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.4;
}

.footer-social {
  display: flex;
  gap: 2rem;
}

.footer-social a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.footer-social a:hover {
  opacity: 1;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  z-index: 200;
  transition: transform 0.5s var(--ease-out);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Order modal */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.order-modal.open {
  opacity: 1;
  visibility: visible;
}

.order-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
}

.order-modal-box {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: 2.5rem;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease-out);
}

.order-modal.open .order-modal-box {
  transform: translateY(0) scale(1);
}

.order-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.3s;
}

.order-modal-close:hover {
  color: var(--black);
}

.order-modal-box h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.order-product-line {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.order-form label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}

.order-form input {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--black);
  transition: border-color 0.3s;
}

.order-form input:focus {
  outline: none;
  border-color: var(--black);
}

.order-submit {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  cursor: pointer;
}

.order-modal-success {
  text-align: center;
  padding: 1rem 0;
}

.order-modal-success[hidden] {
  display: none;
}

.order-modal-form[hidden] {
  display: none;
}

.order-success-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.5rem;
}

.order-modal-success h2 {
  margin-bottom: 1rem;
}

.order-modal-success p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.order-modal-success .btn {
  cursor: pointer;
}

/* Reveal animations */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .banner-split-img {
    min-height: 50vh;
  }

  .banner-split-content {
    padding: 3rem 2rem;
  }

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

@media (max-width: 768px) {
  .header { padding: 1rem 1.5rem; }
  .header.scrolled { padding: 0.8rem 1.5rem; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 99;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-content { padding: 0 1.5rem 6rem; }
  .hero-scroll { display: none; }

  .products { padding: 5rem 0 4rem; }
  .products-track { padding: 0 1.5rem 1.5rem; }

  .banner-content {
    margin: 0;
    padding: 3rem 1.5rem;
  }

  .stats { gap: 2rem; }

  .journal { padding: 5rem 1.5rem; }

  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .header.on-hero .nav-links a {
    color: var(--black);
  }

  .product-footer {
    flex-wrap: wrap;
  }

  .btn-buy {
    width: 100%;
    text-align: center;
  }

  .order-modal-box {
    padding: 2rem 1.5rem;
  }
}
