.matrix-hero { padding: clamp(46px, 7vw, 82px) 0; background: linear-gradient(145deg, #fff 0%, #fafaf9 68%, #fff7ed 100%); border-bottom: 1px solid #e7e5e4; }
.matrix-hero .container { max-width: 1180px; }
.matrix-series-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 5vw, 60px); }
.matrix-hero-figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e7e5e4; border-radius: 20px; background: #fff; box-shadow: 0 15px 35px rgba(28,25,23,.08); }
.matrix-hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.matrix-hero-figure figcaption { padding: 10px 15px; color: #78716c; font-size: 11px; line-height: 1.5; }
.matrix-breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; color: #78716c; font-size: 12px; }
.matrix-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.matrix-kicker { display: inline-block; color: #c2410c; font: 750 11px/1.45 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.matrix-hero h1 { max-width: 850px; margin: 14px 0 18px; color: #1c1917; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.matrix-lead { max-width: 760px; margin: 0; color: #57534e; font-size: clamp(16px, 2vw, 19px); line-height: 1.7; }
.matrix-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.matrix-secondary { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid #d6d3d1; border-radius: 12px; background: #fff; color: #44403c; font-size: 14px; font-weight: 750; }
.matrix-secondary:hover { background: #f5f5f4; }
.matrix-content { padding-top: 42px; padding-bottom: 80px; }
.matrix-explore-section { margin: 52px 0; }
.matrix-explore-more { margin: 16px 0 0; color: #9a3412; font-size: 13px; font-weight: 750; }
.matrix-explore-more a { text-decoration: underline; text-underline-offset: 3px; }
.matrix-disclaimer { padding: 17px 20px; border: 1px solid #fed7aa; border-radius: 14px; background: #fff7ed; color: #7c2d12; font-size: 14px; line-height: 1.7; }
.matrix-series-scope { margin: 20px 0 0; padding: 16px 20px; border: 1px solid #fed7aa; border-radius: 14px; background: #fff7ed; color: #7c2d12; font-size: 13px; line-height: 1.7; }
.matrix-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.matrix-breadth-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.matrix-related > p { max-width: 780px; margin: 0; color: #57534e; font-size: 15px; line-height: 1.7; }
.matrix-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #e7e5e4; border-radius: 20px; background: #fff; box-shadow: 0 5px 18px rgba(28,25,23,.045); }
.matrix-card-figure { min-width: 0; margin: -24px -24px 18px; overflow: hidden; border-bottom: 1px solid #e7e5e4; border-radius: 19px 19px 0 0; background: #fafaf9; }
.matrix-card-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.matrix-card-figure figcaption { padding: 8px 16px; color: #78716c; font-size: 11px; line-height: 1.5; }
.matrix-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.matrix-pill { display: inline-flex; min-height: 32px; align-items: center; padding: 3px 10px; border-radius: 8px; background: #ffedd5; color: #9a3412; font-weight: 800; font-size: 13px; }
.matrix-card-num { color: #a8a29e; font: 700 10px/1.4 "JetBrains Mono", monospace; letter-spacing: .12em; }
.matrix-card h3 { margin: 18px 0 9px; color: #1c1917; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.matrix-card p { flex: 1; margin: 0; color: #57534e; font-size: 14px; line-height: 1.65; }
.matrix-card-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 18px; color: #c2410c; font-weight: 750; font-size: 14px; }
.matrix-advice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 25px; }
.matrix-advice { min-width: 0; padding: 25px; border: 1px solid #e7e5e4; border-radius: 20px; background: #fff; }
.matrix-advice > span { color: #c2410c; font: 750 12px/1.4 "JetBrains Mono", monospace; }
.matrix-advice h2 { margin: 16px 0 9px; color: #1c1917; font-size: 20px; letter-spacing: -.025em; }
.matrix-advice p { margin: 0; color: #57534e; font-size: 14px; line-height: 1.75; }
.matrix-brief { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; margin-top: 30px; padding: clamp(22px, 4vw, 36px); border: 1px solid #e7e5e4; border-radius: 22px; background: #fafaf9; }
.matrix-brief h2 { margin: 11px 0 10px; color: #1c1917; font-size: clamp(23px, 3vw, 31px); line-height: 1.2; letter-spacing: -.035em; }
.matrix-brief p { max-width: 490px; margin: 0; color: #57534e; font-size: 14px; line-height: 1.75; }
.matrix-brief-example { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; min-width: 0; }
.matrix-brief blockquote { width: 100%; margin: 0; padding: 20px 22px; border-left: 4px solid #ea580c; border-radius: 0 14px 14px 0; background: #fff; color: #292524; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.matrix-workflow { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: clamp(24px, 4vw, 38px); border: 1px solid #fed7aa; border-radius: 22px; background: #fff7ed; }
.matrix-workflow > div { max-width: 780px; }
.matrix-workflow h2 { margin: 9px 0; color: #1c1917; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.035em; }
.matrix-workflow p { margin: 0; color: #57534e; line-height: 1.7; }
.matrix-workflow ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: workflow; }
.matrix-workflow li { counter-increment: workflow; padding: 9px 11px; border: 1px solid #fed7aa; border-radius: 9px; background: #fff; color: #44403c; font-size: 12px; font-weight: 700; }
.matrix-workflow li::before { content: counter(workflow) ". "; color: #c2410c; }
.matrix-workflow .button { flex-shrink: 0; }
.matrix-small { margin-top: 15px !important; font-size: 12px; }
.matrix-related, .matrix-sources { margin-top: 43px; }
.matrix-related h2, .matrix-sources h2 { margin: 0 0 15px; color: #1c1917; font-size: 23px; letter-spacing: -.03em; }
.matrix-related-list { display: flex; flex-wrap: wrap; gap: 10px; }
.matrix-related-list a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 15px; border: 1px solid #e7e5e4; border-radius: 10px; background: #fff; color: #9a3412; font-size: 13px; font-weight: 750; }
.matrix-sources { padding-top: 22px; border-top: 1px solid #e7e5e4; }
.matrix-sources p { max-width: 780px; margin: 10px 0; color: #78716c; font-size: 13px; line-height: 1.75; }
.matrix-sources a { color: #9a3412; text-decoration: underline; text-underline-offset: 3px; }
.matrix-languages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.matrix-languages a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 11px; border: 1px solid #e7e5e4; border-radius: 8px; color: #57534e; font-size: 12px; }
.matrix-languages a[aria-current="page"] { border-color: #fdba74; background: #fff7ed; color: #9a3412; font-weight: 750; }
@media (max-width: 900px) { .matrix-hub-grid, .matrix-advice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .matrix-workflow { align-items: flex-start; flex-direction: column; } }
@media (max-width: 650px) { .header-inner { height: auto; min-height: 64px; flex-wrap: wrap; gap: 8px; padding: 10px 0; } .header-nav { width: 100%; gap: 10px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 12px; } .header-nav::-webkit-scrollbar { display: none; } .header-nav .button { min-height: 38px; padding: 0 11px; font-size: 12px; } .matrix-hero { padding: 40px 0 44px; } .matrix-series-hero, .matrix-brief { grid-template-columns: 1fr; } .matrix-hero-figure { max-width: 520px; } .matrix-content { padding-top: 24px; padding-bottom: 50px; } .matrix-hub-grid, .matrix-advice-grid { grid-template-columns: 1fr; } .matrix-card, .matrix-advice { padding: 20px; } .matrix-card-figure { margin: -20px -20px 18px; } .matrix-brief { gap: 18px; } .matrix-brief-example .button { width: 100%; justify-content: center; } .matrix-workflow { margin-top: 25px; } .matrix-workflow li { width: 100%; } .matrix-actions .button, .matrix-actions .matrix-secondary { width: 100%; } }
