/* === Tokens === */
:root {
  --bg: #0c0f0d;
  --bg-elevated: #141a16;
  --bg-muted: #101512;
  --surface: #1b2320;
  --border: rgba(232, 228, 220, 0.08);
  --text: #e8e4dc;
  --text-muted: rgba(232, 228, 220, 0.62);
  --accent: #c9a962;
  --accent-soft: rgba(201, 169, 98, 0.15);
  --sage: #6d8f78;
  --sage-dim: rgba(109, 143, 120, 0.25);
  --radius: 14px;
  --radius-lg: 22px;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

.wrap {
  width: min(1120px, calc(100vw - 2 * max(1rem, 4vw)));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-bottom: 1rem;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(12, 15, 13, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header__inner {
  width: min(1120px, calc(100vw - 2 * max(1rem, 4vw)));
  max-width: 100%;
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-weight: 600;
  font-size: clamp(0.88rem, 2.8vw, 1rem);
  letter-spacing: -0.02em;
  min-width: 0;
}

.logo__mark {
  color: var(--accent);
  font-size: 1.1rem;
}

.logo__accent {
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.2rem;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--text);
}

.nav__list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.nav__cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent) !important;
  border: 1px solid rgba(201, 169, 98, 0.35);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav__list {
    position: fixed;
    z-index: 200;
    top: max(4.5rem, calc(3.25rem + env(safe-area-inset-top, 0px)));
    right: max(1rem, env(safe-area-inset-right, 0px), 4vw);
    left: max(1rem, env(safe-area-inset-left, 0px), 4vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    max-height: min(32rem, calc(100dvh - 5.5rem - env(safe-area-inset-top, 0px)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav.is-open .nav__list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__list li {
    border-bottom: 1px solid var(--border);
  }

  .nav__list li:last-child {
    border-bottom: 0;
  }

  .nav__list a {
    display: block;
    padding: 0.9rem 1rem;
  }

  .nav.is-open .nav__toggle-bar:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav.is-open .nav__toggle-bar:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(6.75rem, 11vw, 8.75rem);
  padding-bottom: max(clamp(2.75rem, 6vw, 4.5rem), env(safe-area-inset-bottom, 0px));
  padding-left: max(clamp(1.25rem, 5vw, 3rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1.25rem, 5vw, 3rem), env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

/* В герое .wrap не должен тянуть 92vw — иначе текст шире колонки и прилипает к краям */
.hero > .wrap.hero__content {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(6.25rem, 14vw, 7.5rem);
    min-height: auto;
  }
}

@media (max-width: 960px) and (max-height: 520px) {
  .hero {
    padding-top: 5.25rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }

  .hero__visual {
    height: min(200px, 38vh);
  }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 228, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 228, 220, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, black, transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.25rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, calc(0.85rem + 5.2vw), 4.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  overflow-wrap: anywhere;
}

@supports (text-wrap: balance) {
  .hero__title {
    text-wrap: balance;
  }
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__lead {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, #d4b56a, #a88b4a);
  color: #1a1510;
  box-shadow: 0 12px 40px rgba(201, 169, 98, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 16px 48px rgba(201, 169, 98, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(232, 228, 220, 0.25);
}

.btn--block {
  width: 100%;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 0;
}

@media (max-width: 520px) {
  .hero__stats {
    gap: 1.25rem 2rem;
  }
}

.hero__stats dt {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--text);
}

.hero__stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__visual {
  position: relative;
  height: 420px;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

@media (max-width: 960px) {
  .hero__visual {
    height: 280px;
    max-width: min(400px, 100%);
    margin-inline: auto;
  }
}

.hero__card {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
}

.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s var(--ease);
}

.hero__card:hover img {
  transform: scale(1.06);
}

.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(12, 15, 13, 0.15) 0%, transparent 42%, rgba(12, 15, 13, 0.45) 100%);
  z-index: 1;
}

.hero__card--1 {
  width: 72%;
  height: 58%;
  top: 6%;
  right: 0;
}

.hero__card--2 {
  width: 48%;
  height: 42%;
  bottom: 12%;
  left: 0;
}

.hero__card--3 {
  width: 38%;
  height: 32%;
  bottom: 0;
  right: 8%;
}

/* === Sections === */
.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding-top: 2rem;
}

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 0;
  }

  .section--tight {
    padding-top: 1.25rem;
  }

  .section__head {
    margin-bottom: 2rem;
  }

  .cta {
    padding: 3.25rem 0 4rem;
  }
}

.section--muted {
  background: var(--bg-muted);
}

.section__head {
  margin-bottom: 3rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section__sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.section__sub--narrow {
  max-width: 32ch;
  text-align: right;
}

@media (max-width: 640px) {
  .section__sub--narrow {
    text-align: left;
  }
}

/* === Services === */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(201, 169, 98, 0.35);
  transform: translateY(-3px);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 15, 13, 0.65), transparent 55%);
  pointer-events: none;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  padding: 1.35rem clamp(1rem, 4vw, 1.75rem) 1.5rem;
}

