/* ==========================================================================
   MASync Agency — Design System
   Palette: near-black foundation, off-white breathing space, orange sync accent.
   Type: Archivo (display, structural) + Manrope (body, human).
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --charcoal: #1d1d1c;
  --line: #2a2a28;
  --white: #f4f3ee;
  --white-dim: #cfcdc4;
  --gray: #8f8d86;
  --light-gray: #6d6b65;
  --orange: #f5820a;
  --orange-light: #ffb347;
  --orange-dark: #c94f0c;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(1.5rem, 4vw, 4rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}
body.is-loaded { opacity: 1; }

img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent { color: var(--orange); }
.accent-alt { background: linear-gradient(120deg, var(--orange-dark), var(--orange-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--gray); }

/* ---------- Type scale ---------- */
.display-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.body-lg { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; max-width: 42ch; }
.body-md { font-size: 1.05rem; line-height: 1.7; max-width: 60ch; }

section { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease-soft), color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 1; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-light); }
.btn-ghost { border: 1px solid var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-nav { padding: 0.7rem 1.4rem; font-size: 0.85rem; background: var(--white); color: var(--black); }
.btn-nav:hover { background: var(--orange); color: var(--black); }
.btn-large { padding: 1.2rem 2.6rem; font-size: 1.05rem; margin: 2rem 0 3.5rem; }

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 999;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange-light));
  transition: width 0.1s linear;
}

/* ==========================================================================
   Custom cursor
   ========================================================================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  transition: opacity 0.2s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(245, 130, 10, 0.55);
  display: flex; align-items: center; justify-content: center;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), opacity 0.2s;
}
.cursor-ring span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor-ring.is-active {
  width: 68px; height: 68px;
  background: rgba(245, 130, 10, 0.12);
  border-color: var(--orange);
}
.cursor-ring.is-active span { opacity: 1; }
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.4rem 0;
  transition: padding 0.4s var(--ease-soft), background 0.4s var(--ease-soft), backdrop-filter 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding: 0.85rem 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.nav-logo-mark { width: 34px; height: auto; }
.nav-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--white); }
.nav-logo-text1 { font-family: var(--font-display); font-weight: 100; font-size: 0.5rem; letter-spacing: 0.5em; color: var(--white); justify-self: flex-end;}

.nav-logo-text .accent { color: var(--white); }

.nav-logo-text .accent-alt { color: var(--orange); background: none; -webkit-text-fill-color: initial; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white-dim);
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link.is-active::after, .nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  z-index: 600;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--white); transition: transform 0.35s var(--ease), opacity 0.25s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--gutter) 3rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-link {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  font-weight: 700;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--charcoal);
  color: var(--white);
}
.mobile-link span { font-size: 0.9rem; font-weight: 500; color: var(--orange); font-family: var(--font-body); }
.mobile-cta { align-self: flex-start; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.9;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.hero-logo {
  position: absolute;
  right: 13%;
  z-index: -1;
  max-width: var(--container) ;
  margin-right: auto;
  padding: 0 var(--gutter);
  width: 30%;
}
.hero-kicker {
  font-size: 0.9rem;
  color: var(--white-dim);
  margin-bottom: 1.4rem;
  max-width: 26ch;
}
.hero-headline { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.hero-headline .line {
  display: block;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.96;
}
.hero-sub { margin-top: 1.6rem; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--orange-light); font-weight: 500; }
.hero-desc { margin-top: 1.1rem; max-width: 46ch; color: var(--white-dim); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.scroll-indicator {
  position: absolute;
  left: var(--gutter);
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.scroll-indicator-line { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.scroll-indicator-line::after {
  content: "";
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--orange);
  animation: scrollLine 2.2s var(--ease-soft) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
.scroll-indicator-text { font-size: 0.75rem; letter-spacing: 0.06em; color: var(--gray); }

/* ==========================================================================
   Brand Introduction
   ========================================================================== */
.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.brand-intro-text p + p { margin-top: 1.3rem; }
.brand-intro-text h2 { margin-bottom: 1.6rem; }

.sync-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 ;
}
.sync-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sync-line {
  stroke: var(--charcoal);
  stroke-width: 1;
  transition: stroke 0.4s;
}
.sync-diagram.is-active .sync-line { stroke: var(--orange-dark); }

