/* ═══════════════════════════════════════
   SARA BAKU — Luxury Textile Web
   v1.0 · White + Black + Gold Minimal
═══════════════════════════════════════ */

:root {
  --bg:      #F7F4EF;
  --bg2:     #EFEBE3;
  --dark:    #0D0D0B;
  --dark2:   #1C1C1A;
  --gold:    #B8925A;
  --gold-lt: #D4B07A;
  --white:   #FFFFFF;
  --muted:   #888880;
  --border:  rgba(13,13,11,.10);
  --tr:      0.4s cubic-bezier(.25,.46,.45,.94);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', sans-serif;
}

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

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

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

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── CURSOR ── */
.cursor {
  width: 40px; height: 40px;
  border: 1px solid var(--dark);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s, background .3s, opacity .3s;
  mix-blend-mode: difference;
}
.cursor.hovered {
  width: 64px; height: 64px;
  background: rgba(13,13,11,.08);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--dark);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: background var(--tr), box-shadow var(--tr);
}
.nav.scrolled {
  background: rgba(247,244,239,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-logo em { font-style: normal; color: var(--gold); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--tr);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--dark);
  padding: 9px 22px;
  border-radius: 100px;
  transition: background var(--tr), color var(--tr);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--dark); color: var(--white); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  width: 24px; height: 1.5px;
  background: var(--dark);
  transition: transform .3s, opacity .3s;
  display: block;
}
.burger.open span:first-child { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.open span:last-child  { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 24px 0; }
.mm-link {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--white);
  letter-spacing: .04em;
  display: inline-block;
  transition: color .3s;
}
.mm-link:hover { color: var(--gold-lt); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Media layer — clip-path reveal from top */
.hero-media {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 100% 0);  /* starts hidden */
  will-change: clip-path;
}
.hero-media-inner {
  position: absolute;
  inset: -20%;  /* extra room for scale */
  transform: scale(1.35);
  will-change: transform;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,11,.15) 0%,
    rgba(13,13,11,.0)  40%,
    rgba(13,13,11,.55) 100%
  );
}

/* Text — all clipped with overflow:hidden for slide-up */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  pointer-events: none;
}
.hero-pretitle {
  overflow: hidden;
  margin-bottom: 28px;
}
.hpt-inner {
  display: block;
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transform: translateY(120%);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(5.5rem, 15vw, 13rem);
  font-weight: 300;
  line-height: .88;
  letter-spacing: -.01em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hli {
  display: inline-block;
  transform: translateY(110%);
}
.hero-caption {
  overflow: hidden;
}
.hcap-inner {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.6);
  transform: translateY(120%);
}

/* Bottom bar */
.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px 36px;
  color: rgba(255,255,255,.4);
}
.hb-line { overflow: hidden; }
.hbl-inner {
  display: block;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateY(120%);
}
.hb-link {
  color: rgba(255,255,255,.6);
  transition: color .3s;
  pointer-events: auto;
}
.hb-link:hover { color: var(--white); }
.hb-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}
.hbs-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: sbLine 2s ease-in-out infinite;
}
@keyframes sbLine {
  0%,100% { transform: scaleY(1); opacity:.5; }
  50%      { transform: scaleY(.5); opacity:.2; }
}
.hbs-text {
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.marquee-track .mx { color: var(--gold); opacity: .5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION SHARED ── */
.sec-head { margin-bottom: 64px; }
.sec-head.center { text-align: center; }
.sec-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  opacity: 0;
}
.sec-title em { font-style: italic; color: var(--gold); }
.sec-desc {
  margin-top: 16px;
  font-size: .95rem;
  color: var(--muted);
  font-weight: 300;
  opacity: 0;
}

/* ── COLLECTION ── */
.collection { padding: 120px 0; }
.col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.col-card { opacity: 0; transform: translateY(40px); }
.col-img {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg);
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg, #e8ddd0);
}
.col-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.col-img-inner {
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.col-card:hover .col-img-inner { transform: scale(1.06); }
.col-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,11,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s;
}
.col-card:hover .col-overlay { opacity: 1; }
.col-view {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
  padding: 10px 28px;
  border-radius: 100px;
  transition: background .3s, border-color .3s;
}
.col-view:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.col-info { padding: 16px 0 0; }
.col-cat {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.col-info h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
}
.col-footer { margin-top: 56px; display: flex; justify-content: center; }

