/* Clickhouse (IBTK) prototype · redesign 09/10: architecture-studio direction.
   Palette taken from the real brand: the logo's slate ink (#18232D / navy #2B445B) on a warm limestone paper,
   the brand blue #2CA2E3 only as a thin accent. Type: Newsreader (editorial serif) + Hanken Grotesk.
   No drop shadows, no glass, no pills: hairlines, space and full-width photography of the client's own houses. */
:root {
  --paper: #ece8e1;
  --sand: #e2dcd2;
  --surface: #f2efea;
  --ink: #18232d;
  --navy: #2b445b;
  --text: #2a3640;
  --muted: #56616b;
  --line: #c8c0b3;
  --line-soft: #d8d1c6;
  --blue: #2ca2e3;
  --on-dark: #ece8e1;
  --on-dark-muted: #b4bcc3;
  --wrap: 1280px;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--text); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
.ch-wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.ch-skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 30; }
.ch-skip:focus { left: 1rem; top: 1rem; }
.ch-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ch-small { font-size: 0.875rem; color: var(--muted); }
.ch-eyebrow { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.ch-eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: var(--blue); flex: none; }
.ch-lead { font-size: 1.2rem; line-height: 1.55; max-width: 58ch; color: var(--text); }
.ch-intro { max-width: 62ch; color: var(--muted); font-size: 1.0625rem; margin-bottom: 2.5rem; }
.ch-h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); }
.ch-h3 { font-size: 1.5rem; margin-top: 2rem; }
.ch-note { color: var(--muted); font-size: 0.95rem; max-width: 72ch; margin-top: 2rem; }
.ch-more { margin-top: 2.5rem; }
.ch-opt { color: var(--muted); font-weight: 400; }

/* buttons and links: one dark, square primary; secondary actions are underlined text */
.ch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 50px; padding: 0.75rem 1.6rem; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 500 0.98rem/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.ch-btn::after { content: '→'; font-size: 1.05em; transition: transform 0.2s; }
.ch-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ch-btn:hover::after { transform: translateX(3px); }
.ch-btn:focus-visible { outline-offset: 3px; }
.ch-btn--sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.92rem; }
.ch-btn--sm::after, .ch-btn--ghost::after { content: none; }
.ch-btn--ghost { background: transparent; color: var(--ink); }
.ch-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.ch-btn--light, .ch-btn--dark { }
.ch-btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.ch-btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.ch-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.ch-link:hover { text-decoration-thickness: 2px; }
.ch-link--light, .ch-link--ink { }
.ch-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; }

/* header */
.ch-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.ch-header__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 76px; }
.ch-logo { display: block; }
.ch-logo img { width: 128px; height: auto; }
.ch-nav { display: flex; align-items: center; gap: 2rem; }
.ch-nav a:not(.ch-btn) { color: var(--text); text-decoration: none; font-size: 0.95rem; padding: 0.5rem 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.ch-nav a:not(.ch-btn):hover { color: var(--ink); border-color: var(--ink); }
.ch-nav a[aria-current='page']:not(.ch-btn) { color: var(--ink); border-color: var(--blue); }
.ch-nav .ch-btn { margin-left: 0.5rem; }
.ch-menu { display: none; position: relative; }
.ch-menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; font-weight: 500; color: var(--ink); }
.ch-menu summary::after { content: ''; width: 22px; height: 7px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ch-menu summary::-webkit-details-marker { display: none; }
.ch-menu__panel { position: absolute; right: calc(-1 * var(--gut)); top: calc(100% + 0.9rem); width: 100vw; max-width: 420px; background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gut) 1.5rem; display: grid; }
.ch-menu__panel a:not(.ch-btn) { color: var(--ink); text-decoration: none; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); font: 400 1.35rem/1.2 var(--serif); }
.ch-menu__panel a[aria-current='page'] { color: var(--navy); }
.ch-menu__panel .ch-btn { margin-top: 1.25rem; }
.ch-menu__tel { text-align: center; font: 500 1rem/1.2 var(--sans) !important; border: 0 !important; }
@media (max-width: 1080px) {
  .ch-nav { display: none; }
  .ch-menu { display: block; }
  .ch-header__row { min-height: 64px; }
  .ch-logo img { width: 112px; }
}

