:root {
  --bg: #ffffff;
  --mint: #eaf5ee;
  --mint-icon: #dcefe1;
  --text: #14181a;
  --muted: #5f6b64;
  --accent-dark: #173a26;
  --accent: #3fae6f;
  --dark: #0e1712;
  --dark2: #0a100c;
  --dark-text: #f2f4f2;
  --dark-muted: #93a297;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --hand: "Caveat", cursive;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
}
a {
  color: inherit;
}
.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1220px;
  margin: 0 auto;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.navlinks {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.navlinks a {
  text-decoration: none;
  padding-bottom: 4px;
}
.navlinks a.active {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}
@media (max-width: 760px) {
  .navlinks {
    display: none;
  }
}

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-toggle:focus-visible ~ nav .menu-btn {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}
.menu-btn {
  display: none;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 13px;
  border: 1px solid var(--text);
  border-radius: 6px;
  margin-left: 10px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid #e5e7eb;
  padding: 6px 32px 16px;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0ef;
}
.mobile-menu a:last-child {
  border-bottom: none;
  font-weight: 600;
  color: var(--accent-dark);
}
@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #menu-toggle:checked ~ nav .mobile-menu,
  #menu-toggle:checked ~ .mobile-menu {
    display: flex;
  }
  nav {
    padding: 16px 20px;
  }
  nav .btn.dark {
    display: none;
  }
}
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid var(--text);
}
.btn.dark {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
}
.btn.green {
  background: var(--accent);
  color: #0a1a10;
  border-color: var(--accent);
  font-weight: 700;
}

header.hero {
  background: var(--mint);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  padding: 32px 32px 56px;
  max-width: 1220px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}
