/* =========================================================================
   Sumner Hall Associates — site stylesheet
   Design tokens, base styles, components, layout, and page-specific blocks
   ========================================================================= */

/* Scribble — the client's chosen brand script, self-hosted for the
   Sumner Hall wordmark. Supplied by Sumner Hall Associates. */
@font-face {
  font-family: 'Scribble';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url('../fonts/Scribble.woff2') format('woff2');
}

:root {
  /* Brand */
  --brand: #C53B27;            /* Jeff's specified red, lightly refined from original #D5392B */
  --brand-dark: #9B2D1D;
  --brand-tint: #FAEEEB;

  /* Sampled directly from "Warrior of Light" */
  --slate: #5C7480;            /* the Roerich cloud-mountain / sea panels */
  --slate-dark: #3F525B;
  --slate-tint: #E8EEF0;
  --ochre: #AD8536;            /* the gold McCahon text and board numbering */
  --ochre-dark: #8A6A28;
  --ochre-tint: #F3ECDA;

  /* Neutrals */
  --ink: #1A1A1A;              /* Primary text */
  --ink-soft: #4B4B4B;         /* Secondary text */
  --ink-muted: #767676;        /* Tertiary text, captions */
  --rule: #E5E0D9;             /* Borders, dividers */
  --paper: #FAF7F2;            /* Warm off-white background */
  --paper-2: #F2EDE4;          /* Subtle section background */
  --white: #FFFFFF;

  /* Type */
  --serif: 'Iowan Old Style', 'Charter', 'Georgia', 'Cambria', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Motion */
  --t-fast: 150ms ease;
  --t-med: 250ms ease;
}

/* -------------------------------------------------------------------------- */
/* Reset & base */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw + .5rem, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.5vw + .5rem, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.5vw + .5rem, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

::selection { background: var(--brand); color: var(--white); }

/* -------------------------------------------------------------------------- */
/* Layout primitives */
/* -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(3rem, 6vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 4rem) 0; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.6; max-width: 65ch; }
.muted { color: var(--ink-muted); }

/* -------------------------------------------------------------------------- */
/* Header & navigation */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 0;
}
.brand-logo {
  font-family: 'Scribble', var(--serif); font-weight: normal;
  font-size: 1.95rem; color: var(--brand); letter-spacing: 0;
  line-height: 1; display: inline-block; white-space: nowrap;
}
.brand-logo:hover { color: var(--brand-dark); text-decoration: none; }
.brand-logo .cap { font-size: 1em; }
.brand-logo .brand-logo__sep { display: inline-block; width: .3em; }
.brand-logo small {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: .35rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--ink-soft); font-size: .95rem; font-weight: 500;
  position: relative; padding: .25rem 0;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.is-current { color: var(--ink); }
.nav a.is-current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--brand);
}

.nav-toggle {
  display: none;
  appearance: none; background: none; border: 0;
  width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform var(--t-fast);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem 0;
    max-height: 0; overflow: hidden;
    transition: max-height var(--t-med);
  }
  .nav.is-open { max-height: 500px; }
  .nav a { padding: .9rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--rule); }
  .nav a:last-child { border-bottom: 0; }
  .nav a.is-current::after { display: none; }
  .nav a.is-current { background: var(--brand-tint); }
}

/* -------------------------------------------------------------------------- */
/* Gallery plate — the recurring curatorial-label device used wherever the
   artwork appears. A small, factual caption in the manner of a museum wall
   label: deliberately precise, never decorative filler.                      */
/* -------------------------------------------------------------------------- */
.plate {
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
  background: rgba(26, 26, 26, 0.82);
  color: var(--paper);
  padding: .6rem .9rem;
  border-left: 2px solid var(--ochre);
  backdrop-filter: blur(2px);
  max-width: 46ch;
}
.plate__eyebrow {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre-tint);
}
.plate__text {
  font-family: var(--serif);
  font-size: .92rem;
  line-height: 1.35;
  color: var(--white);
}
.plate--light {
  background: var(--white);
  color: var(--ink);
  border-left-color: var(--brand);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.18);
}
.plate--light .plate__eyebrow { color: var(--brand); }
.plate--light .plate__text { color: var(--ink-soft); }

