/* Home page (redesign 19 Oct 2026), same direction as facility.css: mono eyebrows with a rule, numbered rows, spec sheets,
   a rating plate on the hero photograph and real photographs used large. Loaded after site.css and theme-b.css on index.html only.
   Every class here is prefixed hx- or scoped under .hx so nothing leaks into the shared components. */
.hx { --plate: #e9e4d6; --plate-line: #cfc7b3; --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; }
.hx > section { padding-block: 80px; }
.hx .eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: flex; gap: .6rem; align-items: center; margin: 0 0 .9rem; font-weight: 500; }
.hx .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: 0 0 auto; }
.hx h2 { text-wrap: balance; max-width: 20ch; margin: 0 0 1rem; }
.hx .intro { color: var(--ink-2); max-width: 62ch; font-size: 1.06rem; line-height: 1.65; margin: 0; }
.hx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.6rem; }
.hx-head h2 { margin: 0; }

/* hero */
.hx-hero { padding-block: 44px 64px !important; }
.hx-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.2rem; align-items: center; }
.hx-hero h1 { color: #0f1a13; margin: 0 0 1.2rem; max-width: 13ch; text-wrap: balance; }
.hx-hero h1 em { font-style: italic; font-weight: 600; color: var(--green); }
.hx-hero .lead { font-size: 1.12rem; line-height: 1.65; max-width: 46ch; margin: 0 0 1.6rem; }
.hx-hero .acts { display: flex; gap: .7rem; flex-wrap: wrap; }
.hx-shot { position: relative; margin: 0 0 0 0; }
.hx-shot > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 40%; border-radius: 6px; display: block; box-shadow: 0 30px 60px -30px rgba(15, 30, 18, .45); }
.hx-shot .second { position: absolute; width: 36%; aspect-ratio: 1; right: -16px; top: -26px; border: 6px solid var(--bg); border-radius: 8px; box-shadow: none; object-position: 60% 30%; }
.hx-shot .cap { position: absolute; right: 0; bottom: -1.9rem; font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .04em; }

