/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --bg:        #F5F3EF;
  --bg-dim:    #ECEAE5;
  --ink:       #141210;
  --ink-mid:   #3A3530;
  --ink-soft:  #6B6560;
  --ink-ghost: #A8A39D;
  --green:     #3D6B4F;
  --green-dim: #D6E5DC;
  --dark-bg:   #141210;
  --dark-line: rgba(255,255,255,0.08);
  --line:      rgba(0,0,0,0.08);
  --white:     #FFFFFF;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'IBM Plex Sans', system-ui, sans-serif;

  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:         0.35s;
  --max:       1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--f-body); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.5rem 0;
  transition: background var(--t), border-color var(--t), padding var(--t);
  border-bottom: 1px solid transparent;
}
nav.stuck {
  background: rgba(245,243,239,0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 1rem 0;
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.logo b { font-weight: 500; color: var(--green); }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-list a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color var(--t);
}
.nav-list a:hover { color: var(--ink); }
.nav-cta {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  padding: 0.55rem 1.25rem;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: 2px;
  transition: background var(--t), color var(--t);
}
.nav-cta:hover {
  background: var(--green) !important;
  color: #fff !important;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 2px;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--t);
}
.mob-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 899;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  transition: color var(--t);
}
.mob-nav a:hover { color: var(--green); }
.mob-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 6rem;
  padding-left: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
  position: relative;
}
.hero-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.7s var(--ease) 0.15s forwards;
}
.kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  animation: up 0.8s var(--ease) 0.3s forwards;
}
.hero-h1 em { font-style: italic; color: var(--ink-mid); }

