/* ============================================================
   HOME PAGE — Hero, Selected Work, Services, Process Teaser
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero__bg-orb {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,248,74,0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hero__bg-orb--secondary {
  top: 60%;
  left: -15%;
  right: auto;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(188,174,229,0.06) 0%, transparent 70%);
  animation-delay: -10s;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.hero__title .line {
  display: block;
}

.hero__description {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-relaxed);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-3xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}


/* ── SELECTED WORK ── */
.selected-work {
  background: var(--bg-secondary);
}

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

.section-header__label {
  margin-bottom: var(--space-md);
}

.section-header__title {
  font-size: var(--fs-h2);
}

.section-header__link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--duration-normal) var(--ease-out);
}

.section-header__link:hover { color: var(--accent-light); }

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.work-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration-slow) var(--ease-out);
  text-decoration: none;
  display: block;
}

.work-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-lg);
}

.work-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-surface);
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out);
}

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

.work-card__info {
  padding: var(--space-xl);
}

.work-card__tags {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.work-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.work-card__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-body);
}

/* Featured card spans full width */
.work-card--featured {
  grid-column: 1 / -1;
}

.work-card--featured .work-card__image {
  aspect-ratio: 21/9;
}

@media (max-width: 768px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card--featured .work-card__image { aspect-ratio: 16/10; }
}


/* ── SERVICES PREVIEW ── */
.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-preview-card {
  padding: var(--space-2xl);
  position: relative;
}

.service-preview-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid rgba(196, 248, 74, 0.15);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  color: var(--accent);
  font-size: 1.25rem;
}

.service-preview-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
}

.service-preview-card__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.service-preview-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-preview-card__list li {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.service-preview-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

@media (max-width: 768px) {
  .services-preview__grid { grid-template-columns: 1fr; }
}


/* ── PROCESS TEASER ── */
.process-teaser {
  background: var(--bg-secondary);
}

.process-teaser__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  counter-reset: step;
}

.process-step-mini {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
  counter-increment: step;
}

.process-step-mini:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.process-step-mini__number {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--accent);
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--space-md);
}

