/* ============================
   Bennett Made — Global Styles
   ============================ */

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

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

:root {
  --black: #111111;
  --off-black: #1c1c1c;
  --dark-gray: #444444;
  --mid-gray: #777777;
  --border: #e4e4e4;
  --light-gray: #f7f6f4;
  --white: #ffffff;
  --accent: #c8a97e;
  --blaze-orange: #ff6600;
  --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-width: 1080px;
  --nav-height: 64px;
}

html { scroll-behavior: smooth; }

#work,
#about {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================
   Scroll Animations
   ============================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ============================
   Navigation
   ============================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

nav.nav--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

nav.nav--overlay.nav--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}

nav.nav--overlay.nav--open {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}

nav.nav--overlay.nav--open .nav-logo {
  color: var(--black);
}

nav.nav--overlay.nav--open .nav-toggle {
  color: var(--black);
}

nav.nav--overlay + main > .hero {
  margin-top: calc(-1 * var(--nav-height));
  min-height: calc(88vh + var(--nav-height));
  max-height: calc(820px + var(--nav-height));
}

.nav-logo,
.nav-menu a,
.nav-links .icon-link,
.nav-links .btn-resume {
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

nav.nav--overlay:not(.nav--scrolled) .nav-logo,
nav.nav--overlay:not(.nav--scrolled) .nav-menu a,
nav.nav--overlay:not(.nav--scrolled) .nav-links .icon-link {
  color: rgba(255,255,255,0.92);
}

nav.nav--overlay:not(.nav--scrolled) .nav-menu a:hover,
nav.nav--overlay:not(.nav--scrolled) .nav-links .icon-link:hover {
  color: var(--white);
}

nav.nav--overlay:not(.nav--scrolled) .nav-links .btn-resume {
  background: transparent;
  color: var(--blaze-orange);
  border: 2px solid var(--blaze-orange);
  padding: 7px 18px;
}

nav.nav--overlay:not(.nav--scrolled) .nav-links .btn-resume:hover {
  background: rgba(255, 102, 0, 0.12);
  transform: translateY(-1px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

nav.nav--overlay:not(.nav--scrolled):not(.nav--open) .nav-toggle {
  color: var(--white);
}

nav.nav--open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav.nav--open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.nav--open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

nav.nav--overlay.nav--open .nav-menu a,
nav.nav--overlay.nav--open .nav-links .icon-link {
  color: var(--mid-gray);
}

nav.nav--overlay.nav--open .nav-menu a:hover,
nav.nav--overlay.nav--open .nav-links .icon-link:hover {
  color: var(--black);
}

nav.nav--overlay.nav--open .nav-links .btn-resume {
  background: var(--black);
  color: var(--white);
  border-color: transparent;
}

nav.nav--overlay.nav--open .nav-links .btn-resume:hover {
  background: #333;
}

body.nav-menu-open {
  overflow: hidden;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  color: var(--mid-gray);
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--black);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--mid-gray);
  transition: color 0.2s;
}

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

.nav-links .btn-resume {
  background: var(--black);
  color: var(--white);
  padding: 9px 20px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s, color 0.3s ease, border-color 0.3s ease;
}

.nav-links .btn-resume:hover {
  background: #333;
  transform: translateY(-1px);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  transition: color 0.2s;
}

.icon-link-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-links .icon-link {
  color: var(--mid-gray);
}

.nav-links .icon-link:hover {
  color: var(--black);
}

/* ============================
   Page Wrapper
   ============================ */

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

/* ============================
   Section Headings
   ============================ */

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: var(--black);
  margin-bottom: 48px;
}

.role-section .section-heading,
.contributions .section-heading {
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ============================
   Hero — Full Bleed
   ============================ */

.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0 32px 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-content .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 14px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #eee;
  transform: translateY(-1px);
}

.btn-primary.dark {
  background: var(--black);
  color: var(--white);
}

.btn-primary.dark:hover {
  background: #333;
}

/* ============================
   Currently Strip
   ============================ */

.currently-strip {
  background: var(--off-black);
  color: var(--white);
  padding: 14px 32px;
  border-bottom: 3px solid var(--accent);
}

