/* =====================================================
   NKN - New Kind of Normal
   Premium Design Agency - Light / Glassmorphism Theme
   ===================================================== */

/* - Fonts - */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* - Custom Properties - */
:root {
  /* Brand palette */
  --color-orange:       #E85F15;
  --color-orange-glow:  rgba(232, 95, 21, .3);
  --color-orange-soft:  rgba(232, 95, 21, .1);
  --color-orange-mid:   rgba(232, 95, 21, .18);

  /* Light theme base */
  --color-bg:           #FFFFFF;
  --color-bg-secondary: #F7F7F8;
  --color-text:         #0D0D0D;
  --color-text-muted:   rgba(13, 13, 13, .55);
  --color-text-subtle:  rgba(13, 13, 13, .3);

  /* Glass tokens - light surface */
  --glass-bg:           rgba(255, 255, 255, 0.60);
  --glass-bg-heavy:     rgba(255, 255, 255, 0.82);
  --glass-border:       rgba(0, 0, 0, 0.07);
  --glass-shadow:       0 8px 40px rgba(0, 0, 0, 0.08);
  --glass-blur:         24px;

  /* Typography */
  --font-heading:  'Space Grotesk', -apple-system, sans-serif;
  --font-body:     'Outfit', -apple-system, 'Segoe UI', sans-serif;
  --fs-hero:       clamp(3rem, 8vw, 7.5rem);
  --fs-h2:         clamp(2rem, 5vw, 4rem);
  --fs-h3:         clamp(1.2rem, 2.5vw, 1.65rem);
  --fs-body:       clamp(0.95rem, 1.2vw, 1.1rem);
  --fs-small:      0.82rem;
  --fs-label:      clamp(0.7rem, 1vw, 0.78rem);

  /* Spacing */
  --space-xs:  .5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-xxl: 10rem;

  /* Layout */
  --max-width:  1280px;
  --nav-height: 68px;

  /* Transitions */
  --ease-out-expo:  cubic-bezier(.16, 1, .3, 1);
  --ease-out-quint: cubic-bezier(.22, 1, .36, 1);
  --dur-fast:       .22s;
  --dur-normal:     .5s;
  --dur-slow:       .9s;

  /* Cursor */
  --cursor-size-dot:     8px;
  --cursor-size-outline: 36px;
}

/* - Typography Helpers - */
.fw-light { font-weight: 300 !important; }
.fw-bold { font-weight: 700 !important; }
.text-gradient {
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* - Reset - */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.7;
  cursor: none;
}

/* Scroll Performance Optimization */
body.is-scrolling * {
  pointer-events: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

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

ul, ol { list-style: none; }
img, video { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: none; }

::selection {
  background: var(--color-orange);
  color: #fff;
}

/* - Custom Cursor - */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: var(--cursor-size-dot);
  height: var(--cursor-size-dot);
  background: var(--color-orange);
}

.cursor-outline {
  width: var(--cursor-size-outline);
  height: var(--cursor-size-outline);
  border: 1.5px solid var(--color-orange);
  transition: width var(--dur-fast) var(--ease-out-expo),
              height var(--dur-fast) var(--ease-out-expo),
              background var(--dur-fast) var(--ease-out-expo);
}

.cursor-outline.is-hovering {
  width: 56px;
  height: 56px;
  background: var(--color-orange-glow);
  border-color: transparent;
}

/* - Utility - */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  display: inline-block;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.section-subheading {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.highlight {
  color: var(--color-orange);
  position: relative;
  display: inline-block;
}



/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(36px);
}

.split-line {
  overflow: hidden;
  display: block;
}

.split-line .line-inner {
  display: block;
  transform: translateY(105%);
}

/* - Navigation - */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 1.5rem var(--space-md);
  z-index: 1000;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0); /* Own GPU compositor layer */
  transition: padding var(--dur-normal) var(--ease-out-expo);
}

.nav.is-scrolled {
  padding: 0.8rem var(--space-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  pointer-events: auto;
  position: relative;
}

.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  padding: 0.6rem 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), inset 0 6px 16px rgba(255,255,255,1), inset 0 -2px 6px rgba(0, 0, 0, 0.08);
  transition: background var(--dur-normal), box-shadow var(--dur-normal);
}

.nav.is-scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(70px) saturate(220%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15), inset 0 6px 16px rgba(255,255,255,1), inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter var(--dur-fast);
}

.nav-logo-img:hover {
  transform: scale(1.15) rotate(-4deg);
  filter: drop-shadow(0 8px 16px rgba(232, 95, 21, 0.4));
}

