/* =========================================================
   Lulu Portfolio — luluportfolio0710
   Restored from Pencil frame "1920w default"
   Type: Instrument Serif (display), Instrument Sans (body)
   Bg:   #ffffff / #eeeeee light gray, #0f0f0f ink
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #0f0f0f;
  background: #eeeeee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --ink: #0f0f0f;
  --ink-2: #888888;
  --ink-3: #555555;
  --bg: #ffffff;
  --bg-gray: #eeeeee;
  --bg-dark: #0f0f0f;
  --line: #e0e0e0;
  --line-strong: #c8c8c8;
  --shadow-btn: 0 10px 24px -10px rgba(0,0,0,0.25),
                 0 4px 10px -4px rgba(0,0,0,0.15);
}

.serif { font-family: "Instrument Serif", "Times New Roman", ui-serif, Georgia, serif; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow { max-width: 800px; }

/* ---------- Section base ---------- */
.section {
  padding: 80px 0;
  background: var(--bg);
  border-radius: 24px;
  margin: 16px 16px;
  position: relative;
}

.section--gray { background: var(--bg-gray); }
.section--dark { background: var(--bg-dark); color: #fff; }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__title {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.section__lede {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.section--dark .section__lede { color: #b3b3b3; }
.section--dark .section__title { color: #fff; }

.section__cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px 16px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -12px rgba(0,0,0,0.10);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 20px;
}

.navbar__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5b3a 0%, #ff9a5a 100%);
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}

.navbar__logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.navbar__links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.navbar__cta { display: flex; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font: 500 15px/1.2 "Instrument Sans", sans-serif;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn--primary {
  background: #1a1a1a;
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 16px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.pill--primary {
  background: #1a1a1a;
  color: #fff;
}
.pill--primary:hover {
  background: #000;
  transform: translateY(-1px);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  margin-top: auto;
  padding-top: 14px;
}

.tags .pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #f1f1ef;
  color: #3a3a3a;
  border: 1px solid #e7e7e3;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg);
  border-radius: 24px;
  margin: 16px 16px;
  padding: 80px 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #555;
}

.availability__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4bbf71;
}

.availability__label { font-weight: 400; }

.hero__title {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: #0f0f0f;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
}

.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: heroIn 0.5s ease forwards;
}
.hero__word:nth-child(1) { animation-delay: 0.05s; }
.hero__word:nth-child(2) { animation-delay: 0.10s; }
.hero__word:nth-child(3) { animation-delay: 0.15s; }
.hero__word:nth-child(4) { animation-delay: 0.20s; }
.hero__word:nth-child(5) { animation-delay: 0.25s; }
.hero__word:nth-child(6) { animation-delay: 0.30s; }
.hero__word:nth-child(7) { animation-delay: 0.35s; }
.hero__word:nth-child(8) { animation-delay: 0.40s; }
.hero__word:nth-child(9) { animation-delay: 0.45s; }

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: #888;
  margin: 0;
  max-width: 540px;
}

.hero__cta { margin-top: 6px; }

/* ============================================================
   MARQUEE (works)
   ============================================================ */
.marquee {
  margin: 64px -80px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 19px;
  width: max-content;
  padding: 4px 0;
  animation: marquee 40s linear infinite;
}

.work-card {
  flex: 0 0 350px;
  height: 280px;
  border-radius: 32px;
  overflow: hidden;
  background: #ddd;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card.work-card--nicaifu {
  flex-basis: 460px;
  height: auto;
  aspect-ratio: 1080 / 608;
  align-self: flex-start;
  background: #e04c32;
}

.work-card--nicaifu img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.work-card--link {
  position: relative;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card--link:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 36px -16px rgba(0,0,0,0.35);
}

.work-card--link:focus-visible {
  outline: 3px solid #ff6b4a;
  outline-offset: 4px;
}

.work-card__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: #0f0f0f;
  letter-spacing: 0.01em;
  pointer-events: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.18);
}

.service-card__media {
  background: #f4f3ef;
  border-radius: 16px;
  height: 280px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.service-card__media--image {
  height: auto;
  aspect-ratio: 1000 / 650;
  background: #232323;
}

.service-card__media--poster {
  aspect-ratio: 1000 / 650;
  background: #232323;
  cursor: default;
}

.poster-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.poster-stack__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.poster-stack__img[hidden] {
  display: none !important;
}

.poster-stack__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.88);
  color: #0f0f0f;
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.poster-stack__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.poster-stack__nav[hidden] {
  display: none !important;
}

