@font-face {
  font-family: Jost;
  src: url('../fonts/jost.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}
@font-face {
  font-family: Jost;
  src: url('../fonts/jost-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 100 900;
  font-display: block;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
}

:root {
  color-scheme: light;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: Jost, Arial, sans-serif;
  --purple: #702082;
  --purple-dark: #4d185e;
  --purple-soft: #a179b0;
  --ink: #33273a;
  --muted: #6e6073;
  --line: #e9dfea;
  --surface: #faf7fa;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.58 var(--font-body); }
img { max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: .18em; }
a:hover { color: var(--purple-dark); }
a:focus-visible, summary:focus-visible { outline: 3px solid #e2a5e8; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 50; padding: .55rem .8rem; color: #fff; background: var(--purple-dark); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { min-height: 132px; padding: 14px clamp(20px, 4vw, 56px) 12px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: linear-gradient(105deg, #654476 0%, #a685b2 52%, #78608e 100%); border-bottom: 5px solid var(--purple); }
.brand { display: flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { width: 100px; height: 100px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand-text span { margin-top: 8px; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.header-contact { display: flex; align-items: flex-end; flex-direction: column; font-size: .85rem; line-height: 1.45; white-space: nowrap; }
.header-contact a { color: #fff; }
.mobile-menu { display: none; }

.site-layout { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: calc(100vh - 132px); }
.side-rail { background: linear-gradient(180deg, #e7d7ea 0, #f7f0f7 280px, #fff 600px); border-right: 1px solid var(--line); }
.side-nav { display: flex; flex-direction: column; position: sticky; top: 26px; padding: 34px 18px 25px 27px; gap: 6px; }
.side-nav a { display: block; padding: 8px 9px; border-left: 3px solid transparent; color: var(--purple-dark); text-decoration: none; font-size: .87rem; letter-spacing: .09em; text-transform: uppercase; }
.side-nav a:hover, .side-nav a[aria-current="page"] { background: #ffffffad; border-left-color: var(--purple); }
.site-main { min-width: 0; padding: 44px clamp(24px, 5vw, 76px) 28px; display: flex; flex-direction: column; }
.site-main > :first-child { flex: 1; }
.site-footer { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--purple-dark); font-weight: 600; }
h1 { margin: 0 0 10px; font-size: clamp(2.5rem, 4.2vw, 3.5rem); }
h2 { margin-top: 0; font-size: clamp(1.85rem, 2.4vw, 2.2rem); }
.page-heading h1 { letter-spacing: .035em; }
.page-heading p { max-width: 60ch; margin: 0; color: var(--muted); font-size: 1.06rem; }
.page-heading { margin-bottom: 33px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }

.artist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 3vw, 42px); max-width: 1120px; }
.artist-grid-home { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 18px; max-width: 1000px; width: 100%; margin-inline: auto; }
.artist-grid-home .artist-card:nth-child(-n+3) { grid-column: span 4; }
.artist-grid-home .artist-card:nth-child(n+4) { grid-column: span 3; }
.artist-card { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; color: var(--purple-dark); text-decoration: none; text-align: center; }
.artist-card-name { min-height: 2.2em; display: flex; align-items: end; justify-content: center; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; font-weight: 600; letter-spacing: .02em; }
.artist-card-photo { position: relative; display: grid; place-items: center; width: min(100%, 220px); aspect-ratio: 1; overflow: hidden; border: 4px solid var(--purple); border-radius: 50%; background: #f3e9f5; box-shadow: 0 1px 0 var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.artist-grid-home .artist-card-photo { width: min(100%, 190px); }
.artist-card-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.artist-card:hover .artist-card-photo, .artist-card:focus-visible .artist-card-photo { transform: translateY(-4px); box-shadow: 0 12px 28px #4d185e24; }
.artist-card-initial { font-size: 4rem; color: var(--purple-soft); }
.artist-grid-page { margin-top: 5px; }

.profile { max-width: 980px; }
.back-link { display: inline-block; margin-bottom: 25px; font-size: .86rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.back-link::before { content: "← "; }
.profile-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 270px); gap: 30px; align-items: center; padding-bottom: 29px; border-bottom: 1px solid var(--line); }
.profile-intro { max-width: 50ch; color: var(--muted); font-size: 1.13rem; }
.schedule-link { display: inline-flex; align-items: center; gap: .45em; margin-top: 10px; padding: 9px 14px; border-radius: 3px; background: var(--purple); color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; }
.schedule-link::after { content: "↗"; font-size: 1.05em; }
.schedule-link:hover { background: var(--purple-dark); color: #fff; }
.profile-portrait { width: 270px; aspect-ratio: 1; border: 4px solid var(--purple); border-radius: 50%; object-fit: cover; }
.content-section { padding: 36px 0; border-bottom: 1px solid #d8c5de; display: flow-root; }
.content-section-image { float: right; width: min(38%, 290px); margin: 0 0 16px 30px; }
.content-section-image img { display: block; width: 100%; border-radius: 8px; }
.content-section-gallery { float: right; display: grid; gap: 16px; width: min(38%, 290px); margin: 0 0 16px 30px; }
.content-section-gallery .content-section-image { float: none; width: 100%; margin: 0; }
.prose { max-width: 73ch; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose hr { margin: 2.2rem 0; border: 0; border-top: 1px solid #d8c5de; }
.prose ul { padding-left: 1.3em; }
.prose a { overflow-wrap: anywhere; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.profile-links a { display: inline-block; padding: 9px 14px; border: 1px solid var(--purple); border-radius: 3px; text-decoration: none; font-size: .86rem; }
.profile-links a:hover { background: var(--purple); color: #fff; }

.text-page { max-width: 940px; }
.entry-list { display: grid; gap: 14px; }
.entry-card { padding: 22px 25px; background: var(--surface); border-left: 3px solid var(--purple-soft); }
.entry-card h2 { margin: 4px 0; }
.entry-card h2 a { text-decoration: none; }
.entry-card p { margin: 0; }
.entry-card time, .page-heading time { color: var(--muted); font-size: .8rem; }
.empty-state, .form-note { padding: 20px 24px; background: var(--surface); border-left: 3px solid var(--purple-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.contact-block { padding: 25px; background: var(--surface); }
.contact-block h2 { margin-bottom: 13px; }
.contact-block address { font-style: normal; }
.contact-block p { margin: 16px 0 0; }
.form-note { margin-top: 25px; }

@media (max-width: 900px) {
  .site-layout { grid-template-columns: 146px minmax(0, 1fr); }
  .side-nav { padding-left: 10px; padding-right: 8px; }
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-grid-home .artist-card:nth-child(n) { grid-column: auto; }
  .header-contact { display: none; }
}
@media (max-width: 650px) {
  .site-header { min-height: 86px; padding: 9px 17px; gap: 10px; }
  .brand-logo { width: 65px; height: 65px; }
  .brand { gap: 9px; }
  .brand-text strong { font-size: 1.65rem; }
  .brand-text span { display: none; }
  .mobile-menu { display: block; position: relative; flex: none; }
  .mobile-menu summary { padding: 8px 9px; list-style: none; cursor: pointer; font-size: .87rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; z-index: 10; right: 0; top: 42px; width: min(78vw, 230px); display: flex; flex-direction: column; padding: 9px; background: #fff; box-shadow: 0 10px 30px #28133145; border: 1px solid var(--line); }
  .mobile-menu nav a { padding: 8px 10px; text-decoration: none; }
  .site-layout { display: block; min-height: calc(100vh - 86px); }
  .side-rail { display: none; }
  .site-main { padding: 28px 20px 22px; }
  .artist-grid { gap: 22px 17px; }
  .artist-card-name { font-size: 1.2rem; min-height: 2.3em; letter-spacing: .01em; }
  .profile-header { display: flex; flex-direction: column-reverse; align-items: start; gap: 22px; }
  .profile-portrait { width: min(70vw, 230px); }
  .content-section-image { float: none; width: min(100%, 320px); margin: 0 0 18px; }
  .content-section-gallery { float: none; width: min(100%, 320px); margin: 0 0 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .site-footer { margin-top: 50px; }
}
@media (max-width: 360px) {
  .artist-grid { grid-template-columns: 1fr; }
  .artist-card-photo { width: min(100%, 205px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .artist-card-photo { transition: none; }
}