/* ---------- home hero: editorial headline over a full-width photograph of a finished house ---------- */
.ch-hero { display: grid; grid-template-rows: auto 1fr; min-height: calc(100svh - 76px - 40px); }
.ch-hero__top { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: 1.5rem 4rem; align-items: end; padding-block: clamp(1.75rem, 1rem + 1.5vw, 2rem); }
.ch-hero h1 { font-size: clamp(2.5rem, 1.2rem + 3.3vw, 4rem); line-height: 1.02; letter-spacing: -0.022em; margin: 0; max-width: 17ch; }
.ch-hero__copy .ch-eyebrow { margin-bottom: 1rem; }
.ch-hero__aside { padding-bottom: 0.35rem; }
.ch-hero__lead { font-size: 1.1rem; line-height: 1.55; color: var(--text); max-width: 40ch; margin-bottom: 1.25rem; }
.ch-hero__aside .ch-eyebrow { margin-bottom: 1rem; }
.ch-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; margin: 0; }
.ch-hero__photo { position: relative; min-height: 420px; overflow: hidden; background: var(--sand); }
.ch-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
@media (max-width: 900px) {
  .ch-hero { min-height: 0; grid-template-rows: auto; }
  .ch-hero__top { display: contents; }
  .ch-hero__copy { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto; padding: 1.5rem 0 1.25rem; order: 1; }
  .ch-hero__photo { order: 2; min-height: 0; aspect-ratio: 8 / 9; max-height: 70svh; }
  .ch-hero__photo img { object-position: 62% 60%; }
  .ch-hero__aside { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto; padding: 1.5rem 0 0.5rem; order: 3; }
  .ch-hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.2vw, 2.9rem); }
}

/* typology index directly under the hero */
.ch-typ { border-bottom: 1px solid var(--line); }
.ch-typ__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: stretch; gap: 0 2rem; }
.ch-typ__h { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; align-self: center; padding-block: 1rem; }
.ch-typ__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.ch-typ__list a { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.95rem 1.25rem; min-height: 64px; border-left: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background-color 0.2s; }
.ch-typ__list a:hover { background: var(--sand); }
.ch-typ__list strong { font: 400 2rem/1 var(--serif); color: var(--ink); }
.ch-typ__list a > span { display: block; font-size: 0.9rem; line-height: 1.35; color: var(--ink); font-weight: 500; }
.ch-typ__area { display: block; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .ch-typ { border-top: 1px solid var(--line); }
  .ch-typ__row { grid-template-columns: 1fr; }
  .ch-typ__h { padding: 1.25rem 0 0.25rem; }
  .ch-typ__list { grid-template-columns: repeat(2, 1fr); margin-inline: calc(-1 * var(--gut)); }
  .ch-typ__list li:nth-child(odd) a { border-left: 0; }
  .ch-typ__list li:nth-child(-n + 2) a { border-bottom: 1px solid var(--line); }
  .ch-typ__list a { padding: 1rem var(--gut); flex-direction: column; gap: 0.35rem; }
}

/* sections */
.ch-sec { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.ch-sec--sand, .ch-sec--mist, .ch-sec--navy { background: var(--sand); }
.ch-sec--sky, .ch-sec--navy-dark { background: var(--paper); }
.ch-sec + .ch-sec:not([class*='--']) , .ch-sec--sky + .ch-sec--sky { border-top: 1px solid var(--line); }
.ch-sechead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 1.5rem 4rem; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.ch-sechead .ch-h2 { margin: 0; }
.ch-sechead > .ch-link { justify-self: end; }
.ch-sechead__note { color: var(--muted); margin: 0; max-width: 52ch; }
@media (max-width: 900px) {
  .ch-sechead { grid-template-columns: 1fr; }
  .ch-sechead > .ch-link { justify-self: start; }
}
.ch-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.ch-split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) {
  .ch-split { grid-template-columns: 1fr; }
  .ch-split--rev > img:first-child { order: 2; }
}