.hero-body {
  margin-top: 2rem;
  max-width: 400px;
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.7s var(--ease) 0.48s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.75rem;
  opacity: 0;
  animation: up 0.7s var(--ease) 0.62s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61,107,79,0.22);
}
.btn svg { transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.link-quiet {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color var(--t), border-color var(--t);
}
.link-quiet:hover { color: var(--ink); border-color: var(--ink-soft); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: up 0.7s var(--ease) 0.78s forwards;
}
.hero-stat-n {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.hero-stat-l {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-top: 0.3rem;
}

/* ─────────────────────────────────────────
   HERO RIGHT — Abstract Visual
───────────────────────────────────────── */
.hero-right {
  position: relative;
  background: var(--bg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 3rem 4rem;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 40% 50%, rgba(61,107,79,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(61,107,79,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 480px;
  opacity: 0;
  animation: heroVisualIn 1s var(--ease) 0.4s forwards;
}

/* Floating cards */
.hv-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 20px 50px rgba(0,0,0,0.1);
}

/* Card 1 — small snippet card, top-left */
.hv-card-1 {
  top: 20px;
  left: 0;
  width: 180px;
  padding: 1.1rem 1.2rem;
  opacity: 0;
  animation: cardFloat1 0.8s var(--ease) 0.7s forwards;
  z-index: 3;
}
.hv-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-bottom: 0.9rem;
}
.hv-card-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hv-card-lines span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-dim);
}

/* Card 2 — layout wireframe card, center */
.hv-card-2 {
  top: 80px;
  right: 10px;
  width: 240px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  animation: cardFloat2 0.8s var(--ease) 0.55s forwards;
  z-index: 2;
}
.hv-card-header {
  display: flex;
  gap: 5px;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(236,234,229,0.5);
}
.hv-card-header .hv-card-dot {
  width: 6px;
  height: 6px;
  margin-bottom: 0;
}
.hv-card-header .hv-card-dot:nth-child(1) { background: #FF5F57; }
.hv-card-header .hv-card-dot:nth-child(2) { background: #FFBD2E; }
.hv-card-header .hv-card-dot:nth-child(3) { background: #28C840; }
.hv-card-blocks {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hv-block {
  border-radius: 3px;
  background: var(--bg-dim);
}
.hv-block-wide {
  width: 100%;
  height: 60px;
}
.hv-block-short {
  height: 24px;
}
.hv-block-row {
  display: flex;
  gap: 0.6rem;
}
.hv-block-half {
  flex: 1;
  height: 40px;
}

/* Card 3 — code snippet card, bottom-left */
.hv-card-3 {
  bottom: 50px;
  left: 20px;
  width: 220px;
  padding: 1rem 1.2rem;
  opacity: 0;
  animation: cardFloat3 0.8s var(--ease) 0.9s forwards;
  z-index: 4;
  background: var(--ink);
  border-color: rgba(255,255,255,0.08);
}
.hv-card-code {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: 'IBM Plex Sans', monospace;
  font-size: 0.68rem;
  line-height: 1.65;
}
.code-tag { color: var(--green); }
.code-prop { color: rgba(245,243,239,0.5); }
.code-prop em { font-style: normal; color: rgba(245,243,239,0.8); }

/* Decorative rings */
.hv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(61,107,79,0.12);
  pointer-events: none;
}
.hv-ring-1 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ringIn 1.2s var(--ease) 0.3s forwards;
}
.hv-ring-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  border-color: rgba(61,107,79,0.08);
  opacity: 0;
  animation: ringIn 1.2s var(--ease) 0.5s forwards;
}

/* Dot grid background */
.hv-dot-grid {
  position: absolute;
  top: 30px;
  right: 20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(61,107,79,0.15) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.6s forwards;
  pointer-events: none;
}

/* Accent lines */
.hv-accent-line {
  position: absolute;
  background: var(--green);
  pointer-events: none;
  opacity: 0;
}
.hv-accent-line-1 {
  width: 50px;
  height: 1.5px;
  bottom: 130px;
  right: 40px;
  animation: lineIn 0.6s var(--ease) 1.1s forwards;
}
.hv-accent-line-2 {
  width: 1.5px;
  height: 50px;
  top: 60px;
  left: 50%;
  animation: lineIn 0.6s var(--ease) 1.2s forwards;
}

/* Float tag */
.hv-float-tag {
  position: absolute;
  bottom: 25px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.45rem 0.9rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0;
  animation: up 0.6s var(--ease) 1.3s forwards;
  z-index: 5;
}
.hv-float-tag svg { color: var(--green); }

/* Hero visual keyframes */
@keyframes heroVisualIn {
  to { opacity: 1; }
}
@keyframes cardFloat1 {
  from { opacity: 0; transform: translateY(20px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(-2deg); }
}
@keyframes cardFloat2 {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cardFloat3 {
  from { opacity: 0; transform: translateY(16px) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(1deg); }
}
@keyframes ringIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes lineIn {
  from { opacity: 0; }
  to { opacity: 0.4; }
}

/* Subtle continuous float animation */
.hv-card-1 { animation: cardFloat1 0.8s var(--ease) 0.7s forwards, gentleFloat 6s ease-in-out 1.5s infinite; }
.hv-card-2 { animation: cardFloat2 0.8s var(--ease) 0.55s forwards, gentleFloat2 7s ease-in-out 1.4s infinite; }
.hv-card-3 { animation: cardFloat3 0.8s var(--ease) 0.9s forwards, gentleFloat3 5.5s ease-in-out 1.7s infinite; }

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes gentleFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes gentleFloat3 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}


/* ─────────────────────────────────────────
   MARQUEE STRIP
───────────────────────────────────────── */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  overflow: hidden;
  background: var(--white);
}
.strip-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.75rem;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  white-space: nowrap;
}
.strip-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
#about { padding: 7rem 0; }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 6rem;
  align-items: start;
}
.about-intro {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.about-intro em { font-style: italic; color: var(--ink-soft); }
.about-body {
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.85;
}
.about-body p + p { margin-top: 1rem; }

.team-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.team-item {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--t);
}
.team-item:last-child { border-bottom: none; }
.team-item:hover { background: var(--white); }
.team-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t);
}
.team-item:hover::before { transform: scaleY(1); }
.team-person {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
}
.team-city {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 0.2rem;
}
.team-note {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  line-height: 1.65;
}

/* Team social icons */
.team-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.team-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-ghost);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.team-social:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-dim);
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
#services {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.services-h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}
.services-h2 em { font-style: italic; color: var(--ink-soft); }
.services-note {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
}
.services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.svc {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  transition: background var(--t);
}
.svc:last-child { border-right: none; }
.svc:hover { background: var(--bg); }
.svc-icon {
  width: 34px; height: 34px;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.svc-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.svc-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   PROJECTS
───────────────────────────────────────── */
#projects {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
}

#projects .wrap {
  max-width: 1500px;
}
.projects-h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 5rem;
}
.projects-h2 em { font-style: italic; color: var(--ink-soft); }

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}
.case:first-of-type { border-top: none; padding-top: 0; }
.case.flip .case-screen { order: -1; }
.case.flip .case-info { order: 1; }

.case-num {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-ghost);
  margin-bottom: 1rem;
}
.case-title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.case-client {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.75rem;
}
.case-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
}
.case-text + .case-text { margin-top: 0.9rem; }
.case-quote {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-dim);
  border-left: 2px solid var(--green);
}
.case-quote p {
  font-family: var(--f-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.55;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t), gap var(--t);
}
.case-link:hover { color: var(--green); border-color: var(--green); gap: 0.8rem; }

