/* Concept 4: a clear glass panel over a full-screen film, with the wafer mark set in the film's corner. */
body[data-concept="4"] { background: #fff; }
.seam-site {
  --s-carbon: #0b0d0f;
  --s-graphite: #15191c;
  --s-ink: #0b0d0f;
  --s-text: #39424a;
  --s-muted: #4a545c;
  --s-line: #0b0d0f1c;
  /* Liquid glass: a faint sheen that brightens toward the edge, little frost, and boosted colour, so the film reads through it clearly. */
  --s-glass: linear-gradient(100deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 4%) 45%, rgb(255 255 255 / 9%) 82%, rgb(255 255 255 / 22%));
  --s-glass-blur: 2.5px; /* Glass frost: lower shows the film more sharply. */
  --s-glass-saturate: 1.7; /* Colour boost through the glass: 1 is off. */
  --s-glass-shade: .8; /* Darkens the film behind the glass so the white text stands out: lower is darker, 1 is off. */
  --s-signal: #3d76f7;
  --s-signal-hi: #8aabff;
  --s-gutter: clamp(20px, 4.4vw, 84px);
  --s-inner: clamp(32px, 3.6vw, 64px);
  --s-header: 80px;
  --s-title: clamp(60px, min(7.8vw, 13.5vh), 168px);
  /* The glass ends just past the widest line of the title. */
  --s-seam: calc(var(--s-gutter) + var(--s-title) * 5.45 + var(--s-inner));
  --s-wafer: clamp(132px, min(13.25vw, 33.75vh), 338px); /* Logo size in the film's corner. */
  --s-wafer-inset: clamp(20px, 2.5vw, 44px); /* Logo's gap from the film's bottom edge and the screen's right edge. */
  --s-bar-bottom: clamp(26px, 4vh, 44px);
  --s-ease: cubic-bezier(.16, 1, .3, 1);
}
.seam-site a, .seam-site button { -webkit-tap-highlight-color: transparent; }
.seam-site [hidden] { display: none !important; }
.seam-site :is(a, button):focus-visible { outline: 2px solid var(--s-signal-hi); outline-offset: 4px; }
.seam-site [id] { scroll-margin-top: calc(var(--s-header) + 24px); }
.seam-skip { position: fixed; top: 12px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--s-ink); color: #fff; transform: translateY(-160%); }
.seam-skip:focus { transform: none; }

