/* Setuply site kit: the small set of pieces every theme shares. Each theme
   file sets the variables, then builds its own page layouts on top. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 600);
  line-height: 1.1;
  letter-spacing: var(--heading-spacing, -0.01em);
  text-transform: var(--heading-transform, none);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, var(--h1-max, 4rem)); }
h2 { font-size: clamp(1.8rem, 4vw, var(--h2-max, 2.6rem)); }
h3 { font-size: 1.3rem; }

p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }

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

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.centre { text-align: center; margin-inline: auto; }

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text, var(--accent));
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 2px solid var(--primary);
  border-radius: var(--btn-radius, 8px);
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--accent-text, var(--accent));
  text-underline-offset: 4px;
}

/* Demo bar (template previews only) */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  padding: 8px 16px;
  background: #14282c;
  color: #f5efe3;
  font: 500 14px/1.4 system-ui, sans-serif;
  text-align: center;
}
.demo-bar a { color: #f2c14e; font-weight: 700; }

/* Header */
.topbar { font-size: 0.88rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 8px; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar-phone { margin-left: auto; }
header.site { background: var(--header-bg, var(--bg)); color: var(--header-text, var(--text)); }
.site-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { font-family: var(--font-display); font-weight: var(--heading-weight, 600); font-size: 1.45rem; line-height: 1.1; text-decoration: none; text-transform: var(--heading-transform, none); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--accent); }
.btn.call { padding: 10px 18px; }

/* Photos and placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 200px;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 14px, transparent 14px 28px),
    linear-gradient(140deg, var(--ph-a), var(--ph-b));
  color: var(--ph-text, #fff);
  text-align: center;
}
.ph span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; opacity: 0.9; }
.ph, .photo { border-radius: var(--radius); }
.round { border-radius: 50% !important; aspect-ratio: 1; min-height: 0; }

/* Initials tile for team members without a photo */
.avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--ph-a), var(--ph-b));
  color: var(--ph-text, #fff);
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 600);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
}

