/* ==========================================================================
   Priscila Bertolaccini · Quiet luxury salon
   ========================================================================== */

:root {
  --color-bg: #F7F3EE;
  --color-bg-elevated: #FFFCF8;
  --color-bg-dark: #1C1A18;
  --color-text: #1C1A18;
  --color-text-muted: #6B6560;
  --color-text-on-dark: #F7F3EE;
  --color-accent: #8A7355;
  --color-accent-soft: #C4B09A;
  --color-line: rgba(28, 26, 24, 0.12);
  --color-cta: #1C1A18;
  --color-cta-text: #F7F3EE;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --text-hero: clamp(2.5rem, 7vw, 4.1rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-body: clamp(1rem, 1.2vw, 1.125rem);
  --text-small: 0.875rem;
  --page-pad: clamp(1.25rem, 4vw, 3.5rem);
  --max-width: 72rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 400ms;
  --dur-2: 800ms;
  --header-h: 4rem;
  --radius-sm: 2px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

p + p {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.container {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.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;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}

.btn-primary {
  background: var(--color-text-on-dark);
  color: var(--color-bg-dark);
}

.btn-primary:hover {
  background: var(--color-accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 1px solid rgba(247, 243, 238, 0.5);
}

.btn-ghost:hover {
  border-color: var(--color-text-on-dark);
}

.btn-dark {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

.btn-dark:hover {
  background: #3A3530;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-inline: var(--page-pad);
  color: var(--color-text-on-dark);
  background: transparent;
  transition:
    background var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--max-width));
  margin-inline: auto;
  gap: 1.5rem;
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.site-header__nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity var(--dur-1) var(--ease-out);
}

.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] {
  opacity: 1;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.site-header__cta {
  display: none;
}

.site-header__cta.btn {
  min-height: 2.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
}

.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.site-header__toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur-1) var(--ease-out), opacity var(--dur-1) var(--ease-out);
}

.site-header.is-scrolled,
.site-header.is-solid {
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-line);
}

.site-header.is-scrolled .btn-ghost,
.site-header.is-solid .btn-ghost {
  color: var(--color-text);
  border-color: var(--color-line);
}

.site-header.is-scrolled .btn-ghost:hover,
.site-header.is-solid .btn-ghost:hover {
  border-color: var(--color-text);
}

.site-header.is-scrolled .btn-primary,
.site-header.is-solid .btn-primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

.site-header.is-scrolled .btn-primary:hover,
.site-header.is-solid .btn-primary:hover {
  background: #3A3530;
}

@media (min-width: 901px) {
  .site-header__nav {
    display: flex;
  }

  .site-header__cta {
    display: inline-flex;
  }

  .site-header__toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Nav drawer (mobile)
   -------------------------------------------------------------------------- */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 24, 0.45);
  opacity: 0;
  transition: opacity var(--dur-1) var(--ease-out);
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 20rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) var(--page-pad) 2rem;
  background: var(--color-bg-elevated);
  transform: translateX(100%);
  transition: transform var(--dur-1) var(--ease-out);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__close {
  position: absolute;
  top: 1.1rem;
  right: var(--page-pad);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  transition:
    border-color var(--dur-1) var(--ease-out),
    background var(--dur-1) var(--ease-out);
}

.nav-drawer__close:hover {
  border-color: var(--color-text);
  background: var(--color-bg);
}

.nav-drawer__close span {
  position: absolute;
  width: 0.95rem;
  height: 1px;
  background: var(--color-text);
}

.nav-drawer__close span:first-child {
  transform: rotate(45deg);
}

.nav-drawer__close span:last-child {
  transform: rotate(-45deg);
}

.nav-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.nav-drawer__list a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-line);
}

.nav-drawer__cta {
  margin-top: 1.5rem;
}

.nav-drawer__cta .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--color-text-on-dark);
  text-align: left;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  animation: hero-ken 14s var(--ease-out) forwards;
}

.hero[data-variant="acao"] .hero-media img,
.hero[data-variant="acao"] .hero-media video {
  object-position: center 28%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(28, 26, 24, 0.42) 0%,
      rgba(28, 26, 24, 0.08) 18%,
      rgba(28, 26, 24, 0.08) 38%,
      rgba(28, 26, 24, 0.45) 58%,
      rgba(28, 26, 24, 0.92) 100%
    ),
    linear-gradient(
      90deg,
      rgba(28, 26, 24, 0.5) 0%,
      rgba(28, 26, 24, 0.18) 48%,
      transparent 78%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 36rem);
  padding: var(--page-pad);
  padding-bottom: clamp(1.25rem, 4vh, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: hero-rise 0.9s var(--ease-out) both;
}

