.theme-switch { padding: 4px; }
.theme-switch button { width: 38px; height: 38px; position: relative; }
.theme-switch button::after { content: ''; position: absolute; inset: -3px 0; }
.mobile-menu-toggle { display: none; }
.ipad-story { position: relative; height: 180svh; }
.ipad-heading { font-weight: 600; padding-inline: 5vw; }
.ipad-heading em { font-style: italic; }
.ipad-copy { position: absolute; top: 36%; right: 6%; width: 36%; margin: 0; color: var(--ink); font-size: clamp(18px, 1.65vw, 26px); font-weight: 400; line-height: 1.55; letter-spacing: -.015em; }
.reveal-word { opacity: .22; }
.ipad-copy:not(.is-enhanced) { opacity: 1; }
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto 1fr; min-height: 44px; }
  .theme-switch { grid-column: 1; grid-row: 1; padding: 3px; }
  .theme-switch button { width: 34px; height: 34px; }
  .theme-switch svg { width: 18px; height: 18px; }
  .site-header .brand-mark { grid-column: 2; grid-row: 1; justify-self: center; width: 30px; height: 30px; }
  .mobile-menu-toggle { display: grid; place-items: center; grid-column: 3; grid-row: 1; justify-self: end; pointer-events: auto; width: 44px; height: 42px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; background: rgba(60,55,48,.5); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); cursor: pointer; }
  .mobile-menu-toggle svg { width: 22px; height: 22px; }
  .mobile-menu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
  .site-header .menu-pill { display: none; top: calc(100% + 12px); left: auto; right: 0; transform: none; width: min(280px,calc(100vw - 28px)); padding: 8px; border-radius: 22px; background: rgba(32,29,25,.94); }
  .site-header.menu-open .menu-pill { display: flex; flex-direction: column; align-items: stretch; }
  .site-header .menu-link { font-size: 15px; padding: 14px 18px; text-align: left; border-radius: 14px; }
  [data-theme="light"] .mobile-menu-toggle, [data-theme="light"] .site-header .menu-pill { background: rgba(245,244,240,.94); color: #222; border-color: rgba(45,45,40,.25); }
  .ipad-story { height: auto; }
  .image-section--second { position: relative; height: auto; min-height: 100svh; }
  .ipad-heading { padding: 116px 24px 0; font-size: clamp(27px, 5.5vw, 38px); line-height: 1.25; }
  .ipad-copy { position: relative; inset: auto; width: auto; margin: 30px 26px 0; font-size: clamp(18px,3.3vw,21px); line-height: 1.55; }
  .image-section--second .section-image { position: relative; inset: auto; display: block; width: 140%; max-width: none; height: auto; min-height: 0; margin: 12px 0 0 -20%; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
  .ipad-story { height: auto; }
  .reveal-word { opacity: 1 !important; }
}
.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; }
