:root {
  --bg: #f5f1e8;
  --bg-soft: #fbf8f2;
  --panel: #fffdf8;
  --panel-2: #f0eadf;
  --text: #211f1c;
  --muted: #6d675f;
  --faint: #91897f;
  --line: rgba(55, 46, 35, .12);
  --line-strong: rgba(55, 46, 35, .20);
  --accent: #a77b38;
  --accent-2: #7d581f;
  --accent-soft: #eadfc8;
  --shadow: 0 24px 70px rgba(64, 48, 28, .12);
  --radius: 24px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(190, 157, 98, .19), transparent 34rem),
    radial-gradient(circle at 100% 16%, rgba(159, 145, 124, .10), transparent 30rem),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 38%, #f2ede3 100%);
  color: var(--text);
  font: 16px/1.62 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(80, 63, 40, .04);
}
.nav { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(167, 123, 56, .45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 0 20px rgba(167,123,56,.06);
}
.brand-mark::before { content: "✦"; font-size: 15px; }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}
.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.55);
}

.hero { padding: 84px 0 46px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
}
.hero-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 52px; align-items: end; }
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
  font-size: clamp(3rem, 7.2vw, 6.7rem);
  line-height: .93;
  margin: 18px 0 22px;
  max-width: 920px;
}
.hero p { color: var(--muted); max-width: 710px; font-size: 18px; }
.hero-stat { border-left: 1px solid var(--line); padding-left: 28px; }
.hero-stat strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 500;
}
.hero-stat span { color: var(--muted); font-size: 13px; }

.ad {
  display: grid;
  place-items: center;
  margin: 28px auto;
  color: var(--faint);
  border: 1px dashed rgba(80, 67, 48, .20);
  background:
    linear-gradient(135deg, rgba(255,255,255,.60), rgba(231,223,210,.48));
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  overflow: hidden;
}
.ad::after { content: attr(data-size); }
.ad-970x250 { max-width: 970px; height: min(250px, 26vw); min-height: 110px; }
.ad-728x90 { max-width: 728px; height: 90px; }
.ad-300x250 { width: 300px; max-width: 100%; height: 250px; }
.ad-300x600 { width: 300px; max-width: 100%; height: 600px; }
.ad-320x100 { width: 320px; max-width: 100%; height: 100px; display: none; }

.section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}
.section h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem,4vw,3.4rem);
  letter-spacing: -.035em;
}
.section-copy { color: var(--muted); max-width: 590px; }

.filters {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px;
  gap: 12px;
  margin: 28px 0 24px;
}
.search, .filter {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,253,248,.94);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  box-shadow: 0 7px 20px rgba(70, 55, 35, .035);
}
.search::placeholder { color: #9d958b; }
.search:focus, .filter:focus {
  border-color: rgba(167,123,56,.52);
  box-shadow: 0 0 0 4px rgba(167,123,56,.10);
}

.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person-card {
  position: relative;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,243,234,.94));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  transition: .2s ease;
  box-shadow: 0 10px 28px rgba(70, 55, 35, .035);
}
.person-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167,123,56,.34);
  box-shadow: var(--shadow);
}
.person-visual {
  aspect-ratio: 4 / 5;
  border-radius: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 22%, rgba(255,255,255,.74), transparent 28%),
    linear-gradient(145deg, #ddd0bb, #b79d77 100%);
  border: 1px solid rgba(70, 54, 31, .10);
}
.person-visual img { width: 100%; height: 100%; object-fit: cover; }
.monogram {
  font-family: Georgia, serif;
  font-size: clamp(46px,7vw,84px);
  color: rgba(49, 40, 30, .70);
  letter-spacing: -.07em;
}
.person-meta { padding: 16px 3px 5px; }
.person-meta h3 { margin: 0 0 3px; letter-spacing: -.02em; font-size: 18px; }
.person-meta p { margin: 0; color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag {
  color: #5e584f;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
}
.inline-ad-card { display: grid; place-items: center; min-height: 100%; }

.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
  margin-top: 38px;
  box-shadow: 0 14px 35px rgba(70,55,35,.04);
}
.feature-strip div { background: rgba(255,253,248,.92); padding: 24px; }
.feature-strip strong { display: block; margin-bottom: 5px; }
.feature-strip span { color: var(--muted); font-size: 13px; }