/* -------------------------------------------------------------------------- */
/* Hero (home page) — the artwork shown whole, framed, never cropped or       */
/* darkened to make room for text. Text and art sit side by side instead.    */
/* -------------------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 5vw, 4.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero__rule { width: 64px; height: 3px; background: var(--brand); margin-bottom: 1.5rem; }
.hero h1 { max-width: 17ch; margin-bottom: 1.25rem; }
.hero__sub {
  font-size: clamp(1.05rem, 1.1vw + .6rem, 1.2rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__art { position: relative; }
.hero__frame {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(.6rem, 1.3vw, 1rem);
  box-shadow: 0 24px 48px -24px rgba(26,26,26,.22);
}
.hero__frame img { border-radius: 2px; }
.hero__caption {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 1rem;
  padding: .85rem .2rem .2rem;
}
.hero__caption-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-soft);
}
.hero__caption-title strong { font-style: normal; color: var(--ink); }
.hero__caption-title strong em { font-style: italic; }
.hero__caption-note { font-style: normal; color: var(--ink-muted); font-size: .85rem; }
.hero__caption-note a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.hero__caption-note a:hover { color: var(--brand); }
.hero__caption-link { font-size: .82rem; font-weight: 600; white-space: nowrap; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; }
}

/* -------------------------------------------------------------------------- */
/* "About the painting" — home page gallery section                          */
/* -------------------------------------------------------------------------- */
.art-intro { max-width: 70ch; }
.art-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: 2.5rem;
  border: 1px solid var(--rule);
}
.art-gallery__item { position: relative; background: var(--ink); overflow: hidden; }
.art-gallery__item img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  transition: transform var(--t-med);
}
.art-gallery__item:hover img { transform: scale(1.04); }
.art-gallery__item .plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; max-width: none;
  padding: .5rem .75rem;
}
.art-gallery__item .plate__text { font-size: .82rem; line-height: 1.3; }
@media (max-width: 820px) { .art-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .art-gallery { grid-template-columns: 1fr; } .art-gallery__item img { height: 200px; } }

.art-numbering {
  display: flex; align-items: flex-start; gap: 1.25rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule);
}
.art-numbering__mark {
  font-family: var(--serif); font-size: 1.6rem; color: var(--ochre-dark);
  flex-shrink: 0; line-height: 1;
}
.art-numbering p { color: var(--ink-soft); margin-bottom: 0; }

