/* ============================================================
   CREATIVE SAGE · Diane Crenshaw · Tucson, AZ
   Shared stylesheet, v3 (redesign)
   Editorial art-gallery direction. Palette stays locked to the
   client-approved brand: terracotta / sage / gold on warm paper.
   Type: Instrument Serif (display) + Instrument Sans (body).
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand color palette (client-approved) */
  --terra:        #A84D28;
  --terra-deep:   #8C3E1E;
  --terra-tint:   #F6E7DD;
  --sage:         #5E7F62;
  --sage-deep:    #3F5941;
  --sage-tint:    #E8EFE6;
  --gold:         #B8923E;
  --gold-tint:    #F4EACF;

  /* Surfaces */
  --paper:        #FAF6ED;
  --paper-warm:   #F3ECDC;
  --paper-deep:   #EAE0CA;
  --ink-surface:  #211812;   /* dark sections + footer */

  /* Text */
  --ink:          #221708;
  --ink-2:        #4C3B2C;
  --ink-3:        #6C5946;
  --line:         #DDD1BA;
  --line-strong:  #C4B394;

  --on-dark:      #F6F0E5;
  --on-dark-2:    rgba(246, 240, 229, .76);
  --on-dark-3:    rgba(246, 240, 229, .52);

  /* Type */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(3.1rem, 7.8vw, 6.4rem);
  --fs-h1:      clamp(2.6rem, 5.4vw, 4.4rem);
  --fs-h2:      clamp(2.2rem, 4.2vw, 3.5rem);
  --fs-h3:      1.45rem;
  --fs-lead:    clamp(1.06rem, 1.4vw, 1.22rem);
  --fs-body:    1.04rem;
  --fs-sm:      .93rem;
  --fs-cap:     .8rem;

  /* Shape */
  --r:    14px;
  --r-lg: 24px;
  --arch: 999px 999px 18px 18px;

  /* Warm-tinted shadows, one light source */
  --shadow:    0 2px 12px rgba(60, 40, 18, .08);
  --shadow-md: 0 14px 38px rgba(60, 40, 18, .14);
  --shadow-lg: 0 30px 80px rgba(60, 40, 18, .22);

  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------
   BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain over the whole page: breaks digital flatness */
body::after {
  content: '';
  position: fixed; inset: -50%;
  z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
::selection { background: var(--gold-tint); color: var(--ink); }

a { color: var(--terra); text-decoration-color: rgba(168, 77, 40, .4); text-underline-offset: 3px; }
a:hover { color: var(--terra-deep); }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 2100;
  background: var(--terra); color: var(--paper);
  padding: 8px 18px; border-radius: 999px; font-size: var(--fs-sm); text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 28px; }
.section { padding-block: clamp(76px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-warm { background: var(--paper-warm); }
.bg-deep { background: var(--paper-deep); }
.bg-sage { background: var(--sage-tint); }
.bg-ink  { background: var(--ink-surface); color: var(--on-dark); position: relative; }
/* soft ambient glow in dark sections so they never feel flat */
.bg-ink::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 60% at 82% 0%, rgba(184, 146, 62, .13), transparent 68%),
    radial-gradient(46% 60% at 8% 100%, rgba(94, 127, 98, .12), transparent 66%);
}
.bg-ink > * { position: relative; }
/* soft sky wash in sage sections */
.bg-sage { position: relative; }
.bg-sage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 70% at 88% 12%, rgba(184, 146, 62, .12), transparent 70%),
    radial-gradient(46% 66% at 6% 90%, rgba(255, 255, 255, .5), transparent 66%);
}
.bg-sage > * { position: relative; }

/* ------------------------------------------------------------
   TYPE HELPERS
   ------------------------------------------------------------ */
.display, .h1, .h2 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -.015em; text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: .98; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--terra); }
.bg-ink .display em, .bg-ink .h1 em, .bg-ink .h2 em { color: var(--gold); }
.h3 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.75; color: var(--ink-2); max-width: 58ch; }
.small { font-size: var(--fs-sm); color: var(--ink-2); }
.caption { font-size: var(--fs-cap); color: var(--ink-3); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--terra); flex-shrink: 0; }
.bg-ink .eyebrow { color: var(--gold); }
.bg-ink .eyebrow::before { background: var(--gold); }