h1.brand {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

h1.brand span,
.brand-rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent-soft);
  margin-top: 0.75rem;
}

.hero .lede {
  font-size: clamp(1.02rem, 3.1vw, 1.175rem);
  line-height: 1.65;
  color: rgba(247, 243, 238, 0.94);
  max-width: 32ch;
  margin: 0 0 1.25rem;
  font-weight: 400;
}

.hero .ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  width: 100%;
  max-width: 22rem;
}

.hero .ctas .btn {
  flex: 1 1 0;
  padding: 0.7rem 0.75rem;
}

@media (max-width: 700px) {
  .hero {
    align-items: stretch;
  }

  .hero-media img,
  .hero-media video {
    object-position: center 12%;
  }

  .hero[data-variant="acao"] .hero-media img,
  .hero[data-variant="acao"] .hero-media video {
    object-position: center 18%;
  }

  .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 69%;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 0 1.1rem 1.15rem;
    justify-content: flex-start;
  }

  h1.brand {
    font-size: clamp(1.95rem, 8vw, 2.4rem);
    margin-bottom: 0.45rem;
  }

  h1.brand span,
  .brand-rule {
    width: 2rem;
    margin-top: 0.55rem;
  }

  .hero .lede {
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 36ch;
    margin-bottom: 0.9rem;
  }

  .hero .ctas {
    max-width: none;
    gap: 0.45rem;
  }

  .hero .ctas .btn {
    min-height: 2.55rem;
    padding: 0.55rem 0.4rem;
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  min-height: clamp(28rem, 72vh, 38rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--color-text-on-dark);
  text-align: left;
}

.page-hero .hero-media img,
.page-hero .hero-media video {
  object-position: center center;
  animation: none;
}

.page-hero .hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(28, 26, 24, 0.05) 0%,
      rgba(28, 26, 24, 0.35) 55%,
      rgba(28, 26, 24, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(28, 26, 24, 0.42) 0%,
      rgba(28, 26, 24, 0.12) 50%,
      transparent 75%
    );
}

.page-hero .hero-content {
  width: min(100%, 42rem);
  padding-top: calc(var(--header-h) + 2rem);
  animation: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  margin-bottom: 0.5rem;
}

.page-hero .lede {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: rgba(247, 243, 238, 0.9);
  max-width: 38ch;
  margin-bottom: 1.25rem;
}

.page-hero--compact {
  min-height: clamp(22rem, 55vh, 30rem);
}

