/* ==========================================================================
   SYNTEXFLOW — HOMEPAGE ART DIRECTION
   Loaded only by index.html, after design-system.css.
   Scoped to the homepage with sf-* components so other pages stay untouched.
   ========================================================================== */

/* Canonical design tokens loaded from design-tokens.css */

html {
  scroll-behavior: smooth;
}

body.home {
  font-size: 17px;
  background: var(--ink);
  color: var(--paper);
}

.home ::selection {
  background: var(--copper);
  color: #0B0B0D;
}

/* --------------------------------------------------------------------------
   LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.sf-container {
  width: 100%;
  max-width: var(--sf-max);
  margin-inline: auto;
  padding-inline: var(--sf-pad);
  position: relative;
  z-index: 2;
}

.sf-section {
  position: relative;
  z-index: 2;
  padding-block: var(--sf-section);
  border-top: 1px solid var(--line);
}

.sf-section--flush {
  border-top: 0;
}

[id] {
  scroll-margin-top: 110px;
}

/* Eyebrow / metadata */
.sf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.sf-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px var(--copper-line);
  flex-shrink: 0;
}

.sf-eyebrow__index {
  color: var(--copper);
}

/* Headings */
.sf-h2 {
  font-family: var(--font-sans);
  font-size: var(--sf-h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 20px 0 0;
  max-width: 20ch;
  text-wrap: balance;
}

.sf-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 48ch;
}

/* Section header: editorial two-column alignment */
.sf-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 4.6vw, 64px);
}

.sf-head .sf-lead {
  padding-bottom: 6px;
  justify-self: end;
  max-width: 44ch;
}

@media (max-width: 900px) {
  .sf-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sf-head .sf-lead {
    justify-self: start;
    padding-bottom: 0;
  }
}

/* Buttons */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 200ms var(--sf-ease), border-color 200ms var(--sf-ease),
    color 200ms var(--sf-ease), box-shadow 200ms var(--sf-ease), transform 200ms var(--sf-ease);
  white-space: nowrap;
}

.sf-btn svg {
  transition: transform 200ms var(--sf-ease);
}

.sf-btn:hover svg {
  transform: translateX(3px);
}

.sf-btn--primary {
  background: var(--copper);
  color: #0B0B0D;
}

.sf-btn--primary:hover {
  background: var(--copper-bright);
  box-shadow: 0 10px 34px -12px rgba(192, 124, 76, 0.55);
}

.sf-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.sf-btn--ghost:hover {
  border-color: var(--copper-line);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.025);
}

/* Arrow link */
.sf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--paper);
  position: relative;
  padding-bottom: 3px;
  transition: color 200ms var(--sf-ease);
}

.sf-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  transition: background-color 200ms var(--sf-ease);
}

.sf-link:hover {
  color: var(--copper-bright);
}

.sf-link:hover::after {
  background: var(--copper);
}

.sf-link span {
  transition: transform 200ms var(--sf-ease);
}

.sf-link:hover span {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   NAVIGATION REFINEMENTS (homepage only)
   -------------------------------------------------------------------------- */

.home #site-header .nav-pill {
  height: 56px;
  gap: 10px;
  padding: 4px 6px 4px 20px;
  background: rgba(9, 9, 11, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 44px -18px rgba(0, 0, 0, 0.9);
}

.home #site-header .nav-pill .btn-copper {
  background: var(--copper);
  color: #FFFFFF;
  font-weight: 600;
}

.home #site-header .nav-pill .btn-copper:hover {
  background: var(--copper-bright);
  box-shadow: 0 0 24px rgba(192, 124, 76, 0.28);
}

.home .nav-link-item {
  font-size: 14px;
}

.home .badge-coming-soon,
.home .tag {
  border-color: var(--copper-line);
}

.home .nav-mega-cs-card {
  background: #121216;
}

.home .nav-mega-panel {
  border-color: rgba(255, 255, 255, 0.09);
}

/* Mobile overlay extras */
.mobile-overlay-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  cursor: pointer;
}

.mobile-overlay-menu .sf-btn {
  margin-top: 8px;
}

.mobile-overlay-kicker {
  position: absolute;
  top: 26px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   01 — HERO
   -------------------------------------------------------------------------- */

.sf-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(120px, 13vh, 152px);
  padding-bottom: clamp(40px, 5vh, 56px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.sf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sf-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
}

.sf-hero__bg::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 58vw;
  height: 58vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(192, 124, 76, 0.11) 0%, transparent 62%);
  filter: blur(10px);
}

