.making-section {
  --making-line: #c4cbc2;
  padding: clamp(4.5rem, 7.4vw, 8rem) clamp(1.2rem, 5vw, 6.5rem);
  background: var(--paper, #f7f8f4);
  color: var(--ink, #10221e);
  scroll-margin-top: 1rem;
}
.making-inner { max-width: 1400px; margin-inline: auto; }
.making-header {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 1rem 8%;
  align-items: end;
}
.making-kicker {
  margin-bottom: 1rem;
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: .105em;
}
.making-header h2 {
  font: 460 clamp(3rem, 6.1vw, 6.4rem)/.94 var(--sans, sans-serif);
  letter-spacing: -.06em;
}
.making-header h2 em {
  display: inline-block;
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.making-intro {
  max-width: 42ch;
  font-size: clamp(1rem, 1.38vw, 1.25rem);
  line-height: 1.5;
  color: #44534b;
}
.making-intro cite { font-style: italic; color: var(--ink, #10221e); }
.making-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: clamp(2rem, 3.5vw, 3.7rem) 0 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--making-line);
}
.making-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .35rem .95rem;
  border: 1px solid var(--making-line);
  border-radius: 2rem;
  font-size: .93rem;
  line-height: 1.15;
  color: var(--ink, #10221e);
  text-decoration: none;
}
.making-tab[aria-selected="true"] {
  background: var(--ink, #10221e);
  border-color: var(--ink, #10221e);
  color: var(--paper, #f7f8f4);
}
.making-tab:focus-visible, .making-panel:focus-visible {
  outline: 3px solid #37699c;
  outline-offset: 3px;
}
@media (hover: hover) {
  .making-tab:hover { border-color: var(--ink, #10221e); }
}
.making-panels { display: grid; gap: 1rem; }
.making-panel {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: .35rem;
  background: var(--dark, #101716);
  color: var(--paper, #f7f8f4);
  scroll-margin-top: 1rem;
}
.making-panel[hidden] { display: none; }
.making-frame {
  width: 100%;
  height: 100%;
  min-width: 0;
  aspect-ratio: 836 / 470;
  object-fit: cover;
}
.making-caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.65rem, 3.1vw, 3.3rem);
}
.making-caption h3 {
  margin: 0 0 .85rem;
  font: italic 400 clamp(2.25rem, 3.55vw, 3.85rem)/.99 var(--serif, Georgia, serif);
  letter-spacing: -.035em;
  color: var(--acid, #e7f0bd);
  text-wrap: balance;
}
.making-caption p {
  margin: 0;
  max-width: 39ch;
  font-size: clamp(.94rem, 1.12vw, 1.125rem);
  line-height: 1.5;
  color: #e0e5dd;
}
@media (max-width: 760px) {
  .making-header, .making-panel { grid-template-columns: 1fr; }
  .making-panel { grid-template-rows: auto 1fr; }
  .making-kicker { margin-bottom: .8rem; }
  .making-intro { max-width: 57ch; }
  .making-frame { height: auto; }
  .making-caption { padding: 1.4rem 1.5rem 1.65rem; }
  .making-caption p { max-width: 60ch; }
}
@media (max-width: 460px) {
  .making-tabs { display: grid; grid-template-columns: max-content max-content; justify-content: start; }
  .making-tab { justify-self: start; }
}

/* The four tabs share a grid cell so changing the active caption does not
   move the content below. Without scripting each panel stays in document flow. */
.making-tabs[role="tablist"] + .making-panels > .making-panel { grid-area: 1 / 1; }
.making-tabs[role="tablist"] + .making-panels > .making-panel[hidden] {
  display: grid;
  visibility: hidden;
  pointer-events: none;
}
.making-composite { position: relative; overflow: hidden; }
.making-landscape { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.making-reel-inset {
  position: absolute;
  right: 7%;
  bottom: 8%;
  height: 77%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: #111;
  overflow: hidden;
  box-shadow: 0 3px 16px #000a;
}
.making-reel-inset img { display: block; width: 100%; height: 100%; object-fit: contain; }
.making-reel-inset::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #f8f5e8;
  border-radius: inherit;
  pointer-events: none;
}
