/* Layout: one motif — the nail silhouette. A flat field of polish-blue with navy ink; hard seams to white
   and to navy. Every photograph sits inside the nail shape, buttons carry its tip, the hero is a row of
   tips with the students' work (one steps forward, the field takes a tone of the palette), the footer mark is built from nail tips of different lengths.
   Single deliberate look (no light/dark switch): colours are set explicitly. */
:root {
  --blue: #a9c3ec;      /* ground: the blue gel polish from the students' work */
  --blue-2: #bdd1f2;    /* tone step on blue: inputs */
  --pale: #dde8f8;
  --mid: #6f92d3;
  --deep: #34548f;
  --navy: #0b1526;      /* ink and the action */
  --navy-2: #16243f;    /* tone step on navy */
  --white: #ffffff;
  --on-navy: #e9f0fb;

  --display: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
  --text: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  /* five working sizes: small, body, lead, head (= statement), display */
  --step-head: clamp(1.5rem, 0.9rem + 1.6vw, 2.25rem);
  --step-statement: var(--step-head);
  --step-display: clamp(3.4rem, 1rem + 8.2vw, 8.6rem);

  --m: clamp(16px, 2.2vw, 32px);           /* page margin */
  --tip: 1.6em 1.6em 0.3em 0.3em;           /* nail tip radius for buttons */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-calm: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0; background: var(--blue); color: var(--navy);
  font: 400 var(--step-body)/1.5 var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--blue); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-body); font-weight: 600; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--blue); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* side gutters live on each band */
.bar, .hero, .about, .why, .courses, .testimonial, .contact, .foot {
  padding-left: max(var(--m), env(safe-area-inset-left, 0px));
  padding-right: max(var(--m), env(safe-area-inset-right, 0px));
}

/* the motif */
.nail { display: block; overflow: hidden; clip-path: url(#nail); }
.nail img { width: 100%; height: 100%; object-fit: cover; }

/* buttons: one shape, the nail tip */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem;
  border-radius: var(--tip); background: var(--navy); color: var(--blue);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.btn:hover { background: var(--deep); color: var(--white); }
.btn:active { transform: translateY(2px) scale(0.98); }
.btn-on-dark { background: var(--blue); color: var(--navy); }
.btn-on-dark:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: var(--navy-2); color: var(--on-navy); }
.btn-small { min-height: 2.6rem; padding: 0 1.1rem; font-size: var(--step-small); }

/* ---------- Bar ---------- */
/* the bar stays at the top: a flat band of the ground colour, no shadow, no blur.
   On a phone it slides away while reading down and comes back on the first move up. */
.bar {
  display: flex; align-items: center; gap: 2rem; min-height: 72px; padding-block: 14px;
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--blue);
  transition: transform 360ms var(--ease-calm);
}
.bar.is-away { transform: translateY(-100%); }
section[id], .stage[id] { scroll-margin-top: 84px; }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.word { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: var(--step-body); }
.nav { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav a, .bar-wa, .lang a { text-decoration: none; text-underline-offset: 0.25em; transition: color 180ms ease; }
.nav a, .bar-wa { position: relative; }
.nav a::after, .bar-wa::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease-calm); }
.nav a:hover::after, .bar-wa:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.bar-end { display: flex; align-items: center; gap: 1.4rem; }
.lang { display: flex; gap: 0.7rem; }
.lang a { opacity: 0.55; font-weight: 600; }
.lang a[aria-current] { opacity: 1; }
.lang a:hover { opacity: 1; }
.bar-wa { font-weight: 600; }
.menu-btn { display: none; font-weight: 600; }
@media (max-width: 980px) {
  .menu-btn { display: inline-block; }
  .bar-wa { display: none; }
  .bar-end { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: var(--m); right: var(--m); margin: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 0; background: var(--navy); color: var(--on-navy);
    box-shadow: 0 18px 40px rgba(11, 21, 38, 0.3); /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
    opacity: 0; transform: translateY(-6px); visibility: hidden; transform-origin: top right;
    transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 240ms;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 0.9rem 1.2rem; font-size: var(--step-lead); }
  .nav a::after { display: none; }
}