/* model cards: render on a light plate, name in serif, specs underneath; no boxes, no shadows */
.ch-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 2vw, 3rem) clamp(1rem, 0.5rem + 1.2vw, 2rem); }
.ch-model a { display: grid; gap: 0.9rem; text-decoration: none; color: var(--text); }
.ch-model__img { display: block; background: var(--surface); aspect-ratio: 700 / 470; overflow: hidden; border-bottom: 1px solid var(--line); }
.ch-model__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ch-model a:hover .ch-model__img img { transform: scale(1.04); }
.ch-model__body { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.15rem 1rem; }
.ch-model__name { font-size: 1.6rem; margin: 0; }
.ch-model__meta { display: flex; gap: 0.9rem; font-size: 0.92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ch-model__meta span + span { color: var(--muted); }
.ch-model__range { grid-column: 1 / -1; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ch-models--rail { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 1080px) { .ch-models { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ch-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .ch-model__body { grid-template-columns: 1fr; }
  .ch-model__name { font-size: 1.35rem; }
  .ch-model__meta { gap: 0.6rem; font-size: 0.85rem; flex-wrap: wrap; }
}

/* factory: photo bleeding to the left edge, text column on the right */
.ch-factory { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--ink); color: var(--on-dark); }
.ch-factory__img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.ch-factory__body { padding: clamp(3rem, 2rem + 4vw, 6rem) var(--gut) clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1rem + 3vw, 5rem); max-width: 640px; }
.ch-factory .ch-h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 1.8vw, 2.9rem); }
.ch-factory .ch-eyebrow { color: var(--on-dark-muted); }
.ch-factory p { color: var(--on-dark-muted); }
.ch-process { counter-reset: p; margin-top: 2rem; border-top: 1px solid rgba(236, 232, 225, 0.2); }
.ch-process li { counter-increment: p; display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.1rem 0; padding: 1rem 0; border-bottom: 1px solid rgba(236, 232, 225, 0.2); }
.ch-process li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font: 400 1.05rem/1.4 var(--serif); color: var(--blue); }
.ch-process strong { font-weight: 500; color: #fff; }
.ch-process span { font-size: 0.95rem; color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .ch-factory { grid-template-columns: 1fr; }
  .ch-factory__img { min-height: 0; aspect-ratio: 16 / 10; }
  .ch-factory__body { padding: 3rem var(--gut); }
}

/* ranges (home) */
.ch-ranges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); }
.ch-range a { display: grid; gap: 1.1rem; text-decoration: none; color: var(--text); height: 100%; align-content: start; }
.ch-range img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity 0.3s; }
.ch-range a:hover img { opacity: 0.9; }
.ch-range__body { display: grid; gap: 0.45rem; }
.ch-range__body h3 { font-size: 1.65rem; margin: 0; }
.ch-range__facts { font-size: 0.85rem; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.ch-range__text { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 1080px) { .ch-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; } }
@media (max-width: 520px) { .ch-ranges { grid-template-columns: 1fr; } .ch-range img { aspect-ratio: 4 / 3; } }

/* visit: full-width photo of the model house, places listed below */
.ch-visit { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem) clamp(1rem, 0.5rem + 2vw, 2.5rem); border-top: 1px solid var(--line); }
.ch-visit__photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); align-items: end; }
.ch-visit__photos img { width: 100%; height: clamp(260px, 36vw, 540px); object-fit: cover; }
.ch-visit__photos figure:last-child img { height: clamp(220px, 28vw, 420px); }
.ch-visit__photos figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 0.75rem; }
@media (max-width: 700px) { .ch-visit__photos { grid-template-columns: 1fr; } .ch-visit__photos img, .ch-visit__photos figure:last-child img { height: auto; aspect-ratio: 4 / 3; } }
.ch-visit__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.ch-visit__grid > div > p:not(.ch-eyebrow):not(.ch-actions) { color: var(--muted); max-width: 58ch; }
.ch-places { margin: 0; border-top: 1px solid var(--line); align-self: start; }
.ch-places > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.25rem 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.ch-places dt { font: 400 1.2rem/1.3 var(--serif); color: var(--ink); }
.ch-places dd { margin: 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 900px) {
  .ch-visit__grid { grid-template-columns: 1fr; }
  .ch-places > div { grid-template-columns: 1fr; }
}

/* why: numbered benefits in a hairline grid */
.ch-why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); align-items: start; }
.ch-benefits { counter-reset: b; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line); }
.ch-benefits li { counter-increment: b; padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--line); }
.ch-benefits li::before { content: counter(b, decimal-leading-zero); display: block; font: 400 0.95rem/1 var(--serif); color: var(--blue); margin-bottom: 0.9rem; }
.ch-benefits h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.ch-benefits p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.ch-why > div:first-child { position: sticky; top: 120px; }
@media (max-width: 900px) { .ch-why { grid-template-columns: 1fr; } .ch-why > div:first-child { position: static; } }
@media (max-width: 620px) { .ch-benefits { grid-template-columns: 1fr; } }

