:root {
  --brand-primary: #4e79e6;
  --brand-primary-strong: #3a62c8;
  --brand-accent: #9ad1ff;
  --brand-ink: #eef6ff;
  --brand-ink-strong: #fbfdff;
  --bg-deep: #223056;
  --bg-deeper: #1c284a;
  --bg-window: rgba(27, 44, 86, 0.68);
  --shadow-window: 0 26px 70px rgba(12, 22, 54, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--brand-ink-strong);
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 209, 255, 0.28), transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(94, 143, 220, 0.3), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(86, 135, 220, 0.24), transparent 55%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-deeper));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: transparent;
}

main {
  flex: 1 0 auto;
  display: block;
}

.section {
  --section-pad-y: clamp(3.5rem, 9vw, 6.5rem);
  --section-pad-x: clamp(1.5rem, 6vw, 5rem);
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section--tight {
  --section-pad-y: clamp(3rem, 8vw, 5.5rem);
}

.section--compact {
  --section-pad-y: clamp(2.6rem, 7vw, 4.8rem);
}

.section--loose {
  --section-pad-y: clamp(4rem, 10vw, 7rem);
}

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

.storybook {
  position: relative;
  width: 100%;
  height: 220vh;
}

.storybook-main {
  height: 500vh;
}


.page {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  perspective: 1400px;
}

.sheet {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: top center;
}

.panel {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transition: opacity 0.15s ease-out;
  transform-origin: top center;
}

.panel[data-order] {
  opacity: 0;
  transform: translateY(18vh) rotateX(35deg) scale(0.88);
}

.panel[data-order="0"] {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
}

.panel-what {
  overflow: hidden;
}

.whatwe-do-stack {
  min-height: 200vh;
  height: auto;
  width: 100%;
  display: grid;
  grid-auto-rows: minmax(100vh, auto);
  will-change: transform;
  transition: transform 0.6s ease;
}

.whatwe-do-stack > section {
  min-height: 100vh;
}

.panel-front {
  opacity: calc(1 - var(--flip-progress, 0));
  transform:
    translateY(calc(var(--flip-progress, 0) * -18vh))
    rotateX(calc(var(--flip-progress, 0) * -55deg))
    scale(calc(1 - var(--flip-progress, 0) * 0.12));
}

.panel-back {
  opacity: var(--flip-progress, 0);
  transform:
    translateY(calc((1 - var(--flip-progress, 0)) * 18vh))
    rotateX(calc((1 - var(--flip-progress, 0)) * 35deg))
    scale(calc(0.88 + var(--flip-progress, 0) * 0.12));
}

.panel-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 5, 16, 0.15) 0%,
    rgba(2, 5, 16, 0.55) 60%,
    rgba(2, 5, 16, 0.85) 100%
  );
  opacity: calc(var(--flip-progress, 0) * 0.9);
  pointer-events: none;
}

.panel-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.15), transparent 60%),
    radial-gradient(120% 80% at 50% 10%, rgba(0, 0, 0, 0.45), transparent 55%);
  opacity: calc(var(--flip-progress, 0) * 0.85);
  pointer-events: none;
}

.panel-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 5, 16, 0.75) 0%,
    rgba(2, 5, 16, 0.35) 55%,
    rgba(2, 5, 16, 0.05) 100%
  );
  opacity: calc((1 - var(--flip-progress, 0)) * 0.8);
  pointer-events: none;
}

.panel-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(0, 0, 0, 0.6), transparent 55%),
    radial-gradient(100% 80% at 50% 10%, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: calc((1 - var(--flip-progress, 0)) * 0.7);
  pointer-events: none;
}

.about-cover {
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 209, 255, 0.28), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(94, 143, 220, 0.32), transparent 40%),
    linear-gradient(160deg, #172449, #121c3a);
}

.whatwe-do {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 20% 15%, rgba(154, 209, 255, 0.3), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(94, 143, 220, 0.32), transparent 40%),
    linear-gradient(160deg, #172449, #121c3a);
}

.whatwe-do-inner {
  width: min(960px, 90vw);
  display: grid;
  gap: 1.2rem;
}

.whatwe-do h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.whatwe-do-copy {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(233, 242, 255, 0.75);
  margin: 0;
  max-width: 720px;
}

.whatwe-do-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.6);
  margin: 0;
}

