/* Angelic Makeover
   Colour comes from the real material: the near-black and crimson of the hero
   photograph, and a blush white so skin tones in the photos stay warm.
   Corners are square everywhere. The theme is fixed: a dark hero, a light body,
   a dark close. The hero photo relies on the dark ground, so there is no
   separate dark mode. */

@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiro Devanagari Hindi"; src: url("../assets/fonts/tiro-devanagari-hindi-devanagari-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0900-097F, U+200C-200D, U+25CC; }

:root {
  --ink: #070505;
  --ink-2: #140D0D;
  --paper: #F8F0ED;
  --wash: #EFE0DB;
  --text: #211416;
  --muted: #68545A;
  --on-dark: #F6ECE8;
  --on-dark-muted: #C4B4B1;
  --line: #D9C5C0;
  --line-dark: #3B2C2C;
  --crimson: #A01A33;
  --crimson-deep: #7E1226;
  --crimson-on-dark: #F0A3AE;
  --err-dark: #FFB4B4;

  --display: "Bodoni Moda", "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --hindi: "Tiro Devanagari Hindi", "Nirmala UI", serif;

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bar-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, address, figure { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.08; font-variation-settings: "opsz" 34; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
.hero :focus-visible, .book :focus-visible, .foot :focus-visible, .lb :focus-visible { outline-color: var(--on-dark); }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--paper); color: var(--text); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8rem 1.75rem; background: var(--crimson); color: #FFF8F5; border: 0; font-weight: 500; letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s, transform .25s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--small { min-height: 42px; padding: .45rem 1.1rem; font-size: .9375rem; }
.link { display: inline-block; padding: .35rem 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; transition: text-underline-offset .25s var(--ease), color .2s; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; height: 92px; display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter); color: var(--on-dark); transition: background-color .35s, color .35s, height .35s var(--ease), box-shadow .35s; }
.top::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; background: linear-gradient(180deg, rgb(7 5 5 / .78), rgb(7 5 5 / 0)); pointer-events: none; transition: opacity .35s; }
.top.is-past::before { opacity: 0; }
.top__brand { display: block; margin-right: auto; text-decoration: none; }
.top__logo img { width: 92px; height: auto; }
.top__word { display: none; font-family: var(--display); font-size: 1.375rem; white-space: nowrap; }
.top__nav { display: flex; gap: 1.75rem; }
.top__nav a { text-decoration: none; padding: .4rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.top__nav a:hover { background-size: 100% 1px; }
.top.is-past { height: 64px; background: var(--paper); color: var(--text); box-shadow: 0 1px 0 var(--line); }
.top.is-past .top__logo { display: none; }
.top.is-past .top__word { display: block; }

/* Hero */
.hero { position: relative; min-height: 100dvh; background: var(--ink); color: var(--on-dark); display: grid; align-items: end; overflow: hidden; }
.hero__photo { position: absolute; bottom: 0; right: clamp(0px, 4vw, 6rem); aspect-ratio: 1069 / 1600; height: 122%; animation: hero-photo 1.8s var(--ease) both; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 38%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 4%, #000 38%, #000 80%, transparent 100%); }
.hero__copy { position: relative; width: min(52vw, 46rem); padding: 7rem 0 clamp(3rem, 8vh, 6rem) var(--gutter); }
.hero h1 { font-size: inherit; letter-spacing: 0; }
.hero__kicker { display: block; font: 500 1rem/1.4 var(--body); color: var(--on-dark-muted); margin-bottom: 1rem; animation: rise 1s .15s var(--ease) both; }
.hero__line { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.75rem, 5.4vw, 5.25rem); line-height: 1.08; letter-spacing: -.012em; animation: rise 1.1s .25s var(--ease) both; }
.hero h1 em { font-style: italic; color: #fff; display: inline-block; padding-bottom: .06em; }
.hero__sub { max-width: 34rem; margin-top: 1.4rem; font-size: 1.125rem; color: var(--on-dark-muted); animation: rise 1.1s .4s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; margin-top: 2rem; animation: rise 1.1s .5s var(--ease) both; }
@keyframes hero-photo { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Far, then near */
.close__band { display: block; overflow: hidden; background: var(--wash); }
.close__band img { width: 100%; height: auto; }
.close__text { padding: clamp(3.5rem, 8vw, 7.5rem) var(--gutter) clamp(4.5rem, 10vw, 9rem); margin-left: 33.33%; max-width: 52rem; }
.close__text h2 { margin-bottom: 1.5rem; }
.close__text p { max-width: 36rem; font-size: 1.1875rem; color: var(--muted); }

/* Work */
#work { scroll-margin-top: 2.5rem; }
.work { padding: 0 var(--gutter) clamp(5rem, 11vw, 10rem); }
.work__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 3rem; margin-bottom: clamp(2.25rem, 5vw, 4.5rem); }
.filters { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.filters[hidden] { display: none; }
.filters button { background: none; border: 0; padding: .55rem 0; min-height: 44px; cursor: pointer; color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--crimson); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: clamp(3rem, 6vw, 5.5rem); align-items: start; }
.tile a { display: block; overflow: hidden; background: var(--wash); cursor: zoom-in; }
.tile img { width: 100%; transition: transform 1.1s var(--ease); }
.tile__cap { margin-top: .8rem; font-size: .9375rem; color: var(--muted); max-width: 32rem; }
.tile[data-slot="1"] { grid-column: 1 / span 6; }
.tile[data-slot="2"] { grid-column: 8 / span 4; margin-top: clamp(4rem, 14vw, 13rem); }
.tile[data-slot="3"] { grid-column: 2 / span 4; margin-top: clamp(0rem, 2vw, 2rem); }
.tile[data-slot="4"] { grid-column: 7 / span 3; margin-top: clamp(3rem, 12vw, 11rem); }
.tile[data-slot="5"] { grid-column: 1 / span 5; }
.tile[data-slot="6"] { grid-column: 7 / span 6; margin-top: clamp(2rem, 8vw, 7rem); }
.tile[hidden] { display: none; }
.work__more { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

/* Jyoti */
.jyoti { background: var(--wash); padding: clamp(4rem, 9vw, 8.5rem) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }
.jyoti__name { grid-column: 1 / -1; font-variation-settings: "opsz" 72; font-size: clamp(3.25rem, 11.5vw, 11.5rem); line-height: 1.02; margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.jyoti__text { grid-column: 7 / span 5; }
.jyoti__text p + p { margin-top: 1.1rem; }
.jyoti__lead { font-family: var(--display); font-variation-settings: "opsz" 24; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.22; margin-bottom: 1.75rem; }
.jyoti__links { display: flex; gap: 1.75rem; margin-top: 1.75rem !important; }
.jyoti__portrait { grid-column: 1 / span 5; }
.jyoti:not(.jyoti--portrait) .jyoti__text { grid-column: 6 / span 6; }

/* Services */
.services { padding: clamp(5rem, 11vw, 10rem) var(--gutter); }
.services h2 { max-width: 16em; }
.services__note { margin-top: 1.25rem; max-width: 34rem; color: var(--muted); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 7vw, 7rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--text); }
.svc__item a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 1rem; height: 100%; padding: clamp(1.5rem, 2.6vw, 2.25rem) 0; text-decoration: none; transition: color .25s; }
.svc__item h3 { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 24; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.15; transition: transform .45s var(--ease); }
.svc__hi { font-family: var(--hindi); font-size: 1.375rem; color: var(--muted); white-space: nowrap; }
.svc__item p { grid-column: 1 / -1; margin-top: .5rem; color: var(--muted); max-width: 30rem; }
.svc__item--lead { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
.svc__item--lead a { padding-bottom: clamp(2rem, 3.6vw, 3rem); }
.svc__item--lead h3 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); line-height: 1.08; font-variation-settings: "opsz" 40; }
.svc__item--lead .svc__hi { font-size: clamp(1.25rem, 2.4vw, 2.125rem); }
.svc__item--lead p { font-size: 1.1875rem; max-width: 38rem; margin-top: .9rem; }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: 1px solid var(--line); }
.studio__info { padding: clamp(3.5rem, 7vw, 6.5rem) var(--gutter); }
.studio address { margin-top: 1.75rem; font-size: 1.1875rem; line-height: 1.55; }
.studio__hours { margin-top: 1rem; color: var(--muted); max-width: 26rem; }
.studio__actions { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 1.25rem; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); text-decoration: none; font-size: .9875rem; }
.rating__stars { display: flex; gap: 2px; color: var(--crimson); }
.rating__stars svg { width: 16px; height: 16px; fill: currentColor; }
.studio__map { min-height: 26rem; background: var(--wash); }
.studio__map iframe { width: 100%; height: 100%; min-height: 26rem; border: 0; filter: saturate(.55) contrast(1.02); }