.nav-logo .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--dur-normal) var(--ease-out-expo), transform 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:active {
  transform: translateY(1px) scale(0.97);
  opacity: 0.8;
  transition: transform 0.1s, opacity 0.1s;
}

.nav-cta {
  background: var(--color-orange) !important;
  color: #fff !important;
  padding: .5rem 1.35rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--fs-small) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px var(--color-orange-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* - Hero - */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

/* Subtle radial background glow behind globe */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 30% 50%, var(--color-orange-soft) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* - Hero Background Graphic - */
.hero-graphic-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  width: 900px;
  height: 900px;
  z-index: 1; /* Below text */
  pointer-events: none;
  opacity: 0;
  animation: graphic-fade-in 2s cubic-bezier(.16, 1, .3, 1) forwards 0.5s, wrapper-pulse 12s ease-in-out infinite 2.5s;
}

.hero-graphic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: rotate-graphic 45s linear infinite;
  filter: drop-shadow(-15px 30px 60px rgba(232, 95, 21, 0.2)) drop-shadow(-5px 10px 20px rgba(232, 95, 21, 0.1));
  mix-blend-mode: multiply; /* Adds a rich layering/burn effect on light backgrounds */
}

@keyframes graphic-fade-in {
  to { opacity: 0.85; }
}

@keyframes wrapper-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.4; }
}

@keyframes rotate-graphic {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-container {
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  text-align: left;
  max-width: 650px;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 3;
}

.accent-text {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.hero-subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 0 var(--space-md) 0;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* - Buttons - */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  transition: box-shadow var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 8px 36px var(--color-orange-glow);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--color-text);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.lets-talk-effect {
  transition: transform var(--dur-fast) var(--ease-out-expo), box-shadow var(--dur-fast);
}

.lets-talk-effect:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 30px var(--color-orange-glow) !important;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 3;
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  writing-mode: vertical-rl; /* Stand vertically */
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to top, var(--color-orange), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* - Floating Effects Update - */
.floating-element.blurred {
  background: radial-gradient(circle, var(--color-orange-glow) 0%, transparent 70%);
  border: none;
  filter: blur(50px);
  pointer-events: none;
}

/* - Process Section - */
.process-section {
  background: var(--color-bg);
  position: relative;
}

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.process-badge {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--glass-border);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.process-timeline {
  position: relative;
  padding-top: var(--space-md);
}

.timeline-line {
  display: none;
}

.process-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  background: var(--color-orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  box-shadow: 0 8px 24px var(--color-orange-glow);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
  align-items: start;
  /* Pre-reserve height for the expanded description state so
     the section bottom edge never shifts when hovering steps. */
  min-height: 220px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--color-bg);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 3;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.process-step.is-active .step-num {
  color: #fff;
  border-color: transparent;
  background-color: transparent;
}

.step-card {
  background: var(--glass-bg-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: var(--space-md);
  width: 100%;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: box-shadow 0.4s ease;
}

.process-step.is-active .step-card {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); /* Minimal elevation */
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

.step-desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out, margin 0.5s ease-in-out;
}

.process-step.is-active .step-desc {
  max-height: 150px;
  opacity: 1;
  margin-top: var(--space-sm);
}

/* - Services (now first after hero) - */
.services-section {
  background: var(--color-bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* - Glass Cards - */
.glass-card {
  background: var(--glass-bg-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translateZ(0); /* Force GPU acceleration */
  transition: transform var(--dur-fast) var(--ease-out-expo),
              border-color var(--dur-fast),
              box-shadow var(--dur-fast);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(232, 95, 21, .08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--dur-fast);
  pointer-events: none;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  border-color: rgba(232, 95, 21, .25);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.12);
}

.inactive-service {
  opacity: 0.38 !important;
  pointer-events: none !important;
  filter: grayscale(100%) !important;
  user-select: none !important;
  cursor: not-allowed !important;
  background: rgba(0,0,0,0.02) !important;
  box-shadow: none !important;
  border-color: rgba(0,0,0,0.04) !important;
  transform: none !important;
  position: relative;
}

.inactive-service::after {
  content: 'Coming Soon';
  position: absolute !important;
  top: var(--space-sm);
  left: var(--space-sm);
  background: rgba(0,0,0,0.07) !important;
  color: var(--color-text-muted) !important;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  z-index: 2;
  opacity: 1 !important;
  background-image: none !important;
  -webkit-text-fill-color: initial !important;
  inset: auto !important;
  top: var(--space-sm) !important;
  left: var(--space-sm) !important;
  width: auto !important;
  height: auto !important;
}

.inactive-service:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(0,0,0,0.04) !important;
}

.inactive-service > * {
  opacity: 0.6;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.card-desc {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.card-number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
}

.card-arrow {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  font-size: 1.5rem;
  color: var(--color-orange);
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity var(--dur-normal) var(--ease-out-expo), transform var(--dur-normal) var(--ease-out-expo);
  z-index: 5;
}

.glass-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* - Manifesto / About - */
.manifesto-section {
  padding: var(--space-xxl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.manifesto-text {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}

.manifesto-line {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 4.8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--color-text);
  text-transform: uppercase;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateY(0);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  padding: 0.1em 0;
  overflow: visible;
}

.accent-wrapper {
  display: inline-block;
  max-width: 100%;
  overflow: visible;
  padding: 0.1em 0.05em;
  will-change: transform, opacity, filter;
  vertical-align: baseline;
}

.accent-italic {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  color: var(--color-orange);
  text-transform: lowercase;
  position: relative;
  cursor: default;
  letter-spacing: 0;
  padding-right: 0.15em;
  margin-right: -0.15em; /* Offset padding to maintain alignment */
  
  /* Ink Flow gradient */
  background: linear-gradient(90deg, #E85F15, #FF8E42, #E85F15, #FF8E42);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  animation: 
    ink-flow 8s linear infinite,
    micro-float 4s ease-in-out infinite alternate,
    breathe-tracking 6s ease-in-out infinite alternate;
  
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s;
}

/* Hover interaction */
.accent-italic::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: calc(100% - 0.15em);
  height: 4px;
  background: linear-gradient(90deg, #E85F15, #FF8E42);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
  border-radius: 2px;
}

.accent-italic:hover {
  transform: scale(1.05) translateY(-2px) !important;
  filter: drop-shadow(0 8px 24px rgba(232, 95, 21, 0.4)) brightness(1.15);
  animation-play-state: paused;
}

.accent-italic:hover::after {
  transform: scaleX(1);
}

@keyframes ink-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes micro-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-3px); }
}

@keyframes breathe-tracking {
  0% { letter-spacing: -0.01em; }
  100% { letter-spacing: 0.02em; }
}

/* - Work / Portfolio - */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.work-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--glass-shadow);
  transition: box-shadow var(--dur-normal) var(--ease-out-expo);
}