.currently-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
}

.currently-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================
   Testimonials
   ============================ */

.testimonials {
  background: var(--light-gray);
  padding: 72px 32px;
}

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

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 32px 28px;
  border-radius: 4px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.testimonial:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 24px;
  color: var(--black);
  position: relative;
}

.testimonial blockquote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.testimonial cite strong {
  display: block;
  color: var(--black);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

/* ============================
   Featured Work
   ============================ */

.featured-work {
  padding: 88px 32px;
  background: var(--white);
}

.featured-case {
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.featured-case:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.featured-case--hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: none;
  margin-bottom: 24px;
  background: var(--off-black);
}

.featured-case--hero:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.featured-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.featured-case-visual {
  position: relative;
  min-height: 240px;
  background: var(--light-gray);
  overflow: hidden;
}

.featured-case-visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.featured-case-visual--dark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
  min-height: 280px;
}

.featured-case-logo {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 140px;
  max-height: 140px;
  object-fit: contain !important;
}

.featured-case--hero .featured-case-visual--dark {
  min-height: 100%;
}

.featured-case-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-case--hero .featured-case-body {
  color: var(--white);
  justify-content: center;
}

.featured-case-outcome {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.featured-case-body h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.featured-case-body p {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--dark-gray);
  flex: 1;
}

.featured-case--hero .featured-case-body p {
  color: rgba(255,255,255,0.7);
}

.featured-case .card-link {
  margin-top: 8px;
}

.featured-case--hero .card-link {
  color: var(--white);
}

.featured-case-grid .featured-case {
  display: flex;
  flex-direction: column;
}

.featured-case-grid .featured-case-visual {
  height: 200px;
  min-height: 200px;
  max-height: 200px;
}

.featured-case-grid .featured-case-visual--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.featured-case-grid .featured-case-visual--dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
}

.featured-case-grid .featured-case-visual--light {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.featured-case-grid .featured-case-logo {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain !important;
}

.featured-case-grid .featured-case-logo--wide {
  max-width: 220px;
  max-height: 56px;
}

.featured-case-grid .featured-case-visual--banner img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

/* ============================
   Competencies
   ============================ */

.competencies {
  padding: 88px 0 0;
  background: var(--light-gray);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.competency-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 28px 28px 32px;
  border-radius: 4px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.competency-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.competency-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.competency-proof {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1.5;
}

.competency-card p:last-child {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.competencies .skills-cta {
  text-align: center;
  padding-bottom: 88px;
}

/* ============================
   Ventures Strip
   ============================ */

.ventures-strip {
  background: var(--off-black);
  color: var(--white);
  padding: 88px 32px;
}

.ventures-inner {
  text-align: center;
}

.ventures-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.ventures-strip .section-heading {
  color: var(--white);
  margin-bottom: 16px;
}

.ventures-lead {
  max-width: 520px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ventures-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  border-radius: 6px;
  overflow: hidden;
}

.ventures-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ventures-photos img:hover {
  transform: scale(1.03);
}

.ventures-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ventures-link:hover {
  color: var(--white);
}

/* ============================
   Skills Section (legacy tabs)
   ============================ */

.skills {
  padding-top: 88px;
}

.skills-cta {
  margin-top: 48px;
  padding-bottom: 64px;
}

.skills-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  color: var(--mid-gray);
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--black);
  border-bottom-color: var(--accent);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  max-width: 680px;
  margin-bottom: 20px;
}

.tab-panel p strong {
  color: var(--black);
  font-weight: 600;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-list li {
  background: var(--light-gray);
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: 3px;
  color: var(--dark-gray);
}

/* ============================
   Work Cards
   ============================ */

.work {
  padding: 88px 32px 96px;
  background: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.work-card {
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  border-radius: 4px;
}

.work-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.work-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--light-gray);
}

.work-card img.work-card-logo--cover {
  object-fit: cover;
  background: transparent;
}

.work-card .tenure {
  font-size: 0.75rem;
  color: var(--mid-gray);
  font-weight: 500;
}

.work-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.work-card p {
  font-size: 0.875rem;
  color: var(--dark-gray);
  line-height: 1.7;
  flex: 1;
}

.work-card a.card-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.work-card a.card-link:hover { gap: 10px; }
.work-card a.card-link::after { content: '→'; }

/* ============================
   Footer
   ============================ */

footer {
  background: var(--off-black);
  color: var(--white);
  padding: 56px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.75;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-social .icon-link {
  color: rgba(255,255,255,0.55);
}

.footer-social a:hover,
.footer-social .icon-link:hover { color: var(--white); }

/* ============================
   Work Experience Pages
   ============================ */

.work-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}

.work-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  font-weight: 600;
  margin-bottom: 20px;
}