.sync-node {
  position: absolute;
  width: 42%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--charcoal);
  background: var(--black-soft);
  transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s;
}
.sync-node[data-node="strategy"] { top: 0; left: 0; }
.sync-node[data-node="creative"] { top: 0; right: 0; }
.sync-node[data-node="media"] { bottom: 0; left: 0; }
.sync-node[data-node="execution"] { bottom: 0; right: 0; }
.sync-node:hover, .sync-node:focus-visible {
  border-color: var(--orange);
  background: rgba(245, 130, 10, 0.06);
  transform: translateY(-3px);
}
.sync-node-index { font-family: var(--font-display); font-size: 0.75rem; color: var(--orange); font-weight: 700; }
.sync-node-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.sync-node-desc { font-size: 0.82rem; color: var(--gray); }

.sync-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--orange-light);
  background: var(--black);
}

/* ==========================================================================
   Who We Are
   ========================================================================== */
.who-we-are { background: var(--black-soft); }
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.who-text p + p { margin-top: 1.2rem; }
.who-text h2 { margin-bottom: 1.5rem; }

.model-ring {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.model-item {
  --angle: calc(var(--i) * 72deg);
  position: absolute;
  top: 50%; left: 50%;
  width: 118px;
  padding: 0.7rem 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--charcoal);
  background: var(--black);
  transform: rotate(var(--angle)) translate(0, -160px) rotate(calc(var(--angle) * -1));
  margin-left: -59px;
  margin-top: -21px;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease), background 0.5s;
  opacity: 0.85;
}
.who-visual.is-active .model-item {
  border-color: var(--orange);
  background: rgba(245, 130, 10, 0.06);
  opacity: 1;
}
.model-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ==========================================================================
   Mission & Vision
   ========================================================================== */
.mission-vision { padding: clamp(6rem, 12vw, 11rem) 0; }
.mv-track {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mv-block { max-width: 900px; }
.mv-mission { margin-left: 0; text-align: left; }
.mv-vision { margin-left: auto; text-align: right; }
.mv-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--orange);
  margin-bottom: 1rem;
}
.mv-statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.25; }
.mv-connector { display: flex; justify-content: center; padding: 2.6rem 0; }
.mv-connector span {
  width: 1px; height: 90px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.mv-connector span::after {
  content: "";
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--orange);
}
.mv-connector.is-active span::after { top: 0; transition: top 1.1s var(--ease); }

/* ==========================================================================
   Core Values
   ========================================================================== */
.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); max-width: 640px; }
.section-head h2 { margin-bottom: 0.9rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--charcoal);
  border-left: 1px solid var(--charcoal);
}
.value-card {
  position: relative;
  text-align: left;
  padding: 2.4rem 2.2rem;
  border-right: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  transition: background 0.4s var(--ease-soft);
}
.value-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.value-card:hover::before, .value-card:focus-visible::before { transform: scaleY(1); }
.value-card:hover, .value-card:focus-visible { background: var(--black-soft); }
.value-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--charcoal);
  transition: color 0.4s var(--ease-soft);
}
.value-card:hover .value-index, .value-card:focus-visible .value-index { color: var(--orange); }
.value-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.value-desc {
  font-size: 0.95rem;
  color: var(--gray);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.4s var(--ease);
}
.value-card:hover .value-desc, .value-card:focus-visible .value-desc, .value-card.is-open .value-desc {
  max-height: 6rem;
  opacity: 1;
}

/* ==========================================================================
   Brand Personality
   ========================================================================== */
.personality { background: var(--black-soft); cursor: default; }
.personality h2 { margin-bottom: 1rem; }
.personality-list { display: flex; flex-direction: column; }
.personality-item { border-top: 1px solid var(--charcoal); }
.personality-item:last-child { border-bottom: 1px solid var(--charcoal); }
.personality-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  letter-spacing: -0.02em;
  padding: 0.35em 0;
  color: var(--charcoal);
  -webkit-text-stroke: 1px var(--line);
  transition: color 0.4s var(--ease-soft), -webkit-text-stroke 0.4s;
  cursor: default;
}
.personality-item:hover .personality-word, .personality-item.is-touched .personality-word {
  color: var(--white);
  -webkit-text-stroke: 1px transparent;
}
.personality-hint { margin-top: 1.6rem; font-size: 0.85rem; }
.personality-follow {
  position: fixed;
  top: 0; left: 0;
  width: 180px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-light);
  background: rgba(19, 19, 19, 0.9);
  border: 1px solid var(--orange-dark);
  transform: translate(-50%, -140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 50;
}
.personality-follow.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) { .personality-follow { display: none; } }

