/* ================================================
   HARDI PORTFOLIO — style.css
   Author : Izmi Hardi
   Updated: 2026
   ================================================ */

/* ──────────────────────────────────────────────
   1. DESIGN TOKENS
────────────────────────────────────────────── */
:root {
  /* Colors */
  --white:     #FAFAFA;
  --black:     #0A0A0A;
  --black-2:   #141414;
  --ink:       #1A1A1A;
  --muted:     #767676;
  --faint:     #C8C8C8;
  --line:      #E2E2E2;
  --line-hi:   #B8B8B8;
  --blue:      #0066FF;
  --blue-dark: #0052CC;
  --blue-bg:   rgba(0, 102, 255, 0.06);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ──────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ──────────────────────────────────────────────
   3. LAYOUT
────────────────────────────────────────────── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ──────────────────────────────────────────────
   4. NAV
────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 0.5px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--black);
}

.nav-logo span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 22px;
  background: var(--black);
  color: var(--white);
  border: 0.5px solid var(--black);
  transition: all 0.18s;
  cursor: pointer;
}

.nav-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 1px;
  background: var(--black);
  display: block;
  transition: all 0.25s;
}

/* Mobile nav overlay */
.mob-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--white);
  padding: 72px 24px 40px;
  flex-direction: column;
  border-top: 0.5px solid var(--line);
  overflow-y: auto;
}

.mob-nav.open {
  display: flex;
}

.mob-nav a {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line);
  transition: color 0.18s;
}

.mob-nav a:hover {
  color: var(--black);
}

.mob-nav .mob-cta {
  margin-top: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 16px;
}

/* ──────────────────────────────────────────────
   5. BUTTONS
────────────────────────────────────────────── */
.btn-solid {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 26px;
  background: var(--black);
  color: var(--white);
  border: 0.5px solid var(--black);
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
}

.btn-solid:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-ghost {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 26px;
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--line);
  transition: all 0.18s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--black);
  color: var(--black);
}

.btn-white {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  background: var(--white);
  color: var(--black);
  border: 0.5px solid var(--white);
  transition: all 0.18s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-white:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn-white-ghost {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 26px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  transition: all 0.18s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-white-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ──────────────────────────────────────────────
   6. HERO
────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  border-bottom: 0.5px solid var(--line);
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 0.5px solid var(--line);
  flex-wrap: wrap;
  gap: 8px;
}

.hero-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  animation: pulse-anim 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-anim {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-bar-right {
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Big name */
.hero-name-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 48px;
  overflow: hidden;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 19vw, 22rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--black);
  white-space: nowrap;
}

.hero-name .dot {
  color: var(--blue);
}

/* Hero bottom strip */
.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 0.5px solid var(--line);
  align-items: stretch;
}

.hero-foot-left {
  padding: 28px 48px;
  border-right: 0.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  max-width: 520px;
}

.hero-tagline strong {
  font-weight: 600;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
}

.hero-role-pill {
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 0.5px solid var(--line);
  margin-right: -0.5px;
  margin-bottom: -0.5px;
  transition: color 0.18s, border-color 0.18s;
}

.hero-role-pill:hover {
  color: var(--black);
  border-color: var(--line-hi);
}

.hero-foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 48px;
  gap: 16px;
  min-width: 280px;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}

.stat-num span {
  color: var(--blue);
}

.stat-lbl {
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────
   7. SECTION CHROME
────────────────────────────────────────────── */
.section {
  padding: 92px 0;
  border-bottom: 0.5px solid var(--line);
}

.section-alt {
  background: #F4F4F4;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--black);
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  margin-top: 14px;
  max-width: 500px;
}

/* ──────────────────────────────────────────────
   8. ABOUT
────────────────────────────────────────────── */
.about-flat {
  border: 0.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-flat-text {
  padding: 44px 52px;
  border-bottom: 0.5px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-para {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--ink);
  font-weight: 300;
}

.about-para em {
  font-style: italic;
  color: var(--black);
  font-weight: 400;
}

.about-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5px;
  background: var(--line);
}

.quad-cell {
  background: var(--white);
  padding: 24px 24px;
  transition: background 0.18s;
}

.quad-cell:hover {
  background: #F4F4F4;
}

.quad-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.quad-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.quad-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
}

