/* L1 Nails Loughborough — l1nails.soarweb.co.uk
   ----------------------------------------------------------------------------
   There is no photography of this salon to work with yet, so the layout is
   built to stand up on type, colour and drawn ornament alone: pictures should
   improve it later, not rescue it now.

   The palette is anchored on #6A6158 — the colour the owner themselves picked
   in their Square site settings — rather than on a colour invented here. */

:root {
  --ink:       #2B2622;
  --taupe:     #6A6158;   /* theirs */
  --stone:     #8C8378;
  --muted:     #A2988C;
  --cream:     #FBF7F3;
  --shell:     #F3ECE4;
  --blush:     #C9A29B;
  --rose:      #96665F;
  --champagne: #C4AE94;
  --line:      #E4D9CC;
  --white:     #FFFFFF;

  --max:   1120px;
  --gut:   clamp(20px, 5vw, 48px);
  --round: 2px;

  --display: 'Marcellus', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --caps:    'Marcellus SC', 'Marcellus', Georgia, serif;
  --sans:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* height:auto matters. The width/height attributes on every <img> are there to
   reserve the box and stop the page jumping as photos load, but they also map
   to a presentational height, which beats an `auto` height and so cancels
   aspect-ratio: the square gallery crops rendered 249x840. */
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; font-size: 15px; letter-spacing: .04em;
}
.skip:focus { left: 8px; top: 8px; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- ornament */

/* An almond nail shape: two arcs meeting at a point. Used as a section mark
   and, tiled and faded, as the hero's texture. */
.mark { display: block; width: 26px; height: 34px; color: var(--champagne); }
.mark path { fill: none; stroke: currentColor; stroke-width: 1.2; }

.rule {
  border: 0; height: 1px; background: var(--line); margin: 0;
}

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

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 247, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* Manrope, not Marcellus, for the monogram and for every figure on the page:
   Marcellus's "1" is a serifed stem that reads as a capital I at small sizes,
   which turns "L1" into "LI" and "10am" into "IOam". The salon is called L1 —
   that is not a character the mark can afford to lose. */
.brand .monogram {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--champagne); border-radius: 50%;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .04em;
  color: var(--taupe);
}
.brand .words { display: flex; flex-direction: column; line-height: 1.05; }
.brand .words b {
  font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .01em;
}
/* Same problem, one character wide: in Marcellus the wordmark reads "LI Nail
   Bar". The digit is set in the sans and optically size-matched to the serif
   caps around it, so the name stays right without giving up the serif. */
.brand .words b .one {
  font-family: var(--sans); font-weight: 400; font-size: .84em;
  letter-spacing: .01em;
}
.brand .words span {
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--stone); font-weight: 500; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  letter-spacing: .04em; color: var(--taupe);
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--champagne); }
@media (max-width: 720px) { .nav { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 13px 24px; border-radius: var(--round);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--taupe); color: var(--cream); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--taupe); color: var(--taupe); background: transparent; }
.btn-ghost:hover { background: var(--taupe); color: var(--cream); }
.btn-light { border-color: rgba(251,247,243,.5); color: var(--cream); background: transparent; }
.btn-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden;
  background: var(--taupe); color: var(--cream);
}
.hero::after {
  /* Tiled nail arcs, barely there — texture, not decoration you can name. */
  content: ""; position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='120' viewBox='0 0 90 120'%3E%3Cpath d='M45 12c14 0 24 16 24 40s-10 56-24 56-24-32-24-56 10-40 24-40z' fill='none' stroke='%23FBF7F3' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 90px 120px;
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 96px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The salon's own photography, so the hero is their work rather than a mood. */
.hero-shot {
  position: relative; border-radius: 3px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(24, 20, 17, .28);
  aspect-ratio: 3 / 4;
}
.hero-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .hero-shot { max-width: 420px; margin-inline: auto; } }

.hero .eyebrow {
  font-size: 11.5px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(251, 247, 243, .72); font-weight: 500; margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  letter-spacing: -.005em; margin: 0 0 24px; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--blush); }
