:root {
  --ams-ink: #15161a;
  --ams-text: #30343b;
  --ams-muted: #66707d;
  --ams-line: #d8dce2;
  --ams-paper: #f7f4ed;
  --ams-paper-strong: #eee8dc;
  --ams-white: #ffffff;
  --ams-blue: #064a9b;
  --ams-blue-deep: #062f65;
  --ams-blue-soft: #e8f1fb;
  --ams-yellow: #f4b21b;
  --ams-green: #1b9a63;
  --ams-red: #df5546;
  --ams-max: 1180px;
  --ams-header: 82px;
  --ams-radius: 8px;
  --ams-shadow: 0 24px 70px rgba(21, 22, 26, 0.16);
  --ams-shadow-soft: 0 14px 34px rgba(21, 22, 26, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ams-header) + 24px);
  background: var(--ams-paper);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ams-text);
  background: var(--ams-paper);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ams-ink);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  font-size: 6rem;
  line-height: 0.92;
  text-transform: uppercase;
}

h2 {
  font-size: 3.2rem;
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

::selection {
  color: var(--ams-ink);
  background: var(--ams-yellow);
}

:focus-visible {
  outline: 3px solid rgba(244, 178, 27, 0.72);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--ams-radius);
  background: var(--ams-ink);
  color: var(--ams-white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(calc(100% - 32px), var(--ams-max));
  margin-inline: auto;
}

.site-main {
  min-height: 100svh;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 100;
  pointer-events: none;
}

.site-header__inner {
  width: min(calc(100% - 32px), var(--ams-max));
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 10px 8px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--ams-radius);
  background: rgba(247, 244, 237, 0.86);
  color: var(--ams-ink);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-solid .site-header__inner,
body.menu-open .site-header__inner {
  border-color: rgba(216, 220, 226, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ams-shadow-soft);
}

.brand-lockup,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-lockup img,
.footer-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: var(--ams-radius);
  background: rgba(255, 255, 255, 0.62);
}

.site-nav a {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--ams-text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--ams-blue);
  color: var(--ams-white);
}

