/* DeLaveaux Tech site, delaveauxtech.com. Live build, November 2026. */
:root{
  --ink:#1a1a1a;
  --paper:#F6F3EC;
  --accent:#0b3d91;
  --accent-dark:#072c68;
  --muted:#444444;
  --line:#c9c9c9;
  --panel:#f4f6f8;
}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);line-height:1.55;font-size:1rem}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--accent-dark);color:#fff;padding:.6rem 1rem;z-index:10}
.skip-link:focus{left:0}
a{color:var(--accent)}
a:focus,button:focus,input:focus,select:focus,textarea:focus{outline:3px solid var(--accent);outline-offset:2px}
header.site{background:var(--accent-dark);color:#fff;padding:1rem}
header.site .brand{font-size:1.4rem;font-weight:bold;color:#fff;text-decoration:none}
header.site p{margin:.25rem 0 0;color:#e8eef7}
nav.main{background:var(--panel);border-bottom:1px solid var(--line);padding:.5rem 1rem}
nav.main ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem}
nav.main a{color:var(--accent-dark);font-weight:bold;text-decoration:none}
nav.main a:hover{text-decoration:underline}
main{padding:1rem;max-width:70rem;margin:0 auto}
h1{font-size:1.9rem;line-height:1.2}
h2{font-size:1.35rem;margin-top:2rem}
.card{border:1px solid var(--line);border-radius:.5rem;padding:1rem;margin:0 0 1rem;background:var(--paper)}
.card h3{margin-top:0}
.card dl{margin:.5rem 0}
.card dt{font-weight:bold}
.card dd{margin:0 0 .4rem}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:.6rem 1.1rem;border-radius:.35rem;text-decoration:none;font-weight:bold;border:0;cursor:pointer;font-size:1rem}
.btn:hover{background:var(--accent-dark)}
.note{background:var(--panel);border-left:4px solid var(--accent);padding:.75rem 1rem}
label{display:block;font-weight:bold;margin:.9rem 0 .3rem}
input,select,textarea{width:100%;padding:.55rem;border:1px solid #767676;border-radius:.3rem;font-size:1rem;color:var(--ink);background:var(--paper)}
table{border-collapse:collapse;width:100%}
th,td{border:1px solid var(--line);padding:.55rem;text-align:left;vertical-align:top}
th{background:var(--panel)}
footer.site{border-top:1px solid var(--line);margin-top:2.5rem;padding:1rem;background:var(--panel);color:var(--muted)}
footer.site nav ul{list-style:none;margin:.5rem 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1rem}
footer.site a{color:var(--accent-dark)}
@media (min-width:700px){
  main{padding:1.5rem 2rem}
  .grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
  .grid .card{margin:0}
}

/* ============================================================
   Homepage redesign (founder standard, November 2026).
   Scoped to body.home; the seven other pages keep the rules above.
   Closed palette: near black #0C111B (lead field), cream #F6F3EC
   (reading ground), antique brass #E0AA4E (the one accent), deep
   blue #072C68 contained to card interiors, dropdown panels, the
   relief strips, and the footer band only. No other hues.
   Effects library applied 2026-12-01: layered workshop scene in
   the hero, the statement of record on an opaque plaque with a
   brass double border, engraved relief strips crowning the bands,
   and every brass element rendered lit and dimensional (layered
   gradients in the brass's own tones, highlight and shade), never
   a flat fill. No pattern behind any text.
   ============================================================ */
body.home{
  --ink:#0C111B;
  --cream:#F6F3EC;
  --brass:#E0AA4E;
  --blue:#072C68;
  --serif:Georgia,"Iowan Old Style","Times New Roman",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  margin:0;
  background:var(--ink);
  color:var(--cream);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.55;
}
body.home ::selection{background:var(--brass);color:var(--ink)}
body.home a{color:var(--brass)}
body.home a:focus-visible,
body.home button:focus-visible{
  outline:3px solid var(--brass);
  outline-offset:3px;
}
body.home .skip-link{background:var(--ink);color:var(--cream);outline:2px solid var(--brass)}

/* ---------- Masthead ---------- */
body.home .masthead{
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
  padding:.55rem 1rem;
  background:var(--ink);
  border-bottom:2px solid var(--brass);
  border-image:linear-gradient(90deg,#8a5e1d,var(--brass) 30%,#f6dc9e 50%,var(--brass) 70%,#8a5e1d) 1;
  position:relative;z-index:30;
}
body.home .mast-brand{
  display:flex;align-items:center;gap:.7rem;
  text-decoration:none;color:var(--cream);
  min-height:44px;margin-right:auto;
}
body.home .mast-brand img{width:56px;height:56px;display:block}
body.home .mast-name{display:flex;flex-direction:column;line-height:1.05}
body.home .mast-word{font-family:var(--serif);font-size:1.45rem;color:var(--cream)}
body.home .mast-sub{
  font-size:.68rem;letter-spacing:.34em;text-transform:uppercase;color:var(--brass);
}
body.home .nav-toggle{
  display:none;
  background:linear-gradient(180deg,#26314a 0%,#0C111B 55%,#05080F 100%);
  border:1px solid var(--brass);border-radius:.35rem;
  box-shadow:
    inset 0 1px 0 rgba(246,243,236,.25),
    inset 0 -2px 4px rgba(0,0,0,.55),
    0 4px 10px rgba(0,0,0,.4);
  color:var(--cream);font-size:1.25rem;line-height:1;
  min-width:44px;min-height:44px;cursor:pointer;
}
body.home .mainnav ul{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:center;gap:.25rem;flex-wrap:wrap;
}
body.home .mainnav a,
body.home .menu-btn{
  display:inline-flex;align-items:center;gap:.35rem;
  min-height:44px;padding:.55rem .8rem;
  color:var(--cream);text-decoration:none;
  font-family:var(--sans);font-size:.98rem;font-weight:600;
  background:none;border:0;border-radius:.3rem;cursor:pointer;
}
/* The menu button is a button, not a link: dimensional near black
   with a brass border and cream text (founder rule, 2026-12-01). */
body.home .menu-btn{
  background:linear-gradient(180deg,#26314a 0%,#0C111B 55%,#05080F 100%);
  border:1px solid var(--brass);
  box-shadow:
    inset 0 1px 0 rgba(246,243,236,.25),
    inset 0 -2px 4px rgba(0,0,0,.55),
    0 4px 10px rgba(0,0,0,.4);
}
body.home .mainnav a:hover,
body.home .menu-btn:hover{color:var(--brass)}
body.home .mainnav a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--brass)}
body.home .has-menu{position:relative}
body.home .caret{font-size:.7rem;color:var(--brass)}
body.home .mainnav .menu{
  display:none;
  position:absolute;top:calc(100% + .45rem);left:0;
  min-width:19rem;max-width:calc(100vw - 2rem);
  flex-direction:column;gap:0;
  background:var(--blue);
  border:1px solid var(--brass);
  border-radius:.45rem;
  padding:.4rem;
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  z-index:40;
}
body.home .mainnav .menu.open{display:flex}
body.home .menu li{width:100%}
body.home .menu a{
  display:flex;width:100%;box-sizing:border-box;
  color:var(--cream);border-radius:.3rem;
}
body.home .menu a:hover,body.home .menu a:focus-visible{background:var(--ink);color:var(--brass)}

/* ---------- Hero: layered workshop scene, mark first ---------- */
body.home main{padding:0;max-width:none;margin:0}
body.home .hero{
  background:var(--ink) url("workshop-scene.webp") center 42%/cover no-repeat;
  color:var(--cream);
  padding:2.2rem 1rem 2.6rem;
  text-align:center;
  position:relative;
}
/* Edge vignette only: shade at the top and bottom edges and a soft
   falloff at the sides, so the scene stays at full presence in the
   middle and the name zone at the head stays readable. */
body.home .hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(12,17,27,.52) 0,rgba(12,17,27,.22) 12%,rgba(12,17,27,0) 26%),
    linear-gradient(0deg,rgba(12,17,27,.42) 0,rgba(12,17,27,0) 16%),
    radial-gradient(125% 95% at 50% 42%,rgba(12,17,27,0) 62%,rgba(12,17,27,.26) 100%);
}
body.home .hero>*{position:relative;z-index:1}
body.home .hero-mark{
  position:relative;
  width:min(400px,78vw);
  margin:0 auto;
  padding:14px; /* clear space around the mark, at least its border's width */
}
body.home .hero-mark img{width:100%;height:auto;display:block}
body.home .hero-mark .ring{
  position:absolute;inset:0;
  border:2px solid var(--brass);
  border-image:linear-gradient(150deg,#f6dc9e 0%,var(--brass) 40%,#9a6b24 75%,var(--brass) 100%) 1;
  pointer-events:none;
}
body.home .hero-name{
  margin:1.1rem 0 0;
  display:flex;flex-direction:column;align-items:center;line-height:1.04;
}
body.home .hero-word{font-family:var(--serif);font-size:clamp(2.6rem,7vw,4.2rem);color:var(--cream)}
body.home .hero-sub{
  font-size:.95rem;letter-spacing:.5em;text-transform:uppercase;color:var(--brass);margin-top:.35rem;
}
body.home .slogan{
  font-family:var(--serif);font-style:italic;
  font-size:clamp(1.05rem,2.6vw,1.35rem);
  color:var(--cream);margin:.9rem auto 0;max-width:44rem;
}
body.home .hero-grid{
  margin:2.4rem auto 0;max-width:72rem;
  display:grid;gap:1.6rem;align-items:center;text-align:left;
}
/* The plaque: fully opaque near black holding the statement of
   record over the scene, brass double border (a lit gradient outer
   border and an inset inner rule), a glazed sheen only. */
body.home .plaque{
  background:linear-gradient(150deg,rgba(246,243,236,.06) 0,rgba(246,243,236,0) 42%),var(--ink);
  border:1px solid var(--brass);
  border-image:linear-gradient(155deg,#f6dc9e 0%,var(--brass) 38%,#9a6b24 74%,var(--brass) 100%) 1;
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 4px rgba(224,170,78,.6),
    0 22px 48px rgba(0,0,0,.55);
  padding:1.55rem 1.45rem 1.65rem;
}
body.home .statement{
  font-family:var(--serif);
  font-size:clamp(1.55rem,4.2vw,2.5rem);
  line-height:1.22;margin:0;color:var(--cream);
}
body.home .hero h1{
  font-family:var(--sans);font-weight:700;
  font-size:clamp(1.3rem,3vw,1.7rem);
  line-height:1.3;margin:1.1rem 0 0;color:var(--brass);
}
body.home .lede{margin:1rem 0 0;font-size:1.05rem;max-width:36rem}
body.home .founder-line{
  margin:1rem 0 0;font-size:1.05rem;max-width:36rem;
  border-left:3px solid var(--brass);padding-left:.9rem;
  border-image:linear-gradient(180deg,#f6dc9e,var(--brass) 55%,#8a5e1d) 1;
}
body.home .hero-cta{margin:1.5rem 0 0}
/* The jewel button: brass rendered as lit metal, layered gradient
   with a highlight side and a shade side, never a flat fill. */
body.home .btn-brass{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:.8rem 1.9rem;
  background:linear-gradient(180deg,#f4d18a 0%,var(--brass) 46%,#c08c36 74%,#9a6b24 100%);
  color:var(--ink);
  font-weight:700;font-size:1.05rem;text-decoration:none;
  border-radius:.35rem;border:1px solid #7a5518;
  box-shadow:
    inset 0 1px 0 rgba(255,246,220,.85),
    inset 0 -2px 5px rgba(90,60,10,.45),
    0 10px 24px rgba(0,0,0,.45);
  text-shadow:0 1px 0 rgba(255,240,200,.35);
}
body.home .btn-brass:hover{
  background:linear-gradient(180deg,#f8dc9e 0%,#efc26a 46%,#cd9c40 74%,#a87a2c 100%);
  border-color:#7a5518;
}
body.home .hero-portrait{
  margin:0;justify-self:center;
  width:min(340px,80vw);
  border:10px solid var(--ink);
  outline:2px solid var(--brass);
  outline-offset:5px;
  background:var(--ink);
  box-shadow:0 24px 48px rgba(0,0,0,.55);
}
body.home .hero-portrait img{
  display:block;width:100%;height:auto;
  aspect-ratio:4/5;object-fit:cover;object-position:50% 18%;
}

/* ---------- Chooser: cream ground, blue card interiors ---------- */
body.home .chooser{
  background:var(--cream);color:var(--ink);
  padding:2.4rem 1rem 2.8rem;
}
body.home .band-head{
  max-width:72rem;margin:0 auto;
  border-bottom:3px solid var(--ink);
  padding-bottom:.55rem;
}
body.home .band-head h2{
  font-family:var(--sans);font-weight:700;
  font-size:clamp(1.6rem,4vw,2.2rem);
  margin:0;color:var(--ink);
}
body.home .shelf-label{
  max-width:72rem;margin:1.8rem auto .8rem;
  font-size:.8rem;font-weight:700;
  letter-spacing:.28em;text-transform:uppercase;color:var(--blue);
}
body.home .shelf{
  max-width:72rem;margin:0 auto;
  display:grid;gap:1rem;
}
body.home .pcard{
  position:relative;
  background:var(--blue);color:var(--cream);
  border:3px solid var(--ink);
  outline:1px solid var(--brass);
  outline-offset:-9px;
  border-radius:.35rem;
  padding:1.35rem 1.35rem 1.25rem;
  display:flex;flex-direction:column;gap:.55rem;
  transition:transform .25s ease,box-shadow .25s ease;
}
body.home .pcard:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(12,17,27,.35);
}
body.home .pcard:focus-within{
  outline:3px solid var(--brass);
  outline-offset:3px;
  box-shadow:0 14px 28px rgba(12,17,27,.35);
}
body.home .pcard .problem{
  margin:0;font-size:.95rem;color:var(--cream);
  border-bottom:1px solid var(--brass);padding-bottom:.55rem;
  border-image:linear-gradient(90deg,rgba(224,170,78,.3),#f6dc9e 50%,rgba(224,170,78,.3)) 1;
}
body.home .pcard h3{
  margin:.15rem 0 0;
  font-family:var(--sans);font-weight:700;
  font-size:1.3rem;line-height:1.25;
}
body.home .card-link{color:var(--cream);text-decoration:none}
body.home .card-link:hover{color:var(--brass)}
body.home .card-link::after{content:"";position:absolute;inset:0}
body.home .card-link:focus-visible{outline:none}
body.home .pcard .what{margin:0;font-size:1rem}
body.home .pcard .price{
  margin:auto 0 0;padding-top:.7rem;
  font-weight:700;font-size:1.02rem;color:var(--cream);
}
body.home .pcard .price .amount{color:var(--brass);font-size:1.18rem}
body.home .pcard-ask{background:var(--ink)}
body.home .pcard-hint{
  background:var(--ink);
  border:2px dashed var(--brass);
  outline:none;
}
body.home .pcard-hint .problem{border-bottom-style:dashed}

/* ---------- Proof: black band, one line ---------- */
body.home .proof{
  background:var(--ink);color:var(--cream);
  padding:2.6rem 1rem;text-align:center;
}
body.home .proof p{
  font-family:var(--serif);
  font-size:clamp(1.35rem,3.6vw,2rem);
  line-height:1.3;margin:0 auto;max-width:52rem;
}
body.home .proof p::before,
body.home .proof p::after{
  content:"";display:block;width:64px;height:2px;
  background:linear-gradient(90deg,#8a5e1d,var(--brass) 32%,#f6dc9e 50%,var(--brass) 68%,#8a5e1d);
  margin:0 auto 1.1rem;
}
body.home .proof p::after{margin:1.1rem auto 0}

/* ---------- Price framing: cream ground ---------- */
body.home .framing{
  background:var(--cream);color:var(--ink);
  padding:2.4rem 1rem 2.6rem;
}
body.home .framing h2{
  font-family:var(--sans);font-weight:700;
  font-size:clamp(1.5rem,3.6vw,2rem);
  margin:0 auto .8rem;max-width:72rem;color:var(--ink);
  border-bottom:3px solid var(--ink);padding-bottom:.55rem;
}
body.home .framing p{
  margin:0 auto;max-width:72rem;font-size:1.08rem;
}
body.home .framing strong{color:var(--blue)}

/* ---------- The ask: black band, one door ---------- */
body.home .ask{
  background:var(--ink);color:var(--cream);
  padding:2.6rem 1rem 3rem;text-align:center;
}
body.home .ask h2{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(1.6rem,4vw,2.3rem);
  margin:0 auto .7rem;max-width:46rem;color:var(--cream);
}
body.home .ask p{margin:0 auto 1.4rem;max-width:38rem;font-size:1.05rem}
body.home .ask p:last-child{margin-bottom:0}

/* ---------- Footer: the one large blue band ---------- */
body.home .sitefoot{
  background:var(--blue);color:var(--cream);
  border-top:3px solid var(--brass);
  border-image:linear-gradient(90deg,#8a5e1d,var(--brass) 30%,#f6dc9e 50%,var(--brass) 70%,#8a5e1d) 1;
  margin:0;padding:2.2rem 1rem 2.4rem;
  display:flex;flex-wrap:wrap;gap:1.6rem 2.6rem;align-items:flex-start;
}
body.home .foot-mark{display:flex;align-items:center;gap:.85rem}
body.home .foot-mark img{width:84px;height:84px;display:block}
body.home .foot-name{display:flex;flex-direction:column;line-height:1.05;margin:0}
body.home .foot-word{font-family:var(--serif);font-size:1.6rem;color:var(--cream)}
body.home .foot-sub{font-size:.66rem;letter-spacing:.34em;text-transform:uppercase;color:var(--brass)}
body.home .foot-lines p{margin:0 0 .45rem;font-size:.98rem}
body.home .foot-lines a{color:var(--cream);text-decoration:underline}
body.home .foot-lines a:hover{color:var(--brass)}

/* ---------- Sticky inquiry bar (small screens) ---------- */
body.home .sticky-cta{display:none}

/* ---------- Reveal: hidden start state comes from script ---------- */
body.home .rv-init{opacity:0;transform:translateY(14px)}
body.home .rv-in{
  opacity:1;transform:none;
  transition:opacity .6s ease,transform .6s ease;
}

/* ---------- Arrival motion: the brass frame draws once ---------- */
@keyframes dt-ring-draw{
  from{clip-path:inset(0 100% 100% 0)}
  to{clip-path:inset(0 0 0 0)}
}
body.home .hero-mark .ring{animation:dt-ring-draw .9s ease-out .1s both}
@keyframes dt-hero-in{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
body.home .hero-name,body.home .slogan{animation:dt-hero-in .7s ease-out both}
body.home .slogan{animation-delay:.15s}

@media (min-width:700px){
  body.home .hero-grid{grid-template-columns:minmax(0,1fr) 340px}
  body.home .shelf{grid-template-columns:repeat(3,1fr)}
  body.home .hero-portrait{justify-self:end}
}
@media (max-width:699px){
  body.home .nav-toggle{display:inline-flex;align-items:center;justify-content:center}
  body.home .mainnav{display:none;width:100%}
  body.home .mainnav.open{display:block}
  body.home .mainnav ul{flex-direction:column;align-items:stretch;gap:0}
  body.home .mainnav a,body.home .menu-btn{width:100%;box-sizing:border-box}
  body.home .mainnav .menu{position:static;box-shadow:none;min-width:0;margin:.2rem 0 .4rem}
  body.home .sticky-cta{
    display:block;position:fixed;left:0;right:0;bottom:0;z-index:50;
    background:var(--ink);border-top:2px solid var(--brass);
    padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom));
  }
  body.home .sticky-cta a{
    display:flex;align-items:center;justify-content:center;
    min-height:48px;
    background:linear-gradient(180deg,#f4d18a 0%,var(--brass) 46%,#c08c36 74%,#9a6b24 100%);
    color:var(--ink);
    font-weight:700;text-decoration:none;border-radius:.35rem;font-size:1.02rem;
    border:1px solid #7a5518;
    box-shadow:inset 0 1px 0 rgba(255,246,220,.85),inset 0 -2px 5px rgba(90,60,10,.45),0 10px 24px rgba(0,0,0,.45);
    text-shadow:0 1px 0 rgba(255,240,200,.35);
  }
  body.home{padding-bottom:76px}
}
@media (prefers-reduced-motion: reduce){
  body.home .hero-mark .ring,
  body.home .hero-name,
  body.home .slogan{animation:none}
  body.home .rv-init{opacity:1;transform:none}
  body.home .rv-in{transition:none}
  body.home .pcard{transition:none}
  body.home .pcard:hover{transform:none}
}

/* Warmth layer, founder directive 2026-12-01, inside DT's bible: ironwork line work in the borders, shallow arched card tops, one photographic Quarter band on the home page. Palette and contrast rulings unchanged. */
/* The relief strip (effects library E3, applied 2026-12-01): a text
   free band of engraved relief in deep blue and brass (fine ironwork
   scrollwork and gear detailing, engraved class), crowning the main
   section bands, bounded above and below by lit brass lines. */
.relief-strip{
  height:clamp(64px,10vw,118px);
  background:url("relief-band.webp") center/cover no-repeat #072C68;
  border-top:2px solid var(--brass,#E0AA4E);
  border-bottom:2px solid var(--brass,#E0AA4E);
  border-image:linear-gradient(90deg,#8a5e1d,#E0AA4E 30%,#f6dc9e 50%,#E0AA4E 70%,#8a5e1d) 1;
}
.quarter-band{margin:0 auto;max-width:72rem;padding:0 1rem}
.quarter-band img{width:100%;height:auto;display:block;border:1px solid var(--cream);border-radius:6rem 6rem .75rem .75rem}
body.home .pcard{border-top-left-radius:3.5rem;border-top-right-radius:3.5rem}

/* 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,#F2CE8E 0%,#E0AA4E 48%,#B9832F 100%);color:#0C111B;border:1px solid #8A6420;box-shadow:inset 0 1px 0 rgba(255,244,214,.9),inset 0 -2px 4px rgba(96,64,10,.45),0 10px 22px rgba(0,0,0,.4);text-shadow:0 1px 0 rgba(255,244,214,.5)}
.btn:hover{background:linear-gradient(180deg,#F7DAA2 0%,#E7B65E 48%,#C68F38 100%);color:#0C111B}

/* Presentation pass 2026-12-01: catalog cards lead with what the offer does. */
.card .what{font-size:1.02rem;margin:.35rem 0 .6rem}
.card .meta-line{color:var(--muted);font-size:.94rem;margin:.4rem 0}
/* Founder ruling via chat 42: condensed footer form on phone widths, wording unchanged. */
@media (max-width:640px){
  .foot-lines p{margin:0 0 .25rem;line-height:1.4}
  .foot-mark img{width:60px;height:60px}
  footer.site{padding:.75rem}
  footer.site nav ul{gap:.25rem .8rem;margin:.35rem 0}
}