/* ---------- Hero: a row of tips, one steps forward ---------- */
.hero { padding-top: clamp(24px, 4vw, 56px); text-align: center; overflow: hidden; }
.hero-h { font-size: min(var(--step-display), 11.5svh); line-height: 0.92; }
.hero-h span { display: inline-block; }
.hero-lead { font-size: var(--step-lead); max-width: 40ch; margin: 1.2rem auto 0; line-height: 1.35; }
.c-white { background: var(--white); } .c-pale { background: var(--pale); }
.c-mid { background: var(--mid); } .c-deep { background: var(--deep); color: var(--white); }

/* the field takes a tone of the palette for each work; ink follows it */
.stage {
  /* the tips take the height that is left on the first screen, so the button stays in view */
  --th: clamp(260px, calc(100svh - 585px), 470px);
  --tw: min(22vw, calc((var(--th) - 20px) * 0.75));
  --ink: var(--on-navy); --num: var(--blue);
  position: relative; margin: clamp(28px, 3vw, 40px) calc(-1 * max(var(--m), env(safe-area-inset-left, 0px))) 0;
  padding: clamp(24px, 2.4vw, 32px) max(var(--m), env(safe-area-inset-left, 0px)) clamp(32px, 4vw, 56px);
  background: var(--navy); color: var(--ink); overflow: hidden;
  transition: background-color 900ms var(--ease-calm), color 900ms var(--ease-calm);
}
.stage[data-tone="deep"] { background: var(--deep); --num: var(--pale); }
.stage[data-tone="mid"] { background: var(--mid); --ink: var(--navy); --num: var(--navy); }
.stage[data-tone="pale"] { background: var(--pale); --ink: var(--navy); --num: var(--deep); }
.stage[data-tone="mid"] .btn-on-dark, .stage[data-tone="pale"] .btn-on-dark { background: var(--navy); color: var(--blue); }
.stage[data-tone="mid"] .btn-on-dark:hover, .stage[data-tone="pale"] .btn-on-dark:hover { background: var(--deep); color: var(--white); }

/* without script: a plain row to swipe */
.tips { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.tip { flex: none; width: var(--tw); scroll-snap-align: center; }
.tip .nail { aspect-ratio: 3 / 4; }
.tip img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }

