/* site-safety */
/* لؤلؤة الرمل / Sand Pearl. Night amber, gold light, sand and pearl. RTL, logical properties only. */
:root {
  --night: #120b07;
  --night-2: #1b110a;
  --night-3: #27190f;
  --night-4: #34231a;
  --amber: #c98a3e;
  --amber-2: #a86a26;
  --gold: #e6c27a;
  --gold-soft: #f1dcae;
  --sand: #ead9b9;
  --pearl: #f7f0e4;
  --muted: #c5b091;
  --rose: #d39a8a;
  --display: "Amiri", "Times New Roman", serif;
  --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-xl: 44px;
  --r-lg: 32px;
  --r-md: 22px;
  --gutter: clamp(1.1rem, 5vw, 4.5rem);
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 12px 30px -18px rgba(0, 0, 0, .6);
  --glow: 0 0 0 2px rgba(230, 194, 122, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html, body { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--night);
  color: var(--sand);
  font: 400 1.125rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.3; color: var(--pearl); }
p { margin: 0; }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.15em; }
.latin { font-family: "Amiri", Georgia, serif; direction: ltr; unicode-bidi: isolate; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.skip { position: absolute; top: 0; inset-inline-start: 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; top: 1rem; z-index: 100; background: var(--gold); color: var(--night); padding: .75rem 1.1rem; border-radius: 14px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(230, 194, 122, .6); outline-offset: 4px; border-radius: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1rem; font-weight: 500; color: var(--gold);
}
.eyebrow::before { content: ""; width: 2.2rem; height: 2px; border-radius: 2px; background: linear-gradient(to left, var(--gold), transparent); }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.top.scrolled{background:rgba(18, 11, 7, .78);backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3);box-shadow:0 8px 24px rgb(17 24 39 / 0.08)}
.brand {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; min-height: 48px;
}
.brand-mark { width: 40px; height: 40px; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: grid; line-height: 1.15; }
.brand-ar { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--pearl); }
.brand-en { font-family: "Amiri", Georgia, serif; font-size: .78rem; letter-spacing: .28em; color: var(--gold); direction: ltr; text-align: end; }
.menu-toggle {
  position: relative; z-index: 2;
  width: 48px; height: 48px; margin-inline-end: -10px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; color: var(--pearl); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle line { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .45s var(--spring), opacity .25s; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

#nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: 6rem var(--gutter) 3rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(201, 138, 62, .28), transparent 55%),
    var(--night-2);
  clip-path: circle(0 at 2.6rem 2.6rem);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
#nav.open { clip-path: circle(150% at 2.6rem 2.6rem); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
#nav a {
  font-family: var(--display); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.35; text-decoration: none; color: var(--pearl);
  min-height: 48px; display: inline-flex; align-items: center; align-self: flex-start;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s, transform .6s var(--spring), color .2s;
}
#nav.open a { opacity: 1; transform: none; }
#nav.open a:nth-child(2) { transition-delay: .05s; }
#nav.open a:nth-child(3) { transition-delay: .1s; }
#nav.open a:nth-child(4) { transition-delay: .15s; }
#nav.open a:nth-child(5) { transition-delay: .2s; }
#nav a:hover, #nav a[aria-current="page"] { color: var(--gold); }
#nav .nav-cta { color: var(--gold); }

@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  #nav {
    position: static; clip-path: none; visibility: visible; background: none; padding: 0;
    flex-direction: row; align-items: center; gap: .3rem; transition: none;
  }
  #nav a { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; line-height: 1; opacity: 1; transform: none; padding: 0 1rem; border-radius: 999px; color: var(--sand); transition: background .3s, transform .4s var(--spring), color .2s; }
  #nav a:hover { background: rgba(230, 194, 122, .1); color: var(--pearl); transform: translateY(-2px); }
  #nav a[aria-current="page"] { color: var(--gold); background: rgba(230, 194, 122, .08); }
  #nav .nav-cta { background: var(--gold); color: var(--night); margin-inline-start: .6rem; padding: 0 1.4rem; font-weight: 600; }
  #nav .nav-cta:hover { background: var(--pearl); color: var(--night); }
  #nav .nav-cta[aria-current="page"] { background: var(--pearl); color: var(--night); }
}

