:root {
  --black: #090c0f;
  --charcoal: #11161b;
  --panel: rgba(15, 19, 23, 0.93);
  --panel-soft: #171c21;
  --gold: #c7a95d;
  --gold-bright: #e3cc86;
  --gold-dark: #846d34;
  --ivory: #f4efe3;
  --muted: #aaa79f;
  --line: rgba(199, 169, 93, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ivory);
  font-family: "Manrope", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(199, 169, 93, 0.14), transparent 34%),
    radial-gradient(circle at 15% 85%, rgba(31, 55, 72, 0.22), transparent 36%),
    linear-gradient(145deg, #080b0e 0%, #11171c 48%, #080a0c 100%);
}

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

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 42px 18px;
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  z-index: -2;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(199, 169, 93, 0.1);
  border-radius: 50%;
  content: "";
}

.page-shell::before {
  top: -310px;
  right: -180px;
  box-shadow: 0 0 0 36px rgba(199, 169, 93, 0.025), 0 0 0 72px rgba(199, 169, 93, 0.02);
}

.page-shell::after {
  bottom: -350px;
  left: -220px;
}

.linework {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(115deg, transparent 49.85%, rgba(199, 169, 93, 0.18) 50%, transparent 50.15%),
    linear-gradient(65deg, transparent 49.9%, rgba(255, 255, 255, 0.04) 50%, transparent 50.1%);
  background-size: 360px 360px, 520px 520px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.profile {
  position: relative;
  width: min(100%, 488px);
  padding: 39px 35px 27px;
  overflow: hidden;
  border: 1px solid rgba(199, 169, 93, 0.25);
  border-radius: 8px 38px 8px 38px;
  background: linear-gradient(160deg, rgba(23, 28, 33, 0.97), var(--panel));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.54);
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: enter 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  content: "";
}

.identity {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.monogram {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 19px;
  place-content: center;
  grid-template-columns: auto 1px auto;
  gap: 6px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  color: var(--gold-bright);
  background: radial-gradient(circle at 35% 25%, #242a2f, #0b0e11 68%);
  box-shadow:
    inset 0 0 0 5px #11161a,
    0 13px 32px rgba(0, 0, 0, 0.35);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.monogram i {
  width: 1px;
  height: 27px;
  background: var(--gold-dark);
  transform: rotate(18deg);
}

.office-label {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 9vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.office-name {
  margin: 5px 0 8px;
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.handle {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.practice-areas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.practice-areas span {
  padding: 7px 10px;
  border: 1px solid rgba(199, 169, 93, 0.2);
  border-radius: 999px;
  color: #d9d4c8;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.7rem;
  letter-spacing: 0.025em;
}

.intro {
  max-width: 350px;
  margin: 21px auto 25px;
  color: #c3bfb5;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.45;
}

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

.link-button {
  display: grid;
  min-height: 62px;
  align-items: center;
  grid-template-columns: 42px 1fr;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 13px;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.link-button:hover {
  border-color: rgba(199, 169, 93, 0.52);
  background: rgba(199, 169, 93, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.link-button:active {
  transform: translateY(0) scale(0.99);
}

.link-button:focus-visible {
  outline: 3px solid rgba(227, 204, 134, 0.28);
  outline-offset: 3px;
}

.link-button--primary {
  border-color: var(--gold-dark);
  color: #14110a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 10px 26px rgba(106, 84, 32, 0.22);
}

.link-button--primary:hover {
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, #ead895, #cbae60);
}

.link-button--review {
  border-color: rgba(199, 169, 93, 0.48);
  background: rgba(199, 169, 93, 0.07);
}

.link-button__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(199, 169, 93, 0.16);
  border-radius: 10px;
  color: var(--gold-bright);
  background: rgba(199, 169, 93, 0.07);
}

.link-button--primary .link-button__icon {
  border-color: rgba(20, 17, 10, 0.12);
  color: #211a0d;
  background: rgba(255, 255, 255, 0.25);
}

.link-button__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.link-button__label {
  padding: 0 12px;
  text-align: center;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

footer {
  margin-top: 25px;
}

.footer-rule {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  margin: 0 48px 14px;
  color: var(--gold-dark);
}

.footer-rule span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 169, 93, 0.42));
}

.footer-rule span:last-child {
  background: linear-gradient(90deg, rgba(199, 169, 93, 0.42), transparent);
}

.footer-rule b {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.85rem;
}

footer p {
  margin: 0;
  color: #7f8182;
  font-size: 0.66rem;
  line-height: 1.6;
}

footer .copyright {
  margin-top: 7px;
  color: #666a6c;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .page-shell {
    align-items: end;
    padding: 58px 0 0;
  }

  .profile {
    width: 100%;
    padding: 34px 20px 25px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
  }

  .monogram {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 370px) {
  .profile {
    padding-right: 14px;
    padding-left: 14px;
  }

  .link-button__label {
    padding: 0 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
