:root {
  --contact-ink: #211c18;
  --contact-muted: #81786e;
  --contact-accent: #92745b;
  --contact-cream: #f4f0e9;
  --contact-white: #faf8f4;
  --contact-line: rgba(48, 39, 31, 0.15);
  --contact-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-hero {
  position: relative;
  height: 760px;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #39312a;
  color: var(--contact-white);
}

.contact-hero-image,
.contact-hero-overlay {
  position: absolute;
  inset: 0;
}

.contact-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.08);
  animation: contactHeroImage 1.8s var(--contact-ease) forwards;
}

.contact-hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(24, 20, 17, 0.78) 0%,
      rgba(24, 20, 17, 0.43) 48%,
      rgba(24, 20, 17, 0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(24, 20, 17, 0.35),
      transparent 35%
    );
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  width: min(850px, 85%);
  margin-left: 10%;
  padding-top: 20px;
}

.contact-hero-content .eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  margin-bottom: 35px;
  color: #ded0bd;
  animation: contactTextEnter 0.9s 0.2s both;
}

.contact-hero-content h1 {
  max-width: 800px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(65px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -3px;
  margin: 0;
  animation: contactTextEnter 1s 0.35s both;
}

.contact-hero-content h1 span {
  display: block;
  color: #d2b89b;
  font-style: italic;
  font-weight: 400;
}

.contact-hero-content > p {
  max-width: 410px;
  font-size: 13px;
  line-height: 2;
  color: rgba(250, 248, 244, 0.78);
  margin: 32px 0 35px;
  animation: contactTextEnter 1s 0.5s both;
}

.contact-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  color: var(--contact-white);
  font-size: 10px;
  letter-spacing: 2px;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(250, 248, 244, 0.55);
  transition: gap 0.5s var(--contact-ease);
  animation: contactTextEnter 1s 0.65s both;
}

.contact-hero-link span {
  font-size: 16px;
  transition: transform 0.4s var(--contact-ease);
}

.contact-hero-link:hover {
  gap: 48px;
}

.contact-hero-link:hover span {
  transform: translate(4px, -4px);
}

.contact-hero-index {
  position: absolute;
  z-index: 2;
  right: 7%;
  top: 50%;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-hero-bottom {
  position: absolute;
  z-index: 2;
  left: 7%;
  right: 7%;
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-intro {
  padding: 145px 20px 135px;
  text-align: center;
  background: var(--contact-white);
}

.eyebrow {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--contact-accent);
}

.contact-intro h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 75px);
  font-weight: 400;
  line-height: 1;
  color: var(--contact-ink);
  margin: 28px auto 25px;
}

.contact-intro h2 span {
  display: block;
  font-style: italic;
  color: var(--contact-accent);
}

.contact-intro > p {
  max-width: 510px;
  margin: auto;
  font-size: 12px;
  line-height: 2.1;
  color: var(--contact-muted);
}

.contact-main {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 12%;
  padding: 125px 11%;
  background: var(--contact-cream);
}

.contact-information {
  padding-top: 12px;
}

.contact-information h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(55px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 400;
  color: var(--contact-ink);
  margin: 25px 0;
}

.contact-information h2 span {
  display: block;
  font-style: italic;
  color: var(--contact-accent);
}

.contact-information-text {
  max-width: 360px;
  font-size: 12px;
  line-height: 2;
  color: var(--contact-muted);
  margin-bottom: 55px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
}

.contact-detail {
  padding: 23px 0;
  border-top: 1px solid var(--contact-line);
}

.detail-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--contact-accent);
  margin-bottom: 13px;
}

.contact-detail a,
.contact-detail p {
  display: block;
  width: fit-content;
  font-size: 12px;
  color: var(--contact-ink);
  text-decoration: none;
  margin: 5px 0;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: var(--contact-accent);
}

.contact-socials {
  padding-top: 27px;
  margin-top: 15px;
  border-top: 1px solid var(--contact-line);
}

.contact-socials > div {
  display: flex;
  gap: 28px;
}