.process-step-mini__title {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.process-step-mini__desc {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  line-height: var(--lh-body);
}

@media (max-width: 1024px) {
  .process-teaser__steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .process-teaser__steps { grid-template-columns: repeat(2, 1fr); }
}


/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__bg-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,248,74,0.1) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-section__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.cta-section__desc {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.cta-section__actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ── HOME: BRAND BLUEPRINT ── */
#servicesPreview,
#processTeaser { display: none; }

.hero__index {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(3rem, 9vh, 6rem);
  display: grid;
  gap: .4rem;
  text-align: right;
  color: var(--text-dim);
  font: 500 var(--fs-xs)/1.4 var(--font-mono);
  letter-spacing: var(--ls-wider);
}

.hero__index span:last-child { color: var(--accent); }

.brand-blueprint {
  position: relative;
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  overflow: clip;
}

.blueprint__scroll { position: relative; }

.blueprint__sticky {
  min-height: min(760px, 100svh);
  display: grid;
  grid-template-columns: minmax(16rem, .78fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.blueprint__intro { align-self: center; }

.blueprint__intro .text-label {
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.blueprint__intro h2 {
  max-width: 9ch;
  font-size: clamp(2.5rem, 4.8vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: var(--space-lg);
}

.blueprint__intro h2 em {
  color: var(--accent);
  font-style: normal;
}

.blueprint__intro > p:not(.text-label) {
  max-width: 34rem;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
}

.blueprint__controls { display: flex; gap: var(--space-md); margin: clamp(1.5rem, 5vh, 3rem) 0 var(--space-xl); }

.blueprint__nav { list-style: none; display: grid; gap: .2rem; flex: 1; }

.blueprint__nav-button {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .45rem 0;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  text-align: left;
  font: 500 var(--fs-xs)/1.2 var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.blueprint__nav-button span { color: var(--text-dim); font-size: .65rem; }
.blueprint__nav-button:hover,
.blueprint__nav-button:focus-visible,
.blueprint__nav-button.is-active { color: var(--text-primary); transform: translateX(.25rem); }
.blueprint__nav-button.is-active span { color: var(--accent); }

.blueprint__progress {
  position: relative;
  width: 1px;
  margin: .5rem 0;
  background: var(--border);
}

.blueprint__progress span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 20%;
  background: var(--accent);
  transform-origin: top;
}

.blueprint__link {
  display: inline-flex;
  gap: var(--space-sm);
  color: var(--accent);
  text-decoration: none;
  font: 500 var(--fs-xs)/1 var(--font-mono);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.blueprint__link span { transition: transform var(--duration-normal) var(--ease-out); }
.blueprint__link:hover span { transform: translateX(.3rem); }

.blueprint__stages { position: relative; min-height: 39rem; }

.blueprint-stage {
  display: grid;
  grid-template-columns: minmax(10rem, .75fr) minmax(19rem, 1.2fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  min-height: 39rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(28, 28, 25, .72);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .18);
}

.blueprint-stage__number {
  margin-bottom: var(--space-lg);
  color: var(--accent);
  font: 500 var(--fs-xs)/1 var(--font-mono);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.blueprint-stage__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.8rem); line-height: 1; letter-spacing: -.045em; margin-bottom: var(--space-lg); }
.blueprint-stage__copy > p:not(.blueprint-stage__number) { color: var(--text-secondary); font-size: var(--fs-small); line-height: var(--lh-relaxed); }
.blueprint-stage__copy ul { display: grid; gap: .4rem; margin-top: var(--space-xl); list-style: none; }
.blueprint-stage__copy li { color: var(--text-muted); font-size: var(--fs-xs); }
.blueprint-stage__copy li::before { content: '↗'; color: var(--accent); margin-right: .55rem; }

.blueprint-art {
  position: relative;
  min-height: 29rem;
  overflow: hidden;
  border-radius: 1rem;
  background: #ece7db;
  color: #1a1a17;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 20, .07);
}

.blueprint-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Listen artifact */
.note { position: absolute; z-index: 1; background: #f6f1e7; box-shadow: .6rem 1rem 2rem rgba(0,0,0,.14); }
.note--large { top: 13%; left: 13%; width: 63%; min-height: 62%; padding: 1.5rem; transform: rotate(-3deg); }
.note--large b { display: block; margin-bottom: 1.2rem; font: 500 .58rem/1 var(--font-mono); letter-spacing: .12em; }
.note--large span { display: block; height: 1px; margin: .85rem 0; background: rgba(26,26,23,.2); }
.note--large i { display: block; margin-top: 1.6rem; color: #6e64a7; font: 400 1.25rem/1.1 var(--font-heading); }
.note--small { right: 8%; bottom: 18%; padding: 1rem 1.2rem; background: #c6b9e8; transform: rotate(7deg); font: 500 .7rem/1.45 var(--font-mono); }
.art-pin { position: absolute; z-index: 2; top: 11%; right: 17%; width: .65rem; height: .65rem; border-radius: 50%; background: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.35); }

/* Map artifact */
.blueprint-art--map { background: #f2ede2; }
.map-axis { position: absolute; z-index: 1; background: rgba(26,26,23,.55); }
.map-axis--x { top: 50%; right: 12%; left: 12%; height: 1px; }
.map-axis--y { top: 12%; bottom: 12%; left: 50%; width: 1px; }
.map-label { position: absolute; z-index: 1; color: #65615b; font: 500 .52rem/1 var(--font-mono); letter-spacing: .08em; }
.map-label--top { top: 7%; left: 50%; transform: translateX(-50%); }
.map-label--bottom { bottom: 7%; left: 50%; transform: translateX(-50%); }
.map-label--left { top: 50%; left: 3%; transform: translateY(-50%) rotate(-90deg); }
.map-label--right { top: 50%; right: 3%; transform: translateY(-50%) rotate(90deg); }
.map-dot { position: absolute; z-index: 2; display: grid; width: .5rem; height: .5rem; place-items: center; border-radius: 50%; background: #2e2d28; font: 500 .45rem/1 var(--font-mono); font-style: normal; }
.map-dot--one { top: 28%; left: 32%; }.map-dot--two { right: 25%; bottom: 29%; }.map-dot--three { right: 37%; top: 33%; }
.map-dot--focus { top: 27%; right: 19%; width: 3.5rem; height: 3.5rem; background: #c6b9e8; font-size: .55rem; }

/* Frame artifact */
.blueprint-art--frame { display: flex; align-items: center; justify-content: center; background: #e9e4d9; }
.type-letter { position: absolute; z-index: 1; font: 400 clamp(9rem, 20vw, 18rem)/.8 Georgia, serif; letter-spacing: -.15em; }
.type-letter--outline { top: 16%; left: 12%; color: transparent; -webkit-text-stroke: 1px rgba(26,26,23,.35); }
.type-letter--solid { right: 18%; bottom: 12%; color: #171714; }
.type-letter--accent { right: 7%; top: 13%; color: #b9a7dc; }
.blueprint-art--frame p { position: absolute; z-index: 2; bottom: 12%; left: 12%; font: 500 .6rem/1.5 var(--font-mono); letter-spacing: .11em; }

/* Build artifact */
.blueprint-art--build { display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 1px; background: rgba(26,26,23,.16); }
.blueprint-art--build > * { position: relative; z-index: 1; background: #f2ede2; }
.system-mark { display: grid; place-items: center; font: 400 clamp(3rem, 7vw, 6rem)/1 Georgia, serif; }.system-mark span { color: #b4a2d5; font-size: .65em; }
.system-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; padding: 20% 13%; }
.system-swatches i:nth-child(1) { background: #161614; }.system-swatches i:nth-child(2) { background: #c4f84a; }.system-swatches i:nth-child(3) { background: #b6a6d8; }.system-swatches i:nth-child(4) { background: #777569; }
.system-type { padding: 13%; display: grid; align-content: center; gap: .6rem; }.system-type b, .system-type span { font: 500 .55rem/1 var(--font-mono); letter-spacing: .09em; }.system-type strong { justify-self: end; font: 400 4rem/1 Georgia, serif; }
.system-grid { background: repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), rgba(26,26,23,.11) calc(25% - 1px) 25%), repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(26,26,23,.11) calc(25% - 1px) 25%) !important; }

/* Release artifact */
.blueprint-art--release { display: flex; align-items: center; justify-content: center; gap: 0; padding: 9%; background: #d8d2c5; }
.guide { position: relative; z-index: 1; box-shadow: .6rem 1rem 1.8rem rgba(0,0,0,.18); }
.guide--cover { display: grid; width: 33%; min-height: 70%; place-items: center; background: #1a1a17; color: #ebe4d6; font: 500 .7rem/1.5 var(--font-mono); letter-spacing: .1em; }
.guide--pages { display: grid; grid-template-columns: 1fr 1fr; width: 55%; min-height: 78%; background: #f6f0e5; }.guide--pages span { padding: 1rem; color: #65615b; font: 500 .5rem/1.5 var(--font-mono); }.guide--pages b { color: #1a1a17; font-size: .52rem; }.guide--pages i { position: absolute; width: 18%; height: 18%; background: #b8a8d7; }.guide--pages i:nth-of-type(1) { right: 12%; bottom: 15%; }.guide--pages i:nth-of-type(2) { right: 43%; top: 42%; background: #1a1a17; }
.blueprint-art--release > p { position: absolute; z-index: 2; right: 8%; bottom: 8%; color: #1a1a17; font: 500 .5rem/1.45 var(--font-mono); letter-spacing: .09em; }

@media (min-width: 769px) {
  body.blueprint-enhanced .blueprint__scroll { height: 300svh; }
  body.blueprint-enhanced .blueprint__sticky { min-height: 100svh; }
  body.blueprint-enhanced .blueprint__stages { height: min(39rem, 74svh); }
  body.blueprint-enhanced .blueprint-stage { position: absolute; inset: 0; min-height: 0; }
}

@media (max-width: 900px) {
  .blueprint__sticky { grid-template-columns: 1fr; padding: var(--space-2xl) 0; }
  .blueprint__intro h2 { max-width: 14ch; }
  .blueprint__stages { display: grid; gap: var(--space-lg); min-height: 0; }
  .blueprint-stage { min-height: 0; }
}

@media (max-width: 620px) {
  .hero__index { display: none; }
  .blueprint-stage { grid-template-columns: 1fr; padding: var(--space-lg); }
  .blueprint-stage__copy h3 { font-size: 2rem; }
  .blueprint-art { min-height: 22rem; }
  .blueprint__intro h2 { font-size: clamp(2.75rem, 14vw, 4.25rem); }
  .blueprint__controls { margin-bottom: var(--space-lg); }
  .blueprint__link { margin-bottom: var(--space-xl); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__index, .blueprint__nav-button, .blueprint__link span { transition: none; }
}
