:root {
  --contact-ink: #11100e;
  --contact-navy: #0d365d;
  --contact-wine: #6f1722;
  --contact-stone: #f3f0ea;
  --contact-paper: #fff;
  --contact-line: rgba(17, 16, 14, 0.16);
  --contact-muted: #6d6962;
  --contact-display: var(--amal-type-display, "AMAL Bodoni", Didot, serif);
  --contact-body: var(--amal-type-body, "AMAL Sans", Arial, sans-serif);
}

html {
  scroll-behavior: smooth;
}

body.contact-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--contact-paper);
  color: var(--contact-ink);
  font-family: var(--contact-body);
  -webkit-font-smoothing: antialiased;
}

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

.contact-page a {
  color: inherit;
}

.contact-page button,
.contact-page input,
.contact-page select,
.contact-page textarea {
  font: inherit;
}

.contact-page .amal-site-nav {
  position: absolute;
  inset: 0 0 auto;
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.4), rgba(5, 5, 4, 0));
  color: #fff;
}

.contact-page .amal-site-nav__brand img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(0, 0, 0, 0.32));
}

.contact-page .amal-site-nav a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.contact-hero {
  position: relative;
  min-height: min(860px, 86svh);
  height: clamp(640px, 53vw, 860px);
  overflow: hidden;
  background: #1a1713;
  color: #fff;
}

.contact-hero__image,
.contact-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero__image {
  object-fit: cover;
  object-position: center center;
}

.contact-hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.36) 0%, rgba(7, 7, 6, 0.12) 42%, rgba(7, 7, 6, 0) 68%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.08), rgba(7, 7, 6, 0.2));
}

.contact-hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(30px, 6.1vw, 104px);
  bottom: clamp(54px, 8.2vh, 104px);
  width: min(620px, 43vw);
}

.contact-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-hero h1,
.contact-paths h2,
.contact-inquiry h2,
.contact-atelier h2,
.contact-faq h2 {
  margin: 0;
  font-family: var(--contact-display) !important;
  font-weight: 400;
  letter-spacing: 0;
}

.contact-hero h1 {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(45px, 4.8vw, 76px);
  line-height: 0.98;
}

.contact-hero__lead {
  max-width: 490px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.65;
}

.contact-hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.contact-action,
.contact-text-action {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.contact-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-action--light {
  background: #fff;
  color: var(--contact-ink) !important;
}

.contact-action--light:hover,
.contact-action--light:focus-visible {
  background: var(--contact-stone);
  outline: none;
}

.contact-text-action {
  position: relative;
  padding: 8px 0;
  background: transparent;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-text-action::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 180ms ease;
}

.contact-text-action:hover::after,
.contact-text-action:focus-visible::after {
  transform: scaleX(0.55);
}

.contact-paths {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 2fr);
  gap: clamp(54px, 8vw, 150px);
  padding: clamp(76px, 8.4vw, 140px) clamp(30px, 6.1vw, 104px);
  background: #fff;
}

.contact-paths__intro h2 {
  margin-top: 20px;
  color: var(--contact-navy);
  font-size: clamp(43px, 4.3vw, 68px);
  line-height: 1;
}

.contact-paths__intro > p:last-child {
  max-width: 390px;
  margin: 26px 0 0;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-paths__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--contact-line);
}

