:root {
  --navy: #071f57;
  --blue: #0966d9;
  --sky: #00a7e8;
  --purple: #7924a8;
  --pink: #e91e63;
  --paper: #f5f8ff;
  --card: #ffffff;
  --ink: #071936;
  --muted: #5e6c85;
  --line: rgba(7, 31, 87, 0.12);
  --shadow: 0 28px 80px rgba(7, 31, 87, 0.16);
  --hero-motion: 6s;
  --motion-ease: cubic-bezier(0.2, 0, 0, 1);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: rgba(245, 248, 255, 0.28);
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(245, 248, 255, 0.36)),
    radial-gradient(circle at 12% 8%, rgba(0, 167, 232, 0.22), transparent 24%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(34vw, 440px);
  height: min(28vh, 260px);
  background:
    radial-gradient(ellipse at 76% 78%, rgba(245, 242, 235, 0.92) 0 18%, rgba(245, 242, 235, 0.72) 28%, transparent 62%),
    linear-gradient(135deg, transparent 0 42%, rgba(241, 238, 232, 0.62) 70%, rgba(241, 238, 232, 0.76) 100%);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.page-video-bg {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: 116vw;
  height: 116vh;
  object-fit: cover;
  opacity: 0.68;
  filter: saturate(1.08) contrast(1.04);
  transform: translate(-53%, -53%);
  pointer-events: none;
}

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

a,
button,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(9, 102, 217, 0.42);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.site-header {
  position: fixed;
  inset: 16px clamp(14px, 4vw, 54px) auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(7, 31, 87, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, background 0.22s ease;
}

.site-header.is-scrolled {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
}

.brand,
.nav,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 167, 232, 0.3);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--blue);
}

.nav a[aria-current="location"] {
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(9, 102, 217, 0.28);
}

.hero {
  position: relative;
  display: block;
  min-height: 760px;
  padding: 142px clamp(16px, 4vw, 64px) 86px;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  width: 100%;
  min-height: 532px;
  flex-direction: column;
  justify-content: center;
}

.hero-light {
  position: absolute;
  inset: 90px auto auto 44%;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 167, 232, 0.28), transparent 64%);
  animation: float 7s ease-in-out infinite;
}

.hero-copy,
.hero-card,
.section {
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  display: none;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(9, 102, 217, 0.08);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-info-row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0 0 30px;
}

h1 {
  max-width: 100%;
  margin-bottom: clamp(28px, 4vw, 54px);
  color: var(--navy);
  -webkit-text-fill-color: currentColor;
  font-size: clamp(64px, 8.6vw, 154px);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.22));
}

.hero-text {
  flex: 1 1 auto;
  max-width: 720px;
  margin-bottom: 0;
  color: #06173a;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 800;
  line-height: 1.5;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.72);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 16px 36px rgba(9, 102, 217, 0.3);
}

.button.ghost {
  color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 34px rgba(7, 31, 87, 0.08);
}

.hero-card {
  position: relative;
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: clamp(430px, 31vw, 560px);
  padding: 14px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: none;
}

.collage-tiles {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: #eaf4ff;
}

.collage-tiles::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: url("photo/photo1.png") 0 0 / 100% 100% no-repeat;
  opacity: 0;
  animation: revealCompleteCollage 0.22s ease 0.48s forwards;
  pointer-events: none;
}

.collage-tiles::before {
  content: "";
  position: absolute;
  left: 1.4%;
  right: 1.4%;
  bottom: 1.6%;
  z-index: 4;
  height: 7.2%;
  border-radius: 0 0 16px 16px;
  opacity: 0;
  background:
    linear-gradient(100deg, transparent 0 35%, rgba(255, 255, 255, 0.66) 45%, transparent 57%),
    radial-gradient(circle at 91% 50%, rgba(255, 62, 160, 0.48), transparent 16%);
  mix-blend-mode: screen;
  transform: translateX(-120%);
  animation:
    footerStripReveal 0.18s ease 0.52s forwards,
    footerStripShine 3.2s ease-in-out 0.78s infinite;
  pointer-events: none;
}

.tile {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transform: translate(var(--dx), var(--dy)) scale(0.96);
  animation:
    assembleTile 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay) forwards,
    tileGlow 0.82s ease-out var(--delay) forwards;
  will-change: transform, opacity;
}

