/* House in Stages – BJS Construcciones S.A.S. The home maker kit rebuilt: white page with faint vertical guide lines, a black
   top strip, Outfit headings at a regular weight, Montserrat text, brick orange for numerals, dots, badges and round arrow buttons.
   Orange carries black text (5.6:1); orange text on white uses the deeper tone (5:1). */
@font-face { font-family: Outfit; src: url(fonts/Outfit-Variable.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Montserrat; src: url(fonts/Montserrat-Variable.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #141414; --muted: #555555; --line: #d9d6d0; --grey: #f2f1ee; --white: #ffffff;
  --or: #e06a2c; --or-ink: #a8461a; --or-soft: #fbe9df; --warn: #8a5a00; --warn-soft: #fff4d6; --bad: #b3261e; --bad-soft: #fbe9e7;
  --w: 1180px; --r: 6px; --head: Outfit, "Segoe UI", Arial, sans-serif; --text: Montserrat, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.65 var(--text); }
main { overflow-x: clip; background-image: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(20, 20, 20, .045) calc(25% - 1px) 25%); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--or-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
h1, h2, h3, .h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: 1.32rem; font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.label { font: 600 .78rem/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--or-ink); margin: 0 0 .9em; }
.small { font-size: .88rem; color: var(--muted); }
.lead { font-size: 1.12rem; color: #333; }
.mail { word-break: break-all; }
.mw { max-width: 760px; }
.ic { width: 20px; height: 20px; flex: none; }

/* top strip and header */
.strip { background: var(--ink); color: #eee; font-size: .84rem; }
.strip-in { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; min-height: 38px; }
.strip-in > * { display: inline-flex; align-items: center; gap: 6px; color: #eee; text-decoration: none; }
.strip-in > a:hover { color: #fff; text-decoration: underline; }
.strip .ic { width: 16px; height: 16px; color: var(--or); }
.hd { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hd.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.hd-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-box { font: 600 1.05rem/1 var(--head); letter-spacing: .08em; border: 2px solid var(--ink); padding: 9px 10px; }
.logo-t { display: flex; flex-direction: column; line-height: 1.2; }
.logo-t b { font: 500 1rem var(--head); }
.logo-t small { font-size: .76rem; color: var(--muted); }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--or); }
.mm { display: none; position: relative; }
.mm summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.mm summary::-webkit-details-marker { display: none; }
.mm-panel { position: absolute; right: 0; top: 56px; width: min(320px, 86vw); max-height: 75vh; overflow: auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); padding: 12px 18px; }
.mm-panel a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--grey); }
.mm-panel a[aria-current="page"] { color: var(--or-ink); font-weight: 600; }
.mm-h { margin: 12px 0 2px; font: 600 .74rem var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .nav { display: none; } .mm { display: block; } }

/* buttons: text and a round orange arrow */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 4px 4px 20px; border-radius: 40px; background: var(--ink); color: #fff;
  text-decoration: none; font: 600 .95rem var(--text); border: 0; cursor: pointer; transition: transform .25s, background .25s; }