.prose { max-width: 64ch; }
.prose p + p { margin-top: 1.25em; }
.prose p { color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.85; }
.prose p:first-child::first-letter {
  font-family: var(--serif); float: left;
  font-size: 4.6em; line-height: .8;
  padding: .08em .12em 0 0; color: var(--terra);
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 15px 32px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn::after { content: '\2192'; font-family: var(--sans); transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-fill { background: var(--terra); color: #FFF9F2; border-color: var(--terra); }
.btn-fill:hover {
  background: var(--terra-deep); border-color: var(--terra-deep); color: #FFF9F2;
  transform: translateY(-2px); box-shadow: 0 14px 30px rgba(140, 62, 30, .28);
}
.btn-line { background: transparent; color: var(--terra-deep); border-color: var(--line-strong); }
.btn-line:hover { background: var(--terra-tint); border-color: var(--terra); color: var(--terra-deep); transform: translateY(-2px); }
.btn-sage { background: var(--sage-deep); color: #F2F6EF; border-color: var(--sage-deep); }
.btn-sage:hover { background: #33482F; border-color: #33482F; color: #F2F6EF; transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.03rem; }
.btn-sm { padding: 10px 22px; font-size: .88rem; }
.btn-sm::after { content: none; }
.bg-ink .btn-fill { background: var(--gold); border-color: var(--gold); color: #2A2114; }
.bg-ink .btn-fill:hover { background: #CBA654; border-color: #CBA654; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.text-link {
  position: relative;
  font-weight: 600; font-size: var(--fs-sm); color: var(--terra);
  text-decoration: none; padding-bottom: 3px;
}
.text-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(.35); transform-origin: left;
  opacity: .45; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); opacity: 1; }

/* ------------------------------------------------------------
   HEADER / NAV
   ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 246, 237, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(60, 40, 18, .07); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; flex-shrink: 0; }
.brand-kicker { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .46em; text-transform: uppercase; color: var(--ink-3); }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 1.7rem; font-weight: 400; letter-spacing: .01em; color: var(--sage-deep); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 8px 13px;
  transition: color .2s;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1.5px;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--terra-deep); font-weight: 600; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: 14px; }
/* .nav-links a outranks .btn-fill, so restate the CTA's button colors */
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: #FFF9F2; font-weight: 600; }
/* restore the arrow that .btn-sm strips, so it animates like the large CTAs */
.nav-links a.nav-cta::after { content: '\2192'; }
/* .nav-links a also clobbers the .btn transition; restate it for the eased hover lift */
.nav-links a.nav-cta {
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; margin-right: -10px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 14px 28px 30px; gap: 2px; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6px; font-size: 1.35rem; font-family: var(--serif); font-weight: 400; }
  .nav-links a:not(.btn)::after { content: none; }
  .nav-cta { margin: 16px 0 0; text-align: center; font-family: var(--sans); font-size: .95rem; }
}

/* ------------------------------------------------------------
   PAGE INTRO (inner pages)
   ------------------------------------------------------------ */
.page-intro { padding: clamp(64px, 9vw, 130px) 0 clamp(44px, 5vw, 72px); position: relative; overflow: hidden; }
.page-intro::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(44% 60% at 92% 0%, rgba(94, 127, 98, .10), transparent 70%);
}
.page-intro > * { position: relative; }
.intro-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 26px;
}
.intro-eyebrow .intro-num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: 0; color: var(--terra); text-transform: none; }
.intro-eyebrow::after { content: ''; flex: 1; max-width: 120px; height: 1px; background: var(--line-strong); }
.page-intro .display { max-width: 14ch; }
.page-intro .lead { margin-top: 26px; }

/* ------------------------------------------------------------
   MARQUEE (infinite ribbon)
   ------------------------------------------------------------ */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: clamp(16px, 2.4vw, 26px) 0; background: var(--paper);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 46s linear infinite; }
.marquee-group { display: flex; align-items: baseline; flex-shrink: 0; }
.marquee-group span {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1; color: var(--ink-2); padding: 0 .55em; white-space: nowrap;
}
.marquee-group i { font-style: normal; color: var(--terra); font-size: clamp(1rem, 2vw, 1.5rem); align-self: center; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ------------------------------------------------------------
   GALLERY  (masonry, natural aspect ratios)
   ------------------------------------------------------------ */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-2); border: 1.5px solid var(--line-strong);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--terra); color: var(--terra-deep); transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.masonry { columns: 3 300px; column-gap: 28px; }