/* ==========================================================================
   Services
   ========================================================================== */
.service-list { border-top: 1px solid var(--charcoal); }
.service-row { border-bottom: 1px solid var(--charcoal); overflow: hidden; }
.service-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0;
  text-align: left;
}
.service-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--charcoal);
  min-width: 3ch;
  transition: color 0.4s;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  flex: 1;
  transition: color 0.4s, transform 0.4s var(--ease);
}
.service-marker {
  position: relative;
  width: 26px; height: 26px;
  flex-shrink: 0;
}
.service-marker::before, .service-marker::after {
  content: "";
  position: absolute;
  background: var(--white-dim);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.service-marker::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.service-marker::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.service-row.is-open .service-marker::after { transform: translateX(-50%) scaleY(0); }

.service-row:hover .service-number, .service-row.is-open .service-number { color: var(--orange); }
.service-row:hover .service-title, .service-row.is-open .service-title { color: var(--orange-light); transform: translateX(10px); }
.service-row:hover .service-marker::before, .service-row.is-open .service-marker::before,
.service-row:hover .service-marker::after { background: var(--orange); }

.service-body {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), padding 0.4s;
}
.service-row.is-open .service-body { max-height: 8rem; opacity: 1; padding-bottom: 1.8rem; }
.service-body p { max-width: 60ch; color: var(--gray); font-size: 1rem; padding-left: calc(3ch + clamp(1.2rem, 4vw, 3rem)); }
@media (max-width: 640px) { .service-body p { padding-left: 0; } }

/* ==========================================================================
   Method / Timeline
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.timeline-track {
  position: absolute;
  top: 11px; left: 0; right: 0;
  height: 2px;
  background: var(--charcoal);
}
.timeline-progress {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange-light));
  transition: width 0.3s linear;
}
.timeline-step { position: relative; padding-top: 2.6rem; }
.timeline-step::before {
  content: "";
  position: absolute;
  top: 3px; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--charcoal);
  transition: border-color 0.4s, background 0.4s;
}
.timeline-step.is-active::before { border-color: var(--orange); background: var(--orange); }
.timeline-index { display: block; font-family: var(--font-display); font-size: 0.8rem; color: var(--orange); font-weight: 700; margin-bottom: 0.5rem; }
.timeline-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.5rem; }
.timeline-desc { display: block; color: var(--gray); font-size: 0.9rem; }

@media (max-width: 900px) {
  .timeline { display: flex; flex-direction: column; gap: 0; }
  .timeline-track { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
  .timeline-progress { width: 100%; height: 0%; }
  .timeline-step { padding: 1.4rem 0 1.4rem 2.6rem; }
  .timeline-step::before { top: 1.6rem; left: 0; }
}

/* ==========================================================================
   Why MASync
   ========================================================================== */
.why { background: var(--black-soft); }
.why-head { max-width: 700px; margin-bottom: 3rem; }
.why-head h2 { margin-bottom: 1rem; }
.why-row {
  display: grid;
  grid-template-columns: 4rem 1fr 2fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.8rem 0;
  border-top: 1px solid var(--charcoal);
  transition: padding-left 0.4s var(--ease);
}
.why-row:last-child { border-bottom: 1px solid var(--charcoal); }
.why-row:hover { padding-left: 1rem; }
.why-index { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: 1.1rem; }
.why-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.why-desc { color: var(--gray); }
@media (max-width: 720px) {
  .why-row { grid-template-columns: 3rem 1fr; }
  .why-desc { grid-column: 2; }
}

/* ==========================================================================
   Competitive Advantage
   ========================================================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.advantage-text h2 { margin-bottom: 1.4rem; }
.advantage-loop { position: relative; max-width: 380px; margin: 0 auto; aspect-ratio: 1/1; }
.advantage-loop svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loop-track { fill: none; stroke: var(--charcoal); stroke-width: 1.5; }
.loop-progress {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 880;
  stroke-dashoffset: 880;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.loop-label {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white-dim);
  transition: color 0.4s;
}
.loop-label-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.loop-label-2 { top: 50%; right: 2%; transform: translateY(-50%); }
.loop-label-3 { bottom: 4%; left: 50%; transform: translateX(-50%); }
.loop-label-4 { top: 50%; left: 2%; transform: translateY(-50%); }
.advantage-loop.is-active .loop-label { color: var(--orange-light); }

/* ==========================================================================
   Brand Promise
   ========================================================================== */
