/* ==========================================================================
   EMY Nails & Thai Massage
   Spec: docs/superpowers/specs/2026-09-09-emy-salon-website-design.md
   Every colour, size and radius is a token. Nothing below :root is hard-coded.
   ========================================================================== */

:root {
  /* ground */
  --c-ivory:         #FBF7F2;
  --c-blush:         #F0E4D8;
  --c-white:         #FFFFFF;

  /* dark */
  --c-espresso:      #3B2A20;
  --c-espresso-deep: #2A1D16;
  --c-ink:           #2A211B;
  --c-muted:         #6B5B50;

  /* accent — one hue, three tuned steps. NOT interchangeable:
     --c-brass       decorative only  (white on it = 3.1:1, fails)
     --c-brass-dark  button fills     (white on it = 4.6:1, passes)
     --c-brass-text  text on light    (on ivory = 5.6:1, passes) */
  --c-brass:         #B08D57;
  --c-brass-dark:    #8F7043;
  --c-brass-text:    #7A5F38;
  --c-brass-soft:    rgba(176, 141, 87, .12);

  /* on dark */
  --c-on-dark:       #D8CEC5;
  --c-on-dark-dim:   #9E9188;

  /* utility */
  --c-line:          rgba(59, 42, 32, .12);
  --c-line-dark:     rgba(255, 255, 255, .12);
  --c-star:          #C9A227;
  --c-open:          #5FA777;
  --c-closed:        #C98A3E;

  /* type */
  --font-display: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero:    clamp(3.25rem, 14vw, 10rem);
  --fs-h1:      clamp(1.75rem, 4.2vw, 2.9rem);
  --fs-h2:      clamp(1.6rem, 3.6vw, 2.6rem);
  --fs-h3:      1.25rem;
  --fs-lead:    clamp(1rem, 1.4vw, 1.125rem);
  --fs-body:    1rem;
  --fs-sm:      .875rem;
  --fs-eyebrow: .75rem;

  /* space */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --container: 1200px;
  --gutter:    clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 10vw, 128px);
  --header-h:  72px;

  --radius-sm: 4px; --radius: 10px; --radius-lg: 18px; --radius-pill: 999px;

  --shadow-card: 0 4px 24px rgba(59, 42, 32, .08);
  --shadow-lift: 0 12px 40px rgba(59, 42, 32, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------------------------------------------------------------- reset */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-ivory);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-brass-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-espresso); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--c-brass-dark);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--c-brass-soft); }

/* --------------------------------------------------------------- layout */

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

.section { padding-block: var(--section-y); }
.section--blush { background: var(--c-blush); }
.section--dark  { background: var(--c-espresso); color: var(--c-on-dark); }

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-espresso);
  color: var(--c-ivory);
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; top: 0; color: var(--c-ivory); }

/* section header pattern */
.sec-head { max-width: 56ch; margin: 0 auto var(--sp-7); text-align: center; }
.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-brass-text);
  margin-bottom: var(--sp-3);
}
.section--dark .eyebrow { color: var(--c-brass); }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head .lead {
  font-size: var(--fs-lead);
  color: var(--c-muted);
  margin-top: var(--sp-4);
}

.lotus { display: block; margin: 0 auto var(--sp-5); fill: var(--c-brass); }
.lotus--divider { opacity: .5; width: 40px; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 240ms var(--ease), color 240ms var(--ease),
              transform 240ms var(--ease), border-color 240ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--c-brass-dark); color: var(--c-white); }
.btn--primary:hover { background: var(--c-espresso); color: var(--c-white); }

.btn--outline { border-color: var(--c-espresso); color: var(--c-ink); }
.btn--outline:hover { background: var(--c-espresso); color: var(--c-ivory); }

.btn--onDark { border-color: rgba(255, 255, 255, .5); color: var(--c-white); }
.btn--onDark:hover { background: var(--c-white); color: var(--c-espresso); }

.btn svg { flex: none; }

/* ---------------------------------------------------------- utility bar */

.utility {
  background: var(--c-espresso);
  color: var(--c-on-dark);
  font-size: var(--fs-sm);
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 40px;
}
.utility__group { display: flex; align-items: center; gap: var(--sp-5); }
.utility a { color: var(--c-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: var(--sp-2); }
.utility a:hover { color: var(--c-white); }

.langswitch { display: inline-flex; align-items: center; gap: var(--sp-2); }
.langswitch a { opacity: .6; }
.langswitch a:hover { opacity: 1; }
.langswitch [aria-current="true"] { opacity: 1; font-weight: 700; }
.langswitch span[aria-hidden] { opacity: .35; }

@media (max-width: 767px) { .utility { display: none; } }

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  transition: box-shadow 240ms var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-card); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; border-radius: var(--radius-sm); }
.brand__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; display: block; }
.brand__sub {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav a {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  text-decoration: none;
  padding-block: var(--sp-2);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--c-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--c-brass-text); }