/* Journey Timeline */
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5px;
  background: var(--line);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}

.journey-item {
  background: var(--white);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.18s;
}

.journey-item:hover {
  background: #F6F8FF;
}

.journey-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.journey-dot-gold {
  background: #D97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.journey-line {
  display: none;
}

.journey-tag {
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.journey-tag-gold {
  color: #D97706;
}

.journey-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.journey-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

/* About responsive */
@media (max-width: 900px) {
  .about-flat-text {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 28px;
  }
  .about-quad {
    grid-template-columns: 1fr 1fr;
  }
  .journey {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .about-flat-text {
    padding: 24px 20px;
  }
  .about-quad {
    grid-template-columns: 1fr;
  }
  .quad-cell {
    padding: 18px 20px;
  }
  .journey {
    grid-template-columns: 1fr;
  }
  .journey-item {
    padding: 22px 20px;
  }
}

/* ──────────────────────────────────────────────
   9. SERVICES
────────────────────────────────────────────── */
.svc-table {
  border: 0.5px solid var(--line);
  border-bottom: none;
}

.svc-item {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  border-bottom: 0.5px solid var(--line);
  transition: background 0.18s;
  min-width: 0;
}

.svc-item:hover {
  background: #F4F4F4;
}

.svc-item:hover .svc-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.svc-num {
  padding: 26px 0 26px 22px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--faint);
  border-right: 0.5px solid var(--line);
  display: flex;
  align-items: flex-start;
  padding-top: 28px;
}

.svc-main {
  padding: 26px 28px 26px 24px;
  border-right: 0.5px solid var(--line);
  min-width: 0;
}

.svc-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 7px;
}

.svc-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

.svc-aside {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.svc-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 0.5px solid var(--line);
  color: var(--muted);
}

.svc-arrow {
  font-size: 0.875rem;
  color: var(--blue);
  margin-top: 14px;
  opacity: 0;
  transition: all 0.18s;
  align-self: flex-end;
}

/* ──────────────────────────────────────────────
   10. PROJECTS
────────────────────────────────────────────── */
.proj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.proj-tabs {
  display: flex;
  border: 0.5px solid var(--line);
  flex-shrink: 0;
}

.proj-tab {
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  color: var(--muted);
  border-right: 0.5px solid var(--line);
  transition: all 0.18s;
  background: none;
  cursor: pointer;
}

.proj-tab:last-child {
  border-right: none;
}

.proj-tab.active {
  background: var(--black);
  color: var(--white);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
}

.proj-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.proj-card:hover {
  background: #F6F8FF;
}

.proj-card:hover .proj-card-arr {
  opacity: 1;
}

.proj-card:hover .proj-thumb-char {
  color: #B8B8B8;
  transform: scale(1.06);
}

.proj-thumb {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 0.5px solid var(--line);
  overflow: hidden;
}

.proj-thumb-char {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  letter-spacing: -0.04em;
  color: #D0D0D0;
  user-select: none;
  transition: color 0.3s, transform 0.3s var(--ease);
}

.proj-cat-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: var(--white);
  color: var(--muted);
  border: 0.5px solid var(--line);
}

.proj-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.proj-card-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.proj-card-brief {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
}

.proj-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
}

.proj-meta-cell {
  background: var(--white);
  padding: 8px 10px;
}

.proj-meta-key {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 2px;
}

.proj-meta-val {
  font-family: var(--font-body);
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink);
}

.proj-result {
  padding: 9px 11px;
  border-left: 2px solid var(--blue);
  background: var(--blue-bg);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--blue-dark);
  line-height: 1.5;
}

