/* ============================================================================
   WorldWideTradeX - main.css
   Traditional CSS port of the Next.js/Tailwind v4 design system.
   Single source of truth for tokens: DESIGN.md.
   Visual target: homepage-visual-reference.html (approved direction).
   No build step. Plain CSS, CSS custom properties, mobile-first.
   ========================================================================== */

:root {
  /* Neutrals - warm concrete graphite, never pure black/white */
  --wwt-ink: #16181d;
  --wwt-ink-2: #2a2d34;
  --wwt-ink-3: #54585f;
  --wwt-paper: #f5f5f4;
  --wwt-paper-2: #ececea;
  --wwt-paper-mute: #a9aba6;
  --wwt-line: #e2e2de;
  --wwt-line-strong: #cfcfca;
  --wwt-line-dark: #2c2f36;

  /* Accent - locked Anatolian Rust */
  --wwt-accent: #b0431f;
  --wwt-accent-hover: #8e3417;
  --wwt-accent-soft: rgba(176, 67, 31, 0.08);
  --wwt-accent-light: #e8a589; /* lighter rust, for accent text on dark */
  --wwt-white: #ffffff;

  /* Type families. Self-hosted woff2 live in /assets/fonts (see @font-face
     block at bottom). Google Fonts is the working fallback until local files
     are dropped in. */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Locked radius system */
  --r-btn: 10px;
  --r-card: 14px;
  --r-pill: 999px;

  /* Easing tokens */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);

  /* Max content width */
  --maxw: 1320px;
}

/* ----------------------------------------------------------------- base -- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--wwt-paper);
  color: var(--wwt-ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--wwt-accent);
  color: var(--wwt-white);
}
:focus-visible {
  outline: 2px solid var(--wwt-accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------- layout ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}
@media (min-width: 768px) {
  .wrap {
    padding-inline: 48px;
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--wwt-accent);
}
.eyebrow.on-dark {
  color: var(--wwt-accent-light);
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
  font-weight: 600;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.lede {
  font-size: 1.125rem;
  color: var(--wwt-ink-3);
  max-width: 60ch;
  line-height: 1.6;
}
.mono {
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------ buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: var(--r-btn);
  padding: 0.875rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s var(--ease-out-expo),
    border-color 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo);
}
.btn .arw {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s var(--ease-out-expo);
}
.btn:hover .arw {
  transform: translateX(0.25rem);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--wwt-accent);
  color: var(--wwt-white);
}
.btn-primary:hover {
  background: var(--wwt-accent-hover);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(22, 24, 29, 0.15);
  color: var(--wwt-ink);
}
.btn-ghost:hover {
  border-color: var(--wwt-accent);
  color: var(--wwt-accent);
}
.btn-ghost.on-dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--wwt-paper);
}
.btn-ghost.on-dark:hover {
  border-color: var(--wwt-accent-light);
  color: var(--wwt-accent-light);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ------------------------------------------------------------ sections --- */
section,
.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.sec-dark {
  background: var(--wwt-ink);
  color: var(--wwt-paper);
}
.sec-dark .lede {
  color: var(--wwt-paper-mute);
}
.sec-band {
  background: var(--wwt-paper-2);
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 62ch;
  margin-bottom: 3rem;
}

