/* ============================================================
   GUNJAN CREATIONS — Design Tokens
   Palette: deep navy + brass gold + warm paper cream, lifted
   straight from the company mark. Signature motif: a stitched
   "seam" line (dashed gold rule) used as a divider throughout —
   a nod to garment construction itself.
   ============================================================ */

:root {
  --navy-950: #0b1224;
  --navy-900: #101a33;
  --navy-800: #14213d;
  --navy-700: #1c2d52;
  --gold-600: #a97f45;
  --gold-500: #c39a5c;
  --gold-400: #d8b878;
  --gold-100: #f1e3c6;
  --cream-100: #faf7f0;
  --cream-200: #f4efe3;
  --cream-300: #ece3d0;
  --ink-900: #201d17;
  --ink-700: #4a453a;
  --ink-500: #79725f;
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream-100);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 500; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-700); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-600);
}

/* Stitch / seam divider — the site's signature device */
.stitch {
  height: 1px;
  background-image: linear-gradient(90deg, var(--gold-500) 60%, transparent 0);
  background-size: 14px 1px;
  background-repeat: repeat-x;
  border: none;
  width: 100%;
}
.stitch-v {
  width: 1px;
  background-image: linear-gradient(180deg, var(--gold-500) 60%, transparent 0);
  background-size: 1px 14px;
  background-repeat: repeat-y;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary {
  background: var(--navy-800);
  color: var(--cream-100);
}
.btn-primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(250, 247, 240, 0.35);
}
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline-dark:hover { background: var(--navy-800); color: var(--cream-100); }

/* ============ NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-300);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-800);
}
.brand img { height: 34px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; text-align: center; }
.brand-name b { font-weight: 600; }
.brand-name span { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--gold-600); font-family: var(--font-body); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-700);
  transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--gold-500);
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline-dark { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream-100);
    padding: 24px 32px;
    border-bottom: 1px solid var(--cream-300);
    gap: 20px;
  }
}

/* ============ SECTIONS ============ */
section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-navy { background: var(--navy-800); color: var(--cream-100); }
.section-navy h2, .section-navy h3 { color: var(--cream-100); }
.section-navy p { color: rgba(250, 247, 240, 0.72); }
.section-cream-alt { background: var(--cream-200); }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

/* ============ HERO ============ */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold-600); }
.hero-lede { font-size: 1.1rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-300);
}
.hero-meta div b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-800); }
.hero-meta div span { font-size: 0.78rem; color: var(--ink-500); }

.hero-visual {
  position: relative;
  height: 520px;
}
.hero-visual .card-photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20, 33, 61, 0.35);
  border: 6px solid var(--cream-100);
}
.hero-visual .ph-1 { width: 62%; top: 0; right: 0; z-index: 2; }
.hero-visual .ph-2 { width: 46%; bottom: 0; left: 0; z-index: 3; transform: rotate(-3deg); }
.hero-visual .ph-3 { width: 30%; top: 38%; left: 30%; z-index: 1; transform: rotate(4deg); }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: repeating-linear-gradient(135deg, var(--gold-500) 0 2px, transparent 0 16px);
  opacity: 0.18;
  z-index: 0;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 20px; }
  .hero-meta { flex-wrap: wrap; row-gap: 20px; }
}

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--navy-800);
  color: var(--cream-100);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  color: var(--gold-400);
  display: block;
  font-weight: 500;
}
.stat span {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: rgba(250, 247, 240, 0.68);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
}

/* ============ PROCESS ============ */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 20px;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 5%; right: 5%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--gold-500) 55%, transparent 0);
  background-size: 12px 1px;
  background-repeat: repeat-x;
}
.process-step { text-align: center; padding: 0 12px; position: relative; }
.process-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-600);
  position: relative;
  z-index: 2;
}
.process-step h4 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; letter-spacing: 0.01em; }
.process-step p { font-size: 0.84rem; margin: 0; }
@media (max-width: 800px) {
  .process-row { grid-template-columns: 1fr; gap: 32px; }
  .process-row::before { display: none; }
}

