/* LovtyOne sample homepage (ClickRelay)
   Look: cool porcelain page, white "double-bezel" photo frames, cobalt accent taken
   from the blue on LovtyOne's own badge. Light mode only (sample brief).
   Type: Bricolage Grotesque (headings) + Manrope (text), both SIL Open Font Licence, self-hosted.
   Radius system: frames 28px outer / 22px inner, tiles 24px, buttons and nav full pill. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #eceef1;
  --page-deep: #e2e5ea;
  --card: #f8f9fb;
  --ink: #15171d;
  --ink-soft: #3a3e48;
  --muted: #5d626d;
  --line: rgba(21, 23, 29, 0.08);
  --cobalt: #2445b3;
  --cobalt-deep: #1b3591;
  --cobalt-tint: #dfe5f6;
  --wa: #25d366;
  --shadow: 0 30px 60px -30px rgba(36, 52, 92, 0.28), 0 8px 20px -12px rgba(36, 52, 92, 0.16);
  --shadow-soft: 0 20px 40px -28px rgba(36, 52, 92, 0.3);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-frame: 28px;
  --r-core: 22px;
  --r-tile: 24px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(36, 69, 179, 0.12); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex: none; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 40;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top 0.3s var(--ease);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

/* ---------- Sample bar ---------- */
.samplebar {
  background: var(--page-deep);
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  padding: 7px var(--gutter);
}
.samplebar a { color: var(--ink-soft); font-weight: 600; }

/* ---------- Floating island nav ---------- */
.nav {
  position: sticky; top: 12px; z-index: 20;
  display: flex; justify-content: center;
  padding: 0 var(--gutter);
  margin-top: 12px;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: rgba(248, 249, 251, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px var(--line), var(--shadow-soft);
  max-width: 100%;
}
.nav__brand {
  font-family: var(--display);
  font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap;
}
.nav__brand span, .footer__brand span { color: var(--cobalt); }
.nav__links { display: flex; gap: 22px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: color 0.4s var(--ease);
}
.nav__links a:hover { color: var(--cobalt); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--cobalt); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.nav__cta .ico { width: 20px; height: 20px; }
.nav__cta:hover { background: var(--cobalt-deep); }
.nav__cta:active { transform: scale(0.97); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__pill { gap: 14px; width: 100%; justify-content: space-between; }
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cobalt);
  background: var(--cobalt-tint);
  padding: 6px 12px; border-radius: 999px;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.lead {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Buttons (button-in-button) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 7px 0 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  text-decoration: none;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn__icon {
  width: 42px; height: 42px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.6s var(--ease);
}
.btn__icon .ico { width: 19px; height: 19px; }
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.05); }

