/* Bayou Hoodoo: staged site build styles.
   Palette: weathered haint blue, the house colour of record, with rust tarnish
   at the edges and tarnished brass and gold accents. Ground of record, locked by
   the founder 2026-12-03: Weathered Haint Blue #C1D8D9, rendered as whitewash on
   old fence boards with chalk drawn luck symbols (img/haint-fence-chalk.webp);
   ground level text runs in the deep haint ink, and the deep panels, cards,
   header and footer keep the interior world in cream as before. Palette conformed
   2026-12-01 to Isaac's ruling: haint blue leads, with the rusted weathered feel
   carried through; the old red-brown ground is out entirely. */

:root {
  --haint: #C1D8D9;
  --haint-deep: #1d332f;
  --panel: #39544d;
  --panel-edge: #8a5a3b;
  --cream: #f6ead3;
  --cream-dim: #e9dabf;
  --brass: #c9a24a;
  --gold: #e3c878;
  --focus: #ffd968;
  --max: 68rem;
}

* { box-sizing: border-box; }

.site-photo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border: 2px solid var(--panel-edge);
}
.site-photo.portrait { max-width: 26rem; }

/* Home page banner: the official banner, lifted off the ground by its own lantern light */
.banner-wrap {
  position: relative;
  margin: 0 auto 1.8rem;
}
.site-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--brass);
  box-shadow: 0 0 18px rgba(227, 200, 120, 0.45), 0 0 55px rgba(201, 162, 74, 0.35), 0 14px 30px rgba(0, 0, 0, 0.55);
}
.banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 24% 45%, rgba(255, 246, 214, 0.5) 0%, rgba(255, 214, 110, 0.28) 12%, rgba(217, 164, 65, 0.12) 30%, rgba(217, 164, 65, 0) 55%);
  mix-blend-mode: screen;
  animation: lantern-flicker 4.2s ease-in-out infinite;
}
@keyframes lantern-flicker {
  0%, 100% { opacity: 0.85; }
  18% { opacity: 1; }
  36% { opacity: 0.7; }
  44% { opacity: 0.95; }
  62% { opacity: 0.55; }
  74% { opacity: 1; }
  86% { opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-wrap::after { animation: none; opacity: 0.85; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--haint);
  color: var(--haint-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cream);
  color: var(--haint-deep);
  padding: 0.6rem 1rem;
  z-index: 20;
  font-weight: bold;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Focus styles, visible everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Header */
.site-header {
  background: var(--haint-deep);
  border-bottom: 2px solid var(--brass);
}
.header-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}
.brand .flame { flex: none; }
.wordmark {
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.brand-tag {
  display: block;
  font-family: Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--brass);
}

/* Main type */
main { padding: 2.2rem 0 3rem; }
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--haint-deep);
  margin: 0 0 0.6rem;
  font-weight: normal;
}
h2 {
  font-size: 1.65rem;
  line-height: 1.25;
  color: var(--haint-deep);
  margin: 2.4rem 0 0.7rem;
  font-weight: normal;
}
h3 {
  font-size: 1.25rem;
  color: var(--haint-deep);
  margin: 1.6rem 0 0.4rem;
}
p { margin: 0 0 1rem; }
a { color: var(--gold); }
main p a:not(.btn), main li a:not(.btn) { color: var(--haint-deep); }
main p a:not(.btn):hover, main li a:not(.btn):hover { color: var(--panel-edge); }
.card p a:not(.btn), .card li a:not(.btn), .panel p a:not(.btn), .panel li a:not(.btn),
.plain-box p a:not(.btn), .plain-box li a:not(.btn), .pane p a:not(.btn), .pane li a:not(.btn) { color: var(--gold); }
a:hover { color: var(--cream); }
.lede { font-size: 1.3rem; color: var(--haint-deep); }
.tagline {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--haint-deep);
  margin: 0.2rem 0 1.2rem;
}
blockquote {
  margin: 1.4rem 0;
  padding: 0.4rem 0 0.4rem 1.2rem;
  border-left: 3px solid var(--brass);
  font-size: 1.25rem;
  font-style: italic;
}
blockquote footer { font-style: normal; font-size: 1rem; color: var(--haint-deep); }
.card blockquote footer, .panel blockquote footer, .plain-box blockquote footer { color: var(--cream-dim); }
.rule {
  border: none;
  border-top: 1px solid var(--panel-edge);
  margin: 2.4rem 0;
}