.contact-path {
  position: relative;
  display: grid;
  min-height: 285px;
  align-content: start;
  padding: 26px 24px 30px;
  border: 0;
  border-right: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
  background: #fff;
  color: var(--contact-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-path:first-child {
  border-left: 1px solid var(--contact-line);
}

.contact-path:hover,
.contact-path:focus-visible {
  background: var(--contact-ink);
  color: #fff;
  outline: none;
}

.contact-path__number {
  color: var(--contact-muted);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.contact-path:hover .contact-path__number,
.contact-path:focus-visible .contact-path__number {
  color: rgba(255, 255, 255, 0.64);
}

.contact-path__title {
  margin-top: 56px;
  font-family: var(--contact-display);
  font-size: clamp(25px, 2vw, 33px);
  line-height: 1.05;
}

.contact-path__copy {
  max-width: 230px;
  margin-top: 16px;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-path:hover .contact-path__copy,
.contact-path:focus-visible .contact-path__copy {
  color: rgba(255, 255, 255, 0.72);
}

.contact-path__arrow {
  position: absolute;
  right: 24px;
  bottom: 26px;
  font-size: 23px;
  transition: transform 180ms ease;
}

.contact-path:hover .contact-path__arrow,
.contact-path:focus-visible .contact-path__arrow {
  transform: translateX(4px);
}

.contact-inquiry {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(70px, 10vw, 176px);
  padding: clamp(78px, 9vw, 146px) clamp(30px, 6.1vw, 104px);
  background: var(--contact-stone);
}

.contact-inquiry h2 {
  margin-top: 22px;
  color: var(--contact-navy);
  font-size: clamp(46px, 4.6vw, 74px);
  line-height: 0.98;
}

.contact-inquiry__intro {
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 24px;
  margin: 52px 0 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--contact-line);
}

.contact-details dt {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-details a {
  text-underline-offset: 3px;
}

.contact-form,
.contact-form__row,
.contact-field {
  display: grid;
}

.contact-form {
  gap: 25px;
}

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

.contact-field {
  gap: 10px;
}

.contact-field > span {
  color: var(--contact-ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-field small {
  color: var(--contact-muted);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 16, 14, 0.34);
  border-radius: 0;
  background: transparent;
  color: var(--contact-ink);
  font-size: 15px;
  outline: none;
  transition: border-color 180ms ease;
}

.contact-field input,
.contact-field select {
  height: 45px;
}

.contact-field textarea {
  min-height: 118px;
  padding: 10px 0;
  resize: vertical;
}

.contact-field select {
  appearance: none;
  padding-right: 26px;
}

.contact-select {
  position: relative;
}

.contact-select::after {
  content: "+";
  position: absolute;
  right: 2px;
  bottom: 13px;
  pointer-events: none;
  font-size: 15px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--contact-wine);
}

.contact-field [aria-invalid="true"] {
  border-color: #9a1e2d;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.45;
}

.contact-consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--contact-wine);
}

.contact-form__submit-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
}

.contact-action--dark {
  min-width: 190px;
  justify-content: space-between;
  gap: 30px;
  background: var(--contact-ink);
  color: #fff;
}

.contact-action--dark:hover,
.contact-action--dark:focus-visible {
  background: var(--contact-wine);
  outline: none;
}

.contact-form__status {
  margin: 0;
  color: var(--contact-muted);
  font-size: 11px;
  line-height: 1.45;
}

.contact-atelier {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 590px;
  background: #171512;
  color: #fff;
}

.contact-atelier__media {
  min-height: 590px;
  margin: 0;
  overflow: hidden;
}

.contact-atelier__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04);
}

.contact-atelier__copy {
  display: grid;
  align-content: center;
  padding: clamp(56px, 7vw, 112px);
}

.contact-atelier h2 {
  max-width: 580px;
  margin-top: 25px;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.03;
}

.contact-atelier__copy > p:not(.contact-eyebrow) {
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.contact-atelier .contact-text-action {
  width: fit-content;
  margin-top: 36px;
}

.contact-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.45fr);
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(78px, 8vw, 126px) clamp(30px, 6.1vw, 104px);
  background: #fff;
}

.contact-faq h2 {
  margin-top: 18px;
  color: var(--contact-navy);
  font-size: clamp(45px, 4.4vw, 68px);
  line-height: 1;
}

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

.contact-faq details {
  border-bottom: 1px solid var(--contact-line);
}

.contact-faq summary {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 14px;
  list-style: none;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 300;
}

.contact-faq details[open] summary::after {
  content: "−";
}

