/* Curtain Wall application page: joint-function decision system. */
.curtain-wall-page {
  --cw-ink: #102329;
  --cw-teal: #00485a;
  --cw-deep: #052f3a;
  --cw-slate: #52676d;
  --cw-line: #cdd8dc;
  --cw-ice: #edf3f5;
  --cw-cyan: #d7e9ed;
  --cw-orange: #f05a24;
  color: var(--cw-ink);
}

.curtain-wall-page .eyebrow {
  margin-bottom: 12px;
}

.cw-section {
  padding: clamp(70px, 8vw, 108px) 0;
}

.cw-section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.cw-section-heading h2,
.cw-joint-design h2,
.cw-documents h2,
.cw-final-cta h2 {
  margin: 0;
  color: var(--cw-ink);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cw-section-heading > p:last-child,
.cw-section-heading-split > p,
.cw-documents-grid > div:first-child > p:last-child {
  max-width: 67ch;
  margin: 18px 0 0;
  color: var(--cw-slate);
  font-size: 17px;
  line-height: 1.72;
  text-wrap: pretty;
}

.cw-section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.58fr);
  gap: 56px;
  align-items: end;
}

.cw-section-heading-split > p {
  margin: 0;
}

.cw-inline-link {
  color: var(--cw-teal);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.cw-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cw-deep);
  color: #fff;
}

.cw-hero::before,
.cw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cw-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 27, 34, 0.98) 0%, rgba(2, 38, 47, 0.91) 46%, rgba(2, 45, 56, 0.48) 78%, rgba(2, 45, 56, 0.28) 100%);
}

.cw-hero::after {
  z-index: 1;
  opacity: 0.24;
  background-image:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 255, 255, 0.22) 50%, transparent 50.15%),
    linear-gradient(0deg, transparent 49.85%, rgba(255, 255, 255, 0.18) 50%, transparent 50.15%);
  background-size: 170px 100%, 100% 170px;
}

.cw-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cw-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  gap: clamp(42px, 7vw, 94px);
  align-items: end;
  padding: 82px 0 78px;
}

.cw-hero-copy {
  max-width: 780px;
}

.cw-hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(52px, 6.2vw, 82px);
  font-weight: 700;
  line-height: 0.91;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.cw-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e2ecee;
  font-size: 17px;
  line-height: 1.68;
  text-wrap: pretty;
}

.cw-hero-copy .button-row {
  margin-top: 30px;
}

.cw-hero-copy .btn:not(.btn-fill) {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.cw-hero-decision {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(3, 32, 39, 0.74);
  backdrop-filter: blur(12px);
}

.cw-hero-decision > span {
  display: block;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #f6b542;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-hero-decision > strong {
  display: block;
  padding: 22px 20px 18px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 31px;
  line-height: 1;
}

.cw-hero-decision > div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cw-hero-decision b {
  font-size: 15px;
}

.cw-hero-decision small {
  color: #bdced2;
  font-size: 13px;
}

.cw-product-section {
  background: #f4f7f8;
}

.cw-product-card {
  display: grid;
  grid-template-columns: minmax(270px, 0.58fr) minmax(0, 1.42fr);
  overflow: hidden;
  border: 1px solid var(--cw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(11, 46, 55, 0.09);
}

.cw-product-card + .cw-product-card {
  margin-top: 32px;
}

.cw-product-card-structural .cw-product-packshot {
  background:
    radial-gradient(circle at 50% 42%, rgba(58, 137, 83, 0.56) 0%, rgba(12, 73, 48, 0.18) 42%, transparent 72%),
    #073f2d;
}

.cw-product-packshot {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 38px;
  border-right: 1px solid var(--cw-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 55%),
    radial-gradient(circle at 50% 38%, #fff 0%, #dfebee 78%);
}

.cw-product-packshot img {
  width: auto;
  max-width: 200px;
  height: 430px;
  object-fit: contain;
}

.cw-product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.cw-product-role {
  color: #b83e14;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cw-product-content h3 {
  max-width: 690px;
  margin: 12px 0 16px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cw-product-content > p {
  max-width: 72ch;
  margin: 0;
  color: var(--cw-slate);
  font-size: 16px;
  line-height: 1.68;
}

.cw-evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--cw-line);
  border-bottom: 1px solid var(--cw-line);
}

.cw-evidence-strip > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px 18px 20px;
}

.cw-evidence-strip > div:first-child {
  padding-left: 0;
}

.cw-evidence-strip > div + div {
  border-left: 1px solid var(--cw-line);
}

.cw-evidence-strip strong {
  color: var(--cw-teal);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.cw-evidence-strip span {
  color: #5b686d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cw-product-content .cw-evidence-note {
  margin-top: 15px;
  color: #68767c;
  font-size: 13px;
  line-height: 1.55;
}

.cw-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
  align-items: center;
  margin-top: 27px;
}

.cw-product-actions .btn {
  min-height: 44px;
}

.cw-scenes {
  background: #fff;
}

.cw-scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 16px;
  min-height: 570px;
}