/* Panels and cards */
.panel {
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--panel-edge);
  border-radius: 0.5rem;
  padding: 1.4rem 1.5rem;
  margin: 1.4rem 0;
}
.plain-box {
  background: var(--haint-deep);
  color: var(--cream);
  border: 1px solid var(--brass);
  border-radius: 0.5rem;
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.2rem;
  margin: 1.4rem 0;
}
.card {
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--panel-edge);
  border-radius: 0.5rem;
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-top: 0; color: var(--gold); }
.panel h2, .plain-box h2 { color: var(--gold); }
.panel h3, .plain-box h3 { color: var(--cream); }
.card .price {
  font-size: 1.7rem;
  color: var(--cream);
  margin: 0.4rem 0 0.8rem;
}
.card .meta { color: var(--cream-dim); font-size: 1rem; }
.card .spacer { flex: 1; }

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-size: 1.05rem;
  background: var(--brass);
  color: var(--haint-deep);
  border: 2px solid var(--brass);
  border-radius: 0.4rem;
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}
.btn:hover { background: var(--gold); }
.btn[disabled] {
  background: transparent;
  color: var(--cream-dim);
  border-color: var(--panel-edge);
  cursor: not-allowed;
  font-weight: normal;
}
.btn-note { font-size: 0.95rem; color: var(--cream-dim); margin-top: 0.5rem; }

/* Steps */
ol.steps li, ul.plain li { margin-bottom: 0.55rem; }
ul.plain { padding-left: 1.3rem; }

/* The Window grid */
.window-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 26rem;
  margin: 1.4rem 0;
}
.window-grid .pane {
  border: 1px solid var(--brass);
  border-radius: 0.3rem;
  background: var(--panel);
  color: var(--cream);
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.95rem;
  color: var(--cream-dim);
}
.window-grid .pane.center {
  background: var(--haint-deep);
  color: var(--gold);
  border-width: 2px;
}

/* Forms */
form.placeholder-form label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: bold;
}
form.placeholder-form input,
form.placeholder-form textarea {
  width: 100%;
  max-width: 32rem;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 0.3rem;
  border: 1px solid var(--panel-edge);
  background: var(--cream);
  color: var(--haint-deep);
}
.check-line { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; }
.check-line input { margin-top: 0.35rem; width: 1.2rem; height: 1.2rem; flex: none; }

/* Footer */
.site-footer {
  background: var(--haint-deep);
  border-top: 2px solid var(--brass);
  padding: 2rem 0 2.4rem;
  margin-top: 2rem;
}
.site-footer .fleur { display: block; margin: 0 auto 1rem; }
nav.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.3rem;
  margin: 0 0 1.2rem;
  padding: 0;
}
nav.footer-nav a { color: var(--cream); text-decoration: none; }
nav.footer-nav a:hover { color: var(--gold); }
.footer-disclaimer {
  text-align: center;
  font-style: italic;
  color: var(--cream);
  max-width: 52rem;
  margin: 0 auto 0.8rem;
}
.fineprint { text-align: center; color: var(--cream-dim); font-size: 0.95rem; margin: 0; }

@media (max-width: 40rem) {
  h1 { font-size: 1.9rem; }
  .wordmark { font-size: 1.6rem; }
  body { font-size: 1.05rem; }
}

/* French Quarter warmth layer (Isaac's house wide directive, cascaded 2026-12-01).
   Wrought iron lace, gallery railings, relief work, and lantern warmth, carried in the
   house palette only: weathered haint blue, rust tarnish, tarnished brass, candlelight
   cream. Texture sits behind the text at whisper strength; reading contrast is unchanged. */
body {
  background-image:
    radial-gradient(ellipse 90% 42% at 50% -6%, rgba(217, 164, 65, 0.10), rgba(217, 164, 65, 0) 60%),
    radial-gradient(rgba(246, 234, 211, 0.028) 1px, rgba(246, 234, 211, 0) 1.5px),
    url("img/haint-fence-chalk.webp");
  background-size: auto, 22px 22px, 880px auto;
}
/* Iron lace trim under the header and over the footer: a riveted pierced-iron strip */
.site-header { position: relative; }
.site-header::after {
  content: "";
  display: block;
  height: 10px;
  background-image: radial-gradient(circle at 50% 50%, rgba(201, 162, 74, 0.6) 1.5px, rgba(201, 162, 74, 0) 2px);
  background-size: 18px 10px;
  background-repeat: repeat-x;
  background-position: center;
  border-top: 1px solid rgba(201, 162, 74, 0.35);
}
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 1.6rem;
  background-image: radial-gradient(circle at 50% 50%, rgba(201, 162, 74, 0.6) 1.5px, rgba(201, 162, 74, 0) 2px);
  background-size: 18px 10px;
  background-repeat: repeat-x;
  background-position: center;
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}
/* The plain rule becomes a gallery railing: two rails with iron uprights */
.rule {
  border: none;
  height: 16px;
  margin: 2.4rem 0;
  opacity: 0.85;
  background:
    linear-gradient(rgba(201, 162, 74, 0.75), rgba(201, 162, 74, 0.75)) center top / 100% 2px no-repeat,
    linear-gradient(rgba(201, 162, 74, 0.75), rgba(201, 162, 74, 0.75)) center bottom / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(201, 162, 74, 0.65) 0 2px, rgba(201, 162, 74, 0) 2px 16px) center / 100% 10px no-repeat;
}
/* Relief work: panels and cards carry an embossed, plaster-and-iron relief,
   with lantern warmth pooling at the top corner */