/* --------------------------------------------------------------- nav ----- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  z-index: 50;
  margin-top: 0.75rem;
  padding-inline: 1rem;
  transition: top 0.3s var(--ease-out-expo);
}
@media (min-width: 768px) {
  .nav {
    padding-inline: 1.5rem;
  }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--r-pill);
  padding: 0.625rem 0.625rem 0.625rem 1.4rem;
  max-width: var(--maxw);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(22, 24, 29, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s var(--ease-out-expo),
    border-color 0.3s var(--ease-out-expo);
}
.nav.is-scrolled .nav-inner {
  border: 1px solid var(--wwt-line);
  background: rgba(245, 245, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--wwt-white);
  transition: color 0.3s var(--ease-out-expo);
}
.brand span {
  color: var(--wwt-accent-light);
  transition: color 0.3s var(--ease-out-expo);
}
.nav.is-scrolled .brand {
  color: var(--wwt-ink);
}
.nav.is-scrolled .brand span {
  color: var(--wwt-accent);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.3s var(--ease-out-expo);
}
.nav-links a:hover {
  color: var(--wwt-white);
}
.nav.is-scrolled .nav-links a {
  color: var(--wwt-ink);
}
.nav.is-scrolled .nav-links a:hover {
  color: var(--wwt-accent);
}
.nav-cta {
  display: none;
}
@media (min-width: 1024px) {
  .nav-cta {
    display: block;
  }
}
.nav-cta .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--wwt-white);
  transition: color 0.3s var(--ease-out-expo);
}
.nav.is-scrolled .nav-toggle {
  color: var(--wwt-ink);
}
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}
.nav-toggle span.bar {
  position: absolute;
  left: 0;
  height: 1px;
  width: 1.5rem;
  background: currentColor;
}
.nav-toggle span.bar:nth-child(1) {
  top: 0;
}
.nav-toggle span.bar:nth-child(2) {
  top: 0.375rem;
}
.nav-toggle span.bar:nth-child(3) {
  top: 0.75rem;
}
.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;
}

/* --------------------------------------------------- full-screen menu --- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--wwt-ink);
  color: var(--wwt-paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out-expo),
    visibility 0s linear 0.3s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease-out-expo);
}
.menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) {
  .menu-top {
    padding: 1.25rem 3rem;
  }
}
.menu-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.menu-close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-close span {
  position: absolute;
  height: 1px;
  width: 1.5rem;
  background: var(--wwt-paper);
}
.menu-close span:nth-child(1) {
  transform: rotate(45deg);
}
.menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}
.menu-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .menu-nav {
    padding-inline: 3rem;
  }
}
.menu-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--wwt-paper);
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.3s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo),
    transform 0.5s var(--ease-out-expo);
}
@media (min-width: 768px) {
  .menu-nav a {
    font-size: 2.5rem;
  }
}
.menu-nav a.is-cta {
  color: var(--wwt-accent);
}
.menu-nav a:hover {
  color: var(--wwt-accent);
}
.menu.is-open .menu-nav a {
  opacity: 1;
  transform: translateY(0);
}
.menu-foot {
  padding: 1rem 1.5rem 2.5rem;
}
@media (min-width: 768px) {
  .menu-foot {
    padding: 1rem 3rem 2.5rem;
  }
}
.menu-foot p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--wwt-paper-mute);
}

/* --------------------------------------------------------------- hero ---- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100dvh;
  overflow: hidden;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  background: linear-gradient(
    to top,
    rgba(15, 17, 21, 0.82) 0%,
    rgba(15, 17, 21, 0.25) 45%,
    rgba(15, 17, 21, 0.45) 100%
  );
}
.hero .wrap {
  position: relative;
  z-index: 10;
}
.hero h1 {
  color: var(--wwt-white);
  margin-top: 1.25rem;
}
.hero .eyebrow {
  margin-bottom: 1.2rem;
}
.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1.4rem;
}

/* ----------------------------------------------------- image frame ----- */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--wwt-paper-2);
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------- bento grid --- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }
}
.cell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--wwt-line);
  border-radius: var(--r-card);
  background: #fff;
  padding: 1.4rem;
  overflow: hidden;
}
.cell .ph {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--wwt-line);
}
.cell h3 {
  font-size: 1.15rem;
}
.cell p {
  font-size: 0.92rem;
  color: var(--wwt-ink-3);
}
@media (min-width: 768px) {
  .c-a {
    grid-column: span 7;
  }
  .c-b {
    grid-column: span 5;
  }
  .c-c,
  .c-d,
  .c-e {
    grid-column: span 4;
  }
}

/* ---------------------------------------------------- application grid -- */
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.app {
  overflow: hidden;
  border: 1px solid var(--wwt-line);
  border-radius: var(--r-card);
  background: #fff;
}
.app .ph {
  aspect-ratio: 3 / 2;
  border: 0;
  border-bottom: 1px solid var(--wwt-line);
  border-radius: 0;
}
.app .meta {
  padding: 1.1rem 1.25rem 1.3rem;
}
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wwt-accent);
  border: 1px solid var(--wwt-accent);
  border-radius: var(--r-pill);
  padding: 0.1875rem 0.625rem;
  margin-bottom: 0.7rem;
}
.app h3 {
  font-size: 1.1rem;
}

/* -------------------------------------------------------- metrics ------ */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}
.metric .num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--wwt-accent);
}
.metric .lab {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wwt-paper-mute);
  margin-top: 0.9rem;
}
.metrics.on-light {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.metrics.on-light .metric .num {
  color: var(--wwt-ink);
}
.metrics.on-light .metric .lab {
  color: var(--wwt-ink-3);
}

/* ----------------------------------------------------------- split ----- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.split .ph {
  aspect-ratio: 4 / 5;
}
/* Vertical rhythm inside the editorial split's text column */
.split > div:first-child > .eyebrow {
  display: block;
  margin-bottom: 1rem;
}
.split > div:first-child > h2 {
  margin-top: 0;
}
.split > div:first-child > .lede {
  margin-top: 1rem;
}
.split > div:first-child > .spec-list {
  margin-top: 2rem;
}
.split > div:first-child > .metrics {
  margin-top: 2.5rem;
}
.spec-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.spec-list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--wwt-line);
}
.spec-list li:last-child {
  border-bottom: 1px solid var(--wwt-line);
}
.spec-list .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wwt-accent);
  min-width: 9.5rem;
}
.spec-list .v {
  color: var(--wwt-ink-3);
  font-size: 0.95rem;
}

