@charset "UTF-8";

/* =======================
   0) Variables
   ======================= */
:root {
  --h1-fs: 80px;
  --h2-base: 1.5rem;
  --black: #232323;
  --base-color: #F5F2F1;
  --page-gutter: 24px;
  --grid-gap: 24px;
  --margin-xsmall: 16px;
  --radius-x: 4%;
  --radius-y: 8%;
  --margin-small: 24px;
  --margin-medium: 32px;
  --margin-large: 48px;
}

/* =======================
   1) Base + Typography
   ======================= */
body {
  background-color: var(--base-color);
  color: var(--black);
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: calc(16px + 2 * ((100vw - 320px) / 110));
}
strong { font-weight: 700; }
h1 {
  font-family: "Carter One", system-ui;
  font-size: 5rem;
  font-weight: 400;
}
h1.case-study-header { font-size: 2.5rem; line-height: 3rem; }
h2.subtext { font-size: var(--h2-base); letter-spacing: 1px; font-style: italic; }
h2.section-header { font-size: 2rem; font-weight: 700; }
h2.case-section-header {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem;
  font-size: var(--h2-base);
  font-weight: 700;
}
h3 { font-size: var(--h2-base); font-weight: 700; margin-bottom: 1rem; }

/* =======================
   2) Layout
   ======================= */
