/* Renew Home Value — site styles
   Palette: California poppy, cornflower, sunbaked sand and espresso ink.
   Type: League Spartan (headings) and Literata (body). */

@font-face { font-family: "League Spartan"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/league-spartan-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/league-spartan-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "League Spartan"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/league-spartan-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/literata-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/literata-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/literata-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/literata-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #241a14;
  --ink-2: #3a2b22;
  --ink-3: #5c4a3e;
  --muted: #6e5d51;
  --poppy: #ee6b25;
  --poppy-dk: #b84a12;
  --poppy-50: #fde6d8;
  --bloom: #7a8ff2;
  --bloom-dk: #3f52bd;
  --bloom-50: #e8ecfd;
  --cream: #fbf5ec;
  --sand: #f3e7d5;
  --sand-2: #ead9c0;
  --line: #e4d4bd;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 40px -22px rgba(36, 26, 20, .45);
  --head: "League Spartan", "Trebuchet MS", Arial, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--cream);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .h-font {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.08;
}
a { color: var(--bloom-dk); text-underline-offset: 3px; }
a:hover { color: var(--poppy-dk); }
img { max-width: 100%; height: auto; }
::selection { background: var(--poppy); color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px; }
.skip-link:focus { left: 12px; color: var(--cream); }
:focus-visible { outline: 3px solid var(--bloom-dk); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn-rv {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--head); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  padding: .86rem 1.5rem .78rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--poppy); color: var(--ink); text-decoration: none; line-height: 1.1;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-rv:hover, .btn-rv:focus-visible { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: #f47c3b; }
.btn-rv:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-rv.bloom { background: var(--bloom); }
.btn-rv.bloom:hover { background: #8a9df5; }
.btn-rv.ghost { background: transparent; box-shadow: none; }
.btn-rv.ghost:hover { background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.btn-rv.light { border-color: var(--cream); background: var(--cream); box-shadow: 4px 4px 0 var(--poppy); }
.btn-rv.light:hover { box-shadow: 6px 6px 0 var(--poppy); background: var(--white); }
.btn-rv.block { width: 100%; }
.btn-rv[disabled] { opacity: .7; pointer-events: none; }

.link-arrow { font-family: var(--head); font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; border-bottom: 2px solid var(--poppy); padding-bottom: 2px; }
.link-arrow:hover { color: var(--poppy-dk); }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.rv-header { position: sticky; top: 0; z-index: 1030; background: rgba(251, 245, 236, .94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.rv-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(36, 26, 20, .6); }
.rv-header .navbar { padding: .85rem 0; }
.rv-brand { padding: 0; margin: 0; display: inline-flex; align-items: center; }
.rv-brand img { height: 44px; width: auto; display: block; }
.rv-header .nav-link {
  font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: var(--ink);
  padding: .5rem .85rem !important; border-radius: 999px; position: relative;
}
.rv-header .nav-link:hover { color: var(--ink); background: var(--sand); }
.rv-header .nav-link.active { background: var(--ink); color: var(--cream); }
.rv-toggler { border: 2px solid var(--ink); border-radius: 14px; padding: .35rem .6rem; color: var(--ink); font-size: 1.5rem; line-height: 1; background: var(--white); }
.rv-toggler:focus { box-shadow: none; }
.nav-cta { margin-left: .75rem; padding: .7rem 1.2rem .62rem; font-size: .98rem; }

@media (max-width: 1199.98px) {
  .rv-header .navbar-collapse { margin-top: .85rem; padding: 1rem; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }
  .rv-header .nav-link { padding: .65rem 1rem !important; }
  .nav-cta { margin: .75rem 0 0; width: 100%; }
}
@media (max-width: 575.98px) {
  .rv-brand img { height: 36px; }
}

/* ---------- Shared section bits ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section.sand { background: var(--sand); }
.section.white { background: var(--white); }
.section.ink { background: var(--ink); color: #e9dccb; }
.section.ink h2, .section.ink h3 { color: var(--cream); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
  color: var(--ink); background: var(--poppy-50); border: 1.5px solid var(--ink); padding: .38rem .85rem .3rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow i { color: var(--poppy-dk); }
.section.ink .eyebrow { background: transparent; color: var(--cream); border-color: rgba(251, 245, 236, .5); }
.section.ink .eyebrow i { color: var(--poppy); }
.sec-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1rem; font-weight: 800; }
.sec-title .hl { position: relative; white-space: nowrap; z-index: 0; }
.sec-title .hl::after { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .02em; height: .34em; background: var(--poppy); opacity: .55; z-index: -1; border-radius: 6px; transform: rotate(-1deg); }
.sec-lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.section.ink .sec-lead { color: #cdbca8; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .sunburst { animation: none !important; }
}

/* ---------- Home hero ---------- */
.rv-hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); overflow: hidden; }
.rv-hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.7rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.rv-hero h1 em { font-style: normal; color: var(--bloom-dk); }
.rv-hero .lead { font-size: 1.2rem; color: var(--ink-3); max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--head); font-weight: 600; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: .42rem .9rem .36rem; font-size: .95rem; }
.hero-points li i { color: var(--poppy-dk); }

.hero-visual { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; }
.sunburst {
  position: absolute; inset: -14%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(238, 107, 37, .28) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 47%, #000 69%, transparent 70%);
  mask: radial-gradient(circle, transparent 46%, #000 47%, #000 69%, transparent 70%);
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-disc { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; border: 3px solid var(--ink); box-shadow: 10px 12px 0 var(--bloom); background: var(--sand-2); }
.hero-disc img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: .65rem; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: .7rem 1rem .6rem; box-shadow: 4px 4px 0 var(--ink); font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.15; }
.hero-badge i { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: var(--poppy); font-size: 1.15rem; }
.hero-badge small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.hero-badge.b1 { left: -4%; bottom: 12%; }
.hero-badge.b2 { right: -2%; top: 8%; }
.hero-badge.b2 i { background: var(--bloom); }
@media (max-width: 575.98px) {
  .hero-badge { font-size: .88rem; padding: .55rem .75rem .5rem; }
  .hero-badge i { width: 32px; height: 32px; flex-basis: 32px; font-size: 1rem; }
  .hero-badge.b1 { left: 0; bottom: 4%; }
  .hero-badge.b2 { right: 0; top: 2%; }
}

/* Service ribbon */
.rv-ribbon { background: var(--bloom); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 1rem 0; }
.rv-ribbon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; }
.rv-ribbon li { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1.05rem; display: inline-flex; align-items: center; gap: 1.4rem; }
.rv-ribbon li + li::before { content: "\F5A1"; font-family: "bootstrap-icons"; color: var(--cream); font-size: .9rem; margin-right: 0; }

/* Value tiles */
.value-tile { height: 100%; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .2s ease, box-shadow .2s ease; }
.value-tile:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.value-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; color: var(--ink); background: var(--poppy-50); border: 1.5px solid var(--ink); margin-bottom: 1.2rem; }
.value-tile:nth-child(even) .value-icon, .col-val:nth-child(even) .value-icon { background: var(--bloom-50); }
.value-tile h3 { font-size: 1.32rem; margin-bottom: .55rem; }
.value-tile p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Services cards */
.svc-card { height: 100%; border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--ink); }
.svc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--sand-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-tag { position: absolute; left: 1rem; bottom: -1px; background: var(--poppy); color: var(--ink); border: 2px solid var(--ink); border-bottom: 0; border-radius: 16px 16px 0 0; padding: .5rem .8rem .3rem; font-size: 1.25rem; line-height: 1; }
.svc-card:nth-child(even) .svc-tag, .col-svc:nth-child(even) .svc-tag { background: var(--bloom); }
.svc-card .card-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.38rem; margin-bottom: .6rem; }
.svc-card p { color: var(--muted); font-size: .98rem; flex: 1; margin-bottom: 1.3rem; }
.svc-card .btn-rv { align-self: flex-start; padding: .7rem 1.15rem .62rem; font-size: .95rem; }

