/* ============================================================
   Michelle Ferraz Portfolio — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Inter:wght@400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Tokens ── */
:root {
  --dark-bg:       #181210;
  --dark-bg-2:     #1E1612;
  --dark-border:   #2A1E16;
  --dark-border-2: #3A2A20;
  --cream:         #DDD0BA;
  --cream-muted:   #B8A080;
  --accent:        #C4956A;
  --white-95:      #F2F0EE;
  --light-bg:      #F8F5F0;
  --light-border:  #E0D8CE;
  --light-border-2:#C8BEB2;
  --black-90:      #1a1a1a;
  --black-70:      #333333;
  --muted-text:    #777;
  --soft-text:     #A89880;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --nav-height: 64px;
}

/* ── Base ── */
body {
  font-family: var(--sans);
  background: var(--light-bg);
  color: var(--black-90);
  min-height: 100vh;
}

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  z-index: 100;
  background: var(--dark-bg);
  border-bottom: 0.5px solid var(--dark-border);
}
.nav-logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white-95);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white-95); }
.nav-links a.active { color: var(--accent); }

/* ══════════════════════════════════
   HOMEPAGE HERO — split layout
══════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

/* Left — dark */
.hero-dark {
  background: var(--dark-bg);
  padding: 56px 52px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 0.5px solid var(--dark-border);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--cream);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--white-95);
  line-height: 1.8;
  margin-top: 28px;
  max-width: 380px;
}
.hero-tagline-wrap {
  padding-top: 40px;
}
.hero-rule {
  height: 0.5px;
  background: var(--dark-border-2);
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white-95);
  line-height: 2;
}
.hero-tagline em {
  font-style: italic;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Right — light */
.hero-light {
  background: var(--light-bg);
  padding: 52px 52px 52px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow-y: auto;
}
.hero-location {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft-text);
}
.hero-section-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--black-90);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  border-top: 0.5px solid var(--light-border-2);
  padding-top: 12px;
}
.stat.full { grid-column: 1 / -1; }
.stat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--black-90);
  line-height: 1.1;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-top: 5px;
  line-height: 1.5;
}
.stat-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--black-70);
  margin-top: 5px;
  letter-spacing: .01em;
}

/* Case study list */
.case-list-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.case-list { list-style: none; }
.case-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 0.5px solid var(--light-border);
  cursor: pointer;
  transition: opacity .2s;
}
.case-item:last-child { border-bottom: none; }
.case-item:hover { opacity: .65; }
.case-item-left { display: flex; flex-direction: column; gap: 3px; }
.case-item-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  color: var(--black-90);
  line-height: 1.2;
}
.case-item-teaser {
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .01em;
  line-height: 1.4;
}
.case-item-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted-text);
  letter-spacing: .02em;
}
.case-item-arrow {
  font-size: 15px;
  color: var(--light-border-2);
  transition: color .2s, transform .2s;
}
.case-item:hover .case-item-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ══════════════════════════════════
   CASE STUDY PAGES
══════════════════════════════════ */
.case-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* Dark hero */
.case-hero {
  background: var(--dark-bg);
  padding: 80px 10vw 72px;
  border-bottom: 0.5px solid var(--dark-border);
}
.case-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.case-hero-eyebrow a {
  color: var(--cream-muted);
  transition: color .2s;
}
.case-hero-eyebrow a:hover { color: var(--accent); }
.case-hero-eyebrow span { opacity: .4; }
.case-hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.0;
}
.case-hero-title em {
  font-style: italic;
  color: var(--accent);
}
.case-hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--white-95);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.8;
}

/* Meta bar */
.case-meta-bar {
  background: var(--dark-bg-2);
  border-bottom: 0.5px solid var(--dark-border);
  padding: 24px 10vw;
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}
.case-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 6px;
}
.case-meta-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--white-95);
}

/* Body layout */
.case-body {
  padding: 72px 10vw;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Section intro */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--black-90);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--black-70);
  line-height: 1.9;
  margin-bottom: 36px;
}

/* Accomplishment blocks */
.accomplishment-block {
  border-top: 0.5px solid var(--light-border);
  padding: 28px 0;
}
.accomplishment-block:last-child { border-bottom: 0.5px solid var(--light-border); }
.accomplishment-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.accomplishment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accomplishment-list li {
  font-size: 15px;
  font-weight: 400;
  color: var(--black-70);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}
.accomplishment-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Sidebar ── */
.sidebar-card {
  background: var(--dark-bg);
  border: 0.5px solid var(--dark-border-2);
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 20px;
}
.sidebar-stat {
  border-top: 0.5px solid var(--dark-border-2);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sidebar-stat:first-of-type { border-top: none; padding-top: 0; }
.sidebar-stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--white-95);
}
.sidebar-stat-val {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
}
.sidebar-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.sidebar-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--white-95);
  background: var(--dark-border);
  padding: 5px 12px;
  border-radius: 2px;
}
.site-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-border);
  border-radius: 3px;
  padding: 12px 16px;
  margin-top: 10px;
  transition: background .2s;
}
.site-link:hover { background: var(--dark-border-2); }
.site-link-name {
  font-size: 14px;
  font-weight: 400;
  color: var(--white-95);
}
.site-link-arrow {
  font-size: 14px;
  color: var(--accent);
}

/* ── Placeholder pages ── */
.placeholder-body {
  padding: 80px 10vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.placeholder-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.placeholder-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  color: var(--muted-text);
}
.placeholder-note {
  font-size: 15px;
  font-weight: 400;
  color: var(--black-70);
  line-height: 1.75;
  max-width: 520px;
}

/* ── Footer ── */
footer {
  background: var(--dark-bg);
  border-top: 0.5px solid var(--dark-border);
  padding: 40px 10vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--cream-muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white-95); }
.footer-copy {
  font-size: 11px;
  font-weight: 400;
  color: var(--dark-border-2);
  letter-spacing: .04em;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-dark { min-height: auto; padding: 48px 32px; }
  .hero-light { padding: 48px 32px; }
  .case-body { grid-template-columns: 1fr; }
  .nav { padding: 0 28px; }
  .case-hero { padding: 56px 28px 48px; }
  .case-meta-bar { padding: 20px 28px; gap: 28px; }
  .case-body { padding: 48px 28px; }
  .placeholder-body { padding: 56px 28px; }
  footer { padding: 32px 28px; flex-direction: column; gap: 16px; text-align: center; }
}