.poster-stack__nav--prev { left: 12px; }
.poster-stack__nav--next { right: 12px; }

.service-card__media--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-card__media--image {
  cursor: zoom-in;
  position: relative;
}

.service-card__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: #0f0f0f;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  font-weight: 600;
  pointer-events: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.service-card__media--image:hover .service-card__zoom {
  background: #fff;
  transform: scale(1.08);
}

.lightbox {
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.86);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  inset: 0;
}

.lightbox::backdrop {
  background: rgba(0,0,0,0.86);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 28px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.32);
  transform: translateY(-50%) scale(1.06);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: rgba(0,0,0,0.4);
  padding: 6px 14px;
  border-radius: 999px;
}

.phone {
  position: absolute;
  width: 130px;
  height: 250px;
  background: #fff;
  border-radius: 22px;
  border: 4px solid #0f0f0f;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.phone--a { left: 18px; top: 14px; transform: rotate(-6deg); }
.phone--b { right: 18px; bottom: 14px; transform: rotate(6deg); }

.phone__notch {
  width: 36px;
  height: 4px;
  background: #0f0f0f;
  border-radius: 4px;
  margin: 0 auto 6px;
}

.phone__bar { height: 8px; border-radius: 4px; background: #ececec; }
.phone__bar--1 { width: 60%; background: #1a1a1a; }
.phone__bar--2 { width: 80%; }

.phone__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5b3a, #ffd166);
  margin: 6px auto;
}

.phone__line {
  height: 6px;
  background: #e8e8e8;
  border-radius: 4px;
}
.phone__line--1 { width: 90%; }
.phone__line--2 { width: 70%; }
.phone__line--3 { width: 50%; }

.phone__cta {
  margin-top: auto;
  height: 22px;
  background: #1a1a1a;
  border-radius: 8px;
}

.phone__hero {
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd166, #ff5b3a);
  margin: 4px 0 6px;
}

.phone__row { height: 10px; background: #ececec; border-radius: 4px; margin-top: 4px; }
.phone__row--short { width: 50%; }
.phone__row--long  { width: 90%; }

/* Dev card */
.phone__code { height: 10px; border-radius: 3px; }
.phone__code--1 { width: 80%; background: #ff5b3a; }
.phone__code--2 { width: 60%; background: #5b8def; }
.phone__code--3 { width: 70%; background: #21c174; }
.phone__code--4 { width: 40%; background: #555; }

.phone__chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8px 4px;
}
.phone__bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  height: 100%;
}
.phone__bar-chart span {
  flex: 1;
  background: linear-gradient(180deg, #5b8def, #1a3a8a);
  border-radius: 3px 3px 0 0;
}

/* Brand card */
.brand-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.brand-mark__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #1a1a1a;
}
.brand-mark__label {
  font: 500 9px/1 "Instrument Sans", sans-serif;
  letter-spacing: 0.18em;
  color: #1a1a1a;
}
.phone__palette {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  justify-content: center;
}
.phone__palette span {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: block;
}

.brand-mono {
  font: 400 56px/1 "Instrument Serif", serif;
  text-align: center;
  color: #1a1a1a;
  margin-top: 14px;
}
.brand-row {
  height: 6px;
  background: #e8e8e8;
  border-radius: 3px;
  margin: 8px 0 0;
}
.brand-row--2 { width: 60%; margin: 6px auto 0; }

/* Launch card */
.rocket {
  width: 50px; height: 50px;
  background: #ffd166;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 10px auto 6px;
}
.phone--launch .phone__circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff7e0;
  display: grid;
  place-items: center;
  margin: 8px auto;
  border: 2px solid #ffd166;
}

.service-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-card__desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.services-tip {
  text-align: center;
  margin: 40px 0 0;
  color: #888;
  font-size: 14px;
}

/* ============================================================
   MOTION DESIGN
   ============================================================ */
.motion__head {
  position: relative;
  margin-bottom: 32px;
}

.motion__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #1a1a1a;
}

.motion__eyebrow-ic {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
}

.motion__title {
  margin: 18px 0 12px;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.motion__desc {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.6;
}

.motion__pause {
  position: absolute;
  top: 8px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 160ms ease;
}
.motion__pause:hover { background: #f1f1f1; }
.motion__pause-ic { display: inline-grid; place-items: center; color: #1a1a1a; }

.motion {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  align-items: start;
}

.motion__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.motion__chips {
  display: flex;
  align-items: center;
}

.motion__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.motion__chip-ic { display: inline-grid; place-items: center; }

.motion__stage {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.motion__tabs {
  display: flex;
  gap: 8px;
}

.motion__tab {
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  background: #ececec;
  color: #1a1a1a;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.motion__tab:hover { background: #d8d8d8; }
.motion__tab--active { background: #1a1a1a; color: #fff; }

.motion__canvas {
  box-sizing: border-box;
  border-radius: 18px;
  background: transparent;
  border: none;
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.motion__placeholder {
  width: 100%;
  height: 380px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,0.04), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.03), transparent 60%),
    #ececec;
  border: 1px dashed #d8d8d8;
}

.motion__video {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  background: #000;
}
.motion__video--active { display: block; }

.motion__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 4px;
}

.motion__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d0d0d0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 160ms ease, width 160ms ease;
}
.motion__dot--active {
  background: #1a1a1a;
  width: 22px;
}

.motion__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 56px;
}

.motion__card {
  background: #fafafa;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.motion__card-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  color: #1a1a1a;
}

.motion__card-title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.motion__card-desc {
  margin: 0;
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.5;
}

.motion__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.motion__stack-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #5a5a5a;
}

.tags--right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 880px) {
  .motion { grid-template-columns: 1fr; }
  .motion__pause {
    position: static;
    margin-top: 14px;
  }
}

.ic {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  position: relative;
}
.ic--check {
  background: #1a1a1a;
}
.ic--check::after {
  content: "";
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}
.ic--cross {
  background: #fff;
  border: 1.5px solid #c8c8c8;
  position: relative;
}
.ic--cross::before, .ic--cross::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 1.5px;
  background: #c8c8c8;
}
.ic--cross::before { transform: translate(-50%, -50%) rotate(45deg); }
.ic--cross::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-tile {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #ddd;
  transition: transform 0.2s ease;
  border: 1px solid var(--line);
}

.project-tile:hover { transform: translateY(-3px); }

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

.steps__intro .section__title {
  text-align: left;
  font-size: 32px;
}
.steps__intro .section__lede { text-align: left; }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 24px;
}

