/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111111;
  --white:   #ffffff;
  --gray-light: #f4f4f2;
  --gray-mid:   #888888;
  --accent:  #c0392b;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max-w: 1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.nav-links a,
.nav-links .dropdown-toggle {
  color: var(--black);
  transition: color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links .dropdown-toggle:hover { color: var(--accent); text-decoration: none; }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid #e0e0e0;
  min-width: 200px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.dropdown-menu li a:hover { background: var(--gray-light); }

.dropdown:hover .dropdown-menu { display: block; }

.nav-social {
  display: flex;
  gap: 0.75rem;
  font-size: 1rem;
}

.nav-social a { opacity: 0.6; transition: opacity 0.15s; }
.nav-social a:hover { opacity: 1; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text { flex: 1; }

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--gray-mid);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.hero-titles {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.hero-photo { flex-shrink: 0; }

.photo-placeholder {
  width: 240px;
  height: 300px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 0.85rem;
  border: 1px dashed #ccc;
}

/* ── About ────────────────────────────────────────────────── */
.about {
  background: var(--gray-light);
  padding: 4rem 1.5rem;
}

.about > * {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.about h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.about p { margin-bottom: 1rem; font-size: 1.05rem; }

.cta-line {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  margin-top: 1.5rem;
}

/* ── Work / Cards ─────────────────────────────────────────── */
.work {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.work h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--gray-light);
}

.card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-size: 0.8rem;
}

.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.card-client {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3;
}

.card-body p { font-size: 0.9rem; color: #444; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.tags li {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--gray-light);
  border: 1px solid #ddd;
  color: #555;
}

.learn-more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.learn-more:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 700px) {
  .hero { flex-direction: column; padding: 3rem 1.25rem; }
  .photo-placeholder { width: 100%; height: 220px; }
  .nav-links { display: none; }
}