/* with script: the tips stand in a row, the active one in front */
.tips.live { display: block; position: relative; overflow: visible; height: calc(var(--tw) * 4 / 3 + 20px); padding: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.tips.live.dragging { cursor: grabbing; }
.tips.live .tip { position: absolute; left: 50%; top: 0; margin-left: calc(var(--tw) / -2); transform-origin: 50% 100%; will-change: transform, opacity; cursor: pointer; }
.tips.live .tip.is-on { cursor: default; }
.tips.live:focus-visible .tip.is-on .nail { outline: 3px solid currentColor; outline-offset: 4px; }

.tip-cap { display: grid; grid-template-columns: 1fr minmax(0, 640px) 1fr; align-items: center; gap: 1rem; margin-top: clamp(12px, 1.4vw, 20px); }
.tip-nav { grid-column: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.tip-book { grid-column: 1; grid-row: 1; justify-self: start; }
.tip-text { display: grid; gap: 0.3rem; justify-items: center; }
.tip-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: var(--step-head); text-wrap: balance; }
.tip-text span { font-size: var(--step-body); }
.tip-btn {
  width: 3rem; height: 3.25rem; border-radius: var(--tip); background: var(--ink); color: var(--navy);
  font-size: var(--step-body); font-weight: 600; transition: transform 140ms var(--ease-out), opacity 180ms ease;
}
.stage[data-tone="mid"] .tip-btn, .stage[data-tone="pale"] .tip-btn { color: var(--pale); }
.tip-btn:hover { transform: translateY(-3px); }
.tip-btn:active { transform: translateY(1px) scale(0.96); }
.tip-btn:focus-visible { outline-color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; gap: 1.4rem clamp(1.6rem, 3vw, 3.2rem); margin-top: clamp(56px, 6vw, 96px); text-align: left; }
.stats li { display: grid; gap: 0.15rem; }
.stats b { font-family: var(--display); font-weight: 800; font-size: var(--step-head); color: var(--num); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; transition: color 900ms var(--ease-calm); }
.stats span { font-size: var(--step-body); }

@media (prefers-reduced-motion: no-preference) {
  .js .stage { animation: stage-in 1100ms var(--ease-calm) 320ms both; }
  .js .tips.live .tip .nail { animation: tip-in 1000ms var(--ease-out) both; animation-delay: calc(var(--k, 0) * 90ms + 520ms); }
  .js .tip-cap, .js .stage .stats { animation: stage-in 900ms var(--ease-calm) 900ms both; }
  @keyframes stage-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes tip-in { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .stage { --tw: min(44vw, 300px); }
  .tip-cap { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .tip-nav { grid-column: 1; }
  .tip-book { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.4rem; margin-top: 48px; }
}
@media (max-width: 760px) {
  .stage { --tw: min(48vw, 200px); }
  .tip-name { font-size: var(--step-lead); }
  .tip-btn { width: 2.75rem; height: 3rem; }
}

/* ---------- About: inset navy panel ---------- */
.about { padding-block: 20px 0; }
.panel {
  position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem;
  min-height: 86svh; background: var(--navy); color: var(--on-navy); overflow: hidden;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) 0;
}
.about-main { display: flex; flex-direction: column; gap: 3rem; }
.about-main h2 { font-size: var(--step-head); max-width: 16ch; }
/* the whole nail shape stays inside the panel */
.about-photo { width: min(38vw, 520px); aspect-ratio: 4 / 5; margin-top: auto; margin-bottom: clamp(28px, 4vw, 56px); }
.about-photo img { object-position: 50% 25%; }
.about-side { display: flex; flex-direction: column; gap: 3rem; max-width: 440px; padding-bottom: 56px; }
.about-side h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 0.6rem; }
.about-side p + p { margin-top: 0.9em; }
.about-side .btn { align-self: flex-start; }
@media (max-width: 860px) {
  .about { padding-block: 10px 0; padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
  .panel { grid-template-columns: 1fr; min-height: 0; padding: 32px 20px 0; }
  .about-main { display: contents; }
  .about-main h2 { order: 0; }
  .about-side { order: 1; max-width: none; padding-bottom: 0; gap: 2rem; }
  .about-photo { order: 2; width: 86%; justify-self: center; margin: 1rem auto 24px; }
}

/* ---------- Why: one sentence and four facts ---------- */
.field-white { background: var(--white); }
.why { padding-block: clamp(96px, 12vw, 180px); }
@media (min-width: 861px) { .why { padding-bottom: clamp(64px, 6vw, 96px); } }
.why-p { font-size: var(--step-statement); line-height: 1.22; font-weight: 500; max-width: 34em; letter-spacing: -0.01em; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; margin-top: clamp(64px, 7vw, 104px); }
.facts li { display: grid; gap: 0.5rem; align-content: start; padding: 28px 24px 32px; background: var(--pale); border-radius: 999px 999px 0 0; padding-top: 56px; }
.facts b { font-family: var(--display); font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.05; }
.facts li:nth-child(1) { min-height: 210px; } .facts li:nth-child(2) { min-height: 250px; } .facts li:nth-child(3) { min-height: 190px; } .facts li:nth-child(4) { min-height: 270px; }
.facts li { align-content: end; }
.facts li:nth-child(2) { background: var(--blue); } .facts li:nth-child(3) { background: var(--mid); } .facts li:nth-child(4) { background: var(--navy); color: var(--on-navy); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .facts li { padding: 44px 16px 22px; } .facts b { font-size: var(--step-body); } .facts span { font-size: var(--step-small); } }
.why-after { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin: 56px 0 0 auto; width: min(100%, 44%); }
.why-after p { font-size: var(--step-lead); line-height: 1.35; }
@media (max-width: 760px) {
  .why-after { width: 100%; margin-top: 48px; }
}

/* ---------- Courses: two-column list, nail bullets ---------- */
.courses { padding-block: clamp(96px, 11vw, 160px); }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 48px; }
.list-head h2 { font-size: var(--step-display); }
.list-head span { font-size: var(--step-lead); }
.course-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.course { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: start; }
.course-img { width: 128px; aspect-ratio: 3 / 4; clip-path: url(#nailFull); }
.course-img img { transition: transform 500ms var(--ease-out); }
.course:hover .course-img img { transform: scale(1.08); }
.course-text { display: grid; gap: 0.5rem; }
.course-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.course h3 { font-size: var(--step-lead); font-weight: 600; }
.course p { max-width: 38ch; }
.course .note { font-weight: 600; color: var(--navy); }
.more { font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 2px; white-space: nowrap; transition: transform 180ms var(--ease-out); }
.more:hover { transform: translateX(3px); }
@media (max-width: 860px) {
  .course-list { grid-template-columns: 1fr; gap: 40px; }
  .course { grid-template-columns: 72px 1fr; gap: 18px; }
  .course-img { width: 72px; }
  .course-line { flex-direction: column; gap: 0.2rem; }
}

/* ---------- Reviews ---------- */
.testimonial { padding-block: clamp(96px, 11vw, 160px); }
.rev { margin-top: 0; }
.rev-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 32px; }
.rev-nav { display: flex; gap: 8px; }
.rev-btn { width: 52px; height: 52px; border-radius: 26px 26px 6px 6px; background: var(--navy); color: var(--blue); font-size: 1.2rem; transition: background-color 220ms ease, transform 220ms var(--ease-out); }
.rev-btn:hover { background: var(--deep); color: var(--white); }
.rev-btn:active { transform: scale(0.96); }
.rev-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 360px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--m), env(safe-area-inset-left, 0px));
  margin-inline: calc(-1 * max(var(--m), env(safe-area-inset-left, 0px))); padding-inline: max(var(--m), env(safe-area-inset-left, 0px));
  scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px;
}
.rev-list::-webkit-scrollbar { display: none; }
.rev-list li { scroll-snap-align: start; }
.review { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; padding: 18px; background: #101114; border-radius: 999px 999px 0 0 / 120px 120px 0 0; overflow: hidden; padding-top: 48px; }
.review img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 500ms var(--ease-out); }
.review:hover img { transform: scale(1.025); }
@media (max-width: 900px) {
  .rev-list { grid-auto-columns: 78%; }
  .rev-nav { display: none; }
}