.sf-hero__top {
  position: relative;
  z-index: 2;
}

.sf-hero__content-center {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(20px, 4vh, 48px);
}

.sf-hero__content-center .sf-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink-2);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}

.sf-hero__content-center .sf-hero__title {
  margin: 24px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-wrap: balance;
  text-align: center;
}

.sf-hero__content-center .sf-highlight-scarlet {
  color: var(--scarlet);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.sf-hero__content-center .sf-hero__support {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
  text-align: center;
}

.sf-hero__content-center .sf-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.sf-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(34px, 4.6vh, 52px);
}

.sf-hero__copy {
  position: relative;
  z-index: 2;
}

.sf-hero__title {
  margin: 26px 0 0;
  font-family: var(--font-sans);
  font-size: var(--sf-h1);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.042em;
  color: var(--paper);
  max-width: none;
  text-wrap: balance;
}

.sf-hero__title > span {
  display: block;
}

.sf-hero__title .sf-hero__dot {
  color: var(--copper);
}

.sf-hero__support {
  margin: 0;
  font-size: clamp(1.02rem, 1.1vw, 1.15rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 54ch;
}

.sf-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Abstract system map figure */
.sf-figure {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.sf-figure__outline {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(192, 124, 76, 0.22);
  border-radius: 18px;
  pointer-events: none;
}

.sf-blueprint {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 45%, rgba(192, 124, 76, 0.06));
  box-shadow: 0 44px 90px -48px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.sf-blueprint__head,
.sf-blueprint__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.sf-blueprint__head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-blueprint__foot {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-blueprint__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--copper-bright);
}

.sf-blueprint__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 8px var(--copper);
}

.sf-blueprint__body {
  position: relative;
  padding: clamp(26px, 3vw, 36px) clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 248px;
}

.sf-blueprint__body::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 30px;
  bottom: 30px;
  border-left: 1px dashed rgba(192, 124, 76, 0.26);
}

.sf-blueprint__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 72%);
  opacity: 0.7;
}

.sf-layer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.92);
  transition: border-color 300ms var(--sf-ease), transform 300ms var(--sf-ease);
}

.sf-layer:hover {
  border-color: var(--copper-line);
  transform: translateX(3px);
}

.sf-layer:nth-child(3) {
  margin-left: 16px;
}

.sf-layer:nth-child(4) {
  margin-left: 32px;
}

.sf-layer:nth-child(4) .sf-layer__name {
  color: var(--muted);
}

.sf-layer__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--copper);
  flex-shrink: 0;
}

.sf-layer__name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.sf-layer__meta {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--faint);
}

.sf-layer__state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.sf-layer--soon .sf-layer__state {
  color: var(--copper-bright);
  border-color: var(--copper-line);
  background: rgba(192, 124, 76, 0.08);
}

/* Hero rail */
.sf-hero__rail {
  position: relative;
  z-index: 3;
  margin-top: clamp(32px, 4.5vh, 52px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.sf-hero__rail-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sf-hero__rail-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.sf-hero__rail-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
  padding: 0;
}

.sf-hero__rail-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}

.sf-hero__rail-list span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--copper);
  letter-spacing: 0.06em;
}

.sf-hero__scroll {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 200ms var(--sf-ease);
}

.sf-hero__scroll span {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transition: border-color 200ms var(--sf-ease);
}

.sf-hero__scroll:hover {
  color: var(--paper);
}

.sf-hero__scroll:hover span {
  border-color: var(--copper-line);
}

/* --------------------------------------------------------------------------
   02 — SERVICES
   -------------------------------------------------------------------------- */

.sf-services {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.sf-svc {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #111115 0%, #0C0C0F 100%);
  transition: border-color 300ms var(--sf-ease), transform 300ms var(--sf-ease),
    box-shadow 300ms var(--sf-ease);
  overflow: hidden;
}

.sf-svc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 85% 0%, rgba(192, 124, 76, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 400ms var(--sf-ease);
  pointer-events: none;
}

.sf-svc:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.9);
}

.sf-svc:hover::before {
  opacity: 1;
}

.sf-svc:nth-child(2) {
  grid-column: span 5;
}

.sf-svc__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.sf-svc__meta .sf-svc__num {
  color: var(--copper);
}

.sf-svc__title {
  margin: 22px 0 0;
  font-size: var(--sf-h3);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.sf-svc__desc {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--muted);
  max-width: 42ch;
}

/* Visual compositions */
.sf-mock {
  position: relative;
  flex: 1 1 auto;
  height: auto;
  min-height: 216px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: #09090C;
  overflow: hidden;
}

