/* ==========================================================================
   Smart Web Agency — custom styles layered on top of Tailwind utilities
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "cv11", "ss01";
}

::selection {
  background-color: #2563EB;
  color: #ffffff;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #2563EB;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
#header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: #E2E8F0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02), 0 8px 24px -16px rgba(15, 23, 42, 0.08);
}

.nav-link {
  position: relative;
  font-size: 0.925rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2563EB;
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-link:hover {
  color: #0F172A;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: #0F172A;
}

.mobile-nav-link {
  padding: 0.875rem 0.25rem;
  font-weight: 500;
  color: #334155;
  border-bottom: 1px solid #F1F5F9;
  transition: color 0.2s ease;
}
.mobile-nav-link:last-of-type {
  border-bottom: none;
}
.mobile-nav-link:hover {
  color: #2563EB;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2563EB;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(37, 99, 235, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary::after {
  content: "\2192";
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn-primary:hover::after {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: #0F172A;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #E2E8F0;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: #2563EB;
  background-color: #F8FAFC;
  transform: translateY(-1px);
}

/* ---------- Section heading system ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 0.875rem;
}
.section-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0F172A;
}

/* ---------- Icon tiles ---------- */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: rgba(37, 99, 235, 0.08);
  margin-bottom: 1rem;
}
.icon-tile-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: rgba(37, 99, 235, 0.08);
  margin-bottom: 1.5rem;
}

/* ---------- About stat cards ---------- */
.about-stat-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}

/* ---------- Service cards ---------- */
.service-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px -24px rgba(15, 23, 42, 0.16);
  border-color: #BFDBFE;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #334155;
}
.service-list-item::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: rgba(37, 99, 235, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.65rem 0.65rem;
}

/* ---------- Portfolio ---------- */
.portfolio-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.14);
}
.portfolio-thumb {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-bottom: 1px solid #E2E8F0;
}
.portfolio-thumb-video {
  background: linear-gradient(135deg, #F1F5F9 0%, #E0E7FF 100%);
}
.portfolio-tag {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  background: #ffffff;
  color: #2563EB;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #DBEAFE;
}

/* ---------- Why choose us ---------- */
.why-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.1);
}

/* ---------- Contact ---------- */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  color: #0F172A;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94A3B8;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2563EB;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #FCA5A5;
  background-color: #FEF2F2;
}

/* ---------- Footer ---------- */
.footer-heading {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}
.footer-link {
  color: #94A3B8;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #ffffff;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social:hover {
  background: #2563EB;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Floating contact buttons ---------- */
.floating-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.3);
}
.floating-btn.pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: inherit;
  opacity: 0.55;
  z-index: -1;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Floating hero badges ---------- */
.float-badge {
  animation: floatY 5s ease-in-out infinite;
}
.float-badge-reverse {
  animation: floatY 5.5s ease-in-out infinite;
  animation-delay: 0.6s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Decorative floating objects ---------- */
.deco {
  position: absolute;
  pointer-events: none;
}
.deco-ring {
  border-radius: 9999px;
  border: 2px solid rgba(37, 99, 235, 0.18);
}
.deco-dot {
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.35);
}
.deco-square {
  border-radius: 0.65rem;
  border: 2px solid rgba(37, 99, 235, 0.16);
}
.deco-plus {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.22);
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(26px, -18px) scale(1.06); }
  66% { transform: translate(-18px, 22px) scale(0.96); }
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(12px, -16px) rotate(8deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-14px, 14px) rotate(-9deg); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.anim-blob { animation: blobMove 15s ease-in-out infinite; }
.anim-blob-slow { animation: blobMove 21s ease-in-out infinite reverse; }
.anim-float-a { animation: floatA 7s ease-in-out infinite; }
.anim-float-b { animation: floatB 8.5s ease-in-out infinite; }
.anim-spin-slow { animation: spinSlow 32s linear infinite; }

/* ---------- Scroll progress bar ---------- */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #3B82F6);
  z-index: 60;
  transition: width 0.12s linear;
}

