/* Original interface pixels in neutral, contemporary illustrative devices.
   These frames do not identify a particular manufactured phone model. */
body.version-four .v4-product-media .v4-device-link {
  display:block;
  width:100%;
  margin:0 auto;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.version-four .v4-product-media .v4-device-link:hover { outline:none; }
body.version-four .v4-product-media .v4-device-link:focus-visible { outline:3px solid var(--blue--ln); outline-offset:6px; border-radius:43px; }
body.version-four .v4-product-media .v4-ad-device-figure { max-width:325px; }
body.version-four .v4-product-media .v4-drop-device-figure { max-width:355px; padding:12px 8px 0; background:transparent; }
body.version-four .v4-product-media .v4-ad-device-figure .v4-product-phone::before,
body.version-four .v4-product-media .v4-ad-device-figure .v4-product-phone::after,
body.version-four .v4-product-media .v4-drop-device-figure .v4-product-phone::before,
body.version-four .v4-product-media .v4-drop-device-figure .v4-product-phone::after { display:none; }
body.version-four .v4-product-media .v4-product-phone {
  display:block;
  position:relative;
  width:100%;
  max-width:350px;
  box-sizing:border-box;
  margin:auto;
  padding:8px;
  border:1px solid var(--v5-ln-a8aaae);
  border-radius:43px;
  background:linear-gradient(115deg,var(--v5-bg-96999d),var(--v5-bg-282a2d) 12%,var(--v5-bg-111214) 55%,var(--v5-bg-4d5055) 92%,var(--v5-bg-b5b7ba));
  box-shadow:inset 0 0 0 2px var(--v5-ln-17181b), 0 28px 40px -22px var(--v5-sh-20232b3b), 0 4px 9px var(--v5-sh-20232b0d);
}
body.version-four .v4-product-media .v4-product-phone::before,
body.version-four .v4-product-media .v4-product-phone::after {
  content:'';
  position:absolute;
  width:3px;
  background:linear-gradient(var(--v5-bg-8e9297),var(--v5-bg-45484c),var(--v5-bg-989ca1));
  border-radius:2px;
}
body.version-four .v4-product-media .v4-product-phone::before { left:-3px; top:23%; height:12%; }
body.version-four .v4-product-media .v4-product-phone::after { right:-3px; top:29%; height:9%; }
body.version-four .v4-product-media .v4-product-glass {
  --screen-top:var(--color-accent-muted);--screen-top--fg:var(--color-on-dark);--screen-top--bg:var(--color-accent-muted);--screen-top--ln:var(--v5-ln-f7f8fa);--screen-top--sh:var(--v5-sh-f7f8fa);
  --screen-bottom:var(--color-accent-muted);--screen-bottom--fg:var(--color-on-dark);--screen-bottom--bg:var(--color-accent-muted);--screen-bottom--ln:var(--v5-ln-f7f8fa);--screen-bottom--sh:var(--v5-sh-f7f8fa);
  display:block;
  overflow:hidden;
  border:1px solid var(--v5-ln-070809);
  border-radius:34px;
  background:var(--screen-bottom--bg);
}
body.version-four .v4-product-media .v4-product-safe-top {
  display:flex;
  justify-content:center;
  align-items:center;
  height:34px;
  background:var(--screen-top--bg);
}
body.version-four .v4-product-media .v4-product-island {
  display:block;
  width:28%;
  height:17px;
  border-radius:20px;
  background:var(--v5-bg-101113);
  position:relative;
}
body.version-four .v4-product-media .v4-product-island::after {
  content:'';
  position:absolute;
  right:8px;
  top:6px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--v5-bg-202d41);
}
body.version-four .v4-product-media .v4-product-safe-bottom {
  display:block;
  height:22px;
  position:relative;
  background:var(--screen-bottom--bg);
}
body.version-four .v4-product-media .v4-product-safe-bottom::after {
  content:'';
  position:absolute;
  width:30%;
  height:3px;
  border-radius:3px;
  background:var(--v5-bg-34383c);
  left:35%;
  bottom:7px;
}
body.version-four .v4-product-media .v4-product-phone--hotshot .v4-product-glass { --screen-top:var(--v5-bg-00563e);--screen-top--fg:var(--v5-fg-00563e);--screen-top--bg:var(--v5-bg-00563e);--screen-top--ln:var(--v5-ln-00563e);--screen-top--sh:var(--v5-sh-00563e); --screen-bottom:var(--color-background-body);--screen-bottom--fg:var(--color-on-accent);--screen-bottom--bg:var(--color-background-body);--screen-bottom--ln:var(--v5-ln-ffffff);--screen-bottom--sh:var(--v5-sh-ffffff); }
body.version-four .v4-product-media .v4-product-phone--onetouch .v4-product-glass { --screen-top:var(--v5-bg-00533b);--screen-top--fg:var(--v5-fg-00533b);--screen-top--bg:var(--v5-bg-00533b);--screen-top--ln:var(--v5-ln-00533b);--screen-top--sh:var(--v5-sh-00533b); --screen-bottom:var(--color-background-surface);--screen-bottom--fg:var(--color-on-dark);--screen-bottom--bg:var(--color-background-surface);--screen-bottom--ln:var(--v5-ln-f5f5f5);--screen-bottom--sh:var(--v5-sh-f5f5f5); }
body.version-four .v4-product-media .v4-product-phone--drop .v4-product-glass { --screen-top:var(--v5-bg-006344);--screen-top--fg:var(--v5-fg-006344);--screen-top--bg:var(--v5-bg-006344);--screen-top--ln:var(--v5-ln-006344);--screen-top--sh:var(--v5-sh-006344); --screen-bottom:var(--color-background-muted);--screen-bottom--fg:var(--v5-fg-e8e8e8);--screen-bottom--bg:var(--color-background-muted);--screen-bottom--ln:var(--color-border-subtle);--screen-bottom--sh:var(--v5-sh-e8e8e8); }
body.version-four .v4-product-media .v4-product-phone--hotshot .v4-product-island,
body.version-four .v4-product-media .v4-product-phone--onetouch .v4-product-island { background:var(--v5-bg-030404); }
body.version-four .v4-product-media .v4-product-crop {
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:var(--media-ratio);
  overflow:hidden;
}
body.version-four .v4-product-media .v4-product-crop > img {
  display:block;
  position:absolute;
  width:var(--media-width);
  max-width:none;
  height:auto;
  max-height:none;
  left:var(--media-left);
  top:var(--media-top);
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  object-fit:initial;
  transform:none;
}
body.version-four .v4-product-media.case-independent .case-hero-art {
  width:min(100%, 355px);
  max-width:355px;
  padding:12px 8px 0;
  background:transparent;
}
body.version-four .v4-product-media.case-independent .folio-journey > div {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,4vw,56px);
  align-items:start;
}
body.version-four .v4-product-media.case-independent .folio-journey figure {
  background:transparent;
  border:0;
  padding:12px 5px 0;
  margin:0;
}
body.version-four .v4-product-media.case-independent .folio-journey figcaption { padding-top:22px; }
body.version-four .v4-product-media .case-phone-pair > div {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,2.5vw,32px);
  max-width:540px;
  padding:18px 6px 0;
  align-items:start;
}
body.version-four .v4-product-media .case-phone-pair > div > a:nth-child(2) { padding-top:46px; }
body.version-four .v4-product-media .case-phone-pair .v4-product-phone { padding:6px; border-radius:31px; }
body.version-four .v4-product-media .case-phone-pair .v4-product-glass { border-radius:24px; }
body.version-four .v4-product-media .case-phone-pair .v4-product-safe-top { height:25px; }
body.version-four .v4-product-media .case-phone-pair .v4-product-island { height:13px; }
body.version-four .v4-product-media .case-phone-pair .v4-product-island::after { top:4px; width:4px; height:4px; }
body.version-four .v4-product-media .hj-hero-art { max-width:350px; padding:10px 8px; }
body.version-four .v4-product-media .hj-screen-figure {
  padding:30px 24px 22px;
  border:1px solid var(--color-border-subtle);
  border-radius:24px;
  background:var(--color-accent-muted);
}
body.version-four .v4-product-media .hj-screen-figure .v4-product-phone { max-width:315px; }
body.version-four .v4-product-media .hj-screen-figure figcaption { padding-top:22px; text-align:center; }
body.version-four .v4-product-media .v4-original-gallery {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:24px;
  margin:32px 0 42px;
}
body.version-four .v4-product-media .v4-original-card {
  display:flex;
  flex-direction:column;
  margin:0;
  padding:0;
  border:1px solid var(--color-border-subtle);
  border-radius:20px;
  overflow:hidden;
  background:var(--color-background-body);
}
body.version-four .v4-product-media .v4-original-art {
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  aspect-ratio:600/430;
  padding:20px;
  box-sizing:border-box;
  background:var(--color-background-surface);
  border:0;
}
body.version-four .v4-product-media .v4-original-art img {
  position:static;
  display:block;
  width:100%;
  height:auto;
  max-width:600px;
  max-height:100%;
  object-fit:contain;
  border:0;
  border-radius:9px;
  box-shadow:none;
  margin:0;
  padding:0;
}
body.version-four .v4-product-media .v4-original-card figcaption {
  display:grid;
  grid-template-columns:28px 1fr;
  gap:12px;
  padding:22px 24px;
  border-top:1px solid var(--color-border-subtle);
  color:var(--v5-fg-686d76);
  text-align:left;
  font-size:12px;
  line-height:1.6;
}
body.version-four .v4-product-media .v4-original-number { font-size:10px; padding-top:2px; }
body.version-four .v4-product-media .v4-original-card figcaption strong { display:block; color:var(--v5-fg-20252c); font-size:15px; font-weight:500; }
body.version-four .v4-product-media .v4-original-card figcaption strong + span { display:block; margin-top:4px; }
/* The index uses the same source rectangles as the full case studies.
   Size the whole device to fit the stage, including its safe areas. */
