@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Fraunces:opsz,wght@9..144,600;700&display=swap");

:root {
  --bg: #f7f2ea;
  --bg-accent: #fbe3d3;
  --ink: #1e1d1a;
  --muted: #5d584f;
  --accent: #e06035;
  --accent-dark: #b4461e;
  --card: #fff9f2;
  --line: rgba(30, 29, 26, 0.15);
  --shadow: 0 20px 50px rgba(30, 29, 26, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, var(--bg-accent), var(--bg) 55%);
  min-height: 100vh;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  padding: 80px 8vw 40px;
}

.hero-inner h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  margin: 12px 0 16px;
  line-height: 1.05;
}

.hero-inner .accent {
  color: var(--accent);
}

.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 24px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 29, 26, 0.2);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.ghost {
  background: transparent;
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.meta .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  align-self: center;
}

.card-top {
  font-weight: 700;
  margin-bottom: 12px;
}

.highlights {
  padding-left: 18px;
  line-height: 1.7;
}

.card-footer {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

main {
  padding: 0 8vw 60px;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.chat-embed {
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow);
}

.chat-placeholder {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px dashed var(--line);
}

.chat-placeholder code {
  display: inline-block;
  margin-top: 8px;
  background: var(--bg-accent);
  padding: 4px 8px;
  border-radius: 8px;
}

.chat-embed iframe {
  width: 100%;
  height: 480px;
  border: 0;
  border-radius: 16px;
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.panel {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
}

.panel h3 {
  margin-top: 0;
}

.panel ul {
  padding-left: 18px;
  line-height: 1.7;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.project {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 29, 26, 0.16);
}

.footer {
  padding: 40px 8vw 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  color: var(--accent-dark);
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