.work-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
  transition: transform var(--dur-slow) var(--ease-out-expo);
}

.work-card:hover img {
  transform: scale(1.08);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, .92) 0%,
    rgba(13, 13, 13, .25) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out-expo);
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-tag {
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: .3rem;
}

.work-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #fff;
}

.work-arrow {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 44px;
  height: 44px;
  background: var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transform: translate(60px, -60px);
  transition: transform var(--dur-normal) var(--ease-out-expo);
}

.work-card:hover .work-arrow {
  transform: translate(0, 0);
}

/* - Testimonials - */
.testimonials {
  text-align: center;
  background: var(--color-bg-secondary);
}

.testimonials-carousel {
  position: relative;
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: fadeIn .6s var(--ease-out-expo);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-orange);
  line-height: 0;
  vertical-align: middle;
  margin-right: .2rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: var(--space-md);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  transition: background var(--dur-fast), width var(--dur-fast) var(--ease-out-expo);
}

.carousel-dot.is-active {
  background: var(--color-orange);
  width: 28px;
  border-radius: 10px;
}

/* - Conversational Form Section - */
.contact-form-section {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: flex-start;
  text-align: left;
}

.contact-info {
  text-align: left;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.contact-email {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-orange);
  display: inline-block;
  position: relative;
  transition: opacity var(--dur-fast);
}

.contact-email:hover { opacity: .7; }

.social-links-new {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--dur-fast) var(--ease-out-expo);
}

.social-icon:hover {
  background: var(--color-orange-soft);
  color: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--color-orange-glow);
}

.conversational-form {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  line-height: 2.1;
  color: var(--color-text);
  font-weight: 300;
  text-align: left;
  max-width: 100%;
  overflow: visible;
}

.form-sentence {
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
  line-height: 2.2;
}

.form-sentence:hover {
  z-index: 20;
}

.form-sentence:has(.custom-select-wrapper.is-active),
.form-sentence.has-active-dropdown {
  z-index: 150 !important;
}

.input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  vertical-align: middle; /* sit centred on the text line */
  /* Breathing room so the pill never feels crammed against surrounding words */
  margin: 0 0.45em;
}

