:root {
  --warm-black: #120d0d;
  --wine-deep: #5a1623;
  --red-elegant: #9f1d2f;
  --red-accent: #d63b4f;
  --cream: #fff1df;
  --beige: #c89b63;
  --warm-gray: #c8b8ad;
  --white-warm: #fff7f0;
  --ink-soft: #2c1b1a;
  --line-dark: rgba(255, 247, 240, 0.16);
  --line-light: rgba(90, 22, 35, 0.16);
  --max-content: 1520px;
  --section-x: clamp(1rem, 4vw, 4.5rem);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink-soft);
  background: var(--warm-black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

.section-inner {
  width: min(100% - (var(--section-x) * 2), var(--max-content));
  margin-inline: auto;
}

.section-dark {
  color: var(--white-warm);
  background:
    linear-gradient(110deg, rgba(18, 13, 13, 0.98), rgba(90, 22, 35, 0.84)),
    var(--warm-black);
}

.section-wine {
  color: var(--white-warm);
  background:
    linear-gradient(145deg, rgba(18, 13, 13, 0.96), rgba(90, 22, 35, 0.96) 54%, rgba(159, 29, 47, 0.78)),
    var(--wine-deep);
}

.section-light {
  color: var(--ink-soft);
  background: linear-gradient(180deg, var(--white-warm), var(--cream));
}

.section-cream {
  color: var(--ink-soft);
  background:
    linear-gradient(135deg, rgba(255, 247, 240, 0.96), rgba(255, 241, 223, 0.92)),
    var(--cream);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, rgba(18, 13, 13, 0.88), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 7vh, 6rem) clamp(4.5rem, 8vh, 6.5rem);
}

.hero__stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 100%;
  width: 100dvw;
  max-width: 100dvw;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 66% 46%, rgba(214, 59, 79, 0.16), transparent 36%),
    linear-gradient(90deg, rgba(18, 13, 13, 0.95) 0%, rgba(18, 13, 13, 0.82) 31%, rgba(90, 22, 35, 0.36) 63%, rgba(18, 13, 13, 0.7) 100%),
    linear-gradient(180deg, rgba(18, 13, 13, 0.52) 0%, rgba(18, 13, 13, 0.12) 42%, rgba(18, 13, 13, 0.9) 100%);
}

.hero__visual {
  position: absolute;
  inset: calc(var(--hero-shift, 0px) * -1) 0 0;
  z-index: 2;
  width: 100%;
  height: calc(100% + 60px);
  transform: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 56% center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hero__copy {
  position: relative;
  z-index: 6;
  max-width: min(980px, 72vw);
}

.hero__brandline {
  margin: 0 0 clamp(2.5rem, 6vh, 4.6rem);
  color: var(--white-warm);
  font-family: var(--heading);
  font-size: clamp(1.85rem, 2.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1;
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  color: var(--beige);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 0.95;
}

h1 {
  max-width: 11.5ch;
  color: var(--white-warm);
  font-size: clamp(4rem, 5.65vw, 7.3rem);
  text-shadow: 0 0.9rem 3rem rgba(18, 13, 13, 0.82);
}

.hero__copy h1 {
  max-width: 13ch;
  font-size: clamp(4.35rem, 6.45vw, 8.5rem);
}

h2 {
  font-size: clamp(3rem, 5.4vw, 6.6rem);
}

h3 {
  font-size: clamp(1.65rem, 2vw, 2.2rem);
}

.hero__lead {
  max-width: 48rem;
  margin: 1.45rem 0 0;
  color: rgba(255, 247, 240, 0.84);
  font-size: clamp(1.08rem, 1.38vw, 1.34rem);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.55rem;
}

.hero__facts span {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.46rem 0.85rem;
  color: var(--cream);
  font-size: 0.96rem;
  font-weight: 700;
  border: 1px solid var(--line-dark);
  background: rgba(255, 247, 240, 0.08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.65rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.18rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.28) 48%, transparent 62% 100%);
  transform: translateX(-110%);
  transition: transform 600ms ease;
}

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

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(110%);
}

.btn--primary {
  color: var(--white-warm);
  background: linear-gradient(135deg, var(--red-elegant), var(--red-accent));
  box-shadow: 0 1rem 2.6rem rgba(159, 29, 47, 0.34);
}

.btn--ghost {
  color: var(--white-warm);
  border-color: var(--line-dark);
  background: rgba(255, 247, 240, 0.08);
}

.btn--dark {
  color: var(--white-warm);
  background: var(--warm-black);
}

.btn--line {
  color: var(--wine-deep);
  border-color: var(--line-light);
  background: transparent;
}

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

.hero__tagline {
  max-width: 28rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 241, 223, 0.72);
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.about {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  padding-block: clamp(5rem, 9vw, 9rem);
}