/* ============ CARDS / GRID ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-200);
  border: 1px solid var(--cream-300);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: block;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -22px rgba(20,33,61,0.28); }
.cat-card .cat-img { height: 320px; overflow: hidden; background: var(--cream-300); }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 24px 26px 28px; }
.cat-body .tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.cat-body h3 { margin: 8px 0 8px; }
.cat-body p { font-size: 0.92rem; margin-bottom: 0; }
.cat-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cat-card:hover .cat-arrow { background: var(--gold-500); transform: rotate(45deg); }

.coming-soon {
  height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy-800);
  color: var(--cream-100);
  gap: 10px;
  text-align: center;
  padding: 20px;
}
.coming-soon span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); }

/* ============ TESTIMONIAL / TRUST ============ */
.trust-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}
.trust-card .years {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--gold-600);
  display: block;
  margin-bottom: 6px;
}
.trust-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.trust-card span.loc { font-size: 0.8rem; color: var(--ink-500); }

/* ============ MARKETS ============ */
.markets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.market-pill {
  padding: 10px 22px;
  border: 1px solid var(--cream-300);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--cream-100);
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: var(--cream-100);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream-100); max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy-950);
  color: rgba(250, 247, 240, 0.65);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { color: rgba(250, 247, 240, 0.55); font-size: 0.88rem; max-width: 280px; }
.footer-col h5 {
  color: var(--cream-100);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; margin-bottom: 12px; color: rgba(250, 247, 240, 0.65); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(250, 247, 240, 0.45);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ PAGE HEADER (inner pages) ============ */
.page-hero {
  background: var(--navy-800);
  color: var(--cream-100);
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--cream-100); margin-bottom: 14px; }
.page-hero p { color: rgba(250,247,240,0.72); max-width: 560px; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .eyebrow::before { background: var(--gold-400); }

/* ============ ABOUT PAGE ============ */
.legacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.legacy-grid .stitch-v { height: 100%; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.pillar h4 { font-size: 1rem; margin-bottom: 8px; color: var(--navy-800); font-family: var(--font-body); font-weight: 700; }
.pillar p { font-size: 0.92rem; }
.pillar .num { font-family: var(--font-display); color: var(--gold-600); font-size: 1.6rem; display: block; margin-bottom: 10px; }

/* ============ PRODUCTS PAGE ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--cream-200); border: 1px solid var(--cream-300); }
.gallery-item .img-wrap { height: 340px; overflow: hidden; }
.gallery-item .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover .img-wrap img { transform: scale(1.04); }
.gallery-item .cap { padding: 18px 20px; }
.gallery-item .cap span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.gallery-item .cap h4 { margin: 6px 0 0; font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--navy-800); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

.cat-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 50px; }
.cat-jump a {
  padding: 10px 20px;
  border: 1px solid var(--cream-300);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.cat-jump a:hover { border-color: var(--gold-500); color: var(--gold-600); }

.category-block { padding: 70px 0; border-bottom: 1px solid var(--cream-300); }
.category-block:last-child { border-bottom: none; }
.category-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.category-head p { max-width: 460px; margin: 0; }

.tech-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tech-pill {
  font-size: 0.78rem;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--cream-200);
  border: 1px solid var(--cream-300);
  color: var(--ink-700);
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact-info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-300);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item span.label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.contact-info-item a, .contact-info-item p { margin: 0; font-size: 1.02rem; color: var(--navy-800); font-weight: 500; }

.form-card {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--navy-800); }
.field input, .field select, .field textarea {
  border: 1px solid var(--cream-300);
  background: var(--cream-100);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
  color: var(--ink-900);
  transition: border-color 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.field textarea { resize: vertical; min-height: 120px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
}

/* ============ LIGHTBOX ============ */
.zoomable { cursor: pointer; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 36, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
  cursor: default;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 240, 0.35);
  background: rgba(250, 247, 240, 0.08);
  color: var(--cream-100);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lightbox-close:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(250, 247, 240, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}
