:root{
  --bg:#f6f7f2;
  --paper:#ffffff;
  --ink:#172019;
  --muted:#667069;
  --line:#dfe5de;
  --green:#167a52;
  --green-dark:#0f5f3f;
  --lime:#c9ef8b;
  --shadow:0 24px 70px rgba(28,52,38,.10);
  --radius:28px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

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

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

.shell{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(16px);
  background:rgba(246,247,242,.86);
  border-bottom:1px solid rgba(223,229,222,.85);
}

.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

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

.brand-mark{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--ink);
  color:white;
  font-weight:900;
}

.brand-name{
  font-size:24px;
  letter-spacing:-.04em;
}

.brand-name span{color:var(--green)}

.nav-link{
  color:var(--muted);
  font-weight:700;
}

.nav-link:hover{color:var(--ink)}

.hero{
  padding:86px 0 72px;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  gap:64px;
  align-items:center;
}

.eyebrow{
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  color:var(--green);
  margin-bottom:18px;
}

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

h1{
  font-size:clamp(48px,7vw,86px);
  line-height:.96;
  letter-spacing:-.06em;
  max-width:900px;
  margin-bottom:28px;
}

.lead{
  font-size:clamp(19px,2vw,24px);
  color:var(--muted);
  max-width:760px;
  margin-bottom:34px;
}

.primary-cta{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 20px;
  border-radius:999px;
  background:var(--ink);
  color:white;
  font-weight:800;
}

.primary-cta:hover{transform:translateY(-1px)}

.hero-panel{
  min-height:420px;
  background:linear-gradient(145deg,var(--green),var(--green-dark));
  border-radius:36px;
  padding:34px;
  color:white;
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.hero-panel:before,
.hero-panel:after{
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.hero-panel:before{
  width:310px;height:310px;
  right:-100px;top:-80px;
}

.hero-panel:after{
  width:180px;height:180px;
  left:-55px;bottom:-50px;
}

.hero-panel__line{
  position:absolute;
  left:34px;
  top:34px;
  width:70px;
  height:8px;
  background:var(--lime);
  border-radius:999px;
}

.hero-panel__word{
  font-size:clamp(72px,11vw,150px);
  line-height:.8;
  font-weight:900;
  letter-spacing:-.08em;
  position:relative;
  z-index:2;
}

.hero-panel__caption{
  position:relative;
  z-index:2;
  margin-top:26px;
  font-size:16px;
  font-weight:700;
  opacity:.86;
}

.projects{
  padding:70px 0 90px;
}

.section-heading{
  max-width:760px;
  margin-bottom:38px;
}

.section-heading h2,
.manifesto h2,
.next h2{
  font-size:clamp(34px,5vw,56px);
  line-height:1;
  letter-spacing:-.05em;
  margin-bottom:16px;
}

.section-heading p{
  color:var(--muted);
  font-size:19px;
}

.project-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.project-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:0 14px 40px rgba(20,42,29,.05);
  display:flex;
  flex-direction:column;
  min-height:520px;
}

.project-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.project-topline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:34px;
}

.project-kicker{
  font-size:12px;
  letter-spacing:.14em;
  font-weight:900;
  color:var(--muted);
}

.project-status{
  border-radius:999px;
  padding:6px 10px;
  background:#e8f6ec;
  color:#23653d;
  font-size:12px;
  font-weight:800;
}

.project-status--beta{
  background:#f2efe5;
  color:#6b5a21;
}

.project-brand{
  font-size:34px;
  font-weight:800;
  letter-spacing:-.05em;
  margin-bottom:26px;
}

.project-brand span{color:var(--ink)}
.project-brand strong{color:var(--green)}
.project-brand small{font-size:18px;color:var(--muted)}

.project-logo-wrap{
  min-height:58px;
  display:flex;
  align-items:center;
  margin-bottom:26px;
}

.project-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
}

.project-logo--komudom{
  width:min(250px,72%);
  max-height:56px;
  object-fit:contain;
  object-position:left center;
}

.project-card h3{
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.035em;
  margin-bottom:16px;
}

.project-card p{
  color:var(--muted);
  font-size:17px;
}

.project-card ul{
  margin:10px 0 30px;
  padding:0;
  list-style:none;
}

.project-card li{
  padding:9px 0 9px 26px;
  position:relative;
  border-bottom:1px solid #edf0ec;
}

.project-card li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:900;
}

.project-link{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:24px;
  border-top:1px solid var(--line);
  font-weight:900;
  font-size:18px;
}

.project-link:hover{color:var(--green)}

.manifesto{
  background:var(--ink);
  color:white;
  padding:84px 0;
}

.manifesto-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:start;
}

.manifesto .eyebrow{color:var(--lime)}

.manifesto-copy p{
  color:#cbd4ce;
  font-size:20px;
  max-width:700px;
}

.manifesto-copy p:last-child{margin-bottom:0}

.next{
  padding:80px 0;
}

.next-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
}

.next-card p{
  color:var(--muted);
  margin-bottom:0;
  font-size:18px;
}

.next-mark{
  width:100px;
  height:100px;
  border-radius:28px;
  background:var(--green);
  color:white;
  display:grid;
  place-items:center;
  font-size:46px;
  font-weight:900;
  letter-spacing:-.08em;
  flex:0 0 auto;
}

footer{
  border-top:1px solid var(--line);
  padding:28px 0 36px;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.brand--footer .brand-mark{
  width:30px;height:30px;border-radius:10px;font-size:14px;
}

.brand--footer .brand-name{font-size:20px}

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

@media (max-width:900px){
  .hero{padding-top:60px}
  .hero-grid,.project-grid,.manifesto-grid{
    grid-template-columns:1fr;
  }
  .hero-panel{min-height:320px}
  .manifesto-grid{gap:28px}
}

@media (max-width:640px){
  .shell{width:min(100% - 24px,1180px)}
  .nav{min-height:64px}
  .nav-link{font-size:14px}
  .hero{padding:46px 0 50px}
  h1{font-size:46px}
  .hero-grid{gap:36px}
  .hero-panel{min-height:260px;padding:26px}
  .hero-panel__line{left:26px;top:26px}
  .project-card{padding:24px;min-height:auto}
  .project-topline{align-items:flex-start}
  .next-card{padding:28px;align-items:flex-start}
  .next-mark{width:72px;height:72px;font-size:34px;border-radius:22px}
  .footer-row{align-items:flex-start;flex-direction:column}
}
