@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --wine: #7b2b35;
  --wine-dark: #4b1821;
  --gold: #eab83e;
  --paper: #fffdf8;
  --rose: #f7eceb;
  --ink: #422e30;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 14% 12%, rgb(234 184 62 / 18%), transparent 29rem),
    radial-gradient(circle at 88% 80%, rgb(123 43 53 / 14%), transparent 32rem),
    linear-gradient(145deg, #fffaf1, var(--rose));
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgb(234 184 62 / 24%);
  border-radius: 50%;
}

body::before { top: -12rem; right: -6rem; box-shadow: 0 0 0 3rem rgb(234 184 62 / 5%), 0 0 0 7rem rgb(234 184 62 / 4%); }
body::after { bottom: -15rem; left: -8rem; box-shadow: 0 0 0 4rem rgb(123 43 53 / 4%), 0 0 0 9rem rgb(123 43 53 / 3%); }

.page-shell {
  width: min(1080px, calc(100% - 2rem));
  min-height: calc(100vh - 7rem);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 3rem 0 1.5rem;
}

.card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, .75fr) auto minmax(320px, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  background: rgb(255 253 248 / 88%);
  border: 1px solid rgb(123 43 53 / 10%);
  border-radius: 2rem;
  box-shadow: 0 2rem 5rem rgb(75 24 33 / 10%);
  backdrop-filter: blur(12px);
}

.brand { text-align: center; }
.logo { display: block; width: min(100%, 240px); height: auto; margin: 0 auto 1.2rem; filter: drop-shadow(0 .8rem 1.2rem rgb(75 24 33 / 10%)); }
.brand-name { margin: 0; color: var(--wine); font: 700 clamp(2rem, 4vw, 3rem)/1 "Playfair Display", serif; letter-spacing: .02em; }
.brand-description { margin: .45rem 0 0; color: #88676b; font-size: .78rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }

.divider { align-self: stretch; display: grid; place-items: center; }
.divider::before { content: ""; width: 1px; height: 100%; background: linear-gradient(transparent, rgb(234 184 62 / 70%), transparent); }
.divider span { position: absolute; width: .55rem; height: .55rem; border: 2px solid var(--gold); background: var(--paper); transform: rotate(45deg); }

.eyebrow { margin: 0 0 .75rem; color: var(--wine); font-size: .77rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; color: var(--wine-dark); font: 700 clamp(2.65rem, 6vw, 4.6rem)/.98 "Playfair Display", serif; text-wrap: balance; }
.message { max-width: 36rem; margin: 1.4rem 0 2rem; color: #6e5558; font-size: clamp(1rem, 1.7vw, 1.13rem); line-height: 1.75; }

.contact-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.contact {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .72rem 1rem;
  color: var(--wine);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgb(123 43 53 / 22%);
  border-radius: 999px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.contact:hover { transform: translateY(-2px); border-color: var(--gold); background: #fff; }
.contact:focus-visible { outline: 3px solid rgb(234 184 62 / 55%); outline-offset: 3px; }
.contact.primary { color: #fff; background: var(--wine); border-color: var(--wine); box-shadow: 0 .6rem 1.4rem rgb(123 43 53 / 20%); }
.contact.primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.contact svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }

footer { padding: 0 1rem 1.5rem; color: #856d70; font-size: .74rem; text-align: center; line-height: 1.6; }
footer p { margin: 0; }
footer a { color: inherit; }
.developer { opacity: .8; }

@media (max-width: 760px) {
  .page-shell { min-height: auto; padding-top: 1rem; }
  .card { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.25rem; border-radius: 1.5rem; }
  .logo { width: 170px; margin-bottom: .75rem; }
  .brand-name { font-size: 2.2rem; }
  .divider { width: 100%; height: 1px; }
  .divider::before { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgb(234 184 62 / 70%), transparent); }
  .content { text-align: center; }
  .message { margin-inline: auto; }
  .contact-links { justify-content: center; }
}

@media (max-width: 440px) {
  .page-shell { width: min(100% - 1rem, 1080px); }
  .contact { width: 100%; }
}

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