.step__num {
  display: inline-block;
  font: 500 12px/1 "Instrument Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b3b3b3;
  margin-bottom: 18px;
}

.step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.step__desc {
  margin: 0;
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================================
   PRICING
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.18); }

.plan--dark { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.plan__head h3.plan__name {
  margin: 0 0 6px;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 26px;
}
.plan__sub {
  margin: 0;
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}
.plan--dark .plan__sub { color: #b3b3b3; }

.plan__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan__meta-label {
  font: 500 12px/1 "Instrument Sans", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}
.plan__meta-val {
  font: 600 16px/1 "Instrument Sans", sans-serif;
  color: #1a1a1a;
}
.plan--dark .plan__meta-val { color: #fff; }

.plan__divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.plan--dark .plan__divider { border-top-color: #2a2a2a; }

.plan__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__amount {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  color: #0f0f0f;
}
.plan--dark .plan__amount { color: #fff; }
.plan__unit {
  font-size: 15px;
  color: #888;
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: #1a1a1a;
}

.plan--dark .plan__list li { color: #fff; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.review__quote {
  margin: 0 0 22px;
  font: 400 17px/1.55 "Instrument Serif", serif;
  color: #1a1a1a;
}

.review__person {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ddd;
}
.review__avatar--a { background: linear-gradient(135deg, #ffd166, #ff5b3a); }
.review__avatar--b { background: linear-gradient(135deg, #5b8def, #1a3a8a); }
.review__avatar--c { background: linear-gradient(135deg, #21c174, #0a8a4a); }
.review__avatar--d { background: linear-gradient(135deg, #c4a3f0, #7a4eba); }

.review__name { font-weight: 600; font-size: 15px; }
.review__role { color: #888; font-size: 13px; }

.review__stars { color: #f5b400; font-size: 14px; letter-spacing: 1px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: #000; }

.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex: 0 0 18px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: #888;
  transition: transform 0.2s ease, background 0.15s ease;
}
.faq__icon::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item[open] .faq__icon::before { background: #0f0f0f; }

.faq__a {
  margin: 0;
  padding: 0 4px 22px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  max-width: 64ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: transparent;
  padding: 32px 0;
  margin: 0 16px 16px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  color: #555;
  font-size: 13.5px;
}

.footer__links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #1a1a1a;
}

.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { margin: 12px 12px; padding: 64px 0; border-radius: 20px; }
  .hero { padding: 56px 40px 0; margin: 12px 12px; }
  .marquee { margin: 48px -40px 0; }
  .work-card { flex-basis: 280px; height: 224px; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .navbar__links { display: none; }
  .section__head { margin-bottom: 36px; }
  .section__title { font-size: 32px; }
  .hero__title { font-size: 40px; gap: 0 8px; }
  .hero__sub { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .work-card { flex-basis: 220px; height: 176px; }
  .navbar { margin: 12px 12px 0; }
  .section { margin: 8px 8px; padding: 48px 0; border-radius: 16px; }
  .hero { padding: 40px 20px 0; margin: 8px 8px; }
  .marquee { margin: 40px -20px 0; }
  .container { padding: 0 20px; }
  .footer { margin: 0 8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__word { animation: none; opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 96px 24px;
  background: #fafafa;
}

.about__inner {
  max-width: 1152px;
  margin: 0 auto;
}

.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.about__eyebrow-ic {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f0f0;
  color: #1a1a1a;
}

.about__eyebrow-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: #888;
  font-weight: 600;
}

.about__title {
  margin: 0 0 24px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  line-height: 1.1;
}

.about__lede {
  margin: 0 0 60px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.75;
  color: #5a5a5a;
}

.about__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__col {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.about__group-title {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

.about__skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about__skill-name {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.about__skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__skill-list li {
  font-size: 14px;
  color: #6a6a6a;
  line-height: 1.4;
}

.about__timeline {
  display: flex;
  flex-direction: column;
}

.about__job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #ececec;
}

.about__job-num {
  font-family: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
  font-size: 12px;
  color: #888;
  width: 28px;
  flex-shrink: 0;
}

.about__job-info {
  flex: 1;
  min-width: 0;
}

.about__job-name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.about__job-role {
  margin: 0;
  font-size: 12px;
  color: #888;
}

.about__job-time {
  margin: 0;
  font-size: 12px;
  color: #888;
  font-family: "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
  white-space: nowrap;
  flex-shrink: 0;
}

.about__photo-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.about__photo {
  width: 75%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #f0f0f0;
  margin-top: 72px;
  filter: grayscale(100%);
  transition: filter 500ms ease;
}

.about__photo:hover {
  filter: grayscale(0%);
}

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

@media (max-width: 880px) {
  .about { padding: 64px 16px; }
  .about__layout { grid-template-columns: 1fr; gap: 40px; }
  .about__skills { grid-template-columns: 1fr 1fr; }
  .about__photo { width: 100%; margin-top: 0; }
  .about__lede { margin-bottom: 36px; }
  .about__col { gap: 36px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 96px 24px;
  background: #fafafa;
}

.contact__inner {
  max-width: 1152px;
  margin: 0 auto;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact__main {
  display: flex;
  flex-direction: column;
}

.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.contact__eyebrow-ic {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f0f0;
  color: #1a1a1a;
}

.contact__eyebrow-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: #888;
  font-weight: 600;
}

.contact__title {
  margin: 0 0 16px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  line-height: 1.15;
}

.contact__lede {
  margin: 0 0 28px;
  font-size: 15px;
  color: #6a6a6a;
  line-height: 1.6;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 22px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background 200ms ease;
}
.contact__btn:hover { background: #2c2c2c; }

.contact__info {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6a6a6a;
  font-size: 15px;
}

.contact__row-ic {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #6a6a6a;
}

.contact__qr-wrap {
  display: flex;
  justify-content: flex-end;
}

.contact__qr-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #ececec;
  background: rgba(240, 240, 240, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__qr-title {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
}

.contact__qr {
  width: 192px;
  height: 192px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  place-items: center;
}

.contact__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contact__qr-hint {
  margin: 16px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
}

@media (max-width: 880px) {
  .contact { padding: 64px 16px; }
  .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .contact__qr-wrap { justify-content: center; }
}