.tile::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 2;
  border-radius: 18px;
  background:
    linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.76) 48%, transparent 76%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.34), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-34%) scale(1.04);
  animation: tileEdgeFlash 0.64s ease-out var(--delay) forwards;
  pointer-events: none;
}

.tile::before {
  content: "";
  position: absolute;
  width: var(--full-w);
  height: var(--full-h);
  left: var(--full-left);
  top: var(--full-top);
  background: url("photo/photo1.png") 0 0 / 100% 100% no-repeat;
}

.photo-print {
  left: 0%;
  top: 0%;
  width: 35.5%;
  height: 35.5%;
  --full-w: 281.7%;
  --full-h: 281.7%;
  --full-left: 0%;
  --full-top: 0%;
  --dx: -44px;
  --dy: -34px;
  --delay: 0s;
}

.docs-print {
  left: 0%;
  top: 35.5%;
  width: 35.5%;
  height: 23.8%;
  --full-w: 281.7%;
  --full-h: 420.2%;
  --full-left: 0%;
  --full-top: -149.2%;
  --dx: -54px;
  --dy: 0px;
  --delay: 0s;
}

.ribbon-print {
  left: 0%;
  top: 59.3%;
  width: 35.5%;
  height: 14.2%;
  --full-w: 281.7%;
  --full-h: 704.3%;
  --full-left: 0%;
  --full-top: -417.6%;
  --dx: -45px;
  --dy: 22px;
  --delay: 0s;
}

.studio-core {
  left: 35.5%;
  top: 0%;
  width: 27.3%;
  height: 58.8%;
  --full-w: 366.4%;
  --full-h: 170.1%;
  --full-left: -130%;
  --full-top: 0%;
  --dx: 0px;
  --dy: -52px;
  --delay: 0s;
}

.laminating {
  left: 35.5%;
  top: 58.8%;
  width: 27.3%;
  height: 14.7%;
  --full-w: 366.4%;
  --full-h: 680.3%;
  --full-left: -130%;
  --full-top: -400%;
  --dx: 0px;
  --dy: 38px;
  --delay: 0s;
}

.metal-print {
  left: 62.8%;
  top: 0%;
  width: 37.2%;
  height: 31.4%;
  --full-w: 268.9%;
  --full-h: 318.5%;
  --full-left: -168.8%;
  --full-top: 0%;
  --dx: 46px;
  --dy: -34px;
  --delay: 0s;
}

.mugs-print {
  left: 62.8%;
  top: 31.4%;
  width: 37.2%;
  height: 22.8%;
  --full-w: 268.9%;
  --full-h: 438.6%;
  --full-left: -168.8%;
  --full-top: -137.7%;
  --dx: 54px;
  --dy: 0px;
  --delay: 0s;
}

.textile-print {
  left: 62.8%;
  top: 54.2%;
  width: 37.2%;
  height: 19.3%;
  --full-w: 268.9%;
  --full-h: 518.2%;
  --full-left: -168.8%;
  --full-top: -280.8%;
  --dx: 46px;
  --dy: 28px;
  --delay: 0s;
}

.print-3d {
  left: 0%;
  top: 73.5%;
  width: 100%;
  height: 18.3%;
  --full-w: 100%;
  --full-h: 546.5%;
  --full-left: 0%;
  --full-top: -401.6%;
  --dx: -42px;
  --dy: 42px;
  --delay: 0s;
}

.contour-cut {
  display: none;
}

.footer-strip {
  left: 0%;
  top: 91.8%;
  width: 100%;
  height: 8.2%;
  --full-w: 100%;
  --full-h: 1219.6%;
  --full-left: 0%;
  --full-top: -1119.5%;
  --dx: 0px;
  --dy: 34px;
  --delay: 0s;
}

.footer-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(circle at 91% 45%, rgba(255, 45, 147, 0.28), transparent 18%);
  mix-blend-mode: screen;
  opacity: 0;
  animation:
    footerStripReveal 0.18s ease 0.12s forwards,
    footerStripPulse 2.2s ease-in-out 0.42s infinite;
}

.hero-badge {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
  display: grid;
  width: clamp(96px, 7.2vw, 124px);
  aspect-ratio: 1;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  text-align: center;
  perspective: 900px;
  animation: badgeFloat var(--hero-motion) ease-in-out infinite;
}