/* rating plate, riveted like the one on a drive or a panel */
.hx-plate { position: absolute; left: -22px; bottom: -30px; width: min(310px, 64%); background: var(--plate); border: 1px solid var(--plate-line); border-radius: 4px; padding: 14px 18px 12px; font-family: var(--mono); font-size: .72rem; color: #2c312b; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.hx-plate::before, .hx-plate::after { content: ""; position: absolute; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #b5ad98; box-shadow: 0 0 0 1px #9d957f inset; }
.hx-plate::before { left: 7px; } .hx-plate::after { right: 7px; }
.hx-plate b { display: block; font-size: .78rem; letter-spacing: .12em; border-bottom: 1px solid var(--plate-line); padding-bottom: 6px; margin-bottom: 6px; color: var(--green-ink); }
.hx-plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.hx-plate dt { color: #6b6f63; text-transform: uppercase; letter-spacing: .06em; }
.hx-plate dd { margin: 0; }

/* fact strip: one ruled spec line instead of separate cards */
.hx-spec { padding-block: 0 8px; }
.hx-spec .wrap > div.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.hx-spec .cells > div { padding: 1.1rem 1.2rem 1.2rem 0; display: flex; flex-direction: column; gap: .2rem; }
.hx-spec .cells > div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.hx-spec .cells > div[hidden] { display: none; }
.hx-spec b { font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--green-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.hx-spec span { font-size: .88rem; color: var(--muted); }

/* the three paths, as a numbered index */
.hx-plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.hx-path { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, .65fr); gap: 2.2rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.hx-path .pic { margin: 0; position: relative; }
.hx-path .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.hx-path .pic .no { position: absolute; left: 10px; top: 10px; background: var(--paper); color: var(--green-ink); font: 700 .78rem var(--mono); padding: .3rem .5rem; border-radius: 3px; letter-spacing: .06em; }
.hx-path .meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 .5rem; }
.hx-path h3 { font-size: 1.8rem; margin: 0 0 .6rem; line-height: 1.1; }
.hx-path h3 a { color: inherit; text-decoration: none; }
.hx-path h3 a:hover { color: var(--green); }
.hx-path .who { color: var(--ink-2); line-height: 1.6; margin: 0 0 1.2rem; max-width: 52ch; }
.hx .spec { margin: 0; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); border-top: 1px solid var(--line); font-size: .93rem; }
.hx .spec dt, .hx .spec dd { padding: .55rem 0; border-bottom: 1px solid var(--line); margin: 0; line-height: 1.45; }
.hx .spec dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .72rem; }
.hx .spec dd { color: var(--ink); }
.hx-path .buy { display: flex; flex-direction: column; gap: .6rem; align-items: stretch; padding-left: 1.6rem; border-left: 1px solid var(--line); min-height: 100%; }
.hx-path .fee { margin: 0 0 .6rem; color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.hx-path .fee .lbl { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.hx-path .fee b { font-family: var(--display); font-size: 1.7rem; color: var(--green-ink); line-height: 1.1; font-weight: 700; }
.hx-path .fee .sub, .hx-path .fee [data-vat] { display: block; margin-top: .25rem; font-size: .86rem; }
.hx-path .buy .btn { justify-content: center; }
.hx-path .apply { font-weight: 600; font-size: .92rem; color: var(--green); text-align: center; }
.hx-cmp { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; margin-top: 1.8rem; }
.hx-cmp span { color: var(--muted); font-size: .9rem; max-width: 60ch; }

/* why: photograph beside six numbered principles */
.hx-why .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 3.5rem; align-items: start; }
.hx-why .pic { margin: 0; position: sticky; top: 100px; }
.hx-why .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; }
.hx-why .pic figcaption { display: flex; align-items: baseline; gap: .7rem; padding: .9rem 0 0; border-bottom: 1px solid var(--line); padding-bottom: .9rem; }
.hx-why .pic figcaption b { font-family: var(--display); font-size: 2.4rem; color: var(--green); line-height: 1; }
.hx-why .pic figcaption span { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hx-points { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: pt; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.hx-points li { counter-increment: pt; padding: 1.2rem 0 1.3rem; border-top: 1px solid var(--line); }
.hx-points li::before { content: counter(pt, decimal-leading-zero); display: block; font: 700 .76rem var(--mono); color: var(--amber); letter-spacing: .08em; margin-bottom: .5rem; }
.hx-points h3 { font-size: 1.22rem; margin: 0 0 .4rem; }
.hx-points p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* facility: one large photograph and four smaller ones (keeps .gallery so the site's lightbox works) */
.hx-fac .links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.gallery.hx-mosaic { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: .7rem; }
.gallery.hx-mosaic figure { aspect-ratio: auto; border-radius: 6px; }
.gallery.hx-mosaic figure.big { grid-column: span 2; grid-row: span 2; }
.gallery.hx-mosaic figcaption { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .04em; padding: .6rem .8rem; }

/* testimonials: one large quotation, two beside it */
.hx-voices .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem 3.2rem; align-items: start; }
.hx-voices blockquote { margin: 0; padding: 0; }
.hx-voices blockquote p { margin: 0 0 1rem; color: var(--ink); line-height: 1.55; }
.hx-voices .lead-q p { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.4; letter-spacing: -.01em; }
.hx-voices .lead-q { border-top: 3px solid var(--green); padding-top: 1.4rem; }
.hx-voices .side { display: grid; gap: 1.6rem; }
.hx-voices .side blockquote { border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.hx-voices .side p { font-size: 1.02rem; }
.hx-voices footer { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.hx-voices footer b { color: var(--green-ink); }
.hx-voices .foot { margin-top: 2rem; }

/* after you apply: four steps on one line */
.hx-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: fl; position: relative; }
.hx-flow::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; border-top: 2px dashed var(--plate-line); }
.hx-flow li { counter-increment: fl; position: relative; }
.hx-flow li::before { content: counter(fl, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--green); background: var(--bg); color: var(--green); font: 700 .85rem var(--mono); margin-bottom: 1.1rem; position: relative; }
.hx-flow h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.hx-flow p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* FAQ: heading on the left, ruled questions on the right */
.hx-faq .wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 3rem; align-items: start; }
.hx-faq .faq { margin: 0; max-width: none; border-top: 1px solid var(--ink); }
.hx-faq .faq details { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; }
.hx-faq .faq summary { padding: 1.05rem 0; font-size: 1.02rem; }
.hx-faq .faq details p { max-width: 65ch; line-height: 1.65; margin: 0; padding: 0 0 1.2rem; }

/* contact: a contact sheet, the map and the call-back form */
.hx-contact .wrap.cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: start; }
.hx .spec.contact { grid-template-columns: 8.5rem minmax(0, 1fr); border-top-color: var(--ink); font-size: .97rem; }
.hx .spec.contact dd a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.hx .spec.contact dd small { display: block; color: var(--muted); font-size: .86rem; margin-top: .1rem; }
.hx-contact .map { margin-top: 1.4rem; border-radius: 6px; }
.hx-contact .map iframe { height: 300px; }
.hx-form { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 4px; padding: 1.6rem; }
.hx-form h3 { margin: 0 0 .4rem; }
.hx-form > p { color: var(--muted); font-size: .92rem; }