.case-screen {
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-dim);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  position: relative;
}
.cs-bar {
  background: #DEDAD4;
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cs-dot { width: 9px; height: 9px; border-radius: 50%; }
.cs-dot:nth-child(1) { background: #FF5F57; }
.cs-dot:nth-child(2) { background: #FFBD2E; }
.cs-dot:nth-child(3) { background: #28C840; }
.cs-inner {
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
}
.cs-inner iframe {
  width: 200%; height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  border: none;
  pointer-events: none;
}

.cs-ext {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  width: 34px; height: 34px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  transition: background var(--t), transform var(--t);
}
.cs-ext:hover { background: var(--green); transform: scale(1.1) rotate(-10deg); }

/* ─────────────────────────────────────────
   PROCESS
───────────────────────────────────────── */
#process {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg-dim);
}
.process-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.process-h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}
.process-h2 em { font-style: italic; color: var(--ink-soft); }
.process-note {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}
.steps::before {
  content: '';
  position: absolute;
  top: 1.65rem; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 0 0;
}
.step-circle {
  width: 3.3rem; height: 3.3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: background var(--t), border-color var(--t);
}
.step:hover .step-circle { background: var(--green-dim); border-color: var(--green); }
.step-n {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  transition: color var(--t);
}
.step:hover .step-n { color: var(--green); }
.step-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   PRICING
───────────────────────────────────────── */
#pricing {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.pricing-h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  max-width: 480px;
  margin-bottom: 0.75rem;
}
.pricing-h2 em { font-style: italic; color: var(--ink-soft); }
.pricing-note {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 4rem;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2.25rem;
  background: var(--bg);
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.07); }
.plan.pick {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-6px);
}
.plan.pick:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(20,18,16,0.18); }
.plan-flag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-tier {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-bottom: 1.25rem;
}
.plan.pick .plan-tier { color: rgba(245,243,239,0.45); }
.plan-price {
  font-family: var(--f-display);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.plan.pick .plan-price { color: var(--bg); }
.plan-price sup {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 300;
  vertical-align: top;
  margin-top: 0.5rem;
  display: inline-block;
  color: var(--ink-soft);
}
.plan.pick .plan-price sup { color: rgba(245,243,239,0.45); }
.plan-rule { height: 1px; background: var(--line); margin: 1.5rem 0; }
.plan.pick .plan-rule { background: rgba(245,243,239,0.1); }
.plan-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.7;
}
.plan.pick .plan-desc { color: rgba(245,243,239,0.65); }
.plan-items {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.plan-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--ink-soft);
}
.plan.pick .plan-item { color: rgba(245,243,239,0.7); }
.pi-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.plan-btn {
  display: block;
  text-align: center;
  margin-top: 2rem;
  padding: 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 2px;
  background: none;
  transition: background var(--t), color var(--t), border-color var(--t);
  cursor: pointer;
  text-decoration: none;
}
.plan-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan.pick .plan-btn { background: var(--green); color: #fff; border-color: var(--green); }
.plan.pick .plan-btn:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.guarantee {
  margin-top: 3rem;
  max-width: 520px;
  padding: 1.5rem;
  border: 1px dashed rgba(61,107,79,0.3);
  border-radius: 3px;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.guarantee svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.g-text {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.55;
}
.g-text span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ink-ghost);
}

/* ─────────────────────────────────────────
   TRUST + FAQ
───────────────────────────────────────── */
#trust { padding: 7rem 0; border-top: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.trust-h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 3rem;
}
.trust-h2 em { font-style: italic; color: var(--ink-soft); }
.trust-pts { display: flex; flex-direction: column; gap: 2rem; }
.tp { display: flex; gap: 1.25rem; align-items: flex-start; }
.tp-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--bg-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: background var(--t);
}
.tp:hover .tp-icon { background: var(--green-dim); }
.tp-title { font-size: 0.88rem; font-weight: 500; color: var(--ink); margin-bottom: 0.3rem; }
.tp-desc { font-size: 0.85rem; font-weight: 300; color: var(--ink-soft); line-height: 1.7; }