body.version-four .v4-product-media .archive-image-stage.v4-index-device-stage {
  height:390px;
  box-sizing:border-box;
  padding:24px 22px;
  background:var(--color-accent-muted);
  overflow:visible;
}
body.version-four .v4-product-media .v4-index-device-group {
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  gap:clamp(16px, 3vw, 32px);
}
body.version-four .v4-product-media .v4-index-device-group .v4-product-phone {
  flex:none;
  width:min(41%, 145px);
  margin:0;
  padding:4px;
  border-radius:22px;
}
body.version-four .v4-product-media .v4-index-device-group .v4-product-phone:only-child { width:min(70%, 174px); }
body.version-four .v4-product-media .v4-index-device-group .v4-product-glass { border-radius:17px; }
body.version-four .v4-product-media .v4-index-device-group .v4-product-safe-top { height:19px; }
body.version-four .v4-product-media .v4-index-device-group .v4-product-safe-bottom { height:13px; }
body.version-four .v4-product-media .v4-index-device-group .v4-product-safe-bottom::after { height:2px; bottom:4px; }
body.version-four .v4-product-media .v4-index-device-group .v4-product-island { height:10px; }
body.version-four .v4-product-media .v4-index-device-group .v4-product-island::after { width:3px; height:3px; top:3px; right:5px; }
body.version-four .v4-product-media .v4-fingal-logo-stage { background:var(--color-background-body); }
body.version-four .v4-product-media .v4-fingal-logo-stage > img { width:min(68%, 240px); height:auto; }
@media (max-width: 760px) {
  /* Keep the complete product screen in a comfortably sized mobile device. */
  body.version-four .v4-product-media .v4-product-phone { max-width:280px; padding:7px; border-radius:35px; }
  body.version-four .v4-product-media .v4-product-glass { border-radius:27px; }
  body.version-four .v4-product-media .v4-product-safe-top { height:28px; }
  body.version-four .v4-product-media .v4-product-island { height:14px; }
  body.version-four .v4-product-media .v4-product-island::after { top:5px; width:4px; height:4px; }
  body.version-four .v4-product-media .v4-product-safe-bottom { height:18px; }
  body.version-four .v4-product-media .v4-product-safe-bottom::after { bottom:6px; }
  body.version-four .v4-product-media .v4-ad-device-figure { max-width:280px; }
  body.version-four .v4-product-media .v4-drop-device-figure,
  body.version-four .v4-product-media .hj-hero-art,
  body.version-four .v4-product-media.case-independent .case-hero-art { max-width:296px; }
  body.version-four .v4-product-media.case-independent .folio-journey > div { grid-template-columns:1fr; gap:42px; }
  body.version-four .v4-product-media.case-independent .folio-journey figure { width:min(100%,290px); margin:auto; }
  body.version-four .v4-product-media .case-phone-pair > div { max-width:470px; gap:18px; }
  body.version-four .v4-product-media .case-phone-pair > div > a:nth-child(2) { padding-top:24px; }
  body.version-four .v4-product-media .v4-original-gallery { grid-template-columns:1fr; gap:24px; }
  body.version-four .v4-product-media .hj-screen-figure { padding:26px 18px 20px; }
  body.version-four .v4-product-media .hj-screen-figure .v4-product-phone { max-width:280px; }
}
@media (max-width: 420px) {
  body.version-four .v4-product-media .case-phone-pair > div { gap:12px; padding-inline:2px; }
  body.version-four .v4-product-media .case-phone-pair .v4-product-phone { border-radius:24px; padding:4px; }
  body.version-four .v4-product-media .case-phone-pair .v4-product-glass { border-radius:19px; }
  body.version-four .v4-product-media .case-phone-pair .v4-product-safe-top { height:21px; }
  body.version-four .v4-product-media .v4-original-art { padding:14px; }
  body.version-four .v4-product-media .v4-original-card figcaption { padding:18px; }
}