.header__cta { display: inline-flex; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 1023px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--c-espresso);
  color: var(--c-ivory);
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--gutter) calc(var(--sp-8) + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-7); }
.drawer__close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-sm); color: var(--c-ivory); cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; gap: var(--sp-5); }
.drawer nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-ivory);
  text-decoration: none;
}
.drawer__foot { margin-top: auto; padding-top: var(--sp-7); display: grid; gap: var(--sp-3); }
.drawer .langswitch { justify-content: center; padding-top: var(--sp-5); }
.drawer .langswitch a { color: var(--c-ivory); }

body.is-locked { overflow: hidden; }

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

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--c-white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(42, 29, 22, .58) 0%,
    rgba(42, 29, 22, .34) 45%,
    rgba(42, 29, 22, .70) 100%);
}
.hero__inner { position: relative; padding-block: var(--sp-9); }

.hero__word {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 1;
  opacity: .92;
  margin-bottom: var(--sp-4);
}
.hero h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.hero__strap {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, .88);
  max-width: 44ch;
  margin-inline: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14);
  font-size: var(--fs-sm);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-open); flex: none; }
.pill.is-closed .pill__dot { background: var(--c-closed); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-6);
}

.hero__rating {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.stars { display: inline-flex; gap: 2px; color: var(--c-star); }
.stars svg { fill: currentColor; }

/* -------------------------------------------------------- trust strip */

.trust { background: var(--c-blush); padding-block: var(--sp-7); }
.trust ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  text-align: center;
}
.trust li { display: grid; justify-items: center; gap: var(--sp-2); font-size: var(--fs-sm); }
.trust svg { color: var(--c-brass-text); }
@media (min-width: 640px)  { .trust ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust ul { grid-template-columns: repeat(6, 1fr); } }

/* ----------------------------------------------------------- services */

.crafts { display: grid; gap: var(--sp-8); }
@media (min-width: 900px) {
  .crafts { grid-template-columns: 1fr 1px 1fr; gap: var(--sp-8); }
  .crafts__rule { background: var(--c-line); }
}
@media (max-width: 899px) { .crafts__rule { height: 1px; background: var(--c-line); } }

.craft__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  text-align: center;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-line);
}
.craft__list { display: grid; gap: var(--sp-4); }

.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-6);
  transition: box-shadow 240ms var(--ease), transform 240ms var(--ease);
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.card h4 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-sm); color: var(--c-muted); }
.card__icon { color: var(--c-brass-text); margin-bottom: var(--sp-4); }
.card__link {
  display: inline-block;
  margin-top: var(--sp-2);
  padding-block: var(--sp-2);   /* 24px text box -> 40px target (WCAG 2.2 SC 2.5.8) */
  font-size: var(--fs-sm);
  color: var(--c-brass-text);
  text-decoration: none;
}
.card__link:hover { text-decoration: underline; }

.craft__photo {
  margin-top: var(--sp-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.craft__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- prices */

.prices { max-width: 820px; margin-inline: auto; }
.prices__note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  max-width: 60ch;
  margin: 0 auto var(--sp-7);
}

.acc {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-4);
  overflow: hidden;
}
.acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: var(--c-brass-soft); }
.acc__count { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--c-muted); margin-left: auto; }
.acc__chev { color: var(--c-brass-text); transition: transform 240ms var(--ease); flex: none; }
.acc[open] .acc__chev { transform: rotate(180deg); }
.acc__body { padding: 0 var(--sp-6) var(--sp-5); }

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
  border-top: 1px solid var(--c-line);
}
.price-row__name { flex: 1 1 auto; }
.price-row__dur { display: block; font-size: var(--fs-sm); color: var(--c-muted); }
.price-row__val {
  flex: none;
  font-weight: 500;
  color: var(--c-brass-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .price-row__name { display: flex; align-items: baseline; gap: var(--sp-3); }
  .price-row__dur { display: inline; }
  .price-row::after {
    content: "";
    flex: 1 1 auto;
    order: 1;
    margin-bottom: 4px;
    border-bottom: 1px dotted var(--c-line);
    min-width: var(--sp-5);
  }
  .price-row__val { order: 2; }
}

.prices__cta { text-align: center; margin-top: var(--sp-7); }

/* ------------------------------------------------------------ gallery */

.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.tile:hover img { transform: scale(1.04); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--c-brass);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}
.tile:hover::after { opacity: .08; }