.header-cta {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 6px;
  background: var(--ams-yellow);
  color: var(--ams-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #ffd05a;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(21, 22, 26, 0.2);
  border-radius: 50%;
  background: var(--ams-ink);
  color: var(--ams-white);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span:first-child {
  position: relative;
  width: 18px;
  height: 18px;
}

.menu-toggle span:first-child::before,
.menu-toggle span:first-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.menu-toggle span:first-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.menu-toggle[aria-expanded="true"] span:first-child::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:first-child::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: 0 30px 30px;
  background: #000000;
  color: var(--ams-white);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.site-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-menu__inner {
  align-self: start;
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-top: clamp(98px, 11vw, 140px);
  margin-left: 28px;
}

.site-menu__inner a {
  width: fit-content;
  max-width: 100%;
  color: var(--ams-white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(4.8rem, 6.95vw, 6.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-menu__inner a.is-active {
  color: var(--ams-yellow);
}

.site-menu__footer {
  width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(0.9rem, 1.35vw, 1.25rem);
  line-height: 1.25;
}

.site-menu__footer-tablet,
.site-menu__footer-mobile {
  display: none;
}

.site-menu__footer-row {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  margin: 0;
  border-top: 1px solid #767878;
}

.site-menu__footer-row:last-child {
  border-bottom: 1px solid #767878;
}

.site-menu__footer-row > a,
.site-menu__footer-row > span {
  min-height: 52px;
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px clamp(10px, 2.1vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.site-menu__footer-row > a + a,
.site-menu__footer-row > span + span,
.site-menu__footer-row > span + a,
.site-menu__footer-row > a + span {
  border-left: 1px solid #767878;
}

.site-menu__footer-row > span:first-child {
  color: var(--ams-white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.site-menu__footer a:hover,
.site-menu__footer a:focus-visible {
  color: var(--ams-yellow);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #17191f 0%, #0f1116 100%);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--ams-blue), var(--ams-yellow), var(--ams-green));
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.85fr));
  gap: 16px;
  align-items: stretch;
  padding-block: 58px;
}

.site-footer__brand,
.site-footer__group {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ams-radius);
  background: rgba(255, 255, 255, 0.045);
}

.site-footer__brand {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 24px;
}

.site-footer__brand::after {
  content: "";
  width: 74px;
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ams-yellow), var(--ams-green));
}

.site-footer__brand p {
  max-width: 26ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer__group {
  padding: 22px 18px;
}

.footer-logo {
  color: var(--ams-white);
  font-size: 1.12rem;
}

.footer-logo img {
  width: 52px;
  height: 52px;
}

.site-footer strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ams-yellow);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer strong::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ams-green);
}

.site-footer a,
.site-footer__group span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.site-footer a {
  width: fit-content;
}

.site-footer__group a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: rgba(244, 178, 27, 0.7);
  color: var(--ams-white);
  transform: translateX(2px);
}

.eyebrow,
.section-label {
  color: var(--ams-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.media-hero .eyebrow {
  color: var(--ams-yellow);
}

.hero-lede {
  max-width: 760px;
  color: inherit;
  font-size: 1.22rem;
  line-height: 1.55;
}

.section-heading {
  max-width: 820px;
  display: grid;
  gap: 12px;
}

.section-heading h2 {
  max-width: 820px;
}

.button-link,
.sound-toggle {
  border: 0;
  cursor: pointer;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  padding: 13px 18px;
  border-radius: 6px;
  background: var(--ams-blue);
  color: var(--ams-white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--ams-blue-deep);
  color: var(--ams-white);
  transform: translateY(-1px);
}

.button-link--light {
  background: var(--ams-white);
  color: var(--ams-ink);
}

.button-link--light:hover,
.button-link--light:focus-visible {
  background: var(--ams-yellow);
  color: var(--ams-ink);
}

.button-link--ghost,
.button-link--ghost-dark {
  border: 1px solid currentColor;
  background: transparent;
}

.button-link--ghost {
  color: var(--ams-white);
}

.button-link--ghost-dark {
  color: var(--ams-blue);
}

.button-link--ghost:hover,
.button-link--ghost:focus-visible {
  background: var(--ams-white);
  color: var(--ams-ink);
}

.button-link--ghost-dark:hover,
.button-link--ghost-dark:focus-visible {
  background: var(--ams-blue);
  color: var(--ams-white);
}

.button-link--small {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 0.78rem;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ams-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.sound-toggle__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ams-red);
}

.sound-toggle[aria-pressed="true"] .sound-toggle__dot {
  background: var(--ams-green);
}

@media (hover: hover) and (pointer: fine) {
  .video-frame .sound-toggle,
  .home-page .home-hero .sound-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .home-page .home-hero .hero-actions {
    position: absolute;
    inset: 0;
    min-height: 0;
    pointer-events: none;
  }
}

.sound-toggle.is-cursor-follow {
  position: absolute !important;
  left: var(--sound-x, 14px) !important;
  top: var(--sound-y, 14px) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 90;
  width: max-content !important;
  max-width: calc(100% - 24px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition: opacity 120ms ease, background-color 120ms ease, color 120ms ease;
  will-change: left, top;
}

.home-page .home-hero .sound-toggle.is-cursor-follow {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sound-toggle-placeholder {
  display: inline-block;
  flex: 0 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.media-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--ams-header) + 72px) 0 76px;
  background: var(--ams-ink);
  color: var(--ams-white);
}

.media-hero--compact {
  min-height: 72svh;
}

.media-hero__video,
.media-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__image {
  display: none;
}

.media-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 47, 101, 0.88), rgba(21, 22, 26, 0.46) 52%, rgba(21, 22, 26, 0.2)),
    linear-gradient(180deg, rgba(21, 22, 26, 0.16), rgba(21, 22, 26, 0.78));
}

.home-hero__content,
.work-hero__content,
.recruit-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}

.media-hero h1,
.media-hero h2 {
  color: var(--ams-white);
}

.work-intro__grid,
.recruit-section__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.recruit-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reel-stack {
  padding: 108px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0) 18%),
    var(--ams-paper);
}

.reel-stack > .section-heading {
  max-width: 920px;
  margin-bottom: 68px;
}

.reel-stack > .reel-heading {
  --reel-heading-progress: 0;
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: 76px;
  justify-items: center;
  text-align: center;
}

.reel-stack > .reel-heading::after {
  content: "";
  width: min(260px, 48%);
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ams-yellow), var(--ams-blue), var(--ams-green));
  opacity: calc(0.22 + var(--reel-heading-progress) * 0.78);
  transform: scaleX(var(--reel-heading-progress));
  transform-origin: center;
  transition: opacity 180ms linear, transform 180ms linear;
}

.reel-stack > .section-heading .eyebrow {
  color: var(--ams-blue);
  font-family: "Be Vietnam Pro", "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.reel-stack > .section-heading h2 {
  max-width: 920px;
  font-family: "Be Vietnam Pro", "Montserrat", sans-serif;
  font-size: 4.55rem;
  font-weight: 900;
  line-height: 1.04;
}