/* --------------------------------------------------- project gallery --- */
.gal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .gal {
    grid-template-columns: repeat(3, 1fr);
  }
}
.proj .ph {
  aspect-ratio: 3 / 4;
}
.proj .meta {
  padding-top: 1rem;
}
.proj .chip {
  color: var(--wwt-accent-light);
  border-color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.6rem;
}
.proj h3 {
  color: var(--wwt-white);
  font-size: 1.1rem;
}

/* --------------------------------------------------- business tiles --- */
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 760px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wwt-line);
  border-radius: var(--r-card);
  padding: 2rem;
  background: #fff;
}
.tile h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.tile p {
  color: var(--wwt-ink-3);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 42ch;
}
.tile .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ----------------------------------------------------- closing CTA ----- */
.cta-final {
  background: var(--wwt-ink);
  color: var(--wwt-white);
  text-align: center;
}
.cta-final h2 {
  color: var(--wwt-white);
  max-width: 18ch;
  margin: 0 auto;
}
.cta-final .eyebrow {
  margin-bottom: 1.2rem;
}
.cta-final .btn-row {
  justify-content: center;
}
.cta-final .contact {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--wwt-paper-mute);
  margin-top: 2rem;
}

/* ------------------------------------------------------------- footer --- */
.site-footer {
  border-top: 1px solid var(--wwt-line);
  background: var(--wwt-paper);
  color: var(--wwt-ink);
}
.site-footer .grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer .grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}
.site-footer .brand {
  color: var(--wwt-ink);
  font-size: 1.25rem;
}
.site-footer .tagline {
  margin-top: 0.75rem;
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--wwt-ink-3);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--wwt-ink-3);
}
.footer-col ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--wwt-ink);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}
.footer-col a:hover {
  color: var(--wwt-accent);
}
.site-footer .bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--wwt-line);
  padding-block: 1.5rem;
}
@media (min-width: 768px) {
  .site-footer .bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.site-footer .bottom p {
  font-size: 0.75rem;
  color: var(--wwt-ink-3);
}
.site-footer .bottom .mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* When the menu is open, lock body scroll */
body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Self-hosted fonts. Variable woff2 live in /assets/fonts (no external dep).
   Family names match the --font-* tokens used throughout this stylesheet.
   Weight ranges span each variable axis so every used weight resolves via
   interpolation - no synthetic bolding, typography unchanged.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/Archivo.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/HankenGrotesk.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono.woff2") format("woff2");
}

/* ------------------------------------------- ZIP Screen pillar (extensions) -- */
/* Inner-page hero: slightly shorter than the full homepage hero. */
.hero.page-hero {
  min-height: 82dvh;
}
/* Content grids (on-system: hairline cards, 2/3 columns). */
.grid-2,
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  border: 1px solid var(--wwt-line);
  border-radius: var(--r-card);
  background: #fff;
  padding: 1.6rem;
}
.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.card p {
  color: var(--wwt-ink-3);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Body copy column. */
.copy {
  color: var(--wwt-ink-2);
  max-width: 65ch;
  line-height: 1.7;
}
.copy + .copy {
  margin-top: 1rem;
}
/* Inline accent text link (underline draws on hover). */
.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--wwt-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out-expo);
}
.text-link:hover {
  border-color: var(--wwt-accent);
}
/* Tick list (used in comparison cards). */
.ticks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--wwt-ink-3);
  font-size: 0.95rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.5em;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--wwt-accent);
  border-bottom: 2px solid var(--wwt-accent);
  transform: rotate(-45deg);
}
/* Application cards as links to the future /applications/ page. */
a.app {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* Applications pillar: cluster card description text. */
.app .meta p {
  margin-top: 0.4rem;
  color: var(--wwt-ink-3);
  font-size: 0.95rem;
  line-height: 1.5;
}
/* FAQ accordion. */
.faq {
  border-top: 1px solid var(--wwt-line);
  margin-top: 2.5rem;
}
.faq details {
  border-bottom: 1px solid var(--wwt-line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ic {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--wwt-accent);
  flex: none;
  transition: transform 0.3s var(--ease-out-expo);
}
.faq details[open] summary .ic {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--wwt-ink-3);
  max-width: 72ch;
  padding: 0 0 1.4rem;
  margin: 0;
  line-height: 1.65;
}
/* Applications residential: alternate split direction for editorial rhythm.
   Only affects the 2-column desktop layout; mobile stays single-column. */
.split.reverse {
  direction: rtl;
}
.split.reverse > * {
  direction: ltr;
}
/* Applications residential: anchor-chip jump nav for residential environments. */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