.input-bg {
  position: absolute;
  /* Extends enough for a visible pill but doesn't touch surrounding words
     (margin on .input-wrapper handles the gap to adjacent text) */
  top: 50%;
  left: -14px;
  right: -14px;
  height: calc(1em + 18px);
  transform: translateY(-50%);
  background: var(--color-orange-soft);
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transition:
    background var(--dur-normal) var(--ease-out-expo),
    box-shadow var(--dur-normal) var(--ease-out-expo),
    opacity var(--dur-normal) var(--ease-out-expo);
  pointer-events: none;
}

.input-wrapper:hover .input-bg {
  background: rgba(232, 95, 21, 0.09);
  opacity: 1;
}

.inline-input:focus + .input-bg,
.inline-select:focus + .input-bg {
  background: #fff;
  box-shadow: 0 4px 16px var(--color-orange-glow);
  opacity: 1;
}

.inline-input, .inline-select {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: var(--color-orange);
  background: transparent;
  border: none;
  border-bottom: 2px dashed rgba(13, 13, 13, 0.15);
  padding: 0.1rem 0.2rem;
  width: auto;
  min-width: 160px;
  max-width: min(500px, 90vw);
  text-align: center;
  transition: border-color var(--dur-fast);
  outline: none;
  appearance: none;
  line-height: 1; /* CRITICAL: prevent inheriting line-height:2.1 from conversational form */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-input::placeholder {
  color: rgba(13, 13, 13, 0.2);
  font-weight: 300;
}

.inline-input:focus, .inline-select:focus {
  border-bottom-color: transparent !important;
}

/* ─── Custom Inline Select ────────────────────────────────── */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.hidden-select {
  display: none !important;
}

/* The trigger — matches inline text inputs */
.custom-select-display {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  /* Match inline-input padding so it aligns beautifully with the surrounding text */
  padding: 0.1rem 0.2rem;
  color: var(--color-orange);
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-bottom: 2px dashed rgba(13, 13, 13, 0.15);
  background: transparent;
  position: relative;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  line-height: inherit;
}

/* Chevron icon — rotates when open */
.custom-select-display::after {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-15%) rotate(45deg);
  opacity: 0.7;
  transition: transform 0.25s var(--ease-out-expo);
  flex-shrink: 0;
  margin-left: 0.1rem;
}

.custom-select-wrapper.is-active .custom-select-display::after {
  transform: translateY(15%) rotate(225deg); /* flip chevron up */
}

/* Hover state: deepen the chip colour and hide underline */
.custom-select-wrapper:hover .custom-select-display {
  color: color-mix(in srgb, var(--color-orange), #000 10%);
  border-bottom-color: transparent;
}

/* Active state: hide underline */
.custom-select-wrapper.is-active .custom-select-display {
  color: var(--color-orange);
  border-bottom-color: transparent;
}

/* Pill background — stays rounded when active, NOT flat-bottomed */
.custom-select-wrapper.is-active .input-bg {
  background: rgba(232, 95, 21, 0.12);
  border-radius: 50px;
  box-shadow: 0 0 0 1.5px rgba(232, 95, 21, 0.25);
  transform: translateY(-50%);
  opacity: 1;
}

/* ─── Dropdown Panel — completely separate floating white card ─── */
.custom-select-dropdown {
  position: absolute;
  /* Clear gap so the card reads as fully detached from the pill */
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  box-shadow:
    0 2px 0 rgba(0,0,0,0.04),
    0 16px 48px rgba(0, 0, 0, 0.10),
    0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 0.5rem;
  z-index: 200;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s var(--ease-out-expo),
    transform 0.22s var(--ease-out-expo),
    visibility 0.22s;
  pointer-events: none;
}

.custom-select-wrapper.is-active .custom-select-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Options — spacious and airy like the reference screenshot */
.custom-select-option {
  padding: 0.9rem 1.4rem;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 400;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  color: var(--color-text);
  white-space: nowrap;
  line-height: 1.4;
}

.custom-select-option:hover {
  background: var(--color-orange-soft);
  color: var(--color-orange);
}

.custom-select-option.is-selected {
  background: var(--color-orange-soft);
  color: var(--color-orange);
  font-weight: 500;
}

.form-action {
  margin-top: var(--space-xl);
  text-align: center;
}

.btn-large {
  font-size: 1.1rem;
  padding: 1.2rem 3.5rem;
  border-radius: 100px;
}

.btn-arrow {
  margin-left: 10px;
  transition: transform var(--dur-fast);
  vertical-align: middle;
}

.btn-large:hover .btn-arrow {
  transform: translateX(6px);
}

.btn-loader {
  display: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(232, 95, 21, 0.3);
  border-top-color: var(--color-orange);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

.btn-large.is-loading .btn-text, .btn-large.is-loading .btn-arrow {
  display: none;
}

.btn-large.is-loading .btn-loader {
  display: inline-block;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.success-message {
  display: none;
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--glass-bg-heavy);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  opacity: 0;
}

.hidden-sentence {
  display: none;
}
.hidden-sentence.is-active {
  display: block;
}

/* - Footer - */
.footer {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: var(--space-md) 0;
  background: var(--color-bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-sm);
  }
}

.footer-copy {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
  justify-self: end;
}

@media (max-width: 767px) {
  .footer-links {
    justify-self: center;
  }
}

.footer-links a {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}

.footer-links a:hover { color: var(--color-orange); }

/* - Floating Elements (Antigravity) - */
.floating-element {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  opacity: .12;
}

.floating-element.orb {
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 70%);
  filter: blur(50px);
  opacity: .18;
}