.hero .lede {
  font-size: clamp(17px, 2.1vw, 20px); font-weight: 300;
  color: rgba(251, 247, 243, .88);
  max-width: 46ch; margin: 0 0 34px;
}
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero .status {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 30px; font-size: 14px; letter-spacing: .03em;
  color: rgba(251, 247, 243, .82);
}
.hero .status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blush); flex: none;
}
.hero .status.is-open .dot { background: #9ECBA4; }

/* --------------------------------------------------------------- facts bar */

.facts { background: var(--shell); border-bottom: 1px solid var(--line); }
.facts ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.facts li {
  padding: 26px 8px; text-align: center;
  border-left: 1px solid var(--line);
}
.facts li:first-child { border-left: 0; }
.facts .k {
  display: block; font-family: var(--sans); font-weight: 500; font-size: 18px;
  letter-spacing: .01em; color: var(--ink);
}
.facts .v {
  display: block; margin-top: 5px;
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone);
}
@media (max-width: 640px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li { border-left: 0; border-top: 1px solid var(--line); padding: 18px 8px; }
  .facts li:first-child { border-top: 0; }
}

/* ---------------------------------------------------------------- sections */

.section { padding-block: clamp(56px, 9vw, 100px); }
/* The header is sticky, so an anchor jump would otherwise park the section
   heading underneath it. */
[id] { scroll-margin-top: 88px; }
.section--shell { background: var(--shell); }

.section-head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head .mark { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(29px, 4.6vw, 43px); margin-bottom: 14px; }
.section-head p { color: var(--taupe); margin: 0; font-weight: 300; font-size: 17.5px; }

/* Group cards. Fixed column counts rather than auto-fit: there are exactly six
   groups, and auto-fit leaves two empty cells at desktop width that read as
   broken tiles because the 1px gaps are painted. */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .groups { grid-template-columns: 1fr; } }
.groups article { background: var(--cream); padding: 30px 26px 28px; }
.section--shell .groups article { background: var(--shell); }
.groups h3 { font-size: 23px; margin-bottom: 9px; }
.groups .n {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--champagne); font-weight: 600; display: block; margin-bottom: 14px;
}
.groups p { margin: 0; font-size: 15.5px; color: var(--taupe); font-weight: 300; }

/* ----------------------------------------------------------- service lists */

.svc-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--shell); border-left: 2px solid var(--champagne);
  padding: 18px 22px; margin-bottom: 34px; font-size: 15.5px; color: var(--taupe);
}
.section--shell .svc-note { background: var(--cream); }
.svc-note strong { color: var(--ink); font-weight: 600; }
.svc-note a { color: var(--rose); font-weight: 600; }

.svc-group { margin-bottom: 46px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group > h3 {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 600; color: var(--taupe);
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.svc-group > .note { font-size: 14.5px; color: var(--stone); margin: 12px 0 6px; font-weight: 300; }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.svc-list .name { font-size: 17px; }
.svc-list .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 18px; }
.svc-list .price { font-size: 15px; color: var(--stone); white-space: nowrap; font-weight: 500; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .05em;
  padding: 9px 16px; border: 1px solid var(--line); background: transparent;
  color: var(--taupe); cursor: pointer; border-radius: var(--round);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filters button:hover { border-color: var(--champagne); }
.filters button[aria-pressed="true"] { background: var(--taupe); border-color: var(--taupe); color: var(--cream); }

/* ------------------------------------------------------------------- about */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 76px); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.quote { margin: 0; }
.quote blockquote {
  margin: 0; font-family: var(--display); font-size: clamp(21px, 2.9vw, 27px);
  line-height: 1.44; color: var(--ink);
}
.quote blockquote p { margin: 0 0 18px; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption {
  margin-top: 22px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone);
}
.about .body p { color: var(--taupe); font-weight: 300; }
.about .body p:first-child { margin-top: 0; }

/* -------------------------------------------------------------------- visit */

.visit { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

.detail { margin-bottom: 30px; }
.detail .lbl {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--champagne); font-weight: 600; margin-bottom: 8px;
}
.detail .val { font-size: 18px; line-height: 1.55; }
.detail .val a { color: var(--ink); text-decoration-color: var(--champagne); text-underline-offset: 4px; }
.detail .val a:hover { color: var(--rose); }
.detail .big { font-family: var(--display); font-size: 26px; }

.hours { width: 100%; border-collapse: collapse; }
.hours caption {
  text-align: left; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--champagne); font-weight: 600; padding-bottom: 12px;
}
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { text-align: left; color: var(--taupe); font-size: 16px; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-size: 16px; }
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--ink); font-weight: 600; }
.hours tr[data-today] th::after {
  content: "Today"; margin-left: 10px; font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rose); font-weight: 600; vertical-align: 2px;
}

