/* ==========================================================================
   Gear — three camera bodies, a frame from each, and the numbers
   ========================================================================== */

.gear-head {
  max-width: 76rem;
  margin-inline: auto;
  padding: var(--space-section) var(--pad) 0;
}
.gear-head__eyebrow {
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gear-head__eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  margin-right: 0.9rem;
  background: var(--muted);
  vertical-align: middle;
}
.gear-head__title {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.gear-head__title em {
  color: var(--accent);
}
.gear-head__lead {
  max-width: 40ch;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.25;
}

/* ---------- Cameras ---------- */
.cams {
  max-width: 76rem;
  margin: var(--space-section) auto 0;
  padding-inline: var(--pad);
}
.cam {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: var(--space-section);
  border-top: 1px solid var(--line);
}
#cam-2 .cam__frame {
  order: -1;
}
@media (max-width: 860px) {
  .cam {
    grid-template-columns: minmax(0, 1fr);
  }
  .cam .cam__frame {
    order: -1;
  }
}
.cam__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cam__name {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.cam__kicker {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--muted);
}
.cam__desc {
  max-width: 40ch;
  margin-top: 0.75rem;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 80%, var(--bg));
}

/* The frame: a photo inside viewfinder corners, with its settings underneath */
.cam__frame {
  position: relative;
  margin: 0;
  padding: 0.9rem;
}
.cam__frame img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #0c0c0c;
}
.cam__corner {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--ink);
}
.cam__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cam__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cam__corner--bl { bottom: 2.6rem; left: 0; border-right: 0; border-top: 0; }
.cam__corner--br { right: 0; bottom: 2.6rem; border-left: 0; border-top: 0; }
.cam__readout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cam__readout span:first-child {
  color: var(--ink);
}

/* ---------- Ask ---------- */
.ask {
  max-width: 76rem;
  margin-inline: auto;
  padding: var(--space-section) var(--pad) 0;
}
.ask__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1;
}
.ask__text {
  max-width: 40ch;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.3;
}

/* ---------- Lenses ---------- */
.lenses {
  max-width: 76rem;
  margin-inline: auto;
  padding: var(--space-section) var(--pad) var(--space-section);
  border-top: 1px solid var(--line);
}
.lenses__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}
.lenses__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.lens {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t), translate var(--t) var(--ease);
}
.lens:hover {
  border-color: var(--accent);
  translate: 0 -3px;
}
/* A faint ring of lens elements in the corner */
.lens::before,
.lens::after {
  content: "";
  position: absolute;
  top: -4.5rem;
  right: -4.5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color var(--t), scale var(--t-slow) var(--ease);
}
.lens::after {
  top: -2.5rem;
  right: -2.5rem;
  width: 9rem;
  height: 9rem;
}
.lens:hover::before,
.lens:hover::after {
  border-color: rgb(255 74 61 / 0.45);
  scale: 1.06;
}
.lens__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.lens__name {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.lens__kicker {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--muted);
}
.lens__desc {
  max-width: 38ch;
  margin-top: 0.6rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 80%, var(--bg));
}

/* ---------- Light ---------- */
.lenses {
  padding-bottom: 0;
}
.lights {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 76rem;
  margin: var(--space-section) auto 0;
  padding: var(--space-section) var(--pad);
  border-top: 1px solid var(--line);
  isolation: isolate;
}
/* A soft pool of light behind the section */
.lights::before {
  content: "";
  position: absolute;
  inset: 0 10% 0 -10%;
  z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 22% 45%, rgb(255 244 228 / 0.1), transparent 70%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .lights {
    grid-template-columns: minmax(0, 1fr);
  }
}
.lights__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}
.lights__brand {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.1;
  color: color-mix(in srgb, var(--ink) 80%, var(--bg));
}
.lights__brand strong {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--fs-4xl);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lights__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lights__list li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.1;
  transition: color var(--t-fast), padding-left var(--t) var(--ease);
}
.lights__list li:first-child {
  border-top: 1px solid var(--line);
}
.lights__list li:hover {
  padding-left: 0.75rem;
  color: var(--accent);
}
.lights__list span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- Field of view ---------- */
.fov {
  max-width: 76rem;
  margin: var(--space-section) auto 0;
  padding: var(--space-section) var(--pad) 0;
  border-top: 1px solid var(--line);
}
.fov__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}
.fov__text {
  max-width: 46ch;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.3;
}
.fov__stage {
  margin-top: 2.5rem;
}
.fov__view {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0c0c0c;
}
.fov__view img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
}
/* The frame of the longer lens; everything outside it is dimmed */
.fov__frame {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0 100vmax rgb(4 4 4 / 0.72);
}
.fov__frame i {
  position: absolute;
  width: clamp(0.6rem, 2vw, 1.5rem);
  height: clamp(0.6rem, 2vw, 1.5rem);
  border: 2px solid var(--ink);
  transition: border-color var(--t);
}
.fov__frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.fov__frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.fov__frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.fov__frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.fov.is-covered .fov__frame i {
  border-color: var(--accent);
}
.fov__controls {
  margin-top: 1.5rem;
}
.fov__readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.25rem;
  margin-bottom: 1rem;
}
.fov__readout b {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fov__readout span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: color var(--t);
}
.fov.is-covered .fov__readout span {
  color: var(--accent);
}
.fov__range {
  --fill: 0%;
  width: 100%;
  height: 1.75rem;
  margin: 0;
  background: none;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
.fov__range:active {
  cursor: grabbing;
}
.fov__range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--ink) var(--fill), var(--line) var(--fill));
}
.fov__range::-moz-range-track {
  height: 2px;
  background: linear-gradient(90deg, var(--ink) var(--fill), var(--line) var(--fill));
}
.fov__range::-webkit-slider-thumb {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: calc(-0.7rem + 1px);
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  -webkit-appearance: none;
  appearance: none;
}
.fov__range::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
}
.fov__range:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
/* Under the slider: where my two lenses sit on the 35–200 mm line */
.fov__scale {
  position: relative;
  height: 2.75rem;
  margin: 0.25rem 0.7rem 0;
}
.fov__band {
  position: absolute;
  top: 0;
  left: 21.2%; /* 70 mm */
  right: 0; /* 200 mm */
  height: 4px;
  background: rgb(255 74 61 / 0.35);
}
.fov__tick {
  position: absolute;
  top: -3px;
  left: 30.3%; /* 85 mm */
  width: 2px;
  height: 10px;
  background: var(--accent);
}
.fov__scale button {
  position: absolute;
  top: 0.75rem;
  translate: -50% 0;
  padding: 0.3rem 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: color var(--t-fast);
}
.fov__scale button:hover {
  color: var(--accent);
}
.fov__scale button:nth-of-type(1) { left: 0; }
.fov__scale button:nth-of-type(2) { left: 30.3%; }
.fov__scale button:nth-of-type(3) { left: 60.6%; }
.fov__scale button:nth-of-type(4) { left: 100%; }

/* Tighter page: a camera per screen at most, less air between sections */
.cam {
  padding-block: clamp(2rem, 5vw, 4rem);
}
.cam__frame img {
  max-height: 62vh;
}
.cams {
  margin-top: clamp(2rem, 5vw, 4rem);
}
.lenses,
.fov,
.lights {
  margin-top: 0;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.lights {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.ask {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