.cw-scene {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--cw-deep);
}

.cw-scene-primary {
  grid-row: 1 / span 2;
}

.cw-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 25, 32, 0.02) 30%, rgba(0, 25, 32, 0.92) 100%);
}

.cw-scene img {
  position: absolute;
  inset: 0;
  transition: transform 0.45s ease;
}

.cw-scene:hover img {
  transform: scale(1.025);
}

.cw-scene figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 58px 24px 24px;
  color: #fff;
}

.cw-scene h3 {
  margin: 0 0 7px;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
}

.cw-scene p {
  max-width: 60ch;
  margin: 0;
  color: #e5edef;
  font-size: 14px;
  line-height: 1.5;
}

.cw-use-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid var(--cw-line);
  list-style: none;
}

.cw-use-list li {
  display: flex;
  gap: 10px;
  color: var(--cw-slate);
  font-size: 14px;
  line-height: 1.5;
}

.cw-use-list li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 0.52em;
  background: var(--cw-orange);
}

.cw-joint-id {
  background: var(--cw-deep);
  color: #fff;
}

.cw-joint-id .cw-section-heading h2,
.cw-joint-id .cw-section-heading > p,
.cw-joint-id .eyebrow {
  color: #fff;
}

.cw-joint-id .cw-section-heading > p {
  color: #cbdcdf;
}

.cw-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(203, 220, 223, 0.36);
  border-radius: 10px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.cw-table-hint {
  display: none;
  margin: -12px 0 12px;
  color: #d6e4e7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}

.cw-evidence .cw-table-hint {
  color: #65767b;
}

.cw-decision-table,
.cw-evidence-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--cw-ink);
}

