:root {
  --ink: #111111;
  --paper: #f2efe7;
  --paper-2: #e7e3da;
  --muted: #77736c;
  --line: rgba(17, 17, 17, 0.17);
  --line-dark: rgba(242, 239, 231, 0.18);
  --accent: #8fa174;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }

.content-width { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
}
.site-header-solid { position: relative; background: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-name { font-weight: 650; letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a, .link-button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.site-nav a:hover, .link-button:hover { opacity: .62; }
.menu-toggle { display: none; border: 1px solid currentColor; background: transparent; padding: 9px 13px; cursor: pointer; }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.64) 52%, rgba(17,17,17,.1) 100%);
}
.hero-art { position: absolute; inset: 0; overflow: hidden; opacity: .78; }
.hero-art span { position: absolute; display: block; border-radius: 50%; filter: blur(2px); }
.hero-art span:nth-child(1) { width: 62vw; height: 62vw; right: -12vw; top: -25vw; background: radial-gradient(circle at 30% 35%, #6f765f 0, #2d342c 40%, transparent 70%); }
.hero-art span:nth-child(2) { width: 45vw; height: 45vw; right: 8vw; bottom: -22vw; background: radial-gradient(circle at 50% 40%, #674f45 0, #272321 42%, transparent 70%); }
.hero-art span:nth-child(3) { width: 34vw; height: 34vw; right: 28vw; top: 16vw; background: radial-gradient(circle at 50% 50%, rgba(230,224,210,.18), transparent 67%); }
.hero-content { position: relative; z-index: 2; padding: 180px 0 96px; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 750; }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 8.5vw, 132px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 720;
}
.hero-copy { max-width: 650px; margin: 34px 0 0; font-size: clamp(18px, 2vw, 25px); color: rgba(242,239,231,.76); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 42px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: .18s ease;
}
.button-primary { background: var(--paper); color: var(--ink); }
.button-primary:hover { background: #fff; transform: translateY(-1px); }
.button-ghost { border-color: rgba(242,239,231,.38); background: rgba(255,255,255,.02); color: var(--paper); }
.button-ghost:hover { border-color: var(--paper); }
.button-light { background: var(--paper); color: var(--ink); }

.section { padding: 116px 0; }
.section-heading { margin-bottom: 48px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-heading h2, .about-section h2, .fit-section h2, .contact-section h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 680;
}
.section-note { margin: 0 0 8px; max-width: 420px; color: var(--muted); justify-self: end; }

.artist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.artist-card { min-width: 0; text-decoration: none; background: #d8d4ca; overflow: hidden; }
.artist-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #252525; }
.artist-card-media img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.artist-card:hover .artist-card-media img { transform: scale(1.025); }
.artist-card-fallback { display: grid; place-items: center; color: rgba(242,239,231,.8); font-size: clamp(54px, 9vw, 120px); font-weight: 800; letter-spacing: -.08em; background: linear-gradient(145deg, #202020, #46433d); }
.artist-card-meta { position: relative; padding: 24px 26px 28px; background: var(--paper-2); }
.artist-card-meta h3 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.artist-card-meta p { margin: 5px 48px 0 0; color: var(--muted); }
.artist-card-arrow { position: absolute; right: 24px; top: 28px; font-size: 22px; }
.empty-roster { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 46px 0; }
.empty-roster p { margin: 0; font-size: 32px; letter-spacing: -.03em; }
.empty-roster span { display: block; margin-top: 8px; color: var(--muted); }
.load-error { padding: 28px 0; color: #7b342b; }

.about-section { background: var(--ink); color: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-copy { padding-top: 34px; }
.about-copy p { max-width: 650px; margin: 0 0 24px; color: rgba(242,239,231,.72); font-size: 20px; }

.services-section { background: var(--ink); color: var(--paper); padding: 0 0 108px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.service-item { padding: 32px 30px 0 0; min-height: 230px; border-right: 1px solid var(--line-dark); }
.service-item + .service-item { padding-left: 30px; }
.service-item:last-child { border-right: 0; }
.service-number { color: rgba(242,239,231,.4); font-size: 12px; letter-spacing: .12em; }
.service-item h3 { margin: 42px 0 12px; font-size: 28px; letter-spacing: -.03em; }
.service-item p { margin: 0; color: rgba(242,239,231,.62); max-width: 330px; }

.fit-section { padding: 92px 0; border-bottom: 1px solid var(--line); }
.fit-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.fit-grid > p { margin-top: 11px; }
.fit-section h2 { font-size: clamp(42px, 5vw, 68px); }
.fit-section div > p { max-width: 760px; margin: 20px 0 0; font-size: 22px; color: var(--muted); }

.contact-section { background: #6d765c; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 60px; align-items: end; }
.contact-section h2 { max-width: 760px; }
.contact-section p:not(.eyebrow):not(.location-line) { max-width: 650px; margin: 24px 0 0; font-size: 20px; color: rgba(255,255,255,.78); }
.contact-actions { justify-self: end; text-align: right; }
.location-line { margin: 18px 0 0; font-size: 13px; opacity: .7; }

.site-footer { background: var(--ink); color: var(--paper); padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 44px; align-items: end; }
.footer-grid > div:first-child { display: flex; flex-direction: column; }
.footer-grid strong { font-size: 17px; }
.footer-grid span { color: rgba(242,239,231,.5); font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.copyright { white-space: nowrap; }

.artist-page { background: var(--paper); }
.artist-hero { position: relative; min-height: 680px; display: flex; align-items: flex-end; color: #fff; background: #262626; overflow: hidden; }
.artist-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.artist-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,.88), rgba(17,17,17,.12) 70%); }
.artist-hero-content { position: relative; z-index: 2; padding-bottom: 78px; }
.back-link { display: inline-block; margin-bottom: 48px; color: rgba(255,255,255,.72); text-decoration: none; }
.artist-hero h1 { margin: 0; font-size: clamp(62px, 10vw, 150px); line-height: .86; letter-spacing: -.065em; }
.artist-status { margin: 24px 0 0; font-size: 19px; color: rgba(255,255,255,.7); }
.artist-hero-fallback { display: grid; place-items: center; font-size: 19vw; font-weight: 800; letter-spacing: -.08em; color: rgba(255,255,255,.15); background: linear-gradient(140deg, #1b1b1b, #5d6252); }
.artist-detail-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 90px; }
.artist-bio p { max-width: 780px; margin: 0 0 25px; font-size: 20px; color: #4f4b46; }
.artist-sidebar { border-top: 1px solid var(--line); padding-top: 22px; }
.artist-links { display: flex; flex-direction: column; margin-bottom: 30px; }
.artist-links a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.artist-links a::after { content: "↗"; }
.not-found { min-height: 65vh; padding-top: 150px; padding-bottom: 100px; }
.not-found h1 { margin: 0; font-size: clamp(52px, 8vw, 110px); letter-spacing: -.06em; }
.not-found p { color: var(--muted); font-size: 20px; }

@media (max-width: 820px) {
  .content-width { width: min(calc(100% - 32px), var(--max)); }
  .site-header { padding: 18px 16px; }
  .brand-name { display: none; }
  .menu-toggle { display: inline-block; }
  .site-nav:not(.artist-nav) { position: absolute; top: 80px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; min-width: 190px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav:not(.artist-nav) a { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .artist-nav { gap: 18px; font-size: 14px; }
  .hero { min-height: 690px; }
  .hero-content { padding: 150px 0 70px; }
  .hero h1 { font-size: clamp(54px, 18vw, 86px); }
  .hero::after { background: linear-gradient(0deg, rgba(17,17,17,.95) 5%, rgba(17,17,17,.48) 75%, rgba(17,17,17,.62)); }
  .section { padding: 82px 0; }
  .split-heading, .about-grid, .fit-grid, .contact-grid, .artist-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-note { justify-self: start; }
  .artist-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item, .service-item + .service-item { min-height: 0; padding: 28px 0 34px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .service-item:last-child { border-bottom: 0; }
  .service-item h3 { margin-top: 24px; }
  .contact-actions { justify-self: start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .artist-hero { min-height: 590px; }
  .artist-hero-content { padding-bottom: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
