/* Xyncema Wall — chalk white, hold blue, rope orange. Round everything, because the whole page is trying to
   be the friendly thing that talks you out of the expensive option. The winning row is the only loud one. */

[data-theme="climbing"] body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
.cw-wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.cw-muted { color: var(--muted); }
.cw-h1, .cw-h2, .cw-h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.025em; }
.cw-h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.4rem); }
.cw-h2 { font-size: clamp(1.5rem, 1.28rem + 1.3vw, 2.15rem); }
.cw-h3 { font-size: clamp(1.1rem, 1rem + 0.42vw, 1.32rem); }
.cw-h4 { font: 700 1rem/1.35 var(--font-body); margin: 0; }
.cw-h2 a, .cw-h3 a, .cw-h4 a { color: inherit; text-decoration: none; }
.cw-h2 a:hover, .cw-h3 a:hover, .cw-h4 a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.cw-eyebrow { display: inline-block; font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin: 0 0 0.85rem; }
.cw-lead { font-size: clamp(1rem, 0.96rem + 0.3vw, 1.1rem); line-height: 1.75; color: var(--muted); }

/* ---------- Header ---------- */
.cw-notice { background: var(--surface-2); color: var(--on-surface-2); font-size: 0.8125rem; line-height: 1.45; padding: 0.5rem 0; }
.cw-notice p { margin: 0; }
.cw-header { position: sticky; top: 0; z-index: 30; background: rgba(244, 244, 241, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.cw-header__row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.cw-logo { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; color: var(--text); margin-right: auto; }
.cw-logo svg { width: 1.5rem; height: 1.5rem; color: var(--secondary); align-self: center; }
.cw-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; line-height: 1; letter-spacing: -0.04em; }
.cw-logo small { font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.cw-nav { display: flex; gap: 1.3rem; }
.cw-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.cw-nav a:hover, .cw-nav a[aria-current="page"] { border-bottom-color: var(--primary); }
.cw-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 999px; width: 2.75rem; height: 2.75rem; padding: 0.6rem; color: var(--text); cursor: pointer; }
.cw-toggle svg { width: 100%; height: 100%; }
.cw-mobile { display: none; flex-direction: column; padding-bottom: 1rem; }
.cw-mobile a { padding: 0.85rem 0; border-top: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 500; }
.cw-mobile[data-open] { display: flex; }
@media (max-width: 1000px) { .cw-nav, .cw-header .cw-btn { display: none; } .cw-toggle { display: block; } }

/* ---------- Buttons ---------- */
.cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.4rem; border-radius: var(--radius-btn); border: 1.5px solid var(--primary); background: var(--primary); color: var(--on-primary); font: 600 0.9375rem/1 var(--font-body); text-decoration: none; cursor: pointer; }
.cw-btn:hover { background: var(--primary-ink); border-color: var(--primary-ink); }
.cw-btn--big { min-height: 3.2rem; width: 100%; }
.cw-btn--line { background: var(--surface); color: var(--primary); }
.cw-btn--line:hover { background: #E6EDF8; }
.cw-btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.65); }
.cw-btn--ghost:hover { background: rgba(255, 255, 255, 0.15); border-color: #FFFFFF; }
.cw-btn svg { width: 1.05rem; height: 1.05rem; }

/* ---------- Sections ---------- */
.cw-section { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); }
.cw-section--pale { background: var(--surface); }
.cw-section--deep { background: var(--surface-2); color: var(--on-surface-2); }
.cw-section--deep .cw-eyebrow { color: var(--primary-on-dark); }
.cw-section--deep :focus-visible { outline-color: var(--primary-on-dark); }
.cw-head { display: grid; gap: 0.7rem; margin-bottom: 1.9rem; max-width: 48rem; }

/* ---------- Hero ---------- */
.cw-hero { position: relative; overflow: hidden; display: grid; }
.cw-hero__media, .cw-hero__inner { grid-area: 1 / 1; }
.cw-hero__media { position: relative; min-height: min(60vh, 560px); }
.cw-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cw-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, 0.42) 0%, rgba(10, 18, 32, 0.6) 45%, rgba(10, 18, 32, 0.93) 100%); }
.cw-hero__inner { position: relative; z-index: 1; display: grid; align-content: end; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); color: #FFFFFF; }
.cw-hero .cw-eyebrow { color: #F2A47E; }
.cw-hero h1 { max-width: 18ch; }
.cw-hero__copy { max-width: 56ch; line-height: 1.75; margin: 1.1rem 0 1.6rem; color: #CFDAEA; }
.cw-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Pass shop ---------- */
.cw-grid2 { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.cw-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.15rem, 2.4vw, 1.8rem); }
.cw-form { display: grid; gap: 1.6rem; position: sticky; top: 6rem; }
.cw-set { border: 0; margin: 0; padding: 0; min-width: 0; min-inline-size: 0; }
.cw-set > legend { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); padding: 0; margin-bottom: 0.8rem; }
.cw-radios { display: grid; gap: 0.4rem; }
.cw-radios label { position: relative; display: block; }
.cw-radios input { position: absolute; opacity: 0; width: 0; height: 0; }
.cw-radios span { display: block; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); font-size: 0.9375rem; cursor: pointer; }
.cw-radios label:has(input:checked) span { border-color: var(--primary); background: #E9F0FA; font-weight: 600; }
.cw-radios label:has(input:focus-visible) span { outline: 2px solid var(--focus); outline-offset: 2px; }

.cw-empty { color: var(--muted); display: grid; gap: 1rem; }
.cw-empty p { margin: 0; line-height: 1.7; }
.cw-result { display: grid; gap: 1.2rem; }
.cw-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cw-opt { padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.cw-opt.is-best { border-color: var(--primary); border-width: 2px; background: #EAF1FB; }
.cw-opt__head { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; align-items: center; justify-content: space-between; }
.cw-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); }
.cw-opt__per { margin: 0.5rem 0 0.35rem; }
.cw-opt__per b { font-family: var(--font-heading); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.cw-opt__per span { color: var(--muted); }
.cw-opt__why { margin: 0; color: var(--muted); font-size: 0.89rem; line-height: 1.7; }
.cw-opt__why b { color: var(--text); }
.cw-verdict { margin: 0; padding: 1rem 1.15rem; border-radius: var(--radius); background: #FDEEE6; border-left: 3px solid var(--secondary); line-height: 1.75; }
.cw-flag { padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--bg); border-left: 3px solid var(--primary); }
.cw-flag p { margin: 0.45rem 0 0; font-size: 0.9rem; line-height: 1.75; color: var(--muted); }
.cw-spec { margin: 0; display: grid; gap: 0.4rem; }
.cw-spec > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; border-bottom: 1px dotted var(--border); padding-bottom: 0.4rem; }
.cw-spec dt { color: var(--muted); margin: 0; }
.cw-spec dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.cw-spec .is-total { border-bottom: 0; font-size: 1rem; }
.cw-spec .is-total dt, .cw-spec .is-total dd { color: var(--text); font-weight: 700; }
.cw-book { padding-top: 1.2rem; border-top: 1px solid var(--border); display: grid; gap: 0.9rem; }
.cw-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.cw-ok { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 1.1rem; font-weight: 700; color: var(--primary); }
.cw-ok svg { flex: none; width: 1.5rem; height: 1.5rem; padding: 0.25rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); }