.badge-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  backface-visibility: hidden;
  box-shadow: 0 18px 42px rgba(7, 31, 87, 0.18);
  animation: badgeFlip var(--hero-motion) cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.badge-logo {
  overflow: hidden;
  background: #13ace3;
}

.badge-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-text {
  padding: 12%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  transform: rotateY(180deg);
  animation-name: badgeFlipBack;
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 0.9;
}

.hero-badge span {
  font-size: clamp(6px, 0.7vw, 10px);
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(16px, 4vw, 64px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 36px;
}

.section-head h2,
.collage-copy h2,
.order-card h2 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 950;
  line-height: 1.06;
  text-transform: uppercase;
}

.section-head p,
.collage-copy p,
.order-card p,
.service-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.direction-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}

.direction-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.direction-card:hover img {
  transform: scale(1.045);
}

.direction-card div {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 24px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 31, 87, 0.18), rgba(7, 31, 87, 0.88));
  backdrop-filter: blur(12px);
}

.direction-card span,
.service-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.direction-card h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04;
}

.direction-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.48;
}

#directions,
#services,
#gallery,
#faq,
#order,
#contacts {
  scroll-margin-top: 110px;
}

.services {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  isolation: isolate;
  min-height: 270px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 255, 0.78)),
    #fff;
  box-shadow: 0 18px 48px rgba(7, 31, 87, 0.1);
  transition:
    transform 0.28s var(--motion-ease),
    border-color 0.28s ease,
    box-shadow 0.28s var(--motion-ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -38%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  opacity: 0;
  transform: translateX(-140%) skewX(-16deg);
  pointer-events: none;
}

.service-card i {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-style: normal;
  font-size: 25px;
  box-shadow: 0 14px 34px rgba(9, 102, 217, 0.22);
  transition:
    transform 0.25s var(--motion-ease),
    box-shadow 0.25s ease;
}

.service-card span {
  color: var(--blue);
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.16;
  transition: transform 0.22s var(--motion-ease);
}

.service-card p {
  margin-bottom: 18px;
  font-size: 16px;
}