/* Header: light type over the glass and film, then dark type on a frosted white bar once the page scrolls. */
.seam-header { position: sticky; top: 0; z-index: 40; height: var(--s-header); display: grid; grid-template-columns: max(var(--s-seam), 620px) minmax(0, 1fr); align-items: center; color: #fff; transition: background-color .4s, box-shadow .4s, color .4s; }
.seam-header::after { position: absolute; inset: auto 0 0; height: 1px; background: var(--s-line); opacity: 0; content: ''; transition: opacity .4s; }
.seam-header.is-scrolled, body.seam-menu-open .seam-header { background: #ffffffd9; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 12px 30px -22px #0b0d0f40; color: var(--s-ink); }
.seam-header.is-scrolled::after, body.seam-menu-open .seam-header::after { opacity: 1; }
.seam-header-left { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; padding: 0 clamp(16px, 1.6vw, 28px) 0 var(--s-gutter); }
.seam-header-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 0 var(--s-gutter) 0 24px; }
.seam-header-left, .seam-header-right { animation: seam-fade 1s .15s both; }
.seam-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 21px; font-weight: 600; letter-spacing: -.045em; }
.seam-socket { position: relative; flex: none; display: block; width: 38px; aspect-ratio: 1268 / 1241; color: #0b0d0fb3; }
.seam-socket img { display: block; width: 100%; height: auto; transition: transform .7s var(--s-ease); }
.seam-socket::before { position: absolute; top: 1.9%; left: 3.9%; width: 91.8%; aspect-ratio: 1; border: 1.5px solid currentColor; border-radius: 50%; content: ''; opacity: 0; }
.seam-brand:hover .seam-socket img { transform: rotate(-16deg); }
.seam-wordmark { transition: color .3s; }
.seam-brand:hover .seam-wordmark { color: var(--s-signal-hi); }
.seam-header.is-scrolled .seam-brand:hover .seam-wordmark { color: var(--s-signal); }
.seam-nav { display: flex; align-items: center; gap: clamp(22px, 3vw - 18px, 40px); }
.seam-nav a { position: relative; display: block; padding-block: 12px; color: #ffffffd9; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .3s; }
.seam-nav a::before { position: absolute; top: 50%; left: -12px; width: 5px; height: 5px; margin-top: -2.5px; background: var(--s-signal); content: ''; transform: scale(0); transition: transform .35s var(--s-ease); }
.seam-nav a:hover, .seam-nav a.is-active { color: #fff; }
.seam-header.is-scrolled .seam-nav a { color: var(--s-text); }
.seam-header.is-scrolled .seam-nav a:hover, .seam-header.is-scrolled .seam-nav a.is-active { color: var(--s-ink); }
.seam-nav a:hover::before, .seam-nav a.is-active::before { transform: scale(1); }
.seam-header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #ffffff8c; background: #0b0d0f33; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color .3s, border-color .3s, color .3s; }
.seam-header-cta:hover { border-color: #fff; background: #fff; color: var(--s-ink); }
.seam-header.is-scrolled .seam-header-cta { border-color: var(--s-ink); background: var(--s-ink); color: #fff; }
.seam-header.is-scrolled .seam-header-cta:hover { border-color: var(--s-signal); background: var(--s-signal); }
.seam-menu-toggle { display: none; }
.seam-menu { display: none; }

/* Hero: the film fills the whole screen; the copy sits on a narrow sheet of clear glass. */
.seam-hero { position: relative; display: grid; grid-template-columns: var(--s-seam) minmax(0, 1fr); min-height: clamp(640px, 100svh, 1020px); margin-top: calc(var(--s-header) * -1); background: var(--s-graphite); color: #fff; }
.seam-film { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--s-graphite); animation: seam-fade 1.2s .05s both; }
.seam-film-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.9) contrast(1.04); transform: translate3d(0, var(--film-shift, 0px), 0) scale(1.1); }
.seam-copy { position: relative; z-index: 1; isolation: isolate; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(36px, 6vh, 64px); min-width: 0; padding: calc(var(--s-header) + clamp(28px, 6.5vh, 84px)) var(--s-inner) clamp(26px, 4vh, 44px) var(--s-gutter); text-shadow: 0 1px 16px #0b0d0f4d; }
.seam-copy::before { position: absolute; inset: 0 auto 0 0; z-index: -1; width: 0; background: var(--s-glass); -webkit-backdrop-filter: blur(var(--s-glass-blur)) saturate(var(--s-glass-saturate)) brightness(var(--s-glass-shade)); backdrop-filter: blur(var(--s-glass-blur)) saturate(var(--s-glass-saturate)) brightness(var(--s-glass-shade)); box-shadow: inset -1px 0 0 #ffffffd9, inset -2px 0 0 #ffffff33, inset -18px 0 24px -16px #ffffff59, 30px 0 60px -36px #0b0d0f59; content: ''; animation: seam-glass-in 1.1s var(--s-ease) forwards; }
/* Until the glass reaches it, the rest of the left column carries the same top and bottom shading as the film on the right, shrinking in step with the glass. */
.seam-copy::after { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 100%; background: linear-gradient(#0b0d0f99, #0b0d0f00) top / 100% 190px no-repeat, linear-gradient(#0b0d0f00, #0b0d0fc7) bottom / 100% 42% no-repeat; pointer-events: none; content: ''; animation: seam-shade-out 1.1s var(--s-ease) forwards; }
.seam-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 clamp(18px, 3.4vh, 32px); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: .14em; }
.seam-eyebrow::before { width: 8px; height: 8px; margin-right: 6px; background: var(--s-signal); content: ''; }
.seam-eyebrow span { color: #ffffff8c; }
.seam-site .seam-title { margin: 0 0 .14em; color: #fff; font-size: var(--s-title); font-weight: 400; line-height: .9; letter-spacing: -.062em; }
.seam-title .seam-line { display: block; overflow: hidden; padding: 0 .12em .16em 0; margin-bottom: -.16em; color: inherit; }
.seam-title .seam-line > * { display: block; color: inherit; animation: seam-rise 1.15s var(--s-ease) .25s both; }
.seam-title .seam-line > strong { padding-right: .04em; background: linear-gradient(176deg, #3e74fb, #3e75fc); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; text-shadow: none; filter: drop-shadow(0 2px 14px #0b0d0f40); animation-delay: .36s; }
.seam-lede { max-width: 27em; margin: clamp(22px, 3.4vh, 34px) 0 0; color: #fff; font-size: clamp(16px, 1.16vw, 18px); line-height: 1.7; }
.seam-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(26px, 4.2vh, 42px); }
.seam-eyebrow, .seam-lede, .seam-actions, .seam-readout { animation: seam-fade-up 1s var(--s-ease) both; }
.seam-eyebrow { animation-delay: .2s; }
.seam-lede { animation-delay: .5s; }
.seam-actions { animation-delay: .6s; }
.seam-readout { animation-delay: .75s; }
/* Desktop: the title, lede, and actions ride in with the glass, travelling its full width with the same timing. */
@media (min-width: 861px) {
  .seam-title .seam-line > * { animation: none; }
  .seam-title, .seam-lede, .seam-actions { position: relative; left: calc(var(--s-seam) * -1); animation: seam-ride-in 1.1s var(--s-ease) forwards; }
}
.seam-cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 24px; overflow: hidden; background: #eceff1; color: var(--s-ink); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-shadow: none; transition: color .45s; }
.seam-cta::before { position: absolute; inset: 0; z-index: -1; background: var(--s-signal); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.seam-cta:hover { color: #fff; }
.seam-cta:hover::before { transform: scaleX(1); transform-origin: left; }
.seam-text-link { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 12px; margin: 0 -12px; border-radius: 2px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color .35s; }
.seam-text-link::after { position: absolute; right: 12px; bottom: 9px; left: 12px; height: 1px; background: var(--s-signal); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.seam-text-link:hover { background-color: rgba(61, 118, 247, .18); }
.seam-text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.seam-readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 20px 0 0; border-top: 1px solid #ffffff3d; list-style: none; }
.seam-readout li { display: grid; align-content: start; gap: 6px; min-width: 0; }
.seam-readout strong { color: #fff; font-size: clamp(18px, 1.55vw, 26px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; }
.seam-readout span { color: #ffffffcc; font-size: 12px; line-height: 1.5; }

/* Stage: the clear window onto the film. The wafer belongs to the hero, which shares the stage's bottom-right corner on desktop. */
.seam-stage { position: relative; grid-column: 2; grid-row: 1; min-width: 0; }
.seam-stage::before, .seam-stage::after { position: absolute; right: 0; left: 0; z-index: 1; pointer-events: none; content: ''; }
.seam-stage::before { top: 0; height: 190px; background: linear-gradient(#0b0d0f99, #0b0d0f00); }
.seam-stage::after { bottom: 0; height: 42%; background: linear-gradient(#0b0d0f00, #0b0d0fc7); }
.seam-film-bar { position: absolute; bottom: var(--s-bar-bottom); left: clamp(28px, 3vw, 48px); z-index: 2; display: flex; align-items: center; gap: 20px; color: #fff; animation: seam-fade 1s 1s both; }
.seam-film-actions { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.seam-film-actions button { display: inline-flex; white-space: nowrap; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #fff; font: 500 13px var(--font-sans); cursor: pointer; transition: color .25s; }
.seam-film-actions button:hover { color: var(--s-signal-hi); }
.seam-film-actions button:focus-visible { outline-color: #fff; }
.seam-video-toggle svg { box-sizing: content-box; width: 12px; height: 12px; padding: 9px; border: 1px solid #ffffff73; border-radius: 50%; transition: border-color .25s, background-color .25s; }
.seam-video-toggle:hover svg { border-color: var(--s-signal-hi); }
.seam-video-toggle [data-icon='play'] { display: none; }
.seam-video-toggle[data-playing='false'] [data-icon='play'] { display: block; }
.seam-video-toggle[data-playing='false'] [data-icon='pause'] { display: none; }
.seam-film-progress { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; height: 2px; background: #ffffff24; }
.seam-film-progress::after { display: block; height: 100%; background: var(--s-signal-hi); content: ''; transform: scaleX(var(--film-progress, 0)); transform-origin: left; transition: transform .3s linear; }
.seam-wafer { position: absolute; right: var(--s-wafer-inset); bottom: var(--s-wafer-inset); z-index: 3; width: var(--s-wafer); margin: 0; pointer-events: none; transform-origin: 49.76% 48.79%; }
.seam-wafer-inner { position: relative; isolation: isolate; translate: var(--wx, 0px) var(--wy, 0px); transform-origin: 49.76% 48.79%; animation: seam-wafer-in 1.6s var(--s-ease) .9s both; will-change: translate; }
.seam-wafer img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 20px #00000073); }
.seam-wafer-glint { position: absolute; inset: 0; overflow: hidden; -webkit-mask: url('/img/siliconeng-mark.webp') 0 0 / 100% 100% no-repeat; mask: url('/img/siliconeng-mark.webp') 0 0 / 100% 100% no-repeat; mix-blend-mode: overlay; }
/* The light rests at 30% 22% and moves by translate alone, so following the pointer never repaints the wafer. */
.seam-wafer-glint::before { position: absolute; top: 22%; left: 30%; width: 90%; aspect-ratio: 1; margin: -45% 0 0 -45%; background: radial-gradient(closest-side, #ffffffa6, #ffffff38 48%, #ffffff00); content: ''; translate: var(--glint-x, 0px) var(--glint-y, 0px); will-change: translate; }

/* Docking: the wafer flies from the film's corner into the header socket while scrolling.
   Until it lands, the socket shows an empty black circle. */
.seam-site.has-dock .seam-wafer { z-index: 41; will-change: transform; }
.seam-site.has-dock .seam-socket img { opacity: 0; }
.seam-site.has-dock .seam-socket::before { opacity: 1; }
.seam-site.has-dock.is-docked .seam-socket img, body.seam-menu-open .seam-site.has-dock .seam-socket img { opacity: 1; }
.seam-site.has-dock.is-docked .seam-socket::before, body.seam-menu-open .seam-socket::before { opacity: 0; }
.seam-site.is-docked .seam-wafer, body.seam-menu-open .seam-wafer { visibility: hidden; }

/* A wide photo between Services and Technology, tinted toward the brand blue and fading into the Technology band below. */
.practical-banner { position: relative; height: clamp(220px, 30vw, 440px); overflow: hidden; background: var(--p-blue); }
.practical-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.practical-banner::after { position: absolute; inset: 0; background: linear-gradient(rgb(38 60 145 / 12%), rgb(38 60 145 / 0%) 35%, rgb(38 60 145 / 0%) 55%, var(--p-blue)); content: ''; }
/* Services: photo tiles, the first one large. Pointing at a tile slides its list up over the photo, and clicking or
   tapping the tile keeps the list open. */
/* The tiles share Our Team's side margins, so their edges line up with that section's. */
.svc-tiles { padding-inline: max(5%, calc((100% - 1440px) / 2)); }
.svc-grid { margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, 350px); gap: 12px; }
.svc-tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #18212b; }
.svc-tile:first-child { grid-row: span 2; }
.svc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-tile::after { position: absolute; inset: 0; background: linear-gradient(#0b111800 20%, #0b1118b3 55%, #0b1118f2); content: ''; }
.svc-text { position: relative; z-index: 1; padding: 22px 24px; color: #fff; transition: opacity .3s; }
.svc-text .practical-index { color: #b4c1ff; }
.svc-text h3 { margin: 6px 0 0; color: #fff; font-size: 21px; line-height: 1.3; font-weight: 600; }
.svc-tile:first-child h3 { font-size: 30px; }
.svc-text h3 small { display: block; font-size: 14px; font-weight: 500; }
.svc-text p { max-width: 34em; margin: 8px 0 0; color: #ffffffcc; font-size: 15px; line-height: 1.6; }
.svc-toggle { position: absolute; inset: 0; z-index: 3; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.svc-toggle:focus-visible { outline: 3px solid #8eabff; outline-offset: -3px; }
/* Wide screens with a mouse click through to the service page; phones, tablets and narrow windows keep tap-to-expand. */
.svc-link { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) { .svc-link { position: absolute; inset: 0; z-index: 4; display: block; } .svc-link:focus-visible { outline: 3px solid #8eabff; outline-offset: -3px; } }
/* Everywhere else the open panel gets its own link; panel clicks still pass through to the toggle. */
.svc-page-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border: 1px solid #fff; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; pointer-events: auto; }
.svc-tile.is-open .svc-more { z-index: 4; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) { .svc-page-link { display: none; } }
/* An open panel sizes the tile there, so its list and link are never cut off. */
@media not all and (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .svc-tile.is-open .svc-text { display: none; }
  .svc-tile.is-open .svc-more { position: relative; inset: auto; align-self: stretch; width: 100%; }
}
.svc-more { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; padding: 24px; background: #263c91; color: #fff; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .45s var(--s-ease), visibility 0s .45s; }
.svc-tile.is-open .svc-text { opacity: 0; }
.svc-tile.is-open .svc-more { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--s-ease); }
@media (hover: hover) {
  .svc-tile:hover .svc-text { opacity: 0; }
  .svc-tile:hover .svc-more { z-index: 4; opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--s-ease); }
}
.svc-more-title { margin: 0 0 14px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.svc-more ul { margin: 0; padding: 0; list-style: none; }
.svc-more li { position: relative; margin: 0 0 7px; padding-left: 15px; color: #ffffffe6; font-size: 14px; line-height: 1.5; }
.svc-more li::before { position: absolute; left: 0; color: #b4c1ff; content: '\2022'; }
.svc-ate { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ffffff4d; }
.svc-ate-label { margin: 0 0 8px; color: #b4c1ff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.svc-ate p:last-child { margin: 0; color: #ffffffe6; font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) {
  .svc-tiles { padding-inline: 6%; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(380px, auto); }
  .svc-tile:first-child { grid-row: auto; grid-column: 1 / -1; }
}
/* On a phone the first tile is taller so its list and the ATE platforms fit when it opens. */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(400px, auto); }
  .svc-tile:first-child { min-height: 540px; }
}

@keyframes seam-fade { from { opacity: 0; } }
@keyframes seam-fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes seam-rise { from { transform: translateY(108%); } }
/* The glass grows by width, its shade shrinks by width, and the copy moves by left, so all three are drawn in the same frames and the copy stays inside the glass. */
/* Glass and copy start hidden in their own styles and these only bring them in, so a frame painted before the animation starts shows neither. */
@keyframes seam-glass-in { to { width: 100%; } }
@keyframes seam-shade-out { to { width: 0; } }
@keyframes seam-ride-in { to { left: 0; } }
@keyframes seam-glass-in-down { to { height: 100%; } }
@keyframes seam-wafer-in { from { opacity: 0; transform: rotate(-32deg) scale(.86); } }
@keyframes seam-menu-in { from { opacity: 0; transform: translateY(22px); } }

@media (min-width: 1800px) {
  .seam-site { --s-header: 92px; }
  .seam-brand { font-size: 24px; }
  .seam-socket { width: 44px; }
  .seam-nav a, .seam-header-cta, .seam-text-link { font-size: 15px; }
  .seam-eyebrow { font-size: 13px; }
  .seam-readout span { font-size: 13px; }
}

/* Tablet: keep the split, fold the nav into the menu before it outgrows the glass panel. */
@media (max-width: 1320px) {
  .seam-header { grid-template-columns: var(--s-seam) minmax(0, 1fr); }
  .seam-nav, .seam-header-cta { display: none; }
  .seam-menu-toggle { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 0 0 12px; border: 0; background: transparent; color: #fff; font: 500 13px var(--font-sans); cursor: pointer; transition: color .3s; }
  .seam-header.is-scrolled .seam-menu-toggle, body.seam-menu-open .seam-menu-toggle { color: var(--s-ink); }
  .seam-menu-icon { display: grid; gap: 7px; width: 26px; }
  .seam-menu-icon i { display: block; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--s-ease); }
  .seam-menu-toggle[aria-expanded='true'] .seam-menu-icon i:first-child { transform: translateY(4.25px) rotate(45deg); }
  .seam-menu-toggle[aria-expanded='true'] .seam-menu-icon i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .seam-menu { position: fixed; inset: var(--s-header) 0 0; z-index: 39; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow: auto; padding: 8px var(--s-gutter) calc(70px + env(safe-area-inset-bottom)); background: #fffffff5; -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); color: var(--s-ink); animation: seam-fade .35s both; }
  .seam-menu nav { display: grid; }
  .seam-menu nav a { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--s-line); color: var(--s-ink); text-decoration: none; font-size: clamp(30px, 6vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; transition: color .25s, padding-left .45s var(--s-ease); animation: seam-menu-in .7s var(--s-ease) calc(.06s + var(--i) * .06s) both; }
  .seam-menu nav a:hover { padding-left: 8px; color: var(--s-signal); }
  .seam-menu-foot { display: grid; gap: 22px; animation: seam-menu-in .7s var(--s-ease) .3s both; }
  .seam-menu-foot .seam-cta { width: 100%; background: var(--s-ink); color: #fff; }
  .seam-menu-foot p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 0; color: var(--s-muted); font-size: 13px; }
  .seam-menu-foot p a { color: var(--s-ink); text-decoration: none; }
  body.seam-menu-open { overflow: hidden; }
}
@media (max-width: 1180px) {
  .seam-readout { gap: 18px; }
  .seam-video-toggle > span { display: none; }
  .seam-lede { max-width: 23em; }
}

/* Phone and small tablet: the seam turns horizontal. Glass above and below, a clear window onto the film between. */
@media (max-width: 860px) {
  .seam-site { --s-header: 68px; --s-gutter: 6vw; --s-wafer: clamp(100px, 35vw, 270px); --s-wafer-inset: 2vw; --s-bar-bottom: 16px; }
  .seam-header { grid-template-columns: minmax(0, 1fr) auto; }
  .seam-header-left { padding-right: 0; }
  .seam-brand { gap: 10px; font-size: 20px; }
  .seam-socket { width: 34px; }
  .seam-hero { display: flex; flex-direction: column; min-height: 0; }
  .seam-copy { display: contents; }
  .seam-copy::before, .seam-copy::after { display: none; }
  .seam-copy-main::before, .seam-readout { background: var(--s-glass); -webkit-backdrop-filter: blur(var(--s-glass-blur)) saturate(var(--s-glass-saturate)) brightness(var(--s-glass-shade)); backdrop-filter: blur(var(--s-glass-blur)) saturate(var(--s-glass-saturate)) brightness(var(--s-glass-shade)); }
  /* The glass edges facing the clear window between them catch the light. */
  .seam-copy-main::before { box-shadow: inset 0 -1px 0 #ffffffd9, inset 0 -18px 24px -16px #ffffff59; }
  .seam-readout { box-shadow: inset 0 1px 0 #ffffffd9, inset 0 18px 24px -16px #ffffff59; }
  .seam-copy-main, .seam-readout { position: relative; z-index: 1; text-shadow: 0 1px 16px #0b0d0f4d; }
  .seam-copy-main::before { position: absolute; inset: 0 0 auto; z-index: -1; height: 0; content: ''; animation: seam-glass-in-down 1.1s var(--s-ease) forwards; }
  .seam-copy-main { order: 1; padding: calc(var(--s-header) + 30px) var(--s-gutter) 34px; }
  .seam-site .seam-title { font-size: clamp(44px, 15.6vw, 120px); }
  .seam-lede { max-width: 30em; font-size: 16px; }
  .seam-stage { order: 2; aspect-ratio: 5 / 4; }
  .seam-stage::before { display: none; }
  .seam-film-bar { right: var(--s-gutter); bottom: 16px; left: var(--s-gutter); }
  /* On a phone the wafer starts in the bottom-right corner of the screen, above the concept switcher, whatever the phone's height.
     The hero begins at the top of the page, so the screen's bottom is 100svh down; .98 lines the circle (not the PNG's margin) up with the inset. */
  .seam-wafer { top: calc(100svh - env(safe-area-inset-bottom) - var(--s-wafer-inset) - var(--s-wafer) * .98); bottom: auto; }
  .seam-readout { order: 3; margin: 0; padding: 22px var(--s-gutter) 30px; border-top: 0; }
}
@media (max-width: 560px) {
  .seam-eyebrow { gap: 2px 7px; font-size: 11px; letter-spacing: .1em; }
  .seam-eyebrow::before { width: 7px; height: 7px; margin-right: 4px; }
  .seam-lede { margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .seam-actions { gap: 8px 22px; margin-top: 26px; }
  .seam-cta { min-height: 54px; }
  .seam-copy-main { padding-bottom: 30px; }
  .seam-stage { aspect-ratio: 1; }
  .seam-film-actions { gap: 14px; }
  .seam-film-actions button { font-size: 12px; }
  .seam-video-toggle > span { display: none; }
  .seam-readout { grid-template-columns: 1fr; gap: 0; padding: 10px var(--s-gutter) 28px; }
  .seam-readout li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid #ffffff3d; }
  .seam-readout strong { font-size: 17px; }
  .seam-readout span { font-size: 13px; }
  .seam-menu nav a { padding-block: 16px; }
  .seam-menu-foot p { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.seam-site) { scroll-behavior: auto; }
  .seam-site *, .seam-site *::before, .seam-site *::after { animation: none !important; transition: none !important; }
  .seam-title, .seam-lede, .seam-actions { left: 0 !important; }
  .seam-copy::before { width: 100% !important; }
  .seam-copy::after { display: none; }
  .seam-copy-main::before { height: 100% !important; }
}
