/* HALWAA 2026 editorial direction — public storefront only. */
:root {
  --cream: #f5ecdf;
  --cream-deep: #dfcdb7;
  --paper: #fffaf2;
  --ink: #21100a;
  --muted: #75665d;
  --cocoa: #5b2d1c;
  --caramel: #b96f2f;
  --gold: #d9a85b;
  --night: #170a06;
  --night-soft: #28130c;
  --line: rgba(74, 40, 25, 0.16);
  --shadow: 0 34px 90px rgba(43, 20, 10, 0.18);
  --page: min(1280px, calc(100vw - 64px));
}

html { background: var(--night); }
body { background: var(--cream); }

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  display: block;
  width: 232px;
}
.brand__logo img {
  width: 100%;
  height: auto;
  filter:
    saturate(.76)
    brightness(1.22)
    contrast(1.16)
    hue-rotate(4deg)
    drop-shadow(0 1px 0 rgba(255, 237, 185, .34))
    drop-shadow(0 5px 15px rgba(17, 6, 2, .64));
}

.site-header {
  width: var(--page);
  min-height: 96px;
  color: #fff4df;
}

.site-header .nav { grid-column: 2; justify-self: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-header .header-actions { grid-column: 3; }
.site-header .cart-button {
  border-color: rgba(255, 244, 221, 0.24);
  color: #fff4df;
  background: rgba(255, 255, 255, 0.06);
}
.site-header .cart-count { color: var(--night); background: #f3c875; }

.site-header.is-scrolled,
.site-header--solid {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.92);
  border-color: rgba(64, 29, 16, 0.12);
  box-shadow: 0 16px 54px rgba(33, 16, 10, 0.14);
}
.site-header.is-scrolled .cart-button,
.site-header--solid .cart-button {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}
.site-header.is-scrolled .cart-count,
.site-header--solid .cart-count { color: white; background: var(--ink); }
.site-header.is-scrolled .brand__logo img,
.site-header--solid .brand__logo img {
  filter:
    saturate(.78)
    brightness(.94)
    contrast(1.34)
    hue-rotate(4deg)
    drop-shadow(0 1px 1px rgba(33, 16, 10, .34));
}

.hero {
  position: relative;
  min-height: 100svh;
  grid-template-columns: minmax(0, 640px);
  padding: 144px max(32px, calc((100vw - 1280px) / 2)) 86px;
  color: #fff7e9;
  background: #120704;
}

.hero::before {
  z-index: 1;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(18, 7, 4, .94) 0%, rgba(18, 7, 4, .8) 36%, rgba(18, 7, 4, .3) 68%, rgba(18, 7, 4, .12) 100%),
    linear-gradient(0deg, rgba(18, 7, 4, .72) 0%, transparent 42%);
  mask-image: none;
}

.hero__backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}
.hero__backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }

.hero__masthead {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 34px;
  width: min(43vw, 620px);
  opacity: .72;
  pointer-events: none;
  filter:
    saturate(.72)
    brightness(1.16)
    contrast(1.18)
    hue-rotate(4deg)
    drop-shadow(0 10px 25px rgba(0, 0, 0, .68));
}
.hero__masthead img { width: 100%; height: auto; }

.hero__copy {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 610px;
  padding-bottom: clamp(24px, 7vh, 76px);
}

