/* Main office only: flat reference composition; existing gallery owns image cycling. */
#office.nf-ideas {
  background: #090909;
  border: 0;
  box-shadow: none;
  padding-top: clamp(44px, 4vw, 64px);
}
#office > .nf-glow, #office::before, #office::after { display: none; }
#office .nf-ideas-head {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
#office .nf-ideas-left { min-width: 0; gap: 14px; }
#office .nf-kicker {
  font-family: 'TikTok Sans', sans-serif;
  font-size: clamp(20px, 1.67vw, 24px) !important; /* Legacy m10 kicker is !important. */
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: 0;
  line-height: 1.15;
  color: #c40123;
}
#office .nf-ideas-head h2 {
  font-family: 'TikTok Sans', sans-serif;
  font-size: clamp(32px, 4.2vw, 60px);
  font-weight: 400;
  font-stretch: normal;
  font-variation-settings: 'wdth' 100;
  letter-spacing: 0;
  line-height: 1.06;
  color: #fff;
  overflow-wrap: normal;
  word-break: normal;
}
#office .nf-ideas-head h2 span { display: block; white-space: nowrap; }
#office .nf-ideas-copy { display: flex; flex-direction: column; gap: 22px; padding-top: 0; padding-bottom: 0; min-width: 0; }
#office .nf-ideas-copy p {
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  color: #eee;
  padding: 0;
  margin: 0;
  border: 0;
}
#office .office-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 14px 22px;
  box-sizing: border-box;
  border: 1px solid #626262;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: 'TikTok Sans', sans-serif;
  font-size: clamp(18px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
#office .office-contact:hover { background: #242424; border-color: #aaa; }
#office .office-contact:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
#office .nf-trip { grid-template-columns: 1fr 1.5fr 1fr; gap: 20px; margin-top: 36px; align-items: stretch; }
#office .nf-trip figure { grid-column: auto; grid-row: auto; margin: 0; transform: none; border: 0; border-radius: 24px; height: clamp(220px, 25vw, 360px); box-shadow: none; }
#office .nf-trip figure:nth-child(2) { margin-top: 0; transform: none; }
#office .nf-trip figure::after { display: none; }
#office .nf-shot { filter: none; }
@media (max-width: 1000px) {
  #office .nf-ideas-head { grid-template-columns: minmax(0, 1fr) minmax(230px, .65fr); gap: 28px; }
  #office .nf-ideas-head h2 { font-size: clamp(32px, 4.2vw, 42px); }
  #office .office-contact { min-height: 60px; padding-inline: 14px; font-size: 18px; }
  #office .nf-trip figure:nth-child(2) { margin-top: 0; }
}
@media (max-width: 700px) {
  #office.nf-ideas { padding: 44px 20px 48px; }
  #office .nf-ideas-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #office .nf-ideas-head h2 { font-size: clamp(30px, 8.5vw, 48px); line-height: 1.06; }
  #office .nf-ideas-copy { gap: 20px; align-items: flex-start; }
  #office .nf-ideas-copy p { font-size: 20px; max-width: 340px; }
  #office .office-contact { min-height: 58px; padding: 14px 22px; font-size: 20px; max-width: 100%; }
  #office .nf-trip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; margin-top: 32px; }
  #office .nf-trip figure, #office .nf-trip figure:nth-child(2) { margin: 0; height: clamp(120px, 38vw, 240px); aspect-ratio: auto; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #office .office-contact { transition: none; }
}

/* Wide room photograph in the central pane; local positions are assigned per frame. */
#office .nf-trip figure:first-child .nf-shot { object-position: 35% 50%; }
#office .nf-trip figure:last-child .nf-shot { object-position: 54% 50%; }
#office .office-contact { width: 100%; }
#office .office-gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 24px; }
#office .office-gallery-controls button {
  display: grid; place-items: center; grid-template-rows: 1fr; grid-auto-rows: 0; flex: 0 0 48px;
  width: 48px; height: 48px; padding: 0; box-sizing: border-box;
  border: 1px solid #505050; border-radius: 50%; background: transparent;
  color: #fff; font-size: 0; cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
#office .office-gallery-controls button::before {
  content: ''; width: 22px; height: 22px; background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
#office .office-gallery-controls button[data-office-direction="-1"]::before { transform: rotate(180deg); }
#office .office-gallery-controls button:hover { border-color: #c40123; color: #fff; }
#office .office-gallery-controls button:focus-visible { border-color: #c40123; outline: 2px solid #c40123; outline-offset: 4px; }
/* Keep the existing live announcements without a visible counter or layout slot. */
#office .office-gallery-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
@media (max-width: 700px) {
  #office .nf-ideas-copy { width: min(100%, 340px); }
  #office .office-gallery-controls { justify-content: center; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { #office .nf-shot, #office .office-gallery-controls button { transition: none !important; } }
