/* ═══════════════════════════════════════════════════════════
   SHOILY ATTIRE — Professional B2B Garment Exporter
   Light theme · Warm cream · Deep navy · Clay accent
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

:root {
  /* Surfaces */
  --paper:    #f6f2e9;
  --paper-2:  #ece6d4;
  --paper-3:  #e0d8c0;
  --surface:  #ffffff;

  /* Ink */
  --ink:      #14110b;
  --ink-2:    #4a4036;
  --ink-3:    #8a7d6b;
  --ink-4:    #b3a896;

  /* Brand */
  --navy:     #1a2740;
  --navy-2:   #0e1729;
  --clay:     #b5563a;
  --clay-2:   #983e25;

  /* Lines */
  --line:     #d6cbb4;
  --line-2:   #e3dac4;
  --line-3:   #efe7d3;

  /* Type */
  --serif:    'Newsreader', 'Source Serif 4', Georgia, serif;
  --sans:     'Geist', 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  font-style: normal;
}

/* ── TYPOGRAPHY — NO ITALIC ANYWHERE ────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
}

.accent { color: var(--clay); font-style: normal; font-weight: 500; }

p { line-height: 1.62; color: var(--ink-2); font-weight: 400; font-style: normal; }

a { color: inherit; text-decoration: none; font-style: normal; }

::selection { background: var(--navy); color: var(--paper); }

/* Type scale */
.title-xl {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 60;
}

.title-lg {
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 44;
}

.title-md {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 28;
}

.body-lg {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  font-weight: 400;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  max-width: 42ch;
}

/* ── LABELS ─────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  font-style: normal;
}

.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--clay);
}

/* Plain numbered marker */
.num-marker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--clay);
}

/* ── NAV / HEADER ───────────────────────────────────────── */

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 242, 233, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

header.raised {
  background: rgba(246, 242, 233, 0.96);
  border-bottom-color: var(--line);
}

nav {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-style: normal;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.nav-menu {
  display: flex; gap: 4px; list-style: none; align-items: center;
}

.nav-menu a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--ink-2);
  padding: 10px 16px;
  position: relative;
  transition: color 0.18s;
  letter-spacing: -0.005em;
}

.nav-menu a:hover { color: var(--ink); }
.nav-menu a.active { color: var(--ink); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--paper) !important;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--navy-2); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

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

.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  display: block;
  transition: all 0.3s;
}

/* ── BUTTONS ────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  padding: 16px 30px;
  border-radius: 999px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-style: normal;
}

.btn svg {
  width: 15px; height: 15px; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.btn-primary svg { stroke: var(--paper); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline svg { stroke: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline:hover svg { stroke: var(--paper); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  padding: 15px 26px;
}
.btn-ghost svg { stroke: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

/* Quiet text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.2s, color 0.2s, border-color 0.2s;
}
.link-arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.link-arrow:hover { gap: 12px; color: var(--clay); border-color: var(--clay); }

/* ── LAYOUT ─────────────────────────────────────────────── */

.wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 0 56px;
}

.section { padding: 130px 0; }
.section-sm { padding: 88px 0; }

.rule { border: none; height: 1px; background: var(--line); margin: 0; }

/* ── CARDS ──────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 36px 32px;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.card p { font-size: 0.94rem; color: var(--ink-2); }

/* ── PAGE HERO (inner pages) ────────────────────────────── */

.page-hero {
  padding-top: 76px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 120px 56px 96px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
}

.page-hero-title h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -0.028em;
  line-height: 0.98;
  font-weight: 500;
}

.page-hero-lede p {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
  max-width: 42ch;
}

@media (max-width: 900px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    padding: 84px 28px 60px;
    gap: 32px;
  }
}

/* ── FORM ───────────────────────────────────────────────── */

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.field label {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-4); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--navy);
}

.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ── FOOTER — LIGHT, NO DARK ────────────────────────────── */

footer {
  background: var(--paper-2);
  color: var(--ink);
  padding: 96px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-top {
  max-width: 1440px; margin: 0 auto;
  padding: 0 56px 72px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  border-bottom: 1px solid var(--line);
}

.f-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.f-logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.f-brand {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.f-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 38ch;
}

.f-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 22px;
}

.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.f-col ul li, .f-col ul a {
  font-size: 0.94rem;
  color: var(--ink-2);
  transition: color 0.2s;
  font-weight: 400;
  line-height: 1.5;
}

.f-col ul a:hover { color: var(--clay); }

.f-key {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-block;
  margin-bottom: 4px;
}

