:root {
  --ink: #171b2b;
  --paper: #f7f3ea;
  --paper-2: #ede7db;
  --copper: #ad563d;
  --blue: #1f4d68;
  --violet: #5a426f;
  --line: rgba(23, 27, 43, .15);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { text-decoration: none; font-family: var(--serif); font-size: 1.18rem; font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nav-links a { text-decoration: none; padding: 9px 12px; border-radius: 999px; font-size: .9rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--ink); color: white; }

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding-block: 72px 88px;
}
.eyebrow { margin: 0 0 18px; color: var(--copper); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.9rem); letter-spacing: -.055em; margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -.04em; margin-bottom: 20px; }
h3 { font-size: 1.7rem; margin-bottom: 12px; }
.lead { max-width: 660px; font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.45; color: #363849; }
.signature { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; font-weight: 800; }
.signature::before { content: ""; width: 42px; height: 2px; background: var(--copper); }
.hero-art { position: relative; min-height: 560px; }
.hero-art img { width: 82%; height: 510px; object-fit: cover; margin-left: auto; border-radius: 180px 180px 18px 18px; box-shadow: 0 24px 65px rgba(51, 28, 23, .23); }
.hero-note { position: absolute; left: 0; bottom: 18px; width: 58%; padding: 24px; background: var(--ink); color: white; border-radius: 4px; font-family: var(--serif); font-size: 1.1rem; }

.section { padding-block: 90px; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head p { font-size: 1.08rem; color: #4f5260; }
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.world {
  min-height: 380px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.world:hover { transform: translateY(-7px); box-shadow: 0 22px 45px rgba(23, 27, 43, .12); }
.world:nth-child(1) { background: #d68a68; color: #1c1720; }
.world:nth-child(2) { background: var(--blue); color: white; }
.world:nth-child(3) { background: var(--violet); color: white; }
.world .num { font-family: var(--serif); font-size: 3.2rem; opacity: .36; }
.world p { margin-bottom: 0; }
.arrow { font-size: 1.5rem; }

.page-hero { padding-block: 84px 64px; max-width: 900px; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.8rem); }
.page-hero .lead { max-width: 780px; }
.art-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.art-card { margin: 0; }
.art-card img { width: 100%; object-fit: cover; border-radius: 4px; background: #d8c9b6; }
.art-card:first-child img { height: 740px; }
.art-card:not(:first-child) img { height: 520px; }
.art-stack { display: grid; gap: 22px; }
figcaption { padding: 12px 2px 4px; font-family: var(--serif); font-size: 1.05rem; }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(35px, 8vw, 110px); align-items: start; }
.sticky { position: sticky; top: 110px; }
.service-list { display: grid; gap: 14px; }
.service { padding: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.service h3 { font-size: 1.35rem; }
.service p { margin-bottom: 0; color: #535565; }

.graph {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #101827;
  color: white;
  margin-top: 38px;
}
.graph svg { width: 100%; height: 390px; display: block; }
.graph line { stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.graph circle { fill: var(--copper); }
.graph text { fill: white; font: 14px var(--sans); }

.tool-callout { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 42px; padding: 34px; background: var(--blue); color: white; border-radius: 7px; }
.tool-callout h3 { font-size: 2rem; margin-bottom: 8px; }
.tool-callout p { margin: 0; max-width: 670px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; background: var(--paper); color: var(--ink); text-decoration: none; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.button:hover { background: white; }

.reflection { max-width: 860px; margin: 0 auto; }
.reflection blockquote { margin: 48px 0; padding: 0 0 0 28px; border-left: 3px solid var(--copper); font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.4; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.theme { padding: 24px; border-top: 3px solid var(--violet); background: rgba(255,255,255,.42); }

.footer { padding-block: 38px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.footer p { margin: 0; }
.muted { color: #666875; }

.tool-bar { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 20px; background: var(--ink); color: white; }
.tool-bar a { text-decoration: none; }
.tool-frame { width: 100%; height: calc(100vh - 58px); border: 0; display: block; background: white; }

@media (max-width: 900px) {
  .hero, .split, .art-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-art { min-height: 470px; }
  .hero-art img { height: 440px; }
  .worlds, .themes { grid-template-columns: 1fr; }
  .world { min-height: 260px; }
  .sticky { position: static; }
  .tool-callout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 26px, 1180px); }
  .nav { min-height: 64px; align-items: flex-start; padding-block: 14px; }
  .nav-links { justify-content: flex-end; }
  .nav-links a { padding: 6px 8px; font-size: .78rem; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.6rem); }
  .hero-art { min-height: 410px; }
  .hero-art img { width: 92%; height: 390px; }
  .hero-note { width: 76%; padding: 18px; }
  .section { padding-block: 64px; }
  .art-card:first-child img, .art-card:not(:first-child) img { height: auto; max-height: 680px; }
  .footer-inner { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .world { transition: none; }
}

/* Keep the complete home artwork visible at every viewport width. */
.hero-art { min-height: 0; }
.hero-art img { height: auto; border-radius: 18px; }
.hero-note { position: static; width: 82%; margin: 20px 0 0 auto; }
@media (max-width: 680px) { .hero-note { width: 92%; } }

/* Artistic collection: preserve complete works and the site's existing palette. */
.art-page section[id] { scroll-margin-top: 110px; }
.art-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; }
.art-nav a { text-underline-offset: 6px; font-size: .95rem; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 30px; align-items: start; }
.portfolio-work { margin: 0; min-width: 0; }
.portfolio-work img { width: 100%; height: auto; border-radius: 4px; }
.portfolio-grid .portfolio-work:first-child { grid-column: 1 / -1; }
.portfolio-grid .portfolio-work:nth-child(2) { grid-column: 1 / -1; }
.portfolio-work figcaption { padding-top: 18px; }
.portfolio-work figcaption h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 6px; }
.portfolio-work figcaption p { margin: 0; font: .95rem var(--sans); color: #535565; }
.art-page .art-card img { height: auto; max-height: none; }
.exhibition-row { display: grid; grid-template-columns: 90px 1.2fr 1fr; gap: 26px; padding: 28px 0; border-top: 1px solid var(--line); }
.exhibition-row p { margin: 0; }
.exhibition-date { font: 1.7rem var(--serif); color: var(--copper); }
.artist-portrait { max-width: 340px; }
.art-contact { background: var(--ink); color: white; padding: clamp(24px, 5vw, 52px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border-radius: 6px; }
.art-contact .eyebrow { color: #e9a78a; }
.art-contact h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.art-contact p:last-child { margin-bottom: 0; }
.original-site { margin-top: 22px; font-size: .95rem; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
@media(max-width: 680px) {
 .portfolio-grid, .exhibition-row, .art-contact { grid-template-columns: 1fr; }
 .portfolio-grid .portfolio-work:last-child { grid-column: auto; }
 .exhibition-row { gap: 12px; }
 .art-contact .button { white-space: normal; text-align: center; }
 .art-page .signature { display: block; }
 .art-page .signature::before { display: none; }
 .art-page .nav-links a { font-size: .875rem; }
}
