/* Elle Rêve Estetica: shared styles for every page.
   Page-specific rules live in assets/css/pages/<page>.css. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */

@font-face {
  font-family: "Italiana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/italiana-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */

:root {
  /* Brand palette, sampled from the agency's posts */
  --blush: #FAD3D1;
  --blush-50: #FDF0EE;
  --blush-200: #F3CACA;
  --burgundy: #611327;
  --burgundy-600: #741D34;
  --petrol: #336474;
  --petrol-400: #47768B;
  --ivory: #FEFDFC;
  --sand: #F5EEE8;

  /* Text */
  --ink: #3B1A22;
  --ink-muted: #6E4A52;
  --line: rgba(97, 19, 39, 0.16);
  --line-strong: rgba(97, 19, 39, 0.38);

  /* Type */
  --font-display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display-xl: clamp(2.75rem, 1.4rem + 5.2vw, 6rem);
  --fs-display-l: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem);
  --fs-display-m: clamp(2rem, 1.35rem + 2.5vw, 3.4rem);
  --fs-display-s: clamp(1.55rem, 1.25rem + 1.2vw, 2.2rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;
  --body-weight: 320;

  /* Space and layout */
  --container: 76rem;
  --container-narrow: 46rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(4.5rem, 2.5rem + 6vw, 8.5rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --arch-radius: 999px 999px 0 0;
  --header-height: 5.25rem;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--body-weight);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--burgundy-600);
}

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: 500;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--burgundy);
  font-weight: 400;
  line-height: 1.1;
}

::selection {
  background: var(--blush);
  color: var(--burgundy);
}

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: var(--fs-small);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-2);
  color: var(--ivory);
}

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

/* ---------- Typography ---------- */

/* Display titles: thin high-contrast capitals, as in the posts */
.display-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.display-title {
  font-size: var(--fs-display-l);
}

.display-title--xl {
  font-size: var(--fs-display-xl);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: var(--fs-display-m);
}

.small-title {
  font-family: var(--font-display);
  font-size: var(--fs-display-s);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.12;
}

/* Small spaced capitals ("BIOLOGIQUE RECHERCHE", "ESTETICA") */
.eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--burgundy);
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.55;
  text-wrap: pretty;
}

.text-muted {
  color: var(--ink-muted);
}

/* The short rule under titles in the posts */
.rule {
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: var(--space-3) 0;
  background: currentColor;
  border: 0;
}

.centered {
  text-align: center;
}

.centered .rule {
  margin-inline: auto;
}

.prose > * + * {
  margin-top: 1em;
}

.prose p {
  margin: 0;
  max-width: 38em;
  text-wrap: pretty;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + 2 * var(--gutter));
}

.section {
  padding-block: var(--section-space);
}

.section--compact {
  padding-block: calc(var(--section-space) * 0.6);
}

/* Section backgrounds */
.bg-ivory {
  background: var(--ivory);
}

.bg-blush-light {
  background: var(--blush-50);
}

.bg-blush {
  background: var(--blush);
}

.bg-sand {
  background: var(--sand);
}

.bg-burgundy,
.bg-petrol {
  color: var(--ivory);
}

.bg-burgundy {
  background: var(--burgundy);
}

.bg-petrol {
  background: var(--petrol);
}

.bg-burgundy :is(h1, h2, h3, h4, .eyebrow),
.bg-petrol :is(h1, h2, h3, h4, .eyebrow) {
  color: inherit;
}

.bg-burgundy {
  --line: rgba(250, 211, 209, 0.22);
  --line-strong: rgba(250, 211, 209, 0.5);
}

.bg-petrol {
  --line: rgba(254, 253, 252, 0.22);
  --line-strong: rgba(254, 253, 252, 0.5);
}

.bg-burgundy a:hover,
.bg-petrol a:hover {
  color: var(--blush);
}

/* Inline SVG illustrations recolored on dark backgrounds */
:is(.bg-burgundy, .bg-petrol, .post-card--burgundy, .post-card--petrol) svg .line {
  fill: var(--ivory);
}

:is(.bg-burgundy, .bg-petrol, .post-card--burgundy, .post-card--petrol) svg .tint {
  fill: rgba(250, 211, 209, 0.16);
}

/* Section heading block */
.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-5);
}