/* ---------- Pattern ---------- */
.pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e6c27a' stroke-width='1.4'%3E%3Cpath d='M32 6l7.5 18.5L58 32l-18.5 7.5L32 58l-7.5-18.5L6 32l18.5-7.5z'/%3E%3Crect x='19' y='19' width='26' height='26' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: center; gap: 2rem;
  padding: 6.5rem var(--gutter) 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(230, 194, 122, .32), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(168, 106, 38, .22), transparent 70%),
    var(--night);
}
.hero-rays { position: absolute; inset: 0; z-index: -1; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(3.3rem, 15vw, 8.2rem);
  line-height: 1.42;
  margin: 2.4rem 0 1rem;
  text-wrap: balance;
}
.hero h1 .gold { color: var(--gold); display: block; }
.lede { max-width: 33rem; color: var(--muted); font-size: clamp(1.125rem, 2.2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2.2rem; }

.cta-star {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 60px; padding: 0 2rem; border-radius: 999px;
  background: var(--gold); color: var(--night); font-weight: 600; font-size: 1.1rem; text-decoration: none;
  transition: transform .5s var(--spring);
}
.cta-star[data-ai-code-use-state="ready"] { background: none; padding: 0; min-height: 0; }
.cta-star .star-border{min-height:60px;padding:0 2.1rem;font-weight:600;font-size:1.1rem;gap:.6rem;transition:transform .5s var(--spring), box-shadow .4s;box-shadow:0 8px 24px rgb(230 194 122 / 0.08)}
.cta-star .star-border:hover { transform: translateY(-3px) scale(1.03); }
.cta-star .star-border:active { transform: scale(.96); }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px;
  font-weight: 500; text-decoration: none; color: var(--pearl);
}
.text-link .icon { transition: transform .45s var(--spring); color: var(--gold); }
.text-link:hover .icon { transform: translateX(-6px); }

.hero-art { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; }
.pearl-orb{position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle at 34% 30%, #fffaf0 0%, #f2e2c4 18%, #c99a5c 52%, #5a3a1c 82%, #2a190d 100%);box-shadow:inset -30px -40px 80px rgba(42, 25, 13, .7),0 8px 24px rgb(230 194 122 / 0.08);animation:breathe 9s ease-in-out infinite alternate}
.pearl-orb::after { content: ""; position: absolute; inset: 14% 52% 58% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .7), transparent 70%); filter: blur(6px); }
.hero-flask { position: absolute; inset-block-end: 4%; inset-inline-start: 50%; translate: 50% 0; width: 44%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); animation: float 7s ease-in-out infinite alternate; }
.hero-smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-smoke path { fill: none; stroke: rgba(247, 240, 228, .55); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: smoke 7s var(--ease) infinite; }
.hero-smoke path:nth-child(2) { animation-delay: 1.6s; stroke: rgba(230, 194, 122, .5); }
.hero-smoke path:nth-child(3) { animation-delay: 3.2s; }
.hero-chip { position: absolute; width: 18%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.chip-a { inset-block-end: 8%; inset-inline-end: 6%; rotate: -18deg; }
.chip-b { inset-block-end: 2%; inset-inline-end: 24%; width: 12%; rotate: 24deg; }
.hero-note {
  position: absolute; inset-block-end: 6%; inset-inline-start: -2%; max-width: 14.5rem;
  background: rgba(27, 17, 10, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .9rem 1.1rem; border-radius: var(--r-md);
  font-size: .95rem; line-height: 1.6; color: var(--muted); box-shadow: var(--shadow), var(--glow);
  rotate: 3deg;
}
.hero-note strong { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--gold); }

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.15fr .85fr; gap: 3rem; padding-top: 7rem; }
  .hero h1 { margin-inline-end: -10vw; }
}

/* ---------- Curved notes band ---------- */
.notes-band { position: relative; padding: clamp(1rem, 3vw, 2rem) 0; overflow: hidden; }
.notes-band [data-ai-code-use] {
  direction: ltr; display: block; min-height: 90px; text-align: center;
  font-family: var(--display); font-size: 1.6rem; color: var(--gold);
}
.notes-band .curved-loop-jacket { width: 100%; }
.notes-band .curved-loop-svg { font-family: var(--display); width: 100%; overflow: visible; }

