:root {
  --color-primary: #430c63;
  --color-primary-deep: #350a4d;
  --color-accent: #ffa921;
  --color-surface: #f7f4ef;
  --color-body: #7a6e65;
  --color-body-deep: #4f4a48;
  --color-border: #eee2ce;
  --color-white: #ffffff;
  --container: 1440px;
  --gutter: 50px;
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: var(--color-body);
  background: var(--color-white);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 30px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: 0 0 30px;
}

.section-title {
  margin: 0;
  font-family: "Cabin", sans-serif;
  font-size: 60px;
  line-height: 1;
  color: var(--color-primary);
}

.section-title--light {
  color: var(--color-white);
}

.section-copy {
  margin: 0;
  font-size: 16px;
  line-height: normal;
}

.section-copy--light {
  color: var(--color-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 30px;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-sticky {
  background: rgba(25, 3, 38, 0.96);
  box-shadow: 0 12px 30px rgba(21, 8, 31, 0.18);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
}

.site-logo,
.menu-toggle {
  position: relative;
  z-index: 3;
}

.site-logo img {
  width: 60px;
  height: 60px;
/*  object-fit: cover;*/
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
      justify-content: center;
    width: 100%;
}

.site-nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav__link.is-active::after,
.site-nav__link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) { top: 8px; }
.menu-toggle span:nth-child(2) { top: 15px; }
.menu-toggle span:nth-child(3) { top: 22px; }

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*
 * Keep decorative media clipped without applying viewport scroll locking to
 * the body. WordPress adds `is-contact-page` to the body while the converted
 * content keeps `contact-page` on the main landmark.
 */
main.contact-page {
  overflow-x: clip;
  overflow-y: visible;
}

body.is-contact-page {
  overflow-x: hidden;
  overflow-y: auto;
}

body.is-contact-page.nav-open {
  overflow: hidden;
}

.contact-hero {
  position: relative;
}

.contact-hero__top-fade {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 172px;
  background: linear-gradient(180deg, rgba(20, 5, 28, 0.7) 0%, rgba(20, 5, 28, 0.28) 58%, rgba(20, 5, 28, 0) 100%);
  pointer-events: none;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 800px;
}

.contact-hero__story,
.contact-hero__form-panel {
  position: relative;
  min-width: 0;
}

.contact-hero__story {
  display: flex;
  align-items: flex-end;
  min-height: 800px;
  padding: 458px var(--gutter) 70px calc((100vw - min(100vw, var(--container))) / 2 + var(--gutter));
  background: #1a0b2a;
}

.contact-hero__art,
.contact-hero__veil {
  position: absolute;
  inset: 0;
}

.contact-hero__art {
  background:
    linear-gradient(0deg, rgba(37, 11, 54, 0.1) 0%, rgba(37, 11, 54, 0.1) 100%),
    center top / cover no-repeat url("../images/contact-hero-art.webp");
}

.contact-hero__veil {
  background:
    linear-gradient(180deg, rgba(18, 7, 28, 0.1) 0%, rgba(18, 7, 28, 0.18) 54%, rgba(18, 7, 28, 0.64) 100%),
    linear-gradient(90deg, rgba(21, 8, 33, 0.42) 0%, rgba(21, 8, 33, 0.12) 35%, rgba(21, 8, 33, 0.08) 100%);
}

.contact-hero__copy,
.contact-hero__form-shell {
  position: relative;
  z-index: 2;
}

.contact-hero__copy {
  max-width: 669px;
}

.contact-hero__copy .section-title {
  margin-bottom: 40px;
  font-size: 70px;
  line-height: 80px;
}

.contact-hero__copy .section-copy {
  max-width: 479px;
}

.contact-hero__form-panel {
  background: var(--color-surface);
}

.contact-hero__form-shell {
  /*width: min(100%, 720px);*/
  padding: 130px calc((100vw - min(100vw, var(--container))) / 2 + var(--gutter)) 64px var(--gutter);
}

.contact-hero__intro {
  /*max-width: 620px;*/
}

.contact-form {
  margin-top: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form__row + .contact-form__row,
.contact-form__field--message,
.consent-field,
.contact-form__submit {
  margin-top: 30px;
}

.contact-form__field {
  display: block;
  min-width: 0;
}

.contact-form__label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: var(--color-white);
  color: var(--color-body-deep);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input {
  height: 50px;
  padding: 0 16px;
}

.contact-form textarea {
  height: 123px;
  padding: 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.consent-field__input:focus + .consent-field__box {
  border-color: rgba(67, 12, 99, 0.42);
  box-shadow: 0 0 0 3px rgba(67, 12, 99, 0.08);
}

.consent-field {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.consent-field__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-field__box {
  position: relative;
  width: 30px;
  height: 29px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-white);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.consent-field__box::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.2s ease;
}

.consent-field__input:checked + .consent-field__box {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.consent-field__input:checked + .consent-field__box::after {
  opacity: 1;
}

.consent-field__copy {
  /*max-width: 563px;*/
  font-size: 14px;
  line-height: normal;
  color: var(--color-body);
}

.consent-field__copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__submit {
  width: 343px;
}

.journey-section {
  padding: 50px 0;
}

.journey-section__layout {
  display: grid;
  grid-template-columns: 524px minmax(0, 716px);
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}

.journey-section__heading {
  min-width: 0;
}

.journey-section__heading .section-title {
  margin-top: 0px;
  /*line-height: normal;*/
  width: 380px;
}

.journey-section__copy {
  min-width: 0;
  max-width: 716px;
  padding-top: 94px;
}

.details-section {
     padding: 70px 0 50px;
    background: #F7F4EF;
}

.details-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 613px) minmax(0, 669px);
  justify-content: space-between;
  align-items: start;
  gap: 30px 56px;
}

.details-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.details-item {
  padding: 13px 30px;
  border-top: 1px solid #E2D6C3;
}

.details-item:last-child {
  border-bottom: 1px solid #e5dac7;
}

.details-item__title,
.details-item__copy {
  margin: 0;
}

.details-item__title {
  font-family: "Cabin", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-primary);
}

.details-item__copy {
  margin-top: 11px;
  /*max-width: 539px;*/
  font-size: 14px;
  line-height: normal;
}

.details-section__media {
  margin: 0;
  min-width: 0;
  aspect-ratio: 669 / 495;
  overflow: hidden;
}

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

.site-footer {
  background: var(--color-primary-deep);
  color: var(--color-white);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
  min-height: 193px;
  padding-block: 34px 28px;
}

.site-footer__logo {
  flex: 0 0 93px;
}

.site-footer__logo img {
  width: 93px;
  height: 93px;
/*  object-fit: cover;*/
}

.site-footer__nav {
  display: flex;
  flex: 1 1 0;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.site-footer__copyright {
  flex: 0 0 100%;
  order: 4;
  margin: 0;
  font-size: 14px;
  text-align: center;
}

.site-footer__socials {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer__socials img {
  width: 30px;
  height: 30px;
}

.contact-hero__copy .eyebrow::before {
  display:none;
}

@media (max-width: 1023px) {
  :root {
    --gutter: 15px;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: unset;
    gap: 22px;
    padding: 110px 30px 40px;
    background: rgba(25, 3, 38, 0.95);
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav__link::after {
    left: 0;
    right: auto;
    width: 100%;
    bottom: -8px;
  }

  .menu-toggle {
    display: block;
  }

  .eyebrow {
    gap: 20px;
    margin-bottom: 30px;
  }

  .eyebrow::before {
    width: 18px;
    flex-basis: 18px;
  }

  .section-title {
    font-size: 30px;
    line-height: 1.08;
  }

  .section-copy {
    font-size: 14px;
    line-height: 1.58;
  }

  .btn {
    min-height: 46px;
    font-size: 12px;
  }

  .contact-hero__top-fade {
    height: 130px;
  }

  .contact-hero__grid,
  .journey-section__layout,
  .details-section__layout,
  .contact-form__row {
    grid-template-columns: 1fr;
  }
  .site-footer__inner {
    flex-direction: column;
    gap: 26px;
  }

  .contact-hero__story {
    min-height: 540px;
    padding: 260px 15px 30px;
  }

  .contact-hero__art {
    background-position: 33% top;
  }

  .contact-hero__veil {
    background:
      linear-gradient(180deg, rgba(21, 8, 33, 0.12) 0%, rgba(21, 8, 33, 0.78) 100%),
      linear-gradient(90deg, rgba(21, 8, 33, 0.65) 0%, rgba(21, 8, 33, 0.14) 75%);
  }

  .contact-hero__copy {
    max-width: 320px;
  }

  .contact-hero__copy .section-title {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: normal;
  }

  .contact-hero__copy .section-copy {
    max-width: 290px;
  }

  .contact-hero__form-shell {
    width: 100%;
    padding: 30px 15px 36px;
  }

  .contact-form {
    margin-top: 26px;
  }

  .contact-form__row + .contact-form__row,
  .contact-form__field--message,
  .consent-field,
  .contact-form__submit {
    margin-top: 18px;
  }

  .contact-form__label,
  .consent-field__copy {
    font-size: 12px;
    line-height: 1.45;
  }

  .contact-form textarea {
    height: 120px;
  }

  .consent-field {
    gap: 10px;
  }

  .consent-field__box {
    width: 22px;
    height: 22px;
  }

  .consent-field__box::after {
    left: 7px;
    top: 4px;
    width: 6px;
    height: 10px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .journey-section {
    padding: 32px 0 28px;
  }

  .journey-section__heading .section-title {
    margin-top: 0;
    /*max-width: 312px;*/
    line-height: normal;
  }

  .journey-section__copy {
    padding-top: 0;
  }

  .details-section {
    padding: 24px 0 44px;
  }

  .details-list {
    order: 2;
  }

  .details-item {
    padding: 14px 0;
  }

  .details-section__media {
    order: 1;
    aspect-ratio: 345 / 255;
  }

  .details-section__media img {
    object-position: center 76%;
  }

  .site-footer__inner {
    align-items: flex-start;
    gap: 0;
    min-height: auto;
    padding: 50px 30px;
  }

  .site-footer__logo {
    margin-bottom: 50px;
  }

  .site-footer__nav {
  flex: 0 1 auto;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px 30px;
        font-size: 14px;
        margin-bottom: 50px;
        width: 289px;
  }

  .site-footer__copyright {
    order: 0;
    text-align: left;
    font-size: 12px;
    margin-bottom: 30px;
  }

  .site-footer__socials {
    justify-content: flex-start;
    gap: 30px;
  }
}
