/* Gloss Nails Bar, Carshalton – preview site.
   Palette taken from the salon's own logo and shopfront: bone ground, ink lettering,
   warm gold from the illuminated sign. */

:root {
  --bone: #f7f2ec;
  --bone-deep: #efe6dc;
  --paper: #fffdfa;
  --ink: #17161a;
  --ink-soft: #4b4750;
  --ink-faint: #7a757f;
  --gold: #a07838;
  --gold-bright: #c7a158;
  --line: rgba(23, 22, 26, 0.12);
  --shell: 1180px;
  --radius: 2px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 18px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 12px 18px;
  z-index: 99;
}
.skip:focus { left: 8px; top: 8px; }

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

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 242, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}

.wordmark img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.wordmark span {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  letter-spacing: 0.03em;
  line-height: 1;
}

.wordmark small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}

.masthead__nav {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.masthead__nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}
.masthead__nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn--solid { background: var(--ink); color: var(--bone); }
.btn--solid:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

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

.hero { padding: 76px 0 0; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 6.6vw, 82px);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__lede {
  margin-top: 26px;
  font-size: 18.5px;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__figure {
  position: relative;
}

.hero__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__badge {
  position: absolute;
  left: -26px;
  bottom: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px rgba(23,22,26,.55);
}

.hero__badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
}

.hero__badge span {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 6px;
}

/* ---------- facts strip ---------- */

.facts {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts__item {
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
}
.facts__item:last-child { border-right: 0; }
.facts__item + .facts__item { padding-left: 24px; }

.facts__item dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.facts__item dd {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  line-height: 1.2;
}

.facts__item dd small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ---------- generic section ---------- */

.section { padding: 86px 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--bone-deep); }

.section__head {
  max-width: 62ch;
  margin-bottom: 46px;
}

.section__head h2 { font-size: clamp(32px, 4vw, 48px); }

.section__head p {
  margin-top: 16px;
  color: var(--ink-soft);
}

/* ---------- treatments ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--paper);
  padding: 32px 28px 30px;
}

.card h3 {
  font-size: 27px;
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.card__from {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- price list ---------- */

.prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.pricegroup h3 {
  font-size: 26px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 6px;
}

.pricegroup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricegroup li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.pricegroup li span { font-size: 15.5px; }

.pricegroup li span small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.pricegroup li b {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
}

.prices__note {
  margin-top: 44px;
  font-size: 14.5px;
  color: var(--ink-faint);
  max-width: 70ch;
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery figure { margin: 0; }

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

.salon {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.salon__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.salon__stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.salon__stack figure { margin: 0; }
.salon__stack figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.salon__stack figure:not(:first-child) { aspect-ratio: 1 / 1; }

.salon__copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
.salon__copy p { color: var(--ink-soft); }

.notes {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.notes li {
  padding-left: 22px;
  position: relative;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 26px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.review blockquote {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  line-height: 1.42;
}

.review figcaption {
  margin-top: auto;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.review .stars {
  color: var(--gold-bright);
  letter-spacing: 0.22em;
  font-size: 13px;
  margin-bottom: 16px;
}

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

.visit {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.visit dl {
  margin: 0;
  display: grid;
  gap: 24px;
}

.visit dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.visit dd {
  margin: 0;
  font-size: 16.5px;
}

.visit dd a {
  color: var(--ink);
  display: inline-block;
  padding-block: 10px;
  text-underline-offset: 3px;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.visit__front img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 32%;
  border-radius: var(--radius);
}

.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bone-deep);
}

.map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

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

.band {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0;
}

.band h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  max-width: 18ch;
}

.band p {
  margin-top: 18px;
  color: rgba(247, 242, 236, 0.72);
  max-width: 48ch;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

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

.foot {
  background: var(--ink);
  color: rgba(247, 242, 236, 0.6);
  border-top: 1px solid rgba(247, 242, 236, 0.14);
  padding: 30px 0 38px;
  font-size: 13.5px;
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}

.foot a { color: rgba(247, 242, 236, 0.82); }

.foot__social {
  display: flex;
  gap: 20px;
}

/* ---------- 404 ---------- */

.oops {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.oops h1 { font-size: clamp(42px, 7vw, 78px); margin-bottom: 18px; }
.oops p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }
.oops .hero__actions { justify-content: center; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__badge { left: auto; right: 16px; bottom: 16px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(2) { border-right: 0; }
  .facts__item:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .facts__item:nth-child(4) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .salon { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .visit { grid-template-columns: 1fr; }
  .masthead__nav { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .shell { padding-inline: 18px; }
  .hero { padding-top: 48px; }
  .section { padding: 60px 0; }
  .facts__grid { grid-template-columns: 1fr; }
  .facts__item { border-right: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .facts__item:first-child { border-top: 0; }
  .facts__item + .facts__item { padding-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reviews { grid-template-columns: 1fr; }
  .salon__stack figure:first-child { aspect-ratio: 3 / 2; }
  .map iframe { height: 320px; }
  .band { padding: 58px 0; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .hero__badge { position: static; margin-top: 14px; display: inline-block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
