:root {
  --page-width: 1280px;
  --bg: #141414;
  --text: #ffffff;
  --muted: #d5d5d5;
  --divider: #6b6b6b;
  --pad-x: 15px;
}

@font-face {
  font-family: 'Graphik LC';
  src: local('Graphik LC Regular'), local('Graphik LC Regular Regular'), url('assets/Graphik LC Regular Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Graphik LC', -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(120%) blur(6px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding-right: 20px;
}
.logo-text {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  align-items: flex-end;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 12px 0 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-links a { color: #e8e8e8; text-decoration: none; font-size: 20px; }
.nav-links a:hover { color: #fff; }

.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 6px 10px; }

main > section {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.intro-section {
  display: grid;
  gap: 20px;
  text-align: center;
}
.intro-section h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  padding-top: 60px;
  padding-bottom: 20px;
  font-weight: 400;
}
.intro-media { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); z-index: 0; }
.intro-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
.intro-video { width: 100%; height: auto; display: none; object-fit: cover; z-index: 0; }
body.has-video .intro-video { display: block; }

.our-work-section { padding: 20px var(--pad-x) 50px; display: grid; gap: 20px; }
.our-work-header h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; font-weight: 400; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.product-card { display: grid; gap: 8px; margin: 0; min-width: 0; }
.product-card img,
.product-card video {
  width: 100%;
  height: auto;
  aspect-ratio: 461 / 446;
  object-fit: cover;
  display: block;
}
.product-card figcaption {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 6px;
  min-width: 0;
}
.product-meta {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-weight: 600;
  font-size: 16px;
  color: var(--muted);
}
.product-title {
  grid-column: 2;
  grid-row: 1;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: #fff;
}
.top-product-subtitle {
  font-weight: 600;
}
.product-subtitle {
  grid-column: 2;
  grid-row: 2;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--muted);
}
.product-card--desc p { font-size: 14px; color: #fff; grid-column: 1 / -1; line-height: 1.4; }

#services .product-card figcaption { column-gap: 24px; row-gap: 6px; }
#services .product-title, #services .product-subtitle { word-break: break-word; }

.project-description { display: flex; justify-content: space-between; gap: clamp(40px, 8vw, 540px); align-items: flex-start; }
.project:first-of-type .project-description { gap: 60px; }
.project-header { display: flex; gap: 16px; align-items: flex-start; }
.project-label { color: var(--muted); font-weight: 600; font-size: 16px; letter-spacing: -0.03em; }
.project-title { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.project-subtitle { color: var(--muted); margin: 0; max-width: 30ch; }
.project-body p { margin: 0; color: #fff; max-width: 48ch; }

.stats-section { display: grid; gap: 30px; padding-bottom: 50px; }
.stats-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.stats-intro h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; font-weight: 400; }
.stats-list { display: grid; gap: 30px; }
.stat { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.stat:first-child { border-top: 0; }
.stat-value { font-size: clamp(48px, 7vw, 105px); line-height: 1.1; letter-spacing: -0.05em; font-weight: 400; }
.stats-list { position: relative; }
.stat-value { justify-self: start; }
.stats-content { justify-items: stretch; }
.stats-intro { justify-self: start; }
.stats-list { grid-auto-rows: minmax(0, auto); }
.stat-label { color: #d5d5d5; }

.connect-section { display: grid; gap: 34px; padding-bottom: 50px; }
.connect-card { position: relative; padding: 20px; background: rgba(255,255,255,0.12); border-radius: 8px; overflow: hidden; }
.connect-card--charity {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/charity-bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.connect-card--career { background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.15) 100%), url('assets/career-bg.png') center/cover no-repeat; }
.connect-card h2 { 
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  font-weight: 400; 
}
.connect-card p { 
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--muted); 
}

#career .connect-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  align-items: start;
  gap: 10px;
  padding: 20px;
}
#career .connect-card h2 {
  margin: 0;
  grid-column: 1;
  align-self: start;
}
#career .connect-card p {
  opacity: 0.95;
  margin: 0;
  grid-column: 2;
  justify-self: end;
  text-align: right;
  max-width: 32ch;
  padding-right: 20px;
}

#charity .connect-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  align-items: start;
  gap: 10px;
  padding: 20px;
}
#charity .connect-card h2 {
  margin: 0;
  grid-column: 1;
  align-self: start;
}
#charity .connect-card p {
  opacity: 0.95;
  margin: 0;
  grid-column: 2;
  justify-self: end;
  text-align: right;
  max-width: 32ch;
  padding-right: 20px;
}