.portfolio {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 6vw, 4rem);
  background:
    radial-gradient(circle at 20% 30%, rgba(154, 209, 255, 0.26), transparent 45%),
    linear-gradient(160deg, #172449, #121c3a);
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.portfolio-index {
  --section-pad-y: clamp(3.2rem, 8vw, 5.8rem);
  --section-pad-x: clamp(1.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 20% 25%, rgba(154, 209, 255, 0.24), transparent 45%),
    linear-gradient(160deg, #172449, #121c3a);
}

.portfolio-index-inner {
  width: min(1400px, 94vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.portfolio-index-hero {
  display: grid;
  gap: clamp(1.4rem, 3.2vw, 2.6rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.portfolio-index-header {
  display: grid;
  gap: 0.7rem;
}

.portfolio-index-header .eyebrow {
  margin-bottom: 0.2rem;
}

.portfolio-index-header h1 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  margin: 0;
}

.portfolio-index-header p {
  margin: 0;
  color: rgba(233, 242, 255, 0.78);
  line-height: 1.6;
  max-width: 820px;
}

.portfolio-index-services {
  display: grid;
  gap: 0.8rem;
  padding: clamp(0.9rem, 2vw, 1.3rem);
  border-radius: 18px;
  border: 1px solid rgba(120, 181, 255, 0.12);
  background: rgba(8, 14, 34, 0.45);
  box-shadow: 0 14px 32px rgba(4, 10, 24, 0.28);
  max-width: 460px;
  justify-self: end;
}

.portfolio-index-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.6);
  margin: 0;
}

.portfolio-index-note {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-index-note a {
  color: rgba(154, 209, 255, 0.95);
  text-decoration: none;
}

.portfolio-index-note a:hover {
  color: rgba(233, 242, 255, 0.98);
}

.portfolio-index-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
}

.portfolio-index-services .portfolio-index-service-chip {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.82;
  border-color: rgba(120, 181, 255, 0.18);
  background: rgba(8, 14, 34, 0.5);
}

.portfolio-index-service-chip,
.portfolio-tag {
  color: rgba(233, 242, 255, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.25);
  background: rgba(8, 14, 34, 0.6);
  cursor: default;
}

.portfolio-index-service-chip:hover,
.portfolio-tag:hover {
  color: rgba(233, 242, 255, 0.98);
  border-color: rgba(154, 209, 255, 0.5);
}

.portfolio-index-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.8vw, 2.6rem);
  margin-top: -1.2rem;
  width: min(1280px, 100%);
  margin-inline: auto;
}

.portfolio-index-card {
  position: relative;
  grid-column: span 4;
}

.portfolio-index-card.is-featured {
  grid-column: span 6;
  border-color: rgba(154, 209, 255, 0.5);
  box-shadow: 0 25px 55px rgba(6, 12, 30, 0.6);
}

.portfolio-index-card.is-featured .portfolio-media {
  aspect-ratio: 16 / 9;
}

.portfolio-index-card .portfolio-meta {
  padding: 0.95rem 1.1rem 1.1rem;
  gap: 0.35rem;
  min-height: 0;
}

.portfolio-index-card .portfolio-card-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(233, 242, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-index-card .portfolio-card-caption {
  margin: 0;
  color: rgba(233, 242, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-index-card .portfolio-tags {
  padding: 0.75rem 1rem 1rem;
}

.portfolio-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(154, 209, 255, 0.9);
  color: #0a1530;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(7, 16, 42, 0.35);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem 1.2rem;
  border-top: 1px solid rgba(120, 181, 255, 0.15);
  background: rgba(6, 12, 30, 0.6);
}

.portfolio-index-empty {
  margin: 0;
  color: rgba(233, 242, 255, 0.7);
  font-size: 1rem;
}

.whatwe-do-stack > .portfolio {
  min-height: 100vh;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.portfolio-inner {
  width: min(1400px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-content: center;
}

.portfolio-header h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
  justify-items: stretch;
}

.portfolio-card {
  background: linear-gradient(180deg, rgba(12, 20, 46, 0.9), rgba(7, 14, 36, 0.95));
  border-radius: 18px;
  border: 1px solid rgba(120, 181, 255, 0.25);
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(5, 10, 30, 0.5);
  display: grid;
  gap: 0;
  width: 100%;
  max-width: none;
}

.portfolio-media {
  background: rgba(8, 16, 40, 0.8);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(120, 181, 255, 0.15);
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-placeholder {
  color: rgba(233, 242, 255, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.portfolio-meta {
  padding: 1.1rem 1.3rem 1.4rem;
  display: grid;
  gap: 0.4rem;
  background: linear-gradient(180deg, rgba(8, 14, 34, 0.2), rgba(4, 9, 25, 0.6));
  min-height: 120px;
  align-content: start;
}


.portfolio-meta h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(154, 209, 255, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

.portfolio-meta p {
  margin: 0;
  color: rgba(233, 242, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
}

.portfolio-link {
  color: inherit;
  text-decoration: none;
  display: grid;
}

.portfolio-detail {
  --section-pad-y: clamp(2.6rem, 7vw, 5rem);
  --section-pad-x: clamp(1.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 209, 255, 0.24), transparent 45%),
    linear-gradient(160deg, #172449, #121c3a);
  padding-top: clamp(2.2rem, 5vw, 3.6rem);
}

.portfolio-detail-inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.project-header {
  display: grid;
  gap: clamp(0.9rem, 2.4vw, 1.6rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  margin-bottom: -0.2rem;
}

.project-header-copy {
  display: grid;
  gap: 0.6rem;
  max-width: 30ch;
}

.project-header-copy .eyebrow {
  margin-bottom: 0.3rem;
}

.project-header-copy h1 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.portfolio-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(154, 209, 255, 0.95);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.portfolio-back-link:hover {
  color: rgba(233, 242, 255, 0.95);
}

.portfolio-detail-summary {
  display: grid;
  gap: 0.9rem;
  max-width: 860px;
  color: rgba(233, 242, 255, 0.78);
}

.portfolio-detail-summary h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.4rem 0 0;
}

.portfolio-detail-summary p {
  margin: 0;
  line-height: 1.6;
}


.project-context {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border-radius: 20px;
  border: 1px solid rgba(120, 181, 255, 0.2);
  background: rgba(10, 18, 40, 0.65);
  box-shadow: 0 20px 45px rgba(4, 10, 24, 0.45);
  align-self: start;
  margin-top: 0.2rem;
}

.project-summary {
  margin-top: -0.2rem;
}

.project-context-title {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.6);
}

.project-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.8rem;
}

.project-context-block {
  display: grid;
  gap: 0.4rem;
  padding-left: 0.7rem;
  border-left: 1px solid rgba(120, 181, 255, 0.18);
}

.project-context-block.is-lead {
  grid-column: 1 / -1;
  padding-left: 0;
  border-left: none;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(120, 181, 255, 0.18);
}

.project-context-label {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(233, 242, 255, 0.65);
}

.project-context-lead {
  margin: 0;
  color: rgba(233, 242, 255, 0.92);
  line-height: 1.6;
  font-weight: 600;
}

.project-context-detail {
  margin: 0;
  color: rgba(233, 242, 255, 0.72);
  line-height: 1.6;
}

.project-context-services {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: rgba(233, 242, 255, 0.8);
}

.project-context-link {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-context-link a {
  color: rgba(154, 209, 255, 0.95);
  text-decoration: none;
}

.project-context-link a:hover {
  color: rgba(233, 242, 255, 0.98);
}

.services-hub {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 20% 25%, rgba(154, 209, 255, 0.24), transparent 45%),
    linear-gradient(160deg, #172449, #121c3a);
  position: relative;
  overflow: hidden;
}

.services-hub-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.services-hub::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 180%;
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 209, 255, 0.2), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(78, 121, 230, 0.18), transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

.services-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(154, 209, 255, 0.12), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(120, 181, 255, 0.12), transparent 50%);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
}

.services-hub-header h1 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0.6rem 0 0;
}

.services-hub-header p {
  margin: 0.6rem 0 0;
  color: rgba(233, 242, 255, 0.78);
  line-height: 1.6;
  max-width: 820px;
}

.services-hub-inner {
  position: relative;
  z-index: 1;
}

/* Context layer: anchors the page with a subtle divider, not a box. */
.services-hub-header {
  padding-bottom: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: clamp(1.2rem, 3vw, 1.6rem);
  border-bottom: 1px solid rgba(120, 181, 255, 0.18);
}

/* Belief layer: manifesto sits slightly above the rest. */
.services-wow {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  border-radius: 32px;
  border: 1px solid rgba(154, 209, 255, 0.35);
  background:
    radial-gradient(circle at 12% 20%, rgba(154, 209, 255, 0.2), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(78, 121, 230, 0.18), transparent 50%),
    linear-gradient(160deg, rgba(10, 18, 40, 0.96), rgba(5, 10, 26, 0.96));
  box-shadow:
    0 32px 70px rgba(4, 10, 24, 0.55),
    inset 0 0 0 1px rgba(154, 209, 255, 0.08);
  display: grid;
  gap: 0.75rem;
}

.services-wow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(154, 209, 255, 0.12), transparent 45%),
    linear-gradient(220deg, rgba(78, 121, 230, 0.16), transparent 50%);
  opacity: 0.85;
  pointer-events: none;
}

.services-wow-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.65);
  position: relative;
  z-index: 1;
}

