/* ============================================================
   KIMBERLY GRIGG DESIGNS
   Art Direction: Doug Lloyd / Lloyd & Co.

   Editorial luxury. The page is a promise of transformation.
   Every surface breathes. Every letter is lit.
   Convert visitors to design consultations.
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes revealLine {
  from { width: 0; }
  to   { width: 60px; }
}

:root {
  /* The palette of a room at golden hour */
  --noir:         #0c0a08;
  --ink:          #1a1714;
  --tobacco:      #3d2b1a;
  --umber:        #5c4a38;
  --champagne:    #c4a97d;
  --pearl:        #e8ddd0;
  --linen:        #f5f0ea;
  --ivory:        #faf8f4;
  --white:        #ffffff;
  --rose:         #c4787a;
  --rose-muted:   #d4a0a2;
  --shadow-deep:  rgba(12, 10, 8, 0.35);
  --shadow-soft:  rgba(12, 10, 8, 0.08);

  /* Typography: the quiet authority of luxury print */
  --font-display: 'Cinzel', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --max-w:     1320px;
  --narrow:    820px;
  --gutter:    clamp(1.5rem, 4vw, 3rem);
  --header-h:  90px;

  /* Vertical rhythm */
  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-xxl: 10rem;
}

/* --- Reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all .35s cubic-bezier(.25,.1,.25,1); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin: 0 auto; }

/* --- Typography — lit from within -------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--noir);
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--champagne);
}

p { margin-bottom: 1.4em; color: var(--umber); }

.overline {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: var(--champagne);
  display: block;
  margin-bottom: var(--space-sm);
}

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* Decorative rule — the editorial signature line */
.rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--champagne);
  border: none;
  margin: var(--space-md) 0;
}
.rule--center { margin-left: auto; margin-right: auto; }
.rule--animated { animation: revealLine 1.2s cubic-bezier(.25,.1,.25,1) forwards; }

/* --- Header — floating, translucent, cinematic ------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(12,10,8,.5) 0%, transparent 100%);
  transition: background .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(250,248,244,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,169,125,.15);
}
.site-header.scrolled .brand,
.site-header.scrolled .nav a { color: var(--noir); }
.site-header.scrolled .nav-cta { background: var(--noir); color: var(--ivory) !important; }
.site-header.scrolled .nav-cta:hover { background: var(--tobacco); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .12em;
  color: var(--white);
  text-transform: uppercase;
}
.brand:hover { opacity: .8; }
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: .5rem;
  font-weight: 400;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-top: 2px;
}

.nav { display: flex; gap: 2.2rem; align-items: center; }
.nav a {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.85);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--champagne);
  transition: left .4s cubic-bezier(.25,.1,.25,1), right .4s cubic-bezier(.25,.1,.25,1);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { left: 0; right: 0; }

.nav-cta {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  color: var(--white) !important;
  padding: 10px 28px;
  font-size: .62rem !important;
  letter-spacing: .2em !important;
  border: 1px solid rgba(255,255,255,.2);
  transition: all .4s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white); color: var(--noir) !important; border-color: var(--white); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 1px; background: var(--white); margin: 6px 0; transition: .3s; }
.site-header.scrolled .mobile-toggle span { background: var(--noir); }

/* --- Hero — full-bleed cinematic opening ------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--noir);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: .55;
  transform: scale(1.02);
  animation: scaleIn 2.5s cubic-bezier(.25,.1,.25,1) forwards;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 var(--gutter) var(--space-xl);
  animation: fadeUp 1.4s .3s cubic-bezier(.25,.1,.25,1) both;
}
.hero .overline { color: var(--champagne); margin-bottom: var(--space-md); }
.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.02;
  margin-bottom: var(--space-md);
}
.hero h1 em {
  font-style: italic;
  display: block;
  font-size: .75em;
  color: var(--champagne);
  margin-top: .1em;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: var(--space-lg);
}
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* --- Buttons — restrained, tactile ------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: all .4s cubic-bezier(.25,.1,.25,1);
  position: relative;
}
.btn-primary {
  background: var(--champagne);
  color: var(--noir);
}
.btn-primary:hover { background: var(--white); color: var(--noir); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-dark {
  background: var(--noir);
  color: var(--ivory);
}
.btn-dark:hover { background: var(--tobacco); color: var(--ivory); }
.btn-outline-dark {
  background: transparent;
  color: var(--noir);
  border: 1px solid var(--noir);
}
.btn-outline-dark:hover { background: var(--noir); color: var(--ivory); }

/* --- Sections ---------------------------------------------------- */
.section { padding: var(--space-xl) 0; }
.section--noir  { background: var(--noir); }
.section--linen { background: var(--linen); }
.section--ivory { background: var(--ivory); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { max-width: 520px; margin: 0 auto; color: var(--umber); }

/* --- The Promise — editorial hero statement section -------------- */
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.promise-img {
  position: relative;
  overflow: hidden;
}
.promise-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s cubic-bezier(.25,.1,.25,1);
}
.promise-img:hover img { transform: scale(1.04); }
.promise-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) clamp(2rem, 5vw, 5rem);
  background: var(--ivory);
}
.promise-text h2 {
  margin-bottom: var(--space-md);
  line-height: 1.15;
}
.promise-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: var(--space-md);
}
.promise-text .overline { margin-bottom: var(--space-md); }

