/* ============================================================
   PANCHAVA — Fine Fabrics for the Modern Gentleman
   ============================================================ */

:root {
  --ink: #14171c;
  --ink-2: #1e232b;
  --ink-3: #2a313b;
  --cream: #f4efe6;
  --cream-2: #eae2d2;
  --gold: #b08d57;
  --gold-2: #c9a86a;
  --white: #ffffff;
  --muted: rgba(20, 23, 28, .66);
  --muted-light: rgba(244, 239, 230, .72);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --shadow:  24px 60px rgba(12, 14, 18, .18);
  --radius: 14px;
  --transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

* { margin: ; padding: ; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: min(120px, 90%);
  margin-inline: auto;
}

.section { padding: 110px ; }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 26px;
}

.section-title em,
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

.section-head { text-align: center; margin-bottom: 64px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  box-shadow:  10px 28px rgba(176, 141, 87, .35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow:  16px 36px rgba(176, 141, 87, .45);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: transparent;
}

.btn-outline:hover { background: rgba(255, 255, 255, .12); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset:   auto ;
  z-index: 100;
  padding: 26px ;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 14px ;
  background: rgba(20, 23, 28, .92);
  backdrop-filter: blur(12px);
  box-shadow:  8px 30px rgba(, , , .25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: .3em;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  padding: 6px ;
  transition: color .3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: ;
  bottom: ;
  width: ;
  height: 1px;
  background: var(--gold);
  transition: width .35s;
}

.nav-link:hover,
.nav-link.active { color: var(--gold-2); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta { padding: 12px 26px; }

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

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: ; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: ;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: ;
  background:
    linear-gradient(180deg, rgba(20, 23, 28, .55) %, rgba(20, 23, 28, .35) 45%, rgba(20, 23, 28, .82) 100%),
    linear-gradient(90deg, rgba(20, 23, 28, .55) %, rgba(20, 23, 28, .1) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  max-width: 800px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--muted-light);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  %, 100% { transform: scaleY(.6); opacity: .5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--cream-2);
  padding: 16px ;
  overflow: hidden;
  border-top: 1px solid rgba(176, 141, 87, .25);
  border-bottom: 1px solid rgba(176, 141, 87, .25);
}

.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: tickerMove 30s linear infinite;
}

.ticker-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .12em;
}

.ticker-track span:nth-child(even) { color: var(--gold); }

@keyframes tickerMove {
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  right: -26px;
  bottom: -26px;
  background: var(--ink);
  color: var(--cream);
  padding: 26px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(176, 141, 87, .4);
}

.badge-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-2);
  line-height: 1;
}

.badge-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 18px;
}

.about-points { margin: 28px  36px; }

.about-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-weight: 400;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: .72rem;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--ink);
  color: var(--cream);
  padding: 70px ;
  border-top: 1px solid rgba(176, 141, 87, .25);
  border-bottom: 1px solid rgba(176, 141, 87, .25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--gold-2);
  line-height: 1.1;
}

.stat-label {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- Collections ---------- */
.collections { background: var(--cream); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  box-shadow:  10px 30px rgba(20, 23, 28, .1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item figcaption {
  position: absolute;
  inset: auto   ;
  padding: 60px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(20, 23, 28, .85));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(8px);
  opacity: .92;
  transition: var(--transition);
}

.gallery-item:hover figcaption { transform: translateY(); opacity: 1; }

.g-cat {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.g-name {
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* ---------- Craft ---------- */
.craft { background: var(--ink); color: var(--cream); }

.craft .eyebrow { color: var(--gold-2); }

.craft .section-sub { color: var(--muted-light); }

.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.craft-card {
  background: var(--ink-2);
  border: 1px solid rgba(176, 141, 87, .18);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: var(--transition);
}

.craft-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow:  24px 50px rgba(, , , .35);
}

.craft-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(176, 141, 87, .14);
  color: var(--gold-2);
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.craft-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.craft-card p {
  color: var(--muted-light);
  font-size: .95rem;
}

/* ---------- Quote ---------- */
.quote-section {
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  color: var(--cream);
  padding: 110px ;
  text-align: center;
  border-top: 1px solid rgba(176, 141, 87, .2);
}

.quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: .6;
  color: var(--gold);
  margin-bottom: 26px;
}

.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.5;
}

.quote-author {
  margin-top: 28px;
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* ---------- Contact ---------- */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 34px;
}

.contact-details li {
  display: flex;
  gap: 26px;
  padding: 16px ;
  border-bottom: 1px solid rgba(20, 23, 28, .1);
}

.cd-label {
  min-width: 70px;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-top: 4px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(176, 141, 87, .2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(20, 23, 28, .16);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--ink);
  background: #fbf9f4;
  transition: var(--transition);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow:    4px rgba(176, 141, 87, .14);
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #c0392b;
}

.form-status {
  margin-top: 16px;
  font-size: .92rem;
  color: var(--gold);
  min-height: 1.4em;
}

.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 70px  30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(176, 141, 87, .2);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  font-size: .95rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-light);
  transition: color .3s;
}

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

.footer-meta p {
  font-size: .92rem;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  font-size: .8rem;
  color: rgba(244, 239, 230, .5);
  flex-wrap: wrap;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: ;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1),
              transform .9s cubic-bezier(.22, 1, .36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY();
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 54px; }

  .about-media img { height: 440px; }

  .about-badge { right: 10px; bottom: -18px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }

  .craft-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

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

@media (max-width: 720px) {
  .section { padding: 76px ; }

  .main-nav {
    position: fixed;
    inset:   auto auto;
    width: min(320px, 80vw);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
    box-shadow: -20px  60px rgba(, , , .4);
  }

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

  .nav-toggle { display: flex; }

  .nav-cta { display: inline-block; }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }

  .hero-actions { flex-direction: column; align-items: flex-start; }

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

  .craft-grid,
  .stats-grid,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 30px 22px; }

  .about-badge { padding: 20px 24px; right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