.art-card {
  break-inside: avoid; margin-bottom: 40px; cursor: pointer;
  background: none; border: none; padding: 0; width: 100%; text-align: left;
  font: inherit; color: inherit; display: block;
}
.art-card .frame {
  position: relative; overflow: hidden; border-radius: 8px;
  background: var(--paper-deep); box-shadow: var(--shadow);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.art-card:hover .frame { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.art-card img { width: 100%; transition: transform .8s var(--ease); }
.art-card:hover img { transform: scale(1.045); }
.art-card .sold-flag {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink-surface); color: var(--gold);
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 3px;
}
.art-card figcaption { padding: 16px 4px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.art-card .t {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--ink);
  transition: color .3s;
}
.art-card:hover .t { color: var(--terra); font-style: italic; }
.art-card .m { font-size: var(--fs-cap); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* ------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 22px;
  background: rgba(26, 18, 10, .86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox-panel {
  background: var(--paper); border-radius: 16px; overflow: hidden;
  max-width: 1060px; width: 100%; max-height: min(92vh, 800px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr);
  box-shadow: var(--shadow-lg);
  animation: lightbox-in .45s var(--ease);
}
@keyframes lightbox-in { from { opacity: 0; transform: translateY(24px) scale(.985); } }
.lightbox-img { background: #1B140D; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.lightbox-img img { max-width: 100%; max-height: min(92vh, 800px); width: auto; height: auto; object-fit: contain; }
.lightbox-info { padding: 44px 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.lightbox-info .t { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; line-height: 1; letter-spacing: -.01em; }
.lightbox-info .desc { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; }
.spec-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 6px; }
.spec-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.spec-list dt { color: var(--ink-3); font-weight: 500; }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.avail-pill {
  align-self: flex-start; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 3px;
}
.avail-pill.yes { background: var(--sage-tint); color: var(--sage-deep); }
.avail-pill.no { background: var(--paper-deep); color: var(--ink-2); }
.lightbox-actions { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  width: 46px; height: 46px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(250, 246, 237, .95); color: var(--ink);
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform .25s var(--ease);
}
.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(250, 246, 237, .92); color: var(--ink); font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: background .2s, transform .2s var(--ease);
}
.lightbox-nav:hover { background: var(--paper); }
.lightbox-prev { left: 16px; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next { right: 16px; }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 820px) {
  .lightbox { padding: 0; }
  .lightbox-panel { grid-template-columns: 1fr; max-height: 100vh; height: 100%; border-radius: 0; overflow-y: auto; display: block; }
  .lightbox-img { min-height: 0; }
  .lightbox-img img { max-height: 52vh; }
  .lightbox-info { padding: 26px 22px 40px; }
  .lightbox-nav { top: 24vh; width: 42px; height: 42px; }
}

/* ------------------------------------------------------------
   CLASS / EVENT LISTS
   ------------------------------------------------------------ */
.class-row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 40px;
  padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start;
  transition: padding-left .35s var(--ease);
}
.class-row:hover { padding-left: 10px; }
.class-row .t { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; line-height: 1.1; }
.class-row .sched { font-size: var(--fs-sm); color: var(--sage-deep); font-weight: 600; margin: 8px 0 10px; }
.class-row .d { font-size: var(--fs-sm); color: var(--ink-2); max-width: 60ch; }
.class-row .price { font-family: var(--serif); font-style: italic; font-size: 1.7rem; font-weight: 400; white-space: nowrap; text-align: right; color: var(--terra-deep); }
.class-row .cta { grid-column: 1 / -1; }
@media (min-width: 720px) { .class-row .cta { grid-column: auto; grid-row: 2; justify-self: end; align-self: end; } }

.event-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow); align-items: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-date {
  text-align: center; background: var(--sage-tint); border-radius: var(--r);
  padding: 16px 8px; color: var(--sage-deep);
}
.event-date .mo { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; display: block; }
.event-date .day { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1.05; display: block; }
.event-body .t { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.event-body .meta { font-size: var(--fs-sm); color: var(--ink-2); margin: 6px 0 12px; }
.event-body .seats { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .04em; }
.seats.ok { color: var(--sage-deep); }
.seats.low { color: var(--terra-deep); }
.seats.full { color: var(--ink-3); }
.event-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
@media (max-width: 560px) { .event-card { grid-template-columns: 1fr; } .event-date { max-width: 100px; } }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: var(--ink);
  transition: color .2s;
}
.faq summary:hover { color: var(--terra-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 30px; color: var(--terra); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 28px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.75; max-width: 64ch; }
.faq .a p + p { margin-top: 12px; }

/* ------------------------------------------------------------
   FORMS  (square-ish corners so text never clips: client fix)
   ------------------------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.form-field .req { color: var(--terra); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #FFFEFA; border: 1.5px solid var(--line-strong);
  border-radius: 10px; padding: 14px 16px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.form-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.form-field ::placeholder { color: #9A8871; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(168, 77, 40, .14);
}
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C5946' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
.form-hint { font-size: var(--fs-cap); color: var(--ink-3); }
.form-note {
  background: var(--sage-tint); border-radius: var(--r); padding: 16px 20px;
  font-size: var(--fs-sm); color: var(--sage-deep); font-weight: 500;
}
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer { background: var(--ink-surface); color: var(--on-dark-2); padding: clamp(60px, 8vw, 100px) 0 36px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 55% at 85% 100%, rgba(184, 146, 62, .09), transparent 70%);
}
.site-footer .wrap { position: relative; }
.footer-word {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(3.4rem, 10.5vw, 8.6rem); line-height: .95; letter-spacing: -.01em;
  color: rgba(246, 240, 229, .1); white-space: nowrap;
  margin: 0 0 clamp(40px, 6vw, 72px);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .brand-kicker { color: var(--on-dark-3); }
.footer-brand .brand-name { color: #A9C2A4; }
.footer-brand p { font-size: var(--fs-sm); line-height: 1.8; color: var(--on-dark-3); max-width: 26ch; margin-top: 18px; }
.footer-h { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 20px; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { color: var(--on-dark-2); text-decoration: none; font-size: var(--fs-sm); transition: color .2s, padding-left .25s var(--ease); }
.footer-list a:hover { color: var(--gold); padding-left: 5px; }
.footer-contact p { font-size: var(--fs-sm); margin-bottom: 10px; }
.footer-contact a { color: var(--on-dark-2); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(246, 240, 229, .18); border-radius: 999px;
  color: var(--on-dark-2); transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.social-row a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-base {
  border-top: 1px solid rgba(246, 240, 229, .12); padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: var(--fs-cap); color: var(--on-dark-3);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   MISC LAYOUT PATTERNS
   ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-3070 { display: grid; grid-template-columns: 1fr 360px; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .split, .split-3070 { grid-template-columns: 1fr; } }

.img-rounded { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.img-arch { border-radius: var(--arch); box-shadow: var(--shadow-md); }

.quote-band { text-align: center; max-width: 840px; margin: 0 auto; position: relative; padding-top: 40px; }
.quote-band::before {
  content: '\201C'; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: clamp(7rem, 14vw, 11rem); line-height: 1;
  color: var(--terra); opacity: .3; pointer-events: none;
}
.quote-band blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.35; letter-spacing: -.01em;
}
.quote-band cite { display: block; margin-top: 28px; font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }

.tag {
  display: inline-flex; align-items: center; padding: 6px 15px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}
.tag-sage  { background: var(--sage-tint); color: var(--sage-deep); }
.tag-terra { background: var(--terra-tint); color: var(--terra-deep); }
.tag-gold  { background: var(--gold-tint); color: #7A5C1E; }

/* Numbers band (big serif stats) */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 56px); }
.stat .stat-n {
  font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); line-height: 1;
  color: var(--on-dark);
}
.stat .stat-n em { font-style: italic; color: var(--gold); }
.stat .stat-l { font-size: var(--fs-sm); color: var(--on-dark-3); margin-top: 12px; max-width: 20ch; }
@media (max-width: 820px) { .stats-band { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }

/* Section row header (title + link on a rule) */
.row-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 52px;
}

/* ------------------------------------------------------------
   MOTION
   ------------------------------------------------------------ */
/* Scroll reveal (JS adds .in when visible; static without JS).
   Stagger: JS sets --d on children of [data-stagger]. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(30px); filter: blur(5px);
    transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .reveal.in { opacity: 1; transform: none; filter: none; }

  .float-slow { animation: float-y 9s ease-in-out infinite alternate; }
  .float-slower { animation: float-y 12s ease-in-out infinite alternate-reverse; }
  @keyframes float-y { from { transform: translateY(-8px); } to { transform: translateY(10px); } }

  .spin-slow { animation: spin 26s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 20px; }
  .masonry { columns: 2 160px; column-gap: 14px; }
  .art-card { margin-bottom: 22px; }
  .art-card .t { font-size: 1.1rem; }
  .art-card .m { display: none; }
}
