/* ============================================================
   Dhawonix — Global styles
   Section 1: Header + Hero  (clean rebuild)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink: #17140f;
  --ink-soft: #3d3833;
  --muted: #6f6860;
  --muted-2: #9b938a;
  --line: rgba(23, 20, 15, 0.10);

  --accent: #ff5a1f;
  --accent-2: #ff8a3d;
  --accent-deep: #e8431f;

  --cream: #f6f0e9;
  --cream-2: #f1e9df;
  --peach: #fdeadd;

  --card-bg: rgba(255, 255, 255, 0.62);
  --card-border: rgba(255, 255, 255, 0.85);

  --radius-pill: 999px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --shadow-soft: 0 18px 50px -22px rgba(80, 40, 15, 0.22);
  --shadow-card: 0 22px 60px -28px rgba(90, 45, 20, 0.28);
  --shadow-btn: 0 14px 30px -12px rgba(20, 16, 12, 0.55);

  --container: 1240px;
  --header-h: 92px;

  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

main section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 40px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn .icon-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn-lg {
  padding: 17px 30px;
  font-size: 1.02rem;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(20, 16, 12, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid rgba(23, 20, 15, 0.12);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.play-badge {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  margin-left: -6px;
}

.play-badge svg {
  width: 14px;
  height: 14px;
  margin-left: 1px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, height 0.3s;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(246, 240, 233, 0.82);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(23, 20, 15, 0.06), 0 10px 30px -20px rgba(80, 40, 15, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255, 90, 31, 0.22));
  transition: transform 0.25s;
}

.logo-img:hover {
  transform: scale(1.04);
}

.logo-mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 6px 12px rgba(255, 90, 31, 0.28));
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta {
  padding: 13px 22px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: rgba(246, 240, 233, 0.98);
  backdrop-filter: blur(18px);
  padding: 22px 40px 34px;
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu:not([hidden]) {
  display: block;
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu .nav-link {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0;
}

.mobile-menu .nav-link.is-active::after {
  display: none;
}

.mobile-cta {
  margin-top: 14px;
  justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 6%, var(--peach) 0%, rgba(253, 234, 221, 0) 46%),
    radial-gradient(90% 80% at 92% 82%, rgba(255, 173, 120, 0.22) 0%, rgba(255, 173, 120, 0) 55%),
    radial-gradient(130% 120% at 50% 120%, rgba(255, 138, 61, 0.10) 0%, rgba(255, 138, 61, 0) 50%),
    linear-gradient(160deg, #faf5ef 0%, var(--cream) 48%, var(--cream-2) 100%);
}

/* warm bloom behind the object */
.hero-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: -6%;
  top: 42%;
  transform: translateY(-50%);
  width: min(60vw, 900px);
  height: min(60vw, 900px);
  background: radial-gradient(circle, rgba(255, 116, 46, 0.30) 0%, rgba(255, 116, 46, 0.10) 34%, rgba(255, 116, 46, 0) 66%);
  filter: blur(6px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 30px;
  padding-block: 10px 0px;
}

/* ----- Left copy ----- */
.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 4px 18px -6px rgba(80, 40, 15, 0.12);
  user-select: none;
  transition: all 0.3s ease;
}

.eyebrow:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 90, 31, 0.25);
  box-shadow: 0 6px 20px -6px rgba(255, 90, 31, 0.2);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='24' viewBox='0 0 7 24' fill='none'%3E%3Ccircle cx='3.5' cy='3' r='2.8' fill='%23FF5A1F'/%3E%3Cline x1='3.5' y1='3' x2='3.5' y2='21' stroke='%23FF5A1F' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='3.5' cy='21' r='2.8' fill='%23FF5A1F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eyebrow:hover::before {
  transform: translateX(-3px) scale(1.05);
}

.eyebrow:hover::after {
  transform: translateX(3px) scale(1.05);
}

.eyebrow-dot {
  display: none !important;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-top: 14px;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--ink);
  position: relative;
}

.hero-sub {
  margin-top: 14px;
  max-width: 520px;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: var(--muted);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

/* ----- Right visual ----- */
.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 360px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  perspective-origin: 60% 50%;
}

.hero-object-wrap {
  position: relative;
  width: min(48vw, 620px);
  margin-right: -4%;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 1400px;
}

.hero-object-sheet {
  position: relative;
  width: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, clip-path;
}

.hero-object {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(200, 70, 20, 0.28));
  will-change: transform;
}

/* Layer 1 — the rolled leading edge that rides the unfurl frontier */
.hero-object-roll {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0;
  width: 22px;
  border-radius: 14px;
  opacity: 0;
  /* stays hidden unless the entrance drives it */
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(90deg,
      rgba(120, 42, 12, 0) 0%,
      rgba(150, 55, 18, 0.5) 20%,
      rgba(255, 178, 120, 0.95) 50%,
      rgba(150, 55, 18, 0.5) 80%,
      rgba(120, 42, 12, 0) 100%);
  box-shadow: 12px 0 30px -8px rgba(200, 78, 28, 0.5), 0 12px 34px -12px rgba(120, 40, 12, 0.4);
  will-change: transform, opacity;
}

/* ----- Floating cards ----- */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-card);
  will-change: transform;
}

.fc-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(23, 20, 15, 0.06);
}

.fc-icon svg {
  width: 18px;
  height: 18px;
}

.fc-label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.fc-ai {
  top: 6%;
  left: -4%;
}

.fc-ai .fc-icon {
  color: var(--accent);
}

.fc-growth {
  top: 0%;
  right: -4%;
}

.fc-growth .fc-icon {
  color: var(--accent);
}

.fc-brand {
  bottom: 8%;
  left: 0%;
}

.fc-custom {
  bottom: 2%;
  right: 0%;
}

/* ----- Bottom row: stats + logos ----- */
.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  padding-top: 0px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 42px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

.stat+.stat {
  padding-left: 42px;
}

.stat+.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted-2);
}

.client-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.client-logo:hover {
  opacity: 1;
}

.client-logo svg {
  width: 26px;
  height: 20px;
  fill: currentColor;
}

.client-word span,
.client-logo>span {
  color: currentColor;
}

.aws-word {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.aws-smile {
  width: 30px;
  height: 9px;
  align-self: flex-end;
  margin-bottom: 3px;
}

/* ----- Scroll cue ----- */
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: calc(50% + 60px);
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-cue:hover {
  transform: translateX(-50%) translateY(3px);
  color: var(--ink);
}

.scroll-track {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(23, 20, 15, 0.22);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 7px;
  border-radius: 3px;
  background: var(--accent);
  animation: scrollDot 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.scroll-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(-3px);
  }

  30% {
    opacity: 1;
  }

  60% {
    opacity: 1;
    transform: translateY(6px);
  }

  100% {
    opacity: 0;
    transform: translateY(9px);
  }
}

/* ============================================================
   Animated-entrance initial states (only when JS is present)
   GSAP takes over from here. Fallback: no .js => fully visible.
   ============================================================ */
