:root {
  color-scheme: light;
  --canvas: #fbfaf6;
  --paper: #ffffff;
  --ink: #182033;
  --muted: #505b70;
  --line: #dfe5ed;
  --blue: #137df5;
  --blue-deep: #0966cf;
  --teal: #22c8ba;
  --coral: #ff7057;
  --navy: #071321;
  --navy-soft: #0b1b2d;
  --gold: #ffc936;
  --wrap: min(1180px, calc(100% - 40px));
  --shadow-soft: 0 20px 60px rgba(24, 32, 51, 0.09);
  --shadow-card: 0 16px 42px rgba(24, 32, 51, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
:focus-visible { outline: 3px solid rgba(19, 125, 245, 0.48); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-180%);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 5;
  width: var(--wrap);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(24, 32, 51, 0.08);
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(24, 32, 51, 0.1);
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: var(--blue-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.eyebrow-on-dark { color: #94bfff; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 13px 21px;
  background: #fff;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24, 32, 51, 0.12); }
.button-primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-deep); }
.button-light { border-color: #fff; background: #fff; color: var(--navy); }
.button-ghost { border-color: rgba(255, 255, 255, 0.22); background: transparent; color: #fff; }

/* Home */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: 92px 0 112px;
}
.home-hero::before, .home-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.home-hero::before {
  top: -260px;
  right: -160px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(34, 200, 186, 0.2), transparent 68%);
}
.home-hero::after {
  bottom: -310px;
  left: -250px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(19, 125, 245, 0.18), transparent 68%);
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}
.home-hero h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.1vw, 5.8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.95;
}
.accent-word { position: relative; white-space: nowrap; }
.accent-word::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0;
  z-index: -1;
  height: 0.18em;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(19, 125, 245, 0.34), rgba(34, 200, 186, 0.38));
}
.home-hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}
.hero-art { position: relative; min-height: 500px; }
.hero-blob { position: absolute; border-radius: 44% 56% 62% 38% / 38% 46% 54% 62%; }
.hero-blob-blue {
  inset: 2% 3% 7% 2%;
  transform: rotate(-7deg);
  background: linear-gradient(145deg, #1688fa, #116add);
  box-shadow: 0 36px 80px rgba(19, 125, 245, 0.26);
}
.hero-blob-teal {
  right: -2%;
  bottom: 0;
  width: 58%;
  height: 43%;
  transform: rotate(9deg);
  background: var(--teal);
}
.hero-coral {
  position: absolute;
  top: 21%;
  right: -1%;
  width: 84px;
  height: 84px;
  border-radius: 28px;
  transform: rotate(12deg);
  background: var(--coral);
  box-shadow: 0 18px 38px rgba(255, 112, 87, 0.25);
}
.phone {
  position: absolute;
  overflow: hidden;
  z-index: 2;
  border: 8px solid #fff;
  border-radius: 32px;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-one { top: 0; left: 12%; width: 242px; aspect-ratio: 9 / 16; transform: rotate(-7deg); }
.phone-two { right: 7%; bottom: 2%; z-index: 3; width: 218px; aspect-ratio: 9 / 16; transform: rotate(7deg); }
.hero-logo {
  position: absolute;
  right: 14%;
  top: 4%;
  z-index: 4;
  width: 72px;
  height: 72px;
  border: 7px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.work-section { background: var(--navy); color: #fff; padding: 110px 0; }
.section-shell { width: var(--wrap); margin: 0 auto; }
.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 42px;
}
.work-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.7vw, 4.5rem);
  letter-spacing: -0.065em;
  line-height: 1;
}
.work-heading p { max-width: 400px; margin-bottom: 8px; color: #9cb1c8; font-size: 1.02rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background: var(--navy-soft);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}
.product-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1.2fr);
  align-items: stretch;
}
.product-card-copy { padding: clamp(30px, 3.6vw, 50px); }
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #9cb1c8;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52d797;
  box-shadow: 0 0 0 5px rgba(82, 215, 151, 0.12);
}
.product-title-row { display: flex; align-items: center; gap: 17px; margin-bottom: 24px; }
.product-title-row > div { min-width: 0; }
.product-icon { width: 70px; height: 70px; flex: 0 0 auto; border-radius: 18px; }
.product-title-row h3 { margin-bottom: 2px; font-size: clamp(1.9rem, 2.2vw, 2.7rem); letter-spacing: -0.05em; line-height: 1.02; overflow-wrap: break-word; }
.product-title-row p { margin-bottom: 0; color: #9cb1c8; font-weight: 650; }
.product-card-copy > p { max-width: 580px; color: #b8c6d6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.tag { border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 99px; padding: 7px 12px; color: #b8c6d6; font-size: 0.75rem; font-weight: 700; }
.product-card-media {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 24px 0;
  background: radial-gradient(circle at 50% 46%, #0c1f34, #06101d 74%);
}
.product-card-media > img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.product-card-media::after {
  content: "Featured release";
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  padding: 8px 12px;
  background: rgba(4, 13, 23, 0.76);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Standard (non-featured) catalog cards: media on top, copy below. */
.product-card:not(.product-card-featured) { display: flex; flex-direction: column; }
.product-card:not(.product-card-featured) .product-card-media { order: -1; display: block; min-height: 0; padding: 0; aspect-ratio: 16 / 10; }
.product-card:not(.product-card-featured) .product-card-media > img { max-height: none; object-fit: cover; }
.product-card:not(.product-card-featured) .product-card-media::after { content: none; }
.product-card:not(.product-card-featured) .product-card-copy { padding: clamp(26px, 3vw, 36px); }
.product-card:not(.product-card-featured) .product-title-row h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.product-card:not(.product-card-featured) .product-icon { width: 54px; height: 54px; border-radius: 15px; }

.studio-section { position: relative; overflow: hidden; padding: 120px 0; counter-reset: principle; }
.studio-section::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 55%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 112, 87, 0.13), transparent 68%);
}
.studio-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.76fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}
.studio-intro { min-width: 0; }
.studio-section h2 {
  max-width: 750px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  letter-spacing: -0.06em;
  line-height: 1;
}
.studio-lead { max-width: 620px; margin-bottom: 20px; color: var(--ink); font-size: clamp(1.1rem, 1.7vw, 1.32rem); font-weight: 550; letter-spacing: -0.015em; line-height: 1.45; }
.studio-copy { max-width: 610px; margin-bottom: 16px; color: var(--muted); font-size: 1.06rem; }
.studio-principles {
  position: relative;
  margin: clamp(52px, 6vw, 78px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.studio-principles li {
  counter-increment: principle;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px 30px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.studio-principles h3 {
  margin-bottom: 9px;
  font-size: 1.14rem;
  letter-spacing: -0.025em;
}
.studio-principles h3::before {
  content: "0" counter(principle);
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}
.studio-principles p { margin-bottom: 0; color: var(--muted); font-size: 0.97rem; }
.studio-note { border: 1px solid var(--line); border-radius: 24px; padding: 30px; background: rgba(255, 255, 255, 0.86); box-shadow: var(--shadow-soft); }
.studio-note img { width: 64px; height: 64px; margin-bottom: 26px; border-radius: 18px; }
.studio-note h3 { margin-bottom: 9px; font-size: 1.35rem; letter-spacing: -0.03em; }
.studio-note p { margin-bottom: 23px; color: var(--muted); }
.studio-facts { margin: 18px 0 26px; display: grid; gap: 18px; }
.studio-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.studio-facts dd { margin: 0; color: var(--ink); font-size: 0.97rem; line-height: 1.45; }
.text-link { color: var(--blue-deep); font-weight: 750; text-underline-offset: 4px; }

/* Product detail */
.product-page-hero { background: var(--navy); color: #fff; padding: 88px 0 96px; }
.product-page-grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}
.product-page-copy h1 { margin-bottom: 14px; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.07em; line-height: 0.95; }
.product-page-copy h2 { margin-bottom: 20px; color: var(--gold); font-size: clamp(1.9rem, 3.4vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.04; }
.product-page-copy > p { max-width: 620px; color: #b8c6d6; font-size: 1.05rem; }
.product-page-title { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.product-page-title > div { min-width: 0; }
.product-page-title h1 { margin-bottom: 3px; font-size: clamp(2.3rem, 4vw, 3.6rem); letter-spacing: -0.055em; line-height: 1; }
.product-page-title .product-icon { width: 78px; height: 78px; border-radius: 20px; }
.product-page-title p { margin-bottom: 0; color: #9cb1c8; font-weight: 650; }
.feature-frame { overflow: hidden; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 36px; background: #0a1b2c; box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38); }
.feature-frame img { width: 100%; height: auto; }
.screens-section { background: var(--navy); color: #fff; padding: 24px 0 112px; }
.screens-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 34px; }
.screens-heading h2 { max-width: 680px; margin-bottom: 0; font-size: clamp(2.3rem, 4.8vw, 4.5rem); letter-spacing: -0.06em; line-height: 1; }
.screens-heading p { max-width: 390px; margin-bottom: 4px; color: #9cb1c8; }
.screens-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.screen-card { overflow: hidden; min-width: 0; margin: 0; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 27px; background: var(--navy-soft); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); }
.screen-card:nth-child(even) { transform: translateY(28px); }
.screen-card img { width: 100%; height: auto; }
.feature-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 104px; }
.feature-point { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 24px; }
.feature-point-number { margin-bottom: 32px; color: var(--teal); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.13em; }
.feature-point h3 { margin-bottom: 9px; font-size: 1.25rem; }
.feature-point p { margin-bottom: 0; color: #9cb1c8; font-size: 0.92rem; }
.product-note { max-width: 720px; margin-top: clamp(48px, 6vw, 76px); border-left: 3px solid var(--teal); padding-left: 22px; }
.product-note h3 { margin-bottom: 8px; font-size: 1.08rem; letter-spacing: -0.02em; }
.product-note p { margin-bottom: 0; color: #b8c6d6; }

/* About column: the studio voice, links under the copy */
.person-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }

/* Product page closing band: keeps a light section between the dark page and the footer */
.product-outro { background: var(--canvas); padding: clamp(64px, 8vw, 104px) 0 clamp(70px, 8vw, 108px); }
.product-outro-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.product-outro h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.05em; line-height: 1.02; }

/* Press kit */
.press-hero { padding: 34px 0 clamp(52px, 6vw, 76px); }
.press-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.5rem, 5.2vw, 4.6rem); letter-spacing: -0.06em; line-height: 1; }
.press-lead { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.press-section { padding-bottom: clamp(56px, 6vw, 84px); }
.press-section h2 { margin-bottom: 6px; font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -0.045em; }
.press-section-alt { padding-top: clamp(46px, 5vw, 66px); border-top: 1px solid var(--line); }
.press-game-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.press-game-head .product-icon { width: 68px; height: 68px; border-radius: 18px; }
.press-game-head h2 { margin-bottom: 2px; }
.press-game-head p { margin-bottom: 0; color: var(--muted); font-weight: 650; }
.press-pitch { max-width: 720px; margin-bottom: 30px; color: var(--muted); font-size: 1.05rem; }
.press-note { max-width: 620px; margin-bottom: 24px; color: var(--muted); }
.press-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 60px); }
.press-facts > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; border-top: 1px solid var(--line); padding: 15px 0; }
.press-facts dt { color: var(--muted); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.press-facts dd { margin: 0; color: var(--ink); font-size: 0.98rem; }
.press-asset-group + .press-asset-group { margin-top: 28px; }
.press-asset-group h4 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.press-assets { display: grid; align-items: start; gap: 14px; }
.press-assets-shots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.press-asset {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.press-asset a { display: block; line-height: 0; }
.press-asset a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.press-asset img { width: 100%; height: auto; }
.press-asset figcaption { padding: 10px 13px 12px; color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.press-game { margin-top: 26px; }
.press-game + .press-game { border-top: 1px solid var(--line); margin-top: 46px; padding-top: 42px; }
.press-game h3 { margin-bottom: 2px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.04em; }
.press-game .press-assets { margin-top: 26px; }

/* Enlarged image view: CSS only, closes with the button, the backdrop or Back */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vmin, 56px);
}
.lightbox:target { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(6, 16, 29, 0.86); }
.lightbox-figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  max-width: 100%;
}
.lightbox-figure img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.lightbox-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 650;
}
.lightbox-figure figcaption a { color: #fff; text-underline-offset: 4px; }
.lightbox-close {
  position: fixed;
  top: clamp(14px, 4vmin, 40px);
  right: clamp(14px, 4vmin, 40px);
  z-index: 2;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.32); }
.lightbox-close:active { transform: scale(0.94); }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  border-radius: 38px;
  padding: 76px clamp(28px, 7vw, 104px) 30px;
  background: linear-gradient(135deg, #147df5 0%, #0d6bda 58%, #0759bc 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(34, 200, 186, 0.55);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: clamp(64px, 16%, 210px);
  top: 34px;
  width: 72px;
  height: 72px;
  border-radius: 23px;
  transform: rotate(14deg);
  background: rgba(255, 112, 87, 0.88);
}
.footer-shell { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; }
.footer-lead { display: flex; align-items: end; justify-content: space-between; gap: 42px; padding-bottom: 58px; border-bottom: 1px solid rgba(255, 255, 255, 0.24); }
.footer-kicker { margin-bottom: 14px; color: rgba(255, 255, 255, 0.76); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-lead h2 { max-width: 720px; margin-bottom: 0; color: #fff; font-size: clamp(2.7rem, 5.4vw, 5.4rem); letter-spacing: -0.065em; line-height: 0.96; }
.footer-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 99px;
  padding: 13px 20px;
  background: #fff;
  color: #0a5fc8;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(4, 45, 103, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.footer-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(4, 45, 103, 0.26); }
.footer-main { display: grid; grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.45fr); gap: clamp(54px, 9vw, 130px); padding: 52px 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; align-self: start; text-decoration: none; }
.footer-brand img { width: 54px; height: 54px; border: 5px solid rgba(255, 255, 255, 0.24); border-radius: 17px; box-shadow: 0 12px 26px rgba(4, 45, 103, 0.18); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: #fff; font-size: 1.05rem; letter-spacing: -0.02em; }
.footer-brand span { margin-top: 2px; color: rgba(255, 255, 255, 0.68); font-size: 0.8rem; }
.footer-navs { display: grid; grid-template-columns: 0.8fr 1.25fr 0.85fr; gap: 32px; }
.footer-nav h3 { margin-bottom: 18px; color: rgba(255, 255, 255, 0.58); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-nav a { display: block; width: fit-content; margin-bottom: 11px; color: #fff; font-weight: 600; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.16s ease; }
.footer-nav a:hover { text-decoration-color: currentColor; }
.footer-product { border-left: 2px solid rgba(255, 255, 255, 0.28); padding-left: 14px; }
.footer-product > a { margin-bottom: 5px; font-size: 1rem; font-weight: 750; }
.footer-product-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-product-links a { color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255, 255, 255, 0.24); padding-top: 26px; color: rgba(255, 255, 255, 0.62); font-size: 0.76rem; }

@media (max-width: 960px) {
  .home-hero { padding-top: 64px; }
  .home-hero-inner, .product-card-featured, .studio-grid, .product-page-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 760px; }
  .hero-art { width: min(580px, 100%); margin: 0 auto; }
  .work-heading, .screens-heading { align-items: flex-start; flex-direction: column; }
  .product-card-media { min-height: 0; }
  .product-card-media > img { height: auto; }
  .screens-grid { grid-template-columns: repeat(4, 235px); overflow-x: auto; margin-right: calc((100vw - 100%) / -2); padding-right: 20px; padding-bottom: 36px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .screen-card { scroll-snap-align: start; }
  .feature-points { grid-template-columns: 1fr; gap: 34px; }
  .feature-point-number { margin-bottom: 14px; }
  .studio-principles { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .press-assets-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-facts { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --wrap: min(calc(100% - 28px), 1180px); }
  .site-header { flex-wrap: wrap; gap: 12px 18px; padding-top: 15px; }
  .brand { font-size: 0.95rem; }
  .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .site-nav a { font-size: 0.84rem; }
  .home-hero { min-height: 0; padding: 65px 0 80px; }
  .home-hero h1 { margin-bottom: 20px; font-size: clamp(3rem, 13vw, 3.4rem); }
  .home-hero-copy, .hero-art, .product-card-copy, .product-page-copy { min-width: 0; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-art { min-height: 425px; }
  .phone-one { left: 7%; width: 195px; }
  .phone-two { right: 4%; width: 174px; }
  .hero-logo { right: 8%; width: 62px; height: 62px; }
  .hero-coral { width: 65px; height: 65px; border-radius: 22px; }
  .work-section, .studio-section { padding: 82px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .product-card { border-radius: 26px; }
  .product-card-copy { padding: 28px 22px 32px; }
  .product-title-row { align-items: flex-start; }
  .product-icon { width: 58px; height: 58px; border-radius: 15px; }
  .studio-note { padding: 24px; }
  .studio-principles { grid-template-columns: 1fr; gap: 14px; }
  .product-outro-inner { align-items: flex-start; flex-direction: column; }
  .press-assets-shots { grid-template-columns: 1fr; }
  .press-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .studio-principles li { padding: 24px 22px 26px; border-radius: 18px; }
  .product-page-hero { padding: 68px 0 76px; }
  .product-page-title { align-items: flex-start; }
  .product-page-title .product-icon { width: 62px; height: 62px; border-radius: 16px; }
  .feature-frame { border-radius: 26px; }
  .screens-grid { grid-template-columns: repeat(4, 218px); }
  .screen-card:nth-child(even) { transform: none; }
  .site-footer { width: calc(100% - 20px); margin: 0 10px 10px; border-radius: 26px; padding: 54px 22px 25px; }
  .site-footer::before { right: -170px; top: -180px; }
  .site-footer::after { right: 10%; top: 24px; width: 54px; height: 54px; border-radius: 17px; }
  .footer-lead { align-items: flex-start; flex-direction: column; padding-bottom: 42px; }
  .footer-cta { width: 100%; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; padding: 42px 0; }
  .footer-navs { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-nav-products { grid-column: 1 / -1; grid-row: 2; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

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