/* Map and star rating */
iframe.map { display: block; width: 100%; height: 280px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.stars { margin-bottom: 14px; color: var(--star, #e8a917); font-size: 1.25rem; letter-spacing: 0.18em; line-height: 1; }

/* The header stays in view, and sections fade up as they arrive */
header.site { position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0, 0, 0, 0.45); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.photo { transition: filter .3s, transform .5s; }
.gallery li:hover .photo { filter: brightness(1.06) saturate(1.08); }

/* Lists that each theme restyles */
.svc li { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 20px; align-items: baseline; }
.svc p { color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feats h3 { margin-bottom: 8px; }
.feats p { color: var(--muted); }
.feat-n { display: none; }
.quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; }
.quote footer { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.note { margin-top: 28px; color: var(--muted); }

/* Text beside a photo (About page) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--muted); }
.split-text p + p { margin-top: 14px; }
.split-media .ph, .split-media .photo { aspect-ratio: 4 / 3.4; }

/* Inner page heading */
.page-hero { padding: 72px 0 56px; background: var(--surface); }
.page-hero .lead { margin-top: 18px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person .ph, .person .photo { aspect-ratio: 1; min-height: 0; margin-bottom: 16px; }
.person .role { color: var(--accent-text, var(--accent)); font-weight: 600; margin: 2px 0 8px; }
.person p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph, .gallery .photo { aspect-ratio: 1; min-height: 0; }
.gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details h2, .contact-form h2 { margin-bottom: 20px; }
.contact-details h3 { margin: 28px 0 10px; }
.contact-details dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.contact-details dt { font-weight: 600; }
.contact-details dd { color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { color: var(--muted); }
.ph.map { margin-top: 28px; }

.contact-form { padding: 32px; background: var(--card-bg, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form label { display: block; margin-bottom: 16px; font-size: 0.92rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--field-radius, 8px);
  background: var(--field-bg, var(--bg));
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.form-msg { margin-top: 14px; font-weight: 600; color: var(--accent-text, var(--accent)); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { padding: 56px 0 24px; background: var(--footer-bg, var(--surface)); color: var(--footer-text, var(--text)); font-size: 0.95rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h3 { margin-bottom: 10px; font-size: 1rem; }
.site-footer p { opacity: 0.8; }
.site-footer .brand { opacity: 1; margin-bottom: 8px; }
.site-footer .hours li { border-color: color-mix(in srgb, currentColor 18%, transparent); }
.site-footer .hours li span:last-child { color: inherit; opacity: 0.8; }
.footer-mark { display: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 0.85rem; }

/* Smaller screens */
@media (max-width: 900px) {
  .site-inner { flex-wrap: wrap; padding-block: 14px; gap: 10px 20px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 4px 20px; }
  .btn.call { margin-left: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feats, .team { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner span:nth-child(2), .topbar-inner > a:not(.topbar-phone) { display: none; }
}

/* Phones: a Menu button replaces the row of links, and everything gets
   one column with generous gaps. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1.5px solid currentColor;
  border-radius: var(--btn-radius, 8px);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.nav-toggle::before { content: ""; width: 16px; height: 10px; border-block: 2px solid currentColor; }

@media (max-width: 760px) {
  .site-inner { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; padding-block: 16px; gap: 0 16px; }
  .brand { font-size: 1.35rem; flex: 1 1 0; min-width: 0; }
  .btn.call { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; flex-direction: column; order: 5; width: 100%; margin: 14px 0 0; gap: 0; }
  .site-nav a { padding: 14px 2px; border-bottom: 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); font-size: 1.05rem; }
  .site-nav a[aria-current] { color: var(--accent-text, var(--accent)); }
  .topbar-inner { justify-content: space-between; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 22px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 30px; }
  .lead { font-size: 1.08rem; }
  .feats, .team, .footer-grid { grid-template-columns: 1fr; }
  .feats { gap: 32px; }
  .team { gap: 40px; }
  .footer-grid { gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .actions { gap: 12px; margin-top: 28px; }
  .actions .btn { flex: 1 1 100%; }
  .split, .contact-grid { gap: 40px; }
  .contact-form { padding: 24px 20px; }
  .page-hero { padding: 52px 0 40px; }
  .ph { overflow: hidden; }
  .ph span { font-size: 0.68rem; }
  .text-link { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Studio: loud and editorial. For salons, creatives and boutiques.
   Wall-to-wall headline, staggered photos, a scrolling band, oversized service list. */
:root {
  --bg: #17121a;
  --surface: #211a26;
  --text: #f6eef0;
  --muted: #b7a9b6;
  --line: #3a2f40;
  --primary: #f2a7b5;
  --on-primary: #17121a;
  --accent: #f2a7b5;
  --accent-text: #f2a7b5;
  --radius: 0px;
  --btn-radius: 999px;
  --field-radius: 0px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --heading-weight: 800;
  --heading-spacing: -0.04em;
  --h2-max: 3.6rem;
  --footer-bg: #100c12;
  --footer-text: #f6eef0;
  --ph-a: #5b3f57;
  --ph-b: #2d2233;
  --card-bg: #211a26;
  --field-bg: #17121a;
}

h3 { font-weight: 700; letter-spacing: -0.02em; }
.brand { font-size: 1.5rem; letter-spacing: -0.04em; }
.site-nav a { font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }
.btn { font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Hero: the headline runs the full width of the page */
.sd-hero { padding: 40px 0 0; }
.sd-hero h1 { font-size: clamp(3rem, 10.4vw, 9.4rem); line-height: 0.9; }
.sd-hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.sd-hero-row .actions { margin-top: 24px; }
.sd-stagger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; margin-top: 64px; }
.sd-stagger .ph, .sd-stagger .photo { aspect-ratio: 3 / 4; min-height: 0; }
.sd-stagger > :nth-child(1) { margin-top: 72px; }
.sd-stagger > :nth-child(3) { margin-top: 144px; }

/* Scrolling band of services */
.sd-marquee { margin-top: 72px; padding: 20px 0; background: var(--accent); color: #17121a; overflow: hidden; transform: rotate(-1.5deg) scale(1.03); }
.sd-track { display: flex; gap: 0; width: max-content; animation: sd-scroll 40s linear infinite; }
.sd-track span { padding-right: 28px; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.sd-track span::after { content: "✦"; padding-left: 28px; }
@keyframes sd-scroll { to { transform: translateX(-50%); } }

/* Services in oversized type */
.svc { border-top: 1px solid var(--line); }
.svc li { grid-template-columns: 64px 1fr auto; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: color .15s, padding-left .15s; }
.svc li:hover { color: var(--accent); padding-left: 12px; }
.svc-n { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--muted); }
.svc h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
.svc p { margin-top: 6px; font-size: 0.95rem; }
.svc-price { padding: 8px 18px; border: 1.5px solid var(--accent); border-radius: 999px; color: var(--accent); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* Review on a full pink block */
.sd-pink { padding: 112px 0; background: var(--accent); color: #17121a; }
.sd-pink .quote p { font-weight: 800; font-size: clamp(2rem, 5.2vw, 4.2rem); letter-spacing: -0.04em; line-height: 1.02; }
.sd-pink .quote footer { margin-top: 32px; color: #17121a; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.86rem; }

/* About: text card overlapping the photo */
.sd-about { display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.sd-about-photo { grid-column: 1 / 8; grid-row: 1; }
.sd-about-photo .ph, .sd-about-photo .photo { aspect-ratio: 5 / 4; }
.sd-about-card { grid-column: 6 / 13; grid-row: 1; position: relative; margin-top: 96px; padding: 48px; background: var(--surface); border-left: 4px solid var(--accent); }
.sd-about-card h2 { margin-bottom: 16px; }
.sd-about-card p:not(.eyebrow) { color: var(--muted); }
.feats.outline { gap: 0; margin-top: 88px; border-top: 1px solid var(--line); }
.feats.outline li { padding: 32px 28px 0 0; }
.feats.outline .feat-n { display: block; margin-bottom: 18px; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }

/* Closing: one enormous link */
.sd-cta { padding: 112px 0; text-align: center; border-top: 1px solid var(--line); }
.sd-cta p { color: var(--muted); }
.sd-cta .giant { display: inline-block; margin: 8px 0 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 13vw, 11rem); letter-spacing: -0.05em; line-height: 0.95; color: var(--accent); text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }

/* Inner pages */
.page-hero { background: var(--bg); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.8rem, 9vw, 7.5rem); line-height: 0.92; }
.page-hero .lead { margin-top: 28px; }
.section.alt.values { background: var(--bg); padding-top: 0; }
.values .feats.outline { margin-top: 0; }
.team .ph, .team .photo { aspect-ratio: 3 / 4; }
.person:nth-child(2) { margin-top: 64px; }
.gallery { gap: 12px; align-items: start; }
.gallery .ph, .gallery .photo { aspect-ratio: 3 / 4; }
.gallery li:nth-child(3n + 2) { margin-top: 72px; }
.gallery li:nth-child(3n) .ph, .gallery li:nth-child(3n) .photo { aspect-ratio: 1; }
.gallery figcaption { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }
.contact-form { order: -1; border: 0; border-left: 4px solid var(--accent); }

/* Footer: the name, enormous and outlined */
.site-footer { border-top: 1px solid var(--line); }
.footer-mark { display: block; margin: 48px 0 -0.14em; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 15.5vw, 15rem); letter-spacing: -0.05em; line-height: 0.85; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1.5px var(--line); opacity: 1 !important; }
.footer-base { margin-top: 0; }

@media (max-width: 900px) {
  .sd-hero-row { grid-template-columns: 1fr; gap: 12px; }
  .sd-stagger > :nth-child(1) { margin-top: 36px; }
  .sd-stagger > :nth-child(3) { margin-top: 72px; }
  .sd-about { display: block; }
  .sd-about-card { margin: -48px 0 0 24px; padding: 32px; }
  .contact-form { order: 0; }
  .person:nth-child(2) { margin-top: 0; }
}
@media (max-width: 600px) {
  .sd-stagger { gap: 8px; }
  .svc li { grid-template-columns: 1fr; gap: 8px; }
  .svc-n { display: none; }
  .svc-price { justify-self: start; }
  .gallery li:nth-child(3n + 2) { margin-top: 0; }
  .feats.outline li { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-track { animation: none; }
}

/* Phones */
@media (max-width: 600px) {
  .sd-hero { padding-top: 28px; }
  .sd-hero-row { margin-top: 28px; padding-top: 22px; }
  .sd-stagger { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
  .sd-stagger > :nth-child(1) { margin-top: 44px; }
  .sd-stagger > :nth-child(3) { display: none; }
  .sd-marquee { margin-top: 56px; padding: 16px 0; }
  .sd-track span { font-size: 1.3rem; }
  .svc li { padding: 24px 0; gap: 10px; }
  .sd-pink { padding: 76px 0; }
  .sd-about-card { margin: -36px 0 0 14px; padding: 28px 22px; }
  .feats.outline { margin-top: 56px; }
  .feats.outline li { padding-top: 28px; }
  .sd-cta { padding: 80px 0; }
  .page-hero { padding: 40px 0 36px; }
  .gallery { gap: 10px; }
}

.footer-mark { font-size: clamp(2.4rem, 10.2vw, 8.5rem); }

.person .avatar { aspect-ratio: 3 / 4; }
.sd-pink .stars { color: #17121a; }
