:root {
  --bg-1: #fbf6ee;
  --bg-2: #f3e8d9;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-hover: rgba(255, 255, 255, 0.96);
  --text: #241c18;
  --text-muted: #74665c;
  --border: rgba(138, 104, 78, 0.20);
  --shadow: 0 16px 44px rgba(66, 48, 34, 0.10);
  --shadow-hover: 0 18px 48px rgba(66, 48, 34, 0.15);
  --font-brand: "Bodoni Moda", Didot, "Bodoni MT", "Times New Roman", serif;
  --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg-1); }

body {
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 50% 3%, rgba(255,255,255,.96) 0, rgba(255,255,255,.55) 25%, transparent 52%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.connect {
  width: min(100% - 32px, 500px);
  min-height: 100svh;
  margin-inline: auto;
  padding: max(28px, env(safe-area-inset-top)) 0 max(32px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.brand { text-align: center; }

.brand__logo-wrap {
  width: min(100%, 390px);
  margin: 0 auto -4px;
  overflow: hidden;
  border-radius: 26px;
}

.brand__logo {
  width: 100%;
  aspect-ratio: 995 / 695;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: multiply;
}

.brand__name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(3rem, 13vw, 5rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.055em;
}

.brand__subtitle {
  margin: 12px 0 0;
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.socials {
  display: grid;
  gap: 14px;
}

.social-card {
  min-height: 92px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.social-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
}

.social-card__icon img { width: 100%; height: 100%; }

.social-card__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.social-card__name {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
}

.social-card__handle {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.social-card__arrow {
  color: #9f8774;
  font-family: var(--font-brand);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .social-card:hover {
    transform: translateY(-2px);
    background: var(--surface-hover);
    border-color: rgba(138, 104, 78, 0.32);
    box-shadow: var(--shadow-hover);
  }
}

.social-card:focus-visible {
  outline: 3px solid rgba(69, 125, 222, 0.50);
  outline-offset: 4px;
}

.social-card:active { transform: scale(.992); }

@media (min-width: 720px) {
  .connect {
    width: min(100% - 48px, 540px);
    padding-block: 48px;
  }

  .social-card { min-height: 96px; }
}

@media (max-width: 390px) {
  .connect { width: min(100% - 24px, 500px); gap: 22px; }
  .brand__logo-wrap { width: 92%; }
  .social-card { min-height: 82px; grid-template-columns: 50px minmax(0,1fr) 18px; gap: 12px; padding: 12px; border-radius: 19px; }
  .social-card__icon { width: 48px; height: 48px; border-radius: 14px; }
  .social-card__name { font-size: 1.35rem; }
  .social-card__handle { font-size: .86rem; }
}

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