.panel, .card, .plain-box {
  box-shadow:
    inset 0 1px 0 rgba(246, 234, 211, 0.09),
    inset 0 -10px 20px rgba(0, 0, 0, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.28);
  background-image: radial-gradient(ellipse 70% 45% at 18% 0%, rgba(227, 200, 120, 0.07), rgba(227, 200, 120, 0) 60%);
}
.card { transition: box-shadow 0.35s ease, border-color 0.35s ease; }
.card:hover {
  border-color: var(--brass);
  box-shadow:
    inset 0 1px 0 rgba(246, 234, 211, 0.10),
    inset 0 -10px 20px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(227, 200, 120, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.32);
}
/* Section headings carry a small brass finial, the ironwork maker's mark */
h2::before {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-right: 0.45em;
  background: var(--brass);
  transform: rotate(45deg);
  border-radius: 0.12em;
  box-shadow: inset 0 0 0 2px rgba(29, 51, 47, 0.45);
  vertical-align: 0.08em;
}
/* Photographs sit in gallery frames: double border, iron outside, brass within */
.site-photo {
  border: 3px solid var(--haint-deep);
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
}

/* Storefront (services rebuild, 2026-12-01): front doors, condition shelves,
   photo panels standing in for per-work photographs until production lands.
   Depth per the founder standard: layered panels, weathered shadows. */
.tante-scene { margin: 1.2rem auto 0.4rem; max-width: 46rem; }
.tante-scene .site-photo { box-shadow: 0 18px 38px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.4); }
.welcome { font-size: 1.12rem; max-width: 44rem; }
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin: 1rem 0 1.6rem; }
.door { display: block; background: var(--panel); border: 2px solid var(--panel-edge); border-radius: .5rem; padding: .8rem; color: var(--cream); text-decoration: none; box-shadow: 0 10px 22px rgba(0,0,0,.45); }
.door h3 { margin: .5rem 0 .3rem; color: var(--gold); }
.door p { margin: 0; }
.work-photo { position: relative; aspect-ratio: 4 / 3; border: 2px solid var(--panel-edge); border-radius: .35rem; background: linear-gradient(160deg, #486a61 0%, var(--panel) 55%, var(--haint-deep) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(246,234,211,.14), inset 0 -18px 30px rgba(0,0,0,.35); margin-bottom: .7rem; }
.work-photo span { font-family: Georgia, 'Times New Roman', serif; font-size: 3.2rem; color: rgba(246,234,211,.85); text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.work-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(227,200,120,.16), rgba(227,200,120,0) 55%); pointer-events: none; }
.door-photo { aspect-ratio: 16 / 9; }
.shelf-hero { aspect-ratio: 21 / 9; max-height: 11rem; }
.shelf-hero span { font-size: 4rem; }
.shelf { margin-top: 2.6rem; }
.shelf-intro { max-width: 46rem; }
.shelf-nav { border-top: 1px solid var(--panel-edge); border-bottom: 1px solid var(--panel-edge); padding: .6rem 0; }
.card { box-shadow: 0 10px 22px rgba(0,0,0,.4); }
#four-roads { background: var(--panel); color: var(--cream); border: 2px solid var(--brass); border-radius: .5rem; padding: 1rem 1.2rem 1.2rem; box-shadow: 0 14px 30px rgba(0,0,0,.5); margin-top: 1.6rem; }
#four-roads h2 { color: var(--gold); }
#four-roads .price { color: var(--cream); }
#four-roads p a:not(.btn) { color: var(--gold); }
.crossing { border-top: 3px double var(--panel-edge); padding-top: 1.4rem; }

/* Dimensional buttons rule (founder, 2026-12-01): no flat buttons anywhere; every button is lit and dimensional in the line's own palette. */
.btn{background:linear-gradient(180deg,#EBD28C 0%,#C9A24A 48%,#96702C 100%);color:#1D332F;border-color:#7A5A22;box-shadow:inset 0 1px 0 rgba(255,246,214,.8),inset 0 -2px 4px rgba(84,60,14,.5),0 8px 18px rgba(10,20,16,.45);text-shadow:0 1px 0 rgba(255,246,214,.45)}
.btn:hover{background:linear-gradient(180deg,#F2DC9E 0%,#D3AC58 48%,#A37C34 100%)}

/* Personality card model (2026-12-02): every working carries its own scene photograph,
   Tante's line, and its receive line; shelf pages paginate. Existing palette only. */
.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--panel-edge);
  border-radius: .35rem;
  margin-bottom: .7rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.card blockquote.tante-line {
  font-size: 1.06rem;
  margin: .6rem 0 .8rem;
  padding: .2rem 0 .2rem 1rem;
}
.card .standing-word {
  font-size: .98rem;
  color: var(--cream-dim);
  border-top: 1px solid var(--panel-edge);
  padding-top: .6rem;
}
.tier-frame { max-width: 46rem; color: var(--haint-deep); margin-top: -.2rem; }
.pager { border-top: 1px solid var(--panel-edge); padding-top: .8rem; margin-top: 1.6rem; }