/* Browser composition */
.sf-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
}

.sf-mock__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #33333B;
}

.sf-mock__url {
  margin-left: 8px;
  flex: 1;
  height: 16px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 8px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  color: var(--faint);
  letter-spacing: 0.06em;
}

.sf-mock__canvas {
  padding: 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  height: calc(100% - 37px);
}

.sf-mock__col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}

.sf-mock__kicker {
  width: 46px;
  height: 5px;
  border-radius: 2px;
  background: rgba(192, 124, 76, 0.55);
}

.sf-mock__h {
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
  width: 92%;
}

.sf-mock__h--short {
  width: 64%;
  background: rgba(255, 255, 255, 0.28);
}

.sf-mock__p {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  width: 88%;
}

.sf-mock__p--short {
  width: 58%;
}

.sf-mock__cta {
  margin-top: 5px;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: var(--copper);
  opacity: 0.85;
}

.sf-mock__img {
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(192, 124, 76, 0.22), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 9px),
    #131317;
  border: 1px solid rgba(255, 255, 255, 0.07);
  min-height: 96px;
}

/* Application composition */
.sf-app {
  display: grid;
  grid-template-columns: 58px 1fr;
  height: 100%;
  min-height: 0;
}

.sf-app__side {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: rgba(255, 255, 255, 0.014);
}

.sf-app__side span {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.sf-app__side span:first-child {
  background: rgba(192, 124, 76, 0.65);
  width: 72%;
}

.sf-app__main {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sf-app__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}

.sf-app__top b {
  color: var(--copper-bright);
  font-weight: 500;
}

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

.sf-app__tile {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.018);
}

.sf-app__tile b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--paper);
}

.sf-app__tile i {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}

.sf-app__chart {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 48px;
}

.sf-app__chart span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.11);
}

.sf-app__chart span:nth-child(1) { height: 38%; }
.sf-app__chart span:nth-child(2) { height: 58%; }
.sf-app__chart span:nth-child(3) { height: 46%; }
.sf-app__chart span:nth-child(4) { height: 84%; background: rgba(192, 124, 76, 0.7); }
.sf-app__chart span:nth-child(5) { height: 66%; }
.sf-app__chart span:nth-child(6) { height: 96%; }

/* Capabilities list */
.sf-caps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.sf-caps li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: #C7C7CE;
  letter-spacing: -0.005em;
}

.sf-caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--copper);
  opacity: 0.75;
}

.sf-svc__cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.sf-svc .sf-caps {
  margin-bottom: 26px;
}

/* Coming soon card */
.sf-svc--soon {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background:
    linear-gradient(100deg, rgba(192, 124, 76, 0.07) 0%, rgba(192, 124, 76, 0.015) 42%, rgba(255, 255, 255, 0.01) 100%),
    #0C0C0F;
  border-color: rgba(192, 124, 76, 0.24);
}

.sf-svc--soon::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--copper), transparent);
  opacity: 0.55;
}

.sf-svc--soon:hover {
  transform: none;
  border-color: rgba(192, 124, 76, 0.36);
  box-shadow: none;
}

.sf-badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--copper-line);
  background: rgba(192, 124, 76, 0.1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-bright);
  white-space: nowrap;
}

.sf-badge-soon i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  animation: sf-pulse 2.6s ease-in-out infinite;
}

@keyframes sf-pulse {
  0%, 100% { opacity: 0.35; box-shadow: 0 0 0 rgba(192, 124, 76, 0); }
  50% { opacity: 1; box-shadow: 0 0 10px rgba(192, 124, 76, 0.6); }
}

.sf-svc--soon .sf-svc__title {
  margin-top: 20px;
}

.sf-svc--soon .sf-svc__desc {
  max-width: 46ch;
}

.sf-svc__soon-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--faint);
}

.sf-svc__soon-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--copper-line);
}

/* Workflow composition */
.sf-flow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    #09090C;
}

.sf-flow__node {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(17, 17, 21, 0.95);
  text-align: center;
  min-width: 72px;
}

.sf-flow__node b {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #F4F4F5;
  text-transform: uppercase;
}

.sf-flow__node i {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.01em;
  color: #A1A1AA;
}

.sf-flow__node--active {
  border-color: var(--copper-line);
  background: rgba(192, 124, 76, 0.09);
}

.sf-flow__node--active b {
  color: var(--copper-bright);
}

.sf-flow__wire {
  flex: 1 1 auto;
  height: 1px;
  min-width: 16px;
  background: repeating-linear-gradient(90deg, rgba(192, 124, 76, 0.7) 0 4px, transparent 4px 9px);
}

