/* Lashting Impressions: site stylesheet (hand-written, no framework).
   Desktop (>= 1000px) reproduces the original 980px layout; positions and sizes are
   measured from the live site (reference/live-2026-11-30). Below 1000px it reflows to
   one column. */

/* Fonts: self-hosted Google Fonts (SIL OFL 1.1, licence files next to them), Latin
   subset only: the site text needs nothing outside U+0000-00FF / U+2000-206F. */
@font-face {
  font-family: "Lobster";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lobster-v32-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Basic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/basic-v18-latin.woff2") format("woff2");
}

/* Design tokens, taken from the original site's theme (captured 2026-11-28). */
:root {
  /* Colours */
  --pink: #ee1289;               /* page background, nav hover/current + separators, script headings */
  --pink-bright: rgb(244 12 186); /* theme accent, used in a few text spans */
  --pink-light: rgb(251 171 231);
  --maroon: rgb(128 23 68);
  --black: #000;                 /* header/footer, most rich text */
  --white: #fff;                 /* content panel, nav text */
  --text: rgb(51 51 51);         /* default paragraph colour */
  --grey: rgb(102 102 102);
  --plum: rgb(163 8 122);        /* highlight behind the My Story headline */
  --frame: rgb(153 153 153);     /* 1px border + fill of framed photos, form field fill */
  --shadow: 0 0 5px rgb(0 0 0 / .7);       /* header and footer bars */
  --shadow-control: 0 1px 4px rgb(0 0 0 / .6); /* form fields and button */

  /* Font families. Clarendon (contact details) and Helvetica (form messages) were
     Monotype fonts licensed to the old host; these are local substitutes. */
  --font-script: "Lobster", cursive;
  --font-body: "Basic", sans-serif;
  --font-slab: Rockwell, "Roboto Slab", "DejaVu Serif", Georgia, serif;
  --font-sans: Arial, Helvetica, sans-serif;

  /* Type styles (size/line-height family), as used by the theme. All line-heights 1.4em.
     Lobster has no bold; the original synthesised it for --type-subheading. */
  --type-title:      normal 400 37px/1.4 var(--font-script);  /* pink page titles */
  --type-subheading: normal 700 20px/1.4 var(--font-script);  /* pink */
  --type-heading-6:  normal 400 18px/1.4 var(--font-script);  /* black */
  --type-large:      normal 400 16px/1.4 var(--font-body);    /* black */
  --type-body:       normal 400 12px/1.4 var(--font-body);    /* --text */
  --type-small:      normal 400 11px/1.4 var(--font-body);
  --type-menu:       normal 400 12px/1.4 var(--font-body);    /* white; hover/current --pink, 0.4s */

  /* Layout */
  --panel-width: 980px;

  /* Images (generated by tools/images.py) */
  --img-page-swirl: url("/assets/img/page-swirl-1050x600.webp");     /* fixed; tiled, or cover on home */
  --img-header-swirl: url("/assets/img/header-swirl-1050x600.webp"); /* on black */
}


/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--pink) var(--img-page-swirl) center / auto fixed;
  color: var(--text);
  font: var(--type-body);
}
body[data-page="home"] { background-size: cover; background-position: center; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--white); color: var(--black); }

/* ---------------------------------------------------------------- header */

.site-header {
  position: relative;
  width: var(--panel-width);
  height: 276px;
  margin-inline: auto;
  background: var(--black);
  box-shadow: var(--shadow);
}
/* The swirl, twice: left and right of the logo, as on the original. */
.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  background: var(--img-header-swirl) center / cover no-repeat;
}
.site-header::before { left: 1px; top: -1px; width: 489px; height: 277px; }
.site-header::after { left: 475px; top: 0; width: 505px; height: 276px; }

.site-logo { position: absolute; z-index: 1; left: 369px; top: -1px; }
.site-logo img { width: 241px; height: 241px; }

.social {
  position: absolute; z-index: 1; left: 116px; top: 175px;
  display: flex; gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.social a { display: block; }
.social svg { display: block; width: 46px; height: 46px; }

.site-header .site-nav { position: absolute; z-index: 1; left: 101px; top: 240px; }

.nav-list { display: flex; margin: 0; padding: 0; list-style: none; }
.nav-list li + li { border-left: 1px solid var(--pink); }
.nav-list a {
  display: block;
  padding: 0 20px;
  color: var(--white);
  font: 400 12px/26px var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: color .4s;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--pink); }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--black);
  box-shadow: var(--shadow);
}
.site-footer .inner {
  display: flex;
  align-items: flex-start;
  width: var(--panel-width);
  height: 56px;
  margin-inline: auto;
  padding: 19px 0 0 20px;
}
.copyright {
  margin: 4px 0 0;
  color: var(--white);
  font: 400 12px/normal var(--font-body);
  text-decoration: underline;
}
.site-footer .site-nav { margin-left: 1px; }
.site-footer .nav-list a { padding: 0 15px; }

