/* Nurlo Studio: a made-up beauty studio, a G Development portfolio demo */
:root {
  --bg: #f5ece7;
  --panel: #fbf6f2;
  --ink: #2b1f23;
  --dim: #7a666b;
  --faint: #a9979b;
  --line: rgba(43, 31, 35, 0.12);
  --rose: #c98f8a;
  --blush: #ecd6d0;
  --gold: #b08a4e;
  --radius: 26px;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Jost', system-ui, -apple-system, sans-serif;
  --pad: clamp(18px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-variant-numeric: lining-nums; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* one fixed environment layer: soft window light on a blush wall */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(50vw 60vh at 100% 0%, rgba(255, 250, 246, 0.95), transparent 70%),
    radial-gradient(45vw 50vh at 0% 100%, rgba(201, 143, 138, 0.14), transparent 70%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.label { font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.header { position: sticky; top: 0; z-index: 40; background: rgba(245, 236, 231, 0.93); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1; text-decoration: none; }
.logo small { font-family: var(--body); font-style: normal; font-weight: 500; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); margin-left: 8px; vertical-align: middle; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--dim); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.langs { display: flex; }
.langs button { background: none; border: 0; padding: 8px 7px; font-weight: 500; font-size: 12.5px; color: var(--faint); letter-spacing: 0.1em; }
.langs button[aria-pressed='true'] { color: var(--ink); }
.book-btn { background: var(--ink); color: var(--panel); border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }

.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; min-height: calc(100svh - 72px); padding-top: 20px; padding-bottom: 40px; }
.hero .label { margin: 0 0 22px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(50px, 6.4vw, 108px); line-height: 0.95; letter-spacing: -0.015em; margin: 0 0 26px; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero .lead { color: var(--dim); font-size: clamp(16.5px, 1.3vw, 19px); max-width: 38ch; margin: 0 0 34px; font-weight: 300; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 16px 28px; font-weight: 500; font-size: 15.5px; letter-spacing: 0.02em; text-decoration: none; border: 0; transition: transform .2s ease, background .25s ease, border-color .25s ease, opacity .2s; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.4; cursor: default; }
.btn-ink { background: var(--ink); color: var(--panel); }
.btn-ink:hover { background: #45323a; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid rgba(43, 31, 35, 0.3); }
.btn-line:hover { border-color: var(--ink); }
.open { margin-top: 40px; color: var(--dim); font-size: 15px; display: flex; align-items: center; gap: 12px; }
.open::before { content: ''; width: 34px; height: 1px; background: var(--gold); }

.stage { position: relative; height: min(72svh, 640px); }
.glow { position: absolute; left: 50%; top: 48%; width: min(78%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 250, 246, 0.95) 0%, rgba(236, 214, 208, 0.7) 45%, transparent 70%); pointer-events: none; }
.orbit { position: absolute; left: 50%; top: 48%; width: min(86%, 580px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.orbit ellipse { fill: none; stroke: var(--gold); stroke-width: 0.6; opacity: 0.55; }
.stage canvas { position: absolute; inset: 0; pointer-events: none; }
model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--gold); --progress-bar-height: 2px; background: transparent; }
.drag-hint { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); font-size: 12.5px; color: var(--dim); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 246, 242, 0.85); white-space: nowrap; transition: opacity .4s; pointer-events: none; }
.stage.touched .drag-hint { opacity: 0; }

/* the signature: one fine gold line that draws itself like the rim of the lid */
.thread { display: block; width: 100%; height: 120px; }
.thread path { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0.7; }

.story { position: relative; height: 300vh; }
.story-sticky { position: sticky; top: 72px; height: calc(100svh - 72px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.story-model { position: relative; height: 100%; }
.story-steps { position: relative; height: 60%; padding: 0 var(--pad) 0 clamp(20px, 3vw, 56px); }
.step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.step.on { opacity: 1; transform: none; }
.step .num { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 24px; margin-bottom: 8px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.8vw, 60px); line-height: 1.02; margin: 0 0 16px; }
.step p { color: var(--dim); max-width: 38ch; font-size: 17px; margin: 0; font-weight: 300; }
.progress { display: flex; gap: 8px; margin-top: 30px; }
.progress i { width: 36px; height: 2px; background: var(--line); transition: background .3s; }
.progress i.on { background: var(--gold); }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 38px; }
.sec-head h2, .visit h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.6vw, 72px); line-height: 0.98; margin: 8px 0 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 10px 16px; font-size: 15px; color: var(--dim); border-bottom: 1.5px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab[aria-selected='true'] { color: var(--ink); border-color: var(--ink); }
.services { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.services figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; }
.services figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .35s ease; }
.svc { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--line); }
.svc h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 25px; line-height: 1.1; }
.svc .dur { color: var(--faint); font-size: 14px; }
.svc .price { font-size: 16.5px; white-space: nowrap; }
.svc button { border: 1px solid rgba(43, 31, 35, 0.25); background: none; border-radius: 999px; padding: 9px 16px; font-size: 14px; transition: background .2s, color .2s; white-space: nowrap; }
.svc button:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.master { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.mono { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 38px; color: var(--ink); background: var(--blush); box-shadow: inset 0 0 0 1px rgba(176, 138, 78, 0.5), 0 0 0 5px var(--panel), 0 0 0 6px rgba(176, 138, 78, 0.35); }
.mono.hair { background: #e9dccf; }
.mono.nails { background: #efd9dc; }
.master b { display: block; font-family: var(--display); font-weight: 500; font-size: 25px; line-height: 1.1; }
.master div span { color: var(--dim); font-size: 14.5px; font-weight: 300; }

.booking { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.bk { background: var(--panel); border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 3vw, 40px); min-height: 520px; display: flex; flex-direction: column; }
.bk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.bk-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 26px; }
.bk-steps i { height: 2px; background: var(--line); transition: background .4s; }
.bk-steps i.on { background: var(--gold); }
.bk h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; margin: 0 0 22px; }
.bk-body { flex: 1; }
.group + .group { margin-top: 22px; }
.group .label { display: block; margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 16px; text-align: left; font-size: 15px; line-height: 1.3; transition: border-color .2s, background .2s, color .2s; }
.opt small { display: block; color: var(--faint); font-size: 13px; margin-top: 2px; }
.opt:hover { border-color: var(--rose); }
.opt[aria-pressed='true'] { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.opt[aria-pressed='true'] small { color: rgba(251, 246, 242, 0.65); }
.opt[disabled] { opacity: 0.35; text-decoration: line-through; cursor: default; }
.opt[disabled]:hover { border-color: var(--line); }
.masters-opts .opt { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; }
.masters-opts .mono { width: 44px; height: 44px; font-size: 22px; box-shadow: inset 0 0 0 1px rgba(176, 138, 78, 0.5); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.days .opt { text-align: center; padding: 12px 4px; }
.days .opt b { font-variant-numeric: lining-nums; display: block; font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1; margin: 2px 0; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.times .opt { text-align: center; padding: 11px 4px; }
.form { display: grid; gap: 12px; max-width: 440px; }
.field { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; color: var(--ink); font: inherit; }
.field:focus { outline: none; border-color: var(--rose); }
.bk-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.back { background: none; border: 0; color: var(--dim); padding: 12px 0; font-size: 15px; }
.back[hidden] { display: none; }
.sum { background: var(--ink); color: var(--panel); border-radius: 30px; padding: 30px; position: sticky; top: 100px; }
.sum h4 { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 28px; margin: 0 0 18px; }
.sum dl { margin: 0; display: grid; gap: 14px; }
.sum dt { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251, 246, 242, 0.5); }
.sum dd { margin: 2px 0 0; font-size: 16px; }
.sum dd.none { color: rgba(251, 246, 242, 0.35); }
.sum .tot { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(251, 246, 242, 0.15); display: flex; justify-content: space-between; font-size: 18px; }
.bot-note { margin-top: 18px; font-size: 14px; color: rgba(251, 246, 242, 0.6); font-weight: 300; }
.bot-note a { color: #e8c99a; }
.done { text-align: center; margin: auto; max-width: 480px; padding: 20px 0; }
.done .ring { width: 74px; height: 74px; margin: 0 auto 20px; }
.done .ring circle { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.done .ring path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { margin-bottom: 12px; }
.done p { color: var(--dim); font-weight: 300; }

.visit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.visit img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.visit p { color: var(--dim); font-weight: 300; }
.visit dl { display: grid; gap: 14px; margin: 26px 0 0; }
.visit dt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.visit dd { margin: 2px 0 0; font-size: 17px; }

.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer .wrap { display: grid; gap: 22px; }
.made { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.made p { margin: 0; font-weight: 500; }
.demo { color: var(--dim); font-size: 14px; max-width: 72ch; margin: 0; font-weight: 300; }

/* entrances */
.rise { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.rise.in { opacity: 1; transform: none; }
.bloom { opacity: 0; transform: scale(0.94); filter: blur(6px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.8,.2,1), filter 1s ease; }
.bloom.in { opacity: 1; transform: none; filter: none; }
.curtain { clip-path: inset(0 0 100% 0 round 26px); transition: clip-path 1.3s cubic-bezier(.2,.8,.2,1); }
.curtain.in { clip-path: inset(0 0 0 0 round 26px); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header .wrap { justify-content: space-between; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .stage { height: 46svh; order: -1; }
  .story { height: auto; }
  .story-sticky { position: relative; top: 0; height: auto; grid-template-columns: 1fr; }
  .story-model { height: 40svh; }
  .story-steps { height: auto; padding: 0 var(--pad) 30px; display: grid; gap: 34px; }
  .step { position: relative; opacity: 1; transform: none; }
  .progress { display: none; }
  .services { grid-template-columns: 1fr; gap: 26px; }
  .services figure { position: relative; top: 0; }
  .services figure img { aspect-ratio: 16 / 10; }
  .team { grid-template-columns: 1fr 1fr; }
  .booking { grid-template-columns: 1fr; }
  .sum { position: relative; top: 0; }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header .wrap { gap: 8px; }
  .logo { font-size: 28px; }
  .logo small { display: none; }
  .langs button { padding: 8px 5px; }
  .book-btn { padding: 10px 14px; font-size: 13.5px; }
  .svc { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .svc h3 { font-size: 22px; }
  .svc button { grid-column: 2; grid-row: 1 / span 2; }
  .svc .price { grid-column: 1; }
  .team { grid-template-columns: 1fr; }
  .master { padding: 20px; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .bk { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rise, .bloom { opacity: 1; transform: none; filter: none; }
  .curtain { clip-path: none; }
}