.slogan-section { display: grid; gap: 10px; padding: 0 var(--pad-x) 30px; max-width: var(--page-width); margin: 0 auto; }
.slogan-section h2 { font-size: clamp(28px, 4vw, 37px); letter-spacing: -0.03em; margin: 0; }

.awards-section { padding: 19px var(--pad-x) 50px; max-width: var(--page-width); margin: 0 auto; }
.awards-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.awards-intro h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 400; }
.awards-list { display: grid; gap: 0; }
.awards-list > *:last-child { border-bottom: 1px solid rgba(255,255,255,0.2); }

.award { display: grid; grid-template-columns: 305px auto; align-items: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.awards-content { justify-items: stretch; }
.awards-intro { justify-self: start; }
.award-title { overflow-wrap: anywhere; }

.award-title { color: #fff; }
.award-cta { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; justify-self: end; }
.award-cta.muted { opacity: 0.8; }

.award-desc { align-items: start; padding: 16px 0; border: none; }
.award-paragraph { color: #b0b0b0; margin: 0; max-width: 610px; }

.site-footer { position: relative; padding: 60px var(--pad-x) 15px; border-top: none; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--page-width), calc(100% - (2 * var(--pad-x))));
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-content { max-width: var(--page-width); margin: 0 auto; display: grid; gap: 30px; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; min-height: 160px; }
.footer-right { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-column h3 { margin: 0 0 10px; font-size: 20px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-column a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-column address { font-style: normal; color: #fff; }
.footer-brand { display: grid; gap: 10px; }
.footer-mark { display: inline-grid; grid-auto-flow: column; align-items: center; gap: 8px; width: max-content; margin-left: 4px; }
.footer-brand .logo-text { display: none; }
.slogan-title { font-weight: 400; }

.our-work-section > img,
.stats-section > img,
.connect-section > img,
.slogan-section > img,
.awards-list > img { width: 100%; height: auto; opacity: 0.6; }

@media (max-width: 768px) {
  .site-nav { height: 53px; }
  .nav-toggle { display: inline-block; }
  .nav-links { position: absolute; right: 15px; top: 53px; background: rgba(0,0,0,0.9); backdrop-filter: blur(6px); padding: 12px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; display: none; flex-direction: column; gap: 12px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 18px; }

  .intro-section h1 { font-size: 24px; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card img,
  .product-card video { aspect-ratio: 285 / 276; }

  .stats-content { grid-template-columns: 1fr; gap: 20px; }
  .stats-list { gap: 0; }
  .stat { width: 100%; padding: 16px 0; }
  .stat:first-child { border-top: 0; }

  .awards-content { grid-template-columns: 1fr; gap: 20px; }
  .award { padding: 14px 0; grid-template-columns: minmax(0,1fr) auto; }
  .award-desc { grid-template-columns: 1fr; }
  .award-paragraph { max-width: none; }
  .award:first-child { border-top: 0; }

  #career .connect-card,
  #charity .connect-card { grid-template-columns: 1fr; min-height: 320px; padding: 15px; }
  #career .connect-card h2,
  #charity .connect-card h2 { grid-column: 1; }
  #career .connect-card p,
  #charity .connect-card p { grid-column: 1; justify-self: start; text-align: left; padding-right: 0; max-width: 36ch; }
}