.directory-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 36px;
  align-items: start;
}
.sidebar { position: sticky; top: 100px; }
.alpha { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 22px; }
.alpha a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255,255,255,.45);
  font-size: 12px;
}
.alpha a:hover { border-color: rgba(167,123,56,.48); color: var(--accent-2); }

.profile-hero { padding: 64px 0 36px; }
.breadcrumbs { color: var(--faint); font-size: 12px; margin-bottom: 26px; }
.profile-grid {
  display: grid;
  grid-template-columns: 330px minmax(0,1fr);
  gap: 48px;
  align-items: start;
}
.profile-portrait {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(70,55,35,.08);
  background: var(--panel);
}
.profile-portrait .person-visual { border: 0; border-radius: 0; aspect-ratio: 4 / 5.1; }
.profile-copy h1 {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: clamp(3rem,7vw,6.2rem);
  line-height: .94;
  letter-spacing: -.05em;
  margin: 4px 0 16px;
}
.profile-role {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-dek { font-size: 19px; color: #4f4a43; max-width: 760px; }
.profile-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 28px;
  box-shadow: 0 10px 28px rgba(70,55,35,.035);
}
.profile-facts div { background: rgba(255,253,248,.94); padding: 18px; }
.profile-facts span {
  display: block;
  color: var(--faint);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .14em;
}
.profile-facts strong { font-size: 14px; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
}
.btn-primary {
  background: #25221e;
  color: #fffaf2;
  border-color: #25221e;
  box-shadow: 0 9px 24px rgba(37,34,30,.16);
}
.btn-primary:hover { color: #fff; background: #3a332c; border-color: #3a332c; }
.btn-secondary { background: rgba(255,255,255,.62); color: var(--text); }
.btn-secondary:hover { background: #fffdf8; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 42px;
  align-items: start;
}
.prose { color: #4c4740; }
.prose h2 {
  margin-top: 0;
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -.03em;
  color: var(--text);
}
.prose p { max-width: 760px; }

.works-list { border-top: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 130px 110px;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.work-row strong { font-size: 15px; }
.work-row span { color: var(--muted); font-size: 13px; }

.external-library {
  margin: 28px 0 0;
  padding: 22px;
  border: 1px solid rgba(167,123,56,.26);
  background:
    linear-gradient(135deg, rgba(235,222,196,.58), rgba(255,253,248,.86));
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow: 0 12px 32px rgba(86,64,33,.05);
}
.external-library p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.note { color: var(--faint); font-size: 12px; }

.page-hero { padding: 68px 0 26px; }
.page-hero h1 {
  font: 500 clamp(3rem,6vw,5.5rem)/.96 Georgia,serif;
  letter-spacing: -.05em;
  margin: 10px 0 20px;
}
.page-hero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.policy { max-width: 820px; }
.policy h2 { margin-top: 42px; font-family: Georgia,serif; font-weight: 500; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.11);
  margin-top: 70px;
  padding: 44px 0 54px;
  color: #c5beb3;
  background: #27231f;
}
.site-footer a:hover { color: #fff3da; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 32px; }
.footer-title { color: #fffaf3; font-weight: 700; margin-bottom: 10px; }
.footer-links { display: grid; gap: 8px; font-size: 13px; }
.footer-note { max-width: 520px; font-size: 13px; }
.mobile-only { display: none; }
.hidden { display: none !important; }

@media (max-width: 1050px) {
  .people-grid { grid-template-columns: repeat(3,1fr); }
  .directory-layout,.content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .ad-300x600 { height: 250px; width: 100%; }
}
@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 64px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
    display: flex;
    gap: 12px;
    align-items: baseline;
  }
  .featured-grid,.people-grid,.related-grid { grid-template-columns: repeat(2,1fr); }
  .feature-strip { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 28px; }
  .profile-portrait { max-width: 400px; }
  .work-row { grid-template-columns: 1fr auto; }
  .work-row span:last-child { grid-column: 1 / -1; }
  .external-library { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .ad-970x250,.ad-728x90 { display: none; }
  .ad-320x100 { display: grid; }
}
@media (max-width: 520px) {
  .people-grid,.featured-grid,.related-grid { grid-template-columns: 1fr; }
  .profile-facts { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .hero h1 { font-size: clamp(3.2rem,18vw,5rem); }
}
