/* Contact page. Tokens and header come from legal.css; the footer from footer.css. */

.contact-hero {
  overflow: hidden;
  padding: 72px 0;
  background: var(--sage);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw + 0.4rem, 5rem);
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.contact-hero h1 span {
  color: var(--honey);
}

.contact-hero .lead {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw + 0.5rem, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button-primary,
.button-ghost {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button-primary {
  border: 0;
  background: var(--brand);
  color: #332100;
}

.button-ghost {
  border: 1px solid rgb(41 43 38 / 28%);
  background: transparent;
  color: var(--ink);
}

.button-primary:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.button-ghost:hover {
  background: var(--paper-raised);
}

.button-primary svg,
.button-ghost svg {
  width: 22px;
  height: 22px;
}

.copy-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait > img:first-child {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 6px solid var(--paper-raised);
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 30px 70px -22px rgb(32 33 31 / 30%);
  transform: rotate(3deg);
}

.portrait-face {
  position: absolute;
  bottom: -18px;
  left: -22px;
  width: 22%;
  height: auto;
  transform: rotate(-12deg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 72px;
  align-items: start;
  padding-block: 72px 96px;
}

.contact-block + .contact-block {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.contact-block h2,
.info-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 1000;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-wrap: balance;
}

.contact-block p {
  max-width: 64ch;
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-block .note a {
  color: var(--honey);
  font-weight: 800;
}

.topic-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.topic-list a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-raised);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-list a:hover {
  border-color: var(--honey);
  transform: translateY(-2px);
}

.topic-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--honey);
}

.topic-icon svg {
  width: 22px;
  height: 22px;
}

.topic-text {
  display: grid;
  gap: 2px;
}

.topic-text strong {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

.topic-text span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.topic-arrow {
  width: 20px;
  height: 20px;
  color: var(--honey);
}

.info-card {
  position: sticky;
  top: 112px;
  padding: 30px;
  border-radius: 24px;
  background: var(--charcoal);
  color: #f4f2e8;
}

.info-card h2 {
  font-size: 24px;
}

.info-card dl {
  margin: 0;
}

.info-card dl > div {
  padding: 16px 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.info-card dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bcc0b3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-card dt svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.info-card dd {
  margin: 6px 0 0 26px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.info-card address {
  font-style: normal;
}

.info-card .muted {
  color: #bcc0b3;
  font-weight: 700;
}

.info-card dd a {
  color: var(--brand);
}

.store-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.store-link:hover {
  text-decoration: underline;
}

.store-link svg {
  width: 18px;
  height: 18px;
}


@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    padding: 44px 0 56px;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .portrait {
    width: min(240px, 64%);
    margin-inline: auto;
    grid-row: 1;
  }

  .contact-layout {
    padding-block: 48px 72px;
  }
}

@media (max-width: 480px) {
  .hero-actions > * {
    flex: 1 1 100%;
  }

  .topic-list a {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .topic-icon {
    width: 40px;
    height: 40px;
  }

  .topic-arrow {
    display: none;
  }

  .info-card {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button-primary,
  .button-ghost,
  .topic-list a {
    transition: none;
  }

  .button-primary:hover,
  .button-ghost:hover,
  .topic-list a:hover {
    transform: none;
  }
}