.sf-svc--soon .sf-svc__cta {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   03 — SELECTED WORK
   -------------------------------------------------------------------------- */

.sf-shot {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #101014;
}

.sf-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 6, 8, 0.55));
  opacity: 0.9;
  transition: opacity 400ms var(--sf-ease);
  pointer-events: none;
}

.sf-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--sf-ease), filter 400ms var(--sf-ease);
}

.sf-shot:hover img {
  transform: scale(1.035);
}

.sf-shot__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E6E6EA;
}

.sf-shot__label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

/* Featured project */
.sf-work-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(38px, 4.6vw, 60px);
  border-bottom: 1px solid var(--line);
}

.sf-work-feature .sf-shot {
  aspect-ratio: 16 / 10.5;
}

.sf-work__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

.sf-work__meta .sf-work__sep {
  color: rgba(255, 255, 255, 0.18);
}

.sf-work__meta .sf-work__type {
  color: var(--copper-bright);
}

.sf-work__title {
  margin: 18px 0 0;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--paper);
}

.sf-work__desc {
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 46ch;
}

.sf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}

.sf-tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #B9B9C2;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 5px;
  padding: 5px 9px;
}

.sf-work__cta {
  margin-top: 28px;
}

/* Grid of two */
.sf-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  margin-top: clamp(36px, 4vw, 54px);
}

.sf-project .sf-shot {
  aspect-ratio: 4 / 3;
}

.sf-project .sf-work__title {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  margin-top: 20px;
}

.sf-project .sf-work__desc {
  font-size: 0.97rem;
}

.sf-project__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

/* Concept project */
.sf-work-concept {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.4vw, 48px);
  align-items: center;
  margin-top: clamp(38px, 4.4vw, 60px);
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.012);
}

.sf-work-concept .sf-shot {
  aspect-ratio: 16 / 10;
  border-color: rgba(255, 255, 255, 0.08);
}

.sf-work-concept .sf-shot img {
  filter: grayscale(0.55) contrast(0.95) brightness(0.8);
}

.sf-work-concept .sf-shot:hover img {
  filter: grayscale(0.2) contrast(1) brightness(0.95);
}

.sf-work-concept .sf-work__title {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  margin-top: 16px;
}

.sf-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sf-work-foot {
  margin-top: clamp(36px, 4vw, 52px);
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   04 — PROCESS
   -------------------------------------------------------------------------- */

.sf-process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(44px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .sf-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 560px) {
  .sf-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sf-step {
  position: relative;
  padding-top: 28px;
}

.sf-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--copper);
}

.sf-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--copper);
  text-transform: uppercase;
}

.sf-step__title {
  margin: 16px 0 0;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.sf-step__desc {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 26ch;
}

/* --------------------------------------------------------------------------
   05 — FINAL CTA
   -------------------------------------------------------------------------- */

.sf-cta {
  padding-block: clamp(48px, 5vw, 72px);
  position: relative;
  z-index: 2;
}

.sf-cta__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(192, 124, 76, 0.26);
  border-radius: 26px;
  padding: clamp(44px, 5.5vw, 82px) clamp(24px, 5vw, 80px);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(192, 124, 76, 0.14), transparent 62%),
    linear-gradient(180deg, #0E0E12, #0A0A0D);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sf-cta__panel::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(192, 124, 76, 0.18);
  box-shadow: 0 0 0 40px rgba(192, 124, 76, 0.03), 0 0 0 80px rgba(192, 124, 76, 0.02);
  pointer-events: none;
}

.sf-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
}

.sf-cta__title {
  margin: 22px 0 0;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--paper);
  text-wrap: balance;
}

.sf-cta__support {
  margin: 20px auto 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--muted);
}

.sf-cta__actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sf-cta__note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   FOOTER REFINEMENTS
   -------------------------------------------------------------------------- */

.home .sf-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 6vw, 84px);
  padding-bottom: 40px;
}

.home .sf-footer .site-container {
  max-width: var(--sf-max);
  padding-inline: var(--sf-pad);
}

.home .sf-footer .footer-grid {
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 56px;
}

.home .footer-col-header {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.home .footer-link {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
  width: fit-content;
}

.home .footer-link:hover {
  color: var(--copper-bright);
}

.home .sf-footer .footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.home .sf-footer-brandline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
  margin: 16px 0 18px;
}

