.product-gateway {
  background: #f7f6f2;
}

.gateway-masthead, .gateway {
  width: min(1200px, calc(100% - 2 * clamp(18px, 4vw, 58px)));
  margin-inline: auto;
}

.gateway-masthead {
  min-height: 0;
  padding: clamp(13px, 1.8vw, 24px) 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.gateway-brand { width: clamp(116px, 13vw, 161px); }
.gateway { padding: clamp(16px, 2.6vw, 40px) 0 35px; }
.gateway-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gateway-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}
.gateway-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.gateway-card:hover { box-shadow: 0 12px 26px #231f2514; border-color: #b9a7ab; }
.gateway-card--studio { background: #1b1a22; color: #fff9f5; border-color: #1b1a22; }
.gateway-card--personal { background: #fffaf8; color: var(--ink); }
.gateway-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: clamp(245px, 31vw, 450px);
}
.gateway-media--studio { background: #f1eee6; }
.gateway-media picture, .gateway-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gateway-media--studio picture { position: absolute; inset: 0; }
.gateway-media--personal { background: #eee4e3; }
.gateway-device {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 93%;
  aspect-ratio: 360 / 780;
  overflow: hidden;
  border: 5px solid #242128;
  border-radius: clamp(13px, 2vw, 26px);
  background: #f7f5ef;
  box-shadow: 0 13px 25px #3b223244;
}
.gateway-preview-label {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border: 1px solid #e0d7d7;
  border-radius: 30px;
  background: #fffaf5;
  color: #3b2e38;
  font-size: 11px;
  line-height: 1.2;
}
.gateway-copy {
  position: relative;
  flex: 1;
  padding: clamp(11px, 1.4vw, 19px) clamp(48px, 5vw, 68px) clamp(12px, 1.5vw, 20px) clamp(14px, 1.8vw, 25px);
}
.gateway-copy p { font-size: clamp(12px, 1.1vw, 15px); line-height: 1.35; margin: 4px 0 0; }
.gateway-copy .gateway-audience {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: #655460;
}
.gateway-card--studio .gateway-audience { color: #f9a6c4; }
.gateway-copy h2 { margin: 0; font-size: clamp(22px, 2.45vw, 34px); letter-spacing: -.04em; line-height: 1.1; }
.gateway-arrow {
  position: absolute;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(31px, 3.4vw, 44px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: clamp(15px, 1.7vw, 22px);
}
.gateway-card--studio .gateway-arrow { background: #ff5791; color: #1b1a22; border-color: #ff5791; }
.gateway-card:focus-visible { outline-offset: 4px; }

@media (max-width: 660px) {
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway-card { border-radius: 12px; }
  .gateway-media { height: clamp(190px, 54vw, 300px); }
  .gateway-media--personal { height: clamp(232px, 62vw, 325px); }
  .gateway-preview-label { top: 8px; right: 8px; padding: 4px 6px; font-size: 9px; }
  .gateway-copy h2 { font-size: clamp(21px, 5.3vw, 26px); }
}

@media (prefers-reduced-motion: reduce) {
  .gateway-card { transition: none; }
}