/* -------------------------------------------------------------------------- */
/* Page header band — artwork detail across the top of inner pages           */
/* -------------------------------------------------------------------------- */
.page-header { position: relative; padding: 0; margin-bottom: 0; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--rule); }
.page-header__band {
  height: clamp(170px, 24vw, 260px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.page-header__band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,24,0.02) 0%, rgba(15,20,24,0.10) 100%);
}
.page-header__band .plate {
  position: absolute; right: clamp(1rem, 3vw, 2rem); bottom: .9rem; z-index: 1;
}
.page-header__title { padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: var(--ink); color: var(--paper); }
.page-header__title .container { position: relative; }
.page-header__title h1 { color: var(--white); margin-bottom: .5rem; }
.page-header__sub { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 65ch; margin: 0; }
.page-header .eyebrow { color: #E89485; }

/* Per-page band image — correctly identified details from Warrior of Light */
.page-header--services    .page-header__band { background-image: url('../img/band-services.jpg'); background-position: center 35%; }
.page-header--experience  .page-header__band { background-image: url('../img/band-experience.jpg'); }
.page-header--director    .page-header__band { background-image: url('../img/band-director.jpg'); background-position: left center; }
.page-header--clients      .page-header__band { background-image: url('../img/band-clients.jpg'); background-position: right center; }
.page-header--contact      .page-header__band { background-image: url('../img/band-contact.jpg'); background-position: right center; }
.page-header--disclaimer  .page-header__band { background-image: url('../img/band-disclaimer.jpg'); }
.page-header--book        .page-header__band { background-image: url('../img/band-experience.jpg'); background-position: center 40%; }

@media (max-width: 600px) {
  .page-header__band .plate { left: 1rem; right: 1rem; bottom: .7rem; max-width: none; }
}

/* -------------------------------------------------------------------------- */
/* Buttons */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85em 1.6em;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn--small { padding: .6em 1.2em; font-size: .85rem; }

.btn-arrow::after { content: '→'; transition: transform var(--t-fast); display: inline-block; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* -------------------------------------------------------------------------- */
/* Cards */
/* -------------------------------------------------------------------------- */
.cards { display: grid; gap: 1.5rem; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.12); border-color: rgba(197, 59, 39, 0.3); }
.card h3 { margin-top: 0; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
}
.card ul { padding-left: 1.1em; margin-top: .5rem; margin-bottom: 0; color: var(--ink-soft); font-size: .95rem; }

/* -------------------------------------------------------------------------- */
/* Article / prose pages */
/* -------------------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5em; }
.prose h3 { margin-top: 1.75em; }
.prose ul { padding-left: 1.25em; }

/* -------------------------------------------------------------------------- */
/* Two-column experience listing */
/* -------------------------------------------------------------------------- */
.experience-list { display: grid; gap: 0; }
.experience-list__item { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.experience-list__item:first-child { border-top: 1px solid var(--rule); }
.experience-list__client { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.experience-list__sector { font-size: .85rem; color: var(--ink-muted); margin-top: .25rem; }
.experience-list__role { color: var(--ink-soft); }

@media (max-width: 720px) { .experience-list__item { grid-template-columns: 1fr; gap: .5rem; padding: 1.25rem 0; } }

.filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-chip {
  appearance: none;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  padding: .55em 1.1em;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: .02em;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* -------------------------------------------------------------------------- */
/* Clients page — industry groups */
/* -------------------------------------------------------------------------- */
.industry-group { margin-bottom: 2.5rem; }
.industry-group__title {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand); margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--rule);
}
.client-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem 2rem; }
.client-list li { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); margin: 0; padding: .25rem 0; }

/* -------------------------------------------------------------------------- */
/* Director / bio page */
/* -------------------------------------------------------------------------- */
.bio-grid { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.bio-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 2rem; position: sticky; top: 100px; }
.bio-card__photo {
  width: 100%; aspect-ratio: 4 / 5; margin-bottom: 1.5rem;
  border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
}
.bio-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.bio-card__name { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 .3rem; line-height: 1.15; }
.bio-card__title { color: var(--brand); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.25rem; }
.bio-card__credentials { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.bio-card__credentials strong { color: var(--ink); }

@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; gap: 2rem; } .bio-card { position: static; } }