.kicker {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.lede {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 24px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.traits {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.traits span::before {
  content: "✓ ";
  color: var(--accent-dark);
  font-weight: 700;
}
.hero-photo {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 16px;
  background: var(--mint);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(25, 45, 35, 0.14);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}
.hero-photo:hover img {
  transform: scale(1.02);
}
.sticky {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: var(--hand);
  font-size: 19px;
  line-height: 1.15;
  transform: rotate(-2deg);
  box-shadow: 0 6px 16px #00000030;
}

section {
  padding: 64px 32px;
  max-width: 1220px;
  margin: 0 auto;
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 10px;
}
.section-sub {
  color: var(--muted);
  max-width: 58ch;
  font-size: 15px;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 950px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
}
.about-photo {
  aspect-ratio: 1/1.05;
  border-radius: 10px;
  background: #eaf5ee;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.about p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid #e5e7eb;
  padding-left: 28px;
}
@media (max-width: 950px) {
  .stats {
    border-left: none;
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.stat .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.stat b {
  font-family: var(--display);
  font-size: 17px;
  display: block;
}
.stat span {
  color: var(--muted);
  font-size: 12.5px;
}

.services-sec {
  background: var(--mint);
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
@media (max-width: 900px) {
  .grid4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .grid4 {
    grid-template-columns: 1fr;
  }
}
.scard {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
}
.icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 14px;
}
.scard h3 {
  font-family: var(--display);
  font-size: 15.5px;
  margin: 0 0 8px;
}
.scard p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* Work overview: category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
@media (max-width: 900px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}
.cat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.cat-card:hover {
  border-color: var(--accent);
}
.cat-card h3 {
  font-family: var(--display);
  font-size: 17px;
  margin: 0 0 6px;
}
.cat-card .count {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 13px;
}

/* Work / project list */
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}
.back {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #dfe3e0;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--body);
  text-decoration: none;
}
.pill.active {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 950px) {
  .pgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}
.pcard {
  text-decoration: none;
  color: var(--text);
  display: block;
}
.pcard-thumb {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: #0e120f;
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #111;
}
.tag {
  display: inline-block;
  background: var(--mint-icon);
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.pcard h4 {
  font-family: var(--display);
  font-size: 15.5px;
  margin: 0 0 8px;
}
.pcard p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tool {
  font-size: 10.5px;
  color: var(--muted);
  background: var(--mint);
  padding: 3px 8px;
  border-radius: 8px;
}
.viewp {
  font-size: 13px;
  font-weight: 600;
}
.empty {
  color: var(--muted);
  font-size: 14px;
  padding: 40px 0;
}

/* Project detail */
.proj-meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.proj-media {
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: #0e120f;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.proj-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.proj-block {
  margin-bottom: 28px;
  max-width: 70ch;
}
.proj-block h3 {
  font-family: var(--display);
  font-size: 16px;
  margin: 0 0 8px;
}
.proj-block p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

footer.cta {
  background: var(--dark);
  color: var(--dark-text);
  padding: 60px 32px;
}
.cta-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
footer.cta h2 {
  color: var(--dark-text);
  margin-bottom: 6px;
}
footer.cta .sub {
  color: var(--dark-muted);
  font-size: 14.5px;
  margin: 0;
}
.badges {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--dark-muted);
}
.badges span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.contact-links a {
  color: var(--dark-text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-links a:hover {
  color: var(--accent);
}
.fb-links a.icon {
  font-weight: 600;
}

.footbottom {
  background: var(--dark2);
  color: var(--dark-text);
  padding: 30px 32px 36px;
}
.fb-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.fb-inner .logo {
  color: var(--dark-text);
}
.fb-sub {
  color: var(--dark-muted);
  font-size: 12.5px;
  margin-top: 4px;
}
.fb-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--dark-muted);
  align-items: center;
}
.fb-links a {
  text-decoration: none;
}
.fb-right {
  text-align: right;
  font-size: 11px;
  color: var(--dark-muted);
  letter-spacing: 0.06em;
}

/* Fake screenshot thumbnails for project cards */
.fake-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #121814;
}
.fake-topbar {
  height: 20px;
  background: #1c2420;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
}
.fake-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #33413a;
}
.fake-body {
  flex: 1;
  padding: 12px;
  display: flex;
  gap: 10px;
  min-height: 0;
}
.fake-sidebar {
  width: 22%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fake-sbar {
  height: 6px;
  border-radius: 3px;
  background: #232e28;
}
.fake-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.fake-row {
  height: 7px;
  border-radius: 4px;
  background: #232e28;
}
.fake-row.short {
  width: 55%;
}
.fake-card {
  flex: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a231e, #141a16);
  border: 1px solid #24302a;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hover polish */
.scard {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.scard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px #00000014;
}
.cat-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
}
.pcard-thumb {
  transition: transform 0.35s ease;
}
.pcard:hover .pcard-thumb {
  transform: scale(1.025);
}
.btn {
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.stat .ic {
  transition: transform 0.2s ease;
}
.stat:hover .ic {
  transform: scale(1.12);
}
.navlinks a {
  position: relative;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.navlinks a:hover::after {
  width: 100%;
}

/* Sticky note gentle float */
.sticky {
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-6px);
  }
}

/* About page */
.hero-photo.portrait{aspect-ratio:4/5;max-width:380px;margin-left:auto;}
.story-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:56px;align-items:start;margin-top:40px;}
@media (max-width:900px){.story-grid{grid-template-columns:1fr;gap:32px;}}
.story-aside{position:sticky;top:100px;}
.story-aside p{color:var(--muted);font-size:14px;line-height:1.6;max-width:26ch;}
.story-copy p{color:var(--muted);font-size:15px;line-height:1.75;margin:0 0 20px;max-width:70ch;}
.story-copy strong{color:var(--text);}
.highlight{margin:34px 0;padding:26px 28px;border-left:3px solid var(--accent);background:var(--mint);border-radius:0 10px 10px 0;}
.highlight p{margin:0;font-family:var(--display);font-size:19px;line-height:1.4;color:var(--text);}

.timeline{position:relative;margin-top:40px;}
.timeline::before{content:"";position:absolute;left:10px;top:6px;bottom:6px;width:1px;background:#d7ded9;}
.titem{position:relative;display:grid;grid-template-columns:22px 110px 1fr;gap:20px;padding-bottom:38px;}
@media (max-width:640px){.titem{grid-template-columns:22px 1fr;} .tyear{grid-column:2;grid-row:1;} .tcontent{grid-column:2;}}
.tdot{width:21px;height:21px;border:4px solid #fff;border-radius:50%;background:var(--accent-dark);box-shadow:0 0 0 1px #d7ded9;z-index:1;}
.tyear{color:var(--accent-dark);font-size:12px;font-weight:700;letter-spacing:.04em;padding-top:2px;}
.tcontent h3{font-family:var(--display);font-size:16.5px;margin:0 0 8px;}
.tcontent p{color:var(--muted);font-size:14px;line-height:1.65;margin:0;max-width:60ch;}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:34px;}
@media (max-width:780px){.grid3{grid-template-columns:1fr;}}
.pnum{font-family:var(--display);font-size:26px;color:var(--accent-dark);margin-bottom:16px;}

.direction-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;}
@media (max-width:900px){.direction-grid{grid-template-columns:1fr;}}
.direction-visual{background:var(--dark);color:var(--dark-text);border-radius:14px;padding:36px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;}
.direction-visual h3{font-family:var(--display);font-size:clamp(22px,3vw,30px);line-height:1.2;margin:10px 0 0;font-weight:700;}
.process-tags{display:flex;flex-wrap:wrap;gap:8px;}
.process-tags span{padding:7px 13px;border:1px solid #ffffff2a;border-radius:20px;color:var(--dark-text);font-size:12.5px;background:#ffffff0a;}
.direction-copy p{color:var(--muted);font-size:15px;line-height:1.7;margin:0 0 18px;max-width:56ch;}

/* Visual depth */
header.hero {
  background: radial-gradient(650px circle at 88% -15%, rgba(63, 174, 111, 0.16), transparent 60%), var(--mint);
}
.services-sec {
  background: radial-gradient(600px circle at 8% 110%, rgba(63, 174, 111, 0.1), transparent 60%), var(--mint);
}
footer.cta {
  background: radial-gradient(750px circle at 12% 115%, rgba(63, 174, 111, 0.14), transparent 60%), var(--dark);
}

/* Accessibility: visible keyboard focus */
a:focus-visible,
button:focus-visible,
.pill:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
footer.cta a:focus-visible,
.footbottom a:focus-visible {
  outline-color: var(--accent);
}

.page-title-h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 10px;
}

/* Hero: illustration sits in a plain rounded frame (no offset panel — it clashed with the light SVG scene) */
/* Service card workflow line */
.sflow {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d7ded9;
}

/* Category tiles: blurb + explore */
.cat-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 16px;
}
.cat-card .cat-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-card .explore {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Tool badges with icons */
.tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tool-ic {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: inline-flex;
}
.tool-ic svg {
  width: 100%;
  height: 100%;
}
.tool-ic.fallback {
  border-radius: 50%;
  background: #c9d3cd;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

/* Animated placeholder (until real Loom videos are added) */
.fake-row,
.fake-card,
.fake-sbar {
  background: linear-gradient(90deg, #202b25 25%, #2c3a32 37%, #202b25 63%);
  background-size: 400% 100%;
  animation: shimmer 2.6s ease-in-out infinite;
}
.fake-sbar:nth-child(2) { animation-delay: 0.15s; }
.fake-sbar:nth-child(3) { animation-delay: 0.3s; }
.fake-sbar:nth-child(4) { animation-delay: 0.45s; }
.fake-row.short { animation-delay: 0.2s; }
.fake-card { animation-delay: 0.35s; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.fake-flow {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: flowmove 3.2s linear infinite;
  box-shadow: 0 0 8px 1px rgba(63, 174, 111, 0.6);
}
@keyframes flowmove {
  0% { left: 26%; top: 34%; opacity: 0; }
  12% { opacity: 1; }
  50% { left: 60%; top: 55%; }
  88% { opacity: 1; }
  100% { left: 90%; top: 40%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fake-row, .fake-card, .fake-sbar, .fake-flow {
    animation: none;
  }
}
