/* ==========================================================================
   asyoutosh — homepage workbench
   Visual system reproduced from the approved Claude reference export
   (design-prototypes/blog-redesign/reference/claude-export) with the
   requested homepage changes applied. Content and links: workbench home.html.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */

:root {
  --paper: #fcfbf9;
  --paper-warm: #f5f0e7;
  --ink: #16181d;
  --body: #3b3f47;
  --muted: #8a90a0;
  --accent: #ea5413;
  --accent-deep: #c8410c;
  --accent-wash: rgba(234, 84, 19, 0.12);
  --accent-hl: rgba(234, 84, 19, 0.14);
  --line: #e6decf;
  --line-strong: #d8cdb9;
  --stripe-a: #efe8db;
  --stripe-b: #f3ede2;
  --dot-idle: #c9bfb4;

  --dark: #1c1f27;
  --dark-line: #2c313c;
  --dark-line-soft: rgba(236, 230, 217, 0.12);
  --cream: #ece6d9;
  --dark-muted: #8e94a1;

  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --container: 1280px;
  --gutter: clamp(24px, 5vw, 64px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-lg: 0 26px 52px -40px rgba(20, 22, 27, 0.55);
  --shadow-md: 0 22px 44px -36px rgba(20, 22, 27, 0.5);
  --shadow-sm: 0 18px 36px -30px rgba(20, 22, 27, 0.5);
}

/* 2. Reset and base ------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Shared primitives --------------------------------------------------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  padding: 14px 26px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  padding: 14px 22px;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn--header {
  padding: 9px 17px;
  font-size: 13px;
}

.btn--form {
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.btn__arrow {
  font-size: 1.05em;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-wash);
  padding: 3px 9px;
  border-radius: 20px;
}

.tag--sm {
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 2px 7px;
}

/* 4. Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 251, 249, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 15px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.main-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--body);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
}

.search-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--body);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.search-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  place-items: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.mobile-menu[data-open="true"] {
  display: block;
}

.mobile-menu nav {
  padding: 14px var(--gutter) 22px;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--body);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* 5. Hero ------------------------------------------------------------------ */

.hero {
  padding: clamp(60px, 8.5vh, 116px) 0 clamp(40px, 5.5vh, 68px);
}

.hero__inner {
  max-width: 960px;
  margin-inline: auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.hero__title .hl {
  font-style: italic;
  background: var(--accent-hl);
  color: var(--accent-deep);
  padding: 0.02em 0.16em;
  border-radius: 8px;
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

/* 6. Ticker ------------------------------------------------------------------ */

.ticker {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.ticker__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex: 0 0 auto;
  animation: asy-pulse 2.4s ease-in-out infinite;
}

.ticker__viewport {
  overflow: hidden;
  flex: 1 1 0%;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: asy-ticker 46s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--body);
  white-space: nowrap;
}

.ticker__cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.ticker__sep {
  color: var(--line-strong);
  font-size: 8px;
}

@keyframes asy-pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 84, 19, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(234, 84, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 84, 19, 0); }
}

@keyframes asy-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__pulse,
  .ticker__track {
    animation: none !important;
  }
}

/* 7. Section chrome ----------------------------------------------------------- */

.section {
  padding: clamp(72px, 9vh, 104px) 0;
}

.section--warm {
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  font-size: clamp(34px, 3.4vw, 48px);
}

.section__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.section__link:hover {
  color: var(--accent);
}

/* 8. Cards and media ------------------------------------------------------------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card--feature:hover {
  box-shadow: var(--shadow-lg);
}

.card--read:hover {
  box-shadow: var(--shadow-md);
}

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    var(--stripe-a),
    var(--stripe-a) 11px,
    var(--stripe-b) 11px,
    var(--stripe-b) 22px
  );
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  padding: 5px 9px;
  border-radius: 5px;
}

.media__chip--top {
  left: 16px;
  bottom: auto;
  top: 16px;
  border-radius: 20px;
  padding: 4px 9px;
}

.card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.card__title a {
  transition: color 0.2s ease;
}

.card__title a:hover {
  color: var(--accent-deep);
}

.card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.read-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-deep);
}

.read-link--lg {
  font-size: 14px;
}

/* 9. The Latest Buzz --------------------------------------------------------------- */

.buzz__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.card--feature {
  display: flex;
  flex-direction: column;
}

.media--feature {
  aspect-ratio: 16 / 8;
}

.card__body--feature {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}

.card__title--feature {
  font-size: 29px;
  line-height: 1.13;
  margin: 16px 0 10px;
}

.card__body--feature .card__excerpt {
  margin-bottom: 16px;
}

.card__date {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.buzz__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.side-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  background: var(--paper);
  transition: box-shadow 0.25s ease;
}

.side-card:hover {
  box-shadow: var(--shadow-sm);
}

.side-card__thumb {
  display: block;
  width: 104px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stripe-a);
}

.side-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-card__body {
  min-width: 0;
}

.side-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.side-card__date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.side-card__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.2s ease;
}

.side-card:hover .side-card__title {
  color: var(--accent-deep);
}