/* Process */
.process { position: relative; }
.process-row { position: relative; }
.process-row::before { content: ""; position: absolute; left: 6%; right: 6%; top: 38px; border-top: 3px dashed rgba(251, 245, 236, .35); }
.step { text-align: center; position: relative; padding: 0 .5rem; }
.step-dot { width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: var(--ink); background: var(--poppy); border: 3px solid var(--cream); position: relative; z-index: 1; }
.col-step:nth-child(even) .step-dot { background: var(--bloom); }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: #cdbca8; font-size: .97rem; margin: 0; }
@media (max-width: 991.98px) { .process-row::before { display: none; } }

/* Story split */
.story-media { position: relative; padding: 0 1.4rem 1.4rem 0; }
.story-media::before { content: ""; position: absolute; right: 0; bottom: 0; width: 82%; height: 82%; background: var(--bloom); border: 2px solid var(--ink); border-radius: var(--radius-lg); }
.story-media img { position: relative; border-radius: var(--radius-lg); border: 2px solid var(--ink); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.story-media .stamp { position: absolute; left: -12px; top: -12px; width: 108px; height: 108px; border-radius: 50%; background: var(--poppy); border: 2px solid var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--head); font-weight: 800; color: var(--ink); line-height: 1; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-10deg); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .8rem; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--poppy-dk); font-size: 1.25rem; }

