:root {
  color-scheme: light;
  --page: #f1f0e9;
  --surface: #faf9f4;
  --surface-hover: #ffffff;
  --ink: #252824;
  --ink-soft: #626760;
  --line: #d7d8cf;
  --line-strong: #bfc4b8;
  --accent: #476652;
  --accent-strong: #30483a;
  --accent-soft: #e2e9e1;
  --shadow: 0 18px 45px rgba(35, 42, 36, 0.08);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient( circle at 8% 0%, rgba(96, 127, 103, 0.10), transparent 28rem ), var(--page);
  color: var(--ink);
}

a {
  color: inherit;
}

.site {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
}


/* Header */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 2.75rem 3rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__identity {
  min-width: 0;
}

.hero__title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero__qualifier {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
}

.publisher {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.publisher__label {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.publisher__name {
  font-size: 1.05rem;
}

.store-link {
  flex: 0 0 auto;
  display: block;
  transition: transform 150ms ease, opacity 150ms ease;
}

  .store-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }

  .store-link img {
    display: block;
    width: 190px;
    max-width: 100%;
  }


/* Projects */

.projects {
  padding: 4rem 0;
}

  .projects h2 {
    margin: 0 0 1.5rem;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

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

.project-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(35, 42, 36, 0.04);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

  .project-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    background: var(--surface-hover);
    box-shadow: 0 16px 34px rgba(35, 42, 36, 0.09);
  }

.project-card__image {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 1rem;
  background: linear-gradient( 145deg, #ebece5, #f8f7f2 );
}

  .project-card__image img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
  }

.project-card__content {
  min-width: 0;
}

.project-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.project-card p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}


/* Footer */

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}


/* Responsive */

@media (max-width: 760px) {
  .site {
    padding-top: 1rem;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
  }

  .store-link img {
    width: 170px;
  }

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

@media (max-width: 480px) {
  .project-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card__image {
    width: 96px;
    height: 96px;
  }

    .project-card__image img {
      width: 80px;
      height: 80px;
    }

  footer {
    flex-direction: column;
  }
}