/* --- Editorial Grid — magazine-style post layout ---------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.editorial-grid .card--hero {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}
.editorial-grid .card--side:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.editorial-grid .card--side:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.editorial-grid .card--bottom:nth-child(4) { grid-column: 1 / 5; }
.editorial-grid .card--bottom:nth-child(5) { grid-column: 5 / 9; }
.editorial-grid .card--bottom:nth-child(6) { grid-column: 9 / 13; }

/* --- Post Card — photographic, hoverable, editorial ------------- */
.card {
  position: relative;
  overflow: hidden;
  background: var(--linen);
  cursor: pointer;
}
.card a { display: block; width: 100%; height: 100%; }
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.25,.1,.25,1), opacity .6s;
}
.card:hover .card-img { transform: scale(1.04); }
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,10,8,.7) 0%, rgba(12,10,8,.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  transition: background .5s;
}
.card:hover .card-overlay {
  background: linear-gradient(0deg, rgba(12,10,8,.8) 0%, rgba(12,10,8,.2) 60%, transparent 100%);
}
.card-overlay .overline { color: var(--champagne); font-size: .6rem; margin-bottom: .5rem; }
.card-overlay h3 {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: .4rem;
}
.card-overlay p {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Sizing */
.card--hero { min-height: 600px; }
.card--side { min-height: 290px; }
.card--bottom { min-height: 340px; }

.no-image {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--linen), var(--pearl));
  display: flex; align-items: center; justify-content: center;
}
.no-image span {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--champagne);
  opacity: .3;
}

/* --- Post Grid (blog listing) ----------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.post-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .5s cubic-bezier(.25,.1,.25,1);
  border: 1px solid rgba(196,169,125,.1);
}
.post-card:hover { box-shadow: 0 20px 60px var(--shadow-soft); }
.post-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.25,.1,.25,1);
}
.post-card:hover .post-card-img { transform: scale(1.03); }
.post-card-img-wrap { overflow: hidden; }
.post-card-body { padding: 1.8rem; }
.post-card-body .overline { margin-bottom: var(--space-xs); font-size: .58rem; }
.post-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: .6rem;
  line-height: 1.3;
}
.post-card-body h3 a { color: var(--noir); }
.post-card-body h3 a:hover { color: var(--tobacco); }
.post-card-body p { font-size: .88rem; color: var(--umber); line-height: 1.7; margin-bottom: .8rem; }
.read-more {
  font-size: .62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--champagne);
  position: relative;
  display: inline-block;
}
.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s cubic-bezier(.25,.1,.25,1);
}
.read-more:hover::after { transform: scaleX(1); transform-origin: left; }

/* --- Project Grid ------------------------------------------------ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 4px;
}
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--linen);
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(.25,.1,.25,1);
}
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,10,8,.65) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity .5s;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .2rem; }
.project-card-overlay .overline { color: var(--champagne); }

/* --- CTA Section — the conversion moment ------------------------- */
.cta-section {
  position: relative;
  padding: var(--space-xxl) var(--gutter);
  text-align: center;
  background: var(--noir);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 80px;
  background: var(--champagne);
  opacity: .3;
}
.cta-section .overline { color: var(--champagne); margin-bottom: var(--space-md); }
.cta-section h2 {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto var(--space-sm);
  line-height: 1.15;
}
.cta-section p {
  color: rgba(255,255,255,.5);
  max-width: 440px;
  margin: 0 auto var(--space-lg);
  font-size: .95rem;
}
.cta-section .btn-primary { background: var(--champagne); color: var(--noir); }
.cta-section .btn-primary:hover { background: var(--white); }

/* --- Testimonial / Pull Quote ------------------------------------ */
.pullquote {
  text-align: center;
  padding: var(--space-xl) var(--gutter);
  background: var(--linen);
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.5;
  color: var(--tobacco);
  max-width: 700px;
  margin: 0 auto var(--space-md);
}
.pullquote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--champagne);
}

/* --- Single Post ------------------------------------------------- */
.post-hero {
  text-align: center;
  padding: calc(var(--header-h) + var(--space-xl)) var(--gutter) var(--space-lg);
  background: var(--linen);
}
.post-hero .overline { margin-bottom: var(--space-sm); }
.post-hero h1 {
  margin-bottom: var(--space-sm);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.post-hero .post-date {
  font-size: .78rem;
  color: var(--umber);
  letter-spacing: .05em;
}

.post-content {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xl) var(--gutter);
  font-size: 1.05rem;
  line-height: 1.9;
}
.post-content img {
  margin: var(--space-lg) calc(-1 * var(--gutter));
  max-width: calc(100% + 2 * var(--gutter));
  width: calc(100% + 2 * var(--gutter));
}
.post-content h2 {
  margin: var(--space-xl) 0 var(--space-md);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.post-content h3 { margin: var(--space-lg) 0 var(--space-sm); }
.post-content ul, .post-content ol { margin: var(--space-sm) 0 var(--space-md) 1.5rem; }
.post-content li { margin-bottom: .6rem; color: var(--umber); }
.post-content blockquote {
  border-left: 2px solid var(--champagne);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--tobacco);
  background: var(--linen);
}
.post-content a { color: var(--champagne); border-bottom: 1px solid var(--champagne); }
.post-content a:hover { color: var(--noir); border-color: var(--noir); }

