/* ALSAMHA for Abaya & Shaila — concept by Beans Digital
   Editorial boutique look: ivory paper, deep ink, antique gold.
   Type: Cormorant Garamond (display) + Jost (body). */

@view-transition { navigation: auto; }

:root {
  --ivory: #faf6ee;
  --paper: #f3ecdf;
  --ink: #191410;
  --ink-soft: #4a4238;
  --gold: #a8842e;
  --gold-soft: #c9a96a;
  --olive: #68684a;
  --line: rgba(25, 20, 16, 0.14);
  --radius: 2px;
  --wrap: 1140px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--ink);
  color: #e9ddc6;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 14px;
}
.concept-banner a { color: var(--gold-soft); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand { text-decoration: none; line-height: 1.1; view-transition-name: brand; }
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand .brand-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.main-nav a:hover { color: var(--ink); border-color: var(--gold); }
.main-nav a.active { color: var(--ink); border-color: var(--gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 72vh;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(20px, 6vw, 90px);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
}
.hero h1 em { font-style: italic; color: var(--olive); }
.hero p.lede {
  margin-top: 22px;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; overflow: hidden; background: var(--paper); }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 18s ease-out forwards;
}
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(250, 246, 238, 0.93);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.hero-badge strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn.solid { background: var(--ink); color: var(--ivory); }
.btn.solid:hover { background: var(--gold); border-color: var(--gold); }
.btn.gold { border-color: var(--gold); color: var(--gold); }
.btn.gold:hover { background: var(--gold); color: var(--ivory); }

/* ---------- ribbon marquee ---------- */
.ribbon {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 0;
}
.ribbon-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ribbon-scroll 36s linear infinite;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ribbon span::after { content: "·"; margin-left: 48px; color: var(--gold); }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.block { padding: clamp(56px, 9vw, 104px) 0; }
section.block.tinted { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.15;
}
.section-head p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- collection grid ---------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.collection-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
}
.collection-card img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.collection-card:hover img { transform: scale(1.05); }
.collection-card .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 18px 16px;
  background: linear-gradient(to top, rgba(25, 20, 16, 0.72), transparent);
  color: #f5ecd9;
}
.collection-card .label h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: 0.06em; }
.collection-card .label span { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.product-card { border: 1px solid transparent; }
.product-card figure { overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.product-card img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.product-card:hover img { transform: scale(1.04); }
.product-card .meta { padding: 14px 4px 0; }
.product-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.product-card .price { margin-top: 4px; font-size: 0.82rem; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; }
.product-card .tag { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split .media { overflow: hidden; border: 1px solid var(--line); }
.split .media img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.split ul { list-style: none; margin: 18px 0 26px; }
.split ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.split ul li::before { content: "—"; color: var(--gold); flex: none; }

/* ---------- quotes ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.quote-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
section.block.tinted .quote-card { background: var(--ivory); }
.quote-card .stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; }
.quote-card blockquote {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
}
.quote-card cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--ink);
}
.stat .num span { color: var(--gold); }
.stat .lbl { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

/* ---------- hours / info tables ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
table.hours { width: 100%; border-collapse: collapse; }
table.hours td {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
table.hours td:last-child { text-align: right; color: var(--ink-soft); }
table.hours tr.today td { color: var(--gold); font-weight: 400; }
.map-frame { border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

.contact-list { list-style: none; margin-top: 18px; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.contact-list .k { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); min-width: 92px; flex: none; }
.contact-list a { color: var(--ink); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--ink);
  color: #efe6d2;
  text-align: center;
  padding: clamp(56px, 8vw, 92px) 20px;
}
.cta-strip h2 { color: #f5ecd9; }
.cta-strip p { color: #bfb39c; margin: 14px auto 30px; max-width: 54ch; }
.cta-strip .btn { border-color: var(--gold-soft); color: var(--gold-soft); }
.cta-strip .btn:hover { background: var(--gold-soft); color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a99d87;
  border-top: 1px solid rgba(201, 169, 106, 0.25);
  padding: 48px 0 30px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 34px;
}
.site-footer h4 {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
  font-weight: 400;
}
.site-footer a { color: #d8ccb4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.footer-legal {
  border-top: 1px solid rgba(201, 169, 106, 0.18);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(52px, 8vw, 88px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
}
.page-hero p { margin-top: 14px; max-width: 58ch; color: var(--ink-soft); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1f7a53;
  color: #fff;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgba(25, 20, 16, 0.28);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(25, 20, 16, 0.32); }
.wa-float svg { width: 20px; height: 20px; flex: none; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* no-JS: keep everything visible */
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ribbon-track { animation: none; }
  .hero-media img { animation: none; }
  .collection-card img, .product-card img { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; max-height: 54vh; }
  .split { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px 20px;
    gap: 4px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; }
  html.no-js .main-nav { display: flex; position: static; border: 0; padding: 0 0 12px; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  html.no-js .header-inner { flex-wrap: wrap; }
  html.no-js .nav-toggle { display: none; }
}