.btn--primary {
  background: var(--cobalt); color: #fff;
  box-shadow: 0 18px 30px -18px rgba(36, 69, 179, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { background: var(--cobalt-deep); }
.btn__icon--wa { background: var(--wa); color: #0b3d1f; }
.btn__icon--wa .ico { width: 22px; height: 22px; }

.btn--ghost {
  background: var(--card); color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
}
.btn--ghost .btn__icon { background: var(--page-deep); }
.btn--ghost:hover { background: #fff; }

/* ---------- Double-bezel frame ---------- */
.bezel {
  padding: 7px;
  border-radius: var(--r-frame);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 2px var(--line), var(--shadow);
}
.bezel__core {
  border-radius: var(--r-core);
  overflow: hidden;
  background: var(--page-deep);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.bezel__core img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(44px, 6.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero__title em {
  font-style: normal;
  font-weight: 300;
  color: var(--cobalt);
  display: inline-block;
  padding-bottom: 0.06em;
}
.hero__sub {
  margin-top: 22px;
  max-width: 40ch;
  font-size: 18px;
  color: var(--muted);
}
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; padding-bottom: 48px; }
.hero__main { width: 82%; margin-left: auto; }
.hero__main .bezel__core { aspect-ratio: 4 / 5; }
.hero__side {
  position: absolute; left: 0; bottom: 0;
  width: 40%;
  transform: rotate(-3deg);
}
.hero__side .bezel__core { aspect-ratio: 3 / 4; }

/* Hero load-in (only when JS is on) */
.js .hero__in { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.js .hero__in--img { transform: translateY(40px) scale(0.98); }
.js .hero__in--img2 { transform: translateY(48px) rotate(-3deg); }
.js.is-loaded .hero__in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease), filter 1s var(--ease-out);
}
.js.is-loaded .hero__in--img2 { transform: rotate(-3deg); }
.js.is-loaded .hero__in--1 { transition-delay: 0.05s; }
.js.is-loaded .hero__in--2 { transition-delay: 0.12s; }
.js.is-loaded .hero__in--3 { transition-delay: 0.22s; }
.js.is-loaded .hero__in--4 { transition-delay: 0.3s; }
.js.is-loaded .hero__in--img { transition-delay: 0.15s; }
.js.is-loaded .hero__in--img2 { transition-delay: 0.42s; }

/* ---------- Facts ---------- */
.facts { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0; }
.facts__row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.fact { padding-right: 24px; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__big {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.1;
  display: flex; align-items: center; gap: 8px;
}
.ico--star { color: var(--cobalt); width: 0.8em; height: 0.8em; }
.fact__small { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* ---------- What we make: bento ---------- */
.make { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 11vw, 140px) var(--gutter) 0; }
.bento {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 16px;
}
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-tile);
  background: var(--page-deep);
  text-decoration: none; color: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
  isolation: isolate;
}
.tile__img, .tile__img picture, .tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 18, 32, 0) 45%, rgba(14, 18, 32, 0.72) 100%);
}
.tile__text { position: absolute; left: 22px; right: 70px; bottom: 20px; z-index: 2; }
.tile__text h3 {
  font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15;
}
.tile__text p { margin-top: 4px; font-size: 14.5px; color: rgba(255, 255, 255, 0.86); }
.tile__go {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.tile__go .ico { width: 18px; height: 18px; }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile:hover .tile__go { transform: translate(2px, -2px) scale(1.06); background: var(--cobalt); color: #fff; }
.tile:active { transform: scale(0.99); }

.tile--suits  { grid-column: 1 / 6;  grid-row: 1 / 4; }
.tile--agbada { grid-column: 6 / 13; grid-row: 1 / 3; }
.tile--kaftan { grid-column: 6 / 10; grid-row: 3 / 5; }
.tile--shirts { grid-column: 10 / 13; grid-row: 3 / 5; }
.tile--kids   { grid-column: 1 / 6;  grid-row: 4 / 5; }
.tile--kids .tile__img img { object-position: 50% 12%; }
.tile--agbada .tile__img img { object-position: 50% 70%; }

/* ---------- Looks rail ---------- */
.looks { padding: clamp(88px, 11vw, 140px) 0 0; }
.looks__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.rail {
  margin-top: 40px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 24vw, 300px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 23, 29, 0.25) transparent;
}
.rail__item { scroll-snap-align: start; }
.rail__item a { display: block; text-decoration: none; }
.rail__img {
  display: block; padding: 6px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 2px var(--line), var(--shadow-soft);
}
.rail__img picture { border-radius: 19px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--page-deep); }
.rail__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rail__img--video video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 19px; background: var(--page-deep); }
.rail__item a:hover img { transform: scale(1.04); }
.rail__cap {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 12px; padding: 0 6px;
  font-weight: 600; font-size: 15px;
}
.rail__cap::after {
  content: "Ask"; flex: none;
  font-size: 12.5px; font-weight: 600; color: var(--cobalt);
  background: var(--cobalt-tint); padding: 3px 10px; border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 112px) var(--gutter) 0; }
