:root {
  color-scheme: light;
  --red: #810707;
  --red-dark: #650404;
  --cream: #fffaf0;
  --ink: #35221d;
  --muted: #75665d;
  --line: #e8d9c9;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--red);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; padding: 32px 20px; min-height: 100svh; display: grid; place-items: center; }
body::before { content: ''; position: fixed; inset: 0; 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='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' opacity='.055' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); opacity: .6; z-index: 4; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #df9b37; outline-offset: 5px; }
.profile { position: relative; width: min(100%, 500px); padding: 22px 32px 26px; border-radius: 24px; background: var(--cream); box-shadow: 0 15px 65px #44000022; z-index: 2; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eyebrow, .section-caption, .location-label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; }
.eyebrow { color: var(--muted); }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 12px; border: 1px solid var(--line); background: transparent; border-radius: 50%; color: var(--red); transition: background .18s ease, border-color .18s ease; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { background: #f4e9d9; border-color: #b8997d; }
.profile-header { text-align: center; padding: 11px 0 25px; }
.logo { display: block; width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; }
h1 { position: relative; display: inline-block; font-family: 'DM Serif Display', Georgia, serif; font-size: 2.55rem; font-weight: 400; line-height: 1.1; letter-spacing: -.035em; margin: 0; color: var(--red); }
.heading-star { position: absolute; top: -4px; right: -26px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1; transform: rotate(-15deg); }
.tagline { margin: 10px 0 17px; font-size: 1rem; color: var(--muted); line-height: 1.5; }
.hours { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 34px; padding: 7px 12px; color: #674e40; background: #f4ecdf; border-radius: 8px; font-size: .875rem; line-height: 1.3; }
.hours svg { width: 16px; height: 16px; }
.hours-divider { width: 1px; align-self: stretch; background: #cdbba6; margin: 0 1px; }
.link-list { display: grid; gap: 12px; scroll-margin-top: 20px; }
.link-list:focus { outline: none; }
.link-card { display: flex; align-items: center; min-height: 88px; padding: 16px; gap: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fffcf6; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.link-card:hover { transform: translateY(-3px); border-color: #9a5b48; background: #fcf1e2; box-shadow: 0 6px 12px #5b16000a; }
.link-card:active { transform: translateY(0); }
.link-icon { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; color: var(--red); }
.link-icon svg { width: 32px; height: 32px; }
.link-copy { display: grid; gap: 5px; text-align: left; }
.link-copy strong { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.link-copy > span { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.featured { background: var(--red); color: var(--cream); border-color: var(--red); }
.featured .link-icon { color: var(--cream); }
.featured .link-copy > span { color: #f1d5c7; }
.featured:hover { background: var(--red-dark); border-color: var(--red-dark); }
.small-label { font-size: .75rem; border: 1px solid #ffffff4a; padding: 5px 7px; border-radius: 5px; margin-left: auto; letter-spacing: .05em; }
.social-section { text-align: center; margin-top: 26px; }
.section-caption { color: var(--muted); font-size: .6875rem; letter-spacing: .17em; }
.social-links { display: flex; justify-content: center; align-items: center; gap: 17px; margin-top: 5px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: .875rem; color: var(--red); border-radius: 4px; }
.social-links a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.social-links svg { width: 19px; height: 19px; }
.social-divider { background: var(--line); width: 1px; height: 16px; }
.profile-footer { margin-top: 20px; text-align: center; padding-top: 19px; border-top: 1px solid var(--line); }
.footer-flower { display: inline-block; color: var(--red); font-size: 1.2rem; line-height: 1; }
.profile-footer p { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: 1.1rem; margin: 7px 0 8px; color: #705043; }
.location-label { color: var(--muted); font-size: .6875rem; letter-spacing: .15em; }
.side-note { position: fixed; top: 50%; width: clamp(180px, 19vw, 300px); transform: translateY(-50%); color: var(--cream); text-align: center; pointer-events: none; }
.side-note-left { right: calc(50% + 296px); transform: translateY(-50%) rotate(-7deg); }
.side-note-right { left: calc(50% + 296px); transform: translateY(-50%) rotate(6deg); }
.side-note img { display: block; width: 100%; height: auto; object-fit: contain; margin: 18px auto; }
.side-note p { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(1.5rem, 2.1vw, 2rem); font-style: italic; line-height: 1.25; margin: 10px 0; }
.side-note span { display: block; font-size: .6875rem; letter-spacing: .2em; opacity: .8; }
dialog { width: min(440px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 20px; padding: 24px; color: var(--ink); background: var(--cream); box-shadow: 0 18px 70px #25000055; }
dialog::backdrop { background: #30000099; backdrop-filter: blur(4px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; }
dialog h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; font-weight: 400; color: var(--red); margin: 22px 0 10px; }
dialog > p { font-size: 1rem; color: var(--muted); line-height: 1.6; }
dialog input { width: 100%; padding: 14px 12px; margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fffcf7; color: var(--muted); font-size: .875rem; }
.copy-button { background: var(--red); color: var(--cream); width: 100%; border: 0; border-radius: 8px; padding: 15px; font-weight: 600; min-height: 48px; }
.copy-button:hover { background: var(--red-dark); }
dialog .copy-status { min-height: 24px; font-size: .875rem; margin: 8px 0 0; text-align: center; color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--cream); color: var(--red); padding: 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 14px; }
@media (max-width: 1050px) { .side-note { display: none; } }
@media (max-width: 540px) {
  :root { background: var(--cream); }
  body { padding: 0; display: block; }
  body::before { opacity: .3; }
  .profile { width: 100%; max-width: 500px; margin: 0 auto; padding: 20px 24px 28px; min-height: 100svh; border-radius: 0; box-shadow: none; }
  .profile::after { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; background: var(--red); border-radius: 0 0 3px 3px; }
  .profile-header { padding-top: 12px; }
}
@media (max-width: 360px) {
  .profile { padding-left: 17px; padding-right: 17px; }
  .eyebrow { font-size: .625rem; letter-spacing: .13em; }
  .link-card { gap: 9px; padding: 13px 11px; }
  .link-icon { width: 34px; }
  .hours { padding: 7px 9px; gap: 7px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