.contact-socials a {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--contact-ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-socials a:hover {
  color: var(--contact-accent);
}

.contact-form-wrapper {
  padding: 55px 55px 48px;
  background: var(--contact-white);
  box-shadow: 0 25px 70px rgba(49, 38, 28, 0.045);
}

.contact-form-heading {
  margin-bottom: 38px;
}

.contact-form-heading h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  color: var(--contact-ink);
  margin: 20px 0 13px;
}

.contact-form-heading h3 span {
  color: var(--contact-accent);
  font-style: italic;
}

.contact-form-heading > p {
  font-size: 11px;
  color: var(--contact-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--contact-ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 0;
  border: none;
  border-bottom: 1px solid var(--contact-line);
  outline: none;
  border-radius: 0;
  background: transparent;
  color: var(--contact-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  transition: border-color 0.35s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa197;
}

.form-group select {
  color: var(--contact-muted);
  cursor: pointer;
}

.form-group select option {
  color: var(--contact-ink);
  background: var(--contact-white);
}

.form-group textarea {
  min-height: 115px;
  resize: vertical;
  line-height: 1.8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--contact-accent);
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  margin-top: 5px;
}

.form-submit-row > p {
  max-width: 340px;
  font-size: 9px;
  line-height: 1.8;
  color: var(--contact-muted);
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  min-width: 210px;
  padding: 17px 21px;
  border: 1px solid var(--contact-ink);
  background: var(--contact-ink);
  color: var(--contact-white);
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    transform 0.4s var(--contact-ease);
}

.contact-submit span {
  font-size: 16px;
  transition: transform 0.4s var(--contact-ease);
}

.contact-submit:hover {
  background: transparent;
  color: var(--contact-ink);
  transform: translateY(-3px);
}

.contact-submit:hover span {
  transform: translate(4px, -4px);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 18px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--contact-accent);
}

.contact-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  background: #e9e2d8;
}

.contact-editorial-image {
  overflow: hidden;
  min-height: 600px;
}

.contact-editorial-image img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  transition: transform 1.4s var(--contact-ease);
}

.contact-editorial:hover .contact-editorial-image img {
  transform: scale(1.045);
}

.contact-editorial-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 13%;
}

.contact-editorial-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  color: var(--contact-ink);
  margin: 30px 0;
}

.contact-editorial-content h2 span {
  display: block;
  color: var(--contact-accent);
  font-style: italic;
}

.contact-editorial-content > p {
  max-width: 390px;
  font-size: 12px;
  line-height: 2.1;
  color: var(--contact-muted);
}

.editorial-signature {
  margin-top: 38px;
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-style: italic;
  color: var(--contact-accent);
}

.contact-faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12%;
  padding: 145px 12%;
  background: var(--contact-white);
}

.contact-faq-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(50px, 5.5vw, 72px);
  line-height: 0.98;
  font-weight: 400;
  color: var(--contact-ink);
  margin: 25px 0;
}

.contact-faq-heading h2 span {
  display: block;
  color: var(--contact-accent);
  font-style: italic;
}

.contact-faq-heading > p {
  max-width: 340px;
  font-size: 12px;
  line-height: 2;
  color: var(--contact-muted);
}

.faq-list {
  border-top: 1px solid var(--contact-line);
}

.faq-item {
  border-bottom: 1px solid var(--contact-line);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  list-style: none;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: var(--contact-ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--contact-accent);
  transition: transform 0.45s var(--contact-ease);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item > p {
  max-width: 500px;
  padding: 0 35px 25px 0;
  font-size: 11px;
  line-height: 2;
  color: var(--contact-muted);
  animation: faqAnswer 0.45s var(--contact-ease);
}

.contact-closing {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #39312a;
  color: var(--contact-white);
  text-align: center;
}

.contact-closing-image,
.contact-closing-overlay {
  position: absolute;
  inset: 0;
}

.contact-closing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 1.5s var(--contact-ease);
}

.contact-closing:hover .contact-closing-image img {
  transform: scale(1.04);
}

.contact-closing-overlay {
  background: rgba(28, 23, 19, 0.58);
}

.contact-closing-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 90px 25px;
}

.contact-closing-content .eyebrow {
  color: #d5c0a6;
}