.section-head.centered {
  margin-inline: auto;
}

.section-head .lead {
  margin: 0;
}

.grid-2 {
  display: grid;
  gap: var(--space-4) var(--space-5);
  align-items: center;
}

@media (min-width: 60em) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Decorations ---------- */

/* Four-point star and crescent moon from the illustration set, as CSS masks */
.star,
.moon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--shape) center / contain no-repeat;
  mask: var(--shape) center / contain no-repeat;
  vertical-align: middle;
}

.star {
  --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.6 7.2 16.8 11.4 24 12 16.8 12.6 12.6 16.8 12 24 11.4 16.8 7.2 12.6 0 12 7.2 11.4 11.4 7.2 12 0Z'/%3E%3C/svg%3E");
}

.moon {
  --shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.2 2.4A10 10 0 1 0 21.6 16 8.2 8.2 0 0 1 15.2 2.4Z'/%3E%3C/svg%3E");
}

/* Arched photo frame with a concentric outline, as in the illustrations */
.arch {
  position: relative;
  margin: 0;
  padding: 0.875rem 0.875rem 0;
}

.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: var(--arch-radius);
  pointer-events: none;
}

.arch img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--arch-radius);
}

.arch--plain {
  padding: 0;
}

.arch--plain::before {
  content: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--blush-50);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--burgundy-600);
  border-color: var(--burgundy-600);
  color: var(--ivory);
}

.btn--outline {
  background: transparent;
  color: var(--burgundy);
}

.btn--outline:hover {
  background: var(--burgundy);
  color: var(--blush-50);
}

.btn--light {
  background: var(--blush);
  border-color: var(--blush);
  color: var(--burgundy);
}

.btn--light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--burgundy);
}

.btn--outline-light {
  background: transparent;
  border-color: currentColor;
  color: var(--ivory);
}

