:root {
  color-scheme: light;
  --page: #171110;
  --paper: #f3f0ea;
  --card: #ffffff;
  --ink: #171413;
  --muted: #625e59;
  --burgundy: #711f19;
  --deep: #27110f;
  --gold: #e0ad50;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: clamp(16px, 3vw, 42px);
  background:
    radial-gradient(circle at 8% 14%, rgba(153,50,36,.28), transparent 31%),
    radial-gradient(circle at 91% 84%, rgba(224,173,80,.11), transparent 25%),
    linear-gradient(135deg, #120e0d, #221514 58%, #171110);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }

.profile {
  position: relative;
  display: grid;
  width: min(100%, 1440px);
  min-height: calc(100svh - clamp(32px, 6vw, 84px));
  grid-template-columns: minmax(0, 1.03fr) minmax(500px, .97fr);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.brand-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(28px, 4.2vw, 66px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 14%, rgba(232,185,99,.13), transparent 25%),
    linear-gradient(145deg, var(--deep), #4b1713 53%, #85251e);
  color: #fff8ec;
}

.brand-panel::before,
.brand-panel::after {
  position: absolute;
  border: 1px solid rgba(224,173,80,.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.brand-panel::before { width: 440px; height: 440px; right: -245px; bottom: -185px; }
.brand-panel::after { width: 325px; height: 325px; right: -187px; bottom: -128px; }

.top-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark,
.share-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.brand-mark svg { width: 23px; fill: var(--gold); }

.share-button {
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.share-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }

.brand-content {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 680px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 54px 0 26px;
}

.identity-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
}

.logo {
  width: clamp(148px, 13vw, 190px);
  height: clamp(148px, 13vw, 190px);
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 22px 46px rgba(0,0,0,.34);
}

.identity-copy { min-width: 0; }

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .2em;
}

.identity-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.handle {
  margin: 16px 0 0;
  color: rgba(255,248,236,.72);
  font-size: 1rem;
  font-weight: 650;
}

.lead {
  max-width: 620px;
  margin: clamp(36px, 5vw, 68px) 0 22px;
  color: rgba(255,248,236,.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.3;
}

.specialties { display: flex; flex-wrap: wrap; gap: 9px; }

.specialties span {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  color: rgba(255,248,236,.86);
  font-size: .78rem;
  font-weight: 700;
}

.location-note {
  margin: 26px 0 0;
  color: rgba(255,248,236,.6);
  font-size: .82rem;
  font-weight: 650;
}

.location-note span { margin-right: 7px; color: var(--gold); }

.link-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 74px);
  background:
    radial-gradient(circle at 100% 0, rgba(224,173,80,.12), transparent 32%),
    var(--paper);
}

.link-heading { margin-bottom: 32px; }
.section-kicker { color: var(--burgundy); }

.link-heading h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.2vw, 3.55rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.link-heading > p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}

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

.link-card {
  position: relative;
  display: grid;
  min-height: 76px;
  grid-template-columns: 52px minmax(0, 1fr) 30px;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid rgba(36,25,20,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(54,35,25,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(113,31,25,.25);
  box-shadow: 0 15px 34px rgba(54,35,25,.12);
  outline: none;
}

.link-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #f4ece8;
  color: var(--burgundy);
}

.link-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-icon .fill { fill: currentColor; stroke: none; }

.link-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding-inline: 3px;
}

.link-copy strong { overflow-wrap: anywhere; font-size: 1rem; line-height: 1.15; }
.link-copy small { color: #77716c; font-size: .77rem; line-height: 1.2; }

.link-arrow {
  color: #8d857e;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

footer {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 34px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 99px;
  background: #171717;
  color: #fff;
  font-size: .84rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  body { padding: 0; }
  .profile { display: block; min-height: 100svh; border: 0; border-radius: 0; }
  .brand-panel { min-height: auto; padding: 22px clamp(18px, 5vw, 38px) 34px; }
  .brand-content { max-width: 760px; padding: 34px 0 0; }
  .identity-row { gap: 22px; }
  .logo { width: 116px; height: 116px; border-radius: 20px; }
  .identity-copy h1 { font-size: clamp(2.6rem, 10vw, 4.2rem); }
  .lead { margin: 28px 0 18px; font-size: clamp(1.15rem, 4vw, 1.5rem); }
  .location-note { margin-top: 20px; }
  .link-panel { padding: 36px clamp(16px, 5vw, 38px) 30px; }
}

@media (max-width: 520px) {
  .brand-mark, .share-button { width: 40px; height: 40px; }
  .brand-content { padding-top: 26px; }
  .identity-row { align-items: center; gap: 16px; }
  .logo { width: 102px; height: 102px; border-radius: 16px; }
  .eyebrow { margin-bottom: 7px; font-size: .63rem; }
  .identity-copy h1 { font-size: clamp(2.45rem, 14vw, 3.35rem); }
  .handle { margin-top: 11px; font-size: .84rem; }
  .specialties { gap: 7px; }
  .specialties span { padding: 7px 10px; font-size: .7rem; }
  .link-heading { margin-bottom: 25px; }
  .link-heading h2 { font-size: 2.1rem; }
  .link-heading > p:last-child { font-size: .9rem; }
  .link-card { min-height: 70px; grid-template-columns: 46px minmax(0,1fr) 24px; padding: 10px 11px; }
  .link-icon { width: 38px; height: 38px; }
  .link-copy strong { font-size: .93rem; }
  .link-copy small { font-size: .72rem; }
}

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