:root {
  --paper: #f6f2e9;
  --paper-light: #fffdf8;
  --ink: #171819;
  --body: #55544f;
  --muted: #77756e;
  --gold: #d49d35;
  --gold-deep: #9b6916;
  --gold-wash: #f2e1b8;
  --line: rgba(23, 24, 25, .1);
  --shadow: 0 24px 70px rgba(48, 38, 23, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 12%, rgba(212, 157, 53, .17), transparent 32%),
    linear-gradient(rgba(23, 24, 25, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 25, .025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 56px 56px, 56px 56px, auto;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link {
  min-height: 44px;
  padding: 0 16px;
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: var(--ink);
  background: var(--gold);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.contact-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 233, .9);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(980px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; }
.brand strong { display: block; font-size: 16px; letter-spacing: .08em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.back-link:hover { color: var(--gold-deep); }
.back-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-main {
  width: min(980px, calc(100% - 40px));
  min-height: calc(100svh - 184px);
  margin-inline: auto;
  padding: clamp(72px, 11vw, 132px) 0 88px;
}
.contact-copy { max-width: 720px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-deep); font-size: 11px; font-weight: 850; letter-spacing: .15em; }
h1 { margin: 0; font-size: clamp(46px, 7vw, 78px); line-height: 1.06; letter-spacing: -.065em; }
.lede { max-width: 620px; margin: 24px 0 0; color: var(--body); font-size: 17px; line-height: 1.85; }
.contact-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; font-style: normal; }
.contact-card {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 253, 248, .78);
  box-shadow: 0 12px 38px rgba(48, 38, 23, .06);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); border-color: rgba(182, 123, 20, .35); box-shadow: var(--shadow); }
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  background: var(--gold-wash);
}
.contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; margin-top: 24px; color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: .08em; }
.contact-value { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: clamp(19px, 3vw, 25px); font-weight: 820; line-height: 1.35; }
.contact-note { display: block; margin-top: 8px; color: var(--body); font-size: 12px; line-height: 1.6; }

.contact-footer { min-height: 112px; border-top: 1px solid var(--line); }
.footer-inner { width: min(980px, calc(100% - 40px)); min-height: 112px; margin-inline: auto; display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 11px; }
.footer-inner span { margin-right: auto; }
.footer-inner a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.footer-inner a:hover { color: var(--gold-deep); }

@media (max-width: 680px) {
  .contact-main { padding-top: 68px; }
  .contact-grid { margin-top: 38px; grid-template-columns: 1fr; }
  .contact-card { min-height: 168px; }
  .footer-inner { padding: 25px 0; align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-inner span { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