.faq { display: flex; flex-direction: column; }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.faq-plus {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--ink-ghost);
  transition: transform var(--t), color var(--t);
}
.faq-i.on .faq-plus { transform: rotate(45deg); color: var(--green); }
.faq-a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.3s;
}
.faq-i.on .faq-a { max-height: 200px; padding-bottom: 1.25rem; }

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
#contact {
  padding: 7rem 0;
  background: var(--dark-bg);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 85% 50%, rgba(61,107,79,0.07) 0%, transparent 60%),
              radial-gradient(ellipse 30% 40% at 5% 50%, rgba(61,107,79,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.contact-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.contact-h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 1.5rem;
}
.contact-h2 em { font-style: italic; color: var(--green); }
.contact-body {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245,243,239,0.55);
  line-height: 1.8;
}
.contact-links {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245,243,239,0.5);
  transition: color var(--t);
}
.contact-link svg { color: var(--green); flex-shrink: 0; }
.contact-link:hover { color: var(--bg); }

.form { display: flex; flex-direction: column; gap: 0.9rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.f-field { display: flex; flex-direction: column; gap: 0.35rem; }
.f-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.35);
}
.f-field input,
.f-field textarea,
.f-field select {
  background: rgba(245,243,239,0.05);
  border: 1px solid rgba(245,243,239,0.1);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--bg);
  outline: none;
  transition: border-color var(--t), background var(--t);
  -webkit-appearance: none;
  appearance: none;
}
.f-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(245,243,239,0.3)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.f-field select option { background: #1e1c19; color: var(--bg); }
.f-field input::placeholder, .f-field textarea::placeholder { color: rgba(245,243,239,0.2); }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus {
  border-color: var(--green);
  background: rgba(61,107,79,0.05);
}
.f-field textarea { resize: vertical; min-height: 100px; }

/* Highlight animation for plan select */
.f-field select.plan-highlight {
  border-color: var(--green);
  background: rgba(61,107,79,0.08);
  animation: planPulse 0.6s ease;
}
@keyframes planPulse {
  0% { box-shadow: 0 0 0 0 rgba(61,107,79,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(61,107,79,0.1); }
  100% { box-shadow: 0 0 0 0 rgba(61,107,79,0); }
}

.f-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.f-submit:hover { background: #4e8863; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,107,79,0.3); }
.f-submit svg { transition: transform var(--t); }
.f-submit:hover svg { transform: translateX(4px); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: #0A0907;
  padding: 2.25rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245,243,239,0.4);
  letter-spacing: 0.04em;
}
.footer-logo b { color: var(--green); font-weight: 500; }
.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.25);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--green); }
.footer-copy { font-size: 0.72rem; color: rgba(245,243,239,0.2); }

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.rv.show { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────── */
@keyframes up {
  to { opacity: 1; transform: none; }
}
@keyframes mockupIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  #hero { grid-template-columns: 1fr; }
  .hero-left { padding: 7rem 2rem 4rem; min-height: 100svh; justify-content: flex-end; padding-bottom: 3rem; }
  .hero-left::after { display: none; }
  .hero-right { display: none; }
  .about-grid, .services-head, .process-head, .contact-inner, .trust-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-row { grid-template-columns: 1fr; border: none; border-radius: 0; }
  .svc { border: 1px solid var(--line); border-radius: 3px; }
  .case { grid-template-columns: 1fr; gap: 3rem; }
  .case.flip .case-screen, .case.flip .case-info { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; }
  .plan.pick { transform: none; }
  .plan.pick:hover { transform: translateY(-5px); }
  .nav-list { display: none; }
  .burger { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
@media (max-width: 540px) {
  .hero-h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .f-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   ADDITIONS — append these to end of your style.css
───────────────────────────────────────── */

/* Services second row seamless connection */
.services-row-2 {
  margin-top: -1px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.services-row:not(.services-row-2) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* ─────────────────────────────────────────
   PORTFOLIO PAGE
───────────────────────────────────────── */
.portfolio-hero {
  padding: 10rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.portfolio-hero .hero-kicker,
.portfolio-hero .hero-h1,
.portfolio-hero .hero-body {
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.7s var(--ease) 0.15s forwards;
}

/* Portfolio CTA banner */
.portfolio-cta {
  padding: 6rem 0;
  background: var(--bg-dim);
  border-top: 1px solid var(--line);
}
.pcta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.pcta-h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
.pcta-h2 em {
  font-style: italic;
  color: var(--green);
}

/* Responsive addition for second services row */
@media (max-width: 960px) {
  .services-row-2 {
    grid-template-columns: 1fr;
    border: none;
    border-radius: 0;
    margin-top: 0;
  }
  .services-row-2 .svc {
    border: 1px solid var(--line);
    border-radius: 3px;
  }
}