/* ---------------------------------------------------------------- content panel */

.panel {
  position: relative;
  width: var(--panel-width);
  margin-inline: auto;
  background: var(--white);
}

/* Rich text: the original's paragraphs have no margins and "normal" line height;
   empty paragraphs (.sp) make the vertical spacing. */
.rt { color: var(--black); font: 400 16px/normal var(--font-body); }
.rt p, .rt h1, .rt h2, .rt ul { margin: 0; }
/* :where() keeps these below the one-class utilities (.s16, .b, …) that follow. */
:where(.rt) h1, :where(.rt) .title { color: var(--pink); font: 700 24px/normal var(--font-script); }
:where(.rt) h2 { color: var(--black); font: 400 18px/normal var(--font-script); }
.rt ul { padding-left: 23.4px; }
/* Links: the original underlines only the promotions link and the email address. */
.rt a { color: inherit; text-decoration: none; }
.rt a:hover, .services .rt a, .contact-info a { text-decoration: underline; }
.sp::before { content: "\a0"; }

.f-script { font-family: var(--font-script); }
.f-body { font-family: var(--font-body); }
.f-slab { font-family: var(--font-slab); }
.s12 { font-size: 12px; } .s13 { font-size: 13px; } .s16 { font-size: 16px; }
.s17 { font-size: 17px; } .s18 { font-size: 18px; } .s20 { font-size: 20px; }
.s21 { font-size: 21px; } .s22 { font-size: 22px; } .s24 { font-size: 24px; }
.s26 { font-size: 26px; }
.b { font-weight: 700; }
.nb { font-weight: 400; }
.c-black { color: var(--black); }
.c-text { color: var(--text); }
.c-grey { color: var(--grey); }
.c-pink { color: var(--pink); }
.c-pink-bright { color: var(--pink-bright); }
.c-pink-light { color: var(--pink-light); }
.c-maroon { color: var(--maroon); }
.bg-plum { background: var(--plum); }
.bg-pink { background: var(--pink); }
.bg-pink-light { background: var(--pink-light); }

/* Photo in a 1px grey frame (the original's default image frame). */
.frame { border: 1px solid var(--frame); background: var(--frame); }
.photo img, .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- pages (desktop) */

/* My Story */
.my-story {
  display: grid; grid-template-columns: 600px 339px; column-gap: 8px; align-items: start;
  padding: 23px 0 0 26px;
}
.my-story .photo { width: 339px; height: 505px; margin-top: 17px; }

/* Eyelashes */
.eyelashes {
  display: grid; grid-template-columns: 544px 208px; column-gap: 96px; align-items: start;
  padding: 30px 0 0 30px;
}
.eyelashes .rt + .rt { margin-top: 10px; }
.eyelashes .photos { margin-top: -8px; }
.eyelashes .photo:first-child { width: 208px; height: 321px; }
.eyelashes .photo + .photo { width: 208px; height: 303px; margin: 13px 0 0 1px; }

/* Procedure (/untitled) */
.procedure {
  display: grid; grid-template-columns: 577px 326px; column-gap: 24px; align-items: start;
  padding: 30px 0 0 30px;
}
.procedure .photo { width: 326px; height: 238px; margin-top: 213px; }

/* Gallery */
.gallery { padding: 30px 0 0 29px; }
.gallery .grid {
  display: grid; grid-template-columns: repeat(3, 299px); gap: 15px;
  margin: 0; padding: 0; list-style: none;
}
.gallery .grid a { position: relative; display: block; border: 1px solid var(--grey); background: var(--grey); }
/* Hover/focus overlay with the photo's title, as on the original. */
.gallery .grid a::after {
  content: ""; position: absolute; inset: 0;
  background: rgb(0 0 0 / .59); opacity: 0; transition: opacity .4s;
}
.thumb-title {
  position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px;
  color: rgb(217 217 217); font: 400 16px/22.4px var(--font-body);
  opacity: 0; transition: opacity .4s;
}
.gallery .grid a:hover::after, .gallery .grid a:focus-visible::after,
.gallery .grid a:hover .thumb-title, .gallery .grid a:focus-visible .thumb-title { opacity: 1; }
.gallery .grid img { width: 297px; object-fit: cover; }
.gallery .studio { margin: 62px 0 0 1px; }
.studio img { height: 233px; }
.gallery .before-after { margin-top: 25px; margin-left: -1px; }
.before-after img { height: 304px; }
.show-more {
  display: block;
  margin: 3px 0 0 424px; padding: 6px 10px;
  border: 0; background: none;
  color: rgb(204 204 204); font: 400 12px/16px var(--font-body); text-decoration: underline;
  cursor: pointer;
}

