@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #111111;
  --secondary: #555555;
  --tertiary: #999999;
  --border: #E8E8E8;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --max: 960px;
  --fusion-bg: #EEF2FF;
  --fusion-tag: #C7D2FE;
  --fusion-text: #3730A3;
  --srlc-bg: #EDFAF4;
  --srlc-tag: #A7F3D0;
  --srlc-text: #065F46;
  --beckett-bg: #FFF8ED;
  --beckett-tag: #FDE68A;
  --beckett-text: #92400E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
img { display: block; width: 100%; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-name { font-size: 14px; font-weight: 500; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--secondary); }
.nav-links a:hover { color: var(--black); opacity: 1; }
.nav-cta {
  font-size: 13px;
  background: var(--black);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 20px;
}
.nav-cta:hover { opacity: 0.8 !important; }

/* LAYOUT */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section + section { padding-top: 0; }

/* HERO */
.hero { padding: 96px 0 80px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--secondary);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: #22C55E;
  border-radius: 50%;
}
.hero h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 640px;
}
.hero p {
  font-size: 17px;
  color: var(--secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  background: var(--black);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  display: inline-block;
  font-size: 14px;
  color: var(--secondary);
  padding: 10px 0;
}

/* WORK GRID */
.section-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.work-grid { display: flex; flex-direction: column; gap: 24px; }
.work-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  transition: border-color 0.2s;
}
.work-card:hover { border-color: #bbb; }
.work-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  font-size: 13px;
  font-weight: 500;
}
.work-card-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}
.work-card-body h2 { font-size: 22px; font-weight: 500; margin-bottom: 10px; line-height: 1.3; }
.work-card-body p { font-size: 14px; color: var(--secondary); line-height: 1.65; margin-bottom: 20px; }
.work-metric { font-size: 13px; color: var(--secondary); margin-bottom: 20px; }
.work-metric strong { color: var(--black); }
.work-link { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }

/* PLACEHOLDER */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--bg-soft);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--tertiary);
  font-size: 13px;
  border-radius: 0;
}
.placeholder-img svg { opacity: 0.4; }

/* ABOUT STRIP */
.about-strip {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-strip h2 { font-size: 28px; font-weight: 500; margin-bottom: 14px; line-height: 1.3; }
.about-strip p { font-size: 15px; color: var(--secondary); line-height: 1.7; margin-bottom: 16px; }
.skills-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill {
  font-size: 12px;
  color: var(--secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--tertiary);
}

/* CASE STUDY */
.case-hero {
  padding: 64px 0 56px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 32px;
}
.back-link:hover { color: var(--black); opacity: 1; }
.case-hero h1 { font-size: 38px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; max-width: 680px; }
.case-hero .lead { font-size: 18px; color: var(--secondary); max-width: 580px; line-height: 1.7; margin-bottom: 32px; }
.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0;
}
.case-meta-item {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.case-meta-item:last-child { border-right: none; }
.case-meta-label { font-size: 11px; color: var(--tertiary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.case-meta-value { font-size: 14px; font-weight: 500; }

.case-visual {
  margin: 48px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.case-visual .placeholder-img { min-height: 400px; border-radius: 0; border: none; }

.case-section { margin-bottom: 64px; }
.case-section h2 { font-size: 24px; font-weight: 500; margin-bottom: 16px; }
.case-section p { font-size: 16px; color: var(--secondary); line-height: 1.8; margin-bottom: 16px; }
.case-section p:last-child { margin-bottom: 0; }

.highlight-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--black);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.7;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.two-col .placeholder-img { min-height: 200px; border-radius: 8px; }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.outcome-card {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.outcome-number { font-size: 32px; font-weight: 500; margin-bottom: 6px; }
.outcome-label { font-size: 13px; color: var(--secondary); }

/* ABOUT PAGE */
.about-hero { padding: 80px 0 60px; }
.about-hero h1 { font-size: 38px; font-weight: 500; margin-bottom: 16px; max-width: 580px; line-height: 1.2; letter-spacing: -0.02em; }
.about-hero p { font-size: 17px; color: var(--secondary); max-width: 540px; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--border); }
.about-grid h2 { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.about-grid p { font-size: 15px; color: var(--secondary); line-height: 1.8; margin-bottom: 14px; }
.experience-item { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.experience-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.exp-title { font-size: 15px; font-weight: 500; }
.exp-company { font-size: 14px; color: var(--secondary); margin-bottom: 4px; }
.exp-date { font-size: 13px; color: var(--tertiary); }

/* RESPONSIVE */
@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .work-card { grid-template-columns: 1fr; }
  .work-card-visual { min-height: 200px; }
  .about-strip { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr; }
  .case-hero h1 { font-size: 28px; }
  .nav-links .hide-mobile { display: none; }
}