/* concepts */
.ch-concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem); }
.ch-concepts a { display: grid; gap: 0.6rem; text-decoration: none; color: var(--text); }
.ch-concepts img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 0.6rem; }
.ch-concepts h3 { font-size: 1.6rem; margin: 0; }
.ch-concepts p { font-size: 0.95rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .ch-concepts { grid-template-columns: 1fr; } }

/* quote / social proof */
.ch-quote blockquote p { max-width: 36ch; }
.ch-quote__markets { max-width: 70ch; }
.ch-quote figure { margin: 0 0 2rem; }
.ch-quote blockquote { margin: 0 0 1.25rem; }
.ch-quote blockquote p { font: 400 clamp(1.5rem, 1.1rem + 1.4vw, 2.35rem)/1.3 var(--serif); color: var(--ink); letter-spacing: -0.01em; margin: 0; text-wrap: pretty; }
.ch-quote figcaption { font-size: 0.95rem; color: var(--muted); }
.ch-quote__markets { padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); max-width: 70ch; }

/* CTA band */
.ch-ctaband { background: var(--navy); color: var(--on-dark); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.ch-ctaband__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 4rem; }
.ch-ctaband h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); max-width: 22ch; }
.ch-ctaband p { color: var(--on-dark-muted); max-width: 62ch; margin: 0; }
.ch-ctaband a:not(.ch-btn) { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.ch-ctaband .ch-small { color: var(--on-dark-muted); }
@media (max-width: 760px) { .ch-ctaband__row { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.ch-pagehead { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(2.25rem, 1.5rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); position: relative; }
.ch-pagehead h1 { font-size: clamp(2.3rem, 1.3rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 1rem; }
.ch-pagehead .ch-lead { color: var(--muted); margin: 0; }
.ch-pagehead--img { min-height: 380px; display: flex; align-items: flex-end; color: #fff; }
.ch-pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; }
.ch-crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 32px; }
.ch-crumbs a:hover { color: var(--ink); }
.ch-crumbs [aria-current] { color: var(--ink); display: inline-flex; align-items: center; }
.ch-crumbs span[aria-hidden] { display: inline-flex; align-items: center; color: var(--line); }

/* catalogue filters: text tabs + quiet selects on one hairline row */
.ch-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1.25rem 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.ch-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ch-filters legend, .ch-filters .ch-field > label { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; padding: 0; }
.ch-filters .ch-field { margin: 0; min-width: 200px; flex: 0 1 240px; }
.ch-seg { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.ch-seg label { margin: 0; cursor: pointer; }
.ch-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch-seg span { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.5rem/1 var(--serif); color: var(--muted); border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.ch-seg label:hover span { color: var(--ink); }
.ch-seg input:checked + span { color: var(--ink); border-color: var(--ink); }
.ch-seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.ch-count { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; }
.ch-empty { padding: 2rem 0; border-top: 1px solid var(--line); }
.ch-rangelist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--line); }
.ch-rangelist a { display: grid; grid-template-columns: 80px 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.ch-rangelist strong { display: block; font: 400 1.35rem/1.2 var(--serif); color: var(--ink); margin-bottom: 0.2rem; }
.ch-rangelist img { mix-blend-mode: multiply; }
@media (max-width: 760px) { .ch-rangelist { grid-template-columns: 1fr; } }
.ch-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 1.75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ch-facts span { padding: 0.9rem 1.5rem 0.9rem 0; margin-right: 1.5rem; font: 400 1.3rem/1.2 var(--serif); color: var(--ink); border-right: 1px solid var(--line); }
.ch-facts span:last-child { border-right: 0; }

/* model page */
.ch-model-hero { padding-block: clamp(1.75rem, 1rem + 2vw, 2.5rem) clamp(3rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--line); }
.ch-model-hero__grid { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.ch-model-hero__img { background: var(--surface); aspect-ratio: 1403 / 900; display: grid; place-items: center; }
.ch-model-hero__img img { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.ch-model-hero__range { margin-bottom: 1rem; }
.ch-model-hero__range a { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 0.75rem; min-height: 32px; }
.ch-model-hero__range a::before { content: ''; width: 1.75rem; height: 1px; background: var(--blue); }
.ch-model-hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.75rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.ch-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 2rem; border-top: 1px solid var(--line); }
.ch-specs > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ch-specs > div:nth-child(odd) { padding-right: 1rem; }
.ch-specs dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.ch-specs dd { margin: 0; font: 400 1.65rem/1.15 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.ch-model-hero__cta { margin-bottom: 0.5rem; }
@media (max-width: 900px) { .ch-model-hero__grid { grid-template-columns: 1fr; } }
.ch-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--line); }
.ch-areas li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.ch-areas h3 { font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.4rem; }
.ch-areas p { margin: 0; font: 400 1.3rem/1.35 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.ch-areas__total p { font-size: 1.6rem; }
@media (max-width: 860px) { .ch-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; } }

/* concepts page */
.ch-subnav { position: sticky; top: 76px; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.ch-subnav .ch-wrap { display: flex; gap: 2rem; overflow-x: auto; }
.ch-subnav a { display: inline-flex; align-items: center; min-height: 52px; text-decoration: none; font: 400 1.15rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
@media (max-width: 1080px) { .ch-subnav { top: 64px; } }
.ch-concept { scroll-margin-top: 140px; }
.ch-concept__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ch-concept__imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.ch-concept__imgs img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* about */
.ch-mv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
.ch-mv > div { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.ch-mv .ch-h3 { margin-top: 0; }
@media (max-width: 860px) { .ch-mv { grid-template-columns: 1fr; } }
.ch-tags { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.ch-tags li { font: 400 1.15rem/1.6 var(--serif); color: var(--ink); }
.ch-tags li:not(:last-child)::after { content: '·'; margin-left: 1.25rem; color: var(--line); }
.ch-faq { max-width: 980px; }
.ch-faq__list { border-top: 1px solid var(--line); }
.ch-faq details { border-bottom: 1px solid var(--line); }
.ch-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; min-height: 44px; }
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after { content: '+'; font: 300 1.75rem/1 var(--sans); color: var(--ink); transition: transform 0.2s; }
.ch-faq details[open] summary::after { transform: rotate(45deg); }
.ch-faq summary h3 { font-size: 1.35rem; margin: 0; }
.ch-faq details > div { padding: 0 0 1.5rem; max-width: 70ch; color: var(--text); }
.ch-faq details ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }

/* where */
.ch-addr__street { font: 400 1.4rem/1.35 var(--serif); color: var(--ink); }

/* partner benefits */
.ch-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--line); max-width: 1080px; }
.ch-checklist li { padding: 1.1rem 0 1.1rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.ch-checklist li::before { content: ''; position: absolute; left: 0; top: 1.75rem; width: 1rem; height: 1px; background: var(--blue); }
@media (max-width: 760px) { .ch-checklist { grid-template-columns: 1fr; } }

/* forms */
.ch-formwrap { max-width: 780px; }
.ch-form { background: var(--surface); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-top: 2px solid var(--ink); }
.ch-field { display: grid; gap: 0.45rem; margin-bottom: 1.5rem; border: 0; padding: 0; min-width: 0; }
.ch-field > label, .ch-field > legend { font-weight: 500; color: var(--ink); font-size: 0.95rem; }
.ch-field legend { margin-bottom: 0.6rem; padding: 0; }
.ch-field input, .ch-field select, .ch-field textarea { width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 0; background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--ink); transition: border-color 0.2s; }
.ch-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.ch-filters .ch-field select { background-color: transparent; border-width: 0 0 1px; border-color: var(--ink); padding-left: 0; }
.ch-field input:focus, .ch-field select:focus, .ch-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ch-field input::placeholder { color: #8a8f94; }
.ch-field [aria-invalid='true'] { border-color: #a3262a; box-shadow: inset 0 0 0 1px #a3262a; }
.ch-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 620px) { .ch-grid2 { grid-template-columns: 1fr; } }
.ch-radios > div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ch-radios:not(.ch-radios--inline) > div { flex-direction: column; }
.ch-radios label { display: flex; cursor: pointer; }
.ch-radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ch-radios span { display: flex; align-items: center; min-height: 48px; padding: 0.6rem 1.1rem; border: 1px solid var(--line); background: #fff; width: 100%; transition: border-color 0.2s, background-color 0.2s; }
.ch-radios label:hover span { border-color: var(--ink); }
.ch-radios input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ch-radios input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.ch-check { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; margin: 0.5rem 0 1.5rem; font-size: 0.95rem; }
.ch-check input { width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--ink); }
.ch-formerr { padding: 0.9rem 1rem; border-left: 2px solid #a3262a; background: #f6e9e6; color: #6e1a1d; margin-bottom: 1.5rem; }
.ch-formerr ul { list-style: disc; padding-left: 1.2rem; margin-top: 0.4rem; }
.ch-formnav { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center; }
.ch-formnav #q-seguinte, .ch-formnav #q-enviar { margin-left: auto; }
.ch-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.25rem; margin-bottom: 1.5rem; }
.ch-steps li { counter-increment: step; padding: 0.6rem 0; border-top: 2px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.ch-steps li::before { content: counter(step, decimal-leading-zero) ' '; font-family: var(--serif); margin-right: 0.25rem; }
.ch-steps li[aria-current='step'] { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.ch-steps li.is-done { border-color: var(--navy); color: var(--navy); }
@media (max-width: 520px) { .ch-steps li { font-size: 0.8rem; } }
.ch-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ch-step__title { font: 400 1.75rem/1.15 var(--serif); color: var(--ink); margin-bottom: 1.5rem; padding: 0; }
.ch-chosen { padding: 0.9rem 1rem; border-left: 2px solid var(--blue); background: var(--paper); color: var(--ink); font-weight: 500; }
.ch-alt { margin-top: 1.5rem; }
.ch-confirm { background: var(--surface); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-top: 2px solid var(--ink); }
.ch-confirm .ch-h3 { margin-top: 0; }
.ch-summary { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr; gap: 0; margin: 1rem 0 1.5rem; border-top: 1px solid var(--line); }
.ch-summary dt, .ch-summary dd { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.ch-summary dt { color: var(--muted); }
.ch-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 520px) { .ch-summary { grid-template-columns: 1fr; } .ch-summary dt { border-bottom: 0; padding-bottom: 0; } }

/* blog */
.ch-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2.5rem; }
.ch-posts a { display: grid; gap: 1rem; text-decoration: none; color: var(--text); }
.ch-posts img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ch-posts__body { display: grid; gap: 0.5rem; }
.ch-posts h2 { font-size: 1.6rem; margin: 0; }
.ch-posts time { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ch-posts__body > span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .ch-posts { grid-template-columns: 1fr; } }
.ch-article { max-width: 760px; }
.ch-article__date { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ch-article__img { width: 100%; margin-bottom: 2.5rem; }
.ch-prose { font-size: 1.1rem; line-height: 1.75; }
.ch-prose h3 { font-size: 1.6rem; margin-top: 2.5rem; }
.ch-prose ul, .ch-prose ol { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2em; }
.ch-prose ol { list-style: decimal; }
.ch-prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 1px solid var(--blue); font: 400 1.35rem/1.45 var(--serif); color: var(--ink); }
.ch-filelist { display: grid; margin-bottom: 2rem; border-top: 1px solid var(--line); }
.ch-filelist li { border-bottom: 1px solid var(--line); }
.ch-filelist a { display: flex; align-items: center; min-height: 52px; }

/* footer */
.ch-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 0.95rem; }
.ch-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem 3rem; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.ch-footer__brand img { width: 128px; margin-bottom: 1.5rem; }
.ch-footer__brand p { max-width: 34ch; }
.ch-footer__legal { font-size: 0.85rem; }
.ch-footer__h { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 1.25rem; }
.ch-footer a { color: var(--on-dark); text-decoration-color: rgba(236, 232, 225, 0.3); }
.ch-footer a:hover { color: #fff; text-decoration-color: currentColor; }
.ch-footer__links { display: grid; gap: 0; }
.ch-footer__links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.ch-footer__links--legal { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(236, 232, 225, 0.15); }
@media (max-width: 960px) { .ch-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ch-footer__grid { grid-template-columns: 1fr; } }
.ch-funding { border-top: 1px solid rgba(236, 232, 225, 0.12); padding-block: 1.25rem; background: var(--ink); }
.ch-funding__row { display: flex; justify-content: flex-start; }
.ch-funding__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.ch-funding__logos img { height: 40px; width: auto; opacity: 0.85; }
.ch-funding__logos--page { background: var(--ink); padding: 1.25rem 1.5rem; }
.ch-funding__logos--page img { height: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