.cw-decision-table th,
.cw-decision-table td,
.cw-evidence-table th,
.cw-evidence-table td {
  padding: 19px 22px;
  border-bottom: 1px solid var(--cw-line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
}

.cw-decision-table th,
.cw-evidence-table th {
  background: #e7eff1;
  color: #33494f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cw-decision-table tr:last-child td,
.cw-evidence-table tr:last-child td {
  border-bottom: 0;
}

.cw-decision-table th:first-child,
.cw-decision-table td:first-child {
  width: 37%;
  font-weight: 800;
}

.cw-decision-table th:nth-child(2),
.cw-decision-table td:nth-child(2) {
  width: 34%;
}

.cw-status {
  display: inline-flex;
  padding: 6px 9px;
  border-left: 3px solid;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.cw-status-review {
  border-color: #3a8273;
  background: #e8f3f0;
  color: #245f54;
}

.cw-status-special {
  border-color: #b16d18;
  background: #fff2dd;
  color: #7d4d12;
}

.cw-status-out {
  border-color: #b74738;
  background: #f9e9e7;
  color: #8a3024;
}

.cw-selection {
  background: var(--cw-ice);
}

.cw-selection-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #aebdc1;
  list-style: none;
}

.cw-selection-steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 30px 26px 30px 0;
  border-bottom: 1px solid #aebdc1;
}

.cw-selection-steps li:nth-child(even) {
  padding-right: 0;
  padding-left: 26px;
  border-left: 1px solid #aebdc1;
}

.cw-selection-steps > li > span {
  color: var(--cw-orange);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.cw-selection-steps h3 {
  margin: 0 0 8px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.cw-selection-steps p {
  margin: 0;
  color: var(--cw-slate);
  font-size: 15px;
  line-height: 1.62;
}

.cw-evidence {
  background: #fff;
}

.cw-evidence-table th:first-child,
.cw-evidence-table td:first-child {
  width: 24%;
  font-weight: 800;
}

.cw-evidence-table th:nth-child(2),
.cw-evidence-table td:nth-child(2) {
  width: 40%;
}

.cw-evidence-table td:nth-child(2) {
  color: var(--cw-teal);
  font-weight: 750;
}

.cw-source-line {
  margin: 16px 0 0;
  color: #6a777c;
  font-size: 13px;
  line-height: 1.55;
}

.cw-coverage {
  background: var(--cw-ice);
}

.cw-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cw-coverage-card {
  min-width: 0;
  padding: 32px 28px;
  border-top: 6px solid;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 35, 41, 0.06);
}

.cw-coverage-supported { border-color: #3e776a; }
.cw-coverage-verify { border-color: #c27d24; }
.cw-coverage-outside { border-color: #a84a40; }

.cw-coverage-card > span {
  color: var(--cw-slate);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cw-coverage-card h3 {
  margin: 10px 0 18px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
}

.cw-coverage-card ul,
.cw-final-cta aside ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-coverage-card li,
.cw-final-cta aside li {
  display: flex;
  gap: 10px;
  color: var(--cw-slate);
  font-size: 14px;
  line-height: 1.45;
}

.cw-coverage-card li::before,
.cw-final-cta aside li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  background: currentColor;
}

.cw-comparison {
  background: #fff;
}

.cw-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(4, auto);
  border: 1px solid var(--cw-line);
}

.cw-comparison-grid > article {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  padding: clamp(32px, 5vw, 54px);
  background: #f3f8f8;
}

.cw-comparison-grid > article + article {
  border-left: 1px solid var(--cw-line);
}

.cw-comparison-grid > article > header > span {
  color: var(--cw-teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cw-comparison-grid h3 {
  max-width: 500px;
  margin: 14px 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1;
  text-wrap: balance;
}

.cw-comparison-grid dl {
  display: grid;
  grid-row: 2 / -1;
  grid-template-rows: subgrid;
  padding-top: 28px;
}

.cw-comparison-grid dl,
.cw-comparison-grid dl div {
  margin: 0;
}

.cw-comparison-grid dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 0.6fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--cw-line);
}

.cw-comparison-grid dt {
  color: #64757a;
  font-size: 13px;
  font-weight: 750;
}

.cw-comparison-grid dd {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.cw-comparison-grid .cw-comparison-structural {
  background: #16292f;
  color: #fff;
}

.cw-comparison-structural > header > span,
.cw-comparison-structural dt {
  color: #d9a13e !important;
}

.cw-comparison-structural dl div {
  border-color: rgba(255, 255, 255, 0.18);
}

.cw-comparison-structural a {
  color: #fff;
  text-underline-offset: 3px;
}

.cw-joint-design {
  background: #dfeaed;
}

.cw-joint-design-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 84px);
  align-items: center;
}

.cw-joint-design-grid > div > p:not(.eyebrow) {
  color: #53666c;
  font-size: 16px;
  line-height: 1.7;
}

.cw-joint-design-grid figure {
  margin: 0;
}

.cw-joint-design-grid figure img {
  width: 100%;
  height: auto;
  border: 1px solid #b9c8cc;
  background: #f7fafb;
}

.cw-joint-design-grid figcaption {
  margin-top: 9px;
  color: #66777c;
  font-size: 12px;
}

.cw-review {
  background: #fff;
}

.cw-review-board {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--cw-line);
}

.cw-review-inputs {
  padding: clamp(30px, 5vw, 48px);
  background: var(--cw-deep);
  color: #fff;
}

.cw-review-inputs h3,
.cw-review-outcomes h3 {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
}

.cw-review-inputs ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.cw-review-inputs li {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #d9e7e9;
  font-size: 13px;
  line-height: 1.4;
}

.cw-review-outcomes {
  display: grid;
}

.cw-review-outcomes article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 30px clamp(28px, 5vw, 48px);
}

.cw-review-outcomes article + article {
  border-top: 1px solid var(--cw-line);
}

.cw-review-outcomes article > span {
  color: var(--cw-orange);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
}

.cw-review-outcomes p {
  margin: 9px 0 0;
  color: var(--cw-slate);
  font-size: 14px;
  line-height: 1.6;
}

.cw-mistakes {
  background: #f3f6f7;
}

.cw-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--cw-line);
  border-left: 1px solid var(--cw-line);
}

.cw-mistakes-grid article {
  min-height: 180px;
  padding: 28px 26px;
  border-right: 1px solid var(--cw-line);
  border-bottom: 1px solid var(--cw-line);
  background: #fff;
}

.cw-mistakes-grid strong {
  display: block;
  color: var(--cw-teal);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 25px;
  line-height: 1.05;
}

.cw-mistakes-grid p {
  margin: 14px 0 0;
  color: var(--cw-slate);
  font-size: 14px;
  line-height: 1.6;
}

.cw-faq {
  background: #fff;
}

