/* House of Jerome — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

:root {
  --ink: #2c2620;
  --ink-soft: #4a3f33;
  --paper: #faf4e8;
  --paper-warm: #f5ecd9;
  --card: #fffdf6;
  --soft: #ead9bb;
  --accent: #a56a6a;          /* dusty rose */
  --accent-deep: #7a4a4a;
  --sage: #8a9778;
  --muted: #978773;
  --shadow: 0 10px 30px rgba(90, 65, 40, 0.08);
  --shadow-hover: 0 18px 44px rgba(90, 65, 40, 0.14);
  --radius: 18px;
  --radius-inner: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(255, 252, 240, 0.7), transparent 45%),
    radial-gradient(circle at 85% 92%, rgba(165, 106, 106, 0.05), transparent 50%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-deep); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 64px 28px 100px; }

/* Header / hero */
header.hero { text-align: center; margin-bottom: 64px; }
.kicker {
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
h1.wordmark {
  font-family: "Cormorant Garamond", "Iowan Old Style", "Palatino", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  margin: 6px 0 12px;
  letter-spacing: 0.005em;
  line-height: 1.05;
  color: var(--ink);
}
.tagline {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Page header (artist pages) */
.page-head { margin-bottom: 32px; }
.back-link {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}
.back-link:hover { color: var(--accent); }
.role {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 28px;
  letter-spacing: 0.02em;
}
h1.artist {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 4px 0 10px;
  line-height: 1.1;
}
.lede {
  color: var(--ink-soft);
  font-style: italic;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Section dividers — no hard rules */
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--ink);
  text-align: center;
  margin: 72px 0 6px;
}
.ornament {
  text-align: center;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: 0.8em;
  font-size: 0.95rem;
  margin: 2px 0 22px;
  font-family: "Cormorant Garamond", serif;
  user-select: none;
}
.ornament::before { content: "✦  ·  ✦"; }

.medium-intro {
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Soft nav for jump links */
.subnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  margin-top: 28px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.05rem;
}
.subnav a { color: var(--accent-deep); }
.subnav a:hover { color: var(--accent); }

/* Artist cards on landing */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 8px;
}
.artist-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  color: var(--ink);
}
.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}
.artist-card .role-tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
}
.artist-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  margin: 6px 0 8px;
  color: var(--ink);
}
.artist-card .blurb {
  color: var(--muted);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

/* Work tiles (gallery items with image) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.work {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.work .frame {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-inner);
  overflow: hidden;
  background: var(--paper-warm);
  display: flex; align-items: center; justify-content: center;
}
.work .frame.landscape { aspect-ratio: 4 / 3; }
.work .frame.square { aspect-ratio: 1 / 1; }
.work .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work .caption {
  padding: 12px 8px 4px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}
.work .empty {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  padding: 24px 12px;
}

/* Critique-style item with body text */
.work .work-links {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.98rem;
  text-align: center;
  margin-top: 10px;
}
.work .work-links a { display: inline-block; margin: 0 8px; }

/* Studio (behind-the-scenes) cards with overlay caption */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.studio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.studio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.studio-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 4 / 3;
}
.studio-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(40, 28, 18, 0.78), transparent 90%);
  color: #fdf6e8;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  padding: 36px 18px 14px;
  line-height: 1.35;
}

/* Critique list (landing) */
.critique-list { list-style: none; padding: 0; margin: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.critique-list li {
  padding: 18px 4px;
  border-bottom: 1px dashed var(--soft);
  text-align: center;
}
.critique-list li:last-child { border-bottom: 0; }
.critique-list a {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}
.critique-list a:hover { color: var(--accent); }
.critique-list .meta {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 4px;
  line-height: 1.5;
}

/* Footer */
footer.site {
  margin-top: 80px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Small screens */
@media (max-width: 600px) {
  .wrap { padding: 40px 20px 80px; }
  .section-title { margin-top: 56px; }
  .artist-card { padding: 28px 22px 26px; }
}