.contact-closing-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(52px, 7vw, 85px);
  font-weight: 400;
  line-height: 0.98;
  margin: 30px 0 22px;
}

.contact-closing-content h2 span {
  display: block;
  font-style: italic;
  color: #d2b89b;
}

.contact-closing-content > p {
  font-size: 12px;
  color: rgba(250, 248, 244, 0.75);
  margin-bottom: 38px;
}

.contact-closing-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(250, 248, 244, 0.65);
  color: var(--contact-white);
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 2px;
  transition: gap 0.4s var(--contact-ease);
}

.contact-closing-link:hover {
  gap: 43px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.animate {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 1s var(--contact-ease),
    transform 1s var(--contact-ease);
}

.reveal.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-intro.reveal.visible > *,
.contact-information.reveal.visible > *,
.contact-form-wrapper.reveal.visible > *,
.contact-editorial-content.reveal.visible > *,
.contact-faq-heading.reveal.visible > *,
.contact-closing-content.reveal.visible > * {
  animation: contactTextEnter 0.85s var(--contact-ease) both;
}

.contact-intro.reveal.visible > *:nth-child(1),
.contact-information.reveal.visible > *:nth-child(1),
.contact-form-wrapper.reveal.visible > *:nth-child(1),
.contact-editorial-content.reveal.visible > *:nth-child(1),
.contact-faq-heading.reveal.visible > *:nth-child(1),
.contact-closing-content.reveal.visible > *:nth-child(1) {
  animation-delay: 0.05s;
}

.contact-intro.reveal.visible > *:nth-child(2),
.contact-information.reveal.visible > *:nth-child(2),
.contact-form-wrapper.reveal.visible > *:nth-child(2),
.contact-editorial-content.reveal.visible > *:nth-child(2),
.contact-faq-heading.reveal.visible > *:nth-child(2),
.contact-closing-content.reveal.visible > *:nth-child(2) {
  animation-delay: 0.15s;
}

.contact-intro.reveal.visible > *:nth-child(3),
.contact-information.reveal.visible > *:nth-child(3),
.contact-form-wrapper.reveal.visible > *:nth-child(3),
.contact-editorial-content.reveal.visible > *:nth-child(3),
.contact-faq-heading.reveal.visible > *:nth-child(3),
.contact-closing-content.reveal.visible > *:nth-child(3) {
  animation-delay: 0.25s;
}

.contact-detail {
  transition:
    padding-left 0.45s var(--contact-ease),
    border-color 0.45s ease;
}

.contact-detail:hover {
  padding-left: 9px;
  border-color: var(--contact-accent);
}

.faq-item {
  transition: border-color 0.35s ease;
}

.faq-item:hover {
  border-color: var(--contact-accent);
}

.footer {
  background: var(--color-dark);
  color: var(--color-bg);
  padding: 85px var(--page-padding) 25px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.3fr;
  gap: 50px;
  padding-bottom: 75px;
}

.footer-brand .logo {
  color: var(--color-bg);
  font-size: 32px;
}

.footer-brand .logo span {
  color: #b58a80;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 11px;
  color: #aaa39a;
  letter-spacing: 0.5px;
}

.footer-links,
.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links h4,
.footer-newsletter h4 {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: #c5a39c;
}

.footer-links a {
  margin-bottom: 15px;
  font-size: 11px;
  color: #b8b1a8;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-newsletter p {
  max-width: 240px;
  font-size: 11px;
  line-height: 1.9;
  color: #b8b1a8;
}

.footer-subscribe {
  margin-top: 25px;
  padding-bottom: 8px;
  border-bottom: 1px solid #b58a80;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-bg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #89837b;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 35px;
  }
}

