/* Noura Nail & Lash Lounge — values from the design system's tokens.json.
   Type and photo sizes cut down 2026-11-04 to match the 5 lead previews (Preet: the page looked zoomed in). */
:root {
  --surface-100: #fbf7f0;
  --surface-200: #f3e9dc;
  --apricot: #e8c7ae;
  --pine: #1f5a50;
  --pine-deep: #153f39;
  --on-pine: #fdfaf4;
  --gold: #7a5a2b;
  --ink: #1e2623;
  --ink-muted: #5b5a50;
  --line: #bfae97;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-petal: 96px;
  --radius-full: 999px;
  --font-display: "Young Serif", Georgia, serif;
  --font-display-ar: "El Messiri", "Noto Naskh Arabic", serif;
  --font-sans: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-100); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 25px; }
[dir="rtl"] body, body[dir="rtl"] { line-height: 27px; }
img { display: block; max-width: 100%; }
a { color: var(--pine); }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--on-pine); }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 16px; }
.section { padding-block: 56px; }
.band { background: var(--surface-200); }
.dark { background: var(--pine-deep); color: var(--on-pine); }
.dark a:not(.btn) { color: var(--on-pine); }

h1, h2, h3 { margin: 0; font-weight: 400; }
.display-xl { font-family: var(--font-display); font-size: clamp(44px, 5.2vw, 58px); line-height: 1.07; }
.display-md { font-family: var(--font-display); font-size: 32px; line-height: 38px; }
[dir="rtl"] .display-xl { font-family: var(--font-display-ar); font-weight: 600; font-size: clamp(40px, 4.8vw, 52px); line-height: 1.32; }
[dir="rtl"] .display-md { font-family: var(--font-display-ar); font-weight: 600; font-size: 30px; line-height: 42px; }
.label { font-size: 14px; line-height: 20px; font-weight: 600; }
.small { font-size: 14px; line-height: 22px; }
.muted { color: var(--ink-muted); }
.eyebrow { margin: 0 0 16px; color: var(--apricot); font-size: 14px; line-height: 20px; font-weight: 600; }
.lede { max-width: 460px; margin: 24px 0 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: var(--radius-full); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-pine { background: var(--pine); color: var(--on-pine); }
.btn-pine:hover { background: var(--pine-deep); color: var(--on-pine); }
.btn-apricot { background: var(--apricot); color: var(--ink); }
.btn-apricot:hover { background: var(--on-pine); color: var(--ink); }
.text-link { font-size: 14px; line-height: 44px; font-weight: 600; }
.badge { display: inline-block; border: 1px solid currentColor; border-radius: var(--radius-full); padding: 6px 16px; font-size: 14px; line-height: 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface-100); box-shadow: 0 1px 0 rgba(30, 38, 35, 0.08); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 8px; }
.brand { font-family: var(--font-display); font-size: 21px; line-height: 44px; color: var(--ink); text-decoration: none; }
[dir="rtl"] .brand { font-family: var(--font-display-ar); font-weight: 600; font-size: 24px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 14px; line-height: 44px; }
.nav a[aria-current="page"] { color: var(--pine); font-weight: 600; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; min-width: 0; padding: 40px max(24px, calc((100vw - 1200px) / 2 + 16px)); padding-inline-end: 48px; display: flex; flex-direction: column; justify-content: center; }
/* The photo's height is set, not taken from the picture's shape, so the hero ends inside the first screen (Preet 2026-11-04: hero too long). */
.hero-photo { flex: 1 1 480px; min-width: 0; height: clamp(400px, calc(100svh - 200px), 540px); width: 0; object-fit: cover; object-position: center 30%; }
/* The hero video fills the same box the photo did; its button pauses or plays it. */
.hero-media { position: relative; overflow: hidden; background: #e7dcd2; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loop-toggle { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(20, 44, 38, .55); cursor: pointer; }
.loop-toggle:hover { background: rgba(20, 44, 38, .8); }
.loop-toggle:focus-visible { outline: 2px solid var(--apricot); outline-offset: 2px; }
.page-hero { padding-block: 56px; }
.page-hero p { max-width: 560px; margin: 16px 0 0; }

/* Shapes: the petal mirrors itself on Arabic pages */
.petal { border-start-end-radius: var(--radius-petal); border-end-start-radius: var(--radius-petal); }
.petal-alt { border-start-start-radius: var(--radius-petal); border-end-end-radius: var(--radius-petal); }
.card { background: var(--surface-100); border-radius: var(--radius-md); padding: 24px; }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.price-group h3 { margin-bottom: 8px; color: var(--gold); font-size: 15px; line-height: 20px; font-weight: 600; }
.price-row { margin: 0; padding-block: 12px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.price-row b { font-weight: 600; white-space: nowrap; }
.split-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: space-between; }

/* Rows of photo + text */
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.row.reverse { flex-direction: row-reverse; }
.row > * { flex: 1 1 420px; min-width: 0; }
.row-photo { width: 100%; height: 360px; object-fit: cover; background: var(--apricot); }
.feature { display: flex; flex-wrap: wrap; align-items: center; }
.feature img { flex: 3 1 480px; min-width: 0; width: 0; height: 440px; object-fit: cover; border-start-end-radius: var(--radius-petal); }
.feature div { flex: 2 1 360px; min-width: 0; padding: 40px 32px; }

/* Grids of photos and people */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.photo-grid img { width: 100%; height: 300px; object-fit: cover; background: var(--apricot); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.person img { width: 100%; height: 250px; object-fit: cover; background: var(--apricot); }
.person p { margin: 0; }
.person .name { margin-top: 12px; font-weight: 600; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact > div { flex: 1 1 360px; min-width: 0; }
.map { flex: 2 1 480px; min-width: 0; min-height: 360px; width: 100%; border: 0; border-radius: var(--radius-md); background: var(--surface-200); }
.map-still { position: relative; overflow: hidden; }
.map-still img, .map-still iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.map-load { position: absolute; bottom: 16px; inset-inline-start: 16px; border: 0; font-family: inherit; cursor: pointer; }
.map-credit { position: absolute; bottom: 0; inset-inline-end: 0; padding: 2px 8px; background: var(--surface-100); color: var(--ink); font-size: 12px; line-height: 18px; text-decoration: none; }
.hours { margin-top: 8px; }

/* End band and footer */
.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-footer { padding-block: 48px 24px; font-size: 14px; line-height: 22px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid p { margin: 0 0 8px; }
.footer-grid .label { margin-bottom: 12px; color: var(--apricot); }
.footer-brand { font-family: var(--font-display); font-size: 20px; line-height: 28px; }
[dir="rtl"] .footer-brand { font-family: var(--font-display-ar); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { line-height: 36px; }
.footer-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(253, 250, 244, 0.2); opacity: 0.75; }

/* Price list with times and notes, photo tiles, links, facts, FAQ, gallery jumps */
.price-row.svc { align-items: flex-start; }
.svc-name { display: block; font-weight: 600; }
.svc-note { display: block; }
.svc-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.svc-row { margin-block: 28px; align-items: flex-start; }
a.price-group { color: inherit; text-decoration: none; }
a.price-group:hover h3 { color: var(--pine); }
.group-photo { width: 100%; height: 200px; object-fit: cover; margin-bottom: 16px; background: var(--apricot); }
.link-row { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 20px 0 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.fact b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 46px; color: var(--pine); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 16px; }
.faq summary { cursor: pointer; padding-block: 16px; font-weight: 600; list-style-position: inside; }
.faq details p { margin: 0 0 16px; color: var(--ink-muted); max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid currentColor; border-radius: var(--radius-full); text-decoration: none; font-size: 14px; font-weight: 600; }
.gallery-h { margin: 48px 0 0; scroll-margin-top: 88px; }
.gallery-h:first-child { margin-top: 0; }
#nails, #lashes, #brows { scroll-margin-top: 88px; }

/* Phone bar */
.phone-bar { display: none; }

@media (max-width: 760px) {
  .display-xl { font-size: 36px; line-height: 40px; }
  [dir="rtl"] .display-xl { font-size: 34px; line-height: 48px; }
  .display-md { font-size: 27px; line-height: 33px; }
  .menu-toggle { display: inline-flex; }
  .brand { font-size: 19px; }
  [dir="rtl"] .brand { font-size: 21px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav .btn { display: none; }
  .hero-photo { order: -1; flex-basis: 100%; height: 230px; width: 100%; }
  .hero-text { padding: 24px 16px 32px; }
  .hero .lede { margin: 16px 0 24px; }
  .row { gap: 24px; }
  .row-photo { height: 260px; }
  .feature img { height: 280px; flex-basis: 100%; width: 100%; }
  .feature div { padding: 24px 16px; }
  .photo-grid img { height: 240px; }
  .phone-bar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 10; gap: 8px; align-items: center; padding: 8px 16px; background: var(--surface-100); border-top: 1px solid var(--line); }
  .phone-bar .call { flex: 1 1 0; text-align: center; color: var(--ink); font-weight: 600; line-height: 48px; text-decoration: none; }
  .phone-bar .btn { flex: 3 1 0; }
  body { padding-bottom: 72px; }
}

/* SovaWeb bar: back to the studio's site */
.studio-bar { background: var(--ink); color: var(--on-pine); font-size: 14px; line-height: 20px; }
.studio-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.studio-bar a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--on-pine); font-weight: 600; text-decoration: none; }
.studio-bar a:hover { color: var(--apricot); }
.studio-bar span { opacity: 0.75; }
[dir="rtl"] .studio-bar svg { transform: scaleX(-1); }
.studio-lang { display: none !important; }
@media (max-width: 760px) {
  .studio-bar span { display: none; }
  .studio-lang { display: inline-flex !important; }
}
@media (max-width: 360px) { .brand { font-size: 16px; } [dir="rtl"] .brand { font-size: 18px; } }

/* Scroll reveal (site.js marks the parts below the first screen): Noura's own way, text rises and photos open upward from their bottom edge */
.rv { transition-property: opacity, transform, clip-path; transition-duration: var(--rv-d, .7s); transition-timing-function: cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--rv-i, 0) * 90ms); }
.rv-rise:not(.rv-in) { opacity: 0; transform: translateY(28px); }
.rv-photo { --rv-d: .9s; }
.rv-photo:not(.rv-in) { opacity: 0; clip-path: inset(35% 0 0 0); }