.contact-faq details p {
  max-width: 660px;
  margin: -4px 0 26px;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1020px) {
  .contact-hero {
    min-height: 680px;
    height: 76svh;
  }

  .contact-hero__image {
    object-position: 58% center;
  }

  .contact-hero__copy {
    width: min(530px, 52vw);
  }

  .contact-paths {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-inquiry {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 58px;
  }

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

@media (max-width: 760px) {
  .contact-page .amal-site-nav {
    background: linear-gradient(180deg, rgba(5, 5, 4, 0.55), rgba(5, 5, 4, 0));
  }

  .contact-hero {
    min-height: 650px;
    height: 82svh;
  }

  .contact-hero__image {
    object-position: 67% center;
  }

  .contact-hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 7, 6, 0.08) 0%, rgba(7, 7, 6, 0.06) 38%, rgba(7, 7, 6, 0.78) 100%),
      linear-gradient(90deg, rgba(7, 7, 6, 0.22), rgba(7, 7, 6, 0));
  }

  .contact-hero__copy {
    right: 24px;
    left: 24px;
    bottom: 42px;
    width: auto;
  }

  .contact-hero h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .contact-hero__lead {
    max-width: 440px;
  }

  .contact-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
  }

  .contact-paths,
  .contact-inquiry,
  .contact-faq {
    padding: 68px 24px;
  }

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

  .contact-path {
    min-height: 190px;
    border-left: 1px solid var(--contact-line);
  }

  .contact-path__title {
    margin-top: 30px;
  }

  .contact-inquiry,
  .contact-faq {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact-details {
    margin-top: 34px;
  }

  .contact-form__row--two {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .contact-atelier__media {
    min-height: 360px;
  }

  .contact-atelier__copy {
    padding: 64px 24px 72px;
  }
}

@media (max-width: 430px) {
  .contact-hero {
    min-height: 620px;
    height: 86svh;
  }

  .contact-hero__image {
    object-position: 70% center;
  }

  .contact-hero h1 {
    font-size: 40px;
  }

  .contact-hero__lead {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-action {
    min-height: 48px;
  }

  .contact-paths__intro h2,
  .contact-inquiry h2,
  .contact-faq h2 {
    font-size: 42px;
  }

  .contact-form__submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-action--dark {
    width: 100%;
  }
}

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

  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Launch contact: one image, one form, no competing paths. */
.contact-page .amal-site-nav {
  position: relative;
  z-index: 10;
  color: #111;
  background: #fff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.contact-page .amal-site-nav a,
.contact-page .amal-site-nav button {
  color: inherit;
}

.contact-page .amal-site-nav__brand img {
  filter: none;
}

.contact-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: max(680px, calc(100svh - 82px));
  background: #fff;
}

.contact-simple__media {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  margin: 0;
  background: #111;
}

.contact-simple__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 42%);
  pointer-events: none;
}

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

.contact-simple__panel {
  align-self: center;
  justify-self: center;
  box-sizing: border-box;
  width: min(100%, 720px);
  padding: clamp(52px, 5vw, 90px) clamp(38px, 5vw, 88px);
}

.contact-simple__heading {
  margin-bottom: clamp(44px, 5vw, 70px);
}

.contact-simple__heading h1 {
  margin: 14px 0 18px;
  color: #111;
  font-family: var(--contact-body);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-simple__heading > p:last-child {
  max-width: 500px;
  margin: 0;
  color: #535353;
  font-size: 15px;
  line-height: 1.7;
}

.contact-simple .contact-form {
  gap: 29px;
}

.contact-simple .contact-action--dark {
  width: min(100%, 260px);
}

.contact-simple__direct {
  margin: 30px 0 0;
  color: #666;
  font-size: 12px;
  letter-spacing: 0;
}

.contact-simple__direct a {
  color: #111;
  text-underline-offset: 4px;
}

@media (min-width: 901px) and (max-height: 900px) {
  .contact-simple {
    min-height: max(640px, calc(100svh - 74px));
  }

  .contact-simple__panel {
    padding: 38px clamp(36px, 4vw, 72px);
  }

  .contact-simple__heading {
    margin-bottom: 30px;
  }

  .contact-simple__heading h1 {
    font-size: clamp(40px, 3.2vw, 56px);
  }

  .contact-simple .contact-form {
    gap: 20px;
  }

  .contact-simple__direct {
    margin-top: 22px;
  }
}

@media (max-width: 900px) {
  .contact-simple {
    grid-template-columns: 1fr;
  }

  .contact-simple__media {
    min-height: 54svh;
  }

  .contact-simple__media img {
    object-position: 78% center;
  }

  .contact-simple__panel {
    width: 100%;
    padding: 64px 28px 84px;
  }
}

@media (max-width: 560px) {
  .contact-simple__media {
    min-height: 420px;
  }

  .contact-simple__panel {
    padding: 50px 20px 70px;
  }

  .contact-simple__heading h1 {
    font-size: 40px;
  }
}