@media (max-width: 900px) {
  .home .sf-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .home .sf-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* --------------------------------------------------------------------------
   MODAL REFINEMENTS
   -------------------------------------------------------------------------- */

.home .modal-dialog {
  border-color: rgba(255, 255, 255, 0.1);
  background: #101014;
}

.home .modal-dialog .mono-label {
  color: var(--copper);
}

/* --------------------------------------------------------------------------
   MOTION (JS-gated so content is always visible without JS)
   -------------------------------------------------------------------------- */

html.js-ready .sf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--sf-ease), transform 700ms var(--sf-ease);
  transition-delay: var(--d, 0ms);
}

html.js-ready .sf-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js-ready .sf-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .sf-shot:hover img,
  .sf-svc:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .sf-hero {
    min-height: auto;
  }
  .sf-figure {
    max-width: 480px;
  }
  .sf-figure__outline {
    inset: 14px -14px -14px 14px;
  }
}

@media (max-width: 1023px) {
  .sf-hero {
    padding-top: clamp(120px, 16vh, 160px);
  }
  .sf-hero__body {
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 48px);
    align-items: start;
  }
  .sf-figure {
    max-width: 600px;
    justify-self: start;
  }
  .sf-services {
    grid-template-columns: 1fr;
  }
  .sf-svc,
  .sf-svc:nth-child(2),
  .sf-svc--soon {
    grid-column: span 1;
  }
  .sf-svc--soon {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }
  .sf-work-feature {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .sf-work-feature .sf-shot {
    aspect-ratio: 16 / 10;
  }
  .sf-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }
}

@media (max-width: 820px) {
  .sf-work-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .sf-work-concept {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sf-work-concept .sf-shot {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .sf-hero__rail-inner {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
  .sf-hero__rail-label {
    width: 100%;
  }
  .sf-hero__rail-list {
    gap: 16px;
    flex-wrap: wrap;
  }
  .sf-hero__scroll {
    display: none;
  }
  .sf-blueprint__body {
    min-height: 300px;
  }
  .sf-layer:nth-child(3) {
    margin-left: 8px;
  }
  .sf-layer:nth-child(4) {
    margin-left: 16px;
  }
  .sf-blueprint__body::before {
    left: 30px;
  }
  .sf-flow {
    padding: 18px 14px;
  }
  .sf-flow__node {
    min-width: 0;
    padding: 8px 7px;
  }
  .sf-step__desc {
    max-width: 34ch;
  }
}

@media (max-width: 560px) {
  .sf-hero {
    padding-bottom: 64px;
  }
  .home #site-header .nav-pill .btn-copper {
    display: none;
  }
  .sf-hero__title {
    font-size: clamp(1.85rem, 8.1vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.04;
  }
  .sf-hero__title > span {
    display: inline;
  }
  .sf-hero__actions {
    gap: 10px;
  }
  .sf-hero__actions .sf-btn {
    width: 100%;
  }
  .sf-process {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sf-step {
    padding: 22px 0 22px 20px;
    border-bottom: 1px solid var(--line-soft);
  }
  .sf-step::before {
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, var(--copper), transparent);
  }
  .sf-step__desc {
    max-width: none;
  }
  .sf-mock__canvas {
    padding: 12px;
    gap: 10px;
  }
  .sf-cta__panel {
    border-radius: 20px;
  }
  .sf-cta__actions .sf-btn {
    width: 100%;
  }
  .sf-layer__state {
    display: none;
  }
}


/* ==========================================================================
   HERO SPOTLIGHT & STATUS ENHANCEMENTS (COMBO A + C)
   ========================================================================== */
.sf-hero__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.sf-hero__status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2.2s infinite ease-in-out;
}
@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.sf-hero__spotlight {
  margin-top: clamp(34px, 4.5vh, 48px);
  width: 100%;
}
.sf-hero__spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-inline: 4px;
}
.sf-hero__spotlight-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.sf-hero__spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}
.sf-spotlight-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sf-spotlight-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(232, 40, 30, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
}
.sf-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sf-spotlight-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--copper);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sf-spotlight-arrow {
  font-size: 13px;
  color: var(--faint);
  transition: transform 200ms ease, color 200ms ease;
}
.sf-spotlight-card:hover .sf-spotlight-arrow {
  color: var(--paper);
  transform: translate(3px, -3px);
}
.sf-spotlight-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}
.sf-spotlight-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 12px;
}
.sf-spotlight-price {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sf-spotlight-price span {
  font-size: 10px;
  font-weight: 400;
  color: var(--faint);
}
@media (max-width: 860px) {
  .sf-hero__spotlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