.reel-stack > .reel-heading .eyebrow {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 1px solid rgba(6, 74, 155, 0.14);
  border-radius: 999px;
  background: rgba(232, 241, 251, 0.72);
}

.reel-stack > .reel-heading h2 {
  max-width: 980px;
  text-wrap: balance;
}

.reel-list {
  display: grid;
  gap: 110px;
}

.reel-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 1fr);
  gap: clamp(34px, 4.5vw, 68px);
  align-items: center;
}

.reel-section:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
}

.reel-section:nth-child(even) .reel-copy {
  order: 2;
}

.reel-copy {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding-left: 18px;
  font-family: "Be Vietnam Pro", "Nunito", system-ui, sans-serif;
}

.reel-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ams-blue), var(--ams-yellow));
}

.reel-copy .section-label {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(6, 74, 155, 0.14);
  border-radius: 999px;
  background: rgba(232, 241, 251, 0.82);
  color: var(--ams-blue);
  font-family: "Be Vietnam Pro", "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: none;
}

.reel-copy h3 {
  color: var(--ams-ink);
  font-family: "Anton", "Montserrat", sans-serif;
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.reel-copy p {
  max-width: 520px;
  color: #3c4652;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.76;
}

.reel-copy p + p {
  color: var(--ams-muted);
  font-size: 1rem;
}

.video-frame {
  position: relative;
  min-height: 300px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--ams-radius);
  background: var(--ams-ink);
  box-shadow: var(--ams-shadow);
  transform-origin: center;
  will-change: transform;
}

.video-frame video,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-frame .sound-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
}

.values-grid,
.job-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

.value-item,
.job-card,
.process-card,
.work-card,
.jd-item {
  border: 1px solid var(--ams-line);
  border-radius: var(--ams-radius);
  background: var(--ams-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-cta {
  position: relative;
  overflow: hidden;
  padding: 98px 0;
  background:
    linear-gradient(90deg, rgba(6, 47, 101, 0.92), rgba(21, 22, 26, 0.72)),
    url("../assets/images/optimized/home-poster.webp") center / cover;
  color: var(--ams-white);
}

.home-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.home-cta h2 {
  max-width: 780px;
  color: var(--ams-white);
}

.work-intro {
  position: relative;
  overflow: hidden;
  padding: 88px 0 46px;
  background:
    linear-gradient(180deg, var(--ams-white) 0%, var(--ams-white) 72%, var(--ams-paper) 100%);
}

.work-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(232, 241, 251, 0.72), rgba(232, 241, 251, 0) 34%),
    linear-gradient(180deg, rgba(244, 178, 27, 0) 0%, rgba(244, 178, 27, 0.11) 100%);
  pointer-events: none;
}

.work-intro__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.work-intro__heading {
  display: grid;
  align-content: start;
  gap: 18px;
}

.work-intro .eyebrow {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(6, 74, 155, 0.15);
  border-radius: 999px;
  background: rgba(232, 241, 251, 0.86);
  color: var(--ams-blue);
}

.work-intro h2 {
  max-width: 860px;
  font-family: "Be Vietnam Pro", "Montserrat", sans-serif;
  font-size: clamp(3rem, 5.35vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  text-wrap: balance;
}

.work-intro h2::after {
  content: "";
  display: block;
  width: min(250px, 48%);
  height: 5px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ams-yellow), var(--ams-blue), var(--ams-green));
}

.work-intro__copy {
  position: relative;
  display: grid;
  gap: 12px;
  align-self: end;
  padding: 26px 28px 28px;
  overflow: hidden;
  border: 1px solid rgba(6, 74, 155, 0.13);
  border-radius: var(--ams-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 251, 0.56));
  box-shadow: var(--ams-shadow-soft);
}

.work-intro__copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--ams-yellow), var(--ams-blue), var(--ams-green));
}

.work-intro__lead {
  color: var(--ams-ink);
  font-size: clamp(1.14rem, 1.7vw, 1.34rem);
  font-weight: 800;
  line-height: 1.5;
}