.page-hero--text-only {
  min-height: auto;
  padding-block: calc(var(--header-h) + 3rem) 3rem;
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.page-hero--text-only .hero-overlay,
.page-hero--text-only .hero-media {
  display: none;
}

@media (max-width: 700px) {
  .page-hero .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 69%;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 0 1.1rem 1.15rem;
    padding-top: 0;
  }

  .page-hero--text-only .hero-content {
    position: relative;
    top: auto;
    bottom: auto;
    padding: calc(var(--header-h) + 2rem) 1.1rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section--flush .results-grid,
.section--flush .gallery {
  width: 100%;
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-dark .section-intro p {
  color: rgba(247, 243, 238, 0.72);
}

.section-intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 36rem;
}

.section-intro h2 {
  margin-bottom: 0.75rem;
}

.section-intro p {
  color: var(--color-text-muted);
  max-width: 42ch;
}

.section-intro .brand-rule {
  margin-bottom: 1rem;
}

.section-dark .section-intro .brand-rule {
  background: var(--color-accent-soft);
}

/* --------------------------------------------------------------------------
   Specialties
   -------------------------------------------------------------------------- */

.specialties {
  display: flex;
  flex-direction: column;
}

.specialty-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: clamp(1.15rem, 3vw, 1.65rem);
  border-bottom: 1px solid var(--color-line);
  transition: color var(--dur-1) var(--ease-out);
}

.specialty-row:first-child {
  border-top: 1px solid var(--color-line);
}

.specialty-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.specialty-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.specialty-row__desc {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  max-width: 40ch;
}

.specialty-row__arrow {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.45;
  transition:
    transform var(--dur-1) var(--ease-out),
    opacity var(--dur-1) var(--ease-out);
}

.specialty-row:hover .specialty-row__name {
  color: var(--color-accent);
}

.specialty-row:hover .specialty-row__arrow {
  opacity: 1;
  transform: translateX(3px);
}

.section-dark .specialty-row {
  border-color: rgba(247, 243, 238, 0.12);
}

.section-dark .specialty-row__desc {
  color: rgba(247, 243, 238, 0.65);
}

.section-dark .specialty-row:hover .specialty-row__name {
  color: var(--color-accent-soft);
}

/* --------------------------------------------------------------------------
   Results grid
   -------------------------------------------------------------------------- */

.results-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.35rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.results-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.results-grid__item--wide {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.results-grid__item img,
.results-grid__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .results-grid__item,
  .results-grid__item--wide {
    grid-row: auto;
    aspect-ratio: 4 / 5;
    min-height: auto;
  }
}

/* --------------------------------------------------------------------------
   Split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__media {
  overflow: hidden;
}

.split__media img,
.split__media video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split__content {
  padding-inline: var(--page-pad);
}

.split__content h2 {
  margin-bottom: 1rem;
}

.split__content p {
  color: var(--color-text-muted);
  max-width: 42ch;
}

.split__content .btn {
  margin-top: 1.5rem;
}

.section-dark .split__content p {
  color: rgba(247, 243, 238, 0.72);
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .split--reverse {
    direction: ltr;
  }

  .split__content {
    padding-bottom: 0.25rem;
  }
}

@media (min-width: 769px) {
  .split__content {
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
  }
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.gallery--feed {
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery--feed .gallery__item {
  aspect-ratio: 3 / 4;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-2) var(--ease-out);
}

.gallery__item:hover img,
.gallery__item:hover video {
  transform: scale(1.03);
}

@media (min-width: 900px) {
  .gallery--feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery:not(.gallery--feed) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
  }
}

/* --------------------------------------------------------------------------
   Filters (trabalhos)
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line);
}

.filters button,
.filters a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition:
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}

.filters button:hover,
.filters a:hover,
.filters button[aria-pressed="true"],
.filters a[aria-current="true"] {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  text-align: left;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 18ch;
}

.cta-band p {
  color: rgba(247, 243, 238, 0.72);
  max-width: 36ch;
  margin-top: 0.5rem;
}

.cta-band .btn-primary {
  background: var(--color-text-on-dark);
  color: var(--color-bg-dark);
}

.cta-band .btn-primary:hover {
  background: var(--color-accent-soft);
}

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

.site-footer {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  border-top: 1px solid rgba(247, 243, 238, 0.08);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.site-footer__meta {
  font-size: var(--text-small);
  color: rgba(247, 243, 238, 0.6);
  line-height: 1.55;
}

.site-footer__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: flex-end;
}

.site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(247, 243, 238, 0.22);
  color: rgba(247, 243, 238, 0.82);
  transition:
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out),
    background var(--dur-1) var(--ease-out);
}

.site-footer__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.site-footer__icon:hover {
  color: var(--color-text-on-dark);
  border-color: rgba(247, 243, 238, 0.55);
  background: rgba(247, 243, 238, 0.06);
}

.site-footer__links a {
  color: rgba(247, 243, 238, 0.7);
  transition: color var(--dur-1) var(--ease-out);
}

.site-footer__links a:hover {
  color: var(--color-accent-soft);
}

.site-footer__tagline {
  font-size: var(--text-small);
  color: rgba(247, 243, 238, 0.6);
  max-width: 28ch;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

.site-footer__nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.7);
  transition: color var(--dur-1) var(--ease-out);
}

.site-footer__nav a:hover {
  color: var(--color-text-on-dark);
}

.site-footer__contact {
  text-align: right;
}

.site-footer__contact a {
  font-size: var(--text-small);
  color: rgba(247, 243, 238, 0.75);
  transition: color var(--dur-1) var(--ease-out);
}

.site-footer__contact a:hover {
  color: var(--color-accent-soft);
}

.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 243, 238, 0.08);
  font-size: 0.75rem;
  color: rgba(247, 243, 238, 0.45);
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__contact {
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Sticky CTA (mobile)
   -------------------------------------------------------------------------- */

.sticky-cta {
  display: none;
}

@media (max-width: 900px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0.65rem var(--page-pad);
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-line);
  }

  .sticky-cta .btn {
    width: 100%;
    min-height: 2.85rem;
  }

  body.has-sticky-cta {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content {
    animation: none;
  }

  .hero-media img,
  .hero-media video {
    animation: none;
  }

  .gallery__item:hover img,
  .gallery__item:hover video {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}