.services-wow-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  text-shadow: 0 18px 45px rgba(6, 12, 32, 0.5);
}

.services-wow-sub {
  margin: 0;
  color: rgba(233, 242, 255, 0.78);
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.services-flow {
  display: grid;
  gap: clamp(2rem, 5vw, 3.6rem);
}

/* Directional cue: optional, quiet link that suggests what’s next. */
.services-direction {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(233, 242, 255, 0.7);
  max-width: 520px;
}

.services-direction a {
  color: rgba(154, 209, 255, 0.95);
  text-decoration: none;
}

.services-direction a:hover {
  color: rgba(233, 242, 255, 0.98);
}

/* Mid-page reset: narrow and restrained to reorient attention. */
.services-interrupt {
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(233, 242, 255, 0.68);
  padding: 1rem 0;
  border-top: 1px solid rgba(120, 181, 255, 0.14);
  border-bottom: 1px solid rgba(120, 181, 255, 0.14);
}

/* Capability layer: light depth and containment without turning into cards. */
.service-band {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 4vw, 3rem);
  border-top: 1px solid rgba(120, 181, 255, 0.2);
  background: rgba(10, 18, 40, 0.4);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(154, 209, 255, 0.08),
    inset 0 -1px 0 rgba(6, 12, 28, 0.35);
}

/* Primary group: slightly heavier presence without decoration. */
.service-band[data-primary="true"] {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-top-color: rgba(154, 209, 255, 0.35);
}

.service-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(154, 209, 255, 0.08), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(78, 121, 230, 0.12), transparent 50%);
  opacity: 0.65;
  pointer-events: none;
}

.service-band-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
}

.service-band-head h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.service-band-head p {
  margin: 0;
  color: rgba(233, 242, 255, 0.75);
  line-height: 1.6;
  max-width: 820px;
}

.service-band-note {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.55);
}

.service-band-consequence {
  margin: 0;
  max-width: 680px;
  font-size: 0.95rem;
  color: rgba(233, 242, 255, 0.72);
  line-height: 1.6;
}

.service-band-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.2rem;
}