.hero .eyebrow { color: #e2b568; }
.hero h1 {
  max-width: 650px;
  margin-bottom: 26px;
  color: #fff9ef;
  font-size: clamp(54px, 5.6vw, 90px);
  line-height: 0.95;
}
.hero__body { color: rgba(255, 244, 225, 0.84); }
.hero .button { color: var(--night); border-color: #f1c46e; background: #f1c46e; }
.hero .button:hover { border-color: white; background: white; }
.hero .button--ghost { color: #fff4df; border-color: rgba(255, 244, 223, 0.48); background: transparent; }
.hero .button--ghost:hover { color: var(--night); }

.scroll-cue { color: #f3c875; }
.scroll-cue span { border-color: #f3c875; }

.kinetic-gallery {
  position: relative;
  overflow: hidden;
  padding: 42px 0 54px;
  color: var(--night);
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 249, 224, .92) 0, rgba(249, 216, 148, .48) 30%, transparent 55%),
    radial-gradient(ellipse at -8% 70%, rgba(83, 27, 12, .46), transparent 34%),
    radial-gradient(ellipse at 108% 68%, rgba(83, 27, 12, .46), transparent 34%),
    linear-gradient(110deg, #783519 0%, #c37a2c 18%, #e4b45a 39%, #f0cd7d 51%, #d89a3f 72%, #82391b 100%);
  border-top: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px rgba(255, 248, 226, .32), inset 0 -1px rgba(67, 25, 10, .22);
  isolation: isolate;
}
.kinetic-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-radial-gradient(ellipse at 50% 118%, transparent 0 104px, rgba(255, 244, 211, .18) 105px 106px, transparent 107px 162px),
    linear-gradient(112deg, transparent 24%, rgba(255,255,255,.15) 48%, transparent 68%);
  opacity: .72;
  pointer-events: none;
}
.kinetic-gallery::after {
  content: "";
  position: absolute;
  inset: 14px 18px;
  z-index: -1;
  border-block: 1px solid rgba(255, 242, 210, .22);
  pointer-events: none;
}
.kinetic-gallery__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 34px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.kinetic-gallery__intro::before,
.kinetic-gallery__intro::after {
  content: "";
  width: min(16vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 35, 14, .48));
}
.kinetic-gallery__intro::after { transform: scaleX(-1); }
.kinetic-gallery__brand { display: block; width: 180px; }
.kinetic-gallery__brand img {
  width: 100%;
  height: auto;
  filter: saturate(.72) brightness(.72) contrast(1.48) hue-rotate(4deg) drop-shadow(0 2px 2px rgba(255, 248, 232, .5));
}
.kinetic-gallery__viewport { overflow: hidden; }
.kinetic-gallery__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline: 18px;
  animation: halwaa-marquee 42s linear infinite;
  will-change: transform;
}
.kinetic-gallery__track:hover { animation-play-state: paused; }
.kinetic-card {
  flex: 0 0 auto;
  height: clamp(250px, 29vw, 390px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 205, .48);
  border-radius: 160px 160px 18px 18px;
  background: var(--cream);
  box-shadow: 0 22px 54px rgba(58, 20, 8, .3), inset 0 0 0 1px rgba(79, 32, 13, .1);
}
.kinetic-card--tall { width: clamp(188px, 22vw, 288px); }
.kinetic-card--square { width: clamp(250px, 29vw, 390px); border-radius: 50%; }
.kinetic-card--wide { width: clamp(340px, 42vw, 560px); border-radius: 18px; }
.kinetic-card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes halwaa-marquee { to { transform: translateX(calc(-50% - 9px)); } }

.story {
  position: relative;
  width: min(1380px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  min-height: 790px;
  padding: clamp(72px, 7vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(238, 187, 99, .25);
  border-radius: 38px;
  color: #fff8eb;
  background:
    radial-gradient(circle at 82% 16%, rgba(238, 177, 80, .19), transparent 31%),
    radial-gradient(circle at 15% 88%, rgba(137, 49, 20, .27), transparent 36%),
    linear-gradient(135deg, #120604 0%, #32140b 58%, #170705 100%);
  box-shadow: 0 34px 90px rgba(41, 17, 8, .24);
  isolation: isolate;
}
.story::before {
  content: "HALWAA";
  position: absolute;
  right: -.04em;
  bottom: -.16em;
  z-index: -1;
  color: rgba(247, 205, 126, .045);
  font-family: Georgia, serif;
  font-size: clamp(130px, 20vw, 310px);
  letter-spacing: -.07em;
  line-height: 1;
  pointer-events: none;
}
.story::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(255, 239, 206, .08);
  border-radius: 28px;
  pointer-events: none;
}
.story__copy { position: relative; z-index: 3; max-width: 500px; margin: 0; }
.story .eyebrow { color: #e7b65f; }
.story h2 { color: #fff8eb; font-size: clamp(52px, 5.7vw, 86px); }
.story__body { max-width: 440px; color: rgba(255, 244, 225, .7); }
.story__edition {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 14px;
  margin: 38px 0 0;
  padding: 10px 16px;
  border: 1px solid rgba(238, 187, 99, .34);
  border-radius: 999px;
  color: #e7b65f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}
.story__edition strong { color: #fff4dc; font-family: Georgia, serif; font-size: 20px; font-weight: 500; letter-spacing: .04em; }
.story__edition span + strong,
.story__edition strong + span { border-left: 1px solid rgba(238, 187, 99, .3); padding-left: 14px; }
.story__rail { position: relative; min-height: 600px; }
.story-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 190, .28);
  background: #f4eadb;
  box-shadow: 0 28px 58px rgba(7, 2, 1, .46);
}
.story-shot img { filter: saturate(1.04) contrast(1.04); }
.story-shot--round {
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 47%;
  aspect-ratio: .78;
  border-radius: 220px 220px 24px 24px;
  transform: rotate(-3deg);
}
.story-shot--wide {
  top: 0;
  right: 0;
  z-index: 1;
  width: 70%;
  aspect-ratio: .82;
  border-radius: 260px 260px 28px 28px;
  transform: rotate(1deg);
}
.story-shot figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 236, 204, .2);
  border-radius: 14px;
  color: #fff7e8;
  background: rgba(24, 8, 4, .82);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.story-shot figcaption span { padding-right: 10px; border-right: 1px solid rgba(235, 181, 88, .42); color: #e7b65f; }
.story-shot--wide figcaption { left: auto; width: min(290px, calc(100% - 24px)); }
.story-shot--cookie { display: none; }

.catalog { padding: 120px 0 150px; }
.section-heading { max-width: 850px; margin-bottom: 70px; }
.section-heading h2 { font-size: clamp(52px, 7vw, 102px); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid rgba(70, 35, 18, .12);
  border-radius: 20px;
  color: rgba(45, 20, 11, .72);
  background: var(--paper);
  text-align: center;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
}
.product-card {
  border-color: rgba(70, 35, 18, .12);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 54px rgba(60, 27, 13, .07);
}
.product-card--1 {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
}
.product-card--1 .product-card__media { height: 100%; aspect-ratio: auto; }
.product-card__media,
.product-card--5 .product-card__media,
.product-card--6 .product-card__media { aspect-ratio: .9; background: #e3d0b7; }
.product-card__media img { filter: saturate(.96) contrast(1.015); }
.product-card__body { display: flex; flex-direction: column; padding: 28px; }
.product-card h3 { font-size: clamp(27px, 2.5vw, 40px); }
.product-card__description { flex: 1; }
.product-card__package { color: #9e5e28; }
.product-card__badge { background: #8e3c1d; }

.about {
  position: relative;
  width: min(1380px, calc(100vw - 32px));
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(40px, 8vw, 130px);
  padding: clamp(60px, 8vw, 118px);
  overflow: hidden;
  border-radius: 34px;
  color: #fff7ea;
  background: var(--night-soft);
}
.about::after {
  content: "";
  position: absolute;
  right: -.05em;
  bottom: -.16em;
  color: rgba(243, 200, 117, .06);
  font-family: Georgia, serif;
  font-size: clamp(100px, 18vw, 260px);
  letter-spacing: -.08em;
  pointer-events: none;
}
.about__image { z-index: 1; }
.about__image::before { background: rgba(226, 170, 91, .12); box-shadow: 0 0 100px rgba(226, 170, 91, .1); }
.about__image img { border: 1px solid rgba(255,255,255,.16); }
.about__copy { position: relative; z-index: 1; }
.about .eyebrow { color: #e2b568; }
.about__copy > p:last-child { color: rgba(255,244,225,.68); }
.about__facts {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 225, .16);
  border-radius: 20px;
  background: rgba(255, 244, 225, .16);
}
.about-fact { min-height: 170px; padding: 28px; background: #170a06; }
.about-fact h3 { margin-bottom: 12px; color: #ffd98f; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.about-fact p { margin: 0; color: rgba(255, 247, 232, .82); line-height: 1.6; }

.contact {
  margin-top: 90px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--night);
  background: #d8a14f;
}
.contact .eyebrow,
.contact p { color: rgba(35, 16, 9, .68); }
.contact__links a { border-color: rgba(35, 16, 9, .3); }
.contact__links a:hover { background: rgba(255,255,255,.22); }

.commerce-body { background: linear-gradient(145deg, #fffaf1, var(--cream) 45%, #dec9ad); }
@media (max-width: 1100px) {
  :root { --page: min(100% - 40px, 900px); }
  .hero { grid-template-columns: minmax(0, 620px); padding-inline: 28px; }
  .story { gap: 54px; padding-inline: 64px; }
  .product-card--1 { grid-template-columns: 1fr; }
  .product-card--1 .product-card__media { aspect-ratio: .9; }
}

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 760px); }
  .site-header .header-actions { grid-column: 2; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding: 138px 28px 80px;
  }
  .hero__copy { align-self: auto; max-width: 720px; padding: 0; }
  .hero__masthead { right: 28px; bottom: 28px; width: min(54vw, 520px); }
  .story { grid-template-columns: 1fr; }
  .story__copy { max-width: 650px; }
  .story__rail { min-height: 620px; margin-top: 12px; }
  .product-card--1 { grid-column: auto; display: block; }
  .about { width: min(100% - 24px, 780px); padding: 64px 44px; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 24px); }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 0 10px 0 14px;
    border: 1px solid rgba(255, 244, 221, .16);
    border-radius: 999px;
    background: rgba(23, 10, 6, .72);
    backdrop-filter: blur(16px);
  }
  .site-header.is-scrolled,
  .site-header--solid { top: 8px; min-height: 64px; padding: 0 10px 0 14px; }
  .site-header--solid {
    border-color: rgba(64, 29, 16, .12);
    background: rgba(255, 250, 242, .94);
    box-shadow: 0 12px 38px rgba(33, 16, 10, .13);
  }
  .brand__logo { width: 166px; }
  .header-actions { gap: 1px; }
  .language-switch { min-width: 38px; min-height: 42px; font-size: 11px; }
  .cart-button { width: 42px; min-height: 42px; }
  .cart-count { min-width: 21px; height: 21px; font-size: 10px; }

  .hero {
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 112px 16px 120px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 7, 4, .9) 0%, rgba(18, 7, 4, .74) 52%, rgba(18, 7, 4, .56) 100%),
      linear-gradient(0deg, rgba(18, 7, 4, .58) 0%, transparent 38%);
  }
  .hero__backdrop img { object-position: center 56%; }
  .hero__masthead { right: 16px; bottom: 22px; width: min(88vw, 450px); opacity: .76; }
  .hero__copy { z-index: 5; width: 100%; }
  .hero .eyebrow { margin-bottom: 13px; font-size: 9px; letter-spacing: .18em; }
  .hero h1 {
    max-width: 440px;
    margin-bottom: 18px;
    font-size: clamp(42px, 13.4vw, 58px);
    line-height: .94;
  }
  .hero__body { max-width: 390px; margin-bottom: 22px; font-size: 15px; line-height: 1.55; }
  .hero__actions { width: 100%; }
  .hero__actions .button { min-height: 48px; padding-inline: 12px; font-size: 11px; }
  .scroll-cue { display: none; }

  .kinetic-gallery { padding: 28px 0 34px; }
  .kinetic-gallery::after { inset: 8px 10px; }
  .kinetic-gallery__intro::before,
  .kinetic-gallery__intro::after { width: min(12vw, 48px); }
  .kinetic-gallery__intro { gap: 10px; margin-bottom: 22px; font-size: 8px; letter-spacing: .14em; }
  .kinetic-gallery__brand { width: 164px; }
  .kinetic-gallery__track { gap: 12px; padding-inline: 12px; animation-duration: 34s; }
  .kinetic-card { height: 240px; }
  .kinetic-card--tall { width: 180px; }
  .kinetic-card--square { width: 240px; }
  .kinetic-card--wide { width: 330px; }

  .story {
    width: calc(100% - 16px);
    gap: 34px;
    min-height: 0;
    padding: 72px 20px 34px;
    border-radius: 26px;
  }
  .story::after { inset: 8px; border-radius: 20px; }
  .story__copy { margin: 0; }
  .story h2 { font-size: clamp(44px, 13vw, 62px); }
  .story__body { font-size: 15px; line-height: 1.65; }
  .story__edition {
    display: grid;
    width: 100%;
    max-width: 360px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 9px;
    box-sizing: border-box;
    margin-top: 26px;
    padding: 9px 12px;
    font-size: 7px;
    text-align: center;
  }
  .story__edition strong { font-size: 17px; }
  .story__edition span + strong,
  .story__edition strong + span { padding-left: 9px; }
  .story__rail { display: block; min-height: 420px; margin: 0; padding: 0; overflow: visible; }
  .story-shot { min-width: 0; }
  .story-shot--wide { top: 0; right: 0; width: min(76%, 360px); transform: rotate(1deg); }
  .story-shot--round { bottom: 8px; left: 0; width: min(56%, 260px); transform: rotate(-3deg); }
  .story-shot figcaption { right: 8px; bottom: 8px; left: 8px; min-height: 38px; padding: 8px 10px; border-radius: 11px; font-size: 8px; }

  .catalog { padding: 72px 0 96px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(44px, 14vw, 62px); overflow-wrap: anywhere; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card--1 { display: block; }
  .product-card__media,
  .product-card--1 .product-card__media,
  .product-card--5 .product-card__media,
  .product-card--6 .product-card__media { height: auto; aspect-ratio: 1.08; }
  .product-card__body { padding: 20px; }
  .product-card h3 { font-size: 30px; }

  .about {
    width: calc(100% - 16px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 20px 46px;
    border-radius: 26px;
  }
  .about__image { order: 0; }
  .about__copy { order: 1; }
  .about__facts { grid-template-columns: 1fr; order: 2; }
  .about-fact { min-height: 0; padding: 22px 20px; }
  .about-fact h3 { font-size: 23px; }
  .about::after { content: ""; }

  .contact { margin-top: 56px; padding: 38px 22px; }
  .contact > * { min-width: 0; }
  .contact h2 { font-size: clamp(34px, 11.4vw, 42px); overflow-wrap: anywhere; }
  .contact__links a { width: 100%; }
  .footer { font-size: 11px; }
}

@media (max-width: 360px) {
  .brand__logo { width: 144px; }
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 40px; }
  .story__edition { gap: 6px; padding-inline: 8px; font-size: 6.5px; letter-spacing: .11em; }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic-gallery__track { animation: none !important; }
  .kinetic-gallery__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .kinetic-card { scroll-snap-align: center; }
}