.proj-card-arr {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: auto;
  padding-top: 8px;
  opacity: 0;
  transition: opacity 0.18s;
}

/* ──────────────────────────────────────────────
   11. SKILLS
────────────────────────────────────────────── */
.skills-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
}

.skills-col {
  background: var(--white);
}

.skills-col-head {
  padding: 14px 22px;
  border-bottom: 0.5px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #FAFCFF;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-bottom: 0.5px solid var(--line);
  transition: background 0.15s;
}

.skill-item:last-child {
  border-bottom: none;
}

.skill-item:hover {
  background: #F5F5F5;
}

.skill-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
}

.skill-level {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-level.expert    { color: var(--blue); }
.skill-level.advanced  { color: var(--muted); }
.skill-level.proficient{ color: var(--faint); }

.tools-row {
  margin-top: 28px;
  padding: 18px 22px;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.tools-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 14px;
  border-right: 0.5px solid var(--line);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.tool-chip {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  padding: 5px 11px;
  border: 0.5px solid var(--line);
  transition: all 0.15s;
  white-space: nowrap;
}

.tool-chip:hover {
  border-color: var(--black);
  color: var(--black);
}

/* ──────────────────────────────────────────────
   12. DESIGN PORTFOLIO LINKS
────────────────────────────────────────────── */
.design-portfolio {
  margin-top: 28px;
  border: 0.5px solid var(--line);
}

.design-portfolio-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 0.5px solid var(--line);
  flex-wrap: wrap;
  background: #FAFCFF;
}

.design-portfolio-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.design-portfolio-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}

.design-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5px;
  background: var(--line);
}

.design-link {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  transition: background 0.18s;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.design-link:hover {
  background: #F0F5FF;
}

.design-link:hover .design-link-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.design-link:hover .design-link-platform {
  color: var(--blue);
}

.design-link-icon {
  width: 36px;
  height: 36px;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: border-color 0.18s, color 0.18s;
}

.design-link:hover .design-link-icon {
  border-color: var(--blue);
  color: var(--blue);
}

.design-link-icon-add {
  border-style: dashed;
}

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

.design-link-platform {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.18s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-link-url {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-link-arrow {
  font-size: 1rem;
  color: var(--blue);
  opacity: 0;
  flex-shrink: 0;
  transition: all 0.18s;
}

/* Responsive */
@media (max-width: 900px) {
  .design-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .design-links-grid {
    grid-template-columns: 1fr;
  }
  .design-portfolio-head {
    flex-direction: column;
    gap: 4px;
  }
}

/* ──────────────────────────────────────────────
   13. PROCESS
────────────────────────────────────────────── */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 0.5px solid var(--line);
  border-right: none;
}

.process-cell {
  border-right: 0.5px solid var(--line);
  padding: 28px 24px;
  transition: background 0.18s;
}

.process-cell:hover {
  background: #F4F4F4;
}

.process-cell:hover .process-num {
  color: var(--blue);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--line);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.18s;
}

.process-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 7px;
}

.process-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

/* ──────────────────────────────────────────────
   14. TESTIMONIALS
────────────────────────────────────────────── */
.testi-empty {
  border: 0.5px solid var(--line);
  padding: 68px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--white);
}

.testi-empty-icon {
  width: 44px;
  height: 44px;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--faint);
}

.testi-empty-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
}

.testi-empty-text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 360px;
  line-height: 1.7;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
  margin-bottom: 22px;
}

.testi-card {
  background: var(--white);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.18s;
}

.testi-card:hover {
  background: #F5F8FF;
}

.testi-stars {
  color: var(--blue);
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.testi-quote {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.72;
  flex: 1;
}

.testi-rule {
  height: 0.5px;
  background: var(--line);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.testi-avatar {
  width: 32px;
  height: 32px;
  background: #EBEBEB;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
}

.testi-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

.testi-meta {
  font-family: var(--font-body);
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 1px;
  font-weight: 300;
}

.testi-verified {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 3px 7px;
  border: 0.5px solid rgba(0, 102, 255, 0.25);
  flex-shrink: 0;
}

.review-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border: 0.5px solid var(--line);
  background: var(--white);
  flex-wrap: wrap;
}

.review-cta-text h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 3px;
}

