/* bowendwelle.com theme — copied from linktr.ee/bdwelle ("custom" theme)
   Edit the variables below to restyle the whole page. */
:root {
  --page-bg: #2c3b60;        /* Linktree outer frame (navy) */
  --panel-center: #58648f;   /* Linktree blurred panel: lighter middle ... */
  --panel-mid: #4b5e8b;
  --panel-edge: #3e4f7d;     /* ... darker edges */
  --intersections: #c33c00;  /* Intersections SF / Storied SF orange */
  --chip: #f4ecdc;           /* cream backing for the orange icons */
  --page-text: #ffffff;      /* Linktree typeface + heading colour */
  --btn-bg: #5e77b5;         /* Linktree button fill */
  --btn-bg-hover: #6a83c0;
  --btn-text: #1b170c;       /* Linktree button text */
  --btn-shadow: #93a3cd;     /* Linktree SHADOW_SM colour */
  --btn-radius: 8px;         /* Linktree ROUNDED_SM */
  --social: #ffffff;
}

html, body { background-color: var(--page-bg); }
body {
  color: var(--page-text);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.container {
  width: calc(100% - 1.25rem);
  max-width: 36rem;
  margin: 2.5rem auto;
  padding: 3rem 1.25rem 0.5rem;
  border-radius: 32px;
  background: radial-gradient(ellipse 85% 60% at 50% 38%, var(--panel-center) 0%, var(--panel-mid) 55%, var(--panel-edge) 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.18);
}
@media (max-width: 34.375rem) {
  .container { margin: 0.75rem auto; padding-top: 2.5rem; border-radius: 24px; }
}

.avatar {
  width: 6rem;
  height: 6rem;
  margin-bottom: var(--spacing-s);
}

h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
  hyphens: none;
}
.container p.bio {
  font-size: 1rem;
  margin: 0 0 var(--spacing-s) 0;
}

/* Social icon row */
.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 var(--spacing-m) 0;
}
.socials a {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 6px;
}
.socials img {
  width: 1.75rem;
  height: 1.75rem;
  filter: brightness(0) invert(1);  /* render brand icons in the white social colour */
  opacity: 0.92;
}
.socials a:hover img { opacity: 0.65; }

/* Buttons */
.button-stack { display: flex; flex-direction: column; align-items: center; }
.button.button-bowen {
  width: 100%;
  min-height: 3.5rem;
  font-size: 1rem;
  font-weight: 600;
  hyphens: none;
  display: block;             /* normal text flow: <strong> stays inline, <br> breaks a line */
  padding: 1rem 1.25rem;
  --button-text: var(--btn-text);
  --button-background: var(--btn-bg);
  border-radius: var(--btn-radius);
  box-shadow: 0 4px 4px 0 color-mix(in srgb, var(--btn-shadow) 55%, transparent);
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.button.button-bowen:hover {
  background-color: var(--btn-bg-hover);
  transform: scale(1.02);
}
.button.button-bowen strong { font-weight: 800; }

/* A "card" button holding more than one link (e.g. Intersections SF) */
.button.button-bowen.card { cursor: default; }
.button.button-bowen.card:hover { background-color: var(--btn-bg); transform: none; }
.card-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.card-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--chip);
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.card-links a:hover { transform: scale(1.08); }
/* recolourable icon: <span class="mask-icon" style="--icon:url(...svg)"> */
.mask-icon {
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--intersections);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.button.button-bowen .icon { filter: brightness(0) invert(1); }

a:focus-visible, .button:focus-visible {
  outline: 2px solid var(--page-text);
  outline-offset: 3px;
}

footer { font-size: 0.85rem; opacity: 0.75; }
footer a, footer a:hover { color: var(--page-text); }