.cw-faq > .section-inner > h2 {
  max-width: 760px;
  margin: 0 0 28px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 0.98;
}

.cw-faq .accordion {
  max-width: 940px;
}

.cw-faq .accordion details {
  padding: 21px 0;
}

.cw-faq .accordion p {
  max-width: 830px;
  margin: 14px 0 0;
  color: var(--cw-slate);
  font-size: 15px;
  line-height: 1.65;
}

.cw-documents {
  background: var(--cw-deep);
  color: #fff;
}

.cw-documents-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 8vw, 92px);
}

.cw-documents h2 {
  color: #fff;
}

.cw-documents-grid > div:first-child > p:last-child {
  color: #c5d7da;
}

.cw-document-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.cw-document-list a {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.cw-document-list a > span {
  display: grid;
  gap: 5px;
}

.cw-document-list b {
  font-size: 16px;
}

.cw-document-list small {
  color: #b9cbce;
  font-size: 12px;
}

.cw-document-list strong {
  color: #f5b246;
  font-size: 13px;
  white-space: nowrap;
}

.cw-related-insight {
  background: #fff;
}

.cw-related-insight .cw-section-heading-split {
  align-items: center;
}

.cw-insight-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--cw-line);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cw-insight-card:hover,
.cw-insight-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(9, 43, 51, 0.11);
}

.cw-insight-card > img {
  min-height: 310px;
}

.cw-insight-card > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 54px);
}

