@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #555555;
  --color-gray-light: #999999;
  --color-blue-light: #d6e6fb;
  --color-blue-mid: #a9cdf7;
  --font-display: 'Source Sans 3', sans-serif; /* stand-in for Acumin Pro */
  --font-body: 'Poppins', sans-serif;
  --max-width: 1200px;
}

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

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

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

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Header / nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}

header .logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  position: relative;
}

nav a.active::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  margin-top: 6px;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--color-blue-light), var(--color-blue-mid));
  padding: 60px 0;
  margin-bottom: 60px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  max-width: 900px;
  line-height: 1.4;
}

/* Section headings */
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 40px;
}

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.work-card { display: block; }

.work-card .thumb {
  background: #eee;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4 / 3;
}

.work-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-gray-light);
  transition: color 0.3s ease;
}

.work-card:hover h3 { color: var(--color-black); }

.work-card p {
  font-size: 16px;
  color: var(--color-gray);
  max-width: 420px;
}

/* Contact footer */
footer.contact {
  padding: 80px 0 60px;
  border-top: 1px solid #eee;
  margin-top: 80px;
}

footer.contact p {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
}

footer.contact .links {
  display: flex;
  gap: 24px;
  font-weight: 600;
  text-decoration: underline;
}

/* Case study pages */
.case-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 60px 0 50px;
  align-items: start;
}

.case-header h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  margin-bottom: 20px;
}

.case-header .tagline {
  font-size: 19px;
  max-width: 520px;
}

.case-header .role-label {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
}

.case-body {
  padding-bottom: 80px;
}

.case-body p {
  margin-bottom: 28px;
  max-width: 820px;
  font-size: 16px;
}

.case-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin: 50px 0 20px;
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 14px;
}

.case-body img,
.case-body .media {
  margin: 36px 0;
  border-radius: 4px;
  overflow: hidden;
}

.case-body ul {
  margin: 0 0 28px 22px;
}

.case-body li { margin-bottom: 10px; }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  min-height: 60vh;
}

.about-grid img {
  border-radius: 4px;
}

.about-grid .copy {
  font-size: 19px;
  line-height: 1.6;
}

.about-grid .copy p { margin-bottom: 24px; }

/* Responsive */
@media (max-width: 800px) {
  .work-grid { grid-template-columns: 1fr; }
  .case-header { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 24px; }
  header { padding: 28px 0; }
}

:root {
  --jc-ink: #16231F;
  --jc-paper: #EDEFEA;
  --jc-accent: #1F4B44;
  --jc-slate: #49566B;
  --font-display: "Fraunces", serif;
  --font-body: "Inter Tight", sans-serif;
}

body {
  background: var(--jc-paper);
  color: var(--jc-ink);
  font-family: var(--font-body);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

a {
  color: var(--jc-accent);
}

.contour-divider {
  height: 1px;
  margin: 3rem 0;
  background: linear-gradient(to right, transparent, var(--jc-slate) 20%, var(--jc-slate) 80%, transparent);
  opacity: 0.35;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p  { font-size: 1rem; line-height: 1.7; max-width: 65ch; }

.fade-in { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
