:root {
  --wine: #6e2e34;
  --wine-deep: #4a2025;
  --wine-soft: #b46c72;
  --powder: #c1dbe8;
  --cream: #f5e6d1;
  --ink: #2e1719;
  --line: rgba(245, 230, 209, 0.18);
  --line-dark: rgba(110, 46, 52, 0.22);
  --shadow: 0 28px 90px rgba(26, 9, 12, 0.24);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Jura", sans-serif;
  --header-offset: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--cream);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top right, rgba(193, 219, 232, 0.1), transparent 22%),
    linear-gradient(180deg, #633037, var(--wine-deep) 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(26px);
}

.page-shell::before {
  top: 7rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(193, 219, 232, 0.14), transparent 70%);
}

.page-shell::after {
  bottom: 7rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(255, 200, 203, 0.12), transparent 70%);
}

.section,
.band__inner {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.band {
  width: 100%;
  padding: 5.5rem 0;
}

.band--light {
  color: var(--wine);
  background: var(--cream);
}

section[id] {
  scroll-margin-top: 9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--powder);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.band--light .eyebrow {
  color: var(--wine-soft);
}

.site-header {
  position: sticky;
  top: calc(var(--header-offset) + env(safe-area-inset-top));
  z-index: 20;
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin: 0.7rem auto 0;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(245, 230, 209, 0.12);
  border-radius: 999px;
  background: rgba(74, 32, 37, 0.6);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(24, 8, 11, 0.1);
}

.site-header.is-scrolled {
  border-color: rgba(245, 230, 209, 0.28);
  box-shadow: 0 16px 44px rgba(24, 8, 11, 0.16);
}

.site-brand {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(245, 230, 209, 0.84);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--wine-deep);
  background: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--ghost {
  color: var(--cream);
  border-color: rgba(245, 230, 209, 0.24);
  background: rgba(245, 230, 209, 0.04);
}

.button--small {
  min-height: 2.7rem;
  padding-inline: 1.1rem;
  font-size: 0.74rem;
}

.cover {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: calc(100svh - 7rem);
  padding-top: 5.4rem;
}

.cover__media {
  overflow: hidden;
  border: 1px solid rgba(245, 230, 209, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  aspect-ratio: 0.88 / 1.08;
}

.cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cover__text {
  padding-bottom: 0.8rem;
  margin-left: -3rem;
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.cover__text h1,
.about__copy h2,
.services__intro h2,
.gallery__heading h2,
.contact__panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.cover__subtitle,
.about__kicker {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cover__subtitle {
  color: rgba(245, 230, 209, 0.9);
}

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.about__media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(74, 32, 37, 0.14);
}

.about__media img {
  width: 100%;
  aspect-ratio: 0.82 / 1;
  object-fit: cover;
}

.about__copy {
  padding-top: 1rem;
}

.about__copy h2 {
  margin-top: 0.2rem;
}

.about__copy p {
  max-width: 37rem;
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(110, 46, 52, 0.9);
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.about__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(110, 46, 52, 0.12);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(110, 46, 52, 0.7);
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(245, 230, 209, 0.16);
}

.services__photo {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(245, 230, 209, 0.14);
  box-shadow: var(--shadow);
}

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

.services__list {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 230, 209, 0.18);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  max-width: 44rem;
}

.services__list p {
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(245, 230, 209, 0.14);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 230, 209, 0.9);
}

.gallery__heading {
  max-width: 40rem;
}

.gallery__heading p:last-child {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(110, 46, 52, 0.86);
  text-wrap: balance;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.gallery-card {
  grid-column: span 4;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  background: #fff5ea;
  box-shadow: 0 24px 60px rgba(74, 32, 37, 0.12);
}

.gallery-card--tall {
  grid-row: span 2;
}

.gallery-card--wide {
  grid-column: span 8;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.gallery-card--tall img {
  min-height: 100%;
}

.gallery-card figcaption {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine-soft);
}

.contact {
  position: relative;
  isolation: isolate;
}

.contact__art {
  position: absolute;
  top: 1rem;
  right: 0;
  width: min(32rem, 74%);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

.contact__panel {
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(245, 230, 209, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(193, 219, 232, 0.12), transparent 18%),
    linear-gradient(135deg, rgba(74, 32, 37, 0.72), rgba(74, 32, 37, 0.5));
  backdrop-filter: blur(12px);
}

.contact__panel h2 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.contact__panel p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(245, 230, 209, 0.84);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.site-footer {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(245, 230, 209, 0.68);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .cover,
  .about,
  .services__intro {
    grid-template-columns: 1fr;
  }

  .cover__text {
    margin-left: 0;
    max-width: none;
  }

  .gallery-card,
  .gallery-card--wide {
    grid-column: span 6;
  }

  .gallery-card--tall {
    grid-row: auto;
  }
}

@media (max-width: 780px) {
  .section,
  .band__inner {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .section,
  .band {
    padding: 4.25rem 0;
  }

  .site-header {
    width: min(calc(100% - 1.5rem), var(--max-width));
    top: calc(14px + env(safe-area-inset-top));
    margin-top: 0.35rem;
    padding: 0.95rem 1.2rem 1rem;
    border-radius: 999px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 0.75rem 1rem;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .site-brand {
    font-size: 1.2rem;
  }

  .site-header .button {
    display: none;
  }

  .cover {
    min-height: auto;
    padding-top: 3.1rem;
  }

  .cover__text {
    order: -1;
  }

  .cover__text h1,
  .about__copy h2,
  .services__intro h2,
  .gallery__heading h2,
  .contact__panel h2 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .cover__actions,
  .contact__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cover__media {
    aspect-ratio: 1 / 1.05;
    border-radius: 34px;
  }

  .about__media,
  .services__photo,
  .gallery-card,
  .contact__panel {
    border-radius: 32px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card--wide {
    grid-column: auto;
  }

  .site-footer {
    width: min(calc(100% - 1.5rem), var(--max-width));
    flex-direction: column;
    padding-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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