.cw-insight-card small {
  color: var(--cw-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cw-insight-card strong {
  max-width: 570px;
  margin-top: 10px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(31px, 3.6vw, 46px);
  line-height: 1;
  text-wrap: balance;
}

.cw-insight-card p {
  max-width: 62ch;
  margin: 15px 0 20px;
  color: var(--cw-slate);
  font-size: 15px;
  line-height: 1.65;
}

.cw-insight-card b {
  color: var(--cw-teal);
  font-size: 14px;
}

.cw-related-applications {
  background: var(--cw-ice);
}

.cw-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cw-related-grid a {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 9px;
  color: #fff;
}

.cw-related-grid a:focus-visible {
  outline: 3px solid var(--cw-orange);
  outline-offset: 4px;
}

.cw-related-grid a > img {
  display: block;
  width: 100%;
  aspect-ratio: 92 / 100;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cw-related-grid a:hover > img,
.cw-related-grid a:focus-visible > img {
  transform: scale(1.025);
}

.cw-related-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  padding: 22px 24px;
  background: rgba(7, 12, 14, 0.72);
  color: #fff;
}

.cw-related-overlay > span {
  min-width: 0;
}

.cw-related-overlay strong,
.cw-related-overlay small {
  display: block;
  color: #fff;
}

.cw-related-overlay strong {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
}

.cw-related-overlay small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.35;
}

.cw-related-overlay > b {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  font-size: 29px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.cw-related-grid a:hover .cw-related-overlay > b,
.cw-related-grid a:focus-visible .cw-related-overlay > b {
  transform: translateX(3px);
}

.cw-final-cta {
  padding: clamp(72px, 8vw, 105px) 0;
  background: #172a30;
  color: #fff;
}

.cw-final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: clamp(46px, 8vw, 96px);
  align-items: center;
}

.cw-final-cta h2 {
  max-width: 760px;
  color: #fff;
}

.cw-final-cta-grid > div > p:not(.eyebrow) {
  max-width: 72ch;
  margin: 20px 0 0;
  color: #c9d9dc;
  font-size: 16px;
  line-height: 1.68;
}

.cw-final-cta .button-row {
  align-items: center;
  margin-top: 28px;
}

.cw-final-cta .btn:not(.btn-fill) {
  border-color: #fff;
  color: #fff;
}

.cw-final-cta .cw-inline-link {
  color: #f4b344;
}

.cw-final-cta aside {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cw-final-cta aside > strong {
  display: block;
  margin-bottom: 19px;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.cw-final-cta aside li {
  color: #d7e4e6;
}

@media (max-width: 1024px) {
  .cw-hero {
    min-height: 600px;
  }

  .cw-hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 40px;
  }

  .cw-hero-copy h1 {
    font-size: clamp(52px, 7.4vw, 72px);
  }

  .cw-product-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .cw-product-packshot {
    min-height: 500px;
    padding: 28px;
  }

  .cw-evidence-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-evidence-strip > div:nth-child(3) {
    border-left: 0;
  }

  .cw-evidence-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--cw-line);
  }

  .cw-coverage-grid,
  .cw-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cw-mistakes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .cw-section-heading-split,
  .cw-product-card,
  .cw-joint-design-grid,
  .cw-review-board,
  .cw-documents-grid,
  .cw-insight-card,
  .cw-final-cta-grid {
    grid-template-columns: 1fr;
  }

  .cw-section-heading-split {
    gap: 22px;
  }

  .cw-hero {
    min-height: auto;
  }

  .cw-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 72px 0;
  }

  .cw-hero-decision {
    max-width: 520px;
  }

  .cw-product-packshot {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid var(--cw-line);
  }

  .cw-product-packshot img {
    height: 330px;
  }

  .cw-scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(380px, 1.2fr) minmax(250px, 0.8fr);
    min-height: 0;
  }

  .cw-scene-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .cw-use-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-coverage-grid,
  .cw-related-grid {
    grid-template-columns: 1fr;
  }

  .cw-related-grid a {
    display: block;
  }

  .cw-related-grid a > img {
    aspect-ratio: 16 / 10;
  }

  .cw-review-inputs ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cw-insight-card > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .cw-section {
    padding: 62px 0;
  }

  .cw-section-heading {
    margin-bottom: 28px;
  }

  .cw-section-heading h2,
  .cw-joint-design h2,
  .cw-documents h2,
  .cw-final-cta h2,
  .cw-faq > .section-inner > h2 {
    font-size: 38px;
  }

  .cw-section-heading > p:last-child,
  .cw-section-heading-split > p,
  .cw-documents-grid > div:first-child > p:last-child {
    font-size: 16px;
  }

  .cw-hero::before {
    background: linear-gradient(180deg, rgba(2, 27, 34, 0.93) 0%, rgba(2, 35, 44, 0.94) 72%, rgba(2, 35, 44, 0.98) 100%);
  }

  .cw-hero::after {
    background-size: 120px 100%, 100% 120px;
  }

  .cw-hero-image {
    object-position: 64% center;
  }

  .cw-hero-grid {
    gap: 32px;
    padding: 58px 0 54px;
  }

  .cw-hero-copy h1 {
    font-size: 49px;
  }

  .cw-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .cw-hero-copy .button-row,
  .cw-final-cta .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cw-hero-copy .btn,
  .cw-final-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .cw-product-card {
    border-radius: 10px;
  }

  .cw-product-content {
    padding: 30px 24px 34px;
  }

  .cw-product-content h3 {
    font-size: 34px;
  }

  .cw-evidence-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-evidence-strip > div {
    padding: 15px 12px;
  }

  .cw-evidence-strip > div:first-child,
  .cw-evidence-strip > div:nth-child(3) {
    padding-left: 0;
  }

  .cw-evidence-strip strong {
    font-size: 27px;
  }

  .cw-product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cw-product-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cw-scene-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .cw-scene-primary {
    grid-column: auto;
  }

  .cw-scene {
    min-height: 285px;
  }

  .cw-use-list,
  .cw-selection-steps,
  .cw-mistakes-grid,
  .cw-review-inputs ul {
    grid-template-columns: 1fr;
  }

  .cw-selection-steps li,
  .cw-selection-steps li:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }

  .cw-decision-table,
  .cw-evidence-table {
    min-width: 720px;
  }

  .cw-table-hint {
    display: block;
  }

  .cw-decision-table th,
  .cw-decision-table td,
  .cw-evidence-table th,
  .cw-evidence-table td {
    padding: 15px 16px;
    font-size: 14px;
  }

  .cw-comparison-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .cw-comparison-grid > article {
    display: block;
    grid-row: auto;
    grid-template-rows: none;
  }

  .cw-comparison-grid > article + article {
    border-top: 1px solid var(--cw-line);
    border-left: 0;
  }

  .cw-comparison-grid dl {
    display: block;
    grid-row: auto;
    grid-template-rows: none;
  }

  .cw-comparison-grid dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cw-joint-design-grid,
  .cw-documents-grid,
  .cw-final-cta-grid {
    gap: 34px;
  }

  .cw-review-outcomes article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 22px;
  }

  .cw-mistakes-grid article {
    min-height: 0;
  }

  .cw-document-list a {
    align-items: flex-start;
  }

  .cw-document-list strong {
    white-space: normal;
    text-align: right;
  }

  .cw-related-grid a {
    display: block;
  }

  .cw-related-overlay {
    min-height: 104px;
    padding: 18px 20px;
  }

  .cw-final-cta aside {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-scene img,
  .cw-related-grid img,
  .cw-related-grid a,
  .cw-insight-card {
    transition: none;
  }
}
