:root {
  --ink: #172522;
  --muted: #66736f;
  --paper: #f4f1e9;
  --card: #fffdf8;
  --line: #d8d3c8;
  --brand: #0d6b5a;
  --brand-dark: #063c34;
  --brand-soft: #dcefe9;
  --accent: #d6a05f;
  --shadow: 0 18px 46px rgba(25, 49, 44, .10);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a { color: inherit; }
.hero {
  min-height: 370px;
  color: white;
  background:
    radial-gradient(circle at 78% 15%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(125deg, #052f29, #0d6b5a 62%, #3c907d);
  border-bottom: 5px solid var(--accent);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .14em;
  text-decoration: none;
}
.brand small { display: block; margin-top: 3px; color: #b9dbd3; font-size: 9px; letter-spacing: .12em; }
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: #f5d4a9;
  border-radius: 11px;
  font-size: 19px;
  font-weight: 900;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dcece8;
  font-size: 12px;
}
.status i {
  width: 8px;
  height: 8px;
  background: #72e2a9;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(114, 226, 169, .12);
}
.hero__content { max-width: 1180px; margin: 0 auto; padding: 88px 28px 70px; }
.eyebrow { margin: 0 0 10px; color: #b9dbd3; font-size: 11px; font-weight: 850; letter-spacing: .2em; }
.eyebrow--dark { color: var(--brand); }
h1 { margin: 0 0 16px; font-size: clamp(42px, 8vw, 76px); line-height: .98; letter-spacing: -.05em; }
.hero__content > p:last-child { max-width: 620px; margin: 0; color: #dcece8; font-size: 17px; line-height: 1.7; }

main { max-width: 1180px; margin: 0 auto; padding: 62px 28px 100px; }
.section-heading { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
h2 { margin: 0; font-size: 27px; letter-spacing: -.025em; }
.count { padding: 7px 11px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; font-size: 12px; font-weight: 800; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, .78fr) minmax(280px, 1.22fr);
  min-height: 310px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  grid-column: span 2;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 24px 55px rgba(25, 49, 44, .15); }
.project-card:focus-visible { outline: 4px solid rgba(13, 107, 90, .25); outline-offset: 4px; }
.project-card__visual {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 24px;
  color: #e9f4f1;
  background: #0b5b4d;
}
.project-card__visual span { position: relative; padding: 6px 8px; background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.18); border-radius: 7px; font-size: 11px; font-weight: 750; }
.tile-grid {
  position: absolute;
  inset: -35px;
  opacity: .55;
  transform: rotate(-10deg) scale(1.1);
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.28) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(255,255,255,.28) 50%, transparent 50.5%);
  background-size: 76px 76px;
}
.project-card__body { padding: 32px; display: flex; flex-direction: column; }
.project-card__topline, .project-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.tag { padding: 6px 9px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 7px; font-size: 11px; font-weight: 800; }
time { color: #8b938f; font-size: 12px; }
h3 { margin: 30px 0 12px; font-size: clamp(25px, 4vw, 35px); letter-spacing: -.035em; }
.project-card__body > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.project-card__footer { margin-top: auto; padding-top: 28px; color: #818b87; font-size: 12px; }
.project-card__footer strong { color: var(--brand); font-size: 13px; }
.project-card__footer b { margin-left: 5px; font-size: 17px; transition: margin .2s ease; }
.project-card:hover .project-card__footer b { margin-left: 9px; }

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7b8581;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .hero { min-height: 330px; }
  .nav { padding-left: 18px; padding-right: 18px; }
  .status { font-size: 0; }
  .hero__content { padding: 72px 18px 56px; }
  main { padding: 42px 18px 72px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card__visual { min-height: 190px; }
  .project-card__body { min-height: 290px; padding: 25px; }
  .project-card__footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  footer { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card, .project-card__footer b { transition: none; }
}