/* Booking */
.book { background: var(--ink-2); color: var(--on-dark); padding: clamp(4.5rem, 10vw, 9rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
.book__intro p { margin-top: 1.4rem; max-width: 26rem; color: var(--on-dark-muted); }
.book__hi { font-family: var(--hindi); font-size: 1.25rem; color: var(--on-dark) !important; }
.book__call a { color: var(--on-dark); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2.5vw, 2rem); align-content: start; }
.field { display: grid; gap: .5rem; align-content: start; }
.field--wide, .form__end { grid-column: 1 / -1; }
.field label { font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem .9rem; background: #1F1616; border: 1px solid #6D5A5A; color: var(--on-dark); transition: border-color .2s, background-color .2s; color-scheme: dark; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #998383; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--on-dark); outline: 1px solid var(--on-dark); outline-offset: 0; }
.field__help { font-size: .9rem; color: var(--on-dark-muted); }
.field__err { font-size: .9375rem; font-weight: 500; color: var(--err-dark); }
.field__err:empty { display: none; }
.field.is-bad input, .field.is-bad select { border-color: var(--err-dark); }
.form__end { display: grid; gap: 1.1rem; justify-items: start; margin-top: .5rem; }
.form__status { max-width: 36rem; padding-left: 1rem; border-left: 2px solid var(--crimson-on-dark); color: var(--on-dark); }
.form__status a { color: inherit; }

/* Footer */
.foot { background: var(--ink); color: var(--on-dark-muted); padding: 2.75rem var(--gutter) 3rem; font-size: .9375rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-bottom: 1.25rem; color: var(--on-dark); }
.foot__links a { padding: .35rem 0; text-underline-offset: .3em; }

/* Quick actions */
.wa-float { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 30; display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .6rem 1.15rem; background: var(--ink); color: var(--on-dark); text-decoration: none; font-weight: 500; box-shadow: 0 10px 28px -12px rgb(40 10 15 / .65), inset 0 0 0 1px rgb(255 255 255 / .16); transition: background-color .2s, transform .25s var(--ease); }
.bar { display: none; }

/* Lightbox */
.lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(7 5 5 / .97); color: var(--on-dark); overflow: hidden; }
.lb[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; animation: lb-in .3s ease both; }
.lb::backdrop { background: rgb(7 5 5 / .97); }
.lb__fig { grid-column: 2; display: grid; justify-items: center; gap: .85rem; padding: 1.25rem 0; min-width: 0; }
.lb__fig img { max-height: calc(100dvh - 7rem); width: auto; height: auto; max-width: 100%; }
.lb__fig img.is-swap { animation: lb-in .35s ease both; }
.lb__fig figcaption { font-size: .9375rem; color: var(--on-dark-muted); text-align: center; }
.lb__btn { display: grid; place-items: center; width: 48px; height: 48px; margin: auto; background: none; border: 0; color: var(--on-dark); font-size: 1.15rem; cursor: pointer; transition: background-color .2s; }
.lb__btn:hover { background: rgb(255 255 255 / .1); }
.lb__close { position: absolute; top: .75rem; right: .75rem; z-index: 1; }
.lb__prev { grid-column: 1; } .lb__next { grid-column: 3; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* Scroll reveals, only once the script is running */
.js .reveal { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 9% 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease), clip-path 1.2s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; clip-path: inset(0); }

/* The eye band settles as it crosses the screen, where the browser supports it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .close__band img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes settle { from { transform: scale(1.09); } to { transform: none; } }
  }
}

/* Hover only where a real pointer exists, so a tap leaves nothing stuck */
@media (hover: hover) {
  .btn:hover { background: var(--crimson-deep); }
  .link:hover { text-underline-offset: .5em; color: var(--crimson); }
  .link--light:hover { color: var(--on-dark); }
  .tile a:hover img { transform: scale(1.025); }
  .svc__item a:hover { color: var(--crimson); }
  .svc__item a:hover h3 { transform: translateX(.35rem); }
  .rating:hover span:last-child { text-decoration: underline; text-underline-offset: .3em; }
  .wa-float:hover { background: var(--crimson); transform: translateY(-2px); }
}

/* Tablet */
@media (max-width: 1040px) {
  .top__nav { display: none; }
}

/* Phone and small tablet */
@media (max-width: 899px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 56px; }
  .top { height: 72px; }
  .top .btn { display: none; }
  .top__logo img { width: 72px; }
  .top.is-past { height: 56px; }

  /* The photo takes whatever height the copy leaves, so the button always stays on screen. */
  .hero { height: calc(100svh - var(--bar-h)); min-height: 30rem; align-items: stretch; grid-template-rows: minmax(0, 1fr) auto; }
  .hero__photo { position: relative; inset: auto; right: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; }
  .hero__photo img { position: absolute; inset: 0; object-position: 52% 22%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero__copy { width: 100%; padding: 0 var(--gutter) 1.25rem; margin-top: -2.25rem; }
  .hero__kicker { font-size: .9375rem; margin-bottom: .4rem; }
  .hero__line { font-size: clamp(2.125rem, 9.2vw, 3.25rem); }
  .hero__sub { margin-top: .6rem; font-size: 1rem; line-height: 1.45; }
  .hero__cta { margin-top: 1rem; }
  .hero__cta .btn { min-height: 48px; }

  .close__text { margin-left: 0; }

  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 2.75rem; }
  .tile[data-slot] { margin-top: 0; }
  .tile[data-slot="1"], .tile[data-slot="5"] { grid-column: 1 / -1; }
  .tile[data-slot="2"], .tile[data-slot="6"] { grid-column: 2 / -1; }
  .tile[data-slot="3"] { grid-column: 1 / span 5; }
  .tile[data-slot="4"] { grid-column: 3 / -1; }

  .jyoti, .jyoti:not(.jyoti--portrait) { display: block; }
  .jyoti__portrait { margin-bottom: 2rem; }

  .svc { grid-template-columns: 1fr; }
  .svc__item { border-bottom: 1px solid var(--line); }
  .svc__item:last-child { border-bottom: 0; }

  .studio, .book { grid-template-columns: 1fr; }
  .studio__map, .studio__map iframe { min-height: 20rem; }
  .form { grid-template-columns: 1fr; }
  .form__end .btn { width: 100%; }

  .foot { padding-bottom: 2rem; }
  .wa-float { display: none; }
  .bar { position: fixed; inset: auto 0 0; z-index: 35; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -1px 0 var(--line-dark); }
  .bar a { display: grid; justify-items: center; align-content: center; gap: 2px; height: var(--bar-h); color: var(--on-dark); font-size: .78rem; font-weight: 500; text-decoration: none; }
  .bar a:active { background: var(--ink-2); }
  .bar .ico { width: 22px; height: 22px; }
  .bar__book, .bar a.bar__book:active { background: var(--crimson); color: #FFF8F5; }

  .lb[open] { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lb__fig { grid-column: 1 / -1; grid-row: 1; padding: 3.5rem .5rem .5rem; }
  .lb__fig img { max-height: calc(100dvh - 11rem); }
  .lb__prev { grid-column: 1; grid-row: 2; margin-bottom: .75rem; }
  .lb__next { grid-column: 2; grid-row: 2; margin-bottom: .75rem; }
}

@media (max-height: 640px) and (max-width: 899px) {
  .hero__sub { display: none; }
}

/* Phone held sideways: photo beside the copy */
@media (max-width: 899px) and (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .hero__photo { grid-column: 2; grid-row: 1; }
  .hero__photo img { object-position: 50% 24%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .hero__copy { grid-column: 1; grid-row: 1; margin-top: 0; padding-top: 4.5rem; align-self: end; }
  .hero__line { font-size: 1.875rem; }
  .hero__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; clip-path: none; }
}

@media print {
  .top, .bar, .wa-float, .studio__map { display: none; }
  .hero { min-height: 0; }
}
