:root {
  --bg: #f8f1e4;
  --bg-soft: #f2e7d4;
  --surface: #fffaf1;
  --text: #192425;
  --muted: #4f6769;
  --line: #d8cab4;
  --primary: #0b7e74;
  --primary-soft: #c9ebe6;
  --accent: #c85836;
  --shadow: 0 16px 40px rgba(17, 37, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 20%, rgba(11, 126, 116, 0.12), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(200, 88, 54, 0.14), transparent 35%),
    linear-gradient(140deg, var(--bg), var(--bg-soft));
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
}

.ambient-a {
  width: 260px;
  height: 260px;
  top: 10%;
  left: -70px;
  background: #6bc2b8;
}

.ambient-b {
  width: 300px;
  height: 300px;
  right: -90px;
  bottom: 5%;
  background: #eeab95;
}

.site-header {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(216, 202, 180, 0.8);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0.8rem;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #df7f4f);
  box-shadow: 0 10px 18px rgba(200, 88, 54, 0.25);
}

.brand-text {
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
}

.header-cta {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #ffffff;
  background: var(--primary);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(11, 126, 116, 0.26);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.25rem auto 4rem;
}

.hero {
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 3vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(255, 250, 241, 0.95), rgba(255, 250, 241, 0.85)),
    repeating-linear-gradient(-45deg, rgba(25, 36, 37, 0.02), rgba(25, 36, 37, 0.02) 2px, transparent 2px, transparent 9px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  border: 1px dashed rgba(11, 126, 116, 0.45);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(230px, 0.7fr);
  gap: clamp(1rem, 3vw, 2.2rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 18ch;
}

.hero-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, #fffdf8, #f4ecdd);
  padding: 0.7rem;
  box-shadow: 0 14px 28px rgba(25, 36, 37, 0.12);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.hero-photo figcaption {
  margin-top: 0.52rem;
  font-size: 0.79rem;
  text-align: center;
  color: #5a6c6d;
}

.hero .lead {
  margin-top: 1.2rem;
  max-width: 74ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  padding: 0.78rem 1.15rem;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  box-shadow: 0 12px 18px rgba(11, 126, 116, 0.24);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: #fff7e9;
}

.profile-links {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.profile-links a {
  border: 1px solid var(--line);
  background: #fffaf4;
  border-radius: 999px;
  padding: 0.46rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.profile-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.stat {
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.stat h2 {
  font-size: 1.5rem;
  color: var(--primary);
}

.stat p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  margin-top: 3.8rem;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.77rem;
}

.section h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
}

.about-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.about-grid p {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  color: var(--muted);
}

.card-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 1.3rem;
  box-shadow: 0 6px 16px rgba(25, 36, 37, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 126, 116, 0.45);
}

.info-card h4 {
  font-size: 1.2rem;
}

.info-card p {
  margin-top: 0.58rem;
  color: var(--muted);
}

.stack-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack-grid article {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.stack-grid h4 {
  color: var(--primary);
  font-size: 1.02rem;
}

.stack-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.stack-grid li {
  padding-left: 0.9rem;
  position: relative;
  color: var(--muted);
}

.stack-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--accent);
}

.timeline {
  margin-top: 1.3rem;
  border-left: 2px solid rgba(11, 126, 116, 0.35);
  padding-left: 1.2rem;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: -1.58rem;
  top: 1.2rem;
}

.timeline-year {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.timeline-item h4 {
  font-size: 1.1rem;
}

.timeline-item p {
  margin-top: 0.58rem;
  color: var(--muted);
}

.spotlight-card {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(201, 235, 230, 0.62), rgba(255, 250, 241, 0.96)),
    repeating-linear-gradient(45deg, rgba(25, 36, 37, 0.02), rgba(25, 36, 37, 0.02) 2px, transparent 2px, transparent 10px);
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(25, 36, 37, 0.08);
}

.spotlight-intro h4 {
  font-size: 1.28rem;
}

.spotlight-intro p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.spotlight-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.spotlight-grid section {
  border: 1px solid rgba(216, 202, 180, 0.88);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.86);
  padding: 0.95rem;
}

.spotlight-grid h5 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  font-size: 0.98rem;
  color: #134b49;
}

.spotlight-grid ul {
  margin: 0.7rem 0 0;
  padding-left: 1.08rem;
  color: var(--muted);
  display: grid;
  gap: 0.42rem;
}

.project-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(165deg, #fffaf1, #fff3e0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(25, 36, 37, 0.12);
}

.project-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.project-card span {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: #134b49;
  border: 1px solid rgba(11, 126, 116, 0.35);
  border-radius: 999px;
  padding: 0.27rem 0.62rem;
}

.integration-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.integration-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.15rem;
  box-shadow: 0 6px 15px rgba(25, 36, 37, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 88, 54, 0.45);
}

.integration-card h4 {
  font-size: 1.08rem;
}

.integration-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.quote-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.review-overview {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.platform-metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 250, 241, 0.9);
  padding: 0.8rem 0.95rem;
  display: grid;
  gap: 0.15rem;
}

.platform-metric strong {
  color: #134b49;
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
}

.platform-metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.platform-name {
  font-weight: 700;
  color: #134b49;
}

.rating-value {
  font-size: 0.82rem;
  border: 1px solid rgba(11, 126, 116, 0.35);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  color: #134b49;
  background: #f4fbf9;
  font-weight: 700;
}

.review-card p {
  margin: 0;
  color: #334748;
  font-weight: 500;
}

.review-card small {
  color: #5d7273;
}

.contact-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-grid a {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-grid a:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-grid span {
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.84);
  color: var(--muted);
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    width: min(340px, 100%);
  }

  .stack-grid,
  .project-grid,
  .quote-grid,
  .review-overview,
  .integration-grid,
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .about-grid,
  .card-grid,
  .stack-grid,
  .spotlight-grid,
  .project-grid,
  .integration-grid,
  .review-overview,
  .quote-grid,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.5rem 1rem 1.8rem;
  }

  .hero::after {
    width: 170px;
    right: -56px;
    bottom: -56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
