:root {
  --paper: #f7f3ed;
  --paper-2: #efe8dd;
  --ink: #17201c;
  --muted: #65706a;
  --line: #ded4c6;
  --white: #fffdf8;
  --olive: #38463c;
  --clay: #b66a3c;
  --clay-dark: #8d4727;
  --green: #1f5b45;
  --shadow: 0 24px 70px rgb(56 44 31 / 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgb(247 243 237 / 0.88);
  border-bottom: 1px solid rgb(222 212 198 / 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

nav a {
  padding: 8px 10px;
  border-radius: 999px;
}

nav a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero,
.profile-section,
.section,
.contact {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 48px;
  padding-bottom: 56px;
}

.eyebrow,
.section-kicker,
.project-type {
  margin: 0 0 12px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 520px;
}

.showcase {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.showcase-main {
  grid-row: span 2;
}

.showcase img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 24px;
}

.showcase-main img {
  object-fit: cover;
  padding: 0;
}

.screenshot-showcase img {
  object-fit: cover;
  object-position: left top;
  padding: 0;
}

.showcase figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line);
}

.profile-text {
  color: var(--muted);
  font-size: 18px;
}

.profile-text p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 28px clamp(18px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 850;
  line-height: 1;
}

.metrics p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.project {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project.feature {
  grid-column: span 2;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.project-kamba {
  align-items: stretch;
  min-height: 0;
}

.project.app-project {
  grid-column: span 2;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  min-height: 360px;
}

.project-media {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.project-media img {
  width: min(100%, 260px);
  max-height: 260px;
  object-fit: contain;
}

.project.feature .project-media img {
  width: min(78%, 360px);
  max-height: 330px;
}

.kamba-media {
  background: #111;
}

.screenshot-media {
  padding: 0;
  align-items: stretch;
  justify-items: stretch;
  background: #f4f2ee;
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: left top;
}

.screenshot-contain {
  padding: 18px;
  place-items: center;
}

.screenshot-contain img {
  width: 100%;
  height: auto;
  max-height: 88%;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4f3f0;
  box-shadow: 0 16px 38px rgb(56 44 31 / 0.1);
}

.screenshot-full {
  padding: 0;
  align-items: center;
  justify-items: stretch;
  background: #f4f3f0;
}

.screenshot-full img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #f4f3f0;
}

.screenshot-kamba {
  padding: 0;
  align-items: center;
  justify-items: stretch;
  background: #f4f3f0;
}

.screenshot-kamba img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #f4f3f0;
}

.project-kamba .screenshot-kamba img {
  width: 100%;
  max-width: none;
  max-height: none;
}

.project.feature.project-kamba .project-media.screenshot-kamba {
  min-height: 0;
  aspect-ratio: 1440 / 1000;
}

.project.feature.project-kamba .project-media.screenshot-kamba img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.app-contained {
  padding: 22px;
  place-items: center;
  background:
    linear-gradient(135deg, rgb(255 253 248 / 0.92), rgb(239 232 221 / 0.94)),
    #f4f0e8;
}

.app-contained img {
  width: 100%;
  height: auto;
  max-height: 78%;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f3f0;
  box-shadow: 0 18px 48px rgb(56 44 31 / 0.14);
}

.app-zoom {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(255 253 248 / 0.92), rgb(239 232 221 / 0.94)),
    #f4f0e8;
}

.app-zoom img {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 142%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  transform: translateX(-50%);
  transform-origin: center top;
}

.media-duo {
  grid-template-columns: 1fr;
  gap: 14px;
}

.media-duo img {
  width: 100%;
  height: 46%;
  max-height: none;
  border-radius: 6px;
  object-fit: cover;
}

.media-trio {
  grid-template-columns: 1fr;
  gap: 10px;
}

.media-trio img {
  width: 100%;
  height: 31%;
  max-height: none;
  border-radius: 6px;
  object-fit: cover;
}

.gestor-media {
  background: #e8efe6;
}

.vida-media {
  background: #f7eef0;
}

.card-media {
  background: #f2eadf;
}

.project-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
}

.project-body p {
  max-width: 620px;
  color: var(--muted);
}

.project-body a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--clay-dark);
  font-size: 14px;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.chips li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--olive);
  color: var(--white);
}

.split .section-kicker,
.split h2 {
  color: var(--white);
}

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

.value-grid article {
  padding: 24px;
  border: 1px solid rgb(255 253 248 / 0.22);
  border-radius: 8px;
}

.value-grid h3 {
  font-size: 20px;
}

.value-grid p {
  margin-bottom: 0;
  color: rgb(255 253 248 / 0.72);
}

.image-plan {
  background: var(--paper-2);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shot-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgb(56 44 31 / 0.08);
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
  object-position: left top;
}

.shot-contained img {
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: #f4f3f0;
}

.shot-zoom {
  background: #f4f3f0;
}

.shot-zoom img {
  padding: 0;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.62) translateY(-5%);
  transform-origin: center top;
}

.shot-extractor {
  background: #f4f3f0;
}

.shot-extractor img {
  padding: 0;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.55) translateY(-10%);
  transform-origin: center top;
}

.shot-card-member {
  background: #f8f3ee;
}

.shot-card-member img {
  padding: 18px;
  object-fit: contain;
  object-position: center;
  background: #f8f3ee;
}

.shot-grid figcaption {
  position: relative;
  z-index: 1;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  padding-top: 88px;
  padding-bottom: 88px;
}

.contact > div:first-child {
  max-width: 880px;
}

.contact p {
  color: var(--muted);
  font-size: 18px;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-panel p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}

.contact-panel span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero,
  .profile-section,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

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

  .project,
  .project.feature {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

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

  .project-kamba {
    min-height: auto;
  }

  .project-media {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .media-duo,
  .media-trio {
    min-height: 360px;
  }

  .app-zoom {
    min-height: 300px;
  }

  .app-zoom img {
    top: -8px;
    width: 124%;
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .showcase-main {
    grid-row: span 1;
  }

  .showcase {
    min-height: 220px;
  }

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

  .metrics div:nth-child(2) {
    border-right: 0;
  }

  .metrics div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media print {
  .site-header,
  .hero-actions,
  nav {
    display: none;
  }

  body {
    background: white;
  }

  .hero,
  .profile-section,
  .section,
  .contact {
    padding: 28px 0;
  }

  .project,
  .contact-panel,
  .shot-list div,
  .value-grid article {
    break-inside: avoid;
  }
}