.btn--outline-light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--burgundy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.centered .actions {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.link-arrow::after {
  content: "";
  width: 1.75em;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.link-arrow:hover::after {
  width: 2.5em;
}

/* ---------- Demo banner (remove before going live) ---------- */

.demo-banner {
  padding: 0.45rem var(--gutter);
  background: var(--burgundy);
  color: var(--blush);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

/* The blur lives on a layer behind the header, not on the header itself:
   a backdrop-filter on .site-header would make it the containing block
   of the fixed mobile menu, which then shrinks to the header's height. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(254, 253, 252, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-height);
}

.site-header__logo {
  display: block;
  flex: none;
  color: var(--burgundy);
}

.site-header__logo img {
  width: auto;
  height: 3rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--burgundy);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

/* Mobile menu: only when JavaScript is available, otherwise the links stay visible */
@media (max-width: 59.99em) {
  .site-header__logo img {
    height: 2.5rem;
  }

  .no-js .site-header__inner {
    flex-wrap: wrap;
    padding-block: var(--space-2);
  }

  .no-js .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0;
    border: 0;
    background: none;
    color: var(--burgundy);
    font: 400 var(--fs-eyebrow) / 1 var(--font-body);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-toggle__icon {
    position: relative;
    width: 1.75rem;
    height: 0.6rem;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
  }

  .menu-toggle__icon::before {
    top: 0;
  }

  .menu-toggle__icon::after {
    bottom: 0;
  }

  .menu-open .menu-toggle__icon::before {
    top: calc(50% - 0.5px);
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle__icon::after {
    bottom: calc(50% - 0.5px);
    transform: rotate(-45deg);
  }

  /* Logo and «Chiudi» stay above the open menu (they share its parent) */
  .js .site-header__logo,
  .js .menu-toggle {
    position: relative;
    z-index: 50;
  }

  /* The menu covers the whole screen; the top padding clears the header
     and the demo banner above it (header-height + up to two banner lines). */
  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-content: safe center;
    gap: var(--space-5);
    padding: calc(var(--header-height) + 4rem) var(--gutter) var(--space-5);
    overflow-y: auto;
    background: var(--blush);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .js.menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .js .site-nav__list {
    flex-direction: column;
    gap: var(--space-3);
  }

  .js .site-nav__list a {
    font-family: var(--font-display);
    font-size: var(--fs-display-m);
    letter-spacing: 0;
    line-height: 1.1;
  }

  /* Phone held sideways: smaller links and gaps so «Prenota» fits */
  @media (max-height: 30em) {
    .js .site-nav {
      gap: var(--space-3);
      padding-top: calc(var(--header-height) + 2.5rem);
      padding-bottom: var(--space-3);
    }

    .js .site-nav__list {
      gap: var(--space-2);
    }

    .js .site-nav__list a {
      font-size: var(--fs-display-s);
    }
  }

  /* Lock the page behind the menu on <html> only: overflow on <body>
     would make it the scroll container and unstick the header, which
     then scrolls away together with «Chiudi». */
  .menu-open {
    overflow: hidden;
  }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  padding-block: clamp(3.5rem, 2rem + 5vw, 7rem);
  background: var(--blush-50);
  overflow: hidden;
}

.page-hero__grid {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

.page-hero__text .lead {
  max-width: 34rem;
  margin: 0;
}

.page-hero__illus {
  justify-self: center;
  width: min(100%, 17rem);
}

.page-hero__illus img,
.page-hero__illus svg {
  width: 100%;
  height: auto;
}

@media (min-width: 60em) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .page-hero__illus {
    width: min(100%, 20rem);
  }
}

/* ---------- Post cards: the Instagram posts translated to the web ---------- */

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  overflow: hidden;
  background: var(--blush);
  color: var(--burgundy);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

a.post-card:hover {
  color: var(--burgundy);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(97, 19, 39, 0.45);
}

.post-card--burgundy,
a.post-card--burgundy:hover {
  background: var(--burgundy);
  color: var(--blush);
}

.post-card--petrol,
a.post-card--petrol:hover {
  background: var(--petrol);
  color: var(--ivory);
}

.post-card__title {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: inherit;
}

.post-card .eyebrow {
  position: relative;
  z-index: 1;
  margin: var(--space-3) 0 0;
  color: inherit;
}

.post-card .rule {
  position: relative;
  z-index: 1;
}

.post-card__text {
  position: relative;
  z-index: 1;
  max-width: 15rem;
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 350;
  line-height: 1.45;
}

.post-card__illus {
  position: absolute;
  right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  bottom: 0;
  width: 46%;
  max-height: 72%;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.post-card--burgundy img.post-card__illus,
.post-card--petrol img.post-card__illus {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.post-card__signature {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: var(--space-3);
}

.post-card__signature img {
  width: 7.5rem;
  height: auto;
}

/* Four pillars: il trattamento, il gesto, la persona, il luogo */
.pillars {
  display: grid;
  gap: var(--space-5) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pillar__illus {
  height: 9rem;
  margin-bottom: var(--space-3);
}

.pillar__illus img,
.pillar__illus svg {
  width: auto;
  height: 100%;
}

.pillar h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-display-s);
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* Instagram-like grid */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Closing call to action band */
.cta-band {
  padding-block: var(--section-space);
  text-align: center;
}

.cta-band .star {
  margin-bottom: var(--space-3);
  font-size: 1.5rem;
}

.cta-band .lead {
  max-width: 34rem;
  margin: var(--space-3) auto 0;
}

/* ---------- Contact details and forms ---------- */

.info-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}

.info-list dt {
  margin-bottom: 0.35rem;
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.info-list dd {
  margin: 0;
}

.form {
  display: grid;
  gap: var(--space-3);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-weight: 350;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 1px;
  border-color: var(--petrol);
}

.field--consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-small);
}

.field--consent input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.3rem;
  accent-color: var(--burgundy);
}

.form__result {
  padding: var(--space-3);
  border-left: 2px solid var(--petrol);
  background: var(--blush-50);
}

.demo-note {
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: var(--space-5);
  background: var(--burgundy);
  color: var(--blush);
  font-size: var(--fs-small);
  font-weight: 350;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--ivory);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
}

@media (min-width: 40em) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }
}

.site-footer__brand img {
  width: 11rem;
  height: auto;
  margin-bottom: var(--space-3);
}

.site-footer__brand p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.site-footer__title {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer__legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.site-footer__legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(250, 211, 209, 0.25);
}

.site-footer__legal p {
  margin: 0;
}

/* ---------- Gentle reveal on scroll (enabled by main.js) ---------- */

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