/* ---------- Content blocks ---------- */
.cw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.cw-info { padding: 1.2rem 1.35rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cw-section--pale .cw-info { background: var(--bg); }
.cw-info p { margin: 0.45rem 0 0; color: var(--muted); line-height: 1.75; font-size: 0.9375rem; }
.cw-bignote { margin: 0; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); border-left: 3px solid var(--secondary); line-height: 1.85; max-width: 54rem; color: #D6DFEC; }
.cw-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 2rem; }
.cw-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.6rem; max-width: 52rem; }
.cw-list li { display: flex; gap: 0.6rem; line-height: 1.75; }
.cw-list li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; margin-top: 0.7rem; border-radius: 50%; background: var(--primary); }
.cw-list.is-no li::before { background: var(--secondary); }
.cw-faq { display: grid; gap: 0.5rem; max-width: 54rem; }
.cw-faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cw-section--pale .cw-faq details { background: var(--bg); }
.cw-faq summary { padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.cw-faq summary::-webkit-details-marker { display: none; }
.cw-faq summary::after { content: "+"; color: var(--primary); font-weight: 700; }
.cw-faq details[open] summary::after { content: "\2212"; }
.cw-faq p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); line-height: 1.8; }

/* ---------- Cards, table ---------- */
.cw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
.cw-pc { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cw-section--pale .cw-pc { background: var(--bg); }
.cw-pc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cw-pc__body { padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: 0.45rem; align-content: start; }
.cw-pc__body p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 0.9375rem; }
.cw-pc__price { font-weight: 700; color: var(--primary) !important; font-variant-numeric: tabular-nums; }
.cw-tablewrap { overflow-x: auto; padding-bottom: 0.4rem; }
.cw-table { width: 100%; min-width: 40rem; border-collapse: collapse; }
.cw-table th, .cw-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.cw-table thead th { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); font-variant-numeric: normal; }
.cw-table tbody th { font-weight: 700; white-space: nowrap; font-variant-numeric: normal; }
.cw-table td small { display: block; color: var(--secondary); font-size: 0.75rem; font-weight: 600; }
.cw-table td.is-best { background: #E9F0FA; font-weight: 700; }

/* ---------- Collection & detail ---------- */
.cw-pagehead { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.cw-dhead { padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2rem, 3.5vw, 3.25rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.cw-crumb { margin: 0 0 1.4rem; font-size: 0.85rem; color: var(--muted); }
.cw-crumb a { color: var(--muted); }
.cw-dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.cw-dgrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.cw-dprice { margin: 0.8rem 0 0; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.cw-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.cw-thumb { padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: none; cursor: pointer; }
.cw-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cw-thumb:hover img { opacity: 0.85; }

/* ---------- Footer ---------- */
.cw-footer { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(2.5rem, 4vw, 3.75rem) 2rem; }
.cw-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr)); gap: 2rem; }
.cw-footer .cw-logo { color: var(--on-surface-2); }
.cw-footer .cw-logo svg { color: #F2A47E; }
.cw-footer .cw-logo small { color: #93A3BA; }
.cw-footer__grid p { margin: 0.7rem 0 0; color: #B7C4D6; line-height: 1.65; font-size: 0.9375rem; max-width: 32ch; }
.cw-footer h3 { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-on-dark); margin: 0 0 0.9rem; }
.cw-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.cw-footer a { color: var(--on-surface-2); text-decoration: none; font-size: 0.9375rem; }
.cw-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cw-footer__note { margin: 2.5rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #93A3BA; font-size: 0.85rem; line-height: 1.65; }
.cw-footer .xy-attribution, .cw-footer .xy-attribution a { color: #93A3BA; }
.cw-footer :focus-visible { outline-color: var(--primary-on-dark); }

/* ---------- Narrow ---------- */
@media (max-width: 1000px) {
  .cw-grid2 { grid-template-columns: minmax(0, 1fr); }
  .cw-form { position: static; }
  .cw-dgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .cw-wrap { width: min(100% - 1.75rem, 76rem); } }