/* closing band: plain brand green, no pattern */
.hx .band { background: var(--green-ink); background-image: none; }
.hx .band .wrap { padding-block: 56px !important; }
.hx .band .eyebrow { color: #9fd3a8; }
.hx .band h2 { max-width: 24ch; }

@media (max-width: 1100px) {
  .hx-path { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); }
  .hx-path .buy { grid-column: 2; padding-left: 0; border-left: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hx-path .fee { flex: 1 1 100%; }
  .hx-flow { grid-template-columns: 1fr 1fr; } .hx-flow::before { display: none; }
}
@media (max-width: 960px) {
  .hx > section { padding-block: 56px; }
  .hx-hero .wrap, .hx-why .wrap, .hx-faq .wrap, .hx-contact .wrap.cols, .hx-voices .grid, .hx-head { grid-template-columns: 1fr; gap: 2rem; }
  .hx-head { gap: 1rem; margin-bottom: 2rem; }
  .hx-shot { margin: 10px 0 44px; }
  .hx-why .pic { position: static; } .hx-why .pic img { aspect-ratio: 16 / 10; }
  .gallery.hx-mosaic { grid-auto-rows: 170px; }
}
@media (max-width: 680px) {
  .hx-path { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.8rem 0; }
  .hx-path .buy { grid-column: 1; }
  .hx-path .buy .btn { flex: 1 1 auto; }
  .hx-points { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hx-shot .second { display: none; }
  .hx-shot .cap { display: none; }
  .hx-plate { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .hx-shot { margin-bottom: 0; }
  .hx-spec .wrap > div.cells { grid-template-columns: 1fr 1fr; }
  .hx-spec .cells > div { padding: .9rem .8rem .9rem 0; }
  .hx-spec .cells > div + div { padding-left: .9rem; }
  .hx-spec .cells > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hx-spec .cells > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hx-spec b { font-size: 1.8rem; }
  .hx .spec { grid-template-columns: 6.2rem minmax(0, 1fr); font-size: .9rem; }
  .hx .spec.contact { grid-template-columns: 1fr; }
  .hx .spec.contact dt { border-bottom: 0; padding-bottom: 0; }
  .gallery.hx-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: .5rem; }
  .gallery.hx-mosaic figure.big { grid-row: span 2; }
  .hx-flow { grid-template-columns: 1fr; gap: 1.4rem; }
  .hx-flow li { display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; }
  .hx-flow li::before { grid-row: span 2; margin: 0; }
  .hx-form { padding: 1.2rem; }
}
