:root {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f9f6f0;
  background: #30271f;
  font-synthesis: none;
  --contact-gold: #eed18b;
}

* { box-sizing: border-box; }
html { min-width: 320px; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; }
button, a { font: inherit; color: inherit; }
a { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--contact-gold); outline-offset: 5px; }
::selection { color: #201b15; background: #eed18b; }

.contact-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #30271f url("assets/contact-ambient-bg-v3.webp") center center / cover no-repeat;
}

.contact-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 15, 13, .66), rgba(17, 15, 13, .29) 42%, rgba(17, 15, 13, .16)), linear-gradient(0deg, rgba(11, 10, 9, .42), rgba(11, 10, 9, .06) 46%, rgba(11, 10, 9, .14)), linear-gradient(180deg, rgba(20, 16, 11, .1), rgba(20, 16, 11, .1));
}

.contact-page { display: flex; flex-direction: column; min-height: 100svh; }
.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  gap: clamp(48px, 7vw, 140px);
  flex: 1;
  padding: clamp(150px, 20vh, 220px) var(--site-edge, 65px) 90px;
}

.contact-intro { min-width: 0; text-shadow: 0 2px 22px rgb(0 0 0 / 28%); }
.contact-eyebrow { margin: 0 0 18px; color: var(--contact-gold); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .2em; }
.contact-intro h1 { margin: 0; font-size: clamp(54px, 5vw, 82px); font-weight: 500; line-height: 1.2; letter-spacing: .035em; }
.contact-rule { width: 44px; height: 1px; margin: 30px 0 27px; background: var(--contact-gold); }
.contact-role { margin: 0; font-size: clamp(20px, 1.8vw, 29px); font-weight: 300; line-height: 1.6; letter-spacing: .045em; }
.contact-role-en { margin: 9px 0 0; color: rgb(255 249 235 / 76%); font-size: clamp(12px, 1.05vw, 16px); font-weight: 300; line-height: 1.8; letter-spacing: .055em; }

.contact-methods { display: grid; gap: 24px; min-width: 0; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 180px;
  min-width: 0;
  padding: 34px;
  border: 1px solid rgb(255 245 222 / 31%);
  border-radius: 16px;
  background: linear-gradient(125deg, rgb(202 191 171 / 16%), rgb(132 118 101 / 18%)), rgb(153 133 108 / 24%);
  box-shadow: inset 0 1px 2px rgb(255 251 237 / 18%), 0 3px 10px rgb(48 35 21 / 5%);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  backdrop-filter: blur(24px) saturate(1.12);
}

.contact-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid rgb(238 209 139 / 43%); border-radius: 50%; color: var(--contact-gold); }
.contact-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-content { display: block; flex: 1; min-width: 0; }
.contact-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 0; font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: .065em; }
.contact-label [lang="en"] { color: var(--contact-gold); font-size: 10px; font-weight: 500; letter-spacing: .18em; }
.contact-value { display: block; margin: 13px 0 0; font-size: clamp(20px, 1.6vw, 26px); font-weight: 300; line-height: 1.5; letter-spacing: .01em; overflow-wrap: anywhere; }
.contact-arrow { flex: none; align-self: flex-start; color: rgb(255 249 235 / 72%); font-size: 21px; line-height: 1; }
.contact-email { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.contact-email:hover { border-color: rgb(238 209 139 / 68%); background-color: rgb(175 152 120 / 36%); transform: translateY(-2px); }

.contact-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px var(--site-edge, 65px) 27px; color: rgb(255 249 235 / 77%); font-size: 11px; font-weight: 300; line-height: 1.6; letter-spacing: .075em; }
.contact-footer a { display: inline-flex; align-items: center; gap: 12px; }
.contact-footer a:hover { color: #fff; }
.contact-footer [lang="en"] { font-size: 9px; letter-spacing: .12em; }

@media (min-width: 1024px) {
  /* Match the centered 1640px content canvas used by the works page. */
  .contact-main,
  .contact-footer {
    width: min(1640px, calc(100% - 136px));
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1100px) {
  .contact-main { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); }
  .contact-card { gap: 18px; padding: 27px; }
  .contact-icon { width: 44px; height: 44px; }
}

@media (max-width: 900px) {
  .contact-main { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 46px; padding-top: 135px; padding-bottom: 55px; }
  .contact-methods { width: 100%; max-width: 620px; }
  .contact-scene { background-position: 57% center; }
  .contact-scene::after { background: linear-gradient(90deg, rgba(17, 15, 13, .64), rgba(17, 15, 13, .3)), linear-gradient(0deg, rgba(11, 10, 9, .38), rgba(11, 10, 9, .06) 65%), linear-gradient(180deg, rgba(20, 16, 11, .12), rgba(20, 16, 11, .12)); }
  .contact-value { font-size: 24px; }
}

@media (max-width: 620px) {
  .contact-scene { background-position: 60% top; }
  .contact-scene::after { background: linear-gradient(90deg, rgba(17, 15, 13, .64), rgba(17, 15, 13, .3)), linear-gradient(0deg, rgba(11, 10, 9, .38), rgba(11, 10, 9, .06) 65%), linear-gradient(180deg, rgba(20, 16, 11, .12), rgba(20, 16, 11, .12)); }
  .contact-main { gap: 35px; padding-top: 120px; padding-bottom: 35px; }
  .contact-eyebrow { font-size: 11px; margin-bottom: 13px; }
  .contact-intro h1 { font-size: 48px; }
  .contact-rule { margin: 23px 0 20px; }
  .contact-role { font-size: 20px; }
  .contact-role-en { max-width: 340px; font-size: 12px; }
  .contact-methods { gap: 16px; }
  .contact-card { gap: 15px; min-height: 145px; padding: 22px 20px; }
  .contact-icon { width: 38px; height: 38px; }
  .contact-icon svg { width: 21px; height: 21px; }
  .contact-label { gap: 11px; font-size: 16px; }
  .contact-value { margin-top: 10px; font-size: 19px; }
  .contact-arrow { display: none; }
  .contact-footer { padding-top: 17px; padding-bottom: 23px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-email { transition: none; }
  .contact-email:hover { transform: none; }
}