/* ---------- Contact: clip-out coupon ---------- */
.contact { background: var(--navy); color: var(--on-navy); padding-block: clamp(96px, 10vw, 140px); }
.coupon {
  --notch: 14px;
  display: grid; grid-template-columns: 46% 54%; max-width: 1100px; margin-inline: auto;
  background: var(--blue); color: var(--navy); min-height: 460px;
  -webkit-mask: radial-gradient(circle var(--notch) at 46% 0, transparent 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
                radial-gradient(circle var(--notch) at 46% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
          mask: radial-gradient(circle var(--notch) at 46% 0, transparent 98%, #000) top / 100% 51% no-repeat, /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
                radial-gradient(circle var(--notch) at 46% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
}
.coupon-left { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 48px; }
.coupon-left h2 { font-size: var(--step-head); }
.coupon-left p { max-width: 30ch; }
.coupon-right { display: flex; flex-direction: column; gap: 10px; padding: 48px; border-left: 5px dotted var(--navy); }
.coupon input, .coupon select {
  height: 54px; padding: 0 16px; border: 0; border-radius: 0; background: var(--blue-2); color: var(--navy); font-size: 1rem;
  -webkit-appearance: none; appearance: none;
}
.coupon select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1526' stroke-width='2'/%3E%3C/svg%3E"); background-position: calc(100% - 18px) 50%; background-repeat: no-repeat; padding-right: 44px; }
.coupon input::placeholder { color: #3d5378; }
.coupon input:focus, .coupon select:focus { outline: 3px solid var(--navy); outline-offset: -3px; }
.submit {
  display: flex; align-items: center; justify-content: center; height: 56px; margin-top: 6px;
  background: var(--navy); color: var(--blue); text-decoration: none; font-weight: 600;
  border-radius: var(--tip); transition: background-color 180ms ease, transform 140ms var(--ease-out);
}
.submit:hover { background: var(--deep); color: var(--white); }
.submit:active { transform: scale(0.98); }
.c-lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1100px; margin: 72px auto 0; }
.c-lines h3 { font-size: var(--step-small); font-weight: 600; color: var(--blue); margin-bottom: 0.4rem; }
.c-link { font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(233, 240, 251, 0.4); transition: text-decoration-color 180ms ease; }
.c-link:hover { text-decoration-color: currentColor; }
.c-lines p + .c-link { display: inline-block; margin-top: 0.5rem; }
.sel { user-select: all; }
@media (max-width: 860px) {
  .coupon {
    grid-template-columns: 1fr; min-height: 0;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut, 42%), transparent 98%, #000) left / 51% 100% no-repeat, /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
                  radial-gradient(circle var(--notch) at 100% var(--cut, 42%), transparent 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
            mask: radial-gradient(circle var(--notch) at 0 var(--cut, 42%), transparent 98%, #000) left / 51% 100% no-repeat, /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
                  radial-gradient(circle var(--notch) at 100% var(--cut, 42%), transparent 98%, #000) right / 51% 100% no-repeat; /* taste-skill-ignore: overlay shadow / coupon notch mask, not a fill */
  }
  .coupon-left { padding: 28px 22px; }
  .coupon-right { border-left: 0; border-top: 5px dotted var(--navy); padding: 28px 22px; }
  .c-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .c-lines { grid-template-columns: 1fr; } }

/* ---------- Footer: the mark, built from nail tips ---------- */
.foot { padding-block: clamp(56px, 6vw, 96px) 28px; background: var(--blue); }
.mark { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; height: 34svh; min-height: 220px; align-items: end; }
.blk {
  height: var(--h); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.08em;
  border-radius: 999px 999px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 9vw, 9rem); line-height: 1;
  transform-origin: bottom; overflow: hidden;
}
.blk.c-navy { background: var(--navy); color: var(--blue); }
.blk.c-white { background: var(--white); color: var(--navy); }
.blk.c-mid { background: var(--mid); color: var(--navy); }
.js .mark .blk { opacity: 0; transform: translateY(18%); transition: opacity 1000ms var(--ease-calm), transform 1300ms var(--ease-calm); transition-delay: calc(var(--i) * 90ms); }
.js .mark.is-in .blk { opacity: 1; transform: none; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-top: 56px; }
.foot-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 0.6rem 2.4rem; }
.foot-nav a, .foot-contact a { text-decoration: none; }
.foot-nav a:hover, .foot-contact a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.foot-contact { display: grid; gap: 0.4rem; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 48px; font-size: var(--step-small); }
@media (max-width: 760px) {
  .mark { height: 22svh; min-height: 150px; gap: 3px; }
  .foot-cols { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: repeat(2, max-content); }
}

/* ---------- Dialogs ---------- */
dialog { color: var(--on-navy); }
dialog::backdrop { background: rgba(11, 21, 38, 0.72); }
.modal { width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: var(--navy); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); } /* taste-skill-ignore: dialog floats */
.modal[open] { animation: pop 320ms var(--ease-calm); }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.modal-in { display: grid; grid-template-columns: 0.72fr 1.28fr; position: relative; }
.modal-side { padding: 28px 0 28px 28px; }
.modal-img { position: sticky; top: 28px; aspect-ratio: 3 / 4; }
.modal-body { display: grid; gap: 1rem; align-content: start; padding: 32px; }
.modal-body h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1; padding-right: 5rem; }
.m-sub { color: var(--blue); font-weight: 600; margin-top: -0.4rem; }
.m-lead { font-size: var(--step-lead); line-height: 1.35; }
.m-list { display: grid; gap: 4px; margin: 0.6rem 0 0.4rem; }
.m-row { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: 0.75rem 0.9rem; background: var(--navy-2); }
.m-row dt { color: var(--blue); font-weight: 600; }
.m-row dd { margin: 0; }
.m-sec { display: grid; gap: 0.7rem; margin-top: 1rem; }
.m-sec h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: var(--step-body); margin: 0; color: var(--blue); }
.m-sec h5 { font-size: var(--step-body); font-weight: 600; margin: 0.8rem 0 0; }
.m-ul { display: grid; gap: 0.5rem; }
.m-ul li { position: relative; padding-left: 1.4rem; }
.m-ul li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 0.6em; height: 0.8em; background: var(--blue); clip-path: url(#nailFull); }
.m-cta { position: sticky; bottom: 0; background: var(--navy); padding: 16px 0 20px; margin: 0.5rem 0 -32px; display: flex; flex-wrap: wrap; gap: 10px; }
.m-ul-sub { margin-top: 0.5rem; gap: 0.35rem; }
.m-ul-sub li::before { background: var(--mid); }
.modal-body .btn { background: var(--blue); color: var(--navy); }
.modal-body .btn:hover { background: var(--white); }
.modal-body .btn-ghost { background: var(--navy-2); color: var(--on-navy); }
.modal-body .btn-ghost:hover { background: var(--deep); color: var(--white); }
.modal-x { position: absolute; top: 24px; right: 24px; font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; z-index: 2; }
@media (max-width: 720px) {
  .modal-in { grid-template-columns: 1fr; }
  .modal-side { padding: 20px 0 0 20px; }
  .modal-img { position: static; width: 42%; }
  .modal-body { padding: 20px 20px 24px; }
  .m-row { grid-template-columns: 1fr; gap: 0.1rem; }
  .modal-body .btn { display: flex; }
  .m-cta { margin-bottom: -24px; }
  .m-cta .btn { flex: 1 1 100%; }
}
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 12px; }
.lightbox::backdrop { background: rgba(11, 21, 38, 0.94); }
.lightbox img { max-width: min(92vw, 820px); max-height: calc(100dvh - 110px); width: auto; height: auto; }
.lb-bar { display: flex; gap: 2rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.lb-bar button { font-weight: 600; color: var(--on-navy); padding: 0.6rem 0; }

/* ---------- Entrances (content stays visible without script) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(16px); animation: rise 1300ms var(--ease-calm) forwards; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 1100ms var(--ease-calm), transform 1300ms var(--ease-calm); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* large blocks only fade: no travel */
  .js .coupon[data-reveal], .js .rev-list[data-reveal], .js .panel [data-reveal] { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .mark .blk { transform: none; }
}

/* 404 */
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 1.2rem; padding-inline: max(var(--m), env(safe-area-inset-left, 0px)); }
.nf h1 { font-size: var(--step-display); }
.nf p:last-child { display: flex; gap: 12px; }

/* ---------- Instagram ---------- */
.ig-ic { width: 1.25em; height: 1.25em; flex: none; }
.ig-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; padding: 0.55rem 1rem 0.55rem 0.8rem; border-radius: 1.4em 1.4em 0.3em 0.3em; background: var(--navy-2); color: var(--on-navy); transition: background-color 260ms var(--ease-calm), transform 260ms var(--ease-calm); }
.ig-link:hover { background: var(--blue); color: var(--navy); }
.ig-link:active { transform: scale(0.97); }
.ig-arrow { transition: transform 300ms var(--ease-calm); }
.ig-link:hover .ig-arrow, .ig-card:hover .ig-arrow { transform: translate(2px, -2px); }
.ig-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--navy); color: var(--on-navy); text-decoration: none; border-radius: 34px 34px 6px 6px; transition: background-color 260ms var(--ease-calm), transform 260ms var(--ease-calm); }
.ig-card .ig-ic { width: 34px; height: 34px; color: var(--blue); }
.ig-card .ig-text { display: grid; gap: 2px; flex: 1; }
.ig-card .ig-text span { font-size: var(--step-small); color: var(--blue); }
.ig-card .ig-text b { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: var(--step-lead); }
.ig-card .ig-arrow { font-size: var(--step-lead); color: var(--blue); }
.ig-card:hover { background: var(--deep); }
.ig-card:active { transform: scale(0.98); }
.foot-contact { gap: 1rem; align-content: start; }

