/* ISO/IEC standards explorer. Scoped to the public standards section. */
.standards-page {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 68px) 88px;
}

.standards-page h1,
.standards-page h2,
.standards-page h3 { max-width: none; }
.standards-page h1 { line-height: 1.02; letter-spacing: -.055em; }
.standards-page p { line-height: 1.62; }
.standards-page [hidden] { display: none !important; }
.standards-page :is(a, button, input, summary):focus-visible {
  outline: 3px solid #f4a340;
  outline-offset: 4px;
}

.standards-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(295px, .62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 580px;
  padding: clamp(54px, 7vw, 108px) 0 76px;
}
.standards-hero-copy { max-width: 810px; }
.standards-hero h1 { max-width: 12ch; margin: 18px 0 25px; font-size: clamp(3.25rem, 6.5vw, 7rem); }
.standards-hero .lede { max-width: 670px; font-size: clamp(1.12rem, 1.6vw, 1.36rem); color: var(--muted); }
.standards-hero .hero-actions { margin-top: 28px; flex-wrap: wrap; }
.standards-hero-meta { margin: 24px 0 0; color: var(--muted); font-size: .83rem; font-weight: 700; }
.standards-new {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid #0b453f;
  color: #f8faf7;
  background: radial-gradient(circle at 80% 15%, rgba(103, 185, 157, .46), transparent 32%), linear-gradient(140deg, #143e3c, #0c2425 70%);
  box-shadow: 14px 14px 0 rgba(17, 99, 92, .13);
}
.standards-new::before {
  content: "";
  position: absolute;
  top: 46px;
  right: -32px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(225, 244, 240, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(225, 244, 240, .05), 0 0 0 70px rgba(225, 244, 240, .035);
}
.standards-new-label { position: relative; color: #bde7d9; font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.standards-new-number { position: relative; margin: 17px 0 6px; color: #e7ad5e; font-size: clamp(4.4rem, 7.1vw, 7.4rem); font-weight: 900; letter-spacing: -.08em; line-height: .9; }
.standards-new h2 { position: relative; margin: 4px 0; font-size: clamp(1.55rem, 2.4vw, 2.3rem); line-height: 1.12; }
.standards-new p { position: relative; color: #d9eae5; }
.standards-new a { position: relative; align-self: flex-start; margin-top: 12px; padding-bottom: 5px; border-bottom: 2px solid #e7ad5e; font-weight: 800; text-decoration: none; }
.standards-new a:hover { color: #e7ad5e; }

.standards-map-section,
.standards-explainer,
.standards-next,
.standard-work,
.standard-related { margin-top: 64px; }
.standards-section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.standards-section-heading h2 { max-width: 720px; margin: 5px 0 0; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.08; letter-spacing: -.04em; }
.standards-section-heading > p { max-width: 365px; margin: 0 0 5px; color: var(--muted); font-size: .92rem; }
.standards-controls { margin-bottom: 24px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.standards-controls label { display: block; margin-bottom: 9px; font-size: .86rem; font-weight: 800; }
.standards-controls input { width: 100%; max-width: 510px; padding: 13px 15px; border: 1px solid #9ab3ae; border-radius: 0; background: #f9fbfa; color: var(--ink); font: inherit; }
.lens-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lens-button { min-height: 39px; padding: 7px 12px; border: 1px solid #c9d9d4; background: #fff; color: #315a55; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.lens-button:is(:hover, .is-active) { border-color: #11635c; background: #11635c; color: #fff; }
.standards-results { margin: 14px 0 0; color: var(--muted); font-size: .79rem; }

.standard-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(255px, .84fr) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  position: relative;
  padding: clamp(18px, 2.5vw, 32px);
  border: 1px solid #c7d4ce;
  background: linear-gradient(rgba(249, 252, 248, .9), rgba(241, 247, 242, .93)), repeating-linear-gradient(90deg, transparent 0 39px, rgba(17, 99, 92, .07) 40px 41px);
}
.standard-map::before,
.standard-map::after { content: ""; position: absolute; top: 50%; width: clamp(12px, 2.4vw, 34px); border-top: 2px dashed #6b9b8e; }
.standard-map::before { left: calc(34% - 10px); }
.standard-map::after { right: calc(34% - 10px); }
.map-column { display: grid; gap: 18px; align-content: center; min-width: 0; }
.map-cluster { padding: 15px; border: 1px solid #d9ded4; background: rgba(255, 255, 255, .92); }
.map-cluster h3 { margin: 0 0 12px; color: #486c64; font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.map-cluster-nodes { display: grid; gap: 7px; }
.standard-node { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px; border: 1px solid #ccd8d2; border-left: 4px solid #4c9b88; background: #fff; box-shadow: 3px 3px 0 rgba(21, 26, 29, .035); text-decoration: none; transition: border-color .15s, transform .15s, background .15s, box-shadow .15s; }
.standard-node:hover { transform: translateY(-2px); border-color: #11635c; box-shadow: 5px 5px 0 rgba(17, 99, 92, .12); }
.standard-node.is-selected { border-color: #11635c; background: #e7f3ee; box-shadow: 5px 5px 0 rgba(17, 99, 92, .15); }
.node-designation { color: #0a645c; font-size: .77rem; font-weight: 900; letter-spacing: .02em; overflow-wrap: anywhere; }
.standard-node strong { font-size: .93rem; line-height: 1.25; }
.node-kind { color: #66736d; font-size: .73rem; }
.map-core { position: relative; min-width: 0; padding: 23px; border: 1px solid #0b453f; background: #163c39; color: #eef8f3; box-shadow: 9px 9px 0 rgba(17, 99, 92, .16); }
.map-core::before,
.map-core::after { content: ""; position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: #edb05e; }
.map-core::before { left: -6px; }
.map-core::after { right: -6px; }
.map-core-label { margin: 0 0 17px; color: #aee0d2; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.standard-node-core { border-left-color: #e7ad5e; border-color: #e7ad5e; background: #f5f3e8; }
.standard-node-core .node-designation { color: #134b45; font-size: .94rem; }
.standard-node-core strong { color: #142926; font-size: 1.35rem; }
.core-clauses,
.core-annex { margin-top: 16px; padding: 14px 0 0; border-top: 1px solid rgba(236, 248, 241, .27); }
.core-clauses span,
.core-annex span { color: #e7ad5e; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.core-clauses p,
.core-annex p { margin: 5px 0 0; color: #deeee8; font-size: .81rem; line-height: 1.45; }
.standards-empty,
.standards-noscript { padding: 14px 20px; border: 1px solid var(--line); background: #fff; }

.standards-preview { scroll-margin-top: 36px; margin-top: 26px; padding: clamp(25px, 4vw, 46px); border: 1px solid #11635c; background: #fff; box-shadow: 10px 10px 0 rgba(17, 99, 92, .1); }
.standards-preview h2 { max-width: 900px; margin: 6px 0 16px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.13; letter-spacing: -.035em; }
.standards-preview-lead { max-width: 900px; margin: 0; color: #3d514b; font-size: 1.08rem; }
.standards-preview-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.standards-preview-facts > div { padding-top: 17px; border-top: 2px solid #c8ddd4; }
.standards-preview-facts span { color: #11635c; font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.standards-preview-facts p { margin: 8px 0 0; }
.edition-note { margin: 27px 0; padding: 13px 16px; border-left: 4px solid #d39a47; background: #fbf2e4; font-size: .86rem; }
.standards-preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.standards-preview-actions .text-link { color: #11635c; font-weight: 800; }

.standards-explainer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.standards-explainer-grid article { padding: clamp(20px, 2.8vw, 34px); border: 1px solid var(--line); background: #fff; }
.standards-explainer-grid span { color: #11635c; font-size: .78rem; font-weight: 900; letter-spacing: .09em; }
.standards-explainer-grid h3 { margin: 16px 0 12px; font-size: 1.42rem; }
.standards-explainer-grid p { color: var(--muted); }
.standards-boundary { display: grid; grid-template-columns: 145px 1fr; gap: 28px; margin-top: 20px; padding: 20px 24px; border: 1px solid #e0d1b5; background: #f8f1e3; }
.standards-boundary strong { color: #69512e; }
.standards-boundary p { margin: 0; }
.standards-next { padding: clamp(28px, 4vw, 52px); border: 1px solid #d6dfd5; background: #e7efe6; }
.standards-next h2 { max-width: 850px; margin: 8px 0; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.04em; }
.standards-next p:last-child { max-width: 820px; }

.standards-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 33px; color: #596a63; font-size: .84rem; font-weight: 700; }
.standards-breadcrumb a:hover { color: #11635c; }
.standard-detail-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr); align-items: center; gap: clamp(25px, 5vw, 75px); padding: clamp(58px, 7vw, 90px) 0 74px; }
.standard-detail-hero h1 { max-width: 900px; margin: 15px 0 24px; font-size: clamp(3rem, 5.2vw, 6.2rem); overflow-wrap: anywhere; }
.standard-detail-hero h1 span { display: block; margin-top: 10px; color: #11635c; font-size: .48em; letter-spacing: -.035em; line-height: 1.15; }
.standard-detail-hero .lede { max-width: 850px; color: #44544e; font-size: clamp(1.12rem, 1.55vw, 1.35rem); }
.standard-detail-hero .hero-actions { flex-wrap: wrap; margin-top: 26px; }
.standard-detail-facts { align-self: stretch; padding: 25px; border: 1px solid #b7d4c8; background: #edf4ef; }
.standard-detail-facts h2 { margin: 0 0 18px; font-size: 1.25rem; }
.standard-detail-facts dl { margin: 0; }
.standard-detail-facts dl > div { padding: 16px 0; border-top: 1px solid #c8d9cf; }
.standard-detail-facts dt { color: #11635c; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.standard-detail-facts dd { margin: 5px 0 0; font-size: .93rem; line-height: 1.5; }
.standard-story { display: grid; grid-template-columns: minmax(220px, .55fr) 1fr; gap: 35px; padding: clamp(27px, 4vw, 48px); border-top: 5px solid #11635c; background: #fff; }
.standard-story h2 { margin: 4px 0 0; font-size: clamp(1.9rem, 2.5vw, 2.6rem); }
.standard-story > p { max-width: 800px; margin: 0; font-size: 1.1rem; }
.standard-parts { margin-top: 64px; }
.standard-parts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; }
.standard-parts-grid article { padding: 23px; border: 1px solid #c9dbd2; background: #fff; }
.standard-parts-grid article span { color: #11635c; font-size: .76rem; font-weight: 900; }
.standard-parts-grid h3 { margin: 9px 0; font-size: 1.22rem; }
.standard-parts-grid p { margin-bottom: 15px; color: var(--muted); }
.standard-parts-grid a { color: #11635c; font-size: .86rem; font-weight: 800; }
.standard-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.standard-work-grid > div { padding: clamp(24px, 3vw, 38px); border: 1px solid #d6ded6; background: #fff; }
.standard-work-grid h3 { margin: 0 0 20px; font-size: 1.4rem; }
.standard-work-grid ol,
.standard-work-grid ul { margin: 0; padding-left: 1.3em; }
.standard-work-grid li { margin: 0 0 17px; padding-left: .3em; line-height: 1.55; }
.standard-work-grid li::marker { color: #11635c; font-weight: 900; }
.standard-scenario { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr); gap: 25px; margin-top: 22px; padding: clamp(25px, 4vw, 46px); background: #143e3b; color: #f3f9f6; }
.standard-scenario .eyebrow { color: #b7e8d7; }
.standard-scenario h2 { margin: 7px 0 16px; font-size: clamp(1.8rem, 2.6vw, 2.9rem); }
.standard-scenario p { color: #e0ede8; }
.standard-caution { padding: 24px; border: 1px solid rgba(220, 241, 231, .34); background: rgba(255, 255, 255, .07); }
.standard-caution h3 { margin: 0 0 13px; color: #f0bd73; }
.standard-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; padding: clamp(25px, 4vw, 45px); border: 1px solid #d0d9d0; background: #fff; }
.standard-sources h2 { margin: 7px 0; font-size: clamp(1.8rem, 2.6vw, 2.9rem); }
.standard-sources p { max-width: 590px; color: var(--muted); }
.standard-sources ul { align-self: center; margin: 0; padding-left: 1.2em; }
.standard-sources li { margin: 0 0 13px; line-height: 1.45; }
.standard-sources a { color: #11635c; font-weight: 800; overflow-wrap: anywhere; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-standard { display: grid; grid-template-columns: 1fr auto; gap: 6px; min-height: 120px; padding: 20px; border: 1px solid #cbd9cf; background: #fff; text-decoration: none; }
.related-standard:hover { border-color: #11635c; background: #eaf4ed; }
.related-standard span:first-child { grid-column: 1; color: #11635c; font-size: .78rem; font-weight: 900; }
.related-standard strong { grid-column: 1; line-height: 1.25; }
.related-standard span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #11635c; font-size: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1150px) {
  .standard-map { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .standard-map::before,
  .standard-map::after,
  .map-core::before,
  .map-core::after { display: none; }
  .map-core { grid-column: 1 / -1; grid-row: 1; }
  .map-column-left { grid-column: 1; }
  .map-column-right { grid-column: 2; }
  .standards-hero { grid-template-columns: 1.2fr .8fr; }
}
@media (max-width: 760px) {
  .standards-page { padding-bottom: 50px; }
  .standards-hero { grid-template-columns: 1fr; min-height: 0; padding: 47px 0 45px; }
  .standards-hero h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .standards-new { min-height: 350px; }
  .standards-section-heading { display: block; }
  .standards-section-heading > p { margin-top: 15px; }
  .standard-map { grid-template-columns: 1fr; }
  .map-core,
  .map-column-left,
  .map-column-right { grid-column: 1; }
  .map-core { grid-row: 1; }
  .map-column-left { grid-row: 2; }
  .map-column-right { grid-row: 3; }
  .standards-preview-facts,
  .standards-explainer-grid,
  .standard-detail-hero,
  .standard-story,
  .standard-work-grid,
  .standard-scenario,
  .standard-sources,
  .related-grid { grid-template-columns: 1fr; }
  .standard-detail-hero { padding: 44px 0 42px; }
  .standard-detail-hero h1 { font-size: clamp(2.85rem, 12vw, 4.4rem); }
  .standards-boundary { grid-template-columns: 1fr; gap: 7px; }
  .standards-sources { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .standard-node { transition: none; }
  .standard-node:hover { transform: none; }
}