@media (max-width: 520px) {
  .footer {
    padding: 65px 6% 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
    padding-bottom: 50px;
  }

  .footer-brand,
  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-brand .logo {
    font-size: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom p {
    font-size: 7px;
  }
}

@keyframes contactHeroImage {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

@keyframes contactTextEnter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqAnswer {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-image img,
  .contact-hero-content > *,
  .reveal,
  .reveal.animate,
  .reveal.animate.visible,
  .contact-intro.reveal.visible > *,
  .contact-information.reveal.visible > *,
  .contact-form-wrapper.reveal.visible > *,
  .contact-editorial-content.reveal.visible > *,
  .contact-faq-heading.reveal.visible > *,
  .contact-closing-content.reveal.visible > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1000px) {
  .contact-main {
    gap: 7%;
    padding: 100px 7%;
  }

  .contact-form-wrapper {
    padding: 40px 35px;
  }

  .contact-faq {
    gap: 7%;
    padding: 110px 8%;
  }

  .contact-editorial-content {
    padding: 80px 10%;
  }
}

@media (max-width: 800px) {
  .contact-hero {
    height: 700px;
    min-height: 600px;
  }

  .contact-hero-content {
    margin-left: 7%;
    width: 85%;
  }

  .contact-hero-content h1 {
    font-size: clamp(65px, 11vw, 90px);
  }

  .contact-hero-index {
    right: 4%;
  }

  .contact-intro {
    padding: 110px 8%;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 65px;
    padding: 90px 8%;
  }

  .contact-information-text {
    max-width: 500px;
  }

  .contact-editorial {
    grid-template-columns: 1fr;
  }

  .contact-editorial-image,
  .contact-editorial-image img {
    min-height: 550px;
    height: 550px;
  }

  .contact-editorial-content {
    padding: 85px 10%;
  }

  .contact-faq {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 100px 8%;
  }

  .contact-closing {
    min-height: 540px;
  }
}

@media (max-width: 520px) {
  .contact-hero {
    height: 680px;
    min-height: 580px;
  }

  .contact-hero-image img {
    object-position: 58% center;
  }

  .contact-hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(24, 20, 17, 0.72),
        rgba(24, 20, 17, 0.30)
      ),
      linear-gradient(
        0deg,
        rgba(24, 20, 17, 0.35),
        transparent 50%
      );
  }

  .contact-hero-content {
    width: 88%;
    margin-left: 7%;
  }

  .contact-hero-content .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 27px;
  }

  .contact-hero-content h1 {
    font-size: clamp(58px, 15vw, 76px);
    letter-spacing: -1.5px;
  }

  .contact-hero-content > p {
    max-width: 310px;
    font-size: 11px;
    margin: 25px 0 30px;
  }

  .contact-hero-index {
    display: none;
  }

  .contact-hero-bottom {
    left: 7%;
    right: 7%;
    bottom: 23px;
    font-size: 7px;
    letter-spacing: 1.3px;
  }

  .contact-intro {
    padding: 90px 7%;
  }

  .contact-intro h2 {
    font-size: 52px;
  }

  .contact-intro > p {
    font-size: 11px;
  }

  .contact-main {
    padding: 80px 7%;
    gap: 50px;
  }

  .contact-information h2 {
    font-size: 62px;
  }

  .contact-information-text {
    font-size: 11px;
    margin-bottom: 35px;
  }

  .contact-form-wrapper {
    padding: 35px 22px;
  }

  .contact-form-heading h3 {
    font-size: 41px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-form {
    gap: 25px;
  }

  .contact-submit {
    width: 100%;
    justify-content: space-between;
  }

  .contact-editorial-image,
  .contact-editorial-image img {
    min-height: 420px;
    height: 420px;
  }

  .contact-editorial-content {
    padding: 75px 8%;
  }

  .contact-editorial-content h2 {
    font-size: 53px;
  }

  .contact-faq {
    padding: 85px 7%;
    gap: 40px;
  }

  .contact-faq-heading h2 {
    font-size: 57px;
  }

  .faq-item summary {
    font-size: 19px;
    padding: 22px 0;
  }

  .faq-item > p {
    font-size: 10px;
  }

  .contact-closing {
    min-height: 500px;
  }

  .contact-closing-content {
    padding: 70px 7%;
  }

  .contact-closing-content h2 {
    font-size: 57px;
  }

  .contact-closing-content > p {
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .contact-hero-content h1 {
    font-size: 54px;
  }

  .contact-intro h2,
  .contact-editorial-content h2,
  .contact-faq-heading h2,
  .contact-closing-content h2 {
    font-size: 47px;
  }

  .contact-form-wrapper {
    padding: 30px 17px;
  }
}