:root {
  color-scheme: only light;
  --brown: #80583e; --deep: #322017; --gold: #e7ca79; --cream: #f6eedc;
  --muted: #e3cfb8; --line: rgb(231 202 121 / 32%); --surface: #66432f;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --press-duration: 160ms; --hover-duration: 240ms;
  --serif: "Playfair Display", Georgia, serif; --sans: "DM Sans", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a, input { font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { appearance: none; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
svg { display: block; width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell { display: grid; place-items: center; min-height: 100svh; padding: 36px 24px; background: radial-gradient(ellipse at 50% 20%, #fffaf0, transparent 70%), #eee4d2; }
.card { position: relative; isolation: isolate; display: flex; flex-direction: column; width: min(100%, 460px); min-height: 758px; padding: 24px 36px 28px; overflow: hidden; border: 1px solid #ad8952; border-radius: 24px; background: radial-gradient(ellipse at 10% 0%, rgb(198 151 107 / 20%), transparent 60%), linear-gradient(145deg, #80583e, #6f4933 65%, #593825); box-shadow: 0 28px 80px #32201726, 0 4px 12px #32201714; }
.card::before { content: ""; position: absolute; z-index: 2; inset: 10px; border: 1px solid rgb(231 202 121 / 19%); border-radius: 16px; pointer-events: none; }
.card > :not(.background-monogram, .grain) { position: relative; z-index: 1; }
.grain { position: absolute; z-index: 0; inset: 0; opacity: .05; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.background-monogram { position: absolute; z-index: 0; top: 38%; left: 50%; width: 300px; height: 250px; overflow: hidden; opacity: .075; pointer-events: none; transform: translate(-50%, -50%); }
.background-monogram img { position: absolute; width: 1218px; max-width: none; height: auto; top: 0; left: -450px; }
.card-header { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.share-button, .close-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--cream); transition: background .18s ease, border-color .18s ease; }
.share-button svg { width: 19px; height: 19px; }
.card-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 12px 0 26px; }
.brand { text-align: center; }
.brand-medallion { position: relative; display: grid; place-items: center; width: 176px; height: 176px; margin: 0 auto 26px; overflow: hidden; border: 1px solid #e0bd73; border-radius: 50%; background: #e7d1b0; box-shadow: 0 12px 28px #32201730, inset 0 0 0 5px #63422e, inset 0 0 0 6px #c09b60; }
.brand-medallion::before { content: ""; position: absolute; z-index: 1; inset: -8px; border: 1px solid rgb(231 202 121 / 35%); border-radius: 50%; pointer-events: none; }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.wordmark { position: relative; width: min(100%, 336px); aspect-ratio: 451 / 72; margin: 0 auto; overflow: hidden; }
.wordmark img { position: absolute; display: block; bottom: 0; left: 0; width: 100%; height: auto; }
.intro { margin: 24px 0 28px; text-align: center; }
.ornament { display: block; width: 34px; height: 1px; margin: 0 auto 14px; background: var(--gold); }
.intro p { margin: 0; color: var(--cream); white-space: nowrap; font: 500 clamp(16px, 4.65vw, 22px)/1.2 var(--serif); letter-spacing: -.035em; }
.section-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.section-buttons button { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; grid-template-rows: 24px auto; align-content: space-between; align-items: center; min-width: 0; min-height: 92px; gap: 10px; padding: 15px 18px; overflow: hidden; border: 1px solid #e9cb8a; border-radius: 16px; color: var(--deep); background: linear-gradient(135deg, #fff5df, #efddb5 72%, #e0c38b); box-shadow: 0 5px 12px #32201724, inset 0 1px 0 #fff9ed, inset 0 -2px 0 #b78f4940; transition: transform var(--press-duration) var(--ease-out); }
.section-buttons button::before, .social-link::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, transparent 15%, rgb(255 255 255 / 45%) 48%, transparent 80%); opacity: 0; transform: translateX(-65%); transition: transform var(--hover-duration) var(--ease-out), opacity var(--hover-duration) ease; }
/* Automatic satin highlight: one slow sweep, then a quiet interval. */
.section-buttons button::before {
  background: linear-gradient(115deg, transparent 32%, rgb(255 255 255 / 12%) 42%, rgb(255 255 255 / 75%) 50%, rgb(255 255 255 / 12%) 58%, transparent 68%);
  animation: button-shimmer 5.6s linear infinite;
  transition: none;
}
.section-buttons button:nth-child(2)::before { animation-delay: .4s; }
.section-buttons button:nth-child(3)::before { animation-delay: .8s; }
.section-buttons button:nth-child(4)::before { animation-delay: 1.2s; }
@keyframes button-shimmer {
  0% { transform: translateX(-100%); opacity: 0; }
  7% { opacity: .85; }
  38% { opacity: .85; }
  46%, 100% { transform: translateX(100%); opacity: 0; }
}
.section-buttons button::after { content: ""; position: absolute; z-index: -1; inset: 3px; border: 1px solid rgb(255 251 237 / 60%); border-radius: 12px; pointer-events: none; }
.section-buttons span { grid-column: 1 / -1; grid-row: 2; text-align: left; font-size: 12px; font-weight: 600; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; }
.section-buttons .section-icon { grid-row: 1; grid-column: 1; width: 23px; height: 23px; color: #78562f; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.social-link { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 114px; gap: 7px; padding: 16px 5px 28px; overflow: hidden; border: 1px solid #c4a16999; border-radius: 18px; background: linear-gradient(145deg, #926a4966, #39241966); box-shadow: inset 0 1px 0 #f6eedc14, 0 5px 14px #3220171a; color: var(--cream); text-decoration: none; font-size: 12px; line-height: 1.5; transition: transform var(--press-duration) var(--ease-out); }
.social-link::before { background: linear-gradient(120deg, transparent 15%, rgb(255 244 214 / 16%) 48%, transparent 80%); }
.social-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--gold); transition: transform var(--hover-duration) var(--ease-out); }
.social-icon svg { width: 27px; height: 27px; }
.social-label { font-size: 12px; font-weight: 600; }
.social-link small { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.social-link small svg { width: 12px; height: 12px; }
.whatsapp-link { color: var(--deep); background: linear-gradient(135deg, #faeac0, #e7ca79 65%, #d6b161); border-color: #efd898; box-shadow: inset 0 1px 0 #fff4d9, inset 0 -2px 0 #a37b3233, 0 6px 18px #32201733; }
.whatsapp-link .social-icon, .whatsapp-link small { color: #52381f; }
.whatsapp-link::before { background: linear-gradient(120deg, transparent 15%, rgb(255 255 255 / 40%) 48%, transparent 80%); }
.site-link { padding-bottom: 16px; background: linear-gradient(145deg, #76523966, #432b1e55); border-color: #bda17b66; box-shadow: inset 0 1px 0 #f6eedc0a; }
.site-link .social-icon { color: #d4b98c; }
.site-link:hover, .site-link:focus-visible { transform: translateY(-2px); border-color: #e7ca79; box-shadow: inset 0 1px 0 #fff4d922, 0 8px 20px #1f120b44; }
.site-link:hover .social-icon, .site-link:focus-visible .social-icon { transform: translateY(-2px); }
.footer { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer-rule { height: 1px; flex: 1; max-width: 42px; background: var(--line); }
.detail-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 18px 22px 22px; color: var(--cream); background: var(--surface); border: 1px solid #b58e53; border-radius: 20px; box-shadow: 0 24px 80px #24160f66; overflow-y: auto; overscroll-behavior: contain; }
.detail-dialog[open] { animation: panel-in .22s ease-out; }
.detail-dialog::backdrop { background: rgb(30 19 13 / 65%); backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.close-button svg { width: 20px; height: 20px; }
.detail-dialog h2 { margin: 0 0 10px; font: 500 clamp(25px, 6vw, 30px)/1.12 var(--serif); letter-spacing: -.035em; }
.detail-dialog p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.detail-dialog .dialog-lead { margin: 0 0 14px; color: var(--cream); }
.detail-dialog h3 { margin: 4px 0 0; font-size: 17px; font-weight: 500; line-height: 1.5; }
.profile-list { display: grid; gap: 10px; }
.profile-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; padding: 12px; border: 1px solid #e7ca79; border-radius: 14px; background: linear-gradient(135deg, #faf0da, #efdfbf); color: var(--deep); box-shadow: 0 6px 18px #3220171a; }
.profile-photo { grid-column: 1; grid-row: 1 / span 3; width: 76px; height: 98px; overflow: hidden; border: 1px solid #c59d5e; border-radius: 10px; object-fit: cover; object-position: 50% 24%; background: #d9bd91; }
.profile-role { grid-column: 2; display: block; color: #78552f; font-size: 11px; font-weight: 500; line-height: 1.45; }
.profile-card h3 { grid-column: 2; margin: 4px 0 5px; color: #51361f; font: 500 20px/1.12 var(--serif); letter-spacing: -.035em; }
.profile-card p { grid-column: 2; color: #5c4736; font-size: 12px; line-height: 1.42; margin: 0; }
.profile-fields { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 9px 0 0; margin: 9px 0 0; border-top: 1px solid #ac87454d; }
.profile-fields li { padding: 4px 7px; border: 1px solid #ac87454d; border-radius: 6px; color: #634624; background: #fff7e54d; font-size: 11px; line-height: 1.35; }
.address-card { display: flex; gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 14px; font-style: normal; line-height: 1.55; }
.address-card > svg { color: var(--gold); margin-top: 3px; }
.address-card div { min-width: 0; }
.address-card strong, .address-card span { display: block; }
.address-card strong { font-weight: 500; }
.address-card span { color: var(--muted); }
.dialog-action { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; min-height: 48px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 12px; background: var(--gold); color: var(--deep); font-size: 14px; font-weight: 600; text-decoration: none; }
.dialog-action svg { width: 20px; height: 20px; }
.practice-list, .coverage-list { margin: 0; padding: 0; list-style: none; }
.practice-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.practice-groups section { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgb(50 32 23 / 10%); }
.practice-groups h3 { margin: 0 0 8px; color: var(--gold); font-size: 13px; font-weight: 600; }
.practice-groups ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.practice-groups li { position: relative; padding-left: 11px; color: var(--cream); font-size: 12px; line-height: 1.35; }
.practice-groups li::before { content: ""; position: absolute; left: 0; top: .48em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.practice-list li { display: flex; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.list-number { color: var(--gold); font-size: 12px; padding-top: 8px; }
.practice-list h3 { margin: 0; }
.practice-list p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; }
.coverage-list li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.coverage-list svg { color: var(--gold); width: 21px; height: 21px; }
.coverage-list small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.contact-list { display: grid; gap: 8px; }
.contact-list a { display: grid; grid-template-columns: 23px minmax(0, 1fr) 18px; align-items: center; gap: 10px; min-height: 66px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: rgb(50 32 23 / 12%); }
.contact-list a > svg { color: var(--gold); width: 24px; }
.contact-list a > svg:last-child { width: 18px; }
.contact-list strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; }
.contact-list small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.share-dialog label { display: block; font-size: 14px; margin: 20px 0 8px; }
.share-dialog input { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--deep); background: var(--cream); font-size: 16px; }
.share-dialog [data-copy-status]:empty { display: none; }
.share-feedback { position: fixed; z-index: 5; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--cream); background: var(--deep); font-size: 14px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s; }
.share-feedback.is-visible { opacity: 1; transform: translate(-50%, 0); }
body:has(dialog[open]) { overflow: hidden; }
:where(button, a, input):focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.section-buttons button:focus-visible { outline-color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .section-buttons button:hover, .social-link:not(:disabled):hover { transform: translateY(-3px); }
  .social-link:not(:disabled):hover::before { opacity: 1; transform: translateX(25%); }
  .social-link:not(:disabled):hover .social-icon { transform: translateY(-2px); }
  .share-button:hover, .close-button:hover, .contact-list a:hover { background: rgb(231 202 121 / 12%); border-color: var(--gold); }
  .dialog-action:hover { background: #f2dda5; }
}
.section-buttons button:active, .social-link:not(:disabled):active { transform: scale(.97); }
.social-link:not(:disabled):active::before { opacity: 1; transform: translateX(0); transition-duration: 100ms; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  html { background: #6f4933; }
  .page-shell { padding: 0; background: var(--brown); }
  .card { width: 100%; min-height: 100svh; padding: max(16px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom)); border: 0; border-radius: 0; box-shadow: none; }
  .card::before { inset: 9px; border-radius: 3px; }
  .card-content { padding-top: 22px; padding-bottom: 28px; }
  .brand-medallion { width: 160px; height: 160px; margin-bottom: 26px; }
  .wordmark { max-width: 320px; }
  .intro { margin: 24px 0 28px; }
  .social-links { margin-top: 28px; }
  .detail-dialog { padding: 20px 24px 26px; }
}
@media (max-width: 360px) {
  .card { padding-inline: 22px; }
  .section-buttons { gap: 12px 10px; }
  .section-buttons button { padding-inline: 12px; }
  .section-buttons span { font-size: 12px; letter-spacing: .02em; }
  .social-links { gap: 8px; }
  .social-link { padding-inline: 3px; }
  .profile-card { padding: 12px; }
  .contact-list a { padding: 13px; gap: 9px; }
}
@media (max-height: 740px) and (max-width: 520px) {
  .card-content { padding-top: 12px; padding-bottom: 18px; }
  .brand-medallion { width: 134px; height: 134px; margin-bottom: 20px; }
  .intro { margin: 18px 0 22px; }
  .intro p { font-size: 22px; }
  .social-links { margin-top: 24px; padding-top: 20px; }
}
@media (max-height: 660px) and (max-width: 520px) {
  .card { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .card-content { padding-top: 6px; padding-bottom: 10px; }
  .brand-medallion { width: 108px; height: 108px; margin-bottom: 12px; }
  .wordmark { max-width: 240px; }
  .intro { margin: 10px 0 14px; }
  .intro p { font-size: 18px; }
  .section-buttons { gap: 8px; }
  .section-buttons button { min-height: 72px; padding: 10px 16px; gap: 6px; }
  .social-links { margin-top: 14px; padding-top: 12px; gap: 8px; }
  .social-link { min-height: 84px; padding: 10px 5px 20px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .section-buttons button, .social-link, .social-icon { transform: none !important; }
  .section-buttons button::before, .social-link::before { transform: none !important; }
}