/* ---------- Reviews: orbit carousel (JS adds .orbit) ---------- */
.rev-list.orbit { display: block; position: relative; overflow: hidden; scroll-snap-type: none; height: var(--stage, 600px); margin-inline: calc(-1 * max(var(--m), env(safe-area-inset-left, 0px))); padding: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.rev-list.orbit.dragging { cursor: grabbing; }
.rev-list.orbit li { position: absolute; left: 50%; top: 24px; width: var(--card, 300px); transform-origin: 50% 0; will-change: transform, opacity; }
.rev-list.orbit .review { pointer-events: auto; }
.rev-list.orbit li.is-center .review { outline: 0; }
.rev-list.orbit:focus-visible li.is-center .review { outline: 3px solid var(--navy); outline-offset: 4px; }
.rev-list.orbit img { -webkit-user-drag: none; pointer-events: none; }
.rev-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.rev-dots span { width: 6px; height: 8px; border-radius: 3px 3px 1px 1px; background: var(--navy); opacity: 0.25; transition: opacity 300ms var(--ease-calm), transform 300ms var(--ease-calm); }
.rev-dots span.on { opacity: 1; transform: scaleY(1.5); }

/* ---------- File out of the folder ---------- */
.pull-tab { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 22px 22px 0 0; white-space: nowrap; }
.pull { position: fixed; z-index: 1000; pointer-events: none; border-radius: 22px 22px 0 0; will-change: transform, left, top, width, height; }
.modal::backdrop { animation: backdrop-in 420ms var(--ease-calm); }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