.gallery__more { text-align: center; margin-top: var(--sp-6); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(42, 29, 22, .94);
  display: grid;
  place-items: center;
  padding: var(--sp-5);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--c-white);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: var(--sp-5); right: var(--sp-5); }
.lightbox__prev { left: var(--sp-5); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--sp-5); top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ reviews */

.rating-block { text-align: center; margin-bottom: var(--sp-7); }
.rating-block__score { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1; }
.rating-block .stars { margin-block: var(--sp-3); justify-content: center; }
.rating-block__meta { font-size: var(--fs-sm); color: var(--c-muted); }

.reviews { display: grid; gap: var(--sp-5); }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.review { background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--sp-6); }
.review blockquote { margin: var(--sp-4) 0; font-size: var(--fs-body); }
.review footer { font-size: var(--fs-sm); color: var(--c-muted); }
.review__author { font-weight: 500; color: var(--c-ink); }
.review__orig { font-size: var(--fs-eyebrow); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }

.reviews__more { text-align: center; margin-top: var(--sp-6); }
.reviews__more a { display: inline-block; padding-block: var(--sp-2); }

/* -------------------------------------------------------------- about */

.about { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: var(--sp-8); } }
.about__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-5); }

.pullquote {
  margin: var(--sp-6) 0;
  padding-left: var(--sp-5);
  border-left: 2px solid var(--c-brass);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--c-brass-text);
}

.pills { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: var(--sp-6) 0 0; padding: 0; }
.pills li {
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--c-brass);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  color: var(--c-brass-text);
}

/* -------------------------------------------------------------- visit */

.visit { display: grid; gap: var(--sp-7); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }

.info { display: grid; gap: var(--sp-6); }
.info__item { display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-4); align-items: start; }
.info__item svg { color: var(--c-brass-text); margin-top: 3px; }
.info h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.info a { color: var(--c-brass-text); }

.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-top: var(--sp-2); }
.hours th, .hours td { text-align: left; padding: var(--sp-2) var(--sp-3); font-weight: 400; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--c-brass-soft); font-weight: 500; border-radius: var(--radius-sm); }

.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  background: var(--c-blush);
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-6);
  border: 0;
  background: var(--c-blush);
  cursor: pointer;
  text-align: center;
}
.map__placeholder span { font-size: var(--fs-sm); color: var(--c-muted); max-width: 30ch; }

/* ----------------------------------------------------------- cta band */

.cta { text-align: center; }
.cta h2 { font-size: var(--fs-h2); color: var(--c-ivory); margin-bottom: var(--sp-3); }
.cta p { color: var(--c-on-dark); margin-bottom: var(--sp-6); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

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

.footer { background: var(--c-espresso-deep); color: var(--c-on-dark); padding-block: var(--sp-8) var(--sp-5); }
.footer__grid { display: grid; gap: var(--sp-7); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; gap: var(--sp-8); } }
.footer h3 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-brass);
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer a { color: var(--c-on-dark); text-decoration: none; }
.footer ul a { display: inline-block; padding-block: var(--sp-1); }
.footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer .brand__name { color: var(--c-ivory); }
.footer .brand__sub { color: var(--c-on-dark-dim); }
.footer__strap { margin-top: var(--sp-4); font-size: var(--fs-sm); max-width: 34ch; }
.footer__social { display: flex; gap: var(--sp-4); margin-top: var(--sp-5); }

.footer__bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--c-on-dark-dim);
}
.footer__bottom a { color: var(--c-on-dark-dim); }

/* -------------------------------------------------- mobile action bar */

.actionbar { display: none; }
@media (max-width: 767px) {
  .actionbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: calc(56px + env(safe-area-inset-bottom));
    background: var(--c-white);
    box-shadow: 0 -4px 24px rgba(59, 42, 32, .14);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-height: 56px;
    padding: var(--sp-2);
    align-content: center;
    color: var(--c-ink);
    text-decoration: none;
    font-size: var(--fs-eyebrow);
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .actionbar a + a { border-left: 1px solid var(--c-line); }
  .actionbar svg { color: var(--c-brass-text); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  body.is-locked .actionbar { display: none; }
}

/* -------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ 404 page */

.error-page { display: grid; place-items: center; text-align: center; min-height: 60vh; gap: var(--sp-5); }
.error-page h1 { font-size: var(--fs-h1); }