.steps__card {
  border-radius: 32px;
  background: var(--cobalt-tint);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.steps__list {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}
.steps__list li { padding: 0 28px; border-left: 1px solid rgba(36, 69, 179, 0.18); }
.steps__list li:first-child { padding-left: 0; border-left: 0; }
.steps__list h3 {
  font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em;
  color: var(--cobalt-deep);
}
.steps__list p { margin-top: 8px; color: var(--ink-soft); max-width: 32ch; }

/* ---------- Studio ---------- */
.studio {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(88px, 11vw, 140px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.studio__room .bezel__core { aspect-ratio: 4 / 3; }
.studio__quote { margin-top: 24px; }
.studio__quote p { font-size: 20px; line-height: 1.45; color: var(--ink-soft); max-width: 30ch; }
.studio__quote footer { margin-top: 10px; font-size: 14px; color: var(--muted); }
.studio__sign {
  margin-top: 32px;
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 8px 16px 8px 8px; border-radius: 20px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
  max-width: 400px;
}
.studio__sign picture { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.studio__sign img { width: 100%; height: 100%; object-fit: cover; }
.studio__sign figcaption { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Reviews ---------- */
.reviews {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(88px, 11vw, 140px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.reviews__big {
  margin-top: 20px;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(88px, 11vw, 136px); line-height: 0.9; letter-spacing: -0.06em;
}
.reviews__stars { margin-top: 14px; display: flex; gap: 4px; color: var(--cobalt); }
.reviews__stars .ico { width: 22px; height: 22px; }
.reviews__stars .ico--part { opacity: 0.35; }
.reviews__count { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

.reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote {
  background: var(--card);
  border-radius: var(--r-tile);
  padding: 28px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
}
.quote p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.quote footer { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.quote--a { grid-column: 1 / -1; }
.quote--a p { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.quote--c { transform: translateY(28px); }

/* ---------- Visit ---------- */
.visit {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(100px, 12vw, 152px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px; align-items: stretch;
}
.visit__map {
  border-radius: var(--r-frame); overflow: hidden; min-height: 420px;
  background: var(--page-deep);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
}
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(0.85); }
.visit__info {
  background: var(--card);
  border-radius: var(--r-frame);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-soft);
  display: flex; flex-direction: column; align-items: flex-start;
}
.visit__rows { margin: 28px 0 32px; display: grid; gap: 22px; }
.visit__rows li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; }
.visit__rows .ico { width: 22px; height: 22px; color: var(--cobalt); margin-top: 2px; }
.visit__label { font-weight: 600; }
.visit__label a { text-decoration: none; }
.visit__label a:hover { color: var(--cobalt); }
.visit__muted { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.visit__info .btn { margin-top: auto; }

/* ---------- Closer ---------- */
.closer { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 11vw, 140px) var(--gutter) clamp(88px, 10vw, 128px); }
.closer__core {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background: var(--card);
}
.closer__copy { padding: clamp(32px, 6vw, 72px); align-self: center; }
.closer__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.035em;
  max-width: 14ch;
}
.closer__copy p { margin: 18px 0 30px; color: var(--muted); font-size: 17px; max-width: 36ch; }
.closer__img { min-height: 360px; }
.closer__img picture, .closer__img img { width: 100%; height: 100%; }
.closer__img img { object-fit: cover; object-position: 50% 30%; }

/* ---------- Enquiry form (opens WhatsApp with the details filled in) ---------- */
.enquiry { display: grid; gap: 14px; max-width: 460px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field__opt { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff;
  border: 0; border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 0 0 1px rgba(21, 23, 29, 0.14);
  transition: box-shadow 0.4s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #6b707a; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 2px var(--cobalt);
}
.field input[aria-invalid="true"] { box-shadow: 0 0 0 2px #b3261e; }
.field__error { color: #b3261e; font-size: 14px; font-weight: 600; }
.enquiry .btn { justify-self: start; margin-top: 4px; border: 0; cursor: pointer; font-family: inherit; }
.enquiry__note { font-size: 13px; color: var(--muted); }
.closer__copy p.enquiry__note, .closer__copy p.field__error { margin: 0; }
@media (max-width: 767px) {
  .enquiry { max-width: none; }
  .enquiry .btn { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px var(--gutter) 120px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 10px; }
.footer__brand { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.footer__line { color: var(--ink-soft); font-size: 15px; }
.footer__line a { text-decoration: none; font-weight: 600; }
.footer__note { color: var(--muted); font-size: 13px; max-width: 70ch; }
.footer__note a { font-weight: 600; }

/* ---------- Phone dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 30;
  display: none; gap: 8px;
  padding: 6px; border-radius: 999px;
  background: rgba(248, 249, 251, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px var(--line), var(--shadow);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.dock.is-on { transform: none; opacity: 1; }
.dock__btn {
  height: 50px; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15.5px;
}
.dock__btn .ico { width: 22px; height: 22px; }
.dock__btn--wa { flex: 1; background: var(--cobalt); color: #fff; }
.dock__btn--wa .ico { color: var(--wa); }
.dock__btn--call { width: 50px; background: var(--page-deep); color: var(--ink); }
.dock__btn:active { transform: scale(0.97); }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); }
.js .reveal.is-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease), filter 0.9s var(--ease-out);
}
.js .quote--c.reveal.is-in { transform: translateY(28px); }
.js .tile--agbada.is-in { transition-delay: 0.06s; }
.js .tile--kaftan.is-in { transition-delay: 0.12s; }
.js .tile--shirts.is-in { transition-delay: 0.18s; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .bento { grid-auto-rows: 190px; }
  .tile--suits  { grid-column: 1 / 7;  grid-row: 1 / 4; }
  .tile--agbada { grid-column: 7 / 13; grid-row: 1 / 3; }
  .tile--kaftan { grid-column: 7 / 13; grid-row: 3 / 5; }
  .tile--shirts { grid-column: 1 / 7;  grid-row: 4 / 6; }
  .tile--kids   { grid-column: 7 / 13; grid-row: 5 / 6; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 36px; gap: 36px; }
  .hero__title { font-size: clamp(42px, 12.5vw, 60px); }
  .hero__sub { font-size: 17px; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__media { padding-bottom: 0; }
  .hero__main { width: 100%; }
  .hero__side { display: none; }

  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fact, .fact + .fact { padding: 0; border-left: 0; }
  .fact + .fact { padding-top: 18px; border-top: 1px solid var(--line); }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .tile { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
  .tile--suits, .tile--agbada { grid-column: 1 / -1 !important; aspect-ratio: 5 / 4; }
  .tile--kids { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }
  .tile--suits { order: 1; }
  .tile--kaftan { order: 2; }
  .tile--shirts { order: 3; }
  .tile--agbada { order: 4; }
  .tile--kids { order: 5; }
  .tile__text { left: 16px; right: 56px; bottom: 14px; }
  .tile__text h3 { font-size: 19px; }
  .tile--kaftan .tile__text p, .tile--shirts .tile__text p { display: none; }
  .tile__go { width: 36px; height: 36px; right: 12px; bottom: 12px; }

  .rail { grid-auto-columns: 72vw; gap: 12px; }

  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps__list li, .steps__list li:first-child { padding: 0; border-left: 0; }
  .steps__list li + li { padding-top: 22px; border-top: 1px solid rgba(36, 69, 179, 0.18); }

  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio__sign { max-width: none; }

  .reviews__list { grid-template-columns: minmax(0, 1fr); }
  .quote--c, .js .quote--c.reveal.is-in { transform: none; }

  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit__map, .visit__map iframe { min-height: 300px; }

  .closer__core { grid-template-columns: minmax(0, 1fr); }
  .closer__img { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .closer .btn { width: 100%; justify-content: space-between; }
  .closer__copy { padding: 28px 22px 26px; }

  .dock { display: flex; }
}

@media (max-width: 359px) {
  .btn { font-size: 14.5px; padding-left: 18px; gap: 10px; }
  .closer__copy { padding: 24px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js .hero__in, .js .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hero__in--img2 { transform: rotate(-3deg) !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .js .quote--c.reveal { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav__pill, .dock { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Nav: compact page link on phones ---------- */
.nav__ward { display: none; }
.nav__links a[aria-current="page"] { color: var(--cobalt); font-weight: 600; }
@media (max-width: 760px) {
  .nav__ward {
    display: inline-flex; align-items: center; height: 40px; padding: 0 14px; margin-left: auto;
    border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none;
    background: var(--page-deep);
  }
  .nav__pill .nav__ward + .nav__cta { margin-left: 0; }
}

/* ---------- Home: link to the full wardrobe under Recent looks ---------- */
.looks__more { max-width: var(--max); margin: 8px auto 0; padding: 0 var(--gutter); }

/* ---------- Wardrobe page ---------- */
.ward-head { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.ward-head__title {
  margin-top: 22px;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 80px); line-height: 1.0; letter-spacing: -0.035em;
}
.ward-head__title em { font-style: normal; font-weight: 400; color: var(--cobalt); }

.ward { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gutter) 0; }
.ward-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-bottom: 28px;
}
.ward-filters { display: none; flex-wrap: wrap; gap: 8px; }
.js .ward-filters { display: flex; }
.ward-filter {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14.5px/1 var(--text); color: var(--ink-soft);
  background: var(--card); box-shadow: 0 0 0 1px var(--line);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}
.ward-filter span {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; background: var(--page-deep); color: var(--ink-soft);
}
.ward-filter:hover { background: #fff; color: var(--ink); }
.ward-filter:active { transform: scale(0.97); }
.ward-filter[aria-pressed="true"] { background: var(--cobalt); color: #fff; box-shadow: none; }
.ward-filter[aria-pressed="true"] span { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ward-filter:focus-visible, .ward-item__img:focus-visible, .ward-item__ask:focus-visible,
.lb__close:focus-visible, .lb__nav:focus-visible, .lb__ask:focus-visible, .nav__ward:focus-visible {
  outline: 3px solid var(--cobalt); outline-offset: 3px;
}
.ward-count { color: var(--muted); font-size: 14px; font-weight: 500; }

.ward-grid {
  display: grid; gap: 28px 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ward-item[hidden] { display: none; }
.ward-item__img {
  position: relative; display: block; padding: 6px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 2px var(--line), var(--shadow-soft);
  cursor: zoom-in;
}
.ward-item__img picture { border-radius: 19px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--page-deep); }
.ward-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ward-item__img:hover img { transform: scale(1.04); }
.ward-item__badge {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(21, 23, 29, 0.62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ward-item__badge .ico { width: 13px; height: 13px; }
.ward-item__body { display: grid; gap: 10px; padding: 14px 6px 0; }
.ward-item__name { font-family: var(--text); font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.ward-item__ask {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 11px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--cobalt-deep); background: var(--cobalt-tint);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease);
}
.ward-item__ask .ico { width: 19px; height: 19px; }
.ward-item__ask:hover { background: var(--cobalt); color: #fff; }
.ward-item__ask:active { transform: scale(0.97); }

.ward-end { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 128px) var(--gutter) clamp(72px, 9vw, 112px); }
.ward-end__card {
  border-radius: 32px; padding: clamp(32px, 5vw, 64px);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.ward-end__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Lightbox */
.lb {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 14, 19, 0.96); color: #fff;
}
.lb::backdrop { background: rgba(12, 14, 19, 0.6); }
html.lb-open { overflow: hidden; }
.lb__inner {
  position: relative; height: 100%;
  display: grid; grid-template-rows: 1fr auto; gap: 14px;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.lb__inner > * { pointer-events: auto; }
.lb__fig { min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 12px; justify-items: center; touch-action: pan-y; }
.lb__media { min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb__media img, .lb__media video {
  display: block; width: auto; height: auto;
  max-width: min(100%, var(--lb-max, 900px));
  max-height: min(100%, calc(100dvh - 190px));
  border-radius: 18px; background: #222;
}
.lb__media picture { display: contents; }
.lb__cap { display: flex; align-items: baseline; gap: 14px; text-align: center; }
.lb__name { font-weight: 600; font-size: 16px; }
.lb__pos { color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.lb__close {
  position: absolute; right: 16px; top: max(16px, env(safe-area-inset-top)); z-index: 2;
  width: 48px; height: 48px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255, 255, 255, 0.14);
}
.lb__close .ico { width: 22px; height: 22px; }
.lb__close:hover { background: rgba(255, 255, 255, 0.24); }
.lb__bar { display: flex; align-items: center; justify-content: center; gap: 14px; }
.lb__nav {
  width: 52px; height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255, 255, 255, 0.14);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.lb__nav[hidden] { display: none; }
.lb__nav .ico { width: 22px; height: 22px; }
.lb__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lb__nav:active { transform: scale(0.94); }

@media (max-width: 1024px) {
  .ward-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .ward-item__img { padding: 4px; border-radius: 18px; }
  .ward-item__img picture { border-radius: 14px; }
  .ward-item__badge { left: 10px; top: 10px; }
  .ward-item__name { font-size: 14px; }
  .ward-item__body { padding: 10px 2px 0; gap: 8px; }
  .ward-item__ask { height: 38px; font-size: 13px; padding: 0 12px 0 9px; }
  .ward-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .ward-filter { flex: none; }
  .lb__ask { height: 52px; padding-left: 18px; }
  .lb__ask .btn__icon { width: 38px; height: 38px; }
}
@media (max-width: 359px) {
  .ward-item__ask span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ward-item__img img, .ward-filter, .ward-item__ask, .lb__nav { transition: none; }
  .ward-item__img:hover img { transform: none; }
}

/* Phone nav with the extra page link: keep brand, page link and WhatsApp on one line */
@media (max-width: 420px) {
  .nav__pill { gap: 8px; padding-left: 16px; }
  .nav__ward { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .nav__cta { height: 38px; padding: 0 13px 0 10px; font-size: 13.5px; gap: 6px; }
  .nav__brand { font-size: 19px; }
}
@media (max-width: 359px) {
  .nav__cta span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .nav__cta { padding: 0 9px; }
}