/* --- Related Posts ----------------------------------------------- */
.related {
  padding: var(--space-xl) 0;
  background: var(--linen);
}

/* --- About Page -------------------------------------------------- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-bottom: var(--space-xl);
}
.about-hero-grid img { width: 100%; height: 380px; object-fit: cover; }

.about-bio {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about-bio h1 { margin-bottom: var(--space-sm); }
.about-bio .lead {
  font-size: 1.1rem;
  color: var(--umber);
  margin-bottom: var(--space-lg);
}
.about-bio p { text-align: left; }

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-img { width: 100%; object-fit: cover; }
.about-text .overline { margin-bottom: var(--space-sm); }
.about-text h2 { margin-bottom: var(--space-md); }
.about-text p { margin-bottom: var(--space-sm); }

/* --- Book Section ------------------------------------------------ */
.book-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.book-cover {
  box-shadow: 0 20px 60px var(--shadow-deep);
  transition: transform .6s;
}
.book-cover:hover { transform: translateY(-4px); }
.book-text h2 { margin-bottom: var(--space-md); }
.book-text blockquote {
  border-left: 2px solid var(--champagne);
  padding: .8rem 1.5rem;
  margin: var(--space-md) 0;
  font-style: italic;
  color: var(--tobacco);
  font-size: 1.1rem;
}
.book-text ul { margin: var(--space-sm) 0 var(--space-lg) 1.2rem; }
.book-text li { margin-bottom: .5rem; color: var(--umber); }

/* --- Contact ----------------------------------------------------- */
.contact-info {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding-top: calc(var(--header-h) + var(--space-lg));
}
.contact-info h1 { margin-bottom: var(--space-xs); }
.contact-info .lead { color: var(--umber); margin-bottom: var(--space-xl); }
.contact-detail { margin-bottom: var(--space-lg); }
.contact-detail h4 { margin-bottom: var(--space-xs); }
.contact-detail a { color: var(--champagne); }
.contact-detail a:hover { color: var(--noir); }

/* --- Pagination -------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: .8rem;
  padding: var(--space-lg) 0 var(--space-sm);
}
.pagination a, .pagination span {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(196,169,125,.2);
  color: var(--umber);
  transition: all .35s;
}
.pagination a:hover { border-color: var(--champagne); color: var(--noir); }
.pagination .current { background: var(--noir); color: var(--ivory); border-color: var(--noir); }

/* --- Footer — quiet authority ------------------------------------ */
.site-footer {
  background: var(--noir);
  color: rgba(255,255,255,.5);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.footer-logo-sub {
  font-family: var(--font-body);
  font-size: .5rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: var(--space-lg);
}
.footer-social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.footer-social a {
  color: rgba(255,255,255,.35);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  transition: color .35s;
}
.footer-social a:hover { color: var(--champagne); }
.footer-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.footer-nav a {
  color: rgba(255,255,255,.3);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.footer-nav a:hover { color: rgba(255,255,255,.7); }
.footer-copy {
  font-size: .68rem;
  color: rgba(255,255,255,.2);
  letter-spacing: .03em;
}

/* --- Responsive -------------------------------------------------- */
@media (max-width: 1000px) {
  .promise { grid-template-columns: 1fr; }
  .promise-img { min-height: 50vh; }
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-grid .card--hero { grid-column: 1 / -1; grid-row: auto; }
  .editorial-grid .card--side,
  .editorial-grid .card--bottom { grid-column: span 1; grid-row: auto; min-height: 280px; }
  .about-row { grid-template-columns: 1fr; gap: var(--space-lg); }
  .book-row { grid-template-columns: 240px 1fr; }
}

@media (max-width: 700px) {
  :root { --header-h: 70px; }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--noir);
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    gap: 1.5rem;
    z-index: 99;
  }
  .nav.open a { color: var(--white); font-size: .8rem; }
  .nav.open .nav-cta { background: var(--champagne); color: var(--noir) !important; border: none; text-align: center; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid .card--hero,
  .editorial-grid .card--side,
  .editorial-grid .card--bottom { grid-column: 1; min-height: 300px; }
  .post-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .book-row { grid-template-columns: 1fr; text-align: center; }
  .book-cover { margin: 0 auto; max-width: 220px; }
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-grid img { height: 260px; }
  .footer-nav { flex-direction: column; gap: .8rem; }
  .post-content img { margin: var(--space-md) 0; max-width: 100%; width: 100%; }
}

/* --- Scroll-triggered animation classes (JS adds these) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.25,.1,.25,1), transform .8s cubic-bezier(.25,.1,.25,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