.service-stanza {
  display: grid;
  gap: 0.35rem;
  padding-left: 0.2rem;
  border-left: 2px solid rgba(120, 181, 255, 0.25);
}

.service-stanza-title {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.68);
}

.service-stanza-lead {
  margin: 0;
  font-weight: 600;
  color: rgba(233, 242, 255, 0.88);
  line-height: 1.6;
}

.service-stanza-detail {
  margin: 0;
  color: rgba(233, 242, 255, 0.7);
  line-height: 1.6;
}

.service-band[data-tone="deep"] {
  background: rgba(9, 16, 38, 0.55);
}

.service-band[data-tone="soft"] {
  background: rgba(14, 24, 52, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(154, 209, 255, 0.12),
    inset 0 -1px 0 rgba(6, 12, 28, 0.25);
}

.service-band[data-variant="dense"] .service-band-content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 2.2rem;
}

.service-band[data-variant="stack"] .service-band-content {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.service-band[data-variant="stack"] .service-stanza {
  border-left-color: rgba(120, 181, 255, 0.18);
}

.service-band[data-variant="stack"] {
  background:
    linear-gradient(120deg, rgba(154, 209, 255, 0.12), transparent 55%),
    rgba(10, 18, 40, 0.45);
}

.service-band[data-variant="stack"] .service-band-head {
  max-width: 720px;
}

/* Intentional asymmetry: one band carries more visual weight. */
.service-band[data-variant="break"] {
  background:
    linear-gradient(110deg, rgba(154, 209, 255, 0.14), transparent 50%),
    rgba(10, 18, 40, 0.55);
  padding-left: clamp(2.4rem, 7vw, 5.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid rgba(154, 209, 255, 0.35);
}

/* Closing moment: single sentence with calm exit. */
.services-close {
  margin: 0;
  max-width: 520px;
  color: rgba(233, 242, 255, 0.72);
  font-size: 0.95rem;
}

.services-close a {
  color: rgba(154, 209, 255, 0.95);
  text-decoration: none;
}

.services-close a:hover {
  color: rgba(233, 242, 255, 0.98);
}

.service-band[data-variant="break"] .service-band-head,
.service-band[data-variant="break"] .service-band-consequence,
.service-band[data-variant="break"] .service-band-content {
  max-width: 820px;
}

.portfolio-detail-services {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.portfolio-detail-services li {
  list-style: disc;
}

.portfolio-detail-empty {
  margin: 1rem 0 0;
  color: rgba(233, 242, 255, 0.7);
}

.portfolio-detail-gallery {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.3rem);
  width: min(1320px, 100%);
  margin-inline: auto;
}

.portfolio-detail-gallery-wrap {
  position: relative;
  margin-inline: clamp(-0.6rem, -2vw, -1.6rem);
  padding-inline: clamp(0.6rem, 2vw, 1.6rem);
  margin-top: clamp(-0.6rem, -1.2vw, -0.2rem);
}

.portfolio-detail--airy .portfolio-detail-gallery {
  width: min(1240px, 100%);
}

.portfolio-detail--bold .portfolio-detail-gallery {
  width: min(1360px, 100%);
}

.portfolio-detail-gallery--airy {
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.portfolio-detail-gallery--dense {
  gap: clamp(0.6rem, 1.2vw, 1rem);
}


.image-group {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}

.image-group--hero {
  grid-template-columns: 1fr;
  --image-ratio: 4 / 3;
}

.image-group--single {
  grid-template-columns: 1fr;
  --image-ratio: 16 / 9;
}

.image-group--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  --image-ratio: 4 / 3;
}

.image-group--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --image-ratio: 4 / 3;
}

.image-group-item {
  background: rgba(7, 14, 36, 0.75);
  border-radius: 18px;
  border: 1px solid rgba(120, 181, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(5, 10, 30, 0.45);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  aspect-ratio: var(--image-ratio, 4 / 3);
}

.image-group-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-detail--bold .image-group--hero {
  --image-ratio: 3 / 2;
}

.portfolio-detail--airy .image-group--hero {
  --image-ratio: 16 / 9;
}

.portfolio-detail-gallery--airy .image-group-item {
  background: rgba(7, 14, 36, 0.6);
  border-color: rgba(120, 181, 255, 0.16);
  box-shadow: 0 16px 36px rgba(5, 10, 30, 0.35);
}

.image-group--hero {
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.portfolio-detail.is-luxury .image-group--hero {
  --image-ratio: 5 / 3;
  margin-bottom: clamp(1.8rem, 3.6vw, 2.8rem);
}

.portfolio-detail.is-flyers .image-group--hero {
  margin-bottom: clamp(1.1rem, 2.4vw, 1.8rem);
}

.portfolio-detail-gallery--luxury .image-group--three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-detail-gallery--flyers .image-group {
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.portfolio-detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  position: relative;
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
  padding-bottom: clamp(0.6rem, 1.6vw, 1.2rem);
}

.portfolio-detail-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(120, 181, 255, 0),
    rgba(120, 181, 255, 0.35),
    rgba(120, 181, 255, 0)
  );
}

.portfolio-detail-nav-link {
  text-decoration: none;
  color: inherit;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border-radius: 18px;
  border: 1px solid rgba(120, 181, 255, 0.2);
  background:
    linear-gradient(120deg, rgba(154, 209, 255, 0.08), transparent 60%),
    rgba(8, 14, 34, 0.65);
  display: grid;
  gap: 0.4rem;
  min-height: 140px;
  box-shadow: 0 18px 40px rgba(4, 10, 24, 0.35);
}

.portfolio-detail-nav-link:hover {
  border-color: rgba(154, 209, 255, 0.5);
}

.portfolio-detail-nav-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.6);
}