.floating-element.ring {
  border-radius: 50%;
  border: 1.5px solid var(--color-orange);
  opacity: .06;
}

.floating-element.line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
  opacity: .06;
}

/* - Grain Overlay - */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

/* - Premium Splash Screen - */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.splash-screen.is-active {
  pointer-events: all;
}

.splash-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo {
  height: 90px;
  width: auto;
  position: relative;
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: center center;
}

.splash-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--color-orange) 0%, transparent 65%);
  filter: blur(28px);
  z-index: 1;
  opacity: 0;
  will-change: opacity, transform;
}

/* Mobile Nav Overlay - Orange Splash */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 44px) 36px);
  transition: clip-path 0.65s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: clip-path;
}

.mobile-nav.is-open {
  clip-path: circle(150% at calc(100% - 44px) 36px);
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 8vw, 3rem);
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}

.mobile-nav.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger the link reveals */
.mobile-nav.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.20s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.25s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.30s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(5) { transition-delay: 0.35s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(6) { transition-delay: 0.40s; }

/* Reset delays on close for instant disappear */
.mobile-nav:not(.is-open) .mobile-nav-link {
  transition-delay: 0s;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-nav-link:active {
  color: rgba(255, 255, 255, 0.7);
}

/* - Keyframes - */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--color-orange-glow); }
  50%      { box-shadow: 0 0 12px 4px var(--color-orange-glow); }
}

@keyframes scroll-pulse {
  0%   { opacity: 1; transform: scaleY(1); }
  50%  { opacity: .3; transform: scaleY(.6); }
  100% { opacity: 1; transform: scaleY(1); }
}

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

