/* Labella Beauty, site v3 draft. Shared base for every section.
   Colours from the Labella business card. Flat surfaces: no glows, no gradients used as light, no italics,
   no all-caps labels, no lines beside small headings. */

/* Fonts: Fraunces headings (with the f from Literata) and Manrope text, all OFL. The @font-face rules are in css/fonts.css,
   written by assemble.mjs with the fonts embedded, so they also load when index.html is opened as a file. */

:root {
  /* Colours taken from the Labella business card: warm taupe card, white curves, champagne foil */
  --cocoa: #5E534E;        /* card taupe, the main colour */
  --cocoa-deep: #4E4541;   /* hover, deeper panels */
  --night: #4A413D;        /* marquee band, footer */
  --taupe: #6C605A;        /* lighter side of the card */
  --camel: #CDB894;        /* champagne foil: details, and text on dark grounds only */
  --camel-ink: #74604A;    /* champagne darkened so it reads on light grounds */
  --ivory: #F7F5F0;        /* page */
  --paper: #FFFEFB;        /* white boxes and cards */
  --sand: #ECE7E0;         /* stone, the alternate section ground */
  --sand-2: #DED7CD;       /* deeper stone, image placeholders */
  --ink: #3A322E;          /* body text */
  --mute: #6A605A;         /* secondary text on light */
  --mute-dark: #DCD4CB;    /* secondary text on dark */
  --line: #5E534E24;       /* hairlines on light */
  --line-dark: #F7F5F02E;  /* hairlines on dark */

  /* Type: Fraunces headings, Manrope text */
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --display-track: -0.025em;
  --display-lead: 1;
  --display-scale: 0.92;
  --display-weight: 350;
  --hero-weight: 450;
  --hero-stroke: 0;

  /* Layout */
  --max: 1320px;
  --pad: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 10vw, 140px);
  --r-pill: 999px;
  --r-card: 20px;
  --r-img: 18px;
  --header-h: 84px;
  --bar-h: 38px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}


*, *::before, *::after { box-sizing: border-box; }
* { font-style: normal !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: var(--display-lead); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--camel-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--camel); color: var(--cocoa); }

/* Shared helpers every section may use */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Display sizes for headings */
.d-xl { font-size: calc(clamp(44px, 6.2vw, 92px) * var(--display-scale)); }
.d-lg { font-size: calc(clamp(38px, 5vw, 72px) * var(--display-scale)); }
.d-md { font-size: calc(clamp(30px, 3.6vw, 52px) * var(--display-scale)); }
.d-sm { font-size: calc(clamp(22px, 2.2vw, 30px) * var(--display-scale)); line-height: 1.1; }

/* Small heading above a title: sentence case, no line beside it, no caps. */
.eyebrow { display: inline-block; font: 600 13px/1.4 var(--f-body); letter-spacing: 0.01em; color: var(--camel-ink); margin-bottom: 18px; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--camel); }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--mute); max-width: 56ch; }

/* Buttons: flat pills, as Neriva. No sheen, no stitching, no sink-in. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 1px solid var(--cocoa); background: var(--cocoa); color: var(--ivory); font: 600 15px/1 var(--f-body); white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { background: var(--cocoa-deep); border-color: var(--cocoa-deep); }
.btn-outline { background: transparent; color: var(--cocoa); }
.btn-outline:hover { background: var(--cocoa); color: var(--ivory); }
.btn-light { background: var(--ivory); border-color: var(--ivory); color: var(--cocoa); }
.btn-light:hover { background: var(--camel); border-color: var(--camel); }
.btn svg { width: 16px; height: 16px; }

/* Round arrow button, used by services, reviews and anywhere a round control is needed */
.round-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cocoa); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.round-btn:hover { background: var(--cocoa); border-color: var(--cocoa); color: var(--ivory); }
.round-btn svg { width: 18px; height: 18px; }

/* Reveal on scroll (js/base.js adds .is-in). Content stays visible without JS. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


