:root {
  --ink: #17191b;
  --muted: #666b6f;
  --paper: #fbfaf8;
  --surface: #ffffff;
  --line: rgba(112, 65, 46, .15);
  --copper: #9e5c3f;
  --copper-dark: #70412f;
  --sand: #c5a67e;
  --cyan: #168f91;
  --max: 1180px;
  --soft-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--copper-dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.content-header {
  position: relative;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid rgba(112, 65, 46, .10);
  background: rgba(251, 250, 248, .96);
  backdrop-filter: blur(18px);
}
.content-header__inner {
  width: min(var(--max), calc(100% - 54px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: auto;
  height: 42px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(112, 65, 46, .14);
  border-radius: 999px;
  color: rgba(23, 25, 27, .72);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 32px rgba(112, 65, 46, .08);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.nav-links > a,
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-links > a[aria-current="page"],
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger:focus-visible {
  color: var(--copper-dark);
  background: rgba(158, 92, 63, .09);
  transform: translateY(-1px);
}
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 300px;
  height: 18px;
  transform: translateX(-50%);
}
.nav-dropdown__trigger::after {
  content: "▾";
  margin-left: 6px;
  font-size: 10px;
}
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 20;
  width: 300px;
  padding: 10px;
  border: 1px solid rgba(112, 65, 46, .14);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(34, 26, 22, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown__panel a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
}
.nav-dropdown__panel a:hover,
.nav-dropdown__panel a:focus-visible {
  color: var(--copper-dark);
  background: rgba(158, 92, 63, .09);
}
.nav-dropdown__panel strong { font-size: 13px; }
.nav-dropdown__panel span {
  color: rgba(23, 25, 27, .60);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(112, 65, 46, .16);
  border-radius: 50%;
  background: #fff;
}
.site-menu-toggle span,
.site-menu-toggle span::before,
.site-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: var(--copper-dark);
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.site-menu-toggle span { position: relative; }
.site-menu-toggle span::before { position: absolute; top: -6px; }
.site-menu-toggle span::after { position: absolute; top: 6px; }
.site-menu-toggle[aria-expanded="true"] span { background: transparent; }
.site-menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.site-menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hub-intro {
  padding: clamp(64px, 8vw, 108px) 0 clamp(46px, 6vw, 76px);
}
.hub-shell,
.article-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--copper-dark);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hub-intro h1,
.article-header h1 {
  max-width: 1040px;
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}
.hub-intro__lead,
.article-deck {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}

.featured-story {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--soft-radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(112, 65, 46, .09);
}
.featured-story__media {
  min-height: 470px;
  overflow: hidden;
  background: #e9e7e3;
}
.featured-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-story__content {
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-meta {
  margin: 0 0 16px;
  color: var(--copper-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.featured-story h2 {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.featured-story__content > p:not(.story-meta) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.text-link {
  width: fit-content;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--copper-dark);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.text-link:hover,
.text-link:focus-visible { color: var(--ink); }

.topics-section,
.roadmap-section { padding: clamp(72px, 8vw, 112px) 0; }
.topics-section h2,
.roadmap-section h2 {
  max-width: 720px;
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}
.topics-section__lead,
.roadmap-section__lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.topic-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.topic-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--soft-radius);
  background: #fff;
}
.topic-card:nth-child(2) { background: #f1ebe5; }
.topic-card:nth-child(3) { background: #eef3f1; }
.topic-card:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 170px;
  background: #f3eee8;
}
.topic-card strong {
  display: block;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 22px;
  letter-spacing: -.03em;
}
.topic-card p {
  max-width: 42ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.topic-card:first-child {
  grid-row: span 2;
  min-height: 434px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 18, 19, .10), rgba(16, 18, 19, .78)),
    url("/asset-specialty-sensors/assets/gallery-context.jpg") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.topic-card:first-child p { color: rgba(255, 255, 255, .78); }

.roadmap-section {
  border-top: 1px solid rgba(112, 65, 46, .10);
  background: #f4f1ed;
}
.roadmap-list {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.roadmap-item {
  padding-top: 22px;
  border-top: 2px solid var(--copper);
}
.roadmap-item strong {
  display: block;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 20px;
  letter-spacing: -.03em;
}
.roadmap-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.article-header {
  padding: clamp(58px, 7vw, 94px) 0 clamp(42px, 5vw, 66px);
}
.article-header h1 { max-width: 960px; }
.article-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.article-hero {
  width: min(var(--max), calc(100% - 44px));
  height: clamp(330px, 52vw, 620px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--soft-radius);
  background: #e9e7e3;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-layout {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 94px) 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}
.article-toc {
  position: sticky;
  top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
}
.article-toc strong {
  display: block;
  margin-bottom: 12px;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 13px;
}
.article-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.article-toc a:hover,
.article-toc a:focus-visible { color: var(--copper-dark); }
.article-body {
  min-width: 0;
  color: #34383b;
  font-size: 17px;
  line-height: 1.8;
}
.article-body h2 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-family: Montserrat, Inter, sans-serif;
  font-size: 21px;
  letter-spacing: -.025em;
}
.article-body p,
.article-body ul { margin: 0 0 22px; }
.article-body li { margin-bottom: 10px; }
.article-answer {
  margin: 0 0 34px;
  padding: 24px 26px;
  border-left: 4px solid var(--copper);
  border-radius: 0 16px 16px 0;
  background: #f1ebe5;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
}
.article-body a {
  color: var(--copper-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-cta {
  margin-top: 58px;
  padding: 30px;
  border-radius: var(--soft-radius);
  color: #fff;
  background: linear-gradient(135deg, #70412f, #9e5c3f);
}
.article-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
}
.article-cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .82);
}
.article-cta a {
  display: inline-flex;
  margin-top: 20px;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--copper-dark);
  background: #fff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.site-map-strip {
  padding: clamp(34px, 4vw, 54px) 0 18px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 248, 240, .34), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .10), transparent 24%),
    linear-gradient(135deg, #c5a67e 0%, #c5a67e 68%, #cf945f 100%);
}
.site-map-strip__inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 72px);
}
.site-map-brand > img {
  width: 132px;
  filter: brightness(0) invert(1);
}
.site-map-brand > p {
  max-width: 340px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.7;
}
.site-map-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
}
.site-map-links div { display: grid; gap: 9px; }
.site-map-links strong {
  font-family: Montserrat, Inter, sans-serif;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-map-links a {
  color: rgba(255, 255, 255, .80);
  font-size: 14px;
  line-height: 1.35;
}
.site-map-links a:hover,
.site-map-links a:focus-visible { color: #fff; transform: translateX(2px); }
.site-map-bottom {
  width: min(var(--max), calc(100% - 44px));
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}
.footer-social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 50%;
  background: rgba(74, 43, 30, .28);
}
.footer-social-links img {
  width: 17px !important;
  height: 17px !important;
  filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
  body {
    width: 111.111%;
    margin-left: -5.5555%;
    zoom: .9;
  }
}

@media (max-width: 900px) {
  .content-header__inner {
    width: min(100% - 30px, var(--max));
    min-height: 70px;
  }
  .brand img { height: 38px; }
  .site-menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 15px;
    width: min(340px, calc(100vw - 30px));
    max-height: calc(100dvh - 92px);
    padding: 12px;
    display: none;
    overflow-y: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(34, 26, 22, .20);
  }
  .nav-links.is-open { display: grid; }
  .nav-links > a,
  .nav-dropdown__trigger { width: 100%; justify-content: space-between; min-height: 44px; }
  .nav-dropdown__panel {
    position: static;
    width: 100%;
    padding: 4px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown::after { display: none; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-story__media { min-height: 340px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card:first-child { grid-row: auto; min-height: 360px; }
  .topic-card:nth-child(4) { grid-column: auto; }
  .roadmap-list { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
  .site-map-strip__inner,
  .site-map-links { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hub-intro h1,
  .article-header h1 { font-size: clamp(38px, 11.6vw, 52px); }
  .featured-story__media { min-height: 250px; }
  .featured-story__content { padding: 28px 22px; }
  .topic-card { min-height: auto; }
  .article-hero { height: 300px; }
  .article-body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