.about__inner,
.pricing__inner,
.impact__inner,
.location__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.about__copy p:not(.section-label),
.pricing__copy p,
.impact__copy p,
.location__copy p,
.final-cta__inner p {
  max-width: 42rem;
  color: rgba(44, 27, 26, 0.76);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
}

.about-ring-photo {
  display: grid;
  place-items: center;
  min-height: clamp(22rem, 42vw, 40rem);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.about-ring-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 500ms ease;
}

.about-ring-photo:hover img {
  transform: scale(1.025);
}

.experience {
  padding-block: clamp(5.5rem, 10vw, 10rem);
  overflow: hidden;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.4vw, 1.35rem);
}

.experience-card {
  min-height: 270px;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 247, 240, 0.09), rgba(255, 247, 240, 0.03));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 155, 99, 0.45);
  background: linear-gradient(145deg, rgba(255, 247, 240, 0.13), rgba(214, 59, 79, 0.08));
}

.card-index {
  display: inline-flex;
  margin-bottom: 2.4rem;
  color: var(--beige);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.experience-card p {
  margin: 1rem 0 0;
  color: rgba(255, 247, 240, 0.72);
}

.decorative-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.decorative-line::before,
.decorative-line::after {
  content: "";
  width: min(22vw, 280px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 99, 0.66));
}

.decorative-line::after {
  background: linear-gradient(90deg, rgba(200, 155, 99, 0.66), transparent);
}

.decorative-line span {
  width: 0.38rem;
  height: 0.38rem;
  background: var(--beige);
  transform: rotate(45deg);
  animation: pulseMark 2.8s ease-in-out infinite;
}

.decorative-line span:nth-child(2) {
  animation-delay: 220ms;
}

.decorative-line span:nth-child(3) {
  animation-delay: 440ms;
}

.pricing {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.price-panel {
  padding: clamp(1.6rem, 3vw, 3rem);
  color: var(--white-warm);
  background:
    linear-gradient(145deg, rgba(18, 13, 13, 0.96), rgba(90, 22, 35, 0.95)),
    var(--wine-deep);
  border-radius: 8px;
  border: 1px solid rgba(90, 22, 35, 0.24);
  box-shadow: 0 2rem 4rem rgba(90, 22, 35, 0.18);
}

.price-panel__label {
  margin: 0 0 0.7rem;
  color: var(--beige);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.price-panel strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(4.4rem, 8vw, 8rem);
  line-height: 0.9;
}

.price-panel span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 247, 240, 0.72);
}

.price-panel__included-title {
  margin: 2rem 0 0;
  color: var(--beige);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.price-panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}

.price-panel li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-dark);
}

.impact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 9rem);
  background:
    linear-gradient(115deg, rgba(18, 13, 13, 0.98) 0%, rgba(48, 13, 18, 0.96) 38%, rgba(90, 22, 35, 0.94) 100%),
    var(--warm-black);
}

.impact::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2.5vw, 2rem);
  z-index: -1;
  border: 1px solid rgba(255, 247, 240, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 247, 240, 0.035), transparent 32% 68%, rgba(200, 155, 99, 0.05)),
    linear-gradient(180deg, transparent, rgba(18, 13, 13, 0.32));
}

.impact::after {
  content: "";
  position: absolute;
  inset: 18% -12% auto auto;
  z-index: -1;
  width: 46%;
  height: 58%;
  background: linear-gradient(135deg, rgba(214, 59, 79, 0.18), transparent 70%);
  transform: skewX(-12deg);
  pointer-events: none;
}

.impact__inner {
  position: relative;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.25rem, 5vw, 6rem);
  align-items: center;
}

.impact__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 660px);
  min-height: min(78vw, 640px);
  justify-self: center;
  overflow: hidden;
  contain: paint;
}

.impact__visual::before {
  content: "";
  position: absolute;
  inset: 4% 3% 3% 6%;
  border: 1px solid rgba(200, 155, 99, 0.44);
  transform: rotate(-3deg);
}

.impact__visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  background: linear-gradient(145deg, rgba(214, 59, 79, 0.28), rgba(200, 155, 99, 0.2));
  filter: blur(42px);
  opacity: 0.72;
}

.impact__visual img {
  position: relative;
  z-index: 2;
  width: min(88%, 540px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 247, 240, 0.22);
  box-shadow:
    0 2.8rem 6.5rem rgba(0, 0, 0, 0.56),
    0 0 0 0.55rem rgba(255, 247, 240, 0.035),
    0 0 3.6rem rgba(200, 155, 99, 0.2);
}

.circular-text {
  position: absolute;
  z-index: 3;
  inset: 2%;
  width: 96%;
  height: 96%;
  color: var(--beige);
  transform-origin: center;
  opacity: 0.96;
  animation: rotateText 32s linear infinite;
}