.promise { display: flex; align-items: center; min-height: 70vh; text-align: center; }
.promise .section-inner { display: flex; flex-direction: column; align-items: center; }
.promise-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.2vw, 3.6rem);
  line-height: 1.2;
  max-width: 20ch;
}
.promise-tags { display: flex; gap: 2rem; margin-top: 2.8rem; flex-wrap: wrap; justify-content: center; }
.promise-tags span { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--orange); font-weight: 600; position: relative; padding-bottom: 0.3rem; }
.promise-tags span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--orange-dark); }

/* ==========================================================================
   Selected Work
   ========================================================================== */
.work-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2.6rem; }
.filter-pill {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.filter-pill:hover { color: var(--white); border-color: var(--white-dim); }
.filter-pill.is-active { background: var(--orange); border-color: var(--orange); color: var(--black); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px solid var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft), border-color 0.4s;
}
.work-card.is-filtered { opacity: 0.18; transform: scale(0.97); }
.work-card-frame {
  position: absolute;
  inset: 1.4rem;
  border: 1px dashed var(--charcoal);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;

  /* transition: opacity 5.3s ease,  */
}

.work-card-frame:hover{
  filter: opacity(0.5);

}
/* .work-card-frame::before, .work-card-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 49.5%, var(--charcoal) 50%, transparent 50.5%);
}
.work-card-frame::after { background: linear-gradient(45deg, transparent 49.5%, var(--charcoal) 50%, transparent 50.5%); } */
.work-card:hover { border-color: var(--orange-dark); }
.work-card:hover .work-card-frame { border-color: var(--orange-dark); }
.work-card-number { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; display: block; }
.work-card-status { font-size: 0.85rem; color: var(--orange); margin: 0.3rem 0 0.7rem; position: relative; z-index: 1; }
.work-card-tag { font-size: 0.78rem; color: var(--orange);; position: relative; z-index: 1; }
.project-img {

}
.card-info {
  position: relative; 
  z-index: 1; 
  display: block;
  width: 100%;
  padding: 5px;
  background-color: rgba(10, 10, 10, 0.72);
}

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Growth
   ========================================================================== */
.growth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--charcoal);
  border-left: 1px solid var(--charcoal);
}
.growth-cell {
  padding: 2.6rem;
  border-right: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.growth-cell:nth-child(2) { margin-top: 2.4rem; }
.growth-cell:nth-child(3) { margin-top: -2.4rem; }
.growth-index { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: 1.4rem; }
.growth-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 24ch; }
@media (max-width: 720px) {
  .growth-grid { grid-template-columns: 1fr; }
  .growth-cell:nth-child(2), .growth-cell:nth-child(3) { margin: 0; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { text-align: left; background: var(--black-soft); }
.contact h2 { margin-bottom: 1.2rem; }
.contact .body-lg { margin-bottom: 0; }
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-top: 1px solid var(--charcoal);
  padding-top: 2.2rem;
  margin-top: 1rem;
}
.contact-item { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-label { font-size: 0.78rem; color: var(--orange); font-weight: 600; }
.contact-value { font-size: 1rem; }
.contact-value em { display: block; font-style: normal; color: var(--light-gray); font-size: 0.78rem; margin-top: 0.2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 4rem 0 0; border-top: 1px solid var(--charcoal); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}
.footer-logo-mark { width: 46px; margin-bottom: 1rem; vertical-align: middle; display: inline-block;}
.footer-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--white); }
.footer-logo-text .accent { color: var(--white); }
.footer-logo-text .accent-alt { color: var(--orange); background: none; -webkit-text-fill-color: initial; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.footer-statement { color: var(--gray); font-size: 0.9rem; margin-top: 0.3rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; align-content: flex-start; }
.footer-nav a { font-size: 0.92rem; color: var(--white-dim); transition: color 0.3s; }
.footer-nav a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--charcoal);
  padding: 1.4rem var(--gutter);
  font-size: 0.8rem;
  color: var(--light-gray);
}

/* ==========================================================================
   Magnetic buttons (JS hooks handled in script.js, base styles here)
   ========================================================================== */
.magnetic { will-change: transform; }

/* ==========================================================================
   Responsive: nav collapse
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  .brand-intro-grid, .who-grid, .advantage-grid { grid-template-columns: 1fr; }
  .mv-vision { text-align: left; margin-left: 0; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-large { width: 100%; }
}