@keyframes loader-reveal {
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   RESPONSIVE - LAPTOP (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-graphic-wrapper { width: 750px; height: 750px; opacity: 0.6; }
  .contact-split { gap: var(--space-lg); }
  .inline-input, .inline-select { min-width: 180px; }

  /* Navbar overlap fix for "Desktop on Phone" range */
  .nav-inner { padding: 0 1rem; }
  .nav-pill { padding: 0.5rem 1.2rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.75rem; }
}

/* ============================================================
   RESPONSIVE - TABLET (≤ 968px)
   ============================================================ */
@media (max-width: 968px) {
  .hero-graphic-wrapper { width: 600px; height: 600px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .work-grid  { grid-template-columns: repeat(2, 1fr); }
  .nav-pill   { display: none; }
  .nav-cta    { display: none; }
  .nav-toggle { display: flex; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info { position: static; margin-bottom: var(--space-xl); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }

  /* Hide custom cursor on touch */
  .cursor-dot,
  .cursor-outline { display: none !important; }
  body { cursor: auto; }
  button { cursor: pointer; }

  /* Hamburger stays in frame */
  .nav-toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }

  /* Make hamburger white when menu is open */
  .nav-toggle.is-active span {
    background: #fff;
  }

  /* Make logo white when mobile nav is open */
  body.mobile-nav-active .nav-logo-img {
    filter: brightness(0) invert(1) !important;
    transition: filter 0.3s ease;
  }
}

/* ============================================================
   RESPONSIVE - MOBILE (≤ 768px) - TOUCH-FIRST
   ============================================================ */
@media (max-width: 767px) {

  /* -- Disable ALL hover effects on touch -- */

  /* Glass card: no tilt, no glow, no translateY */
  .glass-card:hover {
    transform: none;
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
  }
  .glass-card::before { display: none; }
  .glass-card:hover::before { opacity: 0; }

  /* Card arrow: always visible on mobile */
  .card-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    visibility: visible !important;
    display: flex !important;
  }

  /* Work cards: overlay always visible, no image zoom */
  .work-card:hover img { transform: none; }
  .work-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(13, 13, 13, .85) 0%,
      rgba(13, 13, 13, .15) 55%,
      transparent 100%
    );
  }
  .work-arrow {
    transform: translate(0, 0);
    width: 36px;
    height: 36px;
  }
  .work-card:hover {
    box-shadow: var(--glass-shadow);
  }

  /* Nav logo: no hover zoom/rotate */
  .nav-logo-img:hover {
    transform: none;
    filter: none;
  }

  /* Buttons: no hover scale */
  .btn-primary:hover { box-shadow: none; }
  .nav-cta:hover { transform: none; box-shadow: none; }
  .lets-talk-effect:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .btn-large:hover .btn-arrow { transform: none; }

  /* Social icons: no hover lift */
  .social-icon:hover {
    transform: none;
    box-shadow: none;
  }

  /* Accent italic: disable hover interactions */
  .accent-italic:hover {
    transform: none !important;
    filter: none;
    animation-play-state: running;
  }
  .accent-italic:hover::after { transform: scaleX(0); }

  /* Nav link: disable hover underline */
  .nav-links a:hover::after { transform: scaleX(0); }

  /* -- Hero Section mobile -- */
  .hero {
    min-height: 100svh; /* Use stable viewport height on mobile */
    padding-top: calc(var(--nav-height) + 3.5rem); /* Increased top padding for notches */
    padding-bottom: var(--space-xl);
    display: flex;
    align-items: center;
  }
  .hero-graphic-wrapper {
    width: 420px;
    height: 420px;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%) !important;
    opacity: 0.2;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 2.5rem;
    line-height: 1.6;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .scroll-indicator {
    display: none;
  }

  /* -- Services Section mobile -- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .glass-card {
    padding: var(--space-md);
  }

  /* -- Process Section mobile -- */
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .process-highlight { display: none; }
  .step-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    background: var(--color-bg) !important;
    color: var(--color-text) !important;
    border: 2px solid var(--color-orange-soft) !important;
  }
  .step-card {
    padding: var(--space-sm) var(--space-md);
  }
  /* Show all descriptions on mobile */
  .step-desc {
    max-height: 150px;
    opacity: 1;
    margin-top: var(--space-xs);
  }

  /* -- Manifesto / About Section mobile -- */
  .manifesto-section {
    padding: var(--space-xl) 0;
  }
  .manifesto-text {
    gap: var(--space-sm) !important;
  }
  .manifesto-line {
    font-size: clamp(1.2rem, 6.5vw, 2.2rem);
    line-height: 1.3 !important;
    padding: 0 !important;
  }
  /* Simplify accent animations on mobile */
  .accent-italic {
    animation: ink-flow 8s linear infinite;
  }

  /* -- Work / Portfolio mobile -- */
  .work-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .work-card {
    aspect-ratio: 16 / 10;
  }

  /* -- Testimonials mobile -- */
  .testimonial-quote {
    font-size: clamp(1rem, 4vw, 1.4rem);
    line-height: 1.55;
  }
  .testimonial-quote::before {
    font-size: 3rem;
  }

  /* -- Contact / Form mobile -- */
  .contact-form-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: var(--space-xl) !important;
    padding-bottom: var(--space-xl) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contact-split {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-lg) !important;
  }
  .contact-info {
    position: static !important;
    text-align: center;
    margin-bottom: 0 !important;
  }
  .contact-info .social-links-new {
    justify-content: center;
  }
  .contact-info .section-label,
  .contact-info .contact-heading,
  .contact-info .section-subheading {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form-wrapper {
    margin-top: var(--space-md);
    width: 100%;
  }
  .conversational-form {
    font-size: clamp(1rem, 4vw, 1.3rem);
    line-height: 1.9;
  }
  .form-sentence {
    margin-bottom: 1rem;
  }
  .inline-input, .custom-select-wrapper {
    width: 100% !important;
    display: block;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .custom-select-display {
    display: block;
    width: 100%;
    min-height: 48px;
    line-height: 48px;
    padding: 0 1.5rem 0 0.8rem;
    border-radius: 12px;
    background: var(--color-bg-secondary);
    border-bottom: none;
    border: 1px solid var(--glass-border);
  }
  .inline-input {
    width: 100% !important;
    min-height: 48px;
    padding: 0 0.8rem;
    border-radius: 12px;
    background: var(--color-bg-secondary);
    border-bottom: none;
    border: 1px solid var(--glass-border);
    text-align: left;
  }
  .custom-select-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0 !important;
    right: 0;
    width: 100% !important;
    min-width: 100% !important;
    border-radius: 24px 24px 0 0;
    padding: var(--space-md);
    background: #ffffff !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 10000 !important;
    transform: translateY(100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    visibility: hidden;
    opacity: 0;
  }
  .custom-select-wrapper.is-active .custom-select-dropdown {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .custom-select-option {
    color: #111111 !important;
    padding: 1.2rem !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    min-height: 56px;
  }
  .input-bg { display: none; }
  .btn-large {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  /* -- Section general -- */
  .section {
    padding: var(--space-xl) 0;
  }
  .container {
    padding: 0 var(--space-sm);
  }
  .section-heading {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  /* -- Footer mobile -- */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-sm);
  }
  .footer-links {
    justify-self: center;
  }

  /* -- Performance: hide floating elements & grain on mobile -- */
  .floating-element {
    display: none !important;
  }
  .grain {
    display: none;
  }

  /* Reduce backdrop-filter on mobile for performance */
  .nav-pill {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.92);
  }

  /* -- Back to top: move to right side on mobile -- */
  .back-to-top {
    left: auto !important;
    right: var(--space-sm) !important;
    bottom: var(--space-sm) !important;
    width: 44px;
    height: 44px;
    opacity: 0;
    visibility: hidden;
  }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.4rem, 13vw, 3rem);
    line-height: 1.1;
  }
  .manifesto-line {
    font-size: clamp(1.1rem, 6vw, 1.8rem);
  }
  .section-heading {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
  .contact-heading {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  .contact-email {
    font-size: clamp(1rem, 4.5vw, 1.5rem);
  }
  /* -- Back to top: move to right on mobile -- */
  .back-to-top {
    left: auto;
    right: var(--space-sm);
    bottom: var(--space-sm);
    width: 44px;
    height: 44px;
  }
}

/* Old 768px overrides now in the main mobile block above */

/* - Skeleton Loading - */


.content-wrapper {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease-out-expo) 0.15s, transform 0.6s var(--ease-out-expo) 0.15s;
}