.circular-text text {
  fill: currentColor;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.impact__copy {
  max-width: 900px;
}

.impact__copy p:not(.section-label) {
  max-width: 58rem;
  color: rgba(255, 247, 240, 0.74);
  font-size: clamp(1rem, 1.25vw, 1.24rem);
}

.impact__copy h2 {
  max-width: 12.5ch;
  font-size: clamp(4rem, 6.2vw, 8.2rem);
  text-wrap: balance;
}

.impact__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.impact__marks span {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  color: rgba(255, 247, 240, 0.78);
  border: 1px solid rgba(255, 247, 240, 0.13);
  border-radius: 999px;
  background: rgba(255, 247, 240, 0.04);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.location-card {
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.location-card__icon {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(90, 22, 35, 0.32);
  background:
    linear-gradient(135deg, var(--wine-deep), var(--red-accent));
  clip-path: polygon(50% 0, 88% 16%, 100% 55%, 50% 100%, 0 55%, 12% 16%);
}

.location-card p {
  margin: 0 0 0.4rem;
  color: rgba(44, 27, 26, 0.62);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.location-card strong {
  display: block;
  max-width: 36rem;
  font-family: var(--heading);
  font-size: clamp(2rem, 3.3vw, 4rem);
  line-height: 1;
}

.final-cta {
  padding-block: clamp(5.5rem, 11vw, 11rem);
  text-align: center;
}

.final-cta__inner {
  max-width: 950px;
}

.final-cta__inner .section-label {
  justify-content: center;
}

.final-cta__inner p {
  margin-inline: auto;
  color: rgba(255, 247, 240, 0.78);
}

.final-cta__inner .btn {
  margin-top: 1.2rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  color: var(--white-warm);
  background:
    linear-gradient(180deg, rgba(90, 22, 35, 0.96) 0 8%, rgba(18, 13, 13, 0.9) 8% 100%),
    linear-gradient(90deg, rgba(18, 13, 13, 0.94), rgba(18, 13, 13, 0.72) 48%, rgba(18, 13, 13, 0.9)),
    url("/jantar/assets/images/covenant-rings.jpg") center / cover,
    var(--warm-black);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(214, 59, 79, 0.14), transparent 34%),
    linear-gradient(180deg, transparent, rgba(18, 13, 13, 0.38));
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer__inner p {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
}

.footer__inner span,
.footer__inner a {
  color: rgba(255, 247, 240, 0.68);
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
}

.footer__inner span {
  display: block;
  margin-top: 1rem;
}

.footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.footer__inner nav a {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(255, 247, 240, 0.13);
  border-radius: 999px;
  background: rgba(255, 247, 240, 0.02);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer__inner nav a:hover,
.footer__inner nav a:focus-visible {
  color: var(--white-warm);
  border-color: rgba(200, 155, 99, 0.5);
  background: rgba(255, 247, 240, 0.06);
}

.wp-content {
  padding-block: clamp(8rem, 12vw, 11rem) clamp(4rem, 8vw, 7rem);
}

.wp-content h1,
.wp-content h2,
.wp-content h3 {
  color: var(--wine-deep);
}

.wp-content a {
  color: var(--red-elegant);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes pulseMark {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(45deg) scale(0.86);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@keyframes rotateText {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --section-x: clamp(1rem, 5vw, 2rem);
  }

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-block: 4.5rem;
  }

  .hero__stage {
    position: absolute;
    order: initial;
    min-height: 0;
  }

  .hero__visual {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero__visual img {
    object-position: 64% center;
  }

  .hero__copy {
    order: 1;
    max-width: 100%;
    padding-top: 0;
  }

  .hero__brandline {
    margin-bottom: clamp(2rem, 8vw, 3.4rem);
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 5.3rem);
  }

  .hero__copy h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 5.3rem);
  }

  h2 {
    font-size: clamp(2.7rem, 10vw, 5rem);
  }

  .about {
    margin-top: 0;
  }

  .about__inner,
  .pricing__inner,
  .impact__inner,
  .location__inner {
    grid-template-columns: 1fr;
  }

  .about-ring-photo {
    min-height: clamp(18rem, 66vw, 34rem);
  }

  .impact__visual {
    min-height: min(94vw, 560px);
  }

  .impact__copy h2 {
    max-width: 13ch;
    font-size: clamp(3.35rem, 10vw, 5.6rem);
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__inner nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .button-row,
  .hero__facts {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .hero__facts span {
    width: 100%;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

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

  .about-ring-photo {
    min-height: clamp(16rem, 58vw, 24rem);
    border-radius: 7px;
  }

  .experience-card {
    min-height: auto;
  }

  .price-panel strong {
    font-size: clamp(3.6rem, 19vw, 5.5rem);
  }

  .location-card .button-row {
    margin-top: 1.4rem;
  }
}

@media (max-width: 420px) {
  .about-ring-photo {
    min-height: 14rem;
  }

  .impact__marks {
    gap: 0.45rem;
  }

  .impact__marks span {
    min-height: 2.2rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