.service-more {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(9, 102, 217, 0.28);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.service-more:hover,
.service-more:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.service-card:hover,
.service-card.is-hovered {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(9, 102, 217, 0.25);
  box-shadow: 0 30px 72px rgba(7, 31, 87, 0.2);
}

.service-card:hover::before,
.service-card.is-hovered::before {
  opacity: 1;
  transform: translateX(470%) skewX(-16deg);
  transition:
    transform 0.56s var(--motion-ease),
    opacity 0.12s ease;
}

.service-card:hover i,
.service-card.is-hovered i {
  transform: rotate(-6deg) scale(1.09);
  box-shadow: 0 18px 40px rgba(9, 102, 217, 0.32);
}

.service-card:hover h3,
.service-card.is-hovered h3 {
  transform: translateX(4px);
}

.collage-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.collage-frame {
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.animated-collage .collage-tiles::before,
.animated-collage .collage-tiles::after,
.animated-collage .tile,
.animated-collage .tile::after,
.animated-collage .footer-strip::after {
  animation-play-state: paused;
}

.animated-collage.is-visible .collage-tiles::before,
.animated-collage.is-visible .collage-tiles::after,
.animated-collage.is-visible .tile,
.animated-collage.is-visible .tile::after,
.animated-collage.is-visible .footer-strip::after {
  animation-play-state: running;
}

.collage-frame img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

.advantages {
  padding-top: 26px;
}

.advantage-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.advantage-track div {
  min-height: 150px;
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 18px 48px rgba(7, 31, 87, 0.18);
}

.advantage-track strong {
  display: block;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 34px;
}

.advantage-track span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.order-section {
  padding-top: 36px;
}

.faq-section {
  padding-top: 36px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(7, 31, 87, 0.09);
  transition: transform 0.28s var(--motion-ease), box-shadow 0.28s var(--motion-ease);
}

.faq-list details:hover,
.faq-list details[open] {
  transform: translateX(6px);
  box-shadow: 0 22px 52px rgba(7, 31, 87, 0.14);
}

.faq-list summary {
  min-height: 56px;
  padding: 18px 56px 18px 22px;
  color: var(--navy);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list details p {
  max-width: 760px;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 38px;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 18%, rgba(233, 30, 99, 0.13), transparent 28%),
    linear-gradient(135deg, #fff, #eaf4ff);
  box-shadow: var(--shadow);
}

.order-copy p:last-child {
  max-width: 700px;
}

.order-button {
  width: 100%;
}

.contact-modal {
  width: min(560px, calc(100% - 28px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 32px;
  color: var(--ink);
  background: transparent;
}

.contact-modal::backdrop {
  background: rgba(7, 20, 52, 0.62);
  backdrop-filter: blur(8px);
}

.contact-modal-card {
  position: relative;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 30, 99, 0.14), transparent 30%),
    linear-gradient(145deg, #fff, #eaf4ff);
  box-shadow: 0 30px 90px rgba(7, 31, 87, 0.34);
}

.contact-modal[open]::backdrop {
  animation: backdropIn 0.28s ease-out both;
}

.contact-modal[open] .contact-modal-card {
  animation: modalIn 0.36s var(--motion-ease) both;
}

.contact-modal h2 {
  max-width: 440px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.05;
}

.contact-modal-card > p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
}

.contact-modal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-choice {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(9, 102, 217, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-choice:hover,
.contact-choice:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(9, 102, 217, 0.32);
}

.contact-modal-close:focus-visible,
.contact-choice:focus-visible {
  outline: 3px solid rgba(9, 102, 217, 0.28);
  outline-offset: 3px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 34px clamp(16px, 4vw, 64px);
  color: var(--muted);
}

.footer-brand img {
  width: 64px;
  height: 64px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
}

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.footer-address {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--navy);
  font-style: normal;
  font-weight: 750;
}

.footer-address a {
  color: var(--blue);
  text-decoration: none;
}

.footer-address a:hover,
.footer-address a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.footer-legal a,
.footer-legal button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bottom-toolbar {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: clamp(12px, 3vw, 34px);
  bottom: clamp(12px, 3vw, 34px);
  left: clamp(12px, 3vw, 34px);
  z-index: 60;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(7, 31, 87, 0.28);
  backdrop-filter: blur(18px);
  animation: cookieIn 0.38s var(--motion-ease) both;
}

.cookie-banner:not([hidden]) {
  display: grid;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

.cookie-banner p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 48px;
  white-space: nowrap;
}

.legal-page {
  min-height: 100vh;
  background: #eef4ff;
}

.legal-page::before,
.legal-page::after {
  display: none;
}

.legal-header,
.legal-document,
.legal-footer {
  width: min(960px, calc(100% - 28px));
  margin-right: auto;
  margin-left: auto;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}

.legal-header .button {
  width: auto;
  min-height: 48px;
  background: #fff;
}

.legal-document {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-document h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(36px, 7vw, 70px);
  line-height: 1;
}

.legal-document h2 {
  margin: 38px 0 12px;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 30px);
}

.legal-document p,
.legal-document li {
  color: #394966;
  font-size: 17px;
  line-height: 1.72;
}

.legal-document a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-service-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 199, 255, 0.13), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(255, 45, 147, 0.1), transparent 30%),
    rgba(238, 245, 255, 0.34);
}

.seo-service-page .legal-header .button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(110deg, var(--blue), var(--purple));
  box-shadow: 0 16px 34px rgba(9, 102, 217, 0.28);
}

.seo-service-page .legal-header .button.primary:hover,
.seo-service-page .legal-header .button.primary:focus-visible {
  color: #fff;
  background: linear-gradient(110deg, #075bc4, #681d95);
}

.service-detail {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 60px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--blue);
  font-weight: 800;
}

.service-detail-hero,
.service-detail-section,
.service-detail-cta {
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 58px rgba(7, 31, 87, 0.1);
}

.service-detail-hero h1 {
  max-width: 900px;
  margin: 12px 0 20px;
  color: var(--navy);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
}

.service-detail-lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-detail-section h2,
.service-detail-cta h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.service-detail-section h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 21px;
}

.service-detail-section p,
.service-detail-section li,
.service-detail-cta p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.service-detail-section ul,
.service-detail-section ol {
  padding-left: 22px;
}

.service-detail-section details {
  padding: 17px 0;
  border-bottom: 1px solid rgba(7, 31, 87, 0.12);
}

.service-detail-section summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.service-detail-cta {
  margin-top: 20px;
  text-align: center;
}

.service-detail-wide {
  margin-top: 20px;
}

.service-detail-cta .service-detail-actions {
  justify-content: center;
}

.service-page-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 40px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.service-page-footer a {
  color: var(--blue);
  font-weight: 800;
}