/* Quotes */
.quote-card { height: 100%; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 2rem 1.7rem 1.6rem; position: relative; }
.quote-card::before { content: "\201C"; position: absolute; top: -26px; left: 22px; font-family: var(--head); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--poppy); }
.quote-card p { font-style: italic; color: var(--ink-2); margin-bottom: 1.2rem; }
.quote-who { font-family: var(--head); font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .7rem; }
.quote-who span.ini { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bloom-50); border: 1.5px solid var(--ink); }
.quote-who small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }

/* Blog cards */
.post-card { height: 100%; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.post-card .media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 2px solid var(--ink); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--poppy-dk); margin-bottom: .55rem; }
.post-card h3 { font-size: 1.34rem; margin-bottom: .6rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--bloom-dk); }
.post-card p { color: var(--muted); font-size: .97rem; flex: 1; }

/* Newsletter band */
.news-band { background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--ink); }
.news-band .copy { padding: clamp(2rem, 5vw, 3.5rem); color: #e2d3bf; }
.news-band h2 { color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
.news-band .media { height: 100%; min-height: 260px; }
.news-band .media img { width: 100%; height: 100%; object-fit: cover; }
.news-inline { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.news-inline .form-control { flex: 1 1 220px; border-radius: 999px; border: 2px solid var(--cream); padding: .78rem 1.2rem; background: rgba(251, 245, 236, .08); color: var(--cream); }
.news-inline .form-control::placeholder { color: #bfae99; }
.news-inline .form-control:focus { background: rgba(251, 245, 236, .14); color: var(--cream); box-shadow: 0 0 0 .2rem rgba(238, 107, 37, .45); border-color: var(--poppy); }

/* CTA band */
.cta-band { background: var(--poppy); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%; background: repeating-conic-gradient(rgba(36, 26, 20, .12) 0deg 6deg, transparent 6deg 16deg); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: .6rem; }
.cta-band p { color: var(--ink-2); font-size: 1.1rem; margin: 0; max-width: 620px; }
.cta-band .btn-rv { background: var(--cream); }
.cta-band .container-xl { position: relative; z-index: 1; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--sand); padding: clamp(3rem, 6vw, 4.6rem) 0 clamp(2.8rem, 5vw, 4rem); border-bottom: 2px solid var(--ink); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -190px; width: 380px; height: 380px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(238, 107, 37, .35) 0deg 7deg, transparent 7deg 18deg); -webkit-mask: radial-gradient(circle, transparent 38%, #000 39%); mask: radial-gradient(circle, transparent 38%, #000 39%); }
.page-hero .container-xl { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: .8rem; }
.page-hero p { font-size: 1.14rem; color: var(--ink-3); max-width: 660px; margin: 0; }
.crumbs { font-family: var(--head); font-weight: 600; font-size: .95rem; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--poppy); }
.crumbs i { font-size: .75rem; }

/* About */
.team-media img { border-radius: var(--radius-lg); border: 2px solid var(--ink); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: -10px 10px 0 var(--poppy); }
.promise { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.6rem; height: 100%; display: flex; gap: 1rem; }
.promise i { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--bloom-50); border: 1.5px solid var(--ink); color: var(--ink); }
.promise h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.promise p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Services page intro chips */
.svc-jump { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.svc-jump a { font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; padding: .4rem .85rem .32rem; }
.svc-jump a:hover { background: var(--poppy); color: var(--ink); }
.col-svc { scroll-margin-top: 110px; }

/* ---------- Forms ---------- */
.form-panel { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: 8px 8px 0 var(--bloom); scroll-margin-top: 110px; }
.form-panel h2 { font-size: 1.85rem; font-weight: 800; }
.form-label { font-family: var(--head); font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.form-label .opt { font-weight: 600; color: var(--muted); font-size: .88em; }
.form-control, .form-select { border: 2px solid var(--line); border-radius: 14px; padding: .72rem 1rem; font-family: var(--body); color: var(--ink); background-color: var(--cream); }
.form-control:focus, .form-select:focus { border-color: var(--bloom-dk); box-shadow: 0 0 0 .22rem rgba(122, 143, 242, .35); background-color: var(--white); }
.form-check-input { border: 2px solid var(--ink-3); }
.form-check-input:checked { background-color: var(--poppy-dk); border-color: var(--poppy-dk); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(238, 107, 37, .35); }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--line); background-image: none; padding-right: 1rem; }
.was-validated .form-check-input:valid { border-color: var(--ink-3); }
.was-validated .form-check-input:valid:checked { background-color: var(--poppy-dk); }
.was-validated .form-check-input:valid ~ .form-check-label { color: inherit; }
fieldset legend.form-label { font-size: 1rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1rem; }
@media (max-width: 575.98px) { .check-grid { grid-template-columns: 1fr; } }
.group-feedback { display: none; color: var(--bs-form-invalid-color, #dc3545); font-size: .875em; margin-top: .25rem; }
.form-alert { display: none; align-items: flex-start; gap: .7rem; margin-top: 1.2rem; padding: 1rem 1.15rem; border-radius: 16px; border: 2px solid var(--ink); font-size: .98rem; }
.form-alert.show { display: flex; }
.form-alert i { font-size: 1.3rem; line-height: 1.2; }
.form-alert.ok { background: #e3f3e3; }
.form-alert.err { background: #fde3dc; }

/* Contact */
.contact-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.4rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-card i { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; background: var(--poppy); border: 1.5px solid var(--ink); color: var(--ink); }
.contact-card:nth-of-type(even) i { background: var(--bloom); }
.contact-card h2 { font-size: 1.1rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink-2); }
.contact-card a { text-decoration: none; font-weight: 600; color: var(--bloom-dk); word-break: break-word; }
.contact-photo img { width: 100%; border-radius: var(--radius); border: 2px solid var(--ink); aspect-ratio: 16 / 10; object-fit: cover; margin-top: .5rem; }
.map-wrap { border: 2px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-2); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Newsletter pages */
.nl-side { background: var(--ink); color: #e2d3bf; border-radius: var(--radius-lg); overflow: hidden; height: 100%; border: 2px solid var(--ink); }
.nl-side img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nl-side .copy { padding: 1.8rem; }
.nl-side h2 { color: var(--cream); font-size: 1.6rem; }
.nl-side ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.nl-side li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.nl-side li::before { content: "\F5A1"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--poppy); }

/* Article */
.article-hero-img { border-radius: var(--radius-lg); border: 2px solid var(--ink); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: 10px 10px 0 var(--bloom); }
.article-body { font-size: 1.09rem; }
.article-body h2 { font-size: 1.8rem; margin: 2.4rem 0 .9rem; font-weight: 800; }
.article-body h3 { font-size: 1.35rem; margin: 1.8rem 0 .6rem; }
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin-bottom: .45rem; }
.article-body li::marker { color: var(--poppy-dk); }
.article-body blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--bloom-50); border: 2px solid var(--ink); border-radius: var(--radius); font-style: italic; font-size: 1.12rem; color: var(--ink); }
.article-meta { font-family: var(--head); font-weight: 600; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; }
.article-meta i { color: var(--poppy-dk); margin-right: .3rem; }
.side-box { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.4rem; }
.side-box h2 { font-size: 1.25rem; margin-bottom: .9rem; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li + li { border-top: 1px solid var(--line); }
.side-box li a { display: block; padding: .65rem 0; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 600; line-height: 1.3; }
.side-box li a:hover { color: var(--poppy-dk); }
.side-box.cta { background: var(--poppy); }
.side-box.cta p { color: var(--ink-2); }
.side-box.cta .btn-rv { background: var(--cream); }
@media (min-width: 992px) { .sticky-side { position: sticky; top: 110px; } }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.55rem; margin: 2.2rem 0 .7rem; font-weight: 800; }
.legal ul { padding-left: 1.2rem; }
.legal li::marker { color: var(--poppy-dk); }
.legal .updated { font-family: var(--head); font-weight: 600; color: var(--muted); }

/* ---------- Footer ---------- */
.rv-footer { background: var(--ink); color: #cdbca8; padding-top: clamp(3.5rem, 7vw, 5rem); position: relative; }
.rv-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--poppy) 0 50%, var(--bloom) 50% 100%); }
.ft-brand img { height: 44px; width: auto; display: block; }
.ft-about { margin: 1.2rem 0 1.1rem; font-size: .98rem; max-width: 360px; }
.ft-mail { color: var(--cream); text-decoration: none; font-family: var(--head); font-weight: 600; display: inline-flex; align-items: center; gap: .55rem; word-break: break-all; }
.ft-mail:hover { color: var(--poppy); }
.ft-mail i { color: var(--poppy); }
.ft-social { display: flex; gap: .55rem; margin-top: 1.3rem; }
.ft-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); border: 1.5px solid rgba(251, 245, 236, .35); text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.ft-social a:hover { background: var(--poppy); border-color: var(--poppy); color: var(--ink); }
.ft-col h2 { font-family: var(--head); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cream); margin-bottom: 1.1rem; font-weight: 700; }
.ft-col h2.ft-sub { margin-top: 1.8rem; }
.ft-col ul { list-style: none; padding: 0; margin: 0; }
.ft-col li { margin-bottom: .55rem; line-height: 1.4; }
.ft-col a { color: #cdbca8; text-decoration: none; }
.ft-col a:hover { color: var(--poppy); }
.ft-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(251, 245, 236, .16); padding: 1.4rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center; font-size: .93rem; }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.ft-bottom a { color: #cdbca8; text-decoration: none; }
.ft-bottom a:hover { color: var(--poppy); }
@media (max-width: 767.98px) { .ft-bottom { justify-content: center; text-align: center; } .ft-bottom nav { justify-content: center; } }

.rv-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--poppy); color: var(--ink); font-size: 1.2rem; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; z-index: 1020; }
.rv-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Small-screen refinements ---------- */
.post-card .link-arrow { align-self: flex-start; }
@media (max-width: 991.98px) {
  .rv-ribbon ul { gap: .5rem; }
  .rv-ribbon li { font-size: .92rem; background: rgba(251, 245, 236, .55); border: 1.5px solid var(--ink); border-radius: 999px; padding: .32rem .8rem .26rem; }
  .rv-ribbon li + li::before { display: none; }
}
@media (max-width: 767.98px) {
  .cta-band::after { display: none; }
}