/* -------------------------------------------------------------------------- */
/* Contact page */
/* -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

.contact-block { background: var(--white); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--rule); }
.contact-block h3 { margin-top: 0; }
.contact-line { display: flex; gap: .75rem; padding: .6rem 0; align-items: baseline; }
.contact-line__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); min-width: 70px; }
.contact-line__value { color: var(--ink); }
.contact-line__value a { color: var(--ink); font-weight: 500; }

.downloads { display: grid; gap: 1rem; }
.download-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white); padding: 1.25rem 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  transition: all var(--t-fast); color: var(--ink);
}
.download-card:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.1); }
.download-card__icon {
  flex-shrink: 0; width: 48px; height: 48px; background: var(--brand-tint); color: var(--brand);
  display: flex; align-items: center; justify-content: center; border-radius: var(--radius);
  font-weight: 700; font-size: .85rem; letter-spacing: .05em;
}
.download-card__body { flex: 1; }
.download-card__title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: var(--ink); }
.download-card__meta { font-size: .85rem; color: var(--ink-muted); margin-top: .25rem; }
.download-card__arrow { color: var(--ink-muted); font-size: 1.25rem; }
.download-card:hover .download-card__arrow { color: var(--brand); }

/* -------------------------------------------------------------------------- */
/* Featured experience strip (home page) */
/* -------------------------------------------------------------------------- */
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.featured__item { border-left: 3px solid var(--brand); padding: .3rem 0 .3rem 1.25rem; }
.featured__client { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.featured__role { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }

/* -------------------------------------------------------------------------- */
/* Stats strip */
/* -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat__number { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); color: var(--brand); font-weight: 600; line-height: 1; display: block; margin-bottom: .35rem; }
.stat__label { color: var(--ink-soft); font-size: .92rem; line-height: 1.4; }

/* -------------------------------------------------------------------------- */
/* Footer */
/* -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.site-footer__brand { font-family: 'Scribble', var(--serif); font-weight: normal; font-size: 1.95rem; color: var(--white); margin-bottom: .85rem; line-height: 1; white-space: nowrap; }
.site-footer__brand .cap { font-size: 1em; }
.site-footer__brand .brand-logo__sep { display: inline-block; width: .3em; }
.site-footer__about { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 32ch; }
.site-footer h4 { font-family: var(--sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,0.5); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; font-size: .95rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,0.5); }
.site-footer__bottom a { color: rgba(255,255,255,0.7); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
.site-footer__bottom a:hover { color: rgba(255,255,255,0.9); }
.site-footer__art-credit { font-size: .8rem; color: rgba(255,255,255,0.45); margin-top: .75rem; max-width: 34ch; line-height: 1.5; }

/* -------------------------------------------------------------------------- */
/* Book page — Business Valuation in the Law                                   */
/* -------------------------------------------------------------------------- */
.book-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; gap: 2rem; } }

.book-aside { position: sticky; top: 100px; }
@media (max-width: 860px) { .book-aside { position: static; } }
.book-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.75rem; }
.book-card__title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; color: var(--ink); margin-bottom: .35rem; }
.book-card__authors { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: 1.25rem; }
.book-meta { margin: 0 0 1.25rem; }
.book-meta > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--rule); }
.book-meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.book-meta dd { margin: 0; font-size: .92rem; color: var(--ink); text-align: right; }
.book-card__authors-note { font-size: .82rem; color: var(--ink-muted); line-height: 1.55; margin: 0; }

.book-toc { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.toc-list { list-style: none; counter-reset: toc; margin: 1.5rem 0 0; padding: 0; }
.toc-list li {
  counter-increment: toc;
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: baseline; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--rule);
}
.toc-list li::before {
  content: counter(toc);
  font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--brand);
}
.toc-list__title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.toc-list__page { font-size: .85rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.book-toc__front { margin-top: 1.5rem; font-size: .9rem; }
@media (max-width: 560px) {
  .toc-list li { grid-template-columns: 1.8rem 1fr auto; gap: .6rem; }
  .toc-list__title { font-size: .98rem; }
}

/* Home-page book announcement banner */
.book-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg); padding: 1.5rem 1.75rem;
  color: var(--ink); transition: all var(--t-fast);
}
.book-banner:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 30px -16px rgba(0,0,0,.18); border-color: var(--rule); border-left-color: var(--brand); }
.book-banner__body { display: flex; flex-direction: column; gap: .25rem; }
.book-banner__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.book-banner__title { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.book-banner__desc { font-size: .92rem; color: var(--ink-soft); max-width: 70ch; margin-top: .15rem; }
.book-banner__link { font-weight: 600; color: var(--brand); white-space: nowrap; }
.book-banner:hover .book-banner__link { color: var(--brand-dark); }
@media (max-width: 680px) {
  .book-banner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Book cover (aside card) */
.book-cover {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.55); transition: transform var(--t-fast), box-shadow var(--t-fast);
}

/* Book cover thumbnail in the home announcement banner */
.book-banner__cover {
  flex: 0 0 auto; width: 58px; height: auto; border-radius: 4px;
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.55); align-self: center;
}
@media (max-width: 680px) { .book-banner__cover { width: 52px; } }
