:root {
  --ink: #20252b;
  --muted: #68717b;
  --line: #d9dee3;
  --paper: #ffffff;
  --tint: #f3f5f6;
  --accent: #d65e26;
  --accent-dark: #a84419;
  --dark: #20262c;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { max-width: 100%; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 20; padding: 10px 14px; background: var(--accent); color: white; }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { font-size: 15px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.brand span { color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; color: #424a52; }
.desktop-nav a:hover, .more-menu summary:hover, .header-search:hover { color: var(--accent); }
.more-menu { position: relative; }
.more-menu summary { cursor: pointer; list-style: none; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-panel { position: absolute; right: 0; top: 28px; display: grid; min-width: 200px; padding: 9px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(32,37,43,.12); }
.more-panel a { padding: 9px 10px; }
.more-panel a:hover { background: var(--tint); color: var(--accent); }
.header-search { width: 28px; color: #505962; font-size: 27px; line-height: 1; text-align: center; }
.menu-toggle, .mobile-nav { display: none; }

.hero { padding: 86px 0 92px; background: linear-gradient(90deg, #f7f8f8 0%, #fff 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 720px; font-size: clamp(40px, 5vw, 70px); font-weight: 750; }
h2 { font-size: clamp(28px, 3vw, 43px); font-weight: 720; }
h3 { font-size: 21px; }
.hero-lead { max-width: 690px; margin: 28px 0; color: var(--muted); font-size: 19px; }
.search-form { display: flex; max-width: 700px; border: 1px solid #abb4bc; background: white; }
.search-form input { min-width: 0; flex: 1; padding: 16px 18px; border: 0; outline: 0; color: var(--ink); font: inherit; }
.search-form input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
button, .button { border: 0; cursor: pointer; font: inherit; }
.search-form button { padding: 0 23px; background: var(--accent); color: white; font-weight: 700; }
.search-form button:hover { background: var(--accent-dark); }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.popular-searches a { border-bottom: 1px solid #c6ccd1; }
.popular-searches a:hover { color: var(--accent); border-color: var(--accent); }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { margin-top: 11px; color: var(--muted); font-size: 13px; }

.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: white; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading > p:last-child, .section-intro { color: var(--muted); font-size: 17px; }
.section-dark .section-heading > p:last-child, .section-dark .section-intro, .section-dark > .container > p { color: #c5cbd0; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading p { margin-top: 0; }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; max-width: none; }
.split-heading > p { margin: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic-card, .topic-grid > .pending-link { min-height: 220px; display: flex; flex-direction: column; padding: 26px; background: white; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s; }
.topic-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.topic-number { display: block; margin-bottom: 40px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.topic-card h3, .topic-grid > .pending-link h3 { margin-bottom: 10px; }
.topic-card p, .topic-grid > .pending-link p { margin: 0; color: var(--muted); }
.card-link, .text-link { display: inline-block; margin-top: auto; padding-top: 18px; color: var(--accent); font-size: 14px; font-weight: 750; }
.compact-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.compact-links a, .compact-links .pending-link { color: var(--ink); border-bottom: 1px solid #b7bec4; }
.compact-links a:hover, .text-link:hover { color: var(--accent-dark); }

.material-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 18px; }
.featured-material { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--dark); color: white; }
.featured-material img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.featured-material > div { display: flex; flex-direction: column; padding: 30px; }
.featured-material p:not(.eyebrow) { color: #c7ced3; }
.featured-material .card-link { color: #ff9b6d; }
.material-list { border-top: 1px solid var(--line); }
.material-list a, .material-list > .pending-link { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.material-list a:hover strong { color: var(--accent); }
.material-list span { color: var(--muted); font-size: 14px; }
.calculation-strip { display: grid; grid-template-columns: .72fr 1.28fr; gap: 26px; margin-top: 44px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calculation-strip h3 { font-size: 26px; }
.calculation-links { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }
.calculation-links a { padding: 9px 12px; border: 1px solid var(--line); font-size: 14px; }
.calculation-links a:hover { color: var(--accent); border-color: var(--accent); }

.concrete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.concrete-grid h2 { max-width: 560px; }
.concrete-grid p:not(.eyebrow) { max-width: 590px; color: #c5cbd0; }
.button { display: inline-block; margin-top: 20px; padding: 12px 17px; background: var(--accent); color: white; font-weight: 700; }
.button:hover { background: var(--accent-dark); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #e5e9eb; color: var(--ink); }
.concrete-path { border-top: 1px solid #4b535b; }
.concrete-path > div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid #4b535b; }
.concrete-path span { color: #ff9b6d; font-size: 12px; font-weight: 800; }
.concrete-path a, .concrete-path .pending-link { display: flex; flex-direction: column; gap: 2px; color: white; }
.concrete-path strong { font-size: 17px; }
.concrete-path small { color: #c5cbd0; font-size: 14px; }

.stage-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage-grid a, .stage-grid > .pending-link { min-height: 178px; display: flex; flex-direction: column; padding: 22px 20px; border-right: 1px solid var(--line); color: var(--ink); }
.stage-grid a:first-child, .stage-grid > .pending-link:first-child { border-left: 1px solid var(--line); }
.stage-grid a:hover { background: var(--tint); }
.stage-grid span { margin-bottom: 36px; color: var(--accent); font-size: 12px; font-weight: 800; }
.stage-grid strong { font-size: 18px; }
.stage-grid small { margin-top: 7px; color: var(--muted); }

.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.feature-column { padding: 0 56px; border-left: 1px solid var(--line); }
.feature-column:first-child { padding-left: 0; border-left: 0; padding-right: 70px; }
.feature-column h2 { margin-bottom: 18px; }
.feature-column > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }
.inline-list { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.inline-list a, .inline-list .pending-link { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.inline-list a:hover { color: var(--accent); }

.equipment h2 { max-width: 600px; }
.equipment > .container > p { max-width: 670px; }
.equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 40px 0 18px; background: #4b535b; border: 1px solid #4b535b; }
.equipment-grid a, .equipment-grid > .pending-link { min-height: 140px; display: flex; flex-direction: column; justify-content: end; padding: 20px; background: var(--dark); color: white; }
.equipment-grid a:hover { background: #2b333b; }
.equipment-grid strong { font-size: 19px; }
.equipment-grid span { margin-top: 6px; color: #c5cbd0; font-size: 14px; }

.faq-about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 12px 0 8px; color: var(--muted); }
.faq-list a, .faq-list .pending-link { color: var(--accent); font-size: 14px; font-weight: 700; }
.about-project { padding: 28px; background: var(--tint); border-top: 4px solid var(--accent); }
.about-project h2 { font-size: 31px; }
.about-project p { color: var(--muted); }
blockquote { margin: 24px 0 0; padding: 16px 0 0 18px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 14px; }
.about-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.about-links a { color: var(--accent); font-weight: 700; }
.direction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.direction-grid h3 { margin-bottom: 17px; font-size: 18px; }
.direction-grid a, .direction-grid .pending-link { display: block; padding: 7px 0; color: var(--muted); }
.direction-grid a:hover { color: var(--accent); }

.site-footer { padding: 62px 0 22px; background: var(--dark); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; }
.brand-footer { display: inline-block; margin-bottom: 14px; }
.footer-grid p { max-width: 260px; color: #c5cbd0; }
.footer-grid h3 { margin-bottom: 14px; color: #ff9b6d; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a:not(.brand), .footer-grid .pending-link { display: block; padding: 4px 0; color: #c5cbd0; font-size: 14px; }
.footer-grid a:not(.brand):hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 17px; border-top: 1px solid #4b535b; color: #aeb7be; font-size: 13px; }

.breadcrumbs { display: flex; gap: 10px; padding-top: 22px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--accent); }
.category-hero { padding: 62px 0 86px; }
.category-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 70px; align-items: center; }
.category-hero h1 { font-size: clamp(42px, 5vw, 68px); }
.category-intro { max-width: 690px; color: var(--muted); font-size: 17px; }
.category-hero-media { margin: 0; }
.category-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.quick-actions a { padding: 10px 13px; border: 1px solid var(--line); background: white; font-size: 14px; font-weight: 700; }
.quick-actions a:hover { color: var(--accent); border-color: var(--accent); }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.choice-grid a { min-height: 270px; display: flex; flex-direction: column; padding: 24px; background: white; border: 1px solid var(--line); }
.choice-grid a:hover { border-color: var(--accent); transform: translateY(-2px); }
.choice-grid span { margin-bottom: 42px; color: var(--accent); font-size: 12px; font-weight: 800; }
.choice-grid h3 { font-size: 20px; }
.choice-grid p { color: var(--muted); }
.choice-grid strong { margin-top: auto; color: var(--accent); font-size: 14px; }
.composition-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.composition-grid h2 { margin-bottom: 18px; }
.mix-diagram { display: grid; grid-template-columns: repeat(7, auto); align-items: center; gap: 10px; margin: 32px 0 26px; padding: 18px; background: var(--dark); color: white; font-weight: 700; font-size: 14px; }
.mix-diagram b { color: #ff9b6d; }
.mix-diagram i { grid-column: 1 / -1; justify-self: center; color: #ff9b6d; font-size: 24px; font-style: normal; line-height: .7; }
.mix-diagram strong { grid-column: 1 / -1; justify-self: center; color: #ff9b6d; }
.notice { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--tint); }
.notice p { margin: 7px 0; color: var(--muted); }
.notice a { color: var(--accent); font-size: 14px; font-weight: 700; }
.component-list { border-top: 1px solid var(--line); }
.component-list div { display: flex; flex-direction: column; gap: 4px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.component-list span { color: var(--muted); font-size: 14px; }
.factor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.factor-grid div { min-height: 210px; padding: 20px; background: white; border-top: 3px solid var(--accent); }
.factor-grid span { color: var(--accent); font-size: 12px; font-weight: 800; }
.factor-grid h3 { margin-top: 36px; font-size: 18px; }
.factor-grid p { color: var(--muted); font-size: 14px; }
.quote-line { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.quote-line strong { max-width: 720px; font-size: 20px; }
.table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; min-width: 560px; border-collapse: collapse; }
th, td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--muted); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
tbody th { width: 34%; font-size: 16px; }
.table-note { max-width: 800px; color: var(--muted); font-size: 14px; }
.cement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cement-grid h2 { max-width: 650px; }
.cement-grid .text-link { margin-right: 24px; }
.cement-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cement-cards div { min-height: 190px; padding: 24px; border: 1px solid var(--line); background: white; }
.cement-cards span { color: var(--accent); font-size: 25px; font-weight: 800; }
.cement-cards p { color: var(--muted); }
.calculation-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.calculation-grid h2 { margin-bottom: 18px; }
.formula { margin: 28px 0 14px; font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: .02em; }
.formula-notes { display: flex; flex-wrap: wrap; gap: 9px 18px; color: var(--muted); font-size: 14px; }
.formula-notes b { color: var(--ink); }
.muted { color: var(--muted); }
.example-card { padding: 28px; background: var(--tint); border-top: 4px solid var(--accent); }
.example-card h3 { font-size: 28px; }
.example-card p { color: var(--muted); }
.example-card a { display: block; margin-top: 11px; color: var(--accent); font-weight: 700; }
.foundation-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: start; }
.foundation-grid > div > p:not(.eyebrow) { color: #c5cbd0; }
.step-list { margin-top: 30px; border-top: 1px solid #4b535b; }
.step-list div { display: grid; grid-template-columns: 42px 1fr; gap: 3px 12px; padding: 17px 0; border-bottom: 1px solid #4b535b; }
.step-list span { grid-row: 1 / 3; color: #ff9b6d; font-size: 12px; font-weight: 800; }
.step-list strong { font-size: 17px; }
.step-list small { color: #c5cbd0; }
.foundation-feature { padding: 22px; background: #2b333b; }
.foundation-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 22px; }
.foundation-feature h3 { font-size: 25px; }
.foundation-feature p:not(.eyebrow) { color: #c5cbd0; }
.foundation-feature .button { margin-right: 15px; }
.foundation-link { display: inline-block; margin-top: 20px; color: #ff9b6d; font-size: 14px; font-weight: 700; }
.mistakes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mistakes-grid div { min-height: 155px; padding: 22px; border: 1px solid var(--line); }
.mistakes-grid h3 { font-size: 18px; }
.mistakes-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.reading-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.reading-grid div { min-height: 175px; padding: 22px; background: white; border: 1px solid var(--line); }
.reading-grid h3 { margin-bottom: 14px; font-size: 18px; }
.reading-grid a { display: block; padding: 6px 0; color: var(--accent); font-size: 14px; font-weight: 700; }
.faq-related-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; }
.related-box { padding: 28px; background: var(--tint); border-top: 4px solid var(--accent); }
.related-box h2 { margin-bottom: 16px; font-size: 30px; }
.related-box a { display: flex; flex-direction: column; gap: 3px; padding: 15px 0; border-top: 1px solid var(--line); }
.related-box a:hover strong { color: var(--accent); }
.related-box span { color: var(--muted); font-size: 14px; }
.disclaimer { padding: 22px 0; background: #e9edef; }
.disclaimer p { max-width: 1000px; margin: 0; color: #59636b; font-size: 14px; }
.hub-hero { padding: 60px 0 80px; }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 70px; align-items: center; }
.hub-hero h1 { font-size: clamp(40px, 5vw, 66px); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.anchor-nav a { padding: 8px 11px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.anchor-nav a:hover { color: var(--accent); border-color: var(--accent); }
.logic-grid, .two-column, .strength-grid, .condition-grid, .foundation-hub-grid, .calculation-hub-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.logic-grid h2, .two-column h2, .strength-grid h2, .condition-grid h2, .foundation-hub-grid h2, .calculation-hub-grid h2 { margin-bottom: 18px; }
.logic-steps { margin-top: 30px; border-top: 1px solid var(--line); }
.logic-steps div { display: grid; grid-template-columns: 42px 1fr; gap: 2px 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.logic-steps span { grid-row: 1 / 3; color: var(--accent); font-size: 12px; font-weight: 800; }
.logic-steps strong { font-size: 17px; }
.logic-steps small { color: var(--muted); }
.question-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 25px; }
.question-grid div { min-height: 205px; padding: 21px; background: white; border-top: 3px solid var(--accent); }
.question-grid span { color: var(--accent); font-size: 12px; font-weight: 800; }
.question-grid h3 { margin-top: 32px; font-size: 18px; }
.question-grid p { color: var(--muted); font-size: 14px; }
.definition-list { margin-top: 28px; border-top: 1px solid var(--line); }
.definition-list div { display: flex; flex-direction: column; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.definition-list span { color: var(--muted); }
.strength-cards, .condition-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.strength-cards div, .condition-cards div { padding: 22px; border: 1px solid var(--line); background: white; }
.strength-cards p, .condition-cards p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.condition-grid > div > p:not(.eyebrow) { color: var(--muted); }
.plain-list { margin: 25px 0; padding-left: 20px; color: #c5cbd0; }
.related-articles { border-top: 1px solid #4b535b; }
.related-articles a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid #4b535b; }
.related-articles a:hover strong { color: #ff9b6d; }
.related-articles span { color: #c5cbd0; }
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 28px; padding: 18px; background: var(--dark); color: white; font-size: 14px; font-weight: 700; }
.mini-flow b { color: #ff9b6d; }
.mini-flow strong { flex-basis: 100%; color: #ff9b6d; text-align: center; }
.calculation-hub-grid .formula { font-size: clamp(26px, 3.5vw, 48px); }
.choice-flow { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.choice-flow div { min-height: 150px; display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--line); }
.choice-flow div:first-child { border-left: 1px solid var(--line); }
.choice-flow span { margin-bottom: 25px; color: var(--accent); font-size: 12px; font-weight: 800; }
.choice-flow strong { font-size: 16px; }
.choice-flow small { margin-top: 5px; color: var(--muted); }
.cluster-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cluster-nav a { color: var(--muted); }
.cluster-nav a:hover, .cluster-nav a[aria-current="page"] { color: var(--accent); }
.cluster-nav a[aria-current="page"] { font-weight: 750; }
.pending-link { color: var(--muted); cursor: default; }
.more-panel .pending-link { display: block; padding: 9px 10px; }
.popular-searches .pending-link { border-bottom: 1px solid #c6ccd1; }
.feature-column > .pending-link, .equipment > .container > .pending-link { display: inline-block; margin-top: 20px; color: var(--accent); font-weight: 700; }
.not-found { padding: 76px 0 96px; }
.not-found-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 72px; align-items: center; }
.not-found-code { color: var(--accent); font-size: clamp(86px, 16vw, 190px); font-weight: 850; line-height: .85; letter-spacing: -.06em; }
.not-found h1 { max-width: 680px; font-size: clamp(38px, 5vw, 64px); text-wrap: balance; }
.not-found-copy { max-width: 680px; color: var(--muted); font-size: 18px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.not-found-diagram { margin: 0; padding: 22px; border: 1px solid var(--line); background: #f0f2f1; }
.not-found-diagram svg { display: block; width: 100%; height: auto; }
.service-page .article-header { padding-bottom: 28px; }
.service-page .article-section { padding: 28px 0; }
@media (max-width: 760px) { .not-found-grid { grid-template-columns: 1fr; gap: 36px; } .not-found { padding-top: 48px; } }
.weld-hero-diagram { display: grid; gap: 12px; padding: 26px; background: #f0f2f1; border: 1px solid var(--line); }
.weld-hero-diagram svg { display: block; width: 100%; height: auto; }
.weld-hero-diagram figcaption { color: var(--muted); font-size: 13px; }
.weld-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.weld-type-grid > div, .weld-check-grid > div { padding: 22px; border: 1px solid var(--line); background: white; }
.weld-type-grid span, .weld-check-grid span { display: block; margin-bottom: 28px; color: var(--accent); font-size: 12px; font-weight: 800; }
.weld-type-grid h3, .weld-check-grid h3 { font-size: 19px; }
.weld-type-grid p, .weld-check-grid p { color: var(--muted); }
.weld-connection-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.weld-connection-diagram { margin: 0; padding: 18px; background: #f0f2f1; border: 1px solid var(--line); }
.weld-connection-diagram svg { display: block; width: 100%; height: auto; }
.weld-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.weld-flow { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.weld-flow div { min-height: 145px; padding: 20px; border-right: 1px solid var(--line); }
.weld-flow div:first-child { border-left: 1px solid var(--line); }
.weld-flow span { display: block; margin-bottom: 28px; color: var(--accent); font-size: 12px; font-weight: 800; }
.weld-flow strong { display: block; font-size: 17px; }
.weld-flow small { display: block; margin-top: 7px; color: var(--muted); }
@media (max-width: 960px) { .weld-type-grid { grid-template-columns: repeat(2, 1fr); } .weld-connection-grid { grid-template-columns: 1fr; } .weld-flow { grid-template-columns: repeat(2, 1fr); } .weld-flow div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); } .weld-flow div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .weld-type-grid, .weld-check-grid, .weld-flow { grid-template-columns: 1fr; } .weld-flow div, .weld-flow div:first-child, .weld-flow div:nth-child(3) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } .weld-flow div + div { border-top: 1px solid var(--line); } }
.volume-hero { padding-top: 52px; }
.volume-diagram { position: relative; min-height: 310px; padding: 40px; background: var(--tint); border: 1px solid var(--line); }
.cube-face { position: absolute; display: grid; place-items: center; color: var(--accent); font-size: 20px; font-weight: 800; }
.cube-top { top: 64px; left: 25%; width: 50%; height: 105px; transform: skewX(-35deg); border: 2px solid var(--accent); background: rgba(214,94,38,.06); }
.cube-front { left: 18%; top: 169px; width: 57%; height: 80px; border: 2px solid var(--accent); border-top: 0; background: rgba(214,94,38,.1); }
.cube-side { top: 127px; right: 18%; width: 25%; height: 122px; transform: skewY(-35deg); border: 2px solid var(--accent); border-left: 0; background: rgba(214,94,38,.14); }
.volume-diagram > strong { position: absolute; right: 22px; bottom: 18px; color: var(--ink); font-size: 20px; }
.big-equation { margin: 28px 0 17px; color: var(--accent); font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: .01em; }
.big-equation.centered { text-align: center; }
.breakdown-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.breakdown-grid div { min-height: 165px; display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--line); }
.breakdown-grid div:first-child { border-left: 1px solid var(--line); }
.breakdown-grid span { margin-bottom: 28px; color: var(--accent); font-size: 12px; font-weight: 800; }
.breakdown-grid strong { font-size: 16px; }
.breakdown-grid small { margin-top: 6px; color: var(--muted); }
.unit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.small-table { margin: 22px 0 12px; border-top: 1px solid var(--line); }
.small-table div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.small-table b { color: var(--accent); }
.calculator-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.volume-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 25px; }
.volume-form label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 700; }
.volume-form input { width: 100%; padding: 13px; border: 1px solid var(--line); color: var(--ink); font: inherit; }
.volume-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.volume-form button { grid-column: 1 / -1; justify-self: start; }
.form-message { min-height: 24px; margin: 12px 0 0; color: var(--accent-dark); font-size: 14px; }
.calculator-result { min-height: 260px; padding: 28px; background: var(--tint); border-top: 4px solid var(--accent); }
.calculator-result > span { color: var(--muted); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.calculator-result strong { display: block; margin: 22px 0 12px; font-size: clamp(26px, 4vw, 42px); }
.calculator-result p { color: var(--muted); font-size: 14px; }
.calculator-result a { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 700; }
.dark-flow { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 28px; }
.dark-flow span { padding: 8px 12px; border: 1px solid #4b535b; }
.dark-flow b { color: #ff9b6d; }
.dark-choice { border-top: 1px solid #4b535b; }
.dark-choice a { display: flex; flex-direction: column; gap: 5px; padding: 21px 0; border-bottom: 1px solid #4b535b; }
.dark-choice a:hover strong { color: #ff9b6d; }
.dark-choice span { color: #c5cbd0; }
.formula-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 26px; }
.formula-list div { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background: white; border: 1px solid var(--line); }
.formula-list span { color: var(--accent); font-size: 21px; font-weight: 800; }
.article-shell { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.article-header { padding: 68px 0 52px; }
.article-header h1 { max-width: 850px; font-size: clamp(38px, 5vw, 64px); }
.article-lead { margin: 25px 0 13px; color: var(--ink); font-size: 20px; }
.article-header > p:not(.eyebrow) { color: var(--muted); }
.article-contents { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-contents a { padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article-contents a:hover { color: var(--accent); border-color: var(--accent); }
.article-section { padding: 45px 0; border-top: 1px solid var(--line); }
.article-section h2, .article-related h2 { margin-bottom: 18px; font-size: clamp(28px, 3vw, 40px); }
.article-section h3 { margin-bottom: 8px; font-size: 20px; }
.article-section p { color: #4f5962; }
.article-section a { color: var(--accent-dark); font-weight: 700; }
.marking-box, .comparison-table, .article-cards, .use-cases, .check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 27px 0; }
.marking-box div, .comparison-table div, .article-cards div, .use-cases div, .check-grid div { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); background: var(--tint); }
.marking-box strong { color: var(--accent); font-size: 22px; }
.marking-box span, .comparison-table span, .check-grid p, .use-cases p, .article-cards p { margin: 0; color: var(--muted); font-size: 14px; }
.comparison-table { grid-template-columns: repeat(3, 1fr); }
.comparison-table strong { font-size: 15px; }
.article-cards { grid-template-columns: repeat(4, 1fr); }
.article-cards div { min-height: 170px; background: white; border-top: 3px solid var(--accent); }
.article-cards h3 { margin-top: 15px; }
.article-steps { margin: 24px 0; padding-left: 24px; color: #4f5962; }
.article-steps li { padding: 6px 0; }
.use-cases { grid-template-columns: repeat(3, 1fr); }
.use-cases div { min-height: 175px; background: white; }
.check-grid { grid-template-columns: repeat(4, 1fr); }
.check-grid span { color: var(--accent); font-size: 12px; font-weight: 800; }
.check-grid strong { font-size: 16px; }
.formula-callout { display: flex; flex-direction: column; gap: 5px; margin: 24px 0; padding: 20px; background: var(--dark); color: white; }
.formula-callout strong { color: #ff9b6d; font-size: 22px; }
.chain-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 25px 0; padding: 20px; background: var(--tint); }
.chain-list span { padding: 8px 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.chain-list b { color: var(--accent); }
.article-related { padding: 52px 0 70px; border-top: 1px solid var(--line); }
.formula-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.formula-tool { padding: 22px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.formula-tool h3 { margin-bottom: 8px; font-size: 20px; }
.formula-tool p { color: var(--muted); font-size: 14px; }
.formula-tool form { display: grid; gap: 10px; margin-top: 18px; }
.formula-tool label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 700; }
.formula-tool input, .formula-tool select { width: 100%; padding: 10px; border: 1px solid var(--line); color: var(--ink); font: inherit; }
.formula-tool input:focus, .formula-tool select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.formula-tool button { justify-self: start; padding: 10px 14px; border: 0; background: var(--dark); color: white; font: inherit; font-weight: 750; cursor: pointer; }
.formula-tool output { min-height: 22px; color: var(--accent-dark); font-weight: 750; }
.formula-check { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 28px 0; }
.formula-check div { padding: 18px; border: 1px solid var(--line); background: var(--tint); }
.formula-check span { display: block; margin-bottom: 22px; color: var(--accent); font-weight: 800; }
.formula-check strong { display: block; font-size: 15px; }
.formula-check p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.mix-hero-diagram { min-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 34px; background: var(--tint); border: 1px solid var(--line); }
.mix-hero-diagram > div { display: flex; justify-content: center; align-items: center; gap: 14px; }
.mix-hero-diagram span { padding: 14px 18px; background: white; border: 1px solid var(--line); font-weight: 750; }
.mix-hero-diagram b { color: var(--accent); font-size: 23px; }
.mix-hero-diagram strong { align-self: center; padding-top: 18px; border-top: 2px solid var(--accent); color: var(--accent); font-size: 21px; }
.component-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.component-grid div { min-height: 210px; padding: 22px; background: white; border-top: 3px solid var(--accent); }
.component-grid span, .factor-list span, .check-list span { color: var(--accent); font-size: 12px; font-weight: 800; }
.component-grid h3 { margin-top: 34px; font-size: 19px; }
.component-grid p { color: var(--muted); font-size: 14px; }
.factor-list, .check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; border-top: 1px solid var(--line); }
.factor-list span, .check-list span { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; }
.balance-grid, .aggregate-cards, .mass-volume { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.balance-grid div, .aggregate-cards div, .mass-volume div { padding: 23px; border: 1px solid var(--line); background: white; }
.balance-grid p, .aggregate-cards p, .mass-volume span { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.water-flow, .composition-flow { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 26px; background: var(--dark); color: white; }
.water-flow span, .composition-flow span { padding: 8px 12px; border: 1px solid #4b535b; text-align: center; }
.water-flow b, .composition-flow b { color: #ff9b6d; }
.water-flow strong, .composition-flow strong { color: #ff9b6d; text-align: center; }
.wide-notice { margin-top: 25px; }
.ratio-example { display: flex; align-items: center; gap: 12px; margin-top: 27px; color: var(--accent); font-size: 25px; font-weight: 800; }
.ratio-example b { color: var(--muted); }
.dark-steps { margin-top: 25px; border-top: 1px solid #4b535b; }
.dark-steps div { display: grid; grid-template-columns: 38px 1fr; gap: 3px 12px; padding: 13px 0; border-bottom: 1px solid #4b535b; }
.dark-steps span { grid-row: 1 / 3; color: #ff9b6d; font-size: 12px; font-weight: 800; }
.dark-steps strong { font-size: 16px; }
.dark-steps a { color: #ff9b6d; font-size: 14px; font-weight: 700; }
.dark-steps small { color: #c5cbd0; }
.scenario-card { margin-top: 14px; padding: 20px; border: 1px solid #4b535b; }
.scenario-card h3 { font-size: 19px; }
.scenario-card p { color: #c5cbd0; font-size: 14px; }
.scenario-card a { display: block; margin-top: 8px; color: #ff9b6d; font-size: 14px; font-weight: 700; }
.composition-flow { align-items: center; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #f0a37f; outline-offset: 3px; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 12px; }
  .hero-grid { gap: 40px; }
  .topic-card { padding: 22px; }
  .container { width: min(var(--max), calc(100% - 36px)); }
}
@media (max-width: 840px) {
  .desktop-nav { display: none; }
  .header-search { margin-left: auto; }
  .menu-toggle { display: block; padding: 8px 0 8px 12px; background: transparent; color: var(--ink); font-weight: 700; }
  .mobile-nav { display: none; flex-direction: column; padding: 8px 18px 18px; border-top: 1px solid var(--line); background: white; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a, .mobile-nav .pending-link { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .hero { padding: 60px 0 70px; }
  .hero-grid, .material-layout, .concrete-grid, .faq-about-grid, .category-hero-grid, .composition-grid, .cement-grid, .calculation-grid, .foundation-grid, .faq-related-grid, .hub-hero-grid, .logic-grid, .two-column, .strength-grid, .condition-grid, .foundation-hub-grid, .calculation-hub-grid { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .split-heading, .calculation-strip { grid-template-columns: 1fr; gap: 10px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid, .factor-grid, .reading-grid, .question-grid, .component-grid { grid-template-columns: repeat(2, 1fr); }
  .formula-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .formula-check { grid-template-columns: repeat(2, 1fr); }
  .quote-line { align-items: flex-start; flex-direction: column; }
  .stage-grid, .choice-flow, .breakdown-grid, .formula-list { grid-template-columns: repeat(2, 1fr); }
  .stage-grid a:nth-child(3), .stage-grid > .pending-link:nth-child(3) { border-left: 1px solid var(--line); }
  .stage-grid a:nth-child(n+3), .stage-grid > .pending-link:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dual-grid { grid-template-columns: 1fr; gap: 55px; }
  .feature-column, .feature-column:first-child { padding: 0; border: 0; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand { font-size: 13px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .section { padding: 68px 0; }
  .topic-grid, .stage-grid, .equipment-grid, .direction-grid, .footer-grid, .choice-grid, .factor-grid, .reading-grid { grid-template-columns: 1fr; }
  .formula-tool-grid, .formula-check { grid-template-columns: 1fr; }
  .stage-grid a, .stage-grid > .pending-link, .stage-grid a:first-child, .stage-grid > .pending-link:first-child, .stage-grid a:nth-child(3), .stage-grid > .pending-link:nth-child(3) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .stage-grid a + a, .stage-grid > .pending-link + .pending-link, .stage-grid a + .pending-link, .stage-grid .pending-link + a { border-top: 1px solid var(--line); }
  .featured-material { grid-template-columns: 1fr; }
  .featured-material img { min-height: 220px; }
  .search-form { display: grid; }
  .search-form button { min-height: 50px; }
  .footer-bottom { flex-direction: column; margin-top: 35px; }
  .mix-diagram { grid-template-columns: repeat(3, 1fr); text-align: center; }
  .mix-diagram b:nth-of-type(3) { display: none; }
  .cement-cards { grid-template-columns: 1fr; }
  .quick-actions a { flex: 1 1 45%; }
  .choice-flow div, .choice-flow div:first-child { border-left: 1px solid var(--line); }
  .choice-flow div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .volume-diagram { min-height: 260px; }
  .unit-grid, .calculator-layout { grid-template-columns: 1fr; }
  .volume-form { grid-template-columns: 1fr; }
  .volume-form button { grid-column: auto; }
  .component-grid, .factor-list, .check-list { grid-template-columns: 1fr; }
  .factor-list span, .check-list span { padding: 10px 0; }
  .article-shell { width: min(100% - 36px, 860px); }
  .marking-box, .article-cards, .check-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-table { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .breadcrumbs, .cluster-nav { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; scrollbar-width: thin; }
  .cluster-nav { justify-content: flex-start; }
}