.lane-feature {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  transition: box-shadow 0.25s ease;
}

.lane-feature:hover {
  box-shadow: var(--shadow-md);
}

.media--lane {
  flex: 1 1 0%;
  min-height: 118px;
}

.lane-feature__body {
  padding: 18px 22px 20px;
}

.lane-feature__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
}

.lane-feature__meta {
  margin: 9px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* 10. Carousel chrome (side arrows) --------------------------------------------------- */

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.8vw, 22px);
  align-items: center;
}

.arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.arrow-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.arrow-btn[disabled] {
  opacity: 0.35;
  cursor: default;
}

.arrow-btn[disabled]:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.dots[hidden] {
  display: none;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--dot-idle);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dots button[aria-current="true"] {
  background: var(--ink);
}

/* 11. Reads Worth Your Time ------------------------------------------------------------ */

.reads__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reads__track::-webkit-scrollbar {
  display: none;
}

.reads__track > .card--read {
  scroll-snap-align: start;
}

.media--read {
  aspect-ratio: 16 / 10;
}

.card__body--read {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}

.card__title--read {
  font-size: 22px;
  line-height: 1.16;
  margin: 0 0 10px;
}

.card__excerpt--read {
  font-size: 14px;
  margin: 0 0 18px;
}

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* 11. Step-by-Step. Zero Confusion. -------------------------------------------------------- */

.guides__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.guides__track::-webkit-scrollbar {
  display: none;
}

.guides__track > .guide-feature {
  scroll-snap-align: start;
}

.guide-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.media--guide {
  min-height: 300px;
  height: 100%;
}

.guide-feature__body {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.guide-feature__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.guide-feature__read {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.card__title--guide {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.card__excerpt--guide {
  font-size: 15px;
  margin: 0 0 18px;
}

.lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.card--lane:hover {
  border-color: var(--accent);
}

.card__body--lane {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  height: 100%;
}

.lane__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.lane__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: var(--accent-wash);
  padding: 3px 8px;
  border-radius: 20px;
}

.lane__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.card__title--lane {
  font-size: 21px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.card__excerpt--lane {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 16px;
}

.lane__cta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
}

/* 12. Software Coverage Lanes ---------------------------------------------------------------- */

.soft__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card--soft {
  display: flex;
  flex-direction: column;
}

.media--soft {
  aspect-ratio: 16 / 7;
}

.card__body--soft {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  align-items: flex-start;
}

.card__title--soft {
  font-size: 24px;
  line-height: 1.16;
  margin: 0 0 10px;
}

.card__excerpt--soft {
  font-size: 14px;
  margin: 0 0 16px;
}

.btn-mono {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 10px 16px;
  margin-top: auto;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.card--soft:hover .btn-mono {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.card__body--cat {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 184px;
  height: 100%;
}

.cat__icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.cat__icon--a { background: #c77d2e; }
.cat__icon--c { background: #5e8c6a; }
.cat__icon--r { background: #6c6fa6; }
.cat__icon--m { background: #b5607f; }

.card__title--cat {
  font-size: 20px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.card__excerpt--cat {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 16px;
}

/* 13. Footer (dark, Brand Visibility style) ---------------------------------------------------- */

.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  padding: 48px var(--gutter) 44px;
}

.footer__wrap {
  max-width: 1200px;
  margin-inline: auto;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dark-line-soft);
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--dark-muted);
}

.footer__cols {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.7fr;
  gap: 44px;
  padding: 40px 0 8px;
}

.footer__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin: 0 0 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--dark-muted);
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--cream);
}

.footer__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.footer__blurb {
  font-size: 14px;
  line-height: 1.5;
  margin: 12px 0 20px;
}

.footer__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__form input {
  flex: 1 1 0%;
  min-width: 120px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--cream);
  padding: 12px 14px;
  border: 1px solid rgba(236, 230, 217, 0.18);
  border-radius: 6px;
  background: rgba(236, 230, 217, 0.06);
}

.footer__form input::placeholder {
  color: var(--dark-muted);
}

.footer__form input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.footer__note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark-muted);
  margin-top: 12px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--dark-line-soft);
}

.footer__legal a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--dark-muted);
  transition: color 0.15s ease;
}

.footer__legal a:hover {
  color: var(--cream);
}

/* 14. Responsive --------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .search-btn {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .reads__track {
    grid-auto-columns: calc((100% - 22px) / 2);
  }

  .lanes,
  .cats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__signal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .buzz__grid {
    grid-template-columns: 1fr;
  }

  .buzz__side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .guide-feature {
    grid-template-columns: 1fr;
  }

  .media--guide {
    min-height: 0;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .guide-feature__body {
    padding: 28px 26px 30px;
  }

  .soft__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .carousel {
    gap: 10px;
  }

  .arrow-btn {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .reads__track {
    grid-auto-columns: 86%;
  }

  .media--guide {
    min-height: 0;
  }

  .buzz__side {
    grid-template-columns: 1fr;
  }

  .lanes,
  .cats {
    grid-template-columns: 1fr;
  }

  .card__body--feature {
    padding: 22px 20px 24px;
  }

  .card__title--feature {
    font-size: 24px;
  }

  .card__title--guide {
    font-size: 26px;
  }

  .guide-feature__body {
    padding: 24px 20px 26px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ticker__label {
    padding: 0 14px;
    font-size: 10px;
  }

  .ticker__item {
    padding: 12px 18px;
    font-size: 13px;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .side-card {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }

  .side-card__thumb {
    width: 88px;
    height: 70px;
  }
}

/* WordPress integration --------------------------------------------------
   The approved prototype owns only the front page. These selectors adapt the
   existing shared header/footer markup without changing either template part.
   ----------------------------------------------------------------------- */

