/* ============================================================
   The Colour Studio · Tilly at Mane78, Belper
   Palette calibrated to the real salon photographs:
   hot pink velvet, mustard/olive velvet, pine floor,
   plant green, blush walls, charcoal text.
   ============================================================ */

:root {
  --pink: #E0447C;
  --pink-deep: #C22B62;
  --pink-soft: #F7D9E4;
  --mustard: #C0A62C;
  --olive: #9B8B2E;
  --pine: #C9A05F;
  --leaf: #4A7C3F;
  --leaf-deep: #35602C;
  --blush: #F2C9B8;
  --blush-tint: #FAF0EA;
  --cream: #FDF9F5;
  --ink: #2D2D2D;
  --ink-soft: #5A524E;
  --white: #FFFFFF;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(45, 45, 45, .10);
  --shadow-soft: 0 6px 18px rgba(45, 45, 45, .07);
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p + p { margin-top: 1em; }

a { color: var(--pink-deep); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

.accent-italic { font-family: var(--font-accent); font-style: italic; font-weight: 500; }

/* --------------------------------------------------------- */
/* Demo ribbon                                                */
/* --------------------------------------------------------- */
.demo-ribbon {
  background: var(--ink);
  color: #F6EFE9;
  text-align: center;
  font-size: .8rem;
  padding: .45rem 1rem;
  letter-spacing: .02em;
}
.demo-ribbon strong { color: var(--blush); font-weight: 600; }

/* --------------------------------------------------------- */
/* Header                                                     */
/* --------------------------------------------------------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(45,45,45,.08);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.brand { text-decoration: none; color: var(--ink); display: block; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.brand-dots { display: inline-flex; gap: .22rem; }
.brand-dots span { width: .55rem; height: .55rem; border-radius: 50%; display: inline-block; }
.brand-dots span:nth-child(1) { background: var(--pink); }
.brand-dots span:nth-child(2) { background: var(--mustard); }
.brand-dots span:nth-child(3) { background: var(--leaf); }
.brand-sub {
  font-size: .74rem;
  color: var(--ink-soft);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: .1rem;
}
.site-nav ul { list-style: none; display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--pink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--pink); color: var(--pink-deep); }
.nav-cta {
  background: var(--pink);
  color: var(--white) !important;
  padding: .55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--pink-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: .45rem .7rem;
  font: 600 .9rem var(--font-head);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(45,45,45,.1);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.2rem 1.2rem; }
  .site-nav li { border-top: 1px solid rgba(45,45,45,.07); }
  .site-nav li:first-child { border-top: none; }
  .site-nav a { display: block; padding: .85rem .2rem; border-bottom: none; }
  .site-nav a[aria-current="page"] { color: var(--pink-deep); font-weight: 600; }
  .nav-cta { text-align: center; margin-top: .8rem; }
}

/* no-JS fallback: keep nav visible when JS is unavailable */
.no-js .site-nav { display: block; position: static; box-shadow: none; }
.no-js .nav-toggle { display: none; }

/* --------------------------------------------------------- */
/* Buttons                                                    */
/* --------------------------------------------------------- */
.btn {
  display: inline-block;
  font: 600 1rem var(--font-head);
  text-decoration: none;
  border-radius: 999px;
  padding: .85rem 1.9rem;
  transition: background .2s ease, transform .2s ease, color .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-pink { background: var(--pink); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-pink:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-light:hover { background: var(--blush-tint); transform: translateY(-2px); }

/* --------------------------------------------------------- */
/* Hero                                                       */
/* --------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(12deg, rgba(30,20,22,.82) 0%, rgba(45,30,32,.55) 55%, rgba(45,30,32,.28) 100%);
}
.hero-inner {
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(4rem, 10vw, 7.5rem);
  max-width: 720px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .03em;
  margin-bottom: 1.4rem;
}
.hero-kicker .stars { color: #FFD166; letter-spacing: .12em; }
.hero h1 { color: var(--white); text-wrap: balance; }
.hero .accent-italic { color: var(--blush); }
.hero-sub { margin-top: 1.2rem; font-size: 1.12rem; max-width: 34em; color: rgba(255,255,255,.92); }
.hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-quote-credit { margin-top: .55rem; font-size: .85rem; color: rgba(255,255,255,.75); }

/* Page hero (inner pages, solid tint) */
.page-hero { background: var(--blush-tint); border-bottom: 1px solid rgba(45,45,45,.06); }
.page-hero-inner { padding: clamp(3rem, 7vw, 4.8rem) 0; max-width: 760px; }
.page-hero .eyebrow { margin-bottom: .8rem; }
.page-hero p.lead { margin-top: 1rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 38em; }
.page-hero-bridal { background: linear-gradient(160deg, #FBEFE8 0%, #F7DCE6 100%); }

.eyebrow {
  display: inline-block;
  font: 600 .8rem var(--font-head);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink-deep);
}
.eyebrow-leaf { color: var(--leaf-deep); }
.eyebrow-olive { color: var(--olive); }

/* --------------------------------------------------------- */
/* Sections                                                   */
/* --------------------------------------------------------- */
.section { padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
.section-tint { background: var(--blush-tint); }
.section-pink { background: var(--pink-soft); }
.section-dark { background: var(--ink); color: #F3ECE6; }
.section-dark h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { margin-top: .8rem; color: var(--ink-soft); }
.section-dark .section-head p { color: rgba(243,236,230,.8); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* --------------------------------------------------------- */
/* Palette strip (signature motif)                            */
/* --------------------------------------------------------- */
.palette-strip { display: flex; height: 10px; }
.palette-strip span { flex: 1; }
.palette-strip span:nth-child(1) { background: var(--pink); }
.palette-strip span:nth-child(2) { background: var(--blush); }
.palette-strip span:nth-child(3) { background: var(--mustard); }
.palette-strip span:nth-child(4) { background: var(--pine); }
.palette-strip span:nth-child(5) { background: var(--leaf); }

/* --------------------------------------------------------- */
/* Cards & grids                                              */
/* --------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.8rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.6rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* Colour swatch panels: the palette IS the portfolio */
.swatch-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.swatch-visual {
  height: 150px;
  position: relative;
}
.swatch-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 15% 10%, rgba(255,255,255,.28), transparent 55%);
}
.swatch-balayage { background: linear-gradient(115deg, #6B4A33 0%, #9C6F44 34%, #C9A05F 62%, #E8C98F 100%); }
.swatch-fullworks { background: linear-gradient(115deg, var(--pink-deep) 0%, var(--pink) 40%, var(--blush) 100%); }
.swatch-highlights { background: repeating-linear-gradient(105deg, #B98A4E 0 14px, #E4C282 14px 26px, #8C6236 26px 40px); }
.swatch-allover { background: linear-gradient(115deg, #3E2A21 0%, #5C3A29 55%, #7A4A31 100%); }
.swatch-toner { background: linear-gradient(115deg, #D9B9CE 0%, #EAD5DE 50%, #F5E9EE 100%); }
.swatch-face-framing { background: linear-gradient(115deg, #4A3526 0%, #4A3526 42%, #E8C98F 46%, #E8C98F 54%, #4A3526 58%, #4A3526 100%); }
.swatch-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.swatch-body h3 { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.swatch-note { font-size: .9rem; color: var(--ink-soft); }
.price-tag { font: 600 1rem var(--font-head); color: var(--pink-deep); white-space: nowrap; }
.duration { font-size: .83rem; color: var(--ink-soft); letter-spacing: .02em; }

/* --------------------------------------------------------- */
/* Price tables                                               */
/* --------------------------------------------------------- */
.price-group { margin-top: 2.4rem; }
.price-group > h3 {
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  border-bottom: 2px solid var(--blush);
  padding-bottom: .5rem;
  margin-bottom: .4rem;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .4rem 1.4rem;
  align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px dashed rgba(45,45,45,.16);
}
.price-row:last-child { border-bottom: none; }
.price-row .svc { font-weight: 600; font-family: var(--font-head); font-size: 1.02rem; }
.price-row .svc small { display: block; font: 400 .88rem var(--font-body); color: var(--ink-soft); margin-top: .15rem; }
.price-row .dur { color: var(--ink-soft); font-size: .9rem; white-space: nowrap; }
.price-row .prc { font: 600 1.02rem var(--font-head); color: var(--pink-deep); white-space: nowrap; text-align: right; }
@media (max-width: 560px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-row .dur { grid-column: 1; grid-row: 2; }
}
.price-note { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-soft); }

/* --------------------------------------------------------- */
/* Review cards                                               */
/* --------------------------------------------------------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.9rem 1.7rem 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.review-card::before {
  content: "\201C";
  font: 500 4.4rem/1 var(--font-accent);
  color: var(--blush);
  position: absolute;
  top: .6rem;
  left: 1.2rem;
}
.review-card blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  margin-top: 1.6rem;
  flex: 1;
}
.review-card figcaption { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-soft); }
.review-card .stars { color: var(--mustard); letter-spacing: .12em; font-size: .95rem; }
.review-card-feature { background: var(--pink-soft); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--white);
  border-radius: 999px;
  padding: .6rem 1.3rem;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-family: var(--font-head);
}
.rating-badge .stars { color: var(--mustard); letter-spacing: .1em; }

/* --------------------------------------------------------- */
/* Media / split layouts                                      */
/* --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4.5vw, 3.6rem);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split .content h2 { margin-bottom: .9rem; }
.split .content p { color: var(--ink-soft); }
.split .content .btn { margin-top: 1.5rem; }

.figure-note { font-size: .82rem; color: var(--ink-soft); margin-top: .55rem; }

/* --------------------------------------------------------- */
/* Bridal gallery                                             */
/* --------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, 2vw, 1.3rem);
}
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1 / 1;
  background: var(--blush-tint);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.035); }

/* --------------------------------------------------------- */
/* Feature list / value props                                 */
/* --------------------------------------------------------- */
.feature-list { list-style: none; display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .dot {
  flex: 0 0 auto;
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  margin-top: .35rem;
}
.dot-pink { background: var(--pink); }
.dot-mustard { background: var(--mustard); }
.dot-leaf { background: var(--leaf); }
.dot-pine { background: var(--pine); }
.dot-blush { background: var(--blush); }
.feature-list strong { font-family: var(--font-head); font-weight: 600; }
.feature-list p { font-size: .95rem; color: var(--ink-soft); margin-top: .1rem; }

/* --------------------------------------------------------- */
/* CTA band                                                   */
/* --------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--pink-deep) 0%, var(--pink) 60%, #E9679A 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5.5vw, 3.6rem) clamp(1.4rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--white); max-width: 18em; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .5rem; max-width: 34em; }

/* --------------------------------------------------------- */
/* Hours / info blocks                                        */
/* --------------------------------------------------------- */
.hours-table { width: 100%; border-collapse: collapse; margin-top: .6rem; }
.hours-table td { padding: .6rem 0; border-bottom: 1px dashed rgba(45,45,45,.14); font-size: .98rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; font-family: var(--font-head); }
.hours-table .closed td:last-child { color: var(--ink-soft); font-weight: 400; }

/* --------------------------------------------------------- */
/* Forms (demo)                                               */
/* --------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.form-field label { display: block; font: 600 .9rem var(--font-head); margin-bottom: .35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 2px solid rgba(45,45,45,.15);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  font: 400 1rem var(--font-body);
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--pink);
}
.form-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.form-consent input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.form-note { font-size: .85rem; color: var(--ink-soft); }

/* --------------------------------------------------------- */
/* Sticky mobile booking bar                                  */
/* --------------------------------------------------------- */
.book-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(253,249,245,.94);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(45,45,45,.1);
}
.book-bar .btn { display: block; text-align: center; width: 100%; }
@media (max-width: 860px) {
  .book-bar { display: block; }
  body { padding-bottom: 4.6rem; }
}

/* --------------------------------------------------------- */
/* Footer                                                     */
/* --------------------------------------------------------- */
.site-footer { background: var(--ink); color: #D9CFC8; font-size: .95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding: clamp(2.6rem, 6vw, 4rem) 0 2.2rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: #D9CFC8; text-decoration: none; }
.site-footer a:hover { color: var(--blush); }
.footer-brand-name { font: 700 1.2rem var(--font-head); color: var(--white); }
.footer-brand-sub { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); margin-top: .2rem; }
.footer-brand p { margin-top: .9rem; max-width: 30em; color: #BFB3AB; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.3rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  font-size: .82rem;
  color: #A79A91;
}

/* --------------------------------------------------------- */
/* Utility                                                    */
/* --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1.2rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
