.brand-lotus {
  width: 39px;
  height: 32px;
  object-fit: contain;
}

.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.contact-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 30%, rgba(216, 152, 45, 0.14), transparent 32%),
    linear-gradient(105deg, #fbf4e5 0%, #f4e4cc 100%);
}

.contact-hero-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(420px, 0.83fr) minmax(0, 1.17fr);
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 570px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 64px 80px 0;
}

.contact-hero-copy::before {
  position: absolute;
  bottom: 34px;
  left: -96px;
  width: 280px;
  height: 190px;
  pointer-events: none;
  content: "";
  opacity: 0.25;
  background: url("assets/icons/brand-lotus.webp") center / contain no-repeat;
}

.contact-hero-copy > * {
  position: relative;
  z-index: 1;
}

.contact-hero-copy h1 {
  max-width: 560px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6.5vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.contact-hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-hero-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

.contact-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(244, 228, 204, 0.58), transparent 24%);
}

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

.contact-section {
  padding: 96px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 118px;
}

.contact-details h2,
.contact-form-card h2,
.next-steps-title h2,
.contact-assessment h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contact-details h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
}

.contact-intro {
  max-width: 410px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.contact-methods {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.contact-method {
  display: grid;
  min-height: 94px;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

a.contact-method {
  transition: color 180ms ease, transform 180ms ease;
}

a.contact-method:hover {
  color: var(--rust);
  transform: translateX(4px);
}

.contact-method-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #6d431e;
  border: 1px solid rgba(154, 98, 38, 0.34);
  border-radius: 50%;
  background: rgba(211, 173, 114, 0.22);
}

.contact-method-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.contact-method strong,
.contact-method small {
  display: block;
}

.contact-method strong {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 500;
}

.contact-method small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.privacy-note {
  display: grid;
  margin-top: 28px;
  padding: 19px;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 250, 240, 0.76);
}

.privacy-note img {
  width: 52px;
  height: 42px;
  object-fit: contain;
}

.privacy-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.35;
}

.contact-form-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.form-heading > p:last-child {
  max-width: 600px;
  margin: 15px 0 0;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid label > span {
  font-size: 0.78rem;
  font-weight: 700;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(116, 76, 35, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.88);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid input,
.form-grid select {
  min-height: 49px;
  padding: 10px 13px;
}

.form-grid textarea {
  min-height: 150px;
  padding: 13px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--gold);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(211, 173, 114, 0.22);
}

.form-grid [aria-invalid="true"],
.consent-row input[aria-invalid="true"] {
  border-color: var(--rust);
}

.consent-row {
  display: grid;
  margin: 22px 0;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--rust);
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 13px 0 0;
  color: var(--rust-dark);
  font-size: 0.78rem;
}

.next-steps {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.next-steps-grid {
  display: grid;
  grid-template-columns: 0.56fr 1.44fr;
  gap: 70px;
  align-items: center;
}

.next-steps-title h2 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}

.next-steps-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.next-steps-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  padding: 4px 24px;
  border-left: 1px solid var(--line);
}

.next-steps-list li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #5c3518;
  border-radius: 50%;
  background: #e5c48d;
  font-family: var(--serif);
  font-weight: 600;
}

.next-steps-list h3 {
  margin: 1px 0 6px;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.25;
}

.next-steps-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.contact-assessment {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff5e6;
  background: var(--brown);
}

.contact-assessment > img,
.contact-assessment-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-assessment > img {
  object-fit: cover;
  object-position: center;
}

.contact-assessment-overlay {
  background: linear-gradient(90deg, rgba(28, 18, 12, 0.98) 0%, rgba(37, 22, 13, 0.9) 46%, rgba(31, 18, 10, 0.14) 76%);
}

.contact-assessment-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 430px;
  max-width: 560px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-assessment h2 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.contact-assessment-content > p:not(.eyebrow) {
  margin: 20px 0 28px;
  color: #e4d2bd;
}

@media (max-width: 1100px) {
  .contact-hero-grid {
    grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.08fr);
  }

  .contact-grid {
    gap: 44px;
  }

  .next-steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .contact-hero-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .contact-hero-copy {
    width: var(--container);
    max-width: none;
    margin-inline: auto;
    padding: 76px 0 62px;
  }

  .contact-hero-media {
    min-height: min(620px, 72vw);
  }

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

  .contact-details {
    position: static;
  }

  .contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 14px;
  }

  .contact-method {
    min-height: 160px;
    grid-template-columns: 1fr;
    align-content: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .privacy-note {
    max-width: 520px;
  }

  .next-steps-list {
    gap: 14px;
  }

  .next-steps-list li {
    padding-inline: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .brand-lotus {
    width: 34px;
    height: 27px;
  }

  .contact-hero-grid {
    min-height: auto;
  }

  .contact-hero-copy {
    padding: 70px 0 50px;
  }

  .contact-hero-copy h1 {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }

  .contact-hero-media {
    min-height: 82vw;
  }

  .contact-section {
    padding: 70px 0;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: 88px;
    grid-template-columns: 50px 1fr;
    align-content: center;
    padding: 16px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

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

  .form-wide {
    grid-column: auto;
  }

  .next-steps {
    padding: 62px 0;
  }

  .next-steps-list {
    grid-template-columns: 1fr;
  }

  .next-steps-list li {
    min-height: 130px;
    padding: 20px;
  }

  .contact-assessment,
  .contact-assessment-content {
    min-height: 620px;
  }

  .contact-assessment > img {
    object-position: 68% center;
  }

  .contact-assessment-overlay {
    background: linear-gradient(180deg, rgba(29, 18, 12, 0.98) 0%, rgba(36, 21, 12, 0.88) 58%, rgba(31, 18, 10, 0.22) 100%);
  }

  .contact-assessment-content {
    justify-content: flex-start;
    padding-top: 70px;
  }
}
