:root {
  --bg: #f7f5f0;
  --bg-card: #ffffff;
  --dark: #131313;
  --dark-card: #1d1d1d;
  --text: #17171a;
  --text-muted: #6b6b70;
  --text-on-dark: #f4f3f0;
  --text-muted-on-dark: #a3a3a8;
  --accent: #4f46e5;
  --accent-on-dark: #8b83ff;
  --border: #e6e2d9;
  --border-on-dark: #2c2c2e;
  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.placeholder-block {
  background: repeating-linear-gradient(135deg, #ece8de, #ece8de 10px, #e4e0d4 10px, #e4e0d4 20px);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-sm);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-right: auto;
  margin-left: 48px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.btn-nav { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ===== HERO ===== */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  font-size: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 420px;
  height: 460px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  display: block;
}

/* ===== SECTIONS ===== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

/* ===== ABOUT ===== */
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-photo { width: 100%; height: 420px; }

.about-text {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 460px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== FOCUS AREAS ===== */
.focus {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 90px 24px;
}

.focus-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.focus-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  max-width: 520px;
}

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

.focus-card {
  background: var(--dark-card);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius);
  padding: 28px;
}

.focus-icon {
  color: var(--accent-on-dark);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.focus-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.focus-card p {
  color: var(--text-muted-on-dark);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== SELECTED WORK ===== */
.work-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

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

.work-card {
  display: flex;
  flex-direction: column;
}

.work-thumb {
  width: 100%;
  height: 220px;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-sm);
  display: block;
}

.work-tag {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.work-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.work-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.work-more {
  text-align: center;
  margin-top: 56px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-links a { font-weight: 600; color: var(--text); }

/* ===== REVEAL ANIMATION =====
   Content is visible by default so it never depends on JS running.
   JS just adds a subtle fade-up the first time a section scrolls into view. */
.section, .hero { transition: opacity 0.6s ease, transform 0.6s ease; }
.section.will-reveal, .hero.will-reveal { opacity: 0; transform: translateY(16px); }
.section.is-visible, .hero.is-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .hero-photo { height: 360px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { height: 280px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    margin: 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