/* Services */
.services {
  display: grid; grid-template-columns: repeat(3, 290px); column-gap: 25px; align-items: start;
  padding: 30px 0 0 30px;
}
.services .intro { grid-column: 1 / -1; }
.services .frame { width: 285px; height: 200px; margin-top: 45px; }
.services .frame.first { margin-left: 2px; }
.services .prices { margin-top: 31px; }
.services .cleanser { width: 280px; height: 226px; margin: 112px 0 0 30px; }
.services .notes { grid-column: 1 / -1; width: 915px; margin-top: 4px; }

/* FAQ */
.faq { padding: 30px 0 0 30px; }
.faq .rt { width: 901px; }

/* Promos */
.promos { padding: 30px 0 0 30px; }
.promos .head { display: grid; grid-template-columns: 158px 565px; align-items: start; }
.promos .frame { width: 565px; height: 433px; }
.promos .offer { width: 304px; margin: 35px 0 0 290px; }

/* Contact */
.contact {
  display: grid; grid-template-columns: 525px 395px; column-gap: 24px; align-items: start;
  padding: 30px 0 0 30px;
}
.contact > .frame { width: 525px; height: 569px; }
.contact-info { width: 365px; height: 132px; margin-left: 7px; text-align: center; }
.contact-info a { text-decoration-color: var(--pink); }

.contact-form { margin-top: 86px; color: var(--black); font: 400 16px/16px var(--font-body); }
.contact-form label { display: block; margin-bottom: 5px; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 3px 3px 3px 5px;
  border: 0;
  border-radius: 5px;
  background: var(--frame);
  box-shadow: var(--shadow-control);
  color: var(--text);
  font: 400 16px/22.4px var(--font-body);
}
.contact-form input { height: 33px; }
.contact-form textarea { height: 131px; margin-bottom: 21px; resize: vertical; }
.contact-form .actions { display: flex; justify-content: space-between; align-items: flex-start; }
.contact-form button {
  order: 2;
  height: 32px; padding: 0 5px;
  border: 0; border-radius: 5px;
  background: var(--pink);
  box-shadow: var(--shadow-control);
  color: var(--black); font: 400 16px/22.4px var(--font-body);
  cursor: pointer;
  transition: background-color .4s;
}
.form-status { margin: 0; font: 400 14px/normal var(--font-sans); }
.form-status:focus { outline: none; }
.contact-form button:disabled { cursor: progress; opacity: .7; }
/* Honeypot: off-screen for people, still in the form for bots. */
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- slideshow (home) */

.slideshow {
  position: relative;
  height: 500px;
  border: 1px solid var(--frame);
  overflow: hidden;
  background: var(--frame);
}
.slides { position: relative; height: 100%; margin: 0; padding: 0; list-style: none; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-current, .slide.is-moving { visibility: visible; }
.slide a, .slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }

/* Controls fade in while the pointer is over the slideshow or focus is inside it
   (always shown on touch screens). */
.slideshow .controls { opacity: 0; transition: opacity .5s; }
.slideshow:hover .controls,
.slideshow:focus-within .controls { opacity: 1; }
@media (hover: none) { .slideshow .controls { opacity: 1; } }

