/* =========================================================================
   Christina's — women's beauty salon, Bengaluru. Since 1988.
   Hand-written CSS. No frameworks, no external requests.
   1. Tokens  2. Reset  3. Type  4. Layout  5. Header  6. Hero
   7. Sections & cards  8. Locations  9. Gallery  10. Forms
   11. Footer  12. Utilities  13. Responsive  14. Motion & print
   ========================================================================= */

/* 0 ------------------------------------------------------------ webfonts
   Self-hosted latin subsets (no Google Fonts request, works offline). */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* 1 ---------------------------------------------------------------- tokens */
:root {
  --ink:        #221720;
  --ink-2:      #2c1f2b;
  --ink-3:      #3a2b37;
  --plum:       #4a2b45;
  --body:       #3b3038;
  --muted:      #6e6069;
  --ivory:      #fbf6f0;
  --paper:      #fffcf9;
  --sand:       #f4ebe1;
  --sand-2:     #efe3d6;
  --line:       #e4d5c7;
  --line-soft:  #efe4d9;
  --accent:     #9c1377;
  --accent-2:   #c2348f;
  --accent-deep:#6e0f54;
  --wa:         #1f9d55;

  --grad: linear-gradient(90deg, #1010e6 0%, #9612f0 48%, #ff00ea 100%);
  --grad-soft: linear-gradient(90deg, #1010e6 0%, #9612f0 48%, #ff00ea 100%);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: clamp(1.3rem, 1.12rem + 0.8vw, 1.6rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.3vw, 3rem);
  --fs-h1: clamp(2.45rem, 1.5rem + 4.2vw, 4.35rem);

  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --container: 1240px;
  --sec-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(34, 23, 32, .05), 0 6px 18px -10px rgba(34, 23, 32, .18);
  --shadow-md: 0 2px 4px rgba(34, 23, 32, .05), 0 18px 46px -22px rgba(34, 23, 32, .28);
  --header-h: 76px;
}

/* 2 ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  background: var(--ivory);
  color: var(--body);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* Images sit inside fixed-ratio frames: fill them absolutely so percentage
   heights resolve reliably and `object-fit` crops rather than letterboxes. */
.hero__frame, .hero__card, .card__media, .tl__media, .loc__media, .gallery__item { position: relative; }
.hero__frame img, .hero__card img, .card__media img,
.tl__media img, .loc__media img, .gallery__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: #f4cbe4; color: var(--ink); }

/* 3 ------------------------------------------------------------------ type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: .99; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: .005em; }
p { text-wrap: pretty; }
strong { font-weight: 500; color: var(--ink); }
em { font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--grad);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.serif-italic { font-family: var(--font-display); font-style: italic; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 4 ---------------------------------------------------------------- layout */
.wrap {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #efe3d9; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--ivory); }
.section--ink .lede { color: #cbb8c4; }
.section--ink .eyebrow { color: #ffa9e0; }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head h2 + .lede { margin-top: 1rem; }

.hairline { height: 2px; background: var(--grad); opacity: .9; border: 0; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.stack > * + * { margin-top: 1.15rem; }

/* 5 ---------------------------------------------------------------- header */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--ivory);
  padding: .7rem 1.1rem; border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.skip-link:focus { top: .75rem; }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand img { height: 30px; width: auto; }
.brand__name {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: #cbb8c4; line-height: 1.4; display: none;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.6rem); }
.nav__link {
  display: inline-block; padding: .55rem .15rem;
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 400; color: #ddccd6; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .18rem; height: 1.5px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; letter-spacing: .06em; color: #ddccd6;
}
.header-phone:hover { color: #fff; }
.header-phone svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; margin-right: -.5rem;
  align-items: center; justify-content: center; color: var(--ivory);
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s ease, background .3s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px;
  background: currentColor; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* 6 ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.75rem) clamp(3rem, 6vw, 5.5rem); }
.hero__mandala {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(760px, 78vw); right: -14%; top: -18%;
  color: var(--accent); opacity: .07;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title { margin-bottom: 1.35rem; }
.hero__title em { font-style: italic; color: var(--accent-deep); }
.hero__text { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__note {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.35rem; font-size: var(--fs-sm); color: var(--muted);
}
.hero__note span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__note svg { width: 15px; height: 15px; color: var(--accent); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--sand-2);
  aspect-ratio: 4 / 3;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  border-radius: inherit; pointer-events: none;
}
.hero__badge {
  position: absolute; left: -1.1rem; bottom: -1.4rem;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--paper), var(--paper)), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.hero__badge b { display: block; font-family: var(--font-display); font-size: 1.62rem; font-weight: 600; line-height: 1; }
.hero__badge small { display: block; font-size: .54rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.hero__card {
  position: absolute; right: -1.25rem; top: -1.5rem;
  width: clamp(96px, 15vw, 132px); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); border: 3px solid var(--paper);
  aspect-ratio: 3 / 4;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

/* 7 ------------------------------------------------------- buttons & cards */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.5rem; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--radius); cursor: pointer;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(34, 23, 32, .6); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: #cbb8ad; }
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: var(--ink); --btn-fg: var(--ivory); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }
.btn--light:hover { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(255, 255, 255, .6); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(255, 255, 255, .34); }
.btn--outline-light:hover { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }
.btn--wa { --btn-bg: var(--wa); --btn-bd: var(--wa); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #178247; --btn-bd: #178247; }
.btn--sm { padding: .68rem 1.05rem; font-size: .72rem; }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep); border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: gap .22s ease, border-color .22s ease;
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: .8rem; border-color: var(--accent); }

.card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__body h3 { font-size: 1.35rem; }
.card__body p { font-size: .95rem; color: var(--muted); line-height: 1.62; }
.card__meta { margin-top: auto; padding-top: .9rem; font-size: .82rem; color: var(--accent-deep); letter-spacing: .04em; }

.svc {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.75rem 1.6rem 1.7rem;
  display: flex; flex-direction: column; gap: .7rem; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon { width: 40px; height: 40px; color: var(--accent-deep); }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { font-size: 1.32rem; }
.svc p { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.svc ul { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .2rem; }
.svc li {
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--plum); background: var(--sand); border-radius: 3px; padding: .22rem .5rem;
}

.reason { display: flex; gap: 1rem; align-items: flex-start; }
.reason__num {
  font-family: var(--font-display); font-size: 1.9rem; font-style: italic;
  color: var(--accent-2); line-height: 1; min-width: 2.1rem;
}
.reason h3 { font-size: 1.16rem; margin-bottom: .3rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .01em; }
.reason p { font-size: .93rem; color: var(--muted); }

/* heritage timeline */
.timeline { display: grid; gap: clamp(1.4rem, 3vw, 2.5rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl { display: flex; flex-direction: column; gap: .9rem; }
.tl__media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.tl__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .7s ease; }
.tl:hover .tl__media img { transform: scale(1.04); }
.tl__year { font-family: var(--font-display); font-size: 1.55rem; font-style: italic; color: var(--accent-deep); }
.tl h3 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 500; }
.tl p { font-size: .9rem; color: var(--muted); }

/* 8 ------------------------------------------------------------- locations */
.loc {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden; align-items: stretch;
}
.loc + .loc { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.loc__media { min-height: 300px; background: var(--sand-2); position: relative; }
.loc__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.loc__body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; }
.loc__tag {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.loc__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.loc__addr { font-size: .96rem; color: var(--body); line-height: 1.6; font-style: normal; }
.loc__rows { display: grid; gap: .55rem; margin-top: .2rem; }
.loc__row { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--muted); }
.loc__row svg { width: 15px; height: 15px; flex: none; margin-top: .28rem; color: var(--accent); }
.loc__row a { color: var(--ink); border-bottom: 1px solid var(--line); }
.loc__row a:hover { border-color: var(--accent); color: var(--accent-deep); }
.loc__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .6rem; }

.map-shell { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.map-shell iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-facade {
  width: 100%; min-height: 260px; border: 0; cursor: pointer;
  display: grid; place-items: center; gap: .6rem; padding: 2rem;
  background-color: var(--sand);
  background-image: url("../patterns/jaali.svg");
  background-size: 64px 64px;
  background-position: center;
  color: var(--plum); text-align: center;
}
.map-facade span {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(251, 246, 240, .88); padding: .34rem .7rem; border-radius: 3px;
}
.map-facade svg { width: 26px; height: 26px; color: var(--accent); }

/* 9 --------------------------------------------------------------- gallery */
.gallery {
  display: grid; gap: clamp(.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto);
  grid-auto-flow: dense;
}
.gallery__item {
  grid-column: span 2; position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--sand-2); cursor: zoom-in;
  border: 0; padding: 0; aspect-ratio: 4 / 3;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s ease; }
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item--wide { grid-column: span 4; aspect-ratio: 16 / 10; }
.gallery__item--tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery--4 .gallery__item { grid-column: auto; grid-row: auto; }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0; padding: 2.2rem .9rem .8rem;
  font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(20, 12, 18, .72));
  opacity: 0; transition: opacity .35s ease;
}
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 92vw); max-height: 90vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 12, 18, .9); backdrop-filter: blur(3px); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: .75rem; color: #e8dbe3; font-size: .82rem;
}
.lightbox__cap { letter-spacing: .06em; }
.lightbox__close, .lightbox__nav {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__navs { display: flex; gap: .5rem; }

/* 10 ----------------------------------------------------------------- forms */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 500; color: var(--plum);
}
.field label .req { color: var(--accent-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: .82rem .9rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; font-weight: 300; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156, 19, 119, .12);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.form__note { font-size: .78rem; color: var(--muted); max-width: 46ch; flex: 1 1 240px; }
.form-status { font-size: .9rem; padding: .8rem 1rem; border-radius: var(--radius); display: none; }
.form-status.is-error { display: block; background: #fdeef4; color: #8f1240; border: 1px solid #f5cdd9; }
.form-status.is-ok { display: block; background: #edf7f0; color: #1c6b3f; border: 1px solid #c9e5d4; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1.15rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .3rem; }
.contact-item h4 { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.contact-item p, .contact-item a { font-size: 1rem; color: var(--ink); }
.contact-item a:hover { color: var(--accent-deep); }
.contact-item a { border-bottom: 1px solid var(--line); }
.contact-item a:hover { border-color: var(--accent); }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 300; }
.hours th { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--ink); }
.badge-open {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: #1c6b3f;
}
.badge-open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1f9d55; }

/* 11 ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #c9b8c3; padding-top: clamp(3rem, 6vw, 4.5rem); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1.25fr .68fr 1.18fr .95fr;
  padding-bottom: 2.75rem;
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; line-height: 1.6; color: #b3a1ad; }
.footer-h { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 500; }
.footer-list { display: grid; gap: .55rem; font-size: .92rem; }
.footer-list a:hover { color: #fff; }
.footer-list a { transition: color .2s ease; }
.footer-hours { font-size: .9rem; display: grid; gap: .3rem; }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours span:last-child { color: #efe3d9; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 1.35rem 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .78rem; color: #9c8a96;
}
.footer-bottom a { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer-bottom a:hover { color: #fff; }
.footer-note { display: inline-flex; align-items: center; gap: .45rem; }
.footer-note svg { width: 13px; height: 13px; }

/* mobile action bar */
.action-bar {
  position: fixed; inset: auto 0 0; z-index: 70; display: none;
  background: rgba(255, 252, 249, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.action-bar a {
  display: grid; place-items: center; gap: .18rem; padding: .62rem .4rem .55rem;
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum);
}
.action-bar a svg { width: 19px; height: 19px; }
.action-bar a + a { border-left: 1px solid var(--line-soft); }
.action-bar a.is-primary { color: var(--wa); }

/* 11b ------------------------------------------------------- small blocks */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.panel {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.panel__body { padding: clamp(1.4rem, 3vw, 2.1rem); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li {
  font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--plum); background: var(--sand); border: 1px solid var(--line-soft);
  border-radius: 3px; padding: .32rem .6rem;
}

.gallery__item .cap {
  position: absolute; inset: auto 0 0; padding: 2.2rem .9rem .8rem;
  font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(20, 12, 18, .72));
  opacity: 0; transition: opacity .35s ease; text-align: left;
  font-family: var(--font-body); font-weight: 400;
}
.gallery__item:hover .cap, .gallery__item:focus-visible .cap { opacity: 1; }
.gallery__item { display: block; width: 100%; font: inherit; }
.lightbox__prev svg { transform: rotate(180deg); }
.nav__cta { display: none; }
.badge-open.is-closed { color: #8f1240; }
.badge-open.is-closed::before { background: #c2348f; }

/* 12 ------------------------------------------------------------- utilities */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { list-style: none; display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.15rem; font-size: .98rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2);
}
.prose a { color: var(--accent-deep); border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--accent); }
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.25rem); position: relative; overflow: hidden; }
.page-head__inner { max-width: 760px; }
.page-head h1 { margin-bottom: 1rem; }
.crumbs { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs span { margin-inline: .45rem; opacity: .5; }

.quote {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  font-style: italic; line-height: 1.4; color: var(--plum);
  border-left: 2px solid transparent; padding-left: 1.4rem;
  border-image: var(--grad) 1;
}
.quote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.pattern-band { position: relative; }
.pattern-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../patterns/jaali.svg"); background-size: 96px 96px;
  opacity: .05;
}
.pattern-band > * { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("../patterns/grain.svg"); opacity: .35;
  mix-blend-mode: multiply;
}
.grain > * { position: relative; z-index: 1; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem); font-weight: 500; line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: .45rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section--ink .stat b { color: var(--ivory); }
.section--ink .stat span { color: #b3a1ad; }

.cta-band { position: relative; overflow: hidden; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { max-width: 22ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.notes { display: grid; gap: .7rem; margin-top: 1.5rem; }
.note-item { display: flex; gap: .7rem; font-size: .88rem; color: var(--muted); align-items: flex-start; }
.note-item svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: .3rem; }

/* 13 ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__badge { left: -.4rem; bottom: -1rem; width: 100px; height: 100px; }
  .hero__badge b { font-size: 1.35rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 1rem var(--gutter) 1.6rem;
    transform: translateY(-120%); transition: transform .34s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block; padding: 1rem 0; font-size: .92rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: #ffa9e0; }
  .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .header-actions .nav-toggle { display: flex; }
  .nav__cta { display: block; margin-top: 1.1rem; }

  .hero__grid, .split, .split--wide-left, .contact-grid, .loc { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__card { display: none; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; }
  .tl { flex-direction: row; align-items: center; gap: 1.1rem; }
  .tl__media { flex: none; width: 42%; aspect-ratio: 4 / 3; }
  .loc__media { min-height: 240px; aspect-ratio: 16 / 10; }
  .loc__media img { position: static; }
  .action-bar { display: block; }
  body { padding-bottom: 58px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .btn { padding: .88rem 1.15rem; }
  .field--row { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 1.75rem; }
  .stats { grid-template-columns: 1fr; }
  .cta-band__inner { gap: 1.5rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery--4 { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero__badge { display: none; }
}

/* 14 --------------------------------------------------------- motion & print */
/* Scroll-driven reveal. Browsers without `animation-timeline: view()` simply
   show the content — nothing depends on JavaScript or on opacity staying 0. */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      /* complete the reveal as the element finishes entering the viewport, so
         anything already on screen (or in a very tall viewport) is fully shown */
      animation-range: entry 0% entry 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .action-bar, .site-footer, .hero__mandala, .map-shell, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a { text-decoration: underline; }
  .hero__frame, .card { box-shadow: none; }
}