.service-card__icon {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--sage-dim);
  color: #b8d4bf;
}

/* === Timeline === */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.timeline__step {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.timeline__step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.timeline__step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.55s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(201, 169, 98, 0.18), transparent 45%),
    linear-gradient(320deg, rgba(109, 143, 120, 0.12), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05), transparent 40%);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(12, 15, 13, 0.92));
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(168px, 22vmin);
  }

  .gallery__item--lg {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 200px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .gallery {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
  }

  .gallery__item {
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    min-height: 12.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .gallery__item--lg {
    aspect-ratio: 16 / 10;
    min-height: 14rem;
  }

  .gallery__item--wide {
    aspect-ratio: 16 / 10;
  }

  .gallery__item--lg,
  .gallery__item--wide {
    grid-column: unset;
    grid-row: unset;
  }

  .gallery__item figcaption {
    font-size: 0.9375rem;
    line-height: 1.35;
    padding: 1rem 1.125rem 1.25rem;
    background: linear-gradient(transparent 0%, rgba(12, 15, 13, 0.55) 35%, rgba(12, 15, 13, 0.94) 100%);
  }

  .gallery__item::before {
    background: linear-gradient(180deg, transparent 35%, rgba(12, 15, 13, 0.25) 100%);
  }
}

/* === Pricing === */
.section--pricing {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-soft), transparent 55%), var(--bg);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.pricing-card--featured {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.12);
}

.pricing-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.pricing-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  padding-right: 0.5rem;
}

.pricing-card--featured h3 {
  padding-right: 6.75rem;
}

@media (max-width: 400px) {
  .pricing-card--featured h3 {
    padding-right: 0.5rem;
    padding-top: 2.25rem;
  }

  .pricing-card__badge {
    top: 0.85rem;
    left: 1rem;
    right: auto;
  }
}

.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  margin: 0 0 1.25rem;
  color: var(--accent);
}

.pricing-card__price span {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pricing-card li + li {
  margin-top: 0.4rem;
}

/* === Reviews === */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.review {
  margin: 0;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.review p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text);
}

.review footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === CTA / Form === */
.cta {
  padding: 5rem 0 6rem;
}

.cta__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 2.5rem 3rem;
  align-items: stretch;
  padding: 2.5rem;
  padding-left: max(2.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(2.5rem, env(safe-area-inset-right, 0px));
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: var(--shadow);
}

.cta__aside {
  min-height: 12rem;
}

.cta__photo {
  height: 100%;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (max-width: 820px) {
  .cta__inner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));
  }

  .cta__photo {
    min-height: 200px;
    max-height: 240px;
  }
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.cta__text p {
  margin: 0;
  color: var(--text-muted);
}

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.field input,
.field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.5);
}

.field--full {
  grid-column: span 2;
}

@media (max-width: 520px) {
  .cta__form {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: span 1;
  }
}

.cta__fine {
  grid-column: span 2;
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .cta__fine {
    grid-column: span 1;
  }
}

/* === Footer === */
.footer {
  padding: 2.5rem 0 max(3rem, calc(2rem + env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

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

.footer__links a:hover {
  text-decoration: underline;
}

/* === Reveal on scroll === */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__card img,
  .hero__card:hover img,
  .gallery__item img,
  .gallery__item:hover img {
    transform: none;
  }

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