:root {
  --ink: #090a0d;
  --ink-soft: #12141a;
  --paper: #f1f0eb;
  --paper-bright: #fbfaf6;
  --line: rgba(18, 20, 25, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #5f646d;
  --acid: #b9f44a;
  --magenta: #ec1968;
  --violet: #9b3d96;
  --orange: #f9a31a;
  --blue: #8ed6ff;
  --max: 1240px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: 0.75rem 1rem; background: var(--acid); color: var(--ink); font-weight: 850; }
.skip-link:focus { top: 1rem; }

.technology-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  transform: translateX(-50%);
}
.technology-brand { display: inline-flex; }
.technology-brand img { width: 144px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3)); }
.technology-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2rem); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.technology-header nav a { text-decoration: none; }
.technology-header nav a:hover,
.technology-header nav a:focus-visible { color: var(--acid); }
.technology-header .nav-cta { padding: 0.55rem 0.85rem; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 3px; }

.technology-hero {
  min-height: 720px;
  padding: 150px max(1rem, calc((100vw - var(--max)) / 2)) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 90% 16%, rgba(142, 214, 255, 0.2), transparent 30rem),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 25% 100%, auto;
  color: #fff;
}
.technology-hero > div > p,
.technology-feature-copy > span,
.article-directory > header > p,
.technology-cta > p,
.more-heading > p { margin: 0 0 1.2rem; color: var(--acid); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.technology-hero h1 { max-width: 980px; margin: 0; font-size: clamp(4rem, 8.5vw, 8rem); line-height: 0.88; letter-spacing: -0.07em; }
.technology-hero > p { max-width: 360px; margin: 0 0 1rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.24); color: rgba(255, 255, 255, 0.66); font-size: 1.05rem; }