.f-bottom {
  max-width: 1440px; margin: 36px auto 0;
  padding: 0 56px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.f-copy { font-size: 0.84rem; color: var(--ink-3); font-weight: 400; }

/* ── GARMENT INDUSTRY MOTIFS ────────────────────────────── */

/* Fabric textures (subtle backgrounds) */
.tex-knit {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(20,16,11,0.06) 1.5px, transparent 2px),
    radial-gradient(circle at 0% 50%, rgba(20,16,11,0.05) 1.5px, transparent 2px);
  background-size: 14px 14px, 14px 14px;
}
.tex-woven {
  background-image:
    repeating-linear-gradient(0deg, rgba(20,16,11,0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(20,16,11,0.05) 0 1px, transparent 1px 7px);
}
.tex-cable {
  background-image:
    repeating-linear-gradient(45deg, rgba(20,16,11,0.05) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(20,16,11,0.05) 0 1px, transparent 1px 9px);
}
.tex-canvas {
  background-image:
    repeating-linear-gradient(0deg, rgba(20,16,11,0.07) 0 1.2px, transparent 1.2px 4px),
    repeating-linear-gradient(90deg, rgba(20,16,11,0.07) 0 1.2px, transparent 1.2px 4px);
}
.tex-rib {
  background-image:
    repeating-linear-gradient(0deg, rgba(20,16,11,0.06) 0 1.5px, transparent 1.5px 8px);
}
.tex-diag {
  background-image:
    repeating-linear-gradient(135deg, rgba(20,16,11,0.04) 0 1px, transparent 1px 10px);
}

/* Hang tag */
.hangtag {
  position: relative;
  width: 220px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 44px 24px 22px;
  font-family: var(--sans);
  display: inline-flex; flex-direction: column;
  gap: 6px;
}
/* Eyelet hole inside the tag near the top */
.hangtag::before {
  content: '';
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  z-index: 1;
}
/* String loop coming out the top of the eyelet */
.hangtag::after {
  content: '';
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 32px;
  border: 1.5px solid var(--ink-2);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  background: transparent;
}
.hangtag .ht-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 500;
}
.hangtag .ht-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin-bottom: 4px;
}
.hangtag .ht-brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
  margin: 4px 0 8px;
}
.hangtag .ht-line {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}
.hangtag .ht-sku {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  font-weight: 500;
}

/* Fabric / color swatch chips */
.swatch-chip {
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}
.swatch-chip .sw {
  width: 100%; aspect-ratio: 1;
  border: 1px solid var(--line);
}
.swatch-chip .sw-name {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.swatch-chip .sw-hex {
  font-family: var(--sans);
  font-size: 0.66rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* Garment illustration container */
.garment-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.garment-art svg {
  width: 60%; max-width: 220px; height: auto;
  display: block;
}

/* Dashed stitch rule */
.stitch-rule {
  border: none;
  border-top: 1.5px dashed var(--line);
  margin: 0;
}

/* Spec badge (small label tag) */
.spec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 5px 10px;
}

/* Industry icon wrap */
.ind-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--clay);
}
.ind-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── REVEAL & ANIMATIONS ────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.on { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* Garment SVG line-draw animation when entering view */
.garment-art svg path,
.garment-art svg line,
.garment-art svg circle,
.garment-art-lg svg path,
.garment-art-lg svg line,
.garment-art-lg svg circle {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.draw-in svg path,
.draw-in svg line,
.draw-in svg circle {
  animation: drawIn 1.6s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}
.draw-in svg path:nth-child(2),
.draw-in svg line:nth-child(2),
.draw-in svg circle:nth-child(2) { animation-delay: 0.25s; }
.draw-in svg path:nth-child(3),
.draw-in svg line:nth-child(3),
.draw-in svg circle:nth-child(3) { animation-delay: 0.4s; }
.draw-in svg path:nth-child(4),
.draw-in svg line:nth-child(4),
.draw-in svg circle:nth-child(4) { animation-delay: 0.55s; }
.draw-in svg circle:nth-child(n+5) { animation-delay: 0.7s; }

@keyframes drawIn {
  to { stroke-dashoffset: 0; }
}

/* Hero text staggered reveal on initial load */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero .eyebrow,
.hero-h1,
.hero-tagline,
.hero-cta-row,
.hero-aside > * {
  animation: heroRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero .eyebrow       { animation-delay: 0.05s; }
.hero-h1             { animation-delay: 0.18s; }
.hero-tagline        { animation-delay: 0.32s; }
.hero-cta-row        { animation-delay: 0.46s; }
.hero-aside .hangtag { animation-delay: 0.55s; }
.hero-aside .facts-panel { animation-delay: 0.7s; }

/* Subtle hover on product cards (image zoom + lift) */
.prod-card {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(20, 16, 11, 0.18);
  background: #fcfaf3;
  z-index: 2;
}
.prod-card .prod-visual .garment-art svg {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.prod-card:hover .prod-visual .garment-art svg {
  transform: scale(1.04);
}

/* Hang tag gentle sway */
@keyframes tagSway {
  0%, 100% { transform: rotate(-0.6deg); }
  50%      { transform: rotate(0.6deg); }
}
.hangtag {
  transform-origin: 50% -22px;
  animation: tagSway 5s ease-in-out infinite;
}

/* Smooth nav link underline */
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-menu a:hover::after { transform: scaleX(0.5); }
.nav-menu a.active::after { transform: scaleX(1); }

/* Smooth swatch hover */
.swatch-chip { transition: transform 0.3s; }
.swatch-chip:hover { transform: translateY(-3px); }
.swatch-chip .sw {
  transition: box-shadow 0.3s, transform 0.3s;
}
.swatch-chip:hover .sw { box-shadow: 0 8px 16px -4px rgba(20,16,11,0.18); }

/* Capability row hover bg */
.cap-row { transition: background 0.25s, padding-left 0.25s; }
.cap-row:hover { background: rgba(255, 255, 255, 0.4); padding-left: 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 1100px) {
  .wrap { padding: 0 36px; }
  nav { padding: 0 36px; }
  .section { padding: 96px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 0 36px 60px; gap: 48px; }
  .f-bottom { padding: 0 36px; }
}

@media (max-width: 760px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
    gap: 0;
    box-shadow: 0 24px 48px rgba(20,16,11,0.08);
  }
  .nav-menu.open li { border-bottom: 1px solid var(--line-2); }
  .nav-menu.open li:last-child { border-bottom: none; }
  .nav-menu.open a { padding: 16px 4px; display: block; }
  nav { padding: 0 28px; }
  .wrap { padding: 0 28px; }
  .section { padding: 72px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 0 28px 48px; }
  .f-bottom { padding: 0 28px; flex-direction: column; align-items: flex-start; }
}
