:root {
  --bg: #f5efe8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #1f1b18;
  --muted: #655d55;
  --line: rgba(31, 27, 24, 0.12);
  --accent: #7d5b42;
  --accent-dark: #5f4432;
  --accent-soft: rgba(125, 91, 66, 0.10);
  --shadow: 0 18px 50px rgba(31, 27, 24, 0.08);
  --radius: 24px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(125, 91, 66, 0.10), transparent 28%),
    linear-gradient(180deg, #f8f3ee 0%, var(--bg) 100%);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 27, 24, 0.06);
}

.site-header-simple { position: relative; }

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #a98468 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover { color: var(--text); }

.hero {
  padding: 4.8rem 0 3rem;
}

.hero-grid,
.two-col,
.cta-grid,
.footer-grid,
.cards {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy h1,
.section h2,
.legal-content h1 {
  margin: 0 0 1rem;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  max-width: none;
}

.hero-subtitle {
  margin: -0.2rem 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--accent-dark);
}

.eyebrow,
.section-label {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-points {
  margin: 1.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.hero-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 27, 24, 0.06);
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.button-primary:hover { background: var(--accent-dark); }

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.hero-visual,
.info-panel,
.card,
.contact-box,
.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel,
.contact-box,
.legal-content {
  padding: 1.6rem;
}

.card {
  padding: 1.5rem;
}

.project-card { position: relative; }
.featured-card { background: rgba(255,255,255,0.92); }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(31, 27, 24, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.tag-accent {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.tag-muted {
  background: rgba(101, 93, 85, 0.10);
}

.project-links {
  margin: 1rem 0 0;
  font-weight: 700;
}

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

.info-panel h3,
.card h3,
.contact-box h3,
.legal-content h2 {
  margin-top: 0;
}

.info-panel ul,
.contact-box ul,
.legal-content ul {
  margin: 0;
  padding-left: 1.15rem;
}

.section { padding: 3rem 0; }

.section-alt {
  background: rgba(255, 255, 255, 0.34);
  border-top: 1px solid rgba(31, 27, 24, 0.05);
  border-bottom: 1px solid rgba(31, 27, 24, 0.05);
}

.two-col,
.cta-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  padding: 2.2rem 0 3rem;
}

.footer-grid {
  grid-template-columns: 1.5fr 0.7fr 1fr;
  align-items: start;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.45rem;
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-content {
  max-width: 860px;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .cta-grid,
  .footer-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .site-header {
    position: relative;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .nav-wrap {
    align-items: flex-start;
    padding: 1rem 0;
  }

  .main-nav {
    gap: 0.65rem 1rem;
  }
}


.domain-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.domain-card h3 {
  margin-bottom: 0.75rem;
}

.domain-list {
  margin: 0.35rem 0;
  color: #334155;
  line-height: 1.65;
  word-break: break-word;
}


.projects-minimal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-sublist {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.project-sublist p {
  margin: 0.45rem 0;
}
