/* Mulhaf Architect static site styles */
:root {
  --bg: #ffffff;
  --surface: #f7f5f1;
  --text: #1f1f1f;
  --muted: #6f6f6f;
  --accent: #7f5a3c;
  --accent-soft: #f3e7dd;
  --border: #e1dcd6;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100%, calc(var(--max-width) - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #ece7e1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.site-brand img {
  width: 42px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text);
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding: 4rem 0;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.75rem, 3.75vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  color: #fff;
  background: var(--text);
}

.button.ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-media {
  width: 100%;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #e9e4dd 0%, #f7f3ef 100%);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-title {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 2.7vw, 3rem);
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 2rem;
  background: #fff;
  border: 1px solid #ece7e1;
  border-radius: 24px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.feature-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  padding: 2rem;
  background-size: cover;
  background-position: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,31,31,0.1), rgba(31,31,31,0.8));
}

.feature-card > * {
  position: relative;
}

.feature-card small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
}

.feature-card h3 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ece7e1;
}

.project-card img {
  width: 100%;
  display: block;
}

.project-card .project-copy {
  padding: 1.5rem;
}

.project-card h4 {
  margin: 0 0 0.65rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.team-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ece7e1;
}

.team-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-card .team-copy {
  padding: 1.5rem;
}

.team-card h3 {
  margin: 0 0 0.65rem;
}

.team-card p {
  margin: 0;
  color: var(--muted);
}

.quote-block {
  padding: 3rem 2rem;
  border-radius: 28px;
  background: var(--bg);
  border: 1px solid #ece7e1;
  max-width: 80ch;
  margin: 0 auto;
}

.quote-block p {
  margin: 0;
  font-size: 1.22rem;
  font-style: italic;
  color: var(--text);
}

.contact-card {
  padding: 2rem;
  background: #fff;
  border-radius: 28px;
  border: 1px solid #ece7e1;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8d2cb;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

footer {
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

footer a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }
  .hero-copy h1 {
    font-size: 2.75rem;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
}