/* Delta Ridge - brand layer for existing pages.
   Loaded AFTER a page's own CSS. Aligns colours, type, cards and buttons to the brand
   without touching any layout, price, link or script. */
:root{
  --ink:#12100E; --ink2:#1C1915;
  --paper:#FBF7F0; --paper2:#FFFDF9;
  --warm:#B0683A; --copper:#B0683A; --copper-deep:#8E4E27;
  --line:#E3D8C7; --dim:#6B6157;
  --gold:var(--copper); --soft:#6B6157; --deep:#12100E; --glow:transparent;
}
html{ -webkit-text-size-adjust:100% }
body{
  background:var(--paper) !important; color:var(--ink) !important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif !important;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.logo,.brand-name,.brand-text{ font-family:Lora,Georgia,"Times New Roman",serif !important; letter-spacing:-.01em }
h1{ line-height:1.12; letter-spacing:-.02em }
p,li,span,div,button,input,select,textarea{ font-family:inherit }
a{ color:var(--copper-deep) }
a:hover{ color:var(--copper) }
.lede,.dim,.muted{ color:var(--dim) !important }

/* ridge contours sit behind everything, never over text */
body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:url("/assets/contour.svg") no-repeat right -90px top -70px/660px auto;
  opacity:.6;
}
@media (max-width:700px){ body::before{ background-size:460px auto; opacity:.42 } }
.wrap,header,main,section,footer{ position:relative; z-index:1 }

header{ border-color:var(--line) }
.logo b{ color:var(--copper) }
.logo{ font-weight:600 }

.card{
  background:var(--paper2) !important; border:1px solid var(--line) !important;
  border-radius:14px !important; box-shadow:0 1px 0 rgba(18,16,14,.03);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform:translateY(-2px); border-color:var(--copper) !important; box-shadow:0 16px 34px -24px rgba(18,16,14,.55) }
.card h3{ margin-top:0 }
.price{ color:var(--copper-deep) !important; font-weight:700; font-variant-numeric:tabular-nums }
.freebadge,.badge{ background:rgba(176,104,58,.10) !important; color:var(--copper-deep) !important; border:1px solid rgba(176,104,58,.34) }

button,.btn,.button,[type=submit]{
  font-family:Inter,system-ui,sans-serif !important; border-radius:10px;
}
.btn-primary,button[type=submit]{
  background:var(--copper-deep) !important; border-color:var(--copper-deep) !important; color:#FFF !important; font-weight:600;
}
.btn-primary:hover,button[type=submit]:hover{ background:var(--copper) !important; border-color:var(--copper) !important }

input,select,textarea{
  background:var(--paper2) !important; border:1px solid var(--line) !important; border-radius:10px !important; color:var(--ink) !important;
}
input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,button:focus-visible{
  outline:2px solid var(--copper); outline-offset:2px;
}
table{ border-color:var(--line) }
hr{ border:0; border-top:1px solid var(--line) }
footer{ border-top:1px solid var(--line); color:var(--dim) }

/* injected brand bar for pages that had no site nav */
.brandbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding:14px 0; border-bottom:1px solid var(--line); margin-bottom:22px; font-size:13.5px }
.brandbar .mark{ display:inline-flex; align-items:center; gap:9px; font-family:Lora,Georgia,serif;
  font-size:17px; font-weight:600; color:var(--ink); text-decoration:none }
.brandbar .mark img{ width:22px; height:22px; display:block }
.brandbar nav{ display:flex; gap:16px; flex-wrap:wrap }
.brandbar nav a{ color:var(--dim); text-decoration:none }
.brandbar nav a:hover,.brandbar nav a[aria-current]{ color:var(--copper-deep) }
@media (prefers-reduced-motion:reduce){ .card{ transition:none } }
