/* ==========================================================================
   Rêve Boutique — static rebuild
   Palette is deliberately two values. Do not add a third without a reason.
   ========================================================================== */

:root {
  /* Colour */
  --ink:        #000000;
  --paper:      #ffffff;
  --nav-ink:    #404040;
  --rule:       #d8d8d8;
  --placeholder:#efeeea;   /* shows only while assets/img is empty */

  /* Type */
  --font-display: "Jost", "Josefin Sans", "Century Gothic", sans-serif;
  --font-body:    "Noto Serif", Georgia, "Times New Roman", serif;
  --font-quote:   "Forum", Georgia, serif;
  --font-ui:      "Wix Madefor Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --measure:  1135px;   /* original Wix content width */
  --gutter:   clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 10vw, 8.5rem);
}

/* --------------------------------------------------------- reset + base */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;      /* 18px, as on the original */
  line-height: 1.8;         /* 32.4 / 18 */
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* --------------------------------------------------------------- type */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* Section headings were 96px on the original */
.section-title { font-size: clamp(2.75rem, 8vw, 6rem); }

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

/* --------------------------------------------------------------- button */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 50px;
  padding: 0 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border: .8px solid var(--ink);
  border-radius: 0;              /* square, as on the original */
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover, .btn:focus-visible { background: var(--paper); color: var(--ink); }

.btn--sm { min-width: 142px; min-height: 40px; font-size: .9375rem; }

/* Inverted sections flip the button too */
.section--dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn:hover, .section--dark .btn:focus-visible { background: transparent; color: var(--paper); }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 1.75rem);
}

.site-header__inner { display: grid; justify-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); }

.logo { display: inline-block; }
.logo img { width: clamp(190px, 30vw, 393px); height: auto; }

.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.9rem, 2.4vw, 1.75rem);
  margin: 0; padding: 0;
  list-style: none;
}
.nav__link {
  font-family: var(--font-ui);
  font-size: .875rem;          /* 14px */
  color: var(--nav-ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }

/* Mobile: collapse the nav behind a toggle rather than a "More" overflow menu */
.nav__toggle { display: none; }

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 0; padding: .25rem .5rem;
    font-family: var(--font-ui); font-size: .875rem; color: var(--nav-ink); cursor: pointer;
  }
  .nav__list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
  }
  .nav[data-open="true"] .nav__list { display: flex; }
}

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

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(1080px, 92vh);
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--placeholder);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__card {
  position: relative;
  z-index: 1;
  width: min(687px, calc(100% - 2 * var(--gutter)));
  background: var(--paper);
  padding: clamp(2.5rem, 6vw, 4.25rem) clamp(1.5rem, 5vw, 3.25rem);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
.hero__title { font-size: clamp(2.25rem, 6vw, 3.8125rem); }  /* 61px */
.hero__inset { width: 230px; height: 290px; object-fit: cover; background: var(--placeholder); }
.hero__lede { max-width: 478px; letter-spacing: -.01em; line-height: 1.5; margin: 0; }

/* ------------------------------------------------------------- sections */

.section { padding-block: var(--section-y); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.section__body { max-width: 812px; }
.section--dark .section__body,
.section--centred .section__body { max-width: 812px; margin-inline: auto; text-align: center; }

.section__body--justified { text-align: justify; hyphens: auto; }

.section-title + .section__body { margin-top: clamp(2rem, 5vw, 3.5rem); }
.section--dark .section-title,
.section--centred .section-title { text-align: inherit; }

/* Category button row under "our expertise" */
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 0; list-style: none;
}

/* -------------------------------------------------- commitment (offset) */

.commitment__grid {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 0 clamp(2rem, 8vw, 7rem);
  align-items: start;
}
.commitment__figure-top {
  grid-column: 2;
  justify-self: end;
  width: 224px; aspect-ratio: 1;
  object-fit: cover;
  background: var(--placeholder);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.commitment__figure-side {
  grid-column: 1; grid-row: 2;
  width: 259px; height: 336px;
  object-fit: cover;
  background: var(--placeholder);
}
.commitment__text { grid-column: 2; grid-row: 2; }
.commitment__text .section-title { font-size: clamp(2rem, 4.5vw, 2.75rem); }
.commitment__text > p,
.commitment__text > ul { text-align: justify; hyphens: auto; }
.commitment__text ul { padding-left: 1.25rem; }
.commitment__text li { margin-bottom: .6em; }
.commitment__text .btn { margin-top: 1.5rem; }

@media (max-width: 820px) {
  .commitment__grid { grid-template-columns: 1fr; gap: 2rem; }
  .commitment__figure-top,
  .commitment__figure-side,
  .commitment__text { grid-column: 1; grid-row: auto; justify-self: start; }
  .commitment__figure-top { margin-bottom: 0; }
}

/* ------------------------------------------------------- testimonials */
/* Three static blocks: no JS, all three indexable, no motion to fight. */

.testimonials { text-align: center; }
.testimonials .section-title { text-align: center; }

.testimonial-list {
  display: grid;
  gap: clamp(2.75rem, 7vw, 4.5rem);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  max-width: 900px;
  padding: 0; list-style: none;
}
.testimonial { margin: 0; }
.testimonial__quote {
  font-family: var(--font-quote);
  font-size: clamp(1.25rem, 2.6vw, 1.6875rem);   /* 27px */
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .9rem;
}
.testimonial__quote p { margin: 0; }
.testimonial__author {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;                              /* 24px */
  letter-spacing: -.01em;
  line-height: 1.5;
}
.testimonial__author cite { font-style: normal; }

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

.site-footer { padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.site-footer__logo { width: clamp(240px, 45vw, 516px); margin-bottom: clamp(2rem, 5vw, 3rem); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4rem);
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
@media (min-width: 861px) {
  .footer__grid::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
    border-left: 1px solid var(--rule);
  }
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
}
.footer__details ul { margin: 0; padding: 0; list-style: none; }
.footer__details a { text-decoration: underline; text-underline-offset: 3px; }

.socials { display: flex; gap: 1rem; margin-top: 1.75rem; }
.socials a { display: inline-flex; }
.socials svg { width: 28px; height: 28px; fill: currentColor; }

.colophon {
  font-family: var(--font-ui);
  font-size: .875rem;
  text-align: right;
  padding-top: 1.5rem;
  color: var(--nav-ink);
}

/* ------------------------------------------------------------------ form */

.form__title { font-family: var(--font-quote); font-size: clamp(2rem, 5vw, 3.375rem); letter-spacing: -.02em; margin: 0 0 1.5rem; }

.field { display: grid; gap: .35rem; margin-bottom: 1.75rem; }
.field label, .fieldset__legend {
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
}
.field input {
  font: inherit;
  font-family: var(--font-ui);
  padding: .5rem 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  border-radius: 0;
}
.field input:focus { outline: none; border-bottom-width: 2px; }

.fieldset { border: 0; padding: 0; margin: 0 0 1.75rem; }
.fieldset__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .5rem 1.5rem;
  margin-top: .75rem;
}
.checkbox {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-ui); font-size: 1rem;
}
.checkbox input { width: 1rem; height: 1rem; accent-color: var(--ink); }

.form .btn { width: 100%; }
.form__note { font-family: var(--font-ui); font-size: .8125rem; color: var(--nav-ink); margin-top: .85rem; }
.form__status { font-family: var(--font-ui); font-size: .9375rem; margin-top: 1rem; }

/* -------------------------------------------------------- legal subpages */

.legal { padding-block: var(--section-y); }
.legal__body { max-width: 720px; }
.legal__body h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 2.5rem 0 1rem; }