.work-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 24px;
}

.work-hero p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 620px;
  line-height: 1.8;
}

.work-hero-image {
  margin: 52px 0;
}

.work-hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.role-section {
  margin-bottom: 72px;
}

.role {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
}

.role:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.role h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.role .tenure {
  font-size: 0.8rem;
  color: var(--mid-gray);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.role p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 720px;
}

.role ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.role ul li {
  padding-left: 22px;
  position: relative;
  font-size: 0.925rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

.role ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.contributions {
  margin-bottom: 72px;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contribution-item {
  padding: 28px;
  background: var(--light-gray);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.contribution-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}

.contribution-item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contribution-item ul li {
  padding-left: 20px;
  position: relative;
  font-size: 0.875rem;
  color: var(--dark-gray);
  line-height: 1.65;
}

.contribution-item ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 72px;
  border-radius: 4px;
  overflow: hidden;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-grid img:hover { transform: scale(1.04); }

.page-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 72px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-nav a {
  color: var(--mid-gray);
  transition: color 0.2s;
}

.page-nav a:hover { color: var(--black); }

/* ============================
   Case Study Pages
   ============================ */

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 72px;
  padding: 32px;
  background: #f5f5f5;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .case-meta {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
  margin-bottom: 6px;
}

.case-meta-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.case-section {
  margin-bottom: 64px;
}

.case-section .section-heading {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.case-section p {
  margin-bottom: 20px;
  line-height: 1.75;
}

.case-section p:last-child {
  margin-bottom: 0;
}

.case-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 64px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.case-cta p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ============================
   Contact Page
   ============================ */

.contact-section {
  padding: 88px 0;
  max-width: 540px;
}

.contact-section h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-section > p {
  color: var(--dark-gray);
  margin-bottom: 12px;
}

.contact-section .email-link {
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  display: inline-block;
  margin-bottom: 52px;
  transition: opacity 0.2s;
}

.contact-section .email-link:hover { opacity: 0.6; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid-gray);
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--border);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-submit {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 768px) {
  .hero-content { padding: 0 24px 52px; }
  .hero-content h1 { font-size: 1.9rem; }

  .nav-inner { padding: 0 20px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  }

  nav.nav--open .nav-links {
    display: flex;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 0.9rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }

  .nav-actions .icon-link {
    padding: 8px 0;
  }

  .nav-actions .btn-resume {
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }

  .currently-inner { font-size: 0.75rem; }

  .testimonial-grid { grid-template-columns: 1fr; gap: 24px; }

  .featured-work { padding: 56px 20px; }
  .featured-case--hero { grid-template-columns: 1fr; }
  .featured-case-grid { grid-template-columns: 1fr; }
  .featured-case-grid .featured-case-visual { height: 180px; min-height: 180px; max-height: 180px; }

  .competency-grid { grid-template-columns: 1fr; }
  .competencies .skills-cta { padding-bottom: 56px; }

  .ventures-strip { padding: 56px 20px; }
  .ventures-photos { grid-template-columns: 1fr; }

  .work-grid { grid-template-columns: 1fr; max-width: none; }
  .contribution-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }

  .work-hero h1 { font-size: 2rem; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-social { flex-direction: column; gap: 12px; align-items: flex-start; }

  .page { padding: 0 20px; }
  .work { padding: 56px 20px 80px; }
  .skills-cta { padding-bottom: 48px; }
  .testimonials { padding: 56px 20px; }
}
