/* Sabiha Tex & Apparels — site styles */
:root {
  --indigo: #16204d;
  --indigo-700: #223068;
  --indigo-300: #6472ad;
  --cotton: #f4eee0;
  --cotton-2: #ebe2cd;
  --paper: #fffdf8;
  --madder: #b8432a;
  --madder-dark: #93311c;
  --turmeric: #dfa63a;
  --leaf: #4f7a52;
  --ink: #16161f;
  --muted: #5d5b56;
  --line: rgba(22, 32, 77, .16);
  --radius: 2px;
  --shadow: 0 18px 40px -24px rgba(22, 32, 77, .55);
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--indigo); }
h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(27px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.22; }
p { color: var(--muted); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--madder); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; border-top: 2px dashed currentColor; }
.eyebrow.light { color: var(--turmeric); }
.lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 68ch; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.tint { background: var(--cotton); }
.section.ink { background: var(--indigo); }
.section.ink h2, .section.ink h3 { color: var(--paper); }
.section.ink p { color: #c9cde6; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin-top: 14px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border: 1.5px solid var(--indigo); background: var(--indigo); color: var(--paper);
  font-weight: 600; font-size: 14.5px; letter-spacing: .02em; text-decoration: none; border-radius: var(--radius);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { background: var(--madder); border-color: var(--madder); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--indigo); }
.btn.ghost:hover { background: var(--indigo); color: var(--paper); }
.btn.light { background: var(--turmeric); border-color: var(--turmeric); color: var(--indigo); }
.btn.light:hover { background: var(--paper); border-color: var(--paper); }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* header */
.topbar {
  background: var(--indigo); color: #c9cde6; font-size: 13px;
  font-family: "IBM Plex Mono", monospace; letter-spacing: .04em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: space-between; padding: 8px 0; }
.topbar a { color: #e6e8f5; text-decoration: none; }
.topbar a:hover { color: var(--turmeric); }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }

header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand b { font-family: "Fraunces", serif; font-size: 19px; color: var(--indigo); display: block; line-height: 1.1; letter-spacing: -.01em; }
.brand small { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  padding: 9px 13px; font-size: 14.5px; font-weight: 500; color: var(--indigo);
  text-decoration: none; border-radius: var(--radius); position: relative;
}
nav.main a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--madder); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleX(1); }
nav.main a[aria-current="page"] { color: var(--madder); }
.nav-cta { margin-left: 10px; }
nav.main a.btn, nav.main a.btn:hover { color: var(--paper); }
nav.main a.btn::after { display: none; }
.burger {
  display: none; width: 44px; height: 40px; border: 1.5px solid var(--line); background: transparent;
  border-radius: var(--radius); cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--indigo); transition: .22s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14, 20, 50, .93) 10%, rgba(14, 20, 50, .76) 48%, rgba(14, 20, 50, .45) 100%);
}
.hero .wrap { padding: clamp(64px, 11vw, 150px) 0 clamp(52px, 8vw, 110px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { color: #d7dbee; max-width: 56ch; margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); }
.hero.compact .wrap { padding: clamp(46px, 7vw, 88px) 0; }
.hero.compact h1 { max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips span {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .34); color: #fff; padding: 7px 13px; border-radius: 999px;
}
.crumbs { font-size: 13px; color: #b9c0dd; margin-bottom: 16px; font-family: "IBM Plex Mono", monospace; }
.crumbs a { color: #d9deef; text-decoration: none; }
.crumbs a:hover { color: var(--turmeric); }

/* grids & cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--indigo); }
.card .num {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .14em;
  color: var(--madder); display: block; margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15.3px; }
.card ul { margin-top: 12px; }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.3px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 13px; height: 7px;
  border-left: 2px solid var(--madder); border-bottom: 2px solid var(--madder); transform: rotate(-45deg);
}
.section.ink .ticks li { color: #c9cde6; }
.section.ink .ticks li::before { border-color: var(--turmeric); }

/* media card (product category) */
.mcard { display: block; text-decoration: none; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--indigo); }
.mcard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s; opacity: .88; }
.mcard:hover img { transform: scale(1.06); opacity: .7; }
.mcard .cap { position: absolute; inset: auto 0 0 0; padding: 22px 20px; background: linear-gradient(transparent, rgba(12, 18, 44, .9)); }
.mcard .cap h3 { color: #fff; font-size: 21px; }
.mcard .cap span { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--turmeric); }
.mcard .cap p { color: #d3d8ef; font-size: 14px; margin-top: 6px; }

/* split section */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split figure { position: relative; }
.split figure img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: var(--radius); }
.split figure::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--turmeric); z-index: -1; border-radius: var(--radius);
}
.stack-img { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stack-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 1 / 1; }
.stack-img img:first-child { grid-row: span 2; aspect-ratio: 3 / 4.2; }

/* process timeline */
.steps { counter-reset: s; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.steps li { list-style: none; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 22px 4px; align-items: start; }
.steps li .idx { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--madder); letter-spacing: .12em; padding-top: 4px; }
.steps li h3 { font-size: 20px; margin-bottom: 6px; }
.steps li p { font-size: 15.3px; }
.section.ink .steps { border-color: rgba(255, 255, 255, .18); }
.section.ink .steps li { border-color: rgba(255, 255, 255, .18); }
.section.ink .steps li .idx { color: var(--turmeric); }

/* item list (product pages) */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.item img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.item .body { padding: 18px 20px 22px; }
.item h3 { font-size: 19px; margin-bottom: 8px; }
.item p { font-size: 14.8px; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.taglist span {
  font-size: 13px; border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px;
  background: var(--paper); color: var(--indigo);
}

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 46px 20px 0; position: relative;
  font-family: "Fraunces", serif; font-size: clamp(17px, 1.6vw, 20px); color: var(--indigo); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: "IBM Plex Mono", monospace; font-size: 22px; color: var(--madder); transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; max-width: 86ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.info-list { display: grid; gap: 22px; margin-top: 8px; }
.info-list .row { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.info-list .ic { width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; }
.info-list .ic svg { width: 19px; height: 19px; stroke: var(--madder); fill: none; stroke-width: 1.8; }
.info-list h4 { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.info-list a, .info-list address { color: var(--indigo); font-style: normal; text-decoration: none; font-size: 15.6px; line-height: 1.55; display: block; }
.info-list a:hover { color: var(--madder); }
form.enquiry { background: var(--cotton); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); }
form.enquiry label { display: block; font-size: 13px; font-weight: 600; color: var(--indigo); margin: 0 0 6px; letter-spacing: .02em; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 15px; color: var(--ink); border-radius: var(--radius); margin-bottom: 16px;
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
form.enquiry textarea { min-height: 128px; resize: vertical; }
form.enquiry .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry .two > div { min-width: 0; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 34px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* cta band */
.cta-band { background: var(--indigo); color: #fff; }
.cta-band .wrap { padding: clamp(44px, 6vw, 76px) 0; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #c9cde6; margin-top: 12px; max-width: 54ch; }

/* footer */
footer.site { background: #10172f; color: #aeb5d4; padding: clamp(44px, 6vw, 72px) 0 26px; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; }
footer.site h4 { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--turmeric); margin-bottom: 16px; font-weight: 500; }
footer.site a { color: #c6cce6; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; display: grid; gap: 9px; }
footer.site .brand b { color: #fff; }
footer.site .brand small { color: #8f97bb; }
footer.site address { font-style: normal; line-height: 1.6; }
.foot-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 13px; color: #8f97bb;
}

/* float actions */
.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .5);
}
.float-wa svg { width: 28px; height: 28px; fill: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  nav.main {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 78px 24px 30px; transform: translateY(-104%);
    transition: transform .3s ease, opacity .25s ease, visibility .3s;
    visibility: hidden; opacity: 0;
    box-shadow: var(--shadow); max-height: 100svh; overflow-y: auto;
  }
  nav.main.open { transform: none; visibility: visible; opacity: 1; }
  nav.main a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  nav.main a::after { display: none; }
  .nav-cta { margin: 18px 0 0; justify-content: center; }
  .burger { display: block; z-index: 61; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev { direction: ltr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4, .items { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 6px; }
  footer.site .cols { grid-template-columns: 1fr; }
  form.enquiry .two { grid-template-columns: 1fr; }
  .topbar .wrap { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
