/* ─── Design Tokens ─── */
:root {
  --light-teal: #effcff;
  --dark-teal: #08535a;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-20: rgba(255, 255, 255, 0.2);
  --content-width: 920px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--light-teal);
  color: var(--dark-teal);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Typography ─── */
.greeting {
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: normal;
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.h2 {
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.body-bold {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.body {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.body ul,
.body ol {
  padding-left: 30px;
}

.body-sm {
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
}

.caption {
  font-style: italic;
  font-size: 10px;
  font-weight: 400;
  line-height: 18px;
}

/* ─── Icons ─── */
.icon-lg {
  font-size: 30px;
  line-height: 1;
}

.icon-lg-brands {
  font-size: 30px;
  line-height: 1;
}

.icon-sm {
  font-size: 12px;
  line-height: 1;
}

/* ─── Header ─── */
.site-header {
  border-bottom: 0.5px solid var(--dark-teal);
  padding: 80px 0 60px;
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  transition: background-color 0.15s;
}

.social-icons a:hover {
  background-color: var(--white-80);
}

#wave-icon {
  cursor: default;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  margin-left: -4px;
  transition: background-color 0.15s;
}

#wave-icon .fa-hand-love { display: none; }
#wave-icon:hover .fa-hand-wave { display: none; }
#wave-icon:hover .fa-hand-love { display: inline; }

.header-greeting {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

/* ─── Main ─── */
.main-content {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 0;
}

/* ─── Sections ─── */
.section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 0.5px solid var(--dark-teal);
  padding-bottom: 60px;
}

/* ─── Case Studies ─── */
.case-study-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-study-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 4px;
  overflow: hidden;
  transition: background-color 0.15s;
}

.case-study-card:hover {
  background-color: var(--white-80);
}

.case-study-img {
  width: 100%;
  aspect-ratio: 7/5;
  object-fit: cover;
  display: block;
}

.case-study-desc {
  display: flex;
  flex-direction: column;
  padding: 0 0 8px 10px;
}

/* ─── About ─── */
.about-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-desc {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 600px;
  flex-shrink: 0;
}

.about-img {
  width: 108px;
  height: 94px;
  object-fit: contain;
  object-position: top left;
  display: block;
  flex-shrink: 0;
}

.about-bio {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-specialties {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
  flex-shrink: 0;
}

.about-specialties strong {
  font-weight: 700;
}

/* ─── Footer ─── */
.site-footer {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Work Page ─── */

.work-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  margin-left: -6px;
  transition: background-color 0.15s;
}

.back-btn:hover {
  background-color: var(--white-80);
}

.work-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

.page-chat {
  --content-width: 700px;
}

.page-chat .mvp-container {
  background: none;
}

.mvp-container {
  background-color: var(--white-80);
}

.mvp-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvp-section--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.mvp-section--full .img-mvp {
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: 282px;
  aspect-ratio: unset;
}

.project-section {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0;
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-block--narrow {
  max-width: 600px;
}

.two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.two-col > .content-block {
  width: 600px;
  flex-shrink: 0;
}

.img-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.img-block--sidebar {
  width: 280px;
  flex-shrink: 0;
}

.img-block--framed {
  background-color: var(--white-20);
  border: 0.5px solid rgba(8, 83, 90, 0.2);
  border-radius: 4px;
  padding: 20px;
}

.img-block--center {
  align-items: center;
}

.img-placeholder {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.img-mvp         { aspect-ratio: 4046 / 1880; border-radius: 0; }
.img-supporting  { aspect-ratio: 280 / 157; }
.img-approach    { aspect-ratio: 4096 / 1236; }
.img-userflow    { aspect-ratio: 2734 / 1688; }
.img-dk-hero     { width: 100%; border-radius: 0; }
.img-dk-concepts { width: 100%; }
.img-dk-flow     { width: 100%; }
.img-dk-template { width: 100%; }
.img-az-hero     { width: 100%; border-radius: 0; }
.img-az-lofi     { width: 100%; }
.img-az-midfi    { width: 100%; }
.img-az-hifi     { width: 100%; }
.img-prototype { height: 556px; width: 280px; }

.solution-section {
  border-bottom: 0.5px solid var(--dark-teal);
  padding-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.solution-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 600px;
}

/* ─── Prototype Links ─── */
.proto-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.proto-link:hover .proto-link-text {
  text-decoration: underline;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  body {
    padding: 0 20px;
  }

  .site-header {
    margin: 0 -20px;
    padding: 70px 20px 30px;
  }

  .header-inner,
  .main-content {
    max-width: 100%;
  }

  .header-inner {
    gap: 24px;
  }

  .main-content {
    gap: 30px;
    padding: 30px 0;
  }

  .section {
    padding-bottom: 30px;
  }

  .case-study-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-desc {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }

  .about-bio {
    width: 100%;
  }

  .about-specialties {
    width: 100%;
  }

  /* Work page */

  .mvp-container {
    margin: 0 -20px;
  }

  .mvp-section {
    padding: 30px 20px;
  }

  .project-section {
    gap: 30px;
    padding: 30px 0;
  }

  .project-section > .caption {
    margin-top: -20px;
  }

  .project-section,
  .mvp-section {
    max-width: 100%;
  }

  .two-col {
    flex-direction: column;
    gap: 40px;
  }

  .two-col > .content-block {
    width: 100%;
  }

  .content-block--narrow {
    max-width: 100%;
  }

  .solution-section {
    flex-direction: column;
    gap: 30px;
  }

  .solution-col {
    width: 100%;
  }
}