/* ---------- Section basics ---------- */
section { position: relative; }
.section { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.section-head { max-width: 46rem; margin-block-end: clamp(2rem, 5vw, 3.5rem); }
.section-head h2, .big-h2 {
  font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.25;
  margin: .8rem 0 1rem; text-wrap: balance;
}
.section-sub { color: var(--muted); max-width: 34rem; }
.gold { color: var(--gold); }

/* ---------- Blends (bento) ---------- */
.blends { display: grid; gap: clamp(.9rem, 1.8vw, 1.4rem); }
.blend {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg);
  padding: 1.5rem;
  background: var(--night-2);
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: end;
  min-height: 250px;
  transition: transform .6s var(--spring), box-shadow .5s var(--ease), background .4s;
  box-shadow: var(--glow);
}
.blend::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--tone, rgba(201, 138, 62, .35)), transparent 70%); z-index: -1; transition: transform .8s var(--ease); }
.blend:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 2px rgba(230, 194, 122, .28); }
.blend:hover::before { transform: scale(1.25); }
.blend-body { display: grid; gap: .45rem; align-self: stretch; align-content: end; }
.blend-tag { justify-self: start; font-size: 1rem; font-weight: 500; color: var(--gold); background: rgba(230, 194, 122, .1); padding: .2rem .8rem; border-radius: 999px; }
.blend h3 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.25; }
.blend p { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.notes { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; padding: 0; list-style: none; }
.notes li { font-size: 1rem; color: var(--sand); background: rgba(247, 240, 228, .06); padding: .15rem .7rem; border-radius: 999px; }
.price { font-family: var(--display); font-size: 1.45rem; color: var(--pearl); margin-top: .4rem; }
.price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-inline-start: .3rem; }
.blend-flask { width: clamp(64px, 18vw, 120px); align-self: center; transition: transform .7s var(--spring); filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .5)); }
.blend:hover .blend-flask { transform: rotate(-6deg) translateY(-6px) scale(1.04); }
.blend-hero { background: linear-gradient(160deg, #3a2414, var(--night-2) 70%); }
.blend-hero h3 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.blend-hero .blend-flask { width: clamp(84px, 24vw, 190px); }

@media (min-width: 760px) {
  .blends { grid-template-columns: repeat(6, 1fr); }
  .blend { grid-column: span 3; }
  .blend-hero { grid-column: span 6; min-height: 360px; padding: 2.2rem; }
}
@media (min-width: 1100px) {
  .blends { grid-template-rows: auto auto; }
  .blend-hero { grid-column: 1 / 4; grid-row: 1 / 3; }
  .blend:nth-child(2) { grid-column: 4 / 7; }
  .blend:nth-child(3) { grid-column: 4 / 7; }
  .blend-wide { grid-column: 1 / 7; min-height: 0; }
  .blend-wide .blend-body { max-width: 40rem; }
}

/* ---------- Layering (sticky dunes) ---------- */
.layering { background: linear-gradient(var(--night), var(--night-2) 20%, var(--night-2)); border-radius: var(--r-xl) var(--r-xl) 0 0; display: grid; gap: 1rem; }
.layer-sticky, .layer-panel { display: contents; }
.dunes-wrap { position: sticky; top: 64px; z-index: 2; margin: 0 calc(var(--gutter) * -1) .5rem; padding: .6rem var(--gutter) .8rem; background: linear-gradient(var(--night-2) 82%, rgba(27, 17, 10, 0)); }
.dunes { width: 100%; height: auto; max-height: 26vh; }
.dunes .band { transition: opacity .6s var(--ease), transform .8s var(--spring); transform-box: fill-box; transform-origin: center; opacity: .16; }
.dunes .band.on { opacity: 1; }
.dune-labels text { font-family: var(--display); font-size: 22px; font-weight: 700; fill: #1b110a; opacity: 0; transition: opacity .5s var(--ease); }
.dune-labels text.on { opacity: .85; }
.dunes .band.now { transform: translateY(-4px); }
.dune-count { display: flex; align-items: baseline; gap: .6rem; font-family: var(--display); color: var(--muted); margin-top: .3rem; }
.dune-count b { font-size: clamp(1.8rem, 6vw, 3rem); color: var(--gold); font-weight: 700; display: inline-block; transition: transform .5s var(--spring), opacity .3s; }
.dune-count b.flip { transform: translateY(10px) rotate(6deg); opacity: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.step {
  background: var(--night-3); border-radius: var(--r-lg); padding: 1.6rem 1.5rem;
  opacity: .5; transform: scale(.97);
  transition: opacity .5s var(--ease), transform .6s var(--spring), box-shadow .5s;
}
.step.active { opacity: 1; transform: none; box-shadow: var(--shadow), 0 0 0 2px rgba(230, 194, 122, .22); }
.step-kicker { display: flex; align-items: center; gap: .6rem; color: var(--gold); font-size: 1rem; font-weight: 500; }
.step-kicker .icon { font-size: 1.3rem; }
.step h3 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: .4rem 0 .5rem; }
.step p { color: var(--muted); }
.step .tip { margin-top: .9rem; font-size: 1rem; color: var(--sand); background: rgba(230, 194, 122, .08); padding: .7rem 1rem; border-radius: 16px; }
@media (min-width: 960px) {
  .layering { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
  .layer-sticky { display: flex; position: sticky; top: 0; min-height: 100vh; align-items: center; padding: 6rem 0 2rem; }
  .layer-panel { display: block; width: 100%; }
  .dunes-wrap { position: static; margin: 1.5rem 0 0; padding: 0; background: none; }
  .dunes { max-height: none; }
  .steps { padding: 28vh 0; gap: 24vh; }
  .step { padding: 2.4rem 2.2rem; }
}

/* ---------- Gift sets ---------- */
.gifts-grid { display: grid; gap: 1rem; }
.gift {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 1.6rem;
  background: var(--sand); color: var(--night);
  display: grid; gap: .6rem; align-content: start;
  transition: transform .6s var(--spring), box-shadow .5s;
}
.gift:hover { transform: translateY(-6px) rotate(.4deg); box-shadow: var(--shadow); }
.gift h3 { color: var(--night); font-size: clamp(1.9rem, 5vw, 2.5rem); }
.gift p { color: #4a3424; }
.gift .price { color: var(--night); }
.gift .price small { color: #5b4433; }
.gift-art { width: 100%; height: 170px; margin-bottom: .4rem; border-radius: var(--r-md); background: #e0caa2; }
.gift-dark { background: var(--night-3); color: var(--sand); box-shadow: var(--glow); }
.gift-dark h3 { color: var(--pearl); }
.gift-dark p { color: var(--muted); }
.gift-dark .price { color: var(--pearl); }
.gift-dark .price small { color: var(--muted); }
.gift-dark .gift-art { background: #3a2617; }
.gift-amber { background: var(--amber); }
.gift-amber p, .gift-amber .price small { color: #2c1b0e; }
.gift-amber .gift-art { background: #b77830; }
.inside { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .35rem; font-size: 1rem; }
.inside li { display: flex; gap: .55rem; align-items: center; }
.inside .icon { color: currentColor; opacity: .75; }
@media (min-width: 900px) {
  .gifts-grid { grid-template-columns: 1.15fr 1fr 1fr; align-items: start; }
  .gift:nth-child(2) { margin-top: 3.5rem; }
  .gift:nth-child(3) { margin-top: 7rem; }
}

/* ---------- Consult CTA band ---------- */
.consult-band {
  margin: 0 clamp(.5rem, 1.5vw, 1.25rem);
  border-radius: var(--r-xl);
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(230, 194, 122, .35), transparent 55%),
    linear-gradient(140deg, #3b2412, #1c110a 70%);
  display: grid; gap: 2rem; align-items: center; overflow: hidden; position: relative; isolation: isolate;
}
.consult-band h2 { font-size: clamp(2.3rem, 7vw, 4.4rem); line-height: 1.25; }
.consult-band p { color: var(--muted); max-width: 32rem; margin-top: .8rem; }
.consult-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.consult-facts li { display: flex; gap: .8rem; align-items: center; background: rgba(247, 240, 228, .06); padding: .9rem 1.1rem; border-radius: 18px; color: var(--sand); }
.consult-facts .icon { font-size: 1.4rem; color: var(--gold); }
@media (min-width: 900px) { .consult-band { grid-template-columns: 1.3fr 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 8.5rem var(--gutter) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 70% 70% at 80% -20%, rgba(230, 194, 122, .3), transparent 60%),
    var(--night);
}
.page-hero h1 { font-size: clamp(3rem, 12vw, 7rem); line-height: 1.25; margin: 1rem 0; max-width: 14ch; }
.page-hero .lede { max-width: 36rem; }
.page-hero .hero-rays { position: absolute; inset: 0; z-index: -1; }

/* ---------- Collection filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-end: 2rem; }
.filter {
  font: inherit; font-size: 1rem; font-weight: 500;
  min-height: 46px; padding: 0 1.2rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--night-3); color: var(--sand);
  transition: background .25s, color .25s, transform .45s var(--spring);
}
.filter:hover { transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } .product-stage { height: 230px; } }
.product {
  position: relative; border-radius: var(--r-lg); padding: 1.4rem 1.4rem 1.6rem; background: var(--night-2);
  display: grid; gap: .45rem; align-content: start; box-shadow: var(--glow);
  transition: transform .6s var(--spring), box-shadow .4s, opacity .4s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 2px rgba(230, 194, 122, .28); }
.product[hidden] { display: none; }
.product-stage { height: 190px; border-radius: var(--r-md); display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, var(--tone, rgba(201, 138, 62, .35)), transparent 70%), var(--night-3); margin-bottom: .6rem; overflow: hidden; }
.product-stage svg { height: 160px; width: auto; transition: transform .7s var(--spring); filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
.product:hover .product-stage svg { transform: translateY(-8px) rotate(-5deg); }
.product h3 { font-size: 1.8rem; }
.product p { color: var(--muted); font-size: 1.0625rem; }
.product .kind { color: var(--gold); font-size: .95rem; font-weight: 500; }

/* ---------- Consultation page ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: j; }
.journey li { background: var(--night-2); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--glow); display: grid; gap: .4rem; }
.journey li::before { counter-increment: j; content: counter(j); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.journey h3 { font-size: 1.8rem; }
.journey p { color: var(--muted); }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(3, 1fr); } .journey li:nth-child(2) { margin-top: 2.5rem; } .journey li:nth-child(3) { margin-top: 5rem; } }

.book { display: grid; gap: 2rem; }
@media (min-width: 960px) { .book { grid-template-columns: .9fr 1.1fr; align-items: start; } .book-aside { position: sticky; top: 7rem; } }
.book-aside h2 { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.25; margin: .8rem 0 1rem; }
.book-aside > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { font-size: 1.35rem; color: var(--gold); margin-top: .3rem; }
.contact-list strong { display: block; color: var(--pearl); font-weight: 600; }
.contact-list span { color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold); }

.faq { display: grid; gap: .7rem; max-width: 52rem; }
.faq details { background: var(--night-2); border-radius: var(--r-md); padding: 0 1.4rem; box-shadow: var(--glow); transition: background .3s; }
.faq details[open] { background: var(--night-3); }
.faq summary { cursor: pointer; list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--pearl); font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold); transition: transform .45s var(--spring); font-size: 1.2rem; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-block-end: 1.3rem; }

/* ---------- Forms ---------- */
.card-form {
  background: var(--sand); color: var(--night);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.6rem);
  display: grid; gap: 1.1rem;
  box-shadow: var(--shadow);
  position: relative;
}
.card-form h3 { font-size: clamp(2rem, 5vw, 2.6rem); color: var(--night); }
.form-hint { color: #4a3424; margin-top: -.4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .chips legend { font-size: 1rem; font-weight: 600; color: #3a2718; }
.card-form input, .card-form select, .card-form textarea {
  font: inherit; font-size: 1.0625rem; color: var(--night);
  min-height: 54px; width: 100%;
  padding: .7rem 1rem;
  background: #f6ead3; border: 0; border-radius: 16px;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.card-form textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.card-form input[type="tel"], .card-form input[type="email"] { direction: ltr; text-align: end; }
.card-form input[type="date"] { direction: rtl; }
.card-form select {
  background-image: linear-gradient(45deg, transparent 50%, #6a4d36 50%), linear-gradient(135deg, #6a4d36 50%, transparent 50%);
  background-position: 22px 52%, 16px 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 1rem; padding-inline-start: 2.6rem;
}
.card-form input:hover, .card-form select:hover, .card-form textarea:hover { background-color: #fbf2e0; }
.card-form input:focus-visible, .card-form select:focus-visible, .card-form textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--amber-2), 0 0 0 5px rgba(168, 106, 38, .2); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .5rem; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.1rem; border-radius: 999px; background: #f6ead3; font-size: 1rem; font-weight: 500; transition: background .25s, color .25s, transform .45s var(--spring); }
.chips label:hover span { transform: translateY(-2px); }
.chips input:checked + span { background: var(--night); color: var(--gold-soft); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(168, 106, 38, .45); }
.btn {
  min-height: 58px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1.1rem var(--sans); color: var(--gold-soft); background: var(--night);
  padding: 0 1.8rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  transition: transform .5s var(--spring), background .25s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); background: #3a2617; }
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .6; cursor: progress; }
.site-form-status { margin: 0 !important; min-height: 1.6em; font-weight: 600; color: #5a3410; }
.site-form-status:empty { display: none; }
.privacy { font-size: .95rem; color: #5b4433; }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; background: var(--night-2); padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 2rem; margin-top: clamp(4rem, 8vw, 6rem); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.foot-word { font-family: var(--display); font-weight: 700; font-size: clamp(4rem, 19vw, 15rem); line-height: 1.15; color: var(--night-4); white-space: nowrap; }
.foot-word span { color: var(--amber-2); }
.foot-grid { display: grid; gap: 2rem; margin-top: 1.5rem; }
.foot-grid h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--gold); margin-bottom: .6rem; }
.foot-grid p, .foot-grid li { color: var(--muted); font-size: 1.0625rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.foot-grid a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s, transform .4s var(--spring); }
.foot-grid a:hover { color: var(--pearl); transform: translateX(-3px); }
.foot-base { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: #9c8a70; font-size: 1rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Squircles ---------- */
@supports (corner-shape: squircle) {
  .blend, .gift, .card-form, .step, .product, .product-stage, .consult-band, .journey li, .faq details, .hero-note, .foot, .layering, .card-form input, .card-form select, .card-form textarea, .gift-art { corner-shape: squircle; }
  .blend, .step, .product, .journey li { border-radius: 56px; }
  .gift, .card-form, .consult-band { border-radius: 72px; }
}

/* ---------- Reveal ---------- */
@media (scripting:enabled){html.js .reveal{opacity:0;transform:translateY(34px);transition:opacity .9s var(--ease), transform 1s var(--spring);transition-delay:calc(var(--i, 0) * 90ms)}}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .blend.reveal.in:hover, html.js .product.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }
html.js .gift.reveal.in:hover { transform: translateY(-6px) rotate(.4deg); transition-delay: 0s; }

@keyframes breathe { to { transform: scale(1.04); box-shadow: 0 0 160px 20px rgba(230, 194, 122, .32), inset -30px -40px 80px rgba(42, 25, 13, .7); } }
@keyframes float { to { transform: translateY(-14px) rotate(-2deg); } }
@keyframes smoke { 0% { stroke-dashoffset: 520; opacity: 0; } 25% { opacity: 1; } 100% { stroke-dashoffset: -520; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .step { opacity: 1; transform: none; }
  .dunes .band, .dune-labels text { opacity: 1; }
  .hero-smoke path { stroke-dashoffset: 0; opacity: .6; }
}

/* Component overrides */
.notes-band .curved-loop-jacket { min-height: 0; }
.notes-band .curved-loop-svg { text-transform: none; max-width: none; }
@media (max-width: 759px) { .notes-band .curved-loop-svg { width: 230%; margin-inline-start: -65%; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product .text-link { margin-top: .2rem; justify-self: start; color: var(--gold); }
.page-hero .hero-actions { margin-top: 1.6rem; }
