/* ==========================================================================
   M Nail Art & Tattoo Studio — Stylesheet
   Palette grounded in the craft: nail lacquer + henna stain + rose gold
   ========================================================================== */

:root {
  /* Colour */
  --ink:        #241019;   /* deep aubergine — headings/body */
  --wine:       #3E1626;   /* dark surfaces */
  --wine-2:     #591F33;   /* wine gradient stop */
  --henna:      #A64B36;   /* mehendi stain — reddish brown */
  --rose:       #C98B99;   /* dusty rose */
  --rose-gold:  #B76E79;   /* primary accent */
  --gold:       #C9A46A;   /* premium highlight, used sparingly */
  --cream:      #FBF5F0;   /* page background */
  --cream-2:    #F4E9E0;   /* panels */
  --line:       #E4D3C8;   /* hairlines */
  --muted:      #7C6A66;   /* secondary text */
  --white:      #ffffff;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -22px rgba(62, 22, 38, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(62, 22, 38, 0.4);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wrap { width: min(100% - 2*var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- Shared section shell ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--henna);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--rose-gold);
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  margin: .55rem 0 0;
  max-width: 20ch;
}
.section-intro { color: var(--muted); max-width: 58ch; margin-top: 1rem; font-size: 1.03rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose-gold), var(--henna));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(166,75,54,.6); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-light { background: var(--cream); color: var(--wine); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--cream) 96%, transparent); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.brand-name span { color: var(--henna); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-weight: 600; font-size: .95rem; color: var(--ink);
  position: relative; padding: .2rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--rose-gold); transition: width .28s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .4rem;
  width: 44px; height: 44px; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5rem);
  line-height: 1.02;
}
.hero h1 .accent { font-style: italic; color: var(--henna); }
.hero p.lead {
  margin-top: 1.4rem; font-size: 1.12rem; color: var(--muted); max-width: 46ch;
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-tags { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.hero-tags li {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .45rem .95rem; border-radius: 999px;
  background: var(--cream-2); color: var(--wine); border: 1px solid var(--line);
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/3.4; position: relative;
  border: 6px solid var(--white);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -14px; bottom: 30px;
  background: var(--white); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: .7rem;
}
.hero-badge .num { font-family: var(--display); font-size: 1.6rem; color: var(--henna); line-height: 1; }
.hero-badge .lbl { font-size: .76rem; color: var(--muted); font-weight: 600; line-height: 1.25; }

/* Paisley signature motif */
.paisley { color: var(--rose-gold); opacity: .9; }
.hero-motif {
  position: absolute; top: -30px; right: -18px; width: 120px; height: auto;
  opacity: .5; transform: rotate(8deg);
}
.motif-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto; color: var(--rose-gold); }
.motif-divider::before, .motif-divider::after { content: ""; height: 1px; width: min(80px, 18vw); background: var(--line); }

/* ---------- About + stats ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-body p { color: var(--muted); margin-top: 1.1rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem 1rem; text-align: center; }
.stat .val { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--henna); line-height: 1; }
.stat .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: .5rem; }

/* ---------- Why choose ---------- */
.why { background: var(--cream-2); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.why-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.7rem 1.5rem; transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.why-card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-gold), var(--henna)); color: var(--white); margin-bottom: 1rem;
}
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.25rem; }
.why-card p { color: var(--muted); margin-top: .5rem; font-size: .96rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.svc-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; color: var(--white); box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(36,16,25,0) 30%, rgba(36,16,25,.88) 100%);
}
.svc-card:hover img { transform: scale(1.06); }
.svc-body { padding: 1.7rem; width: 100%; }
.svc-body .kicker { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.svc-body h3 { color: var(--white); font-size: 1.6rem; margin-top: .35rem; }
.svc-body p { color: rgba(255,255,255,.82); font-size: .95rem; margin-top: .5rem; }
.svc-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--white); }
.svc-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ---------- Outlets ---------- */
.outlets { background: var(--wine); color: var(--cream); }
.outlets .eyebrow { color: var(--gold); }
.outlets .eyebrow::before { background: var(--gold); }
.outlets .section-title, .outlets h3 { color: var(--cream); }
.outlets .section-intro { color: rgba(251,245,240,.72); }
.outlet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.outlet {
  background: color-mix(in srgb, var(--wine-2) 70%, black 6%);
  border: 1px solid rgba(201,164,106,.25); border-radius: var(--radius-sm); padding: 1.5rem;
  transition: transform .3s ease, border-color .3s ease;
}
.outlet:hover { transform: translateY(-6px); border-color: var(--gold); }
.outlet h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .5rem; }
.outlet h3 .pin { color: var(--gold); }
.outlet .addr { color: rgba(251,245,240,.78); font-size: .93rem; margin-top: .7rem; }
.outlet .phones { margin-top: .9rem; display: flex; flex-direction: column; gap: .3rem; }
.outlet .phones a { font-weight: 600; font-size: .95rem; color: var(--rose); }
.outlet .phones a:hover { color: var(--gold); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.7rem; position: relative;
}
.testi .stars { color: var(--gold); letter-spacing: .15em; font-size: .95rem; }
.testi p { margin-top: .8rem; color: var(--ink); font-size: .98rem; }
.testi .who { margin-top: 1.1rem; font-weight: 700; font-size: .92rem; }
.testi .who span { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }

/* ---------- Appointment / Contact ---------- */
.appointment { background: var(--cream-2); }
.appt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.appt-info h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hours { margin-top: 2rem; display: grid; gap: .7rem; }
.hours-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
.hours-row .day { font-weight: 700; }
.hours-row .time { color: var(--henna); font-weight: 600; }
.appt-contactline { margin-top: 1.8rem; display: grid; gap: .7rem; }
.appt-contactline a { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.appt-contactline svg { width: 20px; height: 20px; color: var(--henna); flex: none; }

/* Form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.5rem; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-top: .3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.field label .req { color: var(--henna); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--cream); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose-gold);
  box-shadow: 0 0 0 3px rgba(183,110,121,.18);
}
.field textarea { resize: vertical; min-height: 110px; }
/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px; font-size: .92rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #EAF6EC; color: #1E6B34; border: 1px solid #BFE3C6; }
.form-status.err { background: #FCECEA; color: #A6331F; border: 1px solid #F3C9C1; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251,245,240,.8); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-brand img { height: 54px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; color: rgba(251,245,240,.6); max-width: 30ch; }
.footer-col h4 { color: var(--gold); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--body); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { font-size: .93rem; color: rgba(251,245,240,.75); }
.footer-col a:hover { color: var(--rose); }
.footer-contact li { display: flex; gap: .6rem; font-size: .92rem; margin-bottom: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--rose-gold); flex: none; margin-top: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .25s ease, transform .25s ease; }
.socials a:hover { background: var(--rose-gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: rgba(251,245,240,.55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .outlet-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .appt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1rem;
  }
  .nav.open .nav-links li { width: 100%; }
  .nav.open .nav-links a { display: block; padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .outlet-grid { grid-template-columns: 1fr; }
  .hero-photo { border-radius: 140px 140px var(--radius) var(--radius); }
}