.portfolio-detail-nav-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(233, 242, 255, 0.9);
}

.portfolio-detail-nav-link.is-next {
  text-align: right;
}

.portfolio-detail-nav-link.is-next .portfolio-detail-nav-label,
.portfolio-detail-nav-link.is-next .portfolio-detail-nav-title {
  justify-self: end;
}

.portfolio-detail-nav-spacer {
  min-height: 120px;
  border-radius: 18px;
  border: 1px dashed rgba(120, 181, 255, 0.15);
  background: rgba(8, 14, 34, 0.3);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(2, 6, 18, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 22, 48, 0.9);
  color: rgba(233, 242, 255, 0.9);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(4, 10, 24, 0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 22, 48, 0.9);
  color: rgba(233, 242, 255, 0.9);
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 30px rgba(4, 10, 24, 0.5);
}

.lightbox-prev {
  left: -62px;
}

.lightbox-next {
  right: -62px;
}

.reel {
  width: 100%;
  height: 100vh;
  background: #141f3c;
  display: grid;
  place-items: center;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(233, 242, 255, 0.7);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 30% 30%, rgba(154, 209, 255, 0.26), transparent 45%),
    linear-gradient(160deg, #172449, #111b37);
}

.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1.5rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 15% 20%, rgba(154, 209, 255, 0.28), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(94, 143, 220, 0.28), transparent 40%),
    linear-gradient(160deg, #172449, #121c3a);
}