.review-cta-text p {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 300;
}

/* ──────────────────────────────────────────────
   15. CONTACT
────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 0.5px solid var(--line);
}

.contact-left {
  padding: 44px;
  border-right: 0.5px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-link-row {
  display: flex;
  align-items: center;
  padding: 17px 0;
  border-bottom: 0.5px solid var(--line);
  transition: background 0.15s;
}

.contact-link-row:last-of-type {
  border-bottom: none;
}

.contact-link-row:hover .contact-link-val {
  color: var(--black);
}

.contact-link-row:hover .contact-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.contact-link-type {
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  width: 72px;
  flex-shrink: 0;
}

.contact-link-val {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s;
}

.contact-link-arrow {
  color: var(--blue);
  opacity: 0;
  transition: all 0.18s;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.avail-bar {
  margin-top: 26px;
  padding: 16px 0;
  border-top: 0.5px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  margin-top: 4px;
  animation: pulse-anim 2.5s ease-in-out infinite;
}

.avail-status {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: #16A34A;
}

.avail-note {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 3px;
  line-height: 1.55;
}

.contact-right {
  padding: 44px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-label-opt {
  color: var(--faint);
  text-transform: none;
  font-weight: 300;
  letter-spacing: 0;
}

.form-input {
  padding: 11px 13px;
  background: var(--white);
  border: 0.5px solid var(--line);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.18s;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--blue);
}

.form-input::placeholder {
  color: var(--faint);
}

textarea.form-input {
  min-height: 108px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8C8C8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit {
  padding: 13px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0.5px solid var(--black);
  width: 100%;
  transition: all 0.18s;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ──────────────────────────────────────────────
   16. CTA STRIP
────────────────────────────────────────────── */
.cta-strip {
  padding: 76px 48px;
  border-bottom: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  background: var(--black);
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 4vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}

.cta-heading em {
  font-style: normal;
  color: var(--blue);
}

.cta-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────
   17. FOOTER
────────────────────────────────────────────── */
footer {
  padding: 22px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--black);
}

.footer-logo span {
  color: var(--blue);
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 0.73rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.footer-nav {
  display: flex;
  gap: 22px;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: var(--black);
}

/* ──────────────────────────────────────────────
   18. MODAL
────────────────────────────────────────────── */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-bg.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 488px;
  max-height: 90svh;
  overflow-y: auto;
  background: var(--white);
  border: 0.5px solid var(--line);
  box-shadow: 0 20px 72px rgba(0, 0, 0, 0.09);
  animation: modal-in 0.24s var(--ease) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.modal-head {
  padding: 20px 22px;
  border-bottom: 0.5px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
}

.modal-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 300;
}

.modal-close {
  width: 28px;
  height: 28px;
  border: 0.5px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
  cursor: pointer;
}

.modal-close:hover {
  border-color: var(--black);
  color: var(--black);
}

.modal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 3px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 1.625rem;
  cursor: pointer;
  color: var(--line);
  transition: color 0.12s;
  line-height: 1;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--blue);
}

.form-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-check label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

/* Modal success state */
.modal-success {
  padding: 48px 22px;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-success.visible {
  display: flex;
}

.success-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
}

.success-heading {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--black);
}

.success-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 280px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────────
   19. TOAST
────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1100;
  background: var(--black);
  color: var(--white);
  padding: 11px 16px;
  border: 0.5px solid var(--black);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateY(48px);
  opacity: 0;
  transition: all 0.28s var(--ease);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-dot {
  width: 5px;
  height: 5px;
  background: var(--blue);
  flex-shrink: 0;
  border-radius: 50%;
}