/* ── BUTTONS ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--dark);
  padding: 14px 36px;
  border-radius: 100px;
  transition: background var(--tr), color var(--tr), gap var(--tr);
}
.btn-outline svg { width: 16px; }
.btn-outline:hover { background: var(--dark); color: var(--white); gap: 16px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 100px;
  border: 1px solid var(--dark);
  cursor: pointer;
  transition: background var(--tr), color var(--tr), gap var(--tr);
}
.btn-primary svg { width: 16px; }
.btn-primary:hover { background: transparent; color: var(--dark); gap: 16px; }
.btn-primary.full { width: 100%; justify-content: center; }

/* ── STATS ── */
.stats-bar {
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}
.stat-sym { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; line-height: 1; }
.stat-label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
  margin: 0 40px;
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.about-visual {
  position: relative;
  background: var(--bg2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
}
.about-img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.about-img {
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(160deg, #1a1714, #2d2420);
}
.about-tag {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 20px 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.about-tag-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
}
.about-tag-text { font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; }
.about-bg-text {
  position: absolute;
  bottom: -20px; left: -10px;
  font-family: var(--font-serif);
  font-size: 9rem;
  font-weight: 600;
  color: rgba(13,13,11,.04);
  text-transform: uppercase;
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.about-text {
  padding: 80px 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.about-p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  font-weight: 300;
  opacity: 0;
}
.about-vals {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0;
}
.about-val {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
}
.val-icon {
  color: var(--gold);
  font-size: .6rem;
  margin-top: 5px;
  flex-shrink: 0;
}
.about-val strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.about-val p { font-size: .82rem; color: var(--muted); font-weight: 300; }

/* ── GALLERY ── */
.gallery { padding: 120px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 12px;
  margin-top: 16px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}
.gal-item.gal-tall { grid-row: span 2; }
.gal-item.gal-wide { grid-column: span 2; }
.gal-img {
  width: 100%; height: 100%;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.gal-item:hover .gal-img { transform: scale(1.05); }
.gal-hover {
  position: absolute;
  inset: 0;
  background: rgba(13,13,11,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s;
}
.gal-item:hover .gal-hover { opacity: 1; }
.gal-hover span {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
  padding: 8px 24px;
  border-radius: 100px;
}
.gal-link {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.gal-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: border-color .3s, color .3s;
}
.gal-link a:hover { border-color: var(--gold); color: var(--gold); }

/* ── CONTACT ── */
.contact {
  background: var(--dark);
  padding: 120px 0;
}
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .sec-title { color: var(--white); }
.contact-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.4);
  font-weight: 300;
  line-height: 1.7;
  margin-top: 8px;
  opacity: 0;
}
.contact-links { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: var(--white);
  transition: border-color .3s, background .3s;
  opacity: 0;
}
.contact-link:hover { border-color: var(--gold); background: rgba(184,146,90,.06); }
.cl-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.cl-label {
  display: block;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 4px;
}
.cl-val { font-size: .95rem; font-weight: 400; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.cf-group {
  position: relative;
}
.cf-group input,
.cf-group textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 20px 18px 8px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 300;
  outline: none;
  transition: border-color .3s;
  resize: none;
}
.cf-group textarea { min-height: 120px; }
.cf-group input:focus,
.cf-group textarea:focus { border-color: var(--gold); }
.cf-group label {
  position: absolute;
  top: 14px; left: 18px;
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.3);
  transition: top .2s, font-size .2s, color .2s;
  pointer-events: none;
}
.cf-group input:focus ~ label,
.cf-group input:not(:placeholder-shown) ~ label,
.cf-group textarea:focus ~ label,
.cf-group textarea:not(:placeholder-shown) ~ label {
  top: 7px;
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--gold);
}

/* ── FOOTER ── */
.footer {
  background: #080807;
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo em { font-style: normal; color: var(--gold); }
.footer-copy { font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.2); }
.footer-socials a { color: rgba(255,255,255,.3); transition: color .3s; }
.footer-socials a:hover { color: var(--gold); }

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
}
.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity .7s ease, transform .7s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-visual { min-height: 480px; }
  .about-text { padding: 60px 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .hero-title { font-size: clamp(4rem, 18vw, 7rem); }
  .hero-corner { display: none; }
  .collection { padding: 80px 0; }
  .col-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-bar { flex-wrap: wrap; gap: 40px 0; padding: 48px 24px; }
  .stat-sep { display: none; }
  .stat-item { flex: 0 0 50%; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gal-item.gal-tall { grid-row: span 1; }
  .about-text { padding: 48px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gal-item.gal-wide { grid-column: span 1; }
}

@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
}