.slideshow .arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 45px; height: 70px; padding: 0;
  border: 0; background: none; color: var(--white);
  opacity: .6; cursor: pointer; transition: opacity .5s;
}
.slideshow .arrow:hover, .slideshow .arrow:focus-visible { opacity: 1; }
.slideshow .arrow svg { width: 16px; height: 34px; }
.slideshow .prev { left: 19px; }
.slideshow .next { right: 19px; }
.slideshow .bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  height: 50px; padding: 14px 10px 0 20px;
  background: linear-gradient(transparent, rgb(0 0 0 / .45));
  color: var(--white); font: 400 12px/normal var(--font-sans);
  pointer-events: none;
}
.slideshow .bar > * { pointer-events: auto; }
.slideshow .slide-title { flex: 1; font-size: 14px; }
.slideshow .play {
  width: 24px; height: 24px; padding: 0;
  border: 0; background: none; color: var(--white); cursor: pointer;
}
.slideshow .play svg { width: 10px; height: 12px; }
.slideshow .play[data-playing="true"] .icon-play,
.slideshow .play[data-playing="false"] .icon-pause { display: none; }
.slideshow .counter { min-width: 22px; }

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(0 0 0 / .9);
  color: var(--white);
}
.lightbox::backdrop { background: transparent; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox figure {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  height: 100%; margin: 0; padding: 50px 90px 30px;
}
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.lightbox figcaption { min-height: 1.2em; font: 400 16px/1.2 var(--font-sans); }
.lightbox button {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 0; background: none; color: var(--white); cursor: pointer;
}
.lightbox .close { top: 35px; right: 35px; }
.lightbox .close svg { width: 20px; height: 20px; }
.lightbox .prev { left: 35px; top: 50%; translate: 0 -50%; }
.lightbox .next { right: 35px; top: 50%; translate: 0 -50%; }
.lightbox .prev svg, .lightbox .next svg { width: 16px; height: 34px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------------------------------------------------------------- narrow screens */

@media (max-width: 999px) {
  body, body[data-page="home"] { background-size: auto; }

  .site-header {
    display: flex; flex-direction: column; align-items: center;
    width: auto; height: auto; padding: 0 8px 8px;
  }
  .site-header::before { left: 0; top: 0; width: 100%; height: 100%; }
  .site-header::after { display: none; }
  .site-logo { position: relative; top: 0; left: 0; }
  .site-logo img { width: 180px; height: 180px; }
  .social { position: relative; left: 0; top: 0; margin: 4px 0 8px; }
  .social a { padding: 0; }
  .social svg { width: 44px; height: 44px; }
  .site-header .site-nav { position: relative; left: 0; top: 0; }

  .nav-list { flex-wrap: wrap; justify-content: center; }
  .nav-list li + li { border-left: 0; }
  .nav-list a { padding: 0 12px; line-height: 44px; }

  .site-footer .inner {
    flex-direction: column; align-items: center; gap: 8px;
    width: auto; height: auto; padding: 16px 8px;
  }
  .copyright { margin: 0; }
  .site-footer .site-nav { margin: 0; }
  .site-footer .nav-list a { padding: 0 12px; }

  .panel { width: auto; }

  .my-story, .eyelashes, .procedure, .services, .contact, .promos, .gallery, .faq {
    display: block;
    padding: 20px 16px 24px;
  }
  .rt { overflow-wrap: anywhere; }
  .my-story .photo, .eyelashes .photo, .eyelashes .photo + .photo, .procedure .photo,
  .services .frame, .services .cleanser, .promos .frame, .contact > .frame {
    width: auto; max-width: 100%; height: auto; margin: 20px auto 0;
  }
  .photo img, .frame img { height: auto; }
  .eyelashes .photos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 0; }
  .eyelashes .photos .photo { margin: 20px 0 0; }
  .services .prices { margin-top: 24px; }
  .services .notes { width: auto; margin-top: 24px; }
  .promos .head { display: block; }
  .promos .offer { width: auto; max-width: 304px; margin: 24px auto 0; }
  .contact-info { width: auto; height: auto; margin: 24px 0 0; }
  .faq .rt { width: auto; }
  .contact-form { margin-top: 32px; }
  .contact-form label { margin-bottom: 8px; }
  .contact-form button { min-width: 64px; height: 44px; }

  .gallery .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .gallery .studio, .gallery .before-after { margin-left: 0; }
  .gallery .grid img { width: 100%; height: auto; aspect-ratio: 297 / 233; }
  .before-after img { aspect-ratio: 297 / 304; }
  .studio { margin: 20px 0 0; }
  .before-after { margin-top: 10px; }
  .show-more { min-height: 44px; margin: 8px auto 0; color: var(--grey); font-size: 14px; }

  .slideshow { height: auto; aspect-ratio: 980 / 500; }
  .slideshow .arrow { width: 44px; height: 60px; }
  .slideshow .prev { left: 4px; }
  .slideshow .next { right: 4px; }
  .slideshow .play { width: 44px; height: 44px; }

  .lightbox figure { padding: 70px 8px 70px; }
  .lightbox .close { top: 8px; right: 8px; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 8px; translate: none; }
  .lightbox .prev { left: 8px; }
  .lightbox .next { right: 8px; }
}

/* 404 page */
.not-found { min-height: 300px; padding: 30px; }