/* ──────────────────────────────────────────────
   20. SCROLL REVEAL
────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }

/* ──────────────────────────────────────────────
   21. RESPONSIVE
────────────────────────────────────────────── */

/* Tablet landscape ≤1100px */
@media (max-width: 1100px) {
  .wrap { padding: 0 32px; }
  .hero-bar { padding: 16px 32px; }
  .hero-name-wrap { padding: 0 32px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot-left { border-right: none; border-bottom: 0.5px solid var(--line); padding: 22px 32px; }
  .hero-foot-right { align-items: flex-start; flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 32px; min-width: unset; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 0.5px solid var(--line); }
  .cta-strip { padding: 52px 32px; }
}

/* Tablet portrait ≤768px */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }

  .nav-links,
  .nav-btn { display: none; }
  .burger { display: flex; }

  .hero-bar { padding: 14px 20px; }
  .hero-name-wrap { padding: 0 20px; }
  .hero-name { font-size: clamp(3.25rem, 17vw, 7rem); letter-spacing: -0.03em; }
  .hero-foot-left { padding: 18px 20px; }
  .hero-foot-right { padding: 18px 20px; flex-direction: column; gap: 16px; }
  .hero-cta { flex-wrap: wrap; }
  .btn-solid,
  .btn-ghost { padding: 11px 20px; font-size: 0.74rem; }

  .svc-item { grid-template-columns: 1fr; }
  .svc-num { display: none; }
  .svc-main { border-right: none; border-bottom: 0.5px solid var(--line); padding: 20px 18px; }
  .svc-aside { padding: 14px 18px; }
  .svc-arrow { margin-top: 0; }

  .proj-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .proj-tabs { width: 100%; }
  .proj-tab { flex: 1; text-align: center; padding: 9px 8px; font-size: 0.68rem; }
  .proj-grid { grid-template-columns: 1fr; }

  .skills-wrap { grid-template-columns: 1fr; }
  .tools-row { flex-direction: column; align-items: flex-start; gap: 11px; }
  .tools-label { border-right: none; padding-right: 0; border-bottom: 0.5px solid var(--line); padding-bottom: 9px; width: 100%; }

  .process-row { grid-template-columns: 1fr 1fr; border-right: 0.5px solid var(--line); }
  .process-cell { border-right: none; border-bottom: 0.5px solid var(--line); }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-empty { padding: 48px 20px; }
  .review-cta { flex-direction: column; gap: 14px; }
  .review-cta .btn-solid { width: 100%; text-align: center; justify-content: center; }

  .contact-left { padding: 24px 20px; }
  .contact-right { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-strip { padding: 48px 20px; flex-direction: column; align-items: flex-start; gap: 22px; }
  .cta-buttons { width: 100%; }
  .btn-white,
  .btn-white-ghost { flex: 1; text-align: center; justify-content: center; padding: 13px 14px; }

  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { justify-content: center; }

  .modal-bg { padding: 12px; }
  .modal-body,
  .modal-head { padding: 18px; }
}

/* Small mobile ≤480px */
@media (max-width: 480px) {
  .hero-name { font-size: clamp(2.75rem, 15.5vw, 5rem); }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .stat-num { font-size: 1.625rem; }
  .process-row { grid-template-columns: 1fr; }
  .proj-thumb { height: 150px; }
  .testi-empty { padding: 40px 16px; }
  .section-heading { font-size: clamp(1.75rem, 7.5vw, 2.5rem); }
  .testi-verified { display: none; }
}

/* Very small ≤360px */
@media (max-width: 360px) {
  .wrap { padding: 0 14px; }
  .hero-bar { padding: 12px 14px; }
  .hero-name-wrap { padding: 0 14px; }
  .hero-foot-left,
  .hero-foot-right { padding: 16px 14px; }
  .hero-name { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; }
  .btn-solid,
  .btn-ghost { width: 100%; text-align: center; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  @keyframes pulse-anim { from {} to {} }
}