/* ═══════════════════════════════════════════════════════════
   DESIGN SYSTEM & TOKENS — Minimal Editorial Cream & Forest
═══════════════════════════════════════════════════════════ */
:root {
  --bg: #FBF8F3;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-tint: #F3EFE8;
  --sage: #E8F0EC;
  --sage-border: #D6E4DC;
  --ink: #142823;
  --ink-secondary: #2C3E39;
  --muted: #566963;
  --line: #E5DFD5;
  --line-soft: #EFEBE3;
  --teal: #143E38;
  --teal-hover: #0C2E29;
  --teal-ink: #FFFFFF;
  --teal-light: #E8F0EC;
  --gold: #DDA224;
  --wa: #1FA855;
  --shadow-sm: 0 4px 12px rgba(20, 40, 35, 0.04);
  --shadow-md: 0 12px 32px rgba(20, 40, 35, 0.07);
  --shadow-lg: 0 20px 48px rgba(20, 40, 35, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-headline: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

:root[data-theme="dark"] {
  --bg: #0C1715;
  --bg-alt: #101F1C;
  --surface: #142823;
  --surface-tint: #18312B;
  --sage: #18332C;
  --sage-border: #23493F;
  --ink: #EDF5F2;
  --ink-secondary: #C8DCD5;
  --muted: #8FAEA4;
  --line: #22423A;
  --line-soft: #1B352E;
  --teal: #42B3A3;
  --teal-hover: #58C5B6;
  --teal-ink: #071C17;
  --teal-light: #16362F;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1715;
    --bg-alt: #101F1C;
    --surface: #142823;
    --surface-tint: #18312B;
    --sage: #18332C;
    --sage-border: #23493F;
    --ink: #EDF5F2;
    --ink-secondary: #C8DCD5;
    --muted: #8FAEA4;
    --line: #22423A;
    --line-soft: #1B352E;
    --teal: #42B3A3;
    --teal-hover: #58C5B6;
    --teal-ink: #071C17;
    --teal-light: #16362F;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

.skip {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  transition: top 0.2s;
}

.skip:focus {
  top: 10px;
}

/* Section styling */
.sec {
  padding-block: 84px;
  background: var(--bg);
}

.sec.alt {
  background: var(--bg-alt);
}

/* Scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sec-head {
  margin-bottom: 44px;
}

.sec-head.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
  display: inline-block;
}

.sec-head h2 {
  font-family: var(--font-headline);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.sec-head p.muted {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-teal {
  background: var(--teal);
  color: var(--teal-ink) !important;
}

.btn-teal:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 62, 56, 0.2);
}

.btn-line {
  background: var(--surface);
  color: var(--ink) !important;
  border-color: var(--line);
}

.btn-line:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
  background: var(--teal-light);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVBAR
═══════════════════════════════════════════════════════════ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

:root[data-theme="dark"] .hdr {
  background: rgba(12, 23, 21, 0.88);
}

.hdr.stuck {
  border-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  font-family: var(--font-headline);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

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

.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.nav a:hover,
.nav a.on {
  color: var(--ink);
}

.nav a.on::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  border-radius: 99px;
}

.hdr-act {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.ic-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.ic-btn svg {
  width: 17px;
  height: 17px;
}

.burger {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  padding-block: 60px 80px;
  background: var(--bg);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-family: var(--font-headline);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

.teal-text {
  color: var(--teal);
}

.hero-content .lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-tech-line {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-tech-line strong {
  color: var(--ink);
  font-weight: 700;
}

/* Hero Browser Preview Mockup */
.hero-device {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-device:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line-soft);
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.dot-red {
  background: #FF5F56;
}

.dot-yellow {
  background: #FFBD2E;
}

.dot-green {
  background: #27C93F;
}

.browser-url {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.browser-url:hover {
  color: var(--teal);
}

.browser-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--wa);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-device-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo::before {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  max-width: 92%;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, var(--sage) 0%, rgba(214, 228, 220, 0.75) 100%);
  border: 2px solid var(--sage-border);
  box-shadow: 0 16px 40px rgba(20, 62, 56, 0.08);
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  /* Fade the bottom of the circle so no hard border line cuts across the chest */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  transition: background 0.3s ease, border-color 0.3s ease;
}

:root[data-theme="dark"] .hero-photo::before {
  background: radial-gradient(circle at 45% 35%, #18332C 0%, #0F231E 100%);
  border-color: #23493F;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.hero-photo-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 14px 28px rgba(20, 40, 35, 0.12));

  /* Multi-directional mask: dissolves bottom cut AND left/right shoulder cuts seamlessly */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 68%, transparent 96%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 68%, transparent 96%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;

  transition: transform 0.3s ease;
}

.hero-photo:hover .hero-photo-frame img {
  transform: translateY(-3px) scale(1.01);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.hero-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.chip-1 {
  top: 6%;
  left: -8%;
}

.chip-2 {
  top: 45%;
  right: -6%;
}

.chip-3 {
  bottom: 10%;
  left: -4%;
}

@media (max-width: 980px) {
  .hero-photo {
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-photo::before {
    width: 300px;
    height: 300px;
  }

  .hero-photo-frame img {
    width: 300px;
  }

  .chip-1 {
    left: -2%;
  }

  .chip-2 {
    right: -2%;
  }

  .chip-3 {
    left: 0;
  }
}

@media (max-width: 540px) {
  .hero-photo {
    max-width: 290px;
  }

  .hero-photo::before {
    width: 260px;
    height: 260px;
  }

  .hero-photo-frame img {
    width: 260px;
  }

  .hero-chip {
    font-size: 12px;
    padding: 6px 12px;
  }

  .chip-1 {
    top: 2%;
    left: 0;
  }

  .chip-2 {
    top: 50%;
    right: 0;
  }

  .chip-3 {
    bottom: 4%;
    left: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   FEATURED PROJECTS (3-Column Grid)
═══════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.project-top-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--sage);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.project-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-preview-img {
  transform: scale(1.03);
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-category {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.project-card h3 {
  font-family: var(--font-headline);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.project-purpose-box {
  background: var(--surface-tint);
  border-left: 3px solid var(--teal);
  padding: 9px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.project-purpose-box strong {
  color: var(--teal);
  font-weight: 800;
}

.project-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.project-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 4px;
}

.project-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.project-points li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  flex-shrink: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
}

.project-tags span {
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-tint);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
}

.project-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.btn-card-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: var(--teal-ink) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-card-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
}

.btn-card-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-card-subtle:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

/* ═══════════════════════════════════════════════════════════
   SKILLS & TECH (Grouped Honestly)
═══════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}

.skill-card h3 {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

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

.skill-tags span {
  font-size: 13px;
  font-weight: 600;
  background: var(--surface-tint);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
}

.skills-learning {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.learning-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.learning-tags span {
  font-size: 13px;
  font-weight: 600;
  background: var(--teal-light);
  color: var(--teal);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage-border);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION (2-Column Editorial)
═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.about-left h2 {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 10px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.7;
}

.about-act {
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES & HOW A PROJECT RUNS
═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* How a project runs */
.process-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.process-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px solid var(--teal);
  padding-top: 14px;
}

.step-num {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   PRICING SECTION
═══════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
}

.featured-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.tier-name {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.tier-price {
  font-family: var(--font-headline);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.tier-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.tier-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tier-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  flex-shrink: 0;
}

.pricing-care {
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.care-info strong {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-right: 12px;
}

.care-info span {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
}

.care-points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.care-points span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.care-points span::before {
  content: "•";
  color: var(--teal);
}

.pricing-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION (2-Column Form + Dark Teal Card)
═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.contact-form-side h2 {
  font-family: var(--font-headline);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 8px;
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
  outline: none;
}

.form-msg {
  font-size: 13.5px;
  font-weight: 700;
  color: #C0392B;
}

.btn-submit {
  align-self: flex-start;
  padding: 12px 28px;
}

.form-subnote {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: -6px;
}

/* Dark Teal Contact Information Card */
.contact-info-card {
  background: var(--teal);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

:root[data-theme="dark"] .contact-info-card {
  background: #142E28;
  border: 1px solid var(--line);
}

.contact-info-card h3 {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.info-value {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.info-value a {
  color: #FFFFFF;
  transition: opacity 0.2s;
}

.info-value a:hover {
  opacity: 0.85;
}

.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.pill-btn:hover {
  background: #FFFFFF;
  color: var(--teal);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding-block: 32px;
}

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

.footer-copy {
  font-size: 14px;
  color: var(--muted);
}

.back-top {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
  transition: transform 0.2s;
}

.back-top:hover {
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (Tablets & Mobile)
═══════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .burger {
    display: flex;
  }

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

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

  .sec {
    padding-block: 60px;
  }

  .hero {
    padding-block: 40px 60px;
  }
}