.*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --fg-ink: #0b1020;
  --fg-muted: #4b5563;
  --fg-bg: #f4f3ef;
  --fg-card: #ffffff;
  --fg-border: rgba(15, 23, 42, 0.08);
  --fg-gold: #d97706;
  --fg-gold-soft: #fbbf24;
  --fg-gold-dark: #92400e;
}

/* Reset & base */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fef9c3 0, #f4f3ef 35%, #e5e7eb 100%);
  color: var(--fg-ink);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 243, 239, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fg-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo span {
  font-weight: 750;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--fg-gold-dark);
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(217, 119, 6, 0.08);
}

.nav-cta {
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 34rem;
  color: var(--fg-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 0.75rem;
}

.hero-subtext {
  font-size: 0.85rem;
  opacity: 0.8;
  color: var(--fg-muted);
}

.hero-panel {
  background: linear-gradient(145deg, #fef9c3, #fef3c7);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.hero-panel h2 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--fg-gold-dark);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.9);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 1.4rem;
}

.section-intro {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: var(--fg-muted);
}

/* Grid & Cards */

.grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--fg-card);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--fg-border);
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Projects / Mandates */

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project {
  background: var(--fg-card);
  border-radius: 0.9rem;
  border: 1px solid var(--fg-border);
  padding: 0.5rem 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.project summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.project summary::-webkit-details-marker {
  display: none;
}

.project-name {
  font-weight: 600;
}

.project-status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.project-status.closed {
  background: #f3f4f6;
  color: var(--fg-muted);
}

.project-status.open {
  background: rgba(251, 191, 36, 0.14);
  color: var(--fg-gold-dark);
}

.project-body {
  padding: 0.4rem 0.1rem 0.7rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-list details {
  background: #f9fafb;
  border-radius: 0.8rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
}

.faq-list p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn.primary {
  background: linear-gradient(135deg, var(--fg-gold), var(--fg-gold-soft));
  color: #111827;
  border-color: rgba(217, 119, 6, 0.8);
}

.btn.primary:hover {
  filter: brightness(1.03);
}

.btn.ghost {
  border-color: rgba(217, 119, 6, 0.6);
  background: rgba(255, 255, 255, 0.5);
}

/* Contact */

.contact-form {
  max-width: 680px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

input,
textarea {
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.65rem;
  font: inherit;
  background: #ffffff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(217, 119, 6, 0.35);
  outline-offset: 1px;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.6rem;
  color: var(--fg-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--fg-border);
  padding: 1.2rem 0 1.5rem;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.02);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-note {
  opacity: 0.8;
  color: var(--fg-muted);
}

/* Responsive */

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none; /* keep simple; can add mobile menu later */
  }

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

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