.btn .btn-c { width: 40px; height: 40px; border-radius: 50%; background: var(--or); color: var(--ink); display: grid; place-items: center; transition: transform .3s; }
.btn:hover .btn-c { transform: rotate(-45deg); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.dark { background: var(--ink); }
.btn.small { min-height: 44px; font-size: .9rem; }
.btn.small .btn-c { width: 34px; height: 34px; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn.off { opacity: .45; cursor: not-allowed; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:not(.js) .pl { display: none; }
.linkish { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--or-ink); text-decoration: underline; font: inherit; cursor: pointer; }

/* hero and inner heroes: one-line headline beside a short text */
.hero { padding: 48px 0 24px; }
.hero-top, .ph { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.page-hero { padding: 40px 0 10px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
@media (max-width: 800px) { .hero-top, .ph { grid-template-columns: 1fr; gap: 10px; } }

/* the notched frame: the top edge dips into a shallow V, and the round text badge sits in the notch */
.notch { position: relative; margin: 0 0 24px; padding-top: 52px; }
.notch img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; clip-path: polygon(0 0, 41% 0, 50% 11%, 59% 0, 100% 0, 100% 100%, 0 100%); }
.notch.small img { aspect-ratio: 4 / 3; clip-path: polygon(0 0, 38% 0, 50% 10%, 62% 0, 100% 0, 100% 100%, 0 100%); }
.notch.small { padding-top: 40px; }
.badge { position: absolute; left: 50%; top: 0; width: 112px; height: 112px; margin-left: -56px; border-radius: 50%; background: var(--or); color: var(--ink); display: grid; place-items: center; }
.notch.small .badge { width: 84px; height: 84px; margin-left: -42px; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge text { font: 600 9.4px var(--text); letter-spacing: 2.3px; fill: var(--ink); }
.badge-ic { width: 30px; height: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .notch img { aspect-ratio: 4 / 3; } .badge { width: 88px; height: 88px; margin-left: -44px; } .notch { padding-top: 40px; } }

/* stat strip: grey, jutting out to the right edge, orange numerals */
.stats { margin: 30px 0 10px; }
.stats-in { margin-left: max(20px, calc((100vw - var(--w)) / 2 + 20px)); background: var(--grey); padding: 28px 32px; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats b { display: block; font: 300 3rem/1 var(--head); color: var(--or-ink); }
.stats span { font-size: .9rem; color: #333; }
@media (max-width: 760px) { .stats ul { grid-template-columns: 1fr 1fr; } }

.sec { padding: 56px 0; }
.sec.grey { background: var(--grey); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.fr img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fr.wide img { aspect-ratio: 16 / 7; }
figure { margin: 0; }

/* timeline with orange dots */
.tl-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.tl-pic img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.tl { list-style: none; margin: 0; padding: 0 0 0 30px; border-left: 2px solid var(--line); }
.tl li { position: relative; padding: 0 0 22px; }
.tl .dot { position: absolute; left: -39px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 5px var(--or-soft); }
.tl h3 { margin-bottom: .2em; }
@media (max-width: 860px) { .tl-grid { grid-template-columns: 1fr; } .tl-pic img { aspect-ratio: 16 / 9; } }

/* slider with a 01/06 counter */
.slider-bar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.arrows { display: none; gap: 10px; }
.slider.armed .arrows { display: flex; }
.arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; display: grid; place-items: center; }
.arrows button[aria-disabled="true"] { opacity: .35; cursor: default; }
.track { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 980px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.slide { scroll-snap-align: start; position: relative; display: grid; grid-template-columns: 1.3fr 1fr; background: #fff; }
.slide figure img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.slide-tx { padding: 28px; }
.count { font: 300 1.1rem var(--head); color: var(--or-ink); letter-spacing: .1em; }
.es { color: var(--or-ink); font-style: italic; margin-top: -.4em; }
@media (max-width: 700px) { .slide { grid-template-columns: 1fr; } .slide figure img { min-height: 200px; aspect-ratio: 16 / 9; } }

/* gable cards */
.gables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.gable { position: relative; background: #fff; border: 1px solid var(--line); padding: 0 0 20px; transition: transform .3s, box-shadow .3s; }
.gable:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.gable figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 14%, 50% 0, 100% 14%, 100% 100%, 0 100%); }
.gable .gnum { position: absolute; right: 16px; top: 46%; width: 54px; height: 54px; border-radius: 50%; background: var(--or); color: var(--ink); display: grid; place-items: center; font: 500 1.1rem var(--head); }
.gable h3, .gable p { padding: 0 20px; }
.gable h3 { margin-top: 18px; }
.gable h3 a { color: var(--ink); text-decoration: none; }
.gable h3 a:hover { text-decoration: underline; }
@media (max-width: 900px) { .gables { grid-template-columns: 1fr; } }

/* worked example */
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .ex-grid { grid-template-columns: 1fr; } }
.wet { display: inline-flex; gap: 6px; align-items: center; color: var(--warn); font-weight: 600; }
.wet .ic { width: 18px; height: 18px; }

/* tables */
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; background: #fff; }
caption { text-align: left; font: 500 1.05rem var(--head); padding: 0 0 10px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 .76rem var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.num { text-align: right; white-space: nowrap; }

/* seismic band */
.quake { background: var(--ink); color: #fff; padding: 52px 0; }
.quake-in { display: grid; grid-template-columns: 80px 1fr; gap: 26px; align-items: start; }
.qk { width: 72px; height: 72px; color: var(--or); }
.band-line { font: 300 clamp(1.6rem, 3.2vw, 2.4rem)/1.2 var(--head); margin-bottom: .4em; }
.quake p { color: #ddd; }
@media (max-width: 600px) { .quake-in { grid-template-columns: 1fr; } }

/* FAQ: outlined boxes with black plus circles */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details { border: 1.5px solid var(--ink); margin-bottom: 12px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; min-height: 56px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 2px; background: #fff; transition: transform .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 18px 16px; margin: 0; color: #333; }

/* closing band: grey with underline links and orange round arrows */
.close { background: var(--grey); padding: 56px 0; }
.close-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.close-r { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.line-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 6px 0; border-bottom: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 1.05rem; min-height: 52px; }
.line-link .btn-c { width: 44px; height: 44px; border-radius: 50%; background: var(--or); display: grid; place-items: center; flex: none; transition: transform .3s; }
.line-link:hover .btn-c { transform: rotate(-45deg); }
@media (max-width: 860px) { .close-in { grid-template-columns: 1fr; } }

/* inner pages */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.step { border-top: 3px solid var(--ink); padding-top: 14px; }
.step-n { font: 300 2.6rem/1 var(--head); color: var(--or-ink); }
.sps { display: grid; gap: 40px; }
.sp { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.sp.rev > figure { order: 2; }
.warn { color: var(--warn); background: var(--warn-soft); padding: 8px 12px; display: inline-block; }
@media (max-width: 800px) { .sp { grid-template-columns: 1fr; } .sp.rev > figure { order: 0; } }
.stgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stg { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stg figure img { width: 150px; height: 150px; object-fit: cover; clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
@media (max-width: 860px) { .stgs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .stg { grid-template-columns: 1fr; } .stg figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; } }
.year { margin-bottom: 30px; }
.months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.months li { border: 1px solid var(--line); padding: 10px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .78rem; background: #fff; }
.months b { font: 500 .95rem var(--head); }
.months .m-wet { background: #e9eef8; border-color: #9fb3d9; }
.months .m-dry { background: var(--or-soft); border-color: #f1b28c; }
@media (max-width: 760px) { .months { grid-template-columns: repeat(6, 1fr); } }
.law { background: #fff; border-left: 4px solid var(--or); padding: 22px 24px; }
.law.wide { max-width: 900px; }
.src { font-size: .85rem; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.checks .ic { color: var(--or-ink); margin-top: 3px; }
.mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.mod { border: 1.5px solid var(--ink); padding: 18px; background: #fff; }
.mod:last-child { background: var(--or-soft); border-color: var(--or); }
.card { background: #fff; border: 1px solid var(--line); padding: 22px; }
.note { background: var(--or-soft); padding: 20px 24px; }
.prose { max-width: 820px; }
.cards3 { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards3 a, .cards3 div { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; height: 100%; background: #fff; }
.cards3 .ic { width: 28px; height: 28px; color: var(--or-ink); }
@media (max-width: 800px) { .cards3 { grid-template-columns: 1fr; } }

/* privacy: index and rotating section layouts */
.pwrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.pidx { position: sticky; top: 90px; }
.pidx ol { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.pidx a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.pidx span { color: var(--or-ink); margin-right: 6px; }
@media (max-width: 900px) { .pwrap { grid-template-columns: 1fr; } .pidx { position: static; } }
.policy-section { margin-bottom: 40px; display: grid; gap: 22px; scroll-margin-top: 90px; }
.ps-no { font: 300 2.2rem/1 var(--head); color: var(--or-ink); margin: 0 0 .2em; }
.policy-section h2 { font-size: 1.5rem; }
.ps-pic img { width: 100%; object-fit: cover; }
.ps-notch .ps-pic img { aspect-ratio: 16 / 7; clip-path: polygon(0 0, 42% 0, 50% 10%, 58% 0, 100% 0, 100% 100%, 0 100%); }
.ps-side { grid-template-columns: 220px 1fr; }
.ps-side .ps-pic img { aspect-ratio: 1; border-radius: 50%; }
.ps-line { grid-template-columns: 1fr 240px; border-top: 2px solid var(--ink); padding-top: 18px; }
.ps-line .ps-pic { order: 2; }
.ps-line .ps-pic img { aspect-ratio: 3 / 2; }
.ps-boxed { background: var(--grey); padding: 24px; grid-template-columns: 1fr 1fr; }
.ps-boxed .ps-pic img { aspect-ratio: 3 / 2; clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%); }
.ps-wide { grid-template-columns: 1fr; border-left: 4px solid var(--or); padding-left: 20px; }
.ps-wide .ps-pic img { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .ps-side, .ps-line, .ps-boxed { grid-template-columns: 1fr; } .ps-line .ps-pic { order: 0; } .ps-side .ps-pic img { width: 140px; } }

/* planner */
.pl { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 960px) { .pl { grid-template-columns: 1fr; } }
.pl-form fieldset { border: 0; border-top: 2px solid var(--ink); margin: 0 0 22px; padding: 14px 0 0; }
.pl-form legend { font: 500 1.25rem var(--head); padding-right: 10px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; flex-direction: column; border: 1.5px solid var(--line); padding: 10px 12px; min-height: 48px; background: #fff; }
.opt small { color: var(--muted); }
.opt input:checked + span { border-color: var(--or); background: var(--or-soft); }
.opt input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.fld input, .fld select { font: 400 1rem var(--text); padding: 10px 12px; min-height: 48px; border: 1.5px solid #8a8a8a; background: #fff; border-radius: 0; color: var(--ink); width: 100%; }
.fld input[aria-invalid="true"] { border-color: var(--bad); }
.pl-rooms .rf { margin-top: 14px; }
.pl-rooms h3 { font-size: 1.05rem; margin-bottom: 6px; }
.room-row { display: grid; grid-template-columns: 1fr 96px 48px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--grey); }
.room-row input { font: inherit; padding: 8px; min-height: 44px; border: 1.5px solid #8a8a8a; width: 100%; }
.room-row button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.pl-out { display: grid; gap: 16px; }
.big { font: 300 1.9rem/1.2 var(--head); margin: 0 0 .4em; }
.issues { list-style: none; margin: 0; padding: 0; }
.issues li { padding: 8px 10px; margin-bottom: 6px; font-size: .9rem; }
.issues .BLOCK { background: var(--bad-soft); color: var(--bad); }
.issues .WARN { background: var(--warn-soft); color: var(--warn); }
.issues .INFO { background: #eef3fb; color: #1f4f8a; }
.cal { display: grid; gap: 6px; }
.cal-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; font-size: .86rem; }
.cal-bar { position: relative; height: 26px; background: var(--grey); }
.cal-bar span { position: absolute; top: 0; bottom: 0; background: var(--ink); color: #fff; font-size: .75rem; padding: 4px 6px; white-space: nowrap; overflow: hidden; }
.cal-bar span.w { background: var(--or); color: var(--ink); }
.brief { white-space: pre-wrap; font: 400 .82rem/1.5 ui-monospace, Consolas, monospace; background: var(--grey); padding: 14px; max-height: 360px; overflow: auto; }
.lines div { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; border-bottom: 1px solid var(--grey); padding: 5px 0; }

/* footer */
.ft { background: var(--ink); color: #ddd; padding: 52px 0 30px; }
.ft a { color: #fff; }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.ft-word { font: 400 1.5rem var(--head); color: #fff; }
.ft .small { color: #bbb; }
.fh { font: 600 .74rem var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.ft-top a { display: block; padding: 5px 0; text-decoration: none; }
.ft-top a:hover { text-decoration: underline; }
.ft-legal { font-size: .8rem; color: #aaa; border-top: 1px solid #333; padding-top: 18px; margin-top: 28px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr 1fr; } }

/* motion: reveal on scroll only when JavaScript runs; nothing moves for reduced motion */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .badge svg { animation: none; }
  .btn .btn-c, .line-link .btn-c, .gable, .faq summary i::after { transition: none; }
}
@media print { .strip, .hd, .ft, .close, .acts { display: none; } html.js [data-reveal] { opacity: 1; transform: none; } }
