/* /wearables: page-level rules. Loaded after style.css and built on its tokens. */

.nav-links a[aria-current="page"] { color: var(--text); }

.wear-hero { padding-bottom: 64px; }
.wear-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  max-width: 16ch;
  margin-bottom: 24px;
}
.wear-hero .lead { max-width: 62ch; margin-bottom: 0; }

.wear-idea, .wear-about {
  max-width: var(--max); margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
}
.wear-idea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  column-gap: 64px;
  align-items: start;
}
.wear-idea .section-title { grid-column: 1 / -1; max-width: 24ch; }
.wear-about .section-title { max-width: 24ch; }
.wear-text p, .wear-about p { color: var(--text-dim); max-width: 62ch; }
.wear-text p + p { margin-top: 18px; }
.wear-about a { color: var(--accent); text-underline-offset: 3px; }
.wear-about a:hover { color: var(--accent-bright); }

/* The drawings are on light paper, so the card stays light in both themes.
   #fafafa is the paper colour inside the PNGs; it shows only while an image loads. */
.wear-fig {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fafafa;
}
.wear-fig a { display: block; cursor: zoom-in; }
.wear-fig a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.wear-fig img { width: 100%; }

/* The AirPods figure is two renders stacked, each with its own label strip. */
.wear-panel + .wear-panel { border-top: 1px solid #e4e4e4; }
.wear-label, .wear-note {
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #3a3f42;
}
.wear-note { border-top: 1px solid #e4e4e4; color: #5d6367; font-size: 13px; }

@media (max-width: 800px) {
  .wear-hero { padding-top: 64px; padding-bottom: 48px; }
  .wear-idea, .wear-about { padding: 56px 24px; }
  .wear-idea { grid-template-columns: minmax(0, 1fr); }
  .wear-fig { margin-top: 32px; }
}