.work-intro__copy p:not(.work-intro__lead) {
  color: var(--ams-muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.62;
}

.work-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.work-intro__tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(21, 22, 26, 0.08);
  border-radius: 999px;
  background: var(--ams-white);
  color: var(--ams-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-block: 76px 96px;
}

.work-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card:hover,
.work-card.is-open {
  border-color: rgba(6, 74, 155, 0.36);
  box-shadow: var(--ams-shadow-soft);
}

.work-card__button {
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.work-card__media {
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: var(--ams-ink);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.work-card__button:hover img,
.work-card__button:focus-visible img {
  transform: scale(1.035);
}

.work-card__meta {
  position: relative;
  min-height: 172px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px 56px 22px 22px;
}

.work-card__category {
  color: var(--ams-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-card__title {
  color: var(--ams-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.work-card__subtitle {
  color: var(--ams-muted);
}

.work-card__toggle {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ams-blue-soft);
}

.work-card__toggle::before,
.work-card__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--ams-blue);
  transform: translate(-50%, -50%);
}

.work-card__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.work-card.is-open .work-card__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.work-card__content {
  display: grid;
  gap: 14px;
  padding: 0 22px 24px;
  color: var(--ams-text);
}

.work-card__content[hidden] {
  display: none;
}

.hashtag {
  color: var(--ams-blue);
  font-weight: 800;
}

.recruit-nav-band {
  position: sticky;
  top: 92px;
  z-index: 30;
  padding: 12px 0;
  border-bottom: 1px solid var(--ams-line);
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: blur(16px);
}

.recruit-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recruit-nav a {
  padding: 8px 12px;
  border: 1px solid rgba(6, 74, 155, 0.22);
  background: var(--ams-white);
  color: var(--ams-blue);
  transition: background-color 160ms ease, color 160ms ease;
}

.recruit-nav a:hover,
.recruit-nav a:focus-visible {
  background: var(--ams-blue);
  color: var(--ams-white);
}

.recruit-section {
  padding: 92px 0;
  background: var(--ams-white);
}

.recruit-section--paper {
  background: var(--ams-paper);
}

.recruit-section--blue {
  background: var(--ams-blue-deep);
  color: rgba(255, 255, 255, 0.82);
}

.recruit-section--blue h2,
.recruit-section--blue h3 {
  color: var(--ams-white);
}

.recruit-section--blue .eyebrow,
.recruit-section--blue .process-card span {
  color: var(--ams-yellow);
}

.recruit-section .section-heading {
  margin-bottom: 30px;
}

.prose {
  display: grid;
  gap: 16px;
}

.values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-item,
.job-card,
.process-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.value-item {
  min-height: 224px;
}

.job-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-card span,
.jd-item span,
.process-card span {
  color: var(--ams-blue);
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.job-card .button-link {
  align-self: end;
  margin-top: 8px;
}

.jd-list {
  display: grid;
  gap: 16px;
}

.jd-list .section-heading {
  margin-bottom: 12px;
}

.jd-item {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 24px;
  scroll-margin-top: 72px;
}

.jd-item > div {
  display: grid;
  gap: 8px;
}

.jd-item ul {
  margin: 0;
  padding-left: 1.15rem;
}

.jd-item li + li {
  margin-top: 8px;
}

.process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.recruit-section--blue .process-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.contact-panel__media {
  overflow: hidden;
  border: 1px solid var(--ams-line);
  border-radius: var(--ams-radius);
  background: var(--ams-paper);
}

.contact-panel__media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  height: 100%;
  object-fit: cover;
}

.contact-panel h2 {
  margin: 8px 0 14px;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .reel-section .reel-copy::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-ready .reel-section .reel-copy > * {
  opacity: 0;
  transform: translate3d(-34px, 16px, 0);
  transition: opacity 620ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-ready .reel-section:nth-child(even) .reel-copy > * {
  transform: translate3d(34px, 16px, 0);
}

.reveal-ready .reel-section.is-visible .reel-copy::before {
  transform: scaleY(1);
  transition-delay: 80ms;
}

.reveal-ready .reel-section.is-visible .reel-copy > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-ready .reel-section.is-visible .reel-copy > :nth-child(1) {
  transition-delay: 120ms;
}

.reveal-ready .reel-section.is-visible .reel-copy > :nth-child(2) {
  transition-delay: 190ms;
}

.reveal-ready .reel-section.is-visible .reel-copy > :nth-child(3) {
  transition-delay: 270ms;
}

.reveal-ready .reel-section.is-visible .reel-copy > :nth-child(4) {
  transition-delay: 350ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .reel-section .reel-copy::before,
  .reel-section .reel-copy > * {
    opacity: 1;
    transform: none !important;
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .values-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jd-item {
    grid-template-columns: 1fr;
  }

  .reel-stack > .section-heading h2 {
    font-size: 3.55rem;
  }

  .reel-copy h3 {
    font-size: 4.35rem;
  }

}

@media (max-width: 900px) {
  :root {
    --ams-header: 74px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .site-nav,
  .header-cta {
    display: none !important;
  }

  .menu-toggle {
    display: grid !important;
    flex: 0 0 auto;
    justify-self: end;
    margin-left: auto;
  }

  .site-menu__inner a {
    font-size: 4.625rem;
    line-height: 1.05;
  }

  .site-menu {
    padding-inline: 30px;
  }

  .site-menu__inner {
    margin-top: 112px;
  }

  .site-menu__footer-desktop {
    display: none;
  }

  .site-menu__footer-tablet {
    display: block;
  }

  .site-menu__footer-row > a,
  .site-menu__footer-row > span {
    min-height: 48px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .media-hero,
  .media-hero--compact {
    min-height: 86svh;
    padding-bottom: 86px;
  }

  .media-hero__shade {
    background:
      linear-gradient(90deg, rgba(6, 47, 101, 0.9), rgba(21, 22, 26, 0.34)),
      linear-gradient(180deg, rgba(21, 22, 26, 0.08), rgba(21, 22, 26, 0.82));
  }

  .work-intro__grid,
  .recruit-section__grid,
  .reel-section,
  .reel-section:nth-child(even),
  .contact-panel,
  .home-cta__inner {
    grid-template-columns: 1fr;
  }

  .reel-section:nth-child(even) .reel-copy {
    order: 0;
  }

  .work-intro h2 {
    font-size: clamp(2.55rem, 8vw, 4.2rem);
  }

  .work-intro__copy {
    max-width: 720px;
    align-self: start;
  }

  .reel-stack {
    padding: 82px 0;
  }

  .reel-stack > .section-heading {
    margin-bottom: 48px;
  }

  .reel-stack > .section-heading h2 {
    font-size: 2.65rem;
  }

  .reel-list {
    gap: 78px;
  }

  .reel-copy {
    max-width: 680px;
  }

  .reel-copy h3 {
    font-size: 3.8rem;
  }

  .reel-copy p {
    max-width: 62ch;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .video-frame {
    min-height: 240px;
  }

  .video-frame .sound-toggle {
    width: auto;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 620px) {
  :root {
    --ams-header: 68px;
  }

  body {
    font-size: 1rem;
    line-height: 1.62;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 3.45rem);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.2rem);
    line-height: 1.05;
  }

  h3 {
    font-size: 1.18rem;
  }

  .page-shell {
    width: min(calc(100% - 24px), var(--ams-max));
  }

  .site-header {
    inset: calc(env(safe-area-inset-top) + 8px) 0 auto;
  }

  .site-header__inner {
    width: min(calc(100% - 20px), var(--ams-max));
    min-height: 56px;
    padding: 6px 7px 6px 8px;
    gap: 10px;
  }

  .brand-lockup img {
    width: 40px;
    height: 40px;
  }

  .brand-lockup span {
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .site-menu {
    min-height: 100dvh;
    padding:
      0
      14px
      calc(env(safe-area-inset-bottom) + 24px);
    gap: 18px;
  }

  .site-menu__inner {
    margin-top: calc(env(safe-area-inset-top) + 182px);
    margin-left: 12px;
    gap: 10px;
  }

  .site-menu__inner a {
    max-width: 100%;
    font-size: clamp(3rem, 12.2vw, 3.35rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  .site-menu__footer-tablet {
    display: none;
  }

  .site-menu__footer-mobile {
    display: block;
  }

  .site-menu__footer-row > a,
  .site-menu__footer-row > span {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .site-menu__footer-row > span:first-child {
    font-size: 0.92rem;
  }

  .site-menu__footer-mobile .site-menu__footer-row:last-child > span {
    font-size: 0.78rem;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block:
      42px
      calc(42px + env(safe-area-inset-bottom));
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__brand,
  .site-footer__group {
    padding: 20px;
  }

  .site-footer__brand p {
    max-width: 100%;
    font-size: 1rem;
  }

  .site-footer__group {
    gap: 8px;
  }

  .site-footer__group a {
    min-height: 42px;
  }

  .hero-lede {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .hero-actions,
  .button-link,
  .sound-toggle {
    width: 100%;
  }

  .media-hero,
  .media-hero--compact {
    min-height: max(680px, 88svh);
    padding-top: calc(env(safe-area-inset-top) + 112px);
    padding-bottom: 104px;
  }

  .home-hero .sound-toggle {
    width: fit-content;
    min-width: 150px;
  }

  .reel-stack,
  .home-cta,
  .recruit-section {
    padding: 58px 0;
  }

  .reel-stack {
    padding-top: 84px;
  }

  .reel-list {
    gap: 72px;
  }

  .reel-stack > .section-heading h2 {
    font-size: 2.15rem;
  }

  .reel-copy {
    gap: 12px;
    padding-left: 14px;
  }

  .reel-copy .section-label {
    display: none;
  }

  .reel-copy h3 {
    font-size: clamp(2.8rem, 15vw, 3.7rem);
  }

  .reel-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .reel-copy p + p {
    font-size: 0.94rem;
  }

  .reveal-ready .reel-section .reel-copy > *,
  .reveal-ready .reel-section:nth-child(even) .reel-copy > * {
    transform: translate3d(0, 16px, 0);
  }

  .video-frame {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(21, 22, 26, 0.14);
  }

  .video-frame .sound-toggle {
    display: none;
  }

  .values-grid,
  .job-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .work-card__meta {
    min-height: 0;
    padding: 18px 56px 20px 18px;
  }

  .work-card__title {
    font-size: 1.42rem;
    line-height: 1.12;
  }

  .work-card__toggle {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
  }

  .work-card__content {
    gap: 12px;
    padding: 0 18px 22px;
  }

  .work-intro {
    padding: 58px 0 22px;
  }

  .work-intro__grid,
  .recruit-section__grid {
    gap: 20px;
  }

  .work-intro .eyebrow {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .work-intro h2 {
    font-size: clamp(2.05rem, 10vw, 2.85rem);
    line-height: 1.04;
  }

  .work-intro h2::after {
    width: min(168px, 54%);
    height: 4px;
    margin-top: 16px;
  }

  .work-intro__copy {
    gap: 10px;
    padding: 22px 18px 20px;
  }

  .work-intro__copy::before {
    top: 18px;
    bottom: 18px;
  }

  .work-intro__lead {
    font-size: 1.06rem;
    line-height: 1.52;
  }

  .work-intro__copy p:not(.work-intro__lead) {
    font-size: 0.96rem;
  }

  .work-intro__tags {
    gap: 7px;
  }

  .work-grid {
    gap: 16px;
    padding-block: 26px 64px;
  }

  .recruit-nav-band {
    top: calc(env(safe-area-inset-top) + 72px);
    padding: 10px 0;
  }

  .recruit-nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .recruit-nav::-webkit-scrollbar {
    display: none;
  }

  .recruit-nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 13px;
    scroll-snap-align: start;
  }

  .recruit-section .section-heading {
    margin-bottom: 24px;
  }

  .values-grid,
  .job-grid,
  .process-grid,
  .jd-list {
    gap: 12px;
  }

  .value-item,
  .job-card,
  .process-card,
  .jd-item {
    min-height: 0;
    padding: 20px;
  }

  .job-card .button-link,
  .jd-item .button-link {
    min-height: 46px;
  }

  .jd-item {
    gap: 18px;
    scroll-margin-top: 48px;
  }

  .jd-item ul {
    padding-left: 1.25rem;
  }

  .contact-panel {
    gap: 26px;
  }

  .contact-panel__media {
    border-radius: 10px;
  }

  .contact-panel .hero-actions {
    margin-top: 20px;
  }
}

/* Home keeps the original index-style first viewport. */
.home-page .site-header {
  inset: 18px 0 auto;
  color: var(--ams-white);
  mix-blend-mode: difference;
}

.home-page .site-header__inner,
.home-page .site-header.is-solid .site-header__inner,
body.home-page.menu-open .site-header__inner {
  width: calc(100% - clamp(48px, 5vw, 82px));
  min-height: 50px;
  padding: 0;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .brand-lockup {
  grid-column: 1;
  gap: 0;
}

.home-page .brand-lockup img {
  width: 48px;
  height: 48px;
}

.home-page .brand-lockup span {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  color: var(--ams-white);
  font-size: 1rem;
  line-height: 1;
}

.home-page .site-nav,
.home-page .header-cta {
  display: none !important;
}

.home-page .menu-toggle {
  display: grid !important;
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 2px solid currentColor;
  background: transparent;
  color: var(--ams-white);
}

.home-page .menu-toggle:hover,
.home-page .menu-toggle:focus-visible {
  background: var(--ams-yellow);
  color: var(--ams-ink);
}

body.menu-open .site-header,
body.home-page.menu-open .site-header {
  mix-blend-mode: normal;
}

body.menu-open .menu-toggle,
body.home-page.menu-open .menu-toggle {
  border-color: var(--ams-yellow);
  background: var(--ams-yellow);
  color: var(--ams-ink);
}

.home-page .home-hero.media-hero {
  min-height: 100svh;
  display: block;
  padding: 0;
  background: var(--ams-ink);
}

.home-page .media-hero__video,
.home-page .media-hero__image {
  object-position: center;
}

.home-page .media-hero__shade {
  background:
    radial-gradient(ellipse 58vw 42vh at 26% 84%, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.06) 62%, rgba(0, 0, 0, 0) 80%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.02));
}

.home-page .home-hero__content {
  position: absolute;
  left: clamp(24px, 4vw, 48px);
  bottom: clamp(38px, 4.5vw, 58px);
  z-index: 3;
  width: min(920px, calc(100% - 48px));
  margin: 0;
  display: grid;
  gap: 16px;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.home-info-card {
  position: relative;
  width: 100%;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 28px) clamp(58px, 5vw, 76px) clamp(18px, 2.4vw, 28px) clamp(18px, 2.8vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--ams-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(7, 33, 58, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 22px 58px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(135%);
  transform-origin: 28px calc(100% - 28px);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 360ms ease;
}

.home-info-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.home-info-card__close,
.home-info-card__open {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--ams-white);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.home-info-card__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.home-info-card__close:hover,
.home-info-card__close:focus-visible,
.home-info-card__open:hover,
.home-info-card__open:focus-visible {
  background: var(--ams-yellow);
  color: var(--ams-ink);
}

.home-info-card__open {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 56px;
  height: 56px;
  padding: 0;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(10px, -8px, 0) scale(0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: opacity 220ms ease, visibility 220ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 120ms ease, color 120ms ease;
}

.home-info-card__open span {
  transform: translateY(-1px);
}

.home-hero__content.is-collapsed .home-info-card {
  opacity: 0;
  pointer-events: none;
  filter: blur(5px);
  transform: translate3d(-6px, 14px, 0) scale(0.08);
}

.home-hero__content.is-collapsed {
  pointer-events: none;
}

.home-hero__content.is-collapsed .home-info-card__open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 840px;
  color: var(--ams-white);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 800;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34), 0 1px 2px rgba(0, 0, 0, 0.38);
}

.home-hero__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #a9d3ff;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 700;
}

.home-page .home-hero .hero-actions {
  gap: 0;
  min-height: 40px;
}

.home-page .home-hero .sound-toggle {
  min-height: 40px;
  padding: 10px 18px;
  background: var(--ams-yellow);
  color: var(--ams-ink);
  box-shadow: none;
}

.home-page .home-hero .sound-toggle__dot {
  background: var(--ams-ink);
}

.home-page .home-hero .sound-toggle[aria-pressed="true"] .sound-toggle__dot {
  background: var(--ams-green);
}

.explore-button {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--ams-ink);
  color: var(--ams-white);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 180ms ease, visibility 180ms ease, background-color 160ms ease, color 160ms ease;
}

.explore-button::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 9px solid currentColor;
}

.explore-button:hover,
.explore-button:focus-visible {
  background: var(--ams-yellow);
  color: var(--ams-ink);
}

.home-hero.is-leaving .home-hero__content,
.home-hero.is-leaving .explore-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .home-page .home-hero.media-hero {
    min-height: 100svh;
    padding: 0;
  }

  .home-page .media-hero__image {
    object-position: 54% center;
  }

  .home-page .media-hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 18, 31, 0.24) 0%, rgba(10, 18, 31, 0.08) 30%, rgba(10, 18, 31, 0.38) 58%, rgba(10, 18, 31, 0.82) 100%),
      radial-gradient(ellipse 92vw 46vh at 50% 84%, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0) 64%);
  }

  .home-page .home-hero__content {
    left: 16px;
    bottom: calc(env(safe-area-inset-bottom) + 54px);
    width: min(760px, calc(100% - 32px));
    gap: 12px;
  }

  .home-page .home-hero .hero-actions {
    position: static;
    inset: auto;
    pointer-events: auto;
  }

  .home-page .home-hero .sound-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 620px) {
  .home-page .site-header {
    inset: calc(env(safe-area-inset-top) + 10px) 0 auto;
    mix-blend-mode: normal;
  }

  .home-page .site-header__inner,
  .home-page .site-header.is-solid .site-header__inner,
  body.home-page.menu-open .site-header__inner {
    width: calc(100% - 24px);
    min-height: 44px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .home-page .brand-lockup img {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
  }

  .home-page .brand-lockup span {
    top: 13px;
    max-width: calc(100vw - 144px);
    overflow: hidden;
    color: var(--ams-ink);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(247, 244, 237, 0.58);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
  }

  .home-page .menu-toggle {
    width: 40px;
    height: 40px;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.22);
    color: var(--ams-ink);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
  }

  .home-page .home-hero__content {
    left: 14px;
    bottom: calc(env(safe-area-inset-bottom) + 54px);
    width: calc(100% - 28px);
    gap: 10px;
  }

  .home-info-card {
    gap: 10px;
    padding: 14px 44px 14px 14px;
    border-color: rgba(255, 255, 255, 0.28);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
      rgba(7, 22, 38, 0.58);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 18px 48px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px) saturate(120%);
  }

  .home-info-card::before {
    display: none;
  }

  .home-info-card__close {
    top: 9px;
    right: 9px;
    width: 28px;
    height: 28px;
    font-size: 1.05rem;
  }

  .home-info-card__open {
    width: 44px;
    height: 44px;
    background: rgba(7, 22, 38, 0.7);
  }

  .home-hero__copy {
    font-size: clamp(0.8rem, 3.55vw, 0.88rem);
    line-height: 1.42;
  }

  .home-hero__tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    padding: 1px 2px 2px;
    color: rgba(181, 218, 255, 0.96);
    font-size: 0.72rem;
    line-height: 1.2;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-hero__tags::-webkit-scrollbar {
    display: none;
  }

  .home-hero__tags span {
    flex: 0 0 auto;
    max-width: 86%;
    overflow: hidden;
    padding: 5px 8px;
    border: 1px solid rgba(169, 211, 255, 0.24);
    border-radius: 999px;
    background: rgba(5, 21, 37, 0.36);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-page .home-hero .hero-actions {
    display: none;
    position: static;
    inset: auto;
    width: auto;
    min-height: 36px;
    justify-self: start;
    pointer-events: auto;
  }

  .home-page .home-hero .sound-toggle {
    width: auto;
    min-width: 0;
    min-height: 40px;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(21, 22, 26, 0.08);
    font-size: 0.68rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .home-page .home-hero .sound-toggle__dot {
    width: 9px;
    height: 9px;
  }

  .explore-button {
    bottom: calc(env(safe-area-inset-bottom) + 12px);
    min-height: 36px;
    padding: 8px 13px;
    font-size: 0.66rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  }

  .work-hero__content,
  .recruit-hero__content {
    gap: 14px;
  }

  .work-hero h1 {
    font-size: clamp(3.2rem, 17vw, 4rem);
  }

  .recruit-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.55rem, 12.8vw, 3.15rem);
    line-height: 0.94;
  }

  .recruit-hero .hero-actions {
    gap: 10px;
  }

  .home-cta__inner {
    gap: 24px;
  }

  .home-cta .button-link {
    min-height: 50px;
  }
}

@media (max-width: 380px), (max-width: 620px) and (max-height: 720px) {
  .home-page .home-hero__content {
    bottom: calc(env(safe-area-inset-bottom) + 48px);
  }

  .home-info-card {
    padding: 12px 40px 12px 12px;
  }

  .home-hero__copy {
    font-size: 0.8rem;
    line-height: 1.34;
  }

  .home-hero__tags {
    display: none;
  }

  .media-hero,
  .media-hero--compact {
    min-height: 640px;
    padding-bottom: 76px;
  }

  .recruit-hero h1 {
    font-size: 2.35rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .button-link:hover,
  .header-cta:hover,
  .work-card:hover {
    transform: none;
  }

  .work-card__button:hover img {
    transform: none;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .media-hero,
  .media-hero--compact {
    min-height: 100dvh;
    padding-top: calc(env(safe-area-inset-top) + 88px);
    padding-bottom: calc(env(safe-area-inset-bottom) + 34px);
  }

  .home-page .home-hero__content {
    bottom: calc(env(safe-area-inset-bottom) + 16px);
    width: min(620px, calc(100% - 28px));
  }

  .home-info-card {
    max-height: 48dvh;
    overflow-y: auto;
  }

  .home-hero__tags,
  .home-page .home-hero .hero-actions,
  .explore-button {
    display: none;
  }

  .work-hero h1,
  .recruit-hero h1 {
    font-size: 2.6rem;
  }
}