/* ---------- Hero scroll cue ---------- */
.scroll-cue {
  align-items: flex-start;
  justify-content: center;
  width: 1.75rem;
  height: 2.75rem;
  padding-top: 0.4rem;
  border: 2px solid rgba(15, 23, 42, 0.15);
  border-radius: 9999px;
  transition: border-color 0.2s ease;
}
.scroll-cue:hover {
  border-color: rgba(37, 99, 235, 0.45);
}
.scroll-cue-dot {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 9999px;
  background: #2563EB;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Card tilt (set via JS inline transform) ---------- */
.service-card,
.portfolio-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Scroll reveal ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.delay-100.in-view { transition-delay: 0.08s; }
.delay-150.in-view { transition-delay: 0.12s; }
.delay-200.in-view { transition-delay: 0.18s; }
.delay-300.in-view { transition-delay: 0.26s; }
.delay-400.in-view { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-badge, .float-badge-reverse,
  .anim-blob, .anim-blob-slow, .anim-float-a, .anim-float-b, .anim-spin-slow,
  .scroll-cue-dot, .floating-btn.pulse::before {
    animation: none;
  }
  .btn-primary::after {
    transition: none;
  }
}

/* ---------- Misc ---------- */
.w-4\.5 { width: 1.125rem; }
.h-4\.5 { height: 1.125rem; }


/* Portfolio demo concepts */
.portfolio-demo { height: 250px; overflow: hidden; background: #e9eef5; padding: 18px 18px 0; align-items: flex-start; }
.demo-window { width: 100%; overflow: hidden; border-radius: 8px 8px 0 0; background: #f6f3ec; box-shadow: 0 12px 30px #0f172426; transform: translateY(7px); transition: transform .35s ease; }
.portfolio-card:hover .demo-window { transform: translateY(0); }
.demo-browser { height: 22px; display: flex; align-items: center; gap: 4px; padding: 0 9px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.demo-browser>span { width: 5px; height: 5px; background: #cbd5e1; border-radius: 50%; }
.demo-browser b { margin: auto; padding-right: 24px; font-size: 7px; font-weight: 500; color: #64748b; }
.demo-site-nav { display: flex; align-items: center; justify-content: space-between; height: 35px; padding: 0 14px; color: #292e27; }
.demo-site-nav strong { font-size: 9px; letter-spacing: 1px; }
.demo-site-nav>span { font-size: 5px; letter-spacing: .4px; }
.demo-site-hero { position: relative; height: 195px; overflow: hidden; }
.demo-site-hero img, .demo-editorial>img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-site-hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #101b18b8, #101b180a); }
.demo-site-copy { position: absolute; z-index: 1; left: 17px; top: 29px; color: #fff; }
.demo-site-copy h4 { font: 500 29px/1.08 Georgia, serif; letter-spacing: -.7px; margin: 0 0 19px; }
.demo-site-copy>span { display: inline-block; border: 1px solid #ffffff8c; padding: 7px 10px; font-size: 7px; }
.demo-peak { background: #151b19; }
.demo-peak .demo-site-nav { color: #d7f99a; }
.demo-peak .demo-site-copy h4 { font: 800 26px/1.05 Arial, sans-serif; color: #d7f99a; letter-spacing: -1px; }
.demo-peak .demo-site-copy>span { background: #d7f99a; color: #151b19; border-color: #d7f99a; }
.demo-brew { background: #f3e8d5; }
.demo-brew .demo-site-nav { color: #583c2c; }
.demo-brew .demo-site-hero:after { background: linear-gradient(90deg, #25160ed9, #25160e00); }
.demo-editorial { position: absolute; inset: 0; overflow: hidden; background: #182c2c; }
.demo-editorial>img { transition: transform .5s ease; }
.portfolio-card:hover .demo-editorial>img { transform: scale(1.04); }
.demo-editorial:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #092222b3, #09222200), linear-gradient(0deg, #00191873, transparent 70%); }
.demo-film-copy { position: absolute; left: 25px; top: 34px; right: 20px; z-index: 1; color: #fff; }
.demo-film-copy>span { font-size: 9px; font-weight: 600; letter-spacing: 2.5px; }
.demo-film-copy h4 { font: 500 38px/1.04 Georgia, serif; letter-spacing: -1px; margin: 17px 0; }
.demo-film-copy small { font-size: 8px; letter-spacing: 2px; }
.demo-format { position: absolute; z-index: 1; bottom: 16px; right: 18px; border: 1px solid #ffffff6b; padding: 5px 8px; color: #fff; font-size: 7px; letter-spacing: 1px; }
.demo-coffee .demo-film-copy h4 { font-style: italic; }
.demo-coffee:after { background: linear-gradient(90deg, #27190ed1, #27190e0a); }
.demo-sneakers .demo-film-copy h4 { font: 900 48px/.95 Arial, sans-serif; letter-spacing: -2px; }
.demo-sneakers:after { background: linear-gradient(90deg, #680a11ba, #680a1100); }
.demo-sneakers>img { object-position: 65% center; }
.demo-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 10px; font-weight: 600; color: #2563eb; }
.demo-meta>span:last-child { border: 1px solid #e2e8f0; border-radius: 999px; padding: 3px 7px; color: #64748b; font-size: 9px; font-weight: 500; white-space: nowrap; }
.demo-note { text-align: center; font-size: 12px; color: #64748b; margin: 28px auto 0; }
@media (max-width: 380px) { .demo-site-nav { padding: 0 9px; } .demo-film-copy h4 { font-size: 33px; } }
@media (prefers-reduced-motion: reduce) { .demo-window, .demo-editorial>img { transition: none; } }


/* Studio polish: existing blue / ink / white system, Physical motion. */
:root { --studio-ease: cubic-bezier(.22,1,.36,1); --studio-spring: linear(0,.12,.39,.7,.91,1.02,1.035,1.018,1.004,1); }
section[id] { scroll-margin-top: 86px; }
body { -webkit-font-smoothing: antialiased; }
#header { backdrop-filter: blur(18px); }
#header>a, #header nav>a { transition-timing-function: var(--studio-ease); }
.agency-hero { position: relative; overflow: hidden; isolation: isolate; padding: 156px 0 0; background: #fafcff; }
.hero-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(#2563eb05 1px,transparent 1px),linear-gradient(90deg,#2563eb05 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent,#000); }
.hero-halo { position: absolute; z-index: -1; right: -180px; top: 70px; width: 800px; height: 700px; border-radius: 50%; background: radial-gradient(ellipse,#dce8ff8a,transparent 68%); }
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; padding-bottom: 84px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: #2563eb; font-size: 10px; letter-spacing: 1.8px; font-weight: 700; margin: 0 0 27px; }
.hero-kicker>span { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 4px #2563eb0d; }
.hero-copy h1 { font-family: 'Poppins',sans-serif; font-size: clamp(38px,4.15vw,60px); line-height: 1.12; font-weight: 600; letter-spacing: -2.7px; color: #0f172a; margin: 0; }
.hero-line { display: block; overflow: hidden; padding-bottom: 5px; }
.hero-line>span { display: block; }
.hero-accent { color: #2563eb; }
.hero-description { max-width: 455px; color: #64748b; font-size: 16px; line-height: 1.85; margin: 25px 0 29px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-actions .btn-primary { padding: 15px 22px; font-size: 13px; border-radius: 8px; background: #215be0; }
.hero-work-link { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: #334155; font-weight: 600; }
.hero-work-link>span { display: inline-block; transition: transform .25s var(--studio-ease); }
.hero-work-link:hover>span { transform: translate(3px,-3px); }
.hero-work-link:hover { color: #2563eb; }
.hero-details { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 11px; color: #64748b; }
.hero-details i { font-style: normal; color: #2563eb; margin-right: 5px; }
.hero-art { min-width: 0; }
.hero-art-stage { position: relative; padding: 12px 0 0; }
.hero-preview-label { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; color: #64748b; font-size: 8px; font-weight: 600; letter-spacing: 1.5px; }
.hero-preview-label>span:first-child { width: 5px; height: 5px; border-radius: 50%; background: #2563eb; }
.hero-preview-number { margin-left: auto; color: #94a3b8; letter-spacing: 1px; }
.hero-depth { transform: perspective(1200px) translateY(var(--scroll-lift,0px)) rotateX(var(--rotate-x,0deg)) rotateY(var(--rotate-y,0deg)); transition: transform .5s var(--studio-ease); }
.studio-browser { border: 1px solid #dce2e9; border-radius: 12px; overflow: hidden; background: #f6f3ec; box-shadow: 0 28px 65px -30px #0f172a40; }
.studio-browser-bar { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: #fff; color: #94a3b8; font-size: 8px; border-bottom: 1px solid #e2e8f0; }
.studio-dots { color: #cbd5e1; font-size: 7px; letter-spacing: 1px; }
.studio-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; color: #343d31; }
.studio-nav strong { font-size: 17px; letter-spacing: -1px; }.studio-nav strong>span { font-size: 9px; vertical-align: top; margin-left: 2px; }
.studio-nav>span { font-size: 8px; }
.studio-image { position: relative; height: 265px; overflow: hidden; }
.studio-image img { height: 100%; width: 100%; object-fit: cover; }
.studio-image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#14201bad,transparent 85%); }
.studio-image-copy { position: absolute; z-index: 1; top: 28px; left: 24px; color: #fff; }.studio-image-copy>span { font-size: 6px; letter-spacing: 1.8px; }
.studio-image-copy h2 { font: 400 47px/1.04 Georgia,serif; letter-spacing: -1.6px; margin: 16px 0 23px; }
.studio-image-copy .studio-explore { border-bottom: 1px solid #ffffff88; padding-bottom: 7px; font-size: 6px; letter-spacing: 1px; }
.studio-image-index { position: absolute; z-index: 1; right: 18px; bottom: 18px; color: #fff; font-size: 8px; }
.studio-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 22px; color: #596153; font-size: 7px; }
.studio-bottom>span:last-child { font-size: 6px; letter-spacing: 1px; }
.motion-panel { position: relative; width: 85%; margin: -20px -16px 0 auto; padding: 16px; background: #101d32; border: 1px solid #2c3e55; border-radius: 10px; box-shadow: 0 16px 32px -16px #0f172a66; color: #ced9eb; }
.motion-panel-top,.motion-panel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 6px; letter-spacing: 1px; }
.motion-panel-top>span:first-child { display: flex; align-items: center; gap: 6px; }
.motion-panel-top i { width: 5px; height: 5px; border-radius: 50%; background: #6d9cf9; }
.motion-panel-top>span:last-child { color: #7892b7; font-size: 5px; }
.motion-tracks { position: relative; margin: 15px 0 10px; overflow: hidden; }
.motion-track { display: flex; gap: 4px; margin-bottom: 5px; }.film-track>span { flex: 1; padding: 9px 10px; font-size: 6px; letter-spacing: 1px; background: #2d4b75; border: 1px solid #406296; border-radius: 3px; }.film-track>span:nth-child(2) { flex: 1.6; background: #365b87; }
.audio-track { height: 17px; background: #253d52; border-radius: 3px; padding: 3px; }.audio-track>span { width: 100%; background: repeating-linear-gradient(90deg,transparent 0 2px,#82b1bd 2px 3px,transparent 3px 6px); mask-image: repeating-linear-gradient(90deg,#000 0 3px,#0008 3px 7px,#0003 7px 10px); }
.motion-playhead { position: absolute; inset: 0 auto 0 38%; width: 1px; background: #b7d1ff; }.motion-playhead:before { content: ''; position: absolute; top: 0; left: -3px; width: 7px; height: 4px; background: #b7d1ff; }
.motion-panel-bottom { color: #7892b7; font-size: 5px; letter-spacing: .65px; }
.hero-project-note { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: #94a3b8; font-size: 10px; }.note-line { width: 25px; height: 1px; background: #cbd5e1; }
.hero-foot { border-top: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; color: #94a3b8; font-size: 9px; font-weight: 500; letter-spacing: 1.6px; }.hero-foot a { color: #475569; display: flex; gap: 20px; align-items: center; }.hero-foot a:hover { color: #2563eb; }.hero-foot a span { font-size: 18px; }
.section-heading { letter-spacing: -.035em; font-weight: 600; }
.service-card { border-radius: 16px; border-color: #e2e8f0; }.service-card:hover { border-color: #b7c9eb; }
.portfolio-card { border-radius: 15px; }.why-card { border-radius: 14px; }
.btn-primary,.btn-secondary,.floating-btn,.footer-social { transition-duration: .25s; transition-timing-function: var(--studio-ease); }
.btn-primary:active,.btn-secondary:active,.floating-btn:active,.footer-social:active { transform: scale(.97); }
a:focus-visible,button:focus-visible { outline: 3px solid #2563eb; outline-offset: 5px; }
.service-card,.portfolio-card { will-change: auto; transform-style: flat; }
.reveal-up { opacity: 1; transform: none; will-change: auto; }
.motion-ready .reveal-up:not(.in-view) { opacity: 0; transform: translateY(22px); }
.motion-ready .reveal-up { transition: opacity .6s var(--studio-ease),transform .6s var(--studio-spring),box-shadow .25s var(--studio-ease),border-color .25s var(--studio-ease); transition-delay: var(--reveal-delay,0ms); }
.motion-ready .reveal-up.in-view { opacity: 1; transform: none; }
.motion-ready .service-card.in-view:hover,.motion-ready .portfolio-card.in-view:hover,.motion-ready .why-card.in-view:hover { transform: translateY(-5px); transition-delay: 0ms; }
#scrollProgress { width: 100%; transform: scaleX(0); transform-origin: left; transition: none; height: 2px; }
@keyframes studio-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes studio-line { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes edit-preview { 0%,15% { transform: translateX(-95px); } 85%,100% { transform: translateX(145px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-enter { animation: studio-arrive .44s var(--studio-spring) both; animation-delay: var(--entry-delay,0ms); }
  .hero-line>span { animation: studio-line .58s var(--studio-ease) both; }
  .hero-line:nth-child(2)>span { animation-delay: 80ms; }.hero-line:nth-child(3)>span { animation-delay: 160ms; }
  .motion-playhead { animation: edit-preview 8s linear infinite alternate; }
  #header { animation: studio-arrive .44s var(--studio-ease) both; }
}
.motion-paused *,.motion-paused *:before,.motion-paused *:after { animation-play-state: paused !important; }
@media (max-width: 1100px) { .hero-layout { gap: 35px; }.hero-copy h1 { letter-spacing: -2px; }.motion-panel { margin-right: 0; } }
@media (max-width: 1023px) { .agency-hero { padding-top: 128px; }.hero-layout { grid-template-columns: 1fr; gap: 50px; padding-bottom: 54px; }.hero-copy { max-width: 680px; }.hero-copy h1 { font-size: clamp(39px,7.5vw,65px); }.hero-description { max-width: 550px; }.hero-art { width: 100%; max-width: 600px; margin: 0 auto; }.studio-image { height: 290px; }.hero-foot { font-size: 7px; letter-spacing: 1px; }.hero-depth { transform: none; } }
@media (max-width: 600px) { .agency-hero { padding-top: 115px; }.hero-layout { gap: 38px; }.hero-kicker { font-size: 8px; letter-spacing: 1.1px; margin-bottom: 23px; }.hero-copy h1 { font-size: clamp(31px,8.4vw,48px); letter-spacing: -1.6px; }.hero-description { font-size: 14px; margin-top: 20px; }.hero-actions { gap: 19px; }.hero-actions .btn-primary { font-size: 12px; padding: 14px 17px; }.hero-work-link { font-size: 12px; }.hero-details { gap: 16px; font-size: 10px; }.studio-image { height: 220px; }.studio-image-copy h2 { font-size: 40px; }.studio-nav { padding: 13px 17px; }.motion-panel { width: 91%; padding: 13px; }.hero-foot { align-items: flex-start; padding: 22px 0; gap: 15px; }.hero-foot>span { max-width: 145px; line-height: 1.8; }.hero-foot a { max-width: 150px; line-height: 1.8; gap: 10px; }.hero-preview-label { font-size: 7px; letter-spacing: 1px; }.hero-project-note { font-size: 9px; }.studio-bottom { padding: 13px 16px; font-size: 6px; }.studio-bottom>span:last-child { font-size: 5px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*:before,*:after { animation: none !important; transition: none !important; }.motion-ready .reveal-up:not(.in-view) { opacity: 1; transform: none; }.hero-depth { transform: none; }.motion-ready .service-card.in-view:hover,.motion-ready .portfolio-card.in-view:hover,.motion-ready .why-card.in-view:hover,.portfolio-card:hover .demo-window,.portfolio-card:hover .demo-editorial>img { transform: none; } }