.legal-lead {
  max-width: 760px;
  font-size: 20px !important;
}

.legal-note {
  margin-top: 42px;
  padding: 18px;
  border-radius: 18px;
  background: #edf4ff;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.legal-footer a {
  color: var(--navy);
  font-weight: 800;
}

.legal-footer p {
  flex-basis: 100%;
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) scale(1.06);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes titleShine {
  from {
    background-position: 132% 0;
  }
  to {
    background-position: -132% 0;
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.035);
  }
}

@keyframes badgeFlip {
  0%,
  38% {
    transform: rotateY(0deg);
  }
  50%,
  88% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes badgeFlipBack {
  0%,
  38% {
    transform: rotateY(180deg);
  }
  50%,
  88% {
    transform: rotateY(360deg);
  }
  100% {
    transform: rotateY(540deg);
  }
}

@keyframes assembleTile {
  0% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.94);
  }
  42% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes tileGlow {
  0% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  42% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.68)) drop-shadow(0 0 28px rgba(255, 255, 255, 0.34));
  }
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

@keyframes tileEdgeFlash {
  0% {
    opacity: 0;
    transform: translateX(-34%) scale(1.04);
  }
  32% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translateX(38%) scale(1.04);
  }
}

@keyframes revealCompleteCollage {
  to {
    opacity: 1;
  }
}

@keyframes footerStripReveal {
  to {
    opacity: 1;
  }
}

@keyframes footerStripShine {
  0%,
  18% {
    transform: translateX(-120%);
  }
  58% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes footerStripPulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.85;
  }
}

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

@media (max-width: 1180px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .collage-section,
  .order-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .direction-grid,
  .service-grid,
  .advantage-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    display: flex;
    width: 100%;
    min-height: 500px;
  }

  .hero-info-row {
    margin: 0 0 26px;
  }

  .hero-actions {
    margin-top: 0;
  }

  .hero-card {
    max-width: 980px;
    min-height: auto;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  body::after {
    width: 52vw;
    height: 28vh;
  }

  .page-video-bg {
    width: 124vw;
    height: 124vh;
    transform: translate(-54%, -53%);
  }

  .site-header {
    position: fixed;
    top: 10px;
    right: 10px;
    bottom: auto;
    left: 10px;
    display: flex;
    width: calc(100% - 20px);
    min-height: 68px;
    justify-content: space-between;
    border-radius: 24px;
  }

  .site-header .brand {
    flex: 1 1 auto;
  }

  .brand small {
    display: none;
  }

  .site-header .brand span {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero-info-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero {
    padding: 108px 14px 42px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 8px;
    border-radius: 24px;
    transform: none;
  }

  .hero-card img,
  .collage-tiles,
  .collage-frame img {
    border-radius: 18px;
  }

  .hero-badge {
    width: 108px;
  }

  .section {
    padding: 50px 14px;
  }

  .section-head h2,
  .collage-copy h2,
  .order-card h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .direction-grid,
  .service-grid,
  .advantage-track {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 430px;
  }

  .service-card {
    min-height: auto;
  }

  .footer {
    align-items: flex-start;
  }

  .bottom-toolbar {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 54px rgba(7, 31, 87, 0.25);
    backdrop-filter: blur(18px);
    animation: toolbarIn 0.45s var(--motion-ease) both;
  }

  .bottom-toolbar a,
  .bottom-toolbar button {
    display: grid;
    min-width: 0;
    min-height: 52px;
    padding: 5px 2px;
    place-items: center;
    border: 0;
    border-radius: 18px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  .bottom-toolbar span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 9px;
    color: var(--navy);
    background: #edf4ff;
    font-size: 15px;
  }

  .bottom-toolbar a[aria-current="location"],
  .bottom-toolbar button:active {
    color: var(--navy);
    background: #edf4ff;
  }

  .cookie-banner {
    bottom: calc(86px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
    border-radius: 22px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .contact-modal-links {
    grid-template-columns: 1fr;
  }

  .legal-page {
    padding-bottom: 0;
  }

  .legal-header .brand strong {
    font-size: 12px;
  }

  .legal-header .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .legal-document {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .legal-document p,
  .legal-document li {
    font-size: 16px;
  }
}

@keyframes toolbarIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-hero,
  .service-detail-section,
  .service-detail-cta {
    border-radius: 24px;
  }

  .service-detail-actions .button {
    width: 100%;
  }
}