.js .hero .anim {
  opacity: 0;
}

/* Pre-roll the sheet so the complete card is NEVER shown before the unfurl.
   GSAP animates from here; the reduced-motion / no-GSAP path drops `.js`,
   which reverts the sheet to its full, flat resting state. */
.js .hero-object-sheet {
  clip-path: inset(0% 92% 0% 0%);
  transform: rotateY(-90deg) scaleX(0.9);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .container {
    padding-inline: 30px;
  }

  .main-nav {
    gap: 26px;
  }

  .hero-object-wrap {
    width: min(58vw, 640px);
  }
}

/* Tablet / stacked */
@media (max-width: 940px) {
  :root {
    --header-h: 76px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8px;
    padding-block: 24px 8px;
  }

  /* object ABOVE text on mobile */
  .hero-visual {
    order: -1;
    min-height: 0;
    margin-top: 18px;
  }

  .hero-object-wrap {
    width: min(78vw, 460px);
    margin-right: 0;
  }

  .hero-copy {
    max-width: 640px;
    margin-inline: auto;
  }

  .eyebrow {
    letter-spacing: 0.1em;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-glow {
    top: 26%;
    right: 50%;
    transform: translate(50%, -50%);
    width: min(90vw, 560px);
    height: min(90vw, 560px);
  }

  /* keep the composition calm on small screens */
  .float-card {
    display: none;
  }

  .fc-ai,
  .fc-growth {
    display: flex;
  }

  .fc-ai {
    top: -2%;
    left: -2%;
    padding: 10px 12px;
  }

  .fc-growth {
    top: 6%;
    right: -2%;
    padding: 10px 12px;
  }

  .fc-label {
    font-size: 0.76rem;
  }

  .fc-icon {
    width: 34px;
    height: 34px;
  }

  .hero-footer {
    justify-content: center;
    gap: 30px;
    padding-bottom: 90px;
    padding-top: 26px;
  }

  .hero-stats {
    gap: 26px;
  }

  .stat+.stat {
    padding-left: 26px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .hero-logos {
    gap: 24px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 20px;
  }

  .hero-object-wrap {
    width: 84vw;
  }

  .float-card {
    display: none !important;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }

  .stat {
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .stat+.stat {
    padding-left: 12px;
  }

  .stat-num {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-logos {
    gap: 20px;
  }

  .client-logo {
    font-size: 1rem;
  }

  .scroll-cue {
    display: none;
  }
}

/* Reduced motion: show everything, no float/scroll animation */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .hero .anim {
    opacity: 1 !important;
  }

  .scroll-dot {
    animation: none;
  }
}

/* A quieter, editorial treatment for the process and portfolio section. */
.work-section {
  background: #f7f5f0;
}

.work-section .accent-gradient {
  background: none;
  color: var(--accent-deep);
  -webkit-text-fill-color: currentColor;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-intro .section-title {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.section-intro .section-sub {
  max-width: 590px;
  margin-top: 14px;
  font-size: 1rem;
}

.process-grid {
  gap: 0;
  border-top: 1px solid rgba(23, 20, 15, 0.16);
  border-bottom: 1px solid rgba(23, 20, 15, 0.16);
}

.process-grid::before {
  display: none;
}

.process-card {
  min-height: 225px;
  padding: 24px 22px 26px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.process-card+.process-card {
  padding-left: 22px;
  border-left: 1px solid rgba(23, 20, 15, 0.12);
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 20, 15, 0.12);
  box-shadow: none;
}

.process-num {
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 0.84rem;
  box-shadow: none;
}

.process-icon {
  display: none;
}

.process-card h3 {
  margin-top: 48px;
  font-size: 1.16rem;
}

.process-card p {
  max-width: 230px;
  color: #6f6860;
  font-size: 0.86rem;
}

.work-showcase {
  margin-top: clamp(76px, 9vw, 112px);
}

.showcase-heading {
  align-items: end;
  margin-bottom: 28px;
}

.showcase-heading .section-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

.showcase-note {
  max-width: 300px;
  font-size: 0.92rem;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}

.project-card,
.project-card:nth-child(-n+2) {
  grid-column: span 1;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(23, 20, 15, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 20, 15, 0.28);
  box-shadow: none;
}

.project-art {
  min-height: 215px;
  align-content: space-between;
  justify-items: start;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 15, 0.06);
  border-radius: 3px;
  isolation: isolate;
  transition: filter 0.3s ease;
}

.project-art::before {
  z-index: -1;
  opacity: 1;
  background-image: linear-gradient(90deg, rgba(23, 20, 15, 0.04) 1px, transparent 1px);
  background-size: 25% 100%;
}

.project-card:hover .project-art {
  border-radius: 3px;
  filter: saturate(1.08);
}

.project-telkosh .project-art {
  background: #dbe8e3;
}

.project-reachy .project-art {
  background: #f0ddd6;
}

.project-commerce .project-art {
  background: #e8e4d7;
}

.project-telegram .project-art {
  background: #dce3eb;
}

.project-automation .project-art {
  background: #e9e0d6;
}

.cover-index,
.cover-caption {
  color: rgba(23, 20, 15, 0.66);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.cover-wordmark {
  position: relative;
  color: #173c39;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.cover-wordmark span {
  color: var(--accent-deep);
}

.project-reachy .cover-wordmark {
  color: #542c39;
  font-weight: 600;
  letter-spacing: -0.07em;
}

.project-commerce .cover-wordmark,
.project-automation .cover-wordmark {
  color: #454036;
}

.cover-wordmark-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.cover-wordmark-condensed {
  color: #344c68;
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.project-meta {
  padding: 18px 0 0;
}

.project-type {
  color: #756e65;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.project-meta h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.project-arrow {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: rgba(23, 20, 15, 0.18);
  font-size: 1rem;
}

.project-card:hover .project-arrow {
  transform: translate(2px, -2px);
  border-color: rgba(23, 20, 15, 0.32);
  background: transparent;
  color: var(--ink);
}

.project-description {
  min-height: 0;
  padding: 0;
  margin-top: 8px;
  font-size: 0.86rem;
}

.project-tags {
  gap: 6px;
  padding: 13px 0 0;
}

.project-tags span {
  padding: 5px 9px;
  border-color: rgba(23, 20, 15, 0.12);
  border-radius: 2px;
  background: transparent;
  color: #625c54;
  font-size: 0.66rem;
}

.js .reveal {
  transform: translateY(14px);
}

.js .reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .process-card {
    min-height: 210px;
    padding-right: 15px;
  }

  .process-card+.process-card {
    padding-left: 15px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .section-intro .section-title {
    font-size: clamp(2.25rem, 9vw, 3.2rem);
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card,
  .process-card+.process-card {
    min-height: 190px;
    padding: 20px 14px 22px 0;
    border-left: 0;
  }

  .process-card:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(23, 20, 15, 0.12);
  }

  .process-card h3 {
    margin-top: 38px;
  }

  .showcase-heading .section-title {
    font-size: clamp(2.3rem, 9vw, 3.2rem);
  }

  .project-art {
    min-height: 190px;
    padding: 16px;
  }
}

@media (max-width: 480px) {

  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card+.process-card,
  .process-card:nth-child(even) {
    display: block;
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(23, 20, 15, 0.12);
  }

  .process-card h3 {
    margin-top: 15px;
  }

  .process-card p {
    max-width: 34rem;
  }

  .project-art {
    min-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .reveal,
  .js .reveal.is-visible,
  .process-card,
  .project-card,
  .project-art {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.process-num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(23, 20, 15, 0.16);
  border-radius: 50%;
  background: #f7f5f0;
  color: #81786e;
  transition: color 0.35s, background 0.35s, border-color 0.35s, transform 0.45s;
}

.process-card.is-active .process-num,
.process-card.is-complete .process-num {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
}

.process-card.is-active .process-num {
  transform: scale(1.14);
  box-shadow: 0 0 0 6px rgba(232, 67, 31, 0.12);
}

.process-grid {
  position: relative;
  --process-progress: 0%;
}

.process-grid::before,
.process-grid::after {
  position: absolute;
  z-index: 0;
  top: 41px;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  border: 0;
  background: rgba(23, 20, 15, 0.12);
}

.process-grid::after {
  width: var(--process-progress);
  background: linear-gradient(90deg, #ff8a3d, #e8431f);
  transition: width 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.process-card {
  position: relative;
}

.process-num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(23, 20, 15, 0.16);
  border-radius: 50%;
  background: #f7f5f0;
  color: #81786e;
  transition: color 0.35s, background 0.35s, border-color 0.35s, transform 0.45s;
}

.process-card.is-active .process-num,
.process-card.is-complete .process-num {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
}

.process-card.is-active .process-num {
  transform: scale(1.16);
  box-shadow: 0 0 0 6px rgba(232, 67, 31, 0.12);
}

.process-card h3 {
  transition: color 0.3s, transform 0.4s;
}

.process-card.is-active h3 {
  color: var(--accent-deep);
  transform: translateX(3px);
}

.project-art {
  position: relative;
  isolation: isolate;
}

.project-art::after {
  position: absolute;
  z-index: 1;
  top: -30%;
  bottom: -30%;
  left: -45%;
  width: 30%;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

.js .project-card .project-art {
  transform: scale(0.97);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s;
}

.js .project-card.is-visible .project-art {
  transform: scale(1);
}

.js .project-card.is-visible .project-art::after {
  animation: projectRevealSweep 1.1s 0.25s ease-out both;
}

.cover-wordmark {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), letter-spacing 0.5s;
}

.project-card:hover .cover-wordmark {
  transform: translateX(7px);
  letter-spacing: -0.045em;
}

@keyframes projectRevealSweep {
  0% {
    left: -45%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

@media (max-width: 700px) {

  .process-grid::before,
  .process-grid::after {
    top: 0;
    bottom: 0;
    left: 18px;
    width: 2px;
    height: 100%;
  }

  .process-grid::after {
    height: var(--process-progress);
  }

  .process-card,
  .process-card:hover,
  .process-card+.process-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: baseline;
    column-gap: 12px;
    z-index: 1;
    padding: 18px 0 20px;
  }

  .process-card h3 {
    margin: 0;
  }

  .process-card p {
    grid-column: 2;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {

  .process-grid::before,
  .process-grid::after {
    left: 17px;
  }

  .process-card,
  .process-card:hover,
  .process-card+.process-card {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .process-grid::after,
  .process-num,
  .process-card h3,
  .js .project-card .project-art,
  .cover-wordmark {
    transition: none;
  }

  .js .project-card.is-visible .project-art::after {
    animation: none;
  }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  position: relative;
  min-height: 100vh;
  height: auto;
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background:
    radial-gradient(45% 55% at 12% 25%, rgba(255, 180, 210, 0.45) 0%, rgba(255, 180, 210, 0) 100%),
    radial-gradient(55% 65% at 88% 75%, rgba(255, 210, 180, 0.45) 0%, rgba(255, 210, 180, 0) 100%),
    linear-gradient(135deg, #FBF8F6 0%, #F5EBE6 50%, #FAF2ED 100%);
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.6) 48%, rgba(255, 255, 255, 0.8) 52%, transparent 70%);
  pointer-events: none;
  opacity: 0.65;
  z-index: 1;
}

.services-container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Header top row grid layout for 3 columns: badge, title, note */
.section-header {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
  margin-bottom: 24px;
  z-index: 2;
  text-align: center;
}

.header-top-row {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.services-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px -12px rgba(255, 0, 84, 0.22);
  transform: rotate(-3.5deg);
  justify-self: start;
}

.services-float-badge .badge-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF5A1F 0%, #FF1A53 100%);
  color: #fff;
  font-size: 0.85rem;
}

.services-float-badge .badge-text {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-align: left;
}

.services-float-note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #FF3B2F;
  font-family: 'Poppins', cursive, sans-serif;
  justify-self: end;
}

.handwriting-text {
  font-size: 1.22rem;
  font-weight: 600;
  transform: rotate(-5deg);
  letter-spacing: -0.01em;
  color: #E8431F;
}

.handwriting-arrow {
  width: 52px;
  height: 34px;
  margin-right: 10px;
  margin-top: -2px;
  color: #FF3B2F;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
}

.accent-gradient {
  background: linear-gradient(115deg, #FF0054 0%, #FF4800 50%, #FF7B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  font-size: 0.98rem;
  color: #526071;
  line-height: 1.5;
  font-weight: 450;
  max-width: 620px;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 16px 16px 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px -16px rgba(255, 90, 31, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -14px rgba(255, 90, 31, 0.22);
  border-color: rgba(255, 138, 61, 0.4);
}

.card-num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FF6A2C;
  letter-spacing: -0.01em;
}

.card-image-wrap {
  width: 100%;
  height: 100px;
  margin-top: 6px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(255, 235, 225, 0.7) 0%, rgba(255, 255, 255, 0.3) 75%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease;
}

.service-card:hover .card-image-wrap {
  transform: scale(1.03);
}

.service-card-img,
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  filter: drop-shadow(0 6px 14px rgba(255, 90, 31, 0.16));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
  user-select: none;
  pointer-events: none;
  display: block;
}

.service-card:hover .service-card-img,
.service-card:hover .card-image-wrap img {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 10px 18px rgba(255, 90, 31, 0.25));
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.38;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: #FF5A1F;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(23, 20, 15, 0.05);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.card-btn svg {
  width: 15px;
  height: 15px;
}

.card-btn:hover {
  background: #FF5A1F;
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.35);
}

@media (max-width: 1180px) {
  .services-section {
    height: auto;
    min-height: auto;
    padding-block: 80px;
  }

  .header-top-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .services-float-badge,
  .services-float-note {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

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

/* ============================================================
   WORK, ABOUT + CONTACT
   ============================================================ */
.work-section,
.about-section,
.contact-section {
  position: relative;
  padding: clamp(80px, 10vw, 136px) 0;
}

.work-section {
  background: #fffaf6;
}

.work-container,
.about-container,
.contact-container {
  position: relative;
  z-index: 1;
}

.section-intro {
  max-width: 650px;
  margin-bottom: 42px;
}

.section-intro .section-title,
.contact-copy .section-title,
.about-container .section-title {
  margin-top: 16px;
}

.section-intro .section-sub {
  margin: 18px 0 0;
  text-align: left;
}

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

.process-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(23, 20, 15, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
}

.process-num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.process-card h3 {
  margin-top: 42px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.process-card p,
.about-copy,
.contact-copy p {
  color: var(--muted);
}

.process-card p {
  margin-top: 8px;
  font-size: 0.94rem;
}

.about-section {
  background: var(--ink);
  color: #fff;
}

.about-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.about-section .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 18px -6px rgba(0, 0, 0, 0.3);
}

.about-section .eyebrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 90, 31, 0.35);
}

.about-section .section-title {
  color: #fff;
}

.about-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255, 140, 60, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(255, 90, 31, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 50% 10%, rgba(255, 200, 150, 0.15) 0%, transparent 60%),
    var(--cream-2);
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.contact-copy p {
  max-width: 360px;
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-top: 1.5px solid rgba(255, 255, 255, 0.70);
  border-left: 1px solid rgba(255, 255, 255, 0.50);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.10),
    0 4px 16px rgba(0, 0, 0, 0.06),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
    inset 1px 0 0 rgba(255, 255, 255, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-form label span {
  color: var(--muted);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 90, 31, 0.55);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.contact-form .btn {
  justify-self: start;
}

.form-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status.is-success {
  color: #18794e;
}

.form-status.is-error {
  color: #b42318;
}

/* ── Custom Service Dropdown ──────────────────────────────── */

/* Completely hidden native select — only used for form data submission */
.service-native-select {
  display: none;
}

/* Wrapper that mimics the existing <label> grid layout */
.form-field-wrap {
  display: grid;
  gap: 7px;
}

.form-field-label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  outline: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.50);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.custom-select:focus .custom-select-trigger,
.custom-select.is-open .custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.14);
  background: #fff;
}

.custom-select-value {
  flex: 1;
  color: rgba(23, 20, 15, 0.45);
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select.has-value .custom-select-value {
  color: var(--ink);
  font-weight: 500;
}

.custom-select-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(23, 20, 15, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-select-arrow svg {
  width: 18px;
  height: 18px;
}

.custom-select.is-open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Dropdown panel */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 6px;
  border: 1.5px solid rgba(23, 20, 15, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07),
    0 12px 30px -4px rgba(0, 0, 0, 0.13),
    0 0 0 1px rgba(255, 90, 31, 0.05);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select.is-open .custom-select-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.91rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, padding-left 0.18s;
}

.custom-select-option:hover {
  background: rgba(255, 90, 31, 0.07);
  color: var(--accent-deep, #cc3d00);
  padding-left: 16px;
}

.custom-select-option.is-selected {
  background: rgba(255, 90, 31, 0.1);
  color: var(--accent, #ff5a1f);
  font-weight: 600;
}

.custom-select-option.is-selected::after {
  content: '✓';
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--accent, #ff5a1f);
}

.option-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* Keyboard focus highlight */
.custom-select-option.is-focused {
  background: rgba(255, 90, 31, 0.08);
  outline: none;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0e0d0b;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
  overflow: hidden;
  position: relative;
}

/* Top section: left email + right nav */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(40px, 6vw, 64px);
  gap: 40px;
}

/* Left: tagline + email */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.footer-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer-email:hover {
  color: #ff5a1f;
  text-decoration-color: rgba(255, 90, 31, 0.5);
}

/* Right: Quick Services nav */
.footer-nav {
  min-width: 180px;
}

.footer-nav-heading {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

/* Giant semi-transparent logo watermark */
/* Diagonal arrow above the watermark logo */
.footer-arrow {
  padding-top: 0;
  padding-bottom: 18px;
  margin-right: 50px;
}

.footer-arrow svg {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.3s ease;
}

.footer-arrow:hover svg {
  color: rgba(255, 255, 255, 0.55);
}

.footer-wordmark {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 20px;
}

.footer-logo-watermark {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  opacity: 0.07;
  filter: invert(1) brightness(2);
  user-select: none;
  pointer-events: none;
  object-fit: contain;
}

/* Bottom copyright bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  gap: 16px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .mobile-menu {
    padding-inline: 20px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
  }

  .hero-inner {
    padding-top: 16px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-sub {
    max-width: 34rem;
  }

  .hero-footer {
    padding-bottom: 48px;
  }

  .hero-logos {
    gap: 14px;
  }

  .client-logo {
    font-size: 0.9rem;
  }

  .process-grid,
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .section-intro {
    margin-bottom: 28px;
  }

  .process-card {
    min-height: 0;
    padding: 22px;
  }

  .process-card h3 {
    margin-top: 26px;
  }

  .about-copy {
    max-width: 38rem;
  }
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
   PROCESS + SELECTED WORK
   ============================================================ */
.work-section {
  overflow: hidden;
  background:
    radial-gradient(42rem 32rem at 5% 10%, rgba(255, 220, 202, 0.5), transparent 72%),
    radial-gradient(40rem 34rem at 96% 60%, rgba(255, 232, 218, 0.68), transparent 70%),
    #fffaf6;
}

.work-container {
  max-width: 1320px;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-intro .eyebrow {
  gap: 10px;
}

.section-intro .section-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.section-intro .section-sub {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.process-grid {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-grid::before {
  position: absolute;
  content: "";
  top: 51px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(232, 67, 31, 0.32) 0 6px, transparent 6px 12px);
}

.process-card {
  z-index: 1;
  min-height: 285px;
  padding: 22px 20px 24px;
  border-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px -34px rgba(80, 40, 15, 0.42);
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 138, 61, 0.46);
  box-shadow: 0 24px 52px -28px rgba(153, 67, 31, 0.32);
}

.process-num {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 5px solid #fffaf6;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff8a3d, #e8431f);
  color: white;
  font-size: 0.83rem;
  box-shadow: 0 7px 18px rgba(232, 67, 31, 0.22);
}

.process-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-top: 22px;
  border-radius: 13px;
  background: #fff0e8;
  color: var(--accent-deep);
}

.process-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-card h3 {
  margin-top: 16px;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.process-card p {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.work-showcase {
  margin-top: clamp(92px, 12vw, 148px);
}

.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.showcase-heading .section-title {
  margin-top: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.showcase-note {
  max-width: 340px;
  padding-bottom: 7px;
  color: var(--muted);
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-width: 0;
  grid-column: span 2;
  padding: 10px 10px 22px;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 15, 0.07);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 55px -42px rgba(80, 40, 15, 0.5);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s, border-color 0.45s;
}

.project-card:nth-child(-n+2) {
  grid-column: span 3;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 138, 61, 0.3);
  box-shadow: 0 28px 58px -34px rgba(80, 40, 15, 0.35);
}

.project-art {
  position: relative;
  display: grid;
  min-height: 245px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  isolation: isolate;
  transition: border-radius 0.45s;
}

.project-card:hover .project-art {
  border-radius: 20px;
}

.project-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.55;
  background-image: radial-gradient(rgba(255, 255, 255, 0.72) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
}

.project-telkosh .project-art {
  background: linear-gradient(140deg, #d6f4f1, #e5e9ff 54%, #f4e3ff);
}

.project-reachy .project-art {
  background: linear-gradient(145deg, #ffded1, #ffd9e8 52%, #e7d9ff);
}

.project-commerce .project-art {
  background: linear-gradient(145deg, #e5ebdd, #f4e8d3 58%, #e3cbbc);
}

.project-telegram .project-art {
  background: linear-gradient(145deg, #d8ecff, #d9e0ff 58%, #e9ddff);
}

.project-automation .project-art {
  background: linear-gradient(145deg, #f9e3d2, #ffe9bc 52%, #f7d6d3);
}

.mock-window {
  position: relative;
  z-index: 1;
  width: 76%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: #fcfefd;
  box-shadow: 0 24px 45px -22px rgba(31, 74, 82, 0.4);
  transform: perspective(850px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .mock-window {
  transform: perspective(850px) rotateY(-2deg) rotateX(0) translateY(-5px) scale(1.025);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 27px;
  padding: 0 10px;
  border-bottom: 1px solid #edf0f0;
  color: #7d8a8a;
  font-size: 0.48rem;
}

.mock-topbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff927c;
}

.mock-topbar i:nth-child(2) {
  background: #f3cb73;
}

.mock-topbar i:nth-child(3) {
  background: #81cba2;
}

.mock-topbar span {
  margin-left: 8px;
}

.telkosh-screen {
  display: flex;
  min-height: 170px;
}

.mock-sidebar {
  display: flex;
  width: 35px;
  flex: 0 0 35px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
  background: #163b45;
}

.mock-sidebar b,
.mock-sidebar i {
  width: 12px;
  height: 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
}

.mock-sidebar i {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
}

.mock-dashboard {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 14px;
}

.mock-kicker {
  color: #589a88;
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mock-heading {
  margin-top: 6px;
  color: #19363d;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.6vw, 1.3rem);
  line-height: 1.1;
}

.mock-chart {
  display: flex;
  width: 100%;
  height: 50px;
  align-items: end;
  gap: 6px;
  margin-top: 10px;
  padding: 0 6px;
  border-bottom: 1px solid #dceae6;
  background: repeating-linear-gradient(0deg, transparent 0 15px, #e8f0ed 15px 16px);
}

.mock-chart i {
  flex: 1;
  height: 40%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#78cbb3, #429c91);
}

.mock-chart i:nth-child(2) {
  height: 64%;
}

.mock-chart i:nth-child(3) {
  height: 52%;
}

.mock-chart i:nth-child(4) {
  height: 78%;
}

.mock-chart i:nth-child(5) {
  height: 60%;
}

.mock-chart i:nth-child(6) {
  height: 90%;
}

.mock-chart i:nth-child(7) {
  height: 72%;
}

.mock-chart i:nth-child(8) {
  height: 100%;
}

.mock-metrics {
  display: flex;
  width: 100%;
  gap: 7px;
  margin-top: 10px;
}

.mock-metrics i {
  height: 15px;
  flex: 1;
  border-radius: 3px;
  background: #eef5f2;
}

.art-orbit {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transition: transform 0.6s;
}

.art-orbit-one {
  right: 11%;
  top: 15%;
}

.art-orbit-two {
  left: 12%;
  bottom: 12%;
  width: 24px;
  height: 24px;
}

.project-card:hover .art-orbit-one {
  transform: translate(-10px, 8px) scale(1.2);
}

.project-card:hover .art-orbit-two {
  transform: translate(8px, -7px) scale(1.4);
}

.reachy-phone {
  position: relative;
  z-index: 1;
  width: 133px;
  min-height: 216px;
  padding: 19px 13px 12px;
  overflow: hidden;
  border: 5px solid #241b28;
  border-radius: 25px;
  background: linear-gradient(155deg, #fffaf8, #fff 52%, #fff0f5);
  box-shadow: 0 22px 42px -20px rgba(94, 40, 75, 0.48);
  transform: rotate(5deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .reachy-phone {
  transform: rotate(0) translateY(-5px);
}

.phone-camera {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 28px;
  height: 5px;
  border-radius: 8px;
  background: #241b28;
  transform: translateX(-50%);
}

.reachy-brand {
  color: #332437;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
}

.reachy-brand span {
  color: #f04478;
}

.reachy-greeting {
  margin-top: 15px;
  color: #332437;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.reachy-search {
  margin-top: 11px;
  padding: 7px 8px;
  border: 1px solid #f0e4eb;
  border-radius: 8px;
  color: #a397a2;
  font-size: 0.4rem;
}

.reachy-avatar-row {
  display: flex;
  align-items: center;
  margin-top: 13px;
}

.reachy-avatar-row i,
.reachy-avatar-row b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-left: -4px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f6a0b6;
  color: #fff;
  font-size: 0.46rem;
  font-style: normal;
}

.reachy-avatar-row i:first-child {
  margin-left: 0;
  background: #a58cdb;
}

.reachy-avatar-row i:nth-child(2) {
  background: #f0a360;
}

.reachy-avatar-row b {
  background: #f6e2ec;
  color: #74455e;
  font-size: 0.36rem;
}

.reachy-phone-nav {
  display: flex;
  justify-content: space-around;
  margin: 14px -13px -12px;
  padding: 9px;
  border-top: 1px solid #f2e8ee;
}

.reachy-phone-nav i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #f1cbd9;
}

.reachy-phone-nav i:first-child {
  background: #ed4d81;
}

.reachy-sparkle {
  position: absolute;
  color: white;
  text-shadow: 0 3px 15px rgba(216, 75, 128, 0.35);
  font-size: 2rem;
}

.sparkle-a {
  top: 20%;
  left: 22%;
}

.sparkle-b {
  right: 20%;
  bottom: 19%;
  font-size: 1.2rem;
}

.commerce-window {
  position: relative;
  z-index: 1;
  width: 78%;
  min-height: 190px;
  padding: 11px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: #fbf8f1;
  box-shadow: 0 22px 45px -25px rgba(88, 68, 45, 0.42);
  transform: perspective(900px) rotateY(7deg) rotateX(2deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .commerce-window {
  transform: perspective(900px) rotateY(1deg) translateY(-5px) scale(1.025);
}

.commerce-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5b584e;
  font-size: 0.37rem;
}

.commerce-nav b {
  color: #2d302a;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.commerce-hero {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 11px;
  padding: 12px;
  background: linear-gradient(110deg, #ead6bf, #f1e5d7 58%, #d7bfa4);
}

.commerce-hero span {
  color: #756954;
  font-size: 0.36rem;
  letter-spacing: 0.13em;
}

.commerce-hero b {
  margin-top: 5px;
  color: #342f29;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.45rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.commerce-hero i {
  margin-top: 9px;
  color: #51483c;
  font-size: 0.34rem;
  font-style: normal;
}

.commerce-products {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.commerce-products i {
  height: 20px;
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(135deg, #e9d7c3 50%, #cfb49b 50%);
}

.commerce-products i:nth-child(2) {
  background: linear-gradient(135deg, #d8d8c4 50%, #b7b69f 50%);
}

.commerce-products i:nth-child(3) {
  background: linear-gradient(135deg, #e6c8b8 50%, #cfa997 50%);
}

.commerce-sun {
  position: absolute;
  top: 17%;
  right: 15%;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.telegram-card {
  position: relative;
  z-index: 1;
  width: 78%;
  min-height: 186px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  background: linear-gradient(150deg, #fff, #f4f5ff);
  box-shadow: 0 22px 45px -24px rgba(47, 67, 125, 0.4);
  transform: rotate(-3deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .telegram-card {
  transform: rotate(0) translateY(-5px);
}

.telegram-top {
  display: flex;
  justify-content: space-between;
  color: #53628e;
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.telegram-top i {
  font-style: normal;
  letter-spacing: 0.12em;
}

.telegram-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 9px auto 0;
  padding: 9px;
  border-radius: 11px;
  background: radial-gradient(circle at 50% 20%, #e2d7ff, #eef0ff 70%);
}

.game-orb {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, #9167f4, #ec54a7);
  color: white;
  box-shadow: 0 7px 16px rgba(144, 90, 219, 0.3);
}

.telegram-game span {
  margin-top: 6px;
  color: #8a75b7;
  font-size: 0.34rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.telegram-game b {
  margin-top: 3px;
  color: #30264b;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.05;
  text-align: center;
}

.telegram-game button {
  margin-top: 7px;
  padding: 6px 11px;
  border-radius: 20px;
  background: #6745cf;
  color: #fff;
  font: inherit;
  font-size: 0.36rem;
  font-weight: 700;
}

.telegram-tabs {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  color: #9993b2;
  font-size: 0.55rem;
}

.telegram-tabs i:first-child {
  color: #7654d3;
  font-style: normal;
}

.telegram-bubble {
  position: absolute;
  top: 17%;
  right: 12%;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #568bea;
  box-shadow: 0 8px 22px rgba(53, 86, 158, 0.18);
  transform: rotate(15deg);
}

.flow-board {
  position: relative;
  z-index: 1;
  width: 80%;
  min-height: 190px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 45px -25px rgba(117, 73, 37, 0.35);
  transform: perspective(900px) rotateY(-6deg);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .flow-board {
  transform: perspective(900px) rotateY(0) translateY(-5px);
}

.flow-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flow-title span {
  color: #a18e7b;
  font-size: 0.38rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow-title b {
  color: #352a22;
  font-family: var(--font-display);
  font-size: 0.93rem;
  letter-spacing: -0.03em;
}

.flow-node {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 95px;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 3px 6px;
  padding: 7px;
  border: 1px solid #eee8e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(83, 64, 45, 0.08);
}

.flow-node i {
  display: grid;
  width: 20px;
  height: 20px;
  grid-row: span 2;
  place-items: center;
  border-radius: 6px;
  background: #fff0dc;
  color: #d98339;
  font-size: 0.65rem;
  font-style: normal;
}

.flow-node span {
  color: #4f453c;
  font-size: 0.38rem;
  font-weight: 600;
  white-space: nowrap;
}

.flow-node b {
  color: #ad9d8d;
  font-size: 0.29rem;
  letter-spacing: 0.08em;
}

.node-trigger {
  top: 54%;
  left: 5%;
}

.node-action {
  top: 68%;
  left: 38%;
}

.node-done {
  top: 47%;
  right: 4%;
}

.node-done i {
  background: #e5f5e9;
  color: #4d9a5d;
}

.flow-connector {
  position: absolute;
  height: 1px;
  border-top: 1px dashed #e4b278;
  transform-origin: left;
}

.connector-one {
  top: 68%;
  left: 32%;
  width: 14%;
  transform: rotate(18deg);
}

.connector-two {
  top: 78%;
  left: 68%;
  width: 15%;
  transform: rotate(-28deg);
}

.flow-glow {
  position: absolute;
  right: -25px;
  top: 25px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffeecb;
  filter: blur(35px);
  opacity: 0.6;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 13px 0;
}

.project-type {
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.project-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(23, 20, 15, 0.1);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.15rem;
  transition: transform 0.3s, color 0.3s, background 0.3s;
}

.project-card:hover .project-arrow {
  transform: rotate(45deg);
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.project-description {
  min-height: 3.2em;
  padding: 0 13px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 15px 13px 0;
}

.project-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(23, 20, 15, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.69rem;
  font-weight: 500;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-card:nth-child(2),
.project-card:nth-child(2) {
  transition-delay: 70ms;
}

.process-card:nth-child(3),
.project-card:nth-child(3) {
  transition-delay: 140ms;
}

.process-card:nth-child(4),
.project-card:nth-child(4) {
  transition-delay: 210ms;
}

.process-card:nth-child(5) {
  transition-delay: 280ms;
}

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

  .process-grid::before {
    display: none;
  }

  .process-card {
    min-height: 255px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card:nth-child(-n+2) {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .section-intro {
    margin-bottom: 34px;
  }

  .section-intro .section-title {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .process-card {
    min-height: 0;
    padding: 18px 16px 20px;
  }

  .process-card h3 {
    margin-top: 14px;
  }

  .process-card p {
    font-size: 0.82rem;
  }

  .process-icon {
    margin-top: 16px;
  }

  .showcase-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .showcase-heading .section-title {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
  }

  .project-grid {
    gap: 14px;
  }

  .project-art {
    min-height: 210px;
  }

  .project-description {
    min-height: 0;
  }
}

@media (max-width: 480px) {

  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    gap: 10px;
  }

  .process-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 13px;
    align-items: center;
  }

  .process-num {
    grid-row: span 2;
    width: 50px;
    height: 50px;
  }

  .process-icon {
    display: none;
  }

  .process-card h3 {
    margin: 0;
  }

  .process-card p {
    grid-column: 2;
    margin-top: 4px;
  }

  .project-art {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .reveal,
  .js .reveal.is-visible,
  .process-card,
  .project-card,
  .mock-window,
  .reachy-phone,
  .commerce-window,
  .telegram-card,
  .flow-board {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Keep this section grounded in real work, not simulated product screens. */
.work-section {
  background: #f7f5f0;
}

.work-section .accent-gradient {
  background: none;
  color: var(--accent-deep);
  -webkit-text-fill-color: currentColor;
}


/* ---------- How we work: Stacked Card Deck with Pop-out Animation ---------- */
.process-grid.process-deck {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 85px 10px 45px;
  margin-bottom: 50px;
  border: none;
  perspective: 1200px;
  overflow: visible;
}

/* Individual Stacked Card */
.process-deck .process-card {
  position: relative;
  flex: 0 0 270px;
  width: 270px;
  min-height: 315px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 28px 22px 24px;
  box-shadow: 0 20px 45px -14px rgba(70, 35, 15, 0.15), 0 3px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transform-origin: center 85%;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    opacity 0.35s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Stack overlap with negative margins */
.process-deck .process-card+.process-card {
  margin-left: -55px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
}

/* Resting Stack Fan (Angles & Z-indexes) */
.process-deck .process-card:nth-child(1) {
  z-index: 1;
  transform: rotate(-6deg) translateY(14px);
}

.process-deck .process-card:nth-child(2) {
  z-index: 2;
  transform: rotate(-3deg) translateY(5px);
}

.process-deck .process-card:nth-child(3) {
  z-index: 3;
  transform: rotate(0deg) translateY(0px);
}

.process-deck .process-card:nth-child(4) {
  z-index: 4;
  transform: rotate(3deg) translateY(5px);
}

.process-deck .process-card:nth-child(5) {
  z-index: 5;
  transform: rotate(6deg) translateY(14px);
}

/* POP OUT ANIMATION ON HOVER OR ACTIVE */
.process-deck .process-card:hover,
.process-deck .process-card.is-popped {
  transform: translateY(-58px) scale(1.1) rotate(0deg) !important;
  z-index: 50 !important;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 90, 31, 0.55);
  box-shadow:
    0 35px 70px -15px rgba(255, 90, 31, 0.38),
    0 14px 28px -8px rgba(0, 0, 0, 0.12),
    0 0 0 2px #ff5a1f;
}

/* Subtle dimming on non-hovered cards when one is popped out */
.process-deck.has-popped .process-card:not(:hover):not(.is-popped) {
  opacity: 0.75;
  filter: saturate(0.85);
}

/* Internal Card Details */
.process-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 20, 15, 0.14);
  background: #fdfaf6;
  color: #6f6860;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 90, 31, 0.08);
  color: #e8431f;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* On Card Pop-out (inside states) */
.process-card:hover .process-num,
.process-card.is-popped .process-num {
  border-color: #ff5a1f;
  background: linear-gradient(135deg, #ff5a1f 0%, #ff8a3d 100%);
  color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(255, 90, 31, 0.42);
}

.process-card:hover .process-icon,
.process-card.is-popped .process-icon {
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.2), rgba(255, 138, 61, 0.28));
  color: #ff5a1f;
  transform: translateY(-2px) rotate(10deg) scale(1.12);
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.25);
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.process-card:hover h3,
.process-card.is-popped h3 {
  color: #e8431f;
}

.process-card p {
  color: #6f6860;
  font-size: 0.88rem;
  line-height: 1.52;
  margin-bottom: auto;
  transition: color 0.3s ease;
}

.process-card:hover p,
.process-card.is-popped p {
  color: #2b2621;
}

.process-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed rgba(23, 20, 15, 0.12);
}

.process-card-footer .step-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  transition: color 0.3s ease;
}

.process-card:hover .process-card-footer .step-label,
.process-card.is-popped .process-card-footer .step-label {
  color: #ff5a1f;
}

.process-card-footer .step-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(23, 20, 15, 0.15);
  transition: all 0.35s ease;
}

.process-card:hover .process-card-footer .step-indicator,
.process-card.is-popped .process-card-footer .step-indicator {
  background: #ff5a1f;
  transform: scale(1.6);
  box-shadow: 0 0 10px rgba(255, 90, 31, 0.7);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}

.project-card,
.project-card:nth-child(-n+2) {
  grid-column: span 1;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(23, 20, 15, 0.16);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 20, 15, 0.28);
  box-shadow: none;
}

.project-art,
.project-card:hover .project-art {
  min-height: 210px;
  align-content: space-between;
  justify-items: start;
  padding: 20px;
  border: 1px solid rgba(23, 20, 15, 0.06);
  border-radius: 3px;
  filter: none;
}

.project-art::before {
  opacity: 1;
  background-image: linear-gradient(90deg, rgba(23, 20, 15, 0.04) 1px, transparent 1px);
  background-size: 25% 100%;
}

.project-telkosh .project-art {
  background: #dbe8e3;
}

.project-reachy .project-art {
  background: #f0ddd6;
}

.project-commerce .project-art {
  background: #e8e4d7;
}

.project-telegram .project-art {
  background: #dce3eb;
}

.project-automation .project-art {
  background: #e9e0d6;
}

.cover-index,
.cover-caption {
  color: rgba(23, 20, 15, 0.66);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.cover-wordmark {
  color: #173c39;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.cover-wordmark span {
  color: var(--accent-deep);
}

.project-reachy .cover-wordmark {
  color: #542c39;
  font-weight: 600;
}

.project-commerce .cover-wordmark,
.project-automation .cover-wordmark {
  color: #454036;
}

.cover-wordmark-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.cover-wordmark-condensed {
  color: #344c68;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: 0.03em;
}

.project-meta {
  padding: 17px 0 0;
}

.project-type {
  color: #756e65;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.project-meta h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.project-arrow {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.project-card:hover .project-arrow {
  transform: translate(2px, -2px);
  background: none;
  color: var(--ink);
}

.project-description {
  min-height: 0;
  padding: 0;
  font-size: 0.86rem;
}

.project-tags {
  padding: 13px 0 0;
}

.project-tags span {
  border-radius: 2px;
  background: none;
}

.js .reveal {
  transform: translateY(14px);
}

.js .reveal.is-visible {
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .process-deck .process-card {
    flex: 0 0 240px;
    width: 240px;
    min-height: 295px;
    padding: 24px 18px 20px;
  }

  .process-deck .process-card+.process-card {
    margin-left: -50px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .process-grid.process-deck {
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 40px;
  }

  .process-deck .process-card {
    flex: 0 0 calc(50% - 10px);
    width: auto;
    min-height: auto;
    margin-left: 0 !important;
    transform: none !important;
  }

  .process-deck .process-card:last-child {
    flex: 0 0 100%;
  }

  .process-deck .process-card:hover,
  .process-deck .process-card.is-popped {
    transform: translateY(-12px) scale(1.03) !important;
  }

  .project-art,
  .project-card:hover .project-art {
    min-height: 190px;
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .process-grid.process-deck {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
  }

  .process-deck .process-card {
    flex: 0 0 auto;
    width: 100%;
    margin-left: 0 !important;
  }

  .process-deck .process-card:hover,
  .process-deck .process-card.is-popped {
    transform: translateY(-8px) scale(1.02) !important;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-art,
  .project-card:hover .project-art {
    min-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .reveal,
  .js .reveal.is-visible,
  .process-card,
  .project-card,
  .project-art {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   Selected Work — New Showcase Design (v2)
   Image-based cards, dark background, reference-style layout
   ============================================================ */

/* Override old work-showcase defaults */
.work-showcase {
  position: relative;
  margin-top: clamp(60px, 8vw, 100px);
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* ---------- Section Header ---------- */
.sw-header {
  position: relative;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 60px) clamp(44px, 6vw, 72px);
}

.sw-watermark {
  display: none;
}

.sw-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--ink) !important;
  font-size: clamp(2.3rem, 5vw, 3.8rem) !important;
  margin-top: 18px !important;
  margin-bottom: 16px;
  line-height: 1.12 !important;
}

.sw-accent {
  background: linear-gradient(115deg, #FF0054 0%, #FF4800 50%, #FF7B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sw-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 400px;
  margin-inline: auto;
  line-height: 1.75;
}

/* ---------- Project Grid ---------- */
.sw-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 clamp(16px, 3.5vw, 36px);
}

/* ---------- Card Base ---------- */
.sw-card {
  display: flex;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 20, 15, 0.08);
  padding: 16px;
  gap: 16px;
  box-shadow: 0 16px 45px -20px rgba(80, 40, 15, 0.14);
  transition: border-color 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sw-card:hover {
  border-color: rgba(255, 90, 31, 0.26);
  box-shadow: 0 24px 60px -24px rgba(80, 40, 15, 0.22);
  transform: translateY(-4px);
}

/* Wide card: horizontal layout */
.sw-card--wide {
  flex-direction: row;
  min-height: 380px;
}

/* Reversed wide: info left, image right */
.sw-card--rev {
  flex-direction: row-reverse;
}

/* Duo: two half-cards side by side */
.sw-duo {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* Half card: vertical (info top, image bottom) */
.sw-card--half {
  flex: 1;
  flex-direction: column;
  min-width: 0;
  display: flex;
}

/* ---------- Image Wrap with Border & Frame ---------- */
.sw-image-wrap {
  flex: 0 0 50%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0c101a;
  border: 1px solid rgba(23, 20, 15, 0.12);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sw-card--rev .sw-image-wrap {
  flex: 0 0 50%;
}

/* Small image wrap for half-cards: perfectly aligned at bottom */
.sw-image-wrap--sm {
  flex: none;
  height: 250px;
  width: 100%;
  margin-top: auto;
}

.sw-image-wrap--sm .sw-img {
  object-position: top center;
}

.sw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sw-card:hover .sw-img {
  transform: scale(1.04);
}

/* ---------- Info Panel ---------- */
.sw-info {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(20px, 3vw, 42px);
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(255, 90, 31, 0.08), rgba(255, 120, 40, 0.03) 48%, transparent 75%),
    linear-gradient(145deg, rgba(255, 248, 244, 0.78), rgba(255, 252, 250, 0.52));
  border: 1px solid rgba(255, 90, 31, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.sw-card:hover .sw-info {
  background:
    radial-gradient(120% 120% at 85% 15%, rgba(255, 90, 31, 0.13), rgba(255, 120, 40, 0.05) 50%, transparent 75%),
    linear-gradient(145deg, rgba(255, 245, 239, 0.92), rgba(255, 250, 247, 0.72));
  border-color: rgba(255, 90, 31, 0.18);
}

.sw-info--half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 18px 14px;
}

.sw-card--half .sw-info-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.sw-card--half .sw-name {
  min-height: 52px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.sw-card--half .sw-desc {
  min-height: 70px;
  margin-bottom: 14px;
}

.sw-card--half .sw-tags {
  margin-top: auto;
  margin-bottom: 6px;
}

.sw-info-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Telkosh: text written and aligned from right side */
#sw-telkosh .sw-info {
  justify-content: flex-end;
}

#sw-telkosh .sw-info-inner {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

#sw-telkosh .sw-num {
  align-self: flex-end;
}

#sw-telkosh .sw-tags {
  justify-content: flex-end;
}

/* ---------- Number Badge ---------- */
.sw-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 90, 31, 0.24);
  background: rgba(255, 90, 31, 0.06);
  color: #ff5a1f;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ---------- Project Name ---------- */
.sw-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}

/* ---------- Description ---------- */
.sw-desc {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 380px;
}

/* ---------- Tags ---------- */
.sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.sw-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ff5a1f;
  background: rgba(255, 90, 31, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 90, 31, 0.14);
  font-family: var(--font-display);
}

/* (sw-btn removed) */

/* (sw-footer / sw-view-all-btn removed) */

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 960px) {

  .sw-card--wide,
  .sw-card--rev {
    flex-direction: column;
    min-height: auto;
  }

  .sw-image-wrap,
  .sw-card--rev .sw-image-wrap {
    flex: none;
    height: 280px;
    width: 100%;
  }

  .sw-info {
    padding: 20px 14px 16px;
  }

  #sw-telkosh .sw-info-inner {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }

  #sw-telkosh .sw-num {
    align-self: flex-start;
  }

  #sw-telkosh .sw-tags {
    justify-content: flex-start;
  }

  .sw-name {
    font-size: 1.55rem;
  }
}

@media (max-width: 680px) {
  .work-showcase {
    border-radius: 20px;
  }

  .sw-duo {
    flex-direction: column;
  }

  .sw-card--half .sw-name,
  .sw-card--half .sw-desc {
    min-height: auto;
  }

  .sw-image-wrap--sm {
    height: 220px;
  }

  .sw-info--half {
    padding: 22px 20px 18px;
  }

  .sw-grid {
    gap: 14px;
  }

  .sw-duo {
    gap: 14px;
  }
}

@media (max-width: 480px) {

  .sw-image-wrap,
  .sw-card--rev .sw-image-wrap {
    height: 230px;
  }

  .sw-desc {
    font-size: 0.88rem;
  }

  .sw-btn {
    padding: 11px 18px;
    font-size: 0.83rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .sw-img,
  .sw-btn,
  .sw-card,
  .sw-view-all-btn {
    transition: none;
  }
}

/* ============================================================
   SEO Capabilities & Core Expertise Grid
   ============================================================ */
.about-capabilities {
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-cap-header {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.about-cap-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff7b00;
  margin-bottom: 10px;
}

.about-cap-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  max-width: 650px;
}

.about-cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.about-cap-col h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ff5a1f;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-cap-col h4::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a1f;
}

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

.about-cap-list li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-cap-list li:hover {
  background: rgba(255, 90, 31, 0.12);
  border-color: rgba(255, 90, 31, 0.35);
  color: #fff;
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .about-cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .about-cap-grid {
    grid-template-columns: 1fr;
  }
}