:root {
  --ink: #171b1f;
  --muted: #5f6870;
  --blue: #0f5b7d;
  --blue-dark: #0a4865;
  --blue-soft: #eaf3f7;
  --line: #d9e0e4;
  --paper: #f6f8f9;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topbar { background: var(--blue-dark); color: #fff; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; letter-spacing: .04em; }
.topbar-links { display: flex; gap: 20px; }
.topbar a { text-decoration: none; opacity: .9; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 150px; height: auto; }
nav.primary { display: flex; align-items: center; justify-content: center; gap: 23px; flex: 1; font-size: 14px; font-weight: 600; }
nav.primary a { color: #394650; text-decoration: none; white-space: nowrap; }
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; border-radius: 2px; }
.button:hover { background: var(--blue-dark); }
.button-small { min-height: 38px; padding: 0 15px; font-size: 13px; white-space: nowrap; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.hero { padding: 76px 0 64px; background: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 62px; align-items: center; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; }
h1 { max-width: 720px; font-size: clamp(39px, 5vw, 67px); font-weight: 500; }
h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; }
h3 { font-size: 21px; font-weight: 700; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.hero-panel { min-height: 310px; display: flex; align-items: center; justify-content: center; padding: 30px; background: linear-gradient(135deg, #e7f1f5, #fff 64%); border-left: 10px solid var(--blue); }
.hero-panel-inner { width: 100%; padding: 32px; background: rgba(255,255,255,.82); border: 1px solid #c8dce5; }
.hero-panel strong { display: block; color: var(--blue); font-size: 25px; line-height: 1.25; }
.hero-panel span { display: block; margin-top: 8px; color: var(--muted); }
.content-section { padding: 72px 0; }
.content-section.white { background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading p:last-child { margin: 15px 0 0; color: var(--muted); font-size: 17px; }
.video-card { padding: 18px; background: #102f40; border: 1px solid #183f54; box-shadow: 0 18px 48px rgba(12, 47, 64, .14); }
.video-card video { display: block; width: 100%; min-height: 330px; background: #091b25; object-fit: contain; }
.video-note { margin: 14px 3px 0; color: #d9e9ef; font-size: 13px; }
.video-note code { padding: 2px 5px; color: #fff; background: rgba(255,255,255,.14); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.info-card { padding: 27px; background: #fff; border: 1px solid var(--line); }
.info-card p { margin: 12px 0 0; color: var(--muted); }
.process-grid, .choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.step { padding: 22px 18px; background: #fff; border-top: 4px solid var(--blue); border-bottom: 1px solid var(--line); }
.step-num { display: block; margin-bottom: 12px; color: #9ca7ae; font-size: 24px; font-weight: 700; }
.step h3 { font-size: 17px; }
.step p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.faq-list { display: grid; gap: 12px; }
details { padding: 18px 20px; background: #fff; border: 1px solid var(--line); }
summary { cursor: pointer; color: var(--blue-dark); font-weight: 700; }
details p { margin: 12px 0 0; color: var(--muted); }
.cta { padding: 58px 0; background: var(--blue); color: #fff; }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { max-width: 720px; }
.cta p { max-width: 620px; margin: 14px 0 0; color: #d9e9ef; }
.cta .button { background: #fff; color: var(--blue-dark); }
footer { padding: 45px 0 22px; background: #102f40; color: #dceaf0; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 28px; }
footer img { width: 150px; background: #fff; padding: 7px; }
footer p { margin: 13px 0 0; color: #b6cbd4; font-size: 14px; }
footer h3 { margin-bottom: 13px; color: #fff; font-size: 15px; }
footer a { display: block; margin: 7px 0; color: #dceaf0; text-decoration: none; font-size: 14px; }
footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.18); color: #9eb8c2; font-size: 12px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.resource-card { padding: 32px; background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.resource-card { position: relative; overflow: hidden; }
.resource-card::before { content: ""; display: block; height: 230px; margin: -32px -32px 28px; background-position: center; background-size: cover; background-repeat: no-repeat; }
.resource-card::after { content: "▶  WATCH VIDEO"; position: absolute; top: 98px; left: 50%; transform: translateX(-50%); padding: 12px 18px; border: 2px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(15,91,125,.94); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; box-shadow: 0 8px 22px rgba(0,0,0,.22); pointer-events: none; }
.resource-card:nth-child(1)::before { background-image: url('/resources/media/covers/hss-twist-drill-manufacturing.jpg'); }
.resource-card:nth-child(2)::before { background-image: url('/resources/media/covers/how-to-choose-hss-twist-drill-bits.jpg'); }
.resource-card:nth-child(3)::before { background-image: url('/resources/media/covers/company-overview-manufacturing-facilities.jpg'); }
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(12,47,64,.12); }
.resource-card .resource-label { color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.resource-card h2 { margin-top: 11px; font-size: 28px; }
.resource-card p { margin: 14px 0 22px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 42px; align-items: start; }
.article-copy { background: #fff; padding: 32px; border: 1px solid var(--line); }
.article-copy h2 { margin: 35px 0 13px; font-size: 29px; }
.article-copy h3 { margin: 25px 0 8px; color: var(--blue-dark); }
.article-copy p { margin: 12px 0; color: #4d5961; }
.article-copy ul { margin: 12px 0 0 20px; padding: 0; color: #4d5961; }
.article-copy li { margin: 6px 0; }
.aside-card { padding: 25px; background: var(--blue-soft); border: 1px solid #c7dfe9; }
.aside-card h3 { color: var(--blue-dark); font-size: 20px; }
.aside-card a { display: block; margin-top: 12px; color: var(--blue-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .nav-wrap { gap: 18px; }
  nav.primary { gap: 12px; font-size: 13px; }
  .hero-grid, .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .process-grid, .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1180px); }
  .topbar-inner, .nav-wrap, .cta-grid, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .topbar-inner { padding: 9px 0; }
  .topbar-links { flex-direction: column; gap: 2px; }
  .nav-wrap { padding: 16px 0; }
  nav.primary { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .button-small { align-self: flex-start; }
  .hero { padding: 52px 0 42px; }
  .hero-panel { min-height: 240px; padding: 18px; }
  .hero-panel-inner { padding: 22px; }
  .video-card video { min-height: 215px; }
  .two-col, .resource-grid { grid-template-columns: 1fr; }
  .resource-card::after { top: 79px; }
  .process-grid, .choice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