body.home,
body.home .wp-site-blocks {
  background: var(--paper);
  color: var(--ink);
}

body.home::before {
  display: none;
}

body.home .wp-site-blocks {
  padding: 0;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header {
  background: rgba(252, 251, 249, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-sans);
  position: sticky;
  top: 0;
  z-index: 40;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header > div:first-child {
  margin-inline: auto;
  max-width: var(--container);
  padding-inline: var(--gutter);
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header > div:first-child > div {
  height: 68px;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header a {
  color: inherit;
  text-decoration: none;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header > div:first-child > div > a:first-child {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header .header-subscribe-link {
  background: var(--accent);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  opacity: 1;
  padding: 9px 17px;
  text-transform: none;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header .header-subscribe-link:hover {
  background: var(--accent-deep);
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header [data-search-toggle],
:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header #mobileSearchBtn,
:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header #mobileMenuBtn {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header #mobileSearchBtn,
:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header #mobileMenuBtn {
  align-items: center;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header #mobileSearchPanel,
:is(body.home, body.asy-legal-body, body.asy-discovery-redesign-page) .asy-final-header #mobileMenu {
  background: var(--paper);
  border-color: var(--line);
}

body.home .asy-homepage-v2 {
  background: var(--paper);
  color: var(--ink);
  display: block;
  font-family: var(--font-sans);
  overflow: clip;
}

body.home .asy-homepage-v2 .media--empty,
body.home .asy-homepage-v2 .side-card__thumb--empty {
  background:
    repeating-linear-gradient(-45deg, var(--stripe-a) 0 10px, var(--stripe-b) 10px 20px);
}

body.home .asy-homepage-v2 .side-card--lane-fill {
  min-height: 0;
}

body.home .asy-homepage-v2 .card__title a,
body.home .asy-homepage-v2 .section__link,
body.home .asy-homepage-v2 .read-link,
body.home .asy-homepage-v2 .lane__cta,
body.home .asy-homepage-v2 .btn-mono {
  text-decoration: none;
}

body.home .asy-final-footer {
  background: var(--dark);
  border-color: var(--dark-line);
  color: var(--cream);
  font-family: var(--font-sans);
  padding: 64px var(--gutter) 30px;
}

body.home .asy-final-footer > div {
  margin-inline: auto;
  max-width: var(--container);
}

body.home .asy-final-footer a {
  color: inherit;
  text-decoration: none;
}

body.home .asy-final-footer p,
body.home .asy-final-footer li,
body.home .asy-final-footer .text-muted {
  color: var(--dark-muted);
}

body.home .asy-final-footer h3,
body.home .asy-final-footer > div > div:first-child a:first-child {
  color: var(--cream);
  font-family: var(--font-serif);
}

body.home .asy-final-footer .footer-signal-form__row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(110px, 0.75fr) minmax(180px, 1fr) auto;
}

body.home .asy-final-footer .footer-signal-form__field {
  display: grid;
  gap: 6px;
}

body.home .asy-final-footer .footer-signal-form__label {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.home .asy-final-footer .footer-signal-form__input {
  background: #242832;
  border: 1px solid var(--dark-line);
  border-radius: 5px;
  color: var(--cream);
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

body.home .asy-final-footer .footer-signal-form__button {
  background: var(--accent);
  border: 0;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  padding: 10px 18px;
}

body.home .asy-final-footer .footer-signal-form__button:hover {
  background: var(--accent-deep);
}

body.home .asy-final-footer .footer-signal-form__note,
body.home .asy-final-footer .footer-signal-form__status {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  margin-top: 8px;
}

body.home .asy-final-footer .border-borderline {
  border-color: var(--dark-line);
}

@media (max-width: 782px) {
  body.home .asy-final-footer {
    padding-inline: 24px;
  }

  body.home .asy-final-footer .footer-signal-form__row {
    grid-template-columns: 1fr;
  }

  body.home .asy-final-footer .footer-signal-form__button {
    width: 100%;
  }
}

body.home .site-footer .footer-signal-form__status {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  margin: 10px 0 0;
  min-height: 1.45em;
}

body.home .site-footer .footer-signal-form__status[data-state="success"] {
  color: #9fd3b8;
}

body.home .site-footer .footer-signal-form__status[data-state="error"] {
  color: #e9a59e;
}

/* Published Software thumbnails in the four supporting homepage cards. */
.asy-homepage-v2 .card__body--cat > .media {
  flex-shrink: 0;
  margin-bottom: 16px;
  border-radius: 8px;
}