.technology-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.58fr);
  width: min(calc(100% - 2rem), var(--max));
  margin: clamp(5rem, 9vw, 9rem) auto;
  border: 1px solid var(--line);
}
.technology-feature-copy { padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: flex-end; background: var(--paper-bright); }
.technology-feature-copy > span { margin-bottom: auto; color: #608316; }
.technology-feature-copy h2 { margin: 4rem 0 1rem; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 0.96; letter-spacing: -0.055em; }
.technology-feature-copy p { margin: 0 0 2rem; color: var(--muted); }
.technology-feature-copy a { font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.technology-feature-copy a:hover { text-decoration: underline; text-underline-offset: 0.35rem; }

.article-directory { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 0 0 clamp(6rem, 11vw, 11rem); }
.article-directory > header { display: grid; grid-template-columns: 0.42fr 1.58fr; gap: 3rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.article-directory > header > p { color: #608316; }
.article-directory > header h2 { max-width: 920px; margin: 0; font-size: clamp(3rem, 6.5vw, 6.5rem); line-height: 0.92; letter-spacing: -0.065em; }
.article-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.article-card { min-height: 430px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.article-card:nth-child(even) { border-right: 0; }
.article-card > span { color: #6c7179; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.article-card h3 { max-width: 560px; margin: 4rem 0 1.2rem; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 0.98; letter-spacing: -0.05em; }
.article-card p { max-width: 580px; margin: 0 0 2rem; color: var(--muted); }
.article-card strong { margin-top: auto; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.article-card strong i { color: #608316; font-style: normal; }
.article-card:hover,
.article-card:focus-visible { background: var(--paper-bright); }

.technology-cta { padding: clamp(6rem, 10vw, 10rem) max(1rem, calc((100vw - var(--max)) / 2)); background: var(--acid); }
.technology-cta > p { color: #425c0f; }
.technology-cta h2 { max-width: 1000px; margin: 0 0 2.5rem; font-size: clamp(3.5rem, 8vw, 8rem); line-height: 0.9; letter-spacing: -0.07em; }
.technology-cta a { display: inline-block; padding: 1rem 1.3rem; border: 1px solid rgba(9, 10, 13, 0.42); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.09em; text-decoration: none; text-transform: uppercase; }

.article-hero { min-height: 780px; padding: 130px max(1rem, calc((100vw - var(--max)) / 2)) 60px; display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr); align-items: end; gap: clamp(3rem, 7vw, 7rem); background: var(--ink); color: #fff; }
.article-hero-copy { padding-bottom: 1rem; }
.article-back { display: inline-block; margin-bottom: 5rem; color: var(--acid); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0 0 1.5rem; color: rgba(255, 255, 255, 0.52); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.article-hero h1 { max-width: 720px; margin: 0; font-size: clamp(3.8rem, 7.3vw, 7.2rem); line-height: 0.88; letter-spacing: -0.07em; }
.article-summary { max-width: 650px; margin: 2rem 0 0; color: rgba(255, 255, 255, 0.7); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.article-hero-image { position: relative; overflow: hidden; min-height: 520px; }
.article-hero-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.16); }
.article-hero-image > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.article-hero-image .agency-scene { width: 100%; height: 100%; }
.article-hero-image .agency-scene > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.article-hero-image .agency-scene figcaption { display: none; }
.article-screen-badge {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: min(42%, 250px);
  min-height: 110px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 8, 11, 0.92);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.32);
}
.article-screen-badge img { width: 52%; min-height: 0; height: auto; object-fit: contain; }
.article-screen-badge small { color: rgba(255, 255, 255, 0.62); font-size: 0.58rem; font-weight: 820; letter-spacing: 0.1em; text-transform: uppercase; }

.article-body { display: grid; grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1.66fr); gap: clamp(2rem, 8vw, 8rem); width: min(calc(100% - 2rem), 1080px); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) 0; }
.article-index { position: sticky; top: 2rem; align-self: start; display: grid; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.article-index span { color: #608316; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.article-index strong { font-size: 0.82rem; }
.article-index a { margin-top: 2rem; font-size: 0.72rem; font-weight: 850; text-decoration: none; }
.article-copy { min-width: 0; }
.article-intro { margin-bottom: 4rem; }
.article-intro p { margin: 0 0 1.4rem; font-size: clamp(1.35rem, 2.7vw, 2rem); font-weight: 570; line-height: 1.5; letter-spacing: -0.02em; }

.article-flow { margin: 0 0 clamp(5rem, 9vw, 8rem); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: var(--ink); color: #fff; }
.article-flow figcaption { margin-bottom: 2rem; color: var(--acid); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.article-flow-nodes { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 0.55rem; }
.article-flow-nodes span { min-height: 112px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.7rem; font-weight: 800; line-height: 1.25; }
.article-flow-nodes span:nth-of-type(1) { border-top-color: var(--magenta); }
.article-flow-nodes span:nth-of-type(2) { border-top-color: var(--acid); }
.article-flow-nodes span:nth-of-type(3) { border-top-color: var(--violet); }
.article-flow-nodes span:nth-of-type(4) { border-top-color: var(--orange); }
.article-flow-nodes span:nth-of-type(5) { border-top-color: #929497; }
.article-flow-nodes b { color: rgba(255, 255, 255, 0.4); font-size: 0.64rem; }
.article-flow-nodes i { color: var(--acid); font-style: normal; }

.article-section { position: relative; margin: 0 0 clamp(4rem, 7vw, 6rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article-section > span { color: #608316; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; }
.article-section h2 { max-width: 720px; margin: 1.2rem 0 2rem; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.96; letter-spacing: -0.055em; }
.article-section p { max-width: 760px; margin: 0 0 1.4rem; color: #353941; font-size: 1.08rem; line-height: 1.8; }
.article-section ul { max-width: 720px; margin: 2rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-section li { position: relative; padding: 0.9rem 0 0.9rem 1.6rem; border-bottom: 1px solid var(--line); font-weight: 680; }
.article-section li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 0.42rem; height: 0.42rem; background: var(--acid); }
.article-copy blockquote { margin: clamp(5rem, 9vw, 8rem) 0; padding: 2rem 0 2rem clamp(1.5rem, 4vw, 3rem); border-left: 4px solid var(--acid); font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 760; line-height: 1.18; letter-spacing: -0.04em; }
.article-links { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-links > div { display: grid; }
.article-links p { margin: 0 0 1rem; color: #777b82; font-size: 0.66rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.article-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; font-weight: 780; text-decoration: none; }
.article-links a span { color: #608316; }

.more-articles { padding: clamp(6rem, 10vw, 10rem) max(1rem, calc((100vw - var(--max)) / 2)); background: var(--ink); color: #fff; }
.more-heading { display: grid; grid-template-columns: 0.4fr 1.6fr; gap: 3rem; margin-bottom: 4rem; }
.more-heading h2 { max-width: 900px; margin: 0; font-size: clamp(3rem, 6vw, 6rem); line-height: 0.94; letter-spacing: -0.06em; }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.more-grid a { min-height: 280px; padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.more-grid a:nth-child(even) { padding-left: 2rem; border-right: 0; }
.more-grid span { color: rgba(255, 255, 255, 0.48); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.more-grid h3 { max-width: 500px; margin: 4rem 0 0; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1; letter-spacing: -0.05em; }
.more-grid a:hover h3 { color: var(--acid); }

.technology-footer { min-height: 190px; padding: 2rem max(1rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: clamp(2rem, 6vw, 6rem); background: #050608; color: rgba(255, 255, 255, 0.64); }
.technology-footer img { width: 145px; }
.technology-footer p { max-width: 520px; margin: 0; }
.technology-footer nav { display: grid; gap: 0.55rem; font-size: 0.75rem; font-weight: 800; }
.technology-footer nav a { text-decoration: none; }
.technology-footer nav a:hover { color: var(--acid); }

@media (max-width: 980px) {
  .technology-header nav a:not(.nav-cta) { display: none; }
  .technology-hero,
  .article-hero { grid-template-columns: 1fr; }
  .technology-hero { min-height: 760px; }
  .technology-feature { grid-template-columns: 1fr; }
  .article-hero-image { min-height: 420px; }
  .article-hero-image > img { min-height: 420px; }
  .article-hero-image .agency-scene > img { min-height: 420px; }
  .article-body { grid-template-columns: 1fr; }
  .article-index { position: static; grid-template-columns: 1fr 1fr; }
  .article-index a { grid-column: 1 / -1; margin-top: 0; }
  .technology-footer { grid-template-columns: 150px 1fr; }
  .technology-footer nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .technology-header { min-height: 68px; }
  .technology-brand img { width: 118px; }
  .technology-hero { min-height: 680px; padding-top: 112px; grid-template-columns: 1fr; gap: 3rem; }
  .technology-hero h1 { font-size: clamp(3.7rem, 18vw, 5.5rem); }
  .technology-feature { margin-block: 4rem; }
  .article-directory > header,
  .more-heading { grid-template-columns: 1fr; gap: 1rem; }
  .article-directory-grid,
  .more-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 340px; border-right: 0; }
  .article-card h3 { margin-top: 2.8rem; }
  .article-hero { min-height: auto; padding-top: 108px; }
  .article-back { margin-bottom: 3rem; }
  .article-hero h1 { font-size: clamp(3.4rem, 16vw, 5.3rem); }
  .article-hero-image,
  .article-hero-image > img { min-height: 300px; }
  .article-hero-image .agency-scene > img { min-height: 300px; }
  .article-flow { margin-inline: -1rem; }
  .article-flow-nodes { grid-template-columns: 1fr; }
  .article-flow-nodes i { transform: rotate(90deg); text-align: center; }
  .article-flow-nodes span { min-height: 78px; }
  .article-links { grid-template-columns: 1fr; }
  .more-grid a,
  .more-grid a:nth-child(even) { min-height: 220px; padding: 2rem 0; border-right: 0; }
  .more-grid h3 { margin-top: 2.5rem; }
  .technology-footer { grid-template-columns: 1fr; padding-block: 3rem; }
  .technology-footer nav { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