.contact-inner {
  width: min(900px, 90vw);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.contact h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.contact-copy {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(233, 242, 255, 0.75);
  margin: 0;
  max-width: 640px;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.contact-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-field {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.contact-field span {
  display: block;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(120, 181, 255, 0.25);
  background: rgba(7, 14, 36, 0.75);
  color: rgba(233, 242, 255, 0.9);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  resize: none;
  caret-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.contact-field textarea::-webkit-resizer {
  display: none;
}

.contact-field textarea::-webkit-scrollbar-corner {
  background: transparent;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(233, 242, 255, 0.45);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(120, 181, 255, 0.6);
  outline-offset: 2px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-link {
  padding: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: #061023;
  background: linear-gradient(120deg, #78b5ff, #d3e7ff);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(7, 16, 42, 0.35);
}

.contact-link {
  color: rgba(233, 242, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link:hover,
.contact-button:hover {
  filter: brightness(1.05);
}

.site-footer {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(0.75rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 209, 255, 0.24), transparent 45%),
    linear-gradient(160deg, #162244, #111b36);
  border-top: 1px solid rgba(120, 181, 255, 0.15);
}

.footer-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.footer-title {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.75rem;
}

.footer-detail {
  margin: 0 0 0.5rem;
  color: rgba(233, 242, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-links-block {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(233, 242, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: rgba(233, 242, 255, 0.95);
}

.terms {
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 209, 255, 0.24), transparent 45%),
    linear-gradient(160deg, #172449, #121c3a);
}

.terms-inner {
  width: min(1400px, 96vw);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.terms-header h1 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0.6rem 0 0;
}

.terms-lead {
  margin: 0.8rem 0 0;
  max-width: 720px;
  color: rgba(233, 242, 255, 0.78);
  line-height: 1.6;
}


.terms-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(120, 181, 255, 0.25);
  background: rgba(7, 14, 36, 0.75);
  min-height: min(80vh, 980px);
  box-shadow: 0 20px 45px rgba(5, 10, 30, 0.45);
}

.terms-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.floating-menu {
  position: fixed;
  right: calc(clamp(1rem, 4vw, 2.5rem) + env(safe-area-inset-right));
  top: calc(clamp(1rem, 4vw, 2.5rem) + env(safe-area-inset-top));
  z-index: 40;
}

.terms-consent {
  position: fixed;
  left: calc(clamp(1rem, 3vw, 2.5rem) + env(safe-area-inset-left));
  top: calc(clamp(1rem, 3vw, 2.5rem) + env(safe-area-inset-top));
  z-index: 45;
  max-width: min(360px, 86vw);
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: rgba(7, 14, 36, 0.88);
  border: 1px solid rgba(120, 181, 255, 0.25);
  box-shadow: 0 18px 40px rgba(4, 10, 24, 0.45);
  color: rgba(233, 242, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.terms-consent a {
  color: rgba(154, 209, 255, 0.95);
  text-decoration: none;
}

.terms-consent a:hover {
  color: rgba(233, 242, 255, 0.95);
}

.terms-consent button {
  justify-self: start;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 181, 255, 0.55);
  background: rgba(12, 22, 46, 0.7);
  color: rgba(233, 242, 255, 0.95);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.terms-consent button:hover {
  border-color: rgba(154, 209, 255, 0.9);
}

.terms-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.terms-consent.is-hidden {
  display: none;
}

.floating-menu[open] .floating-menu-trigger {
  border-color: rgba(154, 209, 255, 0.7);
}

.floating-menu-trigger {
  list-style: none;
  cursor: pointer;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: rgba(8, 14, 34, 0.8);
  color: rgba(233, 242, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(4, 10, 24, 0.45);
  outline: none;
  user-select: none;
}

.floating-menu-trigger::-webkit-details-marker {
  display: none;
}

.floating-menu-trigger::marker {
  content: "";
}

.floating-menu-trigger:focus-visible {
  box-shadow: 0 0 0 2px rgba(120, 181, 255, 0.5), 0 18px 40px rgba(4, 10, 24, 0.45);
}

.floating-menu-links {
  margin-top: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: rgba(8, 14, 34, 0.92);
  border: 1px solid rgba(120, 181, 255, 0.25);
  display: grid;
  gap: 0.55rem;
  min-width: 190px;
  box-shadow: 0 18px 40px rgba(4, 10, 24, 0.45);
}

.floating-menu-links a {
  color: rgba(233, 242, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.floating-menu-links a:hover {
  color: rgba(233, 242, 255, 0.98);
}

.floating-menu-links a:focus-visible,
.floating-menu-links a.is-active {
  color: rgba(233, 242, 255, 0.98);
  background: rgba(120, 181, 255, 0.14);
}

@media (max-width: 600px) {
  .floating-menu-links {
    min-width: 160px;
  }

  .floating-menu-trigger {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }
}

.landing {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  position: relative;
}

.hero-window {
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 4vw, 4.5rem);
  background:
    radial-gradient(circle at 20% 25%, rgba(154, 209, 255, 0.28), transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(78, 121, 230, 0.22), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(94, 143, 220, 0.18), transparent 50%),
    var(--bg-window);
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: blur(18px);
  overflow: hidden;
  position: relative;
}

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

.hero-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(154, 209, 255, 0.16), transparent 45%),
    linear-gradient(210deg, rgba(58, 98, 200, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-window::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 55% 40%, rgba(255, 255, 255, 0.08), transparent 35%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.logo-wrap {
  width: clamp(520px, 70vw, 860px);
  height: clamp(520px, 70vw, 860px);
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: none;
  z-index: 2;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-layer {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.6vw, 1.2rem);
  z-index: 1;
}

.float-layer.left {
  align-items: flex-start;
}

.float-layer.right {
  align-items: flex-end;
}

.float-word {
  font-family: "Sora", "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--brand-ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(8, 16, 45, 0.65);
  opacity: 0;
  animation: travel-left 14s linear infinite;
  will-change: transform;
}

.float-layer.right .float-word {
  animation-name: travel-right;
}

@keyframes travel-left {
  0% {
    transform: translateX(30vw) translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-30vw) translateY(-10px);
    opacity: 0;
  }
}

@keyframes travel-right {
  0% {
    transform: translateX(-30vw) translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(30vw) translateY(-10px);
    opacity: 0;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.scroll-hint {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233, 242, 255, 0.6);
}

.scroll-hint::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(233, 242, 255, 0.65);
  border-bottom: 2px solid rgba(233, 242, 255, 0.65);
  transform: rotate(45deg);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: rgba(233, 242, 255, 0.7);
  margin: 0 0 0.8rem;
}

.about {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 15% 30%, rgba(154, 209, 255, 0.3), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(94, 143, 220, 0.32), transparent 40%),
    linear-gradient(160deg, #172449, #121c3a);
}

.about-inner {
  width: min(1200px, 94vw);
  display: grid;
  gap: 1.2rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(154, 209, 255, 0.35) transparent;
}

.about h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0;
}

.about-copy {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: rgba(233, 242, 255, 0.75);
  margin: 0;
  max-width: 720px;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
  align-items: start;
}

.about-block-services {
  align-self: start;
}

.about-block h3 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-block p {
  margin: 0 0 0.75rem;
  color: rgba(233, 242, 255, 0.7);
  line-height: 1.5;
  font-size: 0.98rem;
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(233, 242, 255, 0.7);
  display: grid;
  gap: 0.35rem;
  font-size: 0.98rem;
}

.about-list li {
  list-style: disc;
}

.about-services {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  --service-row-padding-top: 1.2rem;
  --service-line-offset: 0.45rem;
  --service-dot-offset: 0.95rem;
  padding: var(--service-row-padding-top) 0.7rem 0.9rem;
  column-gap: 0.6rem;
  background:
    linear-gradient(to right, rgba(154, 209, 255, 0.25), rgba(154, 209, 255, 0.25));
  background-size: calc(100% - 1.4rem) 1px;
  background-position: center var(--service-line-offset);
  background-repeat: no-repeat;
}

.service-row::before,
.service-row::after {
  content: "";
  position: absolute;
  top: var(--service-line-offset);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
}

.service-row::before {
  left: 0.6rem;
  border-right: 6px solid #f6f9ff;
}

.service-row::after {
  right: 0.6rem;
  border-left: 6px solid #f6f9ff;
}

.service-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 42px;
  padding: 1.1rem 0.6rem 0.2rem;
  color: rgba(251, 253, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.service-item::before {
  content: "";
  position: absolute;
  top: calc(var(--service-dot-offset) - var(--service-row-padding-top));
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f6f9ff;
  box-shadow: 0 0 0 4px rgba(154, 209, 255, 0.18);
  transform: translate(-50%, -50%);
  animation: service-pulse 2.8s ease-in-out infinite;
}

.service-item:hover::before {
  box-shadow:
    0 0 0 6px rgba(154, 209, 255, 0.28),
    0 0 18px rgba(154, 209, 255, 0.35);
}

@keyframes service-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(154, 209, 255, 0.18),
      0 0 0 rgba(154, 209, 255, 0);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(154, 209, 255, 0.26),
      0 0 14px rgba(154, 209, 255, 0.3);
    transform: translate(-50%, -50%) translateY(6px);
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16.5px;
    line-height: 1.6;
  }

  p,
  li,
  .about-copy,
  .contact-copy {
    max-width: 65ch;
  }

  :root {
    --bg-window: rgba(28, 44, 86, 0.82);
    --shadow-window: 0 28px 60px rgba(5, 10, 28, 0.5);
  }

  .storybook,
  .storybook-main {
    height: auto;
  }

  .page {
    position: static;
    height: auto;
    perspective: none;
  }

  .sheet {
    position: static;
    height: auto;
  }

  .panel,
  .panel[data-order] {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .whatwe-do-stack {
    display: block;
    height: auto;
    min-height: 0;
    will-change: auto;
  }

  .whatwe-do-stack > section {
    min-height: auto;
    margin-bottom: clamp(1.5rem, 6vw, 2.5rem);
  }

  .whatwe-do-stack > section:last-child {
    margin-bottom: 0;
  }

  .landing {
    min-height: auto;
    height: auto;
    padding: clamp(1.25rem, 5vw, 2rem);
    align-items: center;
  }

  .hero-window {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: auto;
    height: auto;
    padding: clamp(1.1rem, 5vw, 2.2rem);
    gap: 1rem;
    grid-auto-rows: max-content;
    align-content: center;
    justify-items: center;
    text-align: center;
    border-radius: 28px;
    border: 1px solid rgba(120, 181, 255, 0.25);
    background:
      radial-gradient(circle at 20% 25%, rgba(154, 209, 255, 0.18), transparent 45%),
      radial-gradient(circle at 80% 20%, rgba(94, 143, 220, 0.2), transparent 40%),
      linear-gradient(160deg, rgba(28, 44, 86, 0.88), rgba(16, 26, 56, 0.9));
    box-shadow: var(--shadow-window);
  }

  .hero-mobile-copy {
    display: grid;
    gap: 0.65rem;
    max-width: 26rem;
    margin: 0 auto;
  }

  .hero-mobile-copy h2 {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.9rem, 6vw, 2.6rem);
    margin: 0;
  }

  .hero-mobile-copy p {
    margin: 0;
    color: rgba(233, 242, 255, 0.78);
    font-size: clamp(1rem, 2.8vw, 1.05rem);
  }

  .hero-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    color: #061023;
    background: linear-gradient(120deg, #78b5ff, #d3e7ff);
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 16px 35px rgba(7, 16, 42, 0.35);
    justify-self: center;
  }

  .logo-wrap {
    margin: 0 auto;
    width: min(76vw, 380px);
    height: min(76vw, 380px);
    max-width: 380px;
    max-height: 380px;
  }

  .float-layer {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .eyebrow {
    display: none;
  }

  .eyebrow::before {
    content: none;
  }

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

  .about {
    height: auto;
    padding: clamp(2.5rem, 8vw, 4rem) clamp(1.25rem, 6vw, 3rem);
  }

  .about-inner {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .about-inner,
  .whatwe-do-inner,
  .portfolio-inner,
  .contact-inner,
  .footer-inner,
  .portfolio-detail-inner {
    position: relative;
    width: 100%;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 24px;
    background: rgba(20, 32, 60, 0.78);
    border: 1px solid rgba(120, 181, 255, 0.2);
    box-shadow: 0 22px 50px rgba(4, 10, 24, 0.45);
  }

  .about-inner::before,
  .whatwe-do-inner::before,
  .portfolio-inner::before,
  .contact-inner::before,
  .footer-inner::before,
  .portfolio-detail-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(120, 181, 255, 0),
      rgba(120, 181, 255, 0.7),
      rgba(120, 181, 255, 0)
    );
  }

  .footer-inner::before {
    display: none;
  }

  .whatwe-do {
    min-height: auto;
    padding: clamp(2.5rem, 8vw, 4rem) clamp(1.25rem, 6vw, 3rem);
  }

  .portfolio {
    min-height: auto;
    padding: clamp(3rem, 8vw, 4.5rem) clamp(1.25rem, 6vw, 3rem)
      clamp(2.5rem, 8vw, 4rem);
  }

  .reel {
    height: auto;
    min-height: auto;
    padding: clamp(2.5rem, 8vw, 4rem) clamp(1.25rem, 6vw, 3rem);
  }

  .reel-video,
  .reel-placeholder {
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    border: 1px solid rgba(120, 181, 255, 0.2);
    box-shadow: 0 18px 40px rgba(4, 10, 24, 0.45);
    overflow: hidden;
  }

  .contact {
    min-height: auto;
    padding: clamp(3rem, 9vw, 4.5rem) clamp(1.25rem, 6vw, 3rem);
  }

  .site-footer {
    padding: clamp(2.5rem, 8vw, 3.5rem) clamp(0.65rem, 3vw, 1.5rem);
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .portfolio-index-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin-top: 0;
    width: 100%;
  }

  .portfolio-index-card {
    grid-column: span 4;
  }

  .portfolio-index-card.is-featured {
    grid-column: span 8;
  }

  .portfolio-index-hero {
    grid-template-columns: 1fr;
  }

  .portfolio-index-services {
    justify-self: stretch;
    max-width: none;
  }

  .project-header {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .project-header-copy {
    max-width: none;
  }

  .project-context-grid {
    grid-template-columns: 1fr;
  }

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

  .portfolio-detail-gallery {
    width: 100%;
  }

  .portfolio-detail-gallery-wrap {
    margin-inline: 0;
    padding-inline: 0;
    margin-top: 0;
  }

  .service-band {
    padding: 1.4rem;
  }

  .service-band[data-variant="dense"] .service-band-content {
    grid-template-columns: 1fr;
  }

  .services-wow {
    padding: 1.4rem;
  }

  .services-interrupt {
    max-width: 100%;
  }

  .service-band[data-variant="break"] {
    padding-left: 1.4rem;
  }

  .services-direction,
  .services-close {
    max-width: 100%;
  }

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

  .contact-field input,
  .contact-field textarea {
    font-size: 16px;
  }

  .floating-menu-trigger {
    min-height: 48px;
  }

  .nav-links a,
  .site-header a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
    padding: 0.4rem 0;
    background: none;
  }

  .service-item {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-align: left;
    justify-content: flex-start;
    padding: 0.4rem 0;
    min-height: auto;
  }

  .service-item::before,
  .service-row::before,
  .service-row::after {
    display: none;
  }

  .service-item:not(:first-child) {
    border-top: 1px solid rgba(120, 181, 255, 0.18);
    padding-top: 0.6rem;
  }


  .portfolio-detail {
    --section-pad-y: clamp(3.5rem, 9vw, 5.5rem);
    --section-pad-x: clamp(1.5rem, 7vw, 3.5rem);
  }

  .project-context {
    padding: 1.2rem 1.4rem;
  }

  .project-summary {
    margin-top: 0;
  }

  .project-header-copy h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .terms {
    padding: clamp(3.5rem, 9vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  }

  .terms-header h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
}

@media (max-width: 600px) {
  .hero-window {
    border-radius: 22px;
    padding: clamp(1rem, 6vw, 2rem);
  }

  .hero-mobile-copy {
    gap: 0.5rem;
  }

  .hero-mobile-copy h2 {
    font-size: clamp(1.6rem, 8vw, 2.1rem);
  }

  .hero-mobile-copy p {
    font-size: 0.92rem;
  }

  .hero-mobile-cta {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }

  .logo-wrap {
    width: min(78vw, 280px);
    height: min(78vw, 280px);
    max-width: 280px;
    max-height: 280px;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .about-inner,
  .whatwe-do-inner,
  .portfolio-inner,
  .contact-inner,
  .footer-inner,
  .portfolio-detail-inner {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .reel-video,
  .reel-placeholder {
    border-radius: 16px;
  }

  .portfolio {
    padding: clamp(2.5rem, 8vw, 3.5rem) clamp(1.25rem, 6vw, 2rem)
      clamp(2rem, 8vw, 3rem);
  }

  .portfolio-inner {
    gap: 1.6rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .portfolio-index-grid {
    grid-template-columns: 1fr;
    margin-top: 0.6rem;
  }

  .portfolio-index-card,
  .portfolio-index-card.is-featured {
    grid-column: 1 / -1;
  }

  .portfolio-card {
    border-radius: 14px;
  }

  .portfolio-media {
    aspect-ratio: 16 / 9;
  }

  .portfolio-meta {
    padding: 0.8rem 1rem 1rem;
    min-height: auto;
  }

  .portfolio-meta h3 {
    font-size: 0.9rem;
    min-height: 2.2em;
  }

  .portfolio-meta p {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    min-height: 3em;
  }

  .portfolio-index-card .portfolio-card-title {
    font-size: 1rem;
  }

  .portfolio-index-card .portfolio-card-caption {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
  }

  .portfolio-detail {
    --section-pad-y: clamp(3rem, 10vw, 4.5rem);
    --section-pad-x: clamp(1.25rem, 6vw, 2.5rem);
  }

  .project-header-copy h1 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .portfolio-detail-gallery {
    gap: 1rem;
  }

  .image-group--two,
  .image-group--three {
    grid-template-columns: 1fr;
  }

  .portfolio-detail-nav {
    grid-template-columns: 1fr;
  }

  .portfolio-detail-nav-link.is-next {
    text-align: left;
  }

  .portfolio-detail-nav-link.is-next .portfolio-detail-nav-label,
  .portfolio-detail-nav-link.is-next .portfolio-detail-nav-title {
    justify-self: start;
  }

  .terms {
    padding: clamp(3rem, 10vw, 4.5rem) clamp(0.9rem, 5vw, 2rem);
  }

  .terms-header h1 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }


  .lightbox-close {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }

  .lightbox-nav {
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
  }

  .lightbox-dialog {
    width: 92vw;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-word {
    animation: none !important;
  }

  .service-item::before {
    animation: none;
  }
}