.wrapper { padding: 0 5%; }
.container { padding: 2rem 0; }
.hero { align-items: center; width: 100%; }
.inner-hero { flex: 5; min-width: 0; }
.me-pic { flex: 3; min-width: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.me-pic img, img.me-pic { width: 100%; height: auto; display: block; object-fit: cover; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.pp { height: 80px; }
.ea { height: 48px; }
.article-layout p { margin-bottom: 2rem; line-height: 1.6; }
.article-layout { font-size: clamp(16px, 1.2vw + 0.5rem, 24px);}
.maxed { max-width: 1366px; margin: auto auto;}
.article-layout .bullets li { font-size: clamp(16px, 1.2vw + 0.5rem, 24px);}
i { font-style: italic; }

.call-out {
  background: var(--black);
  color: var(--base-color);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}


/* =======================
   3) Navigation
   ======================= */
.main-nav { display: flex; align-items: center; justify-content: space-between; }
.main-nav ul { margin: 0; padding: 0; display: flex; align-items: center; }
nav ul li { font-size: 16px; }
a.nav-bar { display: flex; align-items: center; height: 100%; }
.logo { display: block; height: 28px; width: auto; }
.my-name { font-family: "Carter One", system-ui; font-size: 32px; margin-left: 32px; }
a:hover { text-decoration: underline; }
.link { font-weight: 700;}

/* =======================
   4) Components
   ======================= */
.subtitle { font-size: var(--h2-base); }
.ul-case-study { font-size: var(--h2-base); }
.badges { display: flex; flex-wrap: wrap; gap: 1rem; }
.badge { display: inline-block; font-size: 1rem; border: 2px solid var(--black); border-radius: 9999px; padding: 0.25rem 1rem; }
.eyes { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--black); color: #fff; font-size: 2rem; line-height: 1; }
.small-eyes { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; font-size: 1.5rem; line-height: 1; }

.bullets li { margin-bottom: 1rem; font-size: var(--h2-base); padding-left: 1.5rem;}

/* Icon grid & steps */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
  margin: 0;
  font-size: var(--h2-base);
  list-style: none;
}
.icon-grid li { padding: 1rem; background-color: var(--black); color: var(--base-color); border-radius: 24px; }
.ic { font-size: 2.5rem; margin-right: .35rem; }

/* Thumbs (cards) */
.thumbs { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; }
.thumb { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.thumb__media { width: 100%; aspect-ratio: 16 / 9; background: var(--black); border-radius: var(--radius-x) / var(--radius-y); overflow: hidden; position: relative; }
.thumb__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CTA button */
.cta {
  width: 256px; height: 53px; font-size: 1.5rem; margin-left: auto; margin-right: auto;
  display: flex; gap: 24px; border-radius: 9999px; justify-content: center; align-items: center;
}
.cta:hover { background-color: #24245C; color: white; text-decoration: none; cursor: pointer; }
.cta-icon { height: 40px; width: auto; flex-shrink: 0; display: block; }

/* Logo ticker */
.logo-ticker { overflow: hidden; width: 100%; background: transparent; margin: 32px 0; position: relative; }
.logo-ticker__track { display: flex; width: max-content; align-items: center; gap: 48px; }
.logo-ticker__logo { width: auto; display: block; }
.logo-ticker__track--mobile { display: flex; animation: ticker-scroll 10s linear infinite; }
.logo-ticker__track--desktop { display: none; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.logo-ticker:hover .logo-ticker__track--mobile { animation-play-state: paused; }

/* Footer */
.site-footer { text-align: center; }

/* Utilities */
.text-white { color: white; }
.background-black { background-color: var(--black); }
.border-black { border: solid 2px var(--black); }
.top-space { padding-top: var(--margin-xsmall); }
.bottom-space { padding-bottom: var(--margin-xsmall); }
.bottom-space-small { margin-bottom: var(--margin-small); }
.bottom-space-medium { margin-bottom: var(--margin-medium); }
.bottom-space-large { padding-bottom: var(--margin-large); }
.bio { /* keeps existing spacing token sizes at larger breakpoints */ }
.body-copy { font-size: 1rem; }

/* =======================
   5) Case Study extras (used in translink-case-study.html)
   ======================= */
.case-study-img { max-width: 100%; height: auto; display: block; }
.caption { font-size: 0.95rem; opacity: .8; }
.figure-frame { border-radius: 24px; overflow: hidden; }
.figure-frame figcaption { padding: .5rem .75rem; opacity: .8; border-top: 1px solid var(--black); }
.section { padding: 2rem 0; }
.alt { background: #efeae7; }
.eyebrow { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--black); color: #fff; font-weight: 700; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps > li { border: 2px solid #B2AAA6; border-radius: 24px; padding: 1rem; font-size: 1.5rem; color: var(--black);}
.stats { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.stat { border: 2px solid #B2AAA6; border-radius: 24px; padding: 1rem; text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.stat-label { opacity: .8; font-size: var(--h2-base); }
.quote { margin: 0 0 1rem; padding: 1rem 1.25rem; border-left: 4px solid var(--black); border: 2px solid #B2AAA6; border-radius: 8px;font-size: 1.5rem; }


/* =======================
   6) Responsive
   ======================= */

/* mobile helpers */
@media (min-width: 430px) {
  .body-copy { font-size: 1.125rem; }
  p {
    font-size: 1.125rem;
  }
}



@media (max-width: 600px) {
  nav ul li .cta { display: none !important; }
  .my-name { display: none !important; }
  .thumbs { grid-template-columns: 1fr; }
  
}

/* tablets */
@media (min-width: 900px) {

}

/* tablet portrait and up */
@media (min-width: 600px) {
  .my-name { display: flex !important; font-family: "Carter One", system-ui; font-size: 1.5rem; margin-left: 24px; }
  nav ul li { font-size: 24px; }
  .main-nav ul { gap: 32px; }
  .top-space { margin-top: var(--margin-medium); }
  .bottom-space { margin-bottom: var(--margin-medium); }
  .logo { height: 36px; }
  .wrapper { padding: 0 4%; }
  .body-copy { font-size: 1.5rem; }
  p {
    font-size: 1.5rem;
  }
}

/* tablet landscape and up */
@media (min-width: 1024px) {
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .wrapper { padding: 0 2.34375%; }
  .hero { padding: 0 12.22547584195%; }
  .body-copy { font-size: 1.5rem; }
  .bio { margin-left: 0; margin-right: 34.86328125%; }
  .thumbs { font-size: var(--h2-base); }
  .cta { margin-left: 0; }
  footer { font-size: var(--h2-base); }
  footer p { font-size: 16px; }
  .pp { height: 64px; }
  .ea { height: 39px; }
  .logo-ticker__track { gap: 32px; }
  .logo-ticker__track--mobile { display: none !important; }
  .logo-ticker__track--desktop { display: flex !important; animation: none !important; transform: none !important; width: 100%; gap: 0 !important; justify-content: space-between; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .steps { grid-template-columns: repeat(3, 1fr);}
  .site-footer { text-align: left; }
}

/* desktop and up */
@media (min-width: 1366px) {
  .icon-grid { grid-template-columns: repeat(5, 1fr); }
  .my-name { font-size: 2rem; margin-left: 24px; }
  nav ul li { font-size: 32px; }
  .wrapper { padding: 0 1.756954612%; }
  .hero { padding: auto 16.3982430454%; }
  .logo { height: 48px; }
  h1.hello { font-size: calc(var(--h1-fs)*1.2); }
  h2.subtext { font-size: calc(var(--h2-base)*1.3333333333); }
  .bio { margin-right: 51.1713030747%; }
  .pp { height: 87px; }
  .ea { height: 52px; }
  .logo-ticker__track { gap: 48px; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  
}

/* large desktop */
@media (min-width: 1920px) {
  .wrapper { padding: 0 1.6666666667%; }
  .hero { padding: 0 16.4583333333%; }
  h1.hello { font-size: calc(var(--h1-fs)*1.5); }
  .thumbs { gap: calc(var(--grid-gap)*1.3333333333); }
  .pp { height: 124px; }
  .ea { height: 74px; }
  .logo-ticker__track { gap: 72px; }
}

/* extra large desktop */
@media (min-width: 2560px) {
  .top-space { margin-top: var(--margin-large); }
  .bottom-space { margin-bottom: var(--margin-large); }
  .logo { height: 64px; }
  .wrapper { padding: 0 4.21875%; }
  .bio { margin-right: 46.5625%; }
  .thumbs { gap: calc(var(--grid-gap)*1.6666666667); font-size: 2rem; }
  h1 { font-size: 12rem; }
  .hero { padding: 0 15.390625%; }
  h2.section-header { font-size: 3rem; }
  h2.subtext { font-size: calc(var(--h2-base)*2); }
  .body-copy { font-size: 2rem; }
}