/* -------------------------------------------------------------------- band */

.band { background: var(--ink); color: var(--cream); }
.band .wrap { padding-block: clamp(52px, 8vw, 84px); text-align: center; }
.band .mark { margin: 0 auto 20px; color: var(--champagne); }
.band h2 { font-size: clamp(28px, 4.6vw, 42px); margin-bottom: 16px; }
.band p { color: rgba(251,247,243,.78); font-weight: 300; max-width: 48ch; margin: 0 auto 30px; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

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

.site-footer { background: var(--shell); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 46px 34px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }
.foot-grid h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--champagne); font-weight: 600; margin: 0 0 12px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; font-size: 15.5px; }
.foot-grid a { text-decoration: none; color: var(--taupe); }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-grid .about-col p { margin: 0; font-size: 15.5px; color: var(--taupe); font-weight: 300; max-width: 34ch; }

.colophon {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  padding-top: 22px; font-size: 13px; color: var(--stone);
}
.colophon a { color: var(--stone); }

/* ------------------------------------------------------------------- misc */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  .site-header, .band, .hero::after { display: none; }
  body { background: #fff; font-size: 12px; }
}


/* ------------------------------------------------------------------ work */

/* A masonry-ish grid of the salon's own sets. Squares, because the source is
   Instagram and cropping them to anything else loses the nail. */
.work-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .work-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.work-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--shell); }
.work-grid img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.work-grid figure:hover img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .work-grid img { transition: none; } }

/* ---------------------------------------------------------------- promise */

.promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }
.promise img { display: block; width: 100%; border-radius: 3px; }
.promise h2 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 16px; }
.promise .free {
  display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 4px 0 18px; font-family: var(--sans); font-weight: 700;
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose);
}
.promise p { color: var(--taupe); font-weight: 300; margin: 0 0 14px; }
.promise .badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.promise .badges div { font-size: 14.5px; color: var(--taupe); }
.promise .badges b { display: block; font-family: var(--display); font-size: 19px; color: var(--ink); font-weight: 400; }

/* ----------------------------------------------------------------- salon */

.salon { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .salon { grid-template-columns: 1fr; } }
.salon .shot img { display: block; width: 100%; border-radius: 3px; }
.perks { list-style: none; margin: 0 0 26px; padding: 0; }
.perks li {
  display: flex; gap: 13px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16.5px;
}
.perks li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blush); flex: none; transform: translateY(-2px);
}
.drinks { background: var(--cream); border: 1px solid var(--line); padding: 22px 24px; }
.section--shell .drinks { background: var(--cream); }
.drinks h3 {
  font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--champagne); margin-bottom: 14px;
}
.drinks .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.drinks h4 {
  font-family: var(--display); font-weight: 400; font-size: 17px; margin: 0 0 7px; color: var(--ink);
}
.drinks ul { list-style: none; margin: 0; padding: 0; }
.drinks li { font-size: 14.5px; color: var(--taupe); line-height: 1.75; font-weight: 300; }

/* duration on a service row */
.svc-list .mins {
  font-size: 13.5px; color: var(--stone); white-space: nowrap;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