.content-wrapper.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* - Service Card Arrow - */
.glass-card:not(.inactive-service) {
  cursor: pointer;
}

.card-arrow {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--color-orange-soft);
  border: 1px solid rgba(232, 95, 21, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--dur-fast) var(--ease-out-expo),
              transform var(--dur-fast) var(--ease-out-expo),
              background var(--dur-fast),
              box-shadow var(--dur-fast);
}

.glass-card:not(.inactive-service):hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.glass-card:not(.inactive-service):hover .card-arrow:hover {
  background: var(--color-orange);
  color: #fff;
  box-shadow: 0 6px 20px var(--color-orange-glow);
}

/* Service card link wrapper */
a.service-link,
a.project-link {
  text-decoration: none;
  color: inherit;
  display: contents;
}

a.service-link .glass-card,
a.project-link .work-card {
  cursor: pointer;
}

/* - Page Transition Overlay - */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--color-bg);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
  will-change: transform;
}

.page-transition.is-entering {
  animation: page-enter 0.5s var(--ease-out-expo) forwards;
}

.page-transition.is-leaving {
  animation: page-leave 0.45s var(--ease-out-expo) forwards;
}

@keyframes page-enter {
  0% { transform: scaleX(0); transform-origin: right; }
  100% { transform: scaleX(1); transform-origin: right; }
}

@keyframes page-leave {
  0% { transform: scaleX(1); transform-origin: left; }
  100% { transform: scaleX(0); transform-origin: left; }
}

/* - Detail Page Styles - */
.detail-hero {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-orange-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.4;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--dur-fast);
  margin-bottom: var(--space-md);
}

.detail-back-link:hover { color: var(--color-orange); }
.detail-back-link svg { transition: transform var(--dur-fast); }
.detail-back-link:hover svg { transform: translateX(-3px); }

.detail-service-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.detail-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.detail-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.8;
}

.detail-content {
  padding: var(--space-xl) 0 var(--space-xxl);
}

/* Overview Section */
.detail-overview {
  max-width: 700px;
  margin-bottom: var(--space-xl);
}

.detail-overview h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.detail-overview p {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* - WIP / Coming Soon Styles - */
.wip-section {
  position: relative;
  margin-top: var(--space-lg);
}

.wip-card {
  background: var(--glass-bg-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.wip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(232, 95, 21, 0.03) 25%,
    transparent 50%,
    rgba(232, 95, 21, 0.03) 75%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: wip-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wip-shimmer {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  background: var(--color-orange-soft);
  border: 1px solid rgba(232, 95, 21, 0.15);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: var(--space-md);
}

.wip-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
  animation: wip-dot-pulse 2s ease-in-out infinite;
}

@keyframes wip-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 var(--color-orange-glow); }
  50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 12px 4px var(--color-orange-glow); }
}

.wip-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

.wip-description {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

/* Placeholder skeleton blocks for future content */
.wip-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.wip-placeholder-block {
  background: rgba(0,0,0,0.02);
  border: 1px dashed rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: var(--space-md);
  text-align: center;
}

.wip-placeholder-block .wip-block-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
  opacity: 0.3;
}

.wip-placeholder-block .wip-block-label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
}

/* Project Detail Image */
.detail-project-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  box-shadow: var(--glass-shadow);
  max-height: 500px;
}

.detail-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-project-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-meta-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-subtle);
}

.detail-meta-value {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text);
}

/* Gradient border animation for WIP cards */
.wip-card-glow {
  position: relative;
}

.wip-card-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--color-orange), transparent 40%, transparent 60%, var(--color-orange));
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0.15;
  animation: border-glow 6s ease-in-out infinite;
}

@keyframes border-glow {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Detail page responsive */
@media (max-width: 767px) {
  .wip-placeholder-grid {
    grid-template-columns: 1fr;
  }
  .wip-card {
    padding: var(--space-lg) var(--space-md);
  }
  .detail-project-image {
    max-height: 300px;
  }
}

/* - Back to Top Button - */
.back-to-top {
  position: fixed;
  left: var(--space-md);
  bottom: var(--space-md);
  width: 54px;
  height: 54px;
  background: var(--color-orange); /* 100% opacity solid orange */
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: #ffffff; /* White arrow */
  border: 1px solid rgba(232, 95, 21, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--dur-normal) var(--ease-out-expo);
  box-shadow: 0 8px 32px rgba(232, 95, 21, 0.25);
}

.back-to-top:hover {
  box-shadow: 0 12px 32px var(--color-orange-glow);
}

.back-to-top svg {
  transition: transform var(--dur-fast);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    left: auto;
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

/* - Page Transition - */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg);
  z-index: 10000;
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 0.6s var(--ease-out-expo);
}

.page-transition.is-entering {
  transform: translateY(0%);
  pointer-events: all;
}

.page-transition.is-leaving {
  transform: translateY(-100%);
}

/* ─── Social "We're Not There Yet" Toast ─────────────────── */
.social-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  width: clamp(280px, 90vw, 360px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.social-toast.is-hiding {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
}

.social-toast-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}

.social-toast-emoji {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  animation: toast-emoji-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both 0.15s;
}

@keyframes toast-emoji-pop {
  from { transform: scale(0) rotate(-20deg); }
  to   { transform: scale(1) rotate(0deg); }
}

.social-toast-content {
  flex: 1;
  min-width: 0;
}

.social-toast-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0 0 0.2rem;
}

.social-toast-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

.social-toast-close {
  background: none;
  border: none;
  font-size: 0.9rem;
  color: var(--color-text-subtle);
  padding: 0.25rem;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.social-toast-close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--color-text);
}

.social-toast-progress {
  height: 3px;
  background: var(--color-orange);
  transform-origin: left;
  transform: scaleX(1);
  transition: transform linear;
  border-radius: 0 0 20px 20px;
}





/* Success Message Enhanced UI */
.success-message {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass-bg-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  margin-top: 1rem;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.success-checkmark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--color-orange);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--color-orange);
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--color-orange);
  fill: none;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.8rem;
}

.success-text {
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto 1.5rem;
}

.success-reset {
  color: var(--color-orange);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 100px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.success-reset:hover {
  background: var(--color-orange-soft);
  border-color: var(--color-orange-soft);
}

/* Yui Access Button Mobile Fixes */
@media (max-width: 1200px) {
  .dash-credentials-wrapper {
    display: flex !important;
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 3rem !important;
    opacity: 1 !important;
    justify-content: center;
    width: 100%;
  }

  .dash-credentials {
    right: 50% !important;
    transform: translateX(50%) translateY(-10px) scale(0.95) !important;
    top: calc(100% + 15px) !important;
  }

  .dash-credentials-wrapper:hover .dash-credentials {
    transform: translateX(50%) translateY(0) scale(1) !important;
  }
}
