/* ============================================================
   Designar component styles
   Rewritten 1:1 from the AirPixel Webflow stylesheet, cleaned:
   no framework classes, no variant hashes, tokens from tokens.css.
   ============================================================ */

/* --- reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { height: 100%; -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--color-surface);
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: 400;
  letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }
h1 { font-size: var(--h1-size); line-height: var(--h1-lh); letter-spacing: var(--h1-ls); }
h2 { font-family: var(--font-display); font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
h3 { font-family: var(--font-display); font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: var(--h3-ls); }
h4 { font-size: var(--h4-size); line-height: var(--h4-lh); letter-spacing: var(--h4-ls); }
h5 { font-size: var(--h5-size); line-height: var(--h5-lh); letter-spacing: var(--h5-ls); }
h6 { font-size: var(--h6-size); line-height: var(--h6-lh); letter-spacing: var(--h5-ls); }

p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: var(--text-md-lh);
  font-weight: 400;
}
a { text-decoration: none; background-color: transparent; max-width: 100%; }
ul, ol {
  display: flex; flex-direction: column; row-gap: .5rem;
  margin: 0; padding-left: 1.8rem;
}
img { display: inline-block; max-width: 100%; height: auto; object-fit: cover; vertical-align: middle; border: 0; }
svg:not(:root) { overflow: hidden; }
b, strong { font-weight: 700; }
label { display: block; margin-bottom: 0; font-weight: 400; }
blockquote {
  border-left: 5px solid var(--color-accent);
  margin: 0; padding: .75rem .75rem .75rem 1.25rem;
  font-size: 1.2rem; line-height: 1.5; font-weight: 400;
}
figure { margin: 0 0 10px; }
figcaption { text-align: center; margin-top: 5px; }
button { font: inherit; color: inherit; margin: 0; border: 0; cursor: pointer; background: none; text-transform: none; overflow: visible; }
input, select, textarea { color: inherit; font: inherit; margin: 0; }
input { line-height: normal; }
[hidden] { display: none !important; }

.page { overflow: clip; }

/* --- typography classes ------------------------------------------ */
.text-h1 { font-size: var(--h1-size); line-height: var(--h1-lh); font-weight: 500; letter-spacing: var(--h1-ls); }
.text-h2 { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: var(--h2-ls); }
.text-h3 { font-size: var(--h3-size); line-height: var(--h3-lh); font-weight: 500; letter-spacing: var(--h3-ls); }
.text-h4 { font-size: var(--h4-size); line-height: var(--h4-lh); font-weight: 500; letter-spacing: var(--h4-ls); }
.text-h5 { font-family: var(--font-display); font-size: var(--h5-size); line-height: var(--h5-lh); font-weight: 500; letter-spacing: var(--h5-ls); }
.text-h6 { font-size: var(--h6-size); line-height: var(--h6-lh); font-weight: 500; letter-spacing: var(--h6-ls); }
.text-xl { font-size: var(--text-xl); line-height: var(--text-xl-lh); }
.text-lg { color: var(--color-text-muted); font-size: var(--text-lg); line-height: var(--text-lg-lh); font-weight: 500; }
.text-lg.cc-header-right { color: var(--color-surface-2); text-align: right; }
.text-md { font-size: var(--text-md); line-height: var(--text-lg-lh); }
.text-md.cc-font-weight-500 { font-weight: 500; }
.text-sm { font-size: var(--text-sm); line-height: var(--text-sm-lh); }
.text-sm.cc-font-weight-500 { font-weight: 500; }
.text-sm.cc-top-12 { margin-top: .75rem; }
.text-xs { font-size: var(--text-xs); line-height: var(--text-xs-lh); }
.span-text { color: var(--btn-bg); }

/* giant footer brand word (replaces the baked-in SVG wordmark) */
.text-giant {
  font-family: var(--font-body);
  font-size: clamp(3rem, 14.2vw, 14.5rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  opacity: .3;
}

/* --- utilities ---------------------------------------------------- */
.u-text-left { text-align: left; }
.u-text-center { text-align: center; }
.u-text-right { text-align: right; }
.u-text-uppercase { text-transform: uppercase; }
.u-text-muted { color: var(--color-text-muted); }
.u-text-main { color: var(--color-text); }
.u-text-surface { color: var(--color-surface); }
.u-text-surface-2 { color: var(--color-surface-2); }
.u-text-accent { color: var(--color-accent); }
.u-bg-surface { background-color: var(--color-surface); }
.u-bg-surface-2 { background-color: var(--color-surface-2); }
.u-bg-accent { background-color: var(--color-accent); }
.u-hide { display: none; }
.u-relative { position: relative; }
.u-height-full { height: 100%; }
.u-width-full { width: 100%; }
.u-align-center { margin-left: auto; margin-right: auto; }
.u-justify-center { display: flex; justify-content: center; }
.u-opacity-50 { opacity: .5; }
.u-mt-auto { margin-top: auto; }
/* grid-item placements (were #w-node-* rules in the Webflow export) */
.u-self-end { justify-self: end; }
.u-place-end { place-self: end; }
.u-self-align-center { align-self: center; }
.u-self-align-end { align-self: end; }
.u-span-2 { grid-column: span 2; }
.u-link { color: var(--color-surface); font-weight: 500; transition: color .3s; display: inline-block; }
.u-link:hover { color: var(--green-bright); }
.u-link.cc-top-14 { margin-top: .875rem; }

/* --- layout: section / container / grids -------------------------- */
.section {
  width: 100%;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  position: relative;
}
.section.cc-top-0 { padding-top: 0; }
.section.cc-bottom-0 { padding-bottom: 0; }
.section.cc-top-sm { padding-top: var(--section-space-sm); }
.section.cc-bottom-sm { padding-bottom: var(--section-space-sm); }
.section.cc-top-lg { padding-top: var(--section-space-lg); }
.section.cc-bottom-lg { padding-bottom: var(--section-space-lg); }
.section.cc-sm { padding-top: var(--section-space-sm); padding-bottom: var(--section-space-sm); }
.section.cc-lg { padding-top: var(--section-space-lg); padding-bottom: var(--section-space-lg); }
.section.cc-0 { padding-top: 0; padding-bottom: 0; }
.section.cc-hero { min-height: 50vh; padding-top: 7rem; }
.section.cc-bg-dark { background-color: var(--color-accent); }
.section.cc-header {
  height: 100svh;
  max-height: 62.5rem;
  padding-bottom: var(--section-space-md);
  background-image: url("../img/hero-bg.webp");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  overflow: hidden;
}
/* inner pages: room for the sticky/solid navbar */
.section.cc-top-header { padding-top: calc(var(--section-space) + 2rem); }

.container {
  width: 100%;
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  margin-left: auto;
  margin-right: auto;
}
.container.cc-10col { max-width: var(--container-max-10col); }
.container.cc-8col { max-width: var(--container-max-8col); }
.container.cc-6col { max-width: var(--container-max-6col); }

.grid-cols {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-rows: auto;
  gap: 4rem;
  position: relative;
}
.grid-cols.cc-3col { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }
.grid-cols.cc-header { z-index: 1; gap: 7rem; grid-template-columns: minmax(0,1fr) minmax(0,auto); }
.grid-cols.cc-1col { z-index: 1; grid-template-columns: minmax(0,1fr); }
.grid-cols.cc-1col.cc-gap-120 { gap: 7rem; }
.grid-cols.cc-left-sm { gap: 5rem; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); }
.grid-cols.cc-footer { gap: 10.25rem; grid-template-columns: minmax(0,.75fr) minmax(0,1fr); }
.grid-cols.cc-contact { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); }
.grid-cols.cc-max-880 { gap: 5rem; grid-template-columns: minmax(0,1fr); max-width: 55rem; margin-left: auto; margin-right: auto; }
.grid-cols.cc-gap-0 { gap: 0; }

/* header/content columns inside sections */
.header-col.cc-2col {
  display: grid; gap: 4rem;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}
.header-col.cc-2col.cc-right-sm { grid-template-columns: minmax(0,1fr) minmax(0,.75fr); }
.header-col.cc-2col.cc-sticky { position: sticky; top: 8rem; }
.header-col.cc-max-640 { text-align: center; max-width: 40rem; margin-left: auto; margin-right: auto; }
.header-col.cc-4col {
  display: grid; gap: 8rem; align-items: center;
  grid-template-columns: minmax(0,.25fr) minmax(0,.25fr) minmax(0,.25fr) minmax(0,1fr);
  container-type: inline-size;
}
/* project hero title: size follows the longest word (--title-chars set by the
   template) so any client name fits its track; never invades the meta columns.
   The wrapper is its own inline-size container, so 100cqw is the title's real
   grid track (not the whole header row) on every breakpoint. 138 ≈ 100 / 0.72,
   the worst-case average glyph width (em) in Bricolage Grotesque caps. */
.header-col.cc-4col .title-wrapper {
  min-width: 0; max-width: 100%;
  container-type: inline-size;
  /* .u-self-end's justify-self:end shrink-wraps the item, and a size-contained
     box has zero intrinsic width, so it collapses. Stretch to fill the track
     (making 100cqw the track width) and right-align the text instead. */
  justify-self: stretch;
  text-align: right;
}
.header-col.cc-4col .text-h1 {
  font-size: clamp(2.25rem, calc(138cqw / var(--title-chars, 8)), var(--h1-size));
}
.content-col.cc-2col { display: grid; gap: 3rem; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.content-col.cc-2col.cc-right-sm { gap: 8rem; grid-template-columns: minmax(0,1fr) minmax(0,auto); }
.content-col.cc-gap-120 { display: flex; flex-flow: column; gap: 7.5rem; }
.content-col.cc-3col { display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }
.content-col.cc-3col.cc-gap-20 { gap: 1.25rem; }
.content-col.cc-gap-16 { display: flex; flex-flow: column; gap: 1rem; }
.content-col.cc-team { display: flex; gap: 1rem; }
/* one-off second team row: cards match the 7-across width of the row above */
.content-col.cc-team.cc-team-2 { margin-top: 1rem; }
.content-col.cc-team.cc-team-2 .team-card { width: calc((100% - 6rem) / 7); flex: none; }
.column { position: relative; }
.column-left.cc-gap-auto { display: flex; flex-flow: column; justify-content: space-between; align-items: stretch; gap: 2rem; }
.column-left.cc-project { max-width: 39rem; padding-left: 4rem; padding-right: 4rem; }
.column-left.cc-sticky { position: sticky; top: 8rem; }
.column-right.cc-gap-16 { display: flex; flex-flow: column; gap: 1rem; }
.column-right.cc-max-360 { max-width: 22.5rem; }
.column-right.cc-about { display: flex; flex-flow: column; align-items: flex-end; row-gap: 3rem; max-width: 26.75rem; }
.column-mid.cc-2col { display: grid; gap: 5rem; grid-template-columns: 1fr 1fr; }
.column-mid.cc-gap-8 { display: flex; gap: .5rem; }
.column-mid.cc-service {
  border-left: 1px solid var(--border-on-dark);
  border-right: 1px solid var(--border-on-dark);
  max-width: 27.5rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.bottom-wrap.cc-3col { display: flex; justify-content: space-between; gap: 2rem; }
.bottom-wrap.cc-gap-104 { display: grid; gap: 6.5rem; grid-template-columns: minmax(0,1fr) minmax(0,1fr); margin-top: 1.5rem; }

/* wrappers */
.title-wrapper.cc-lg { margin-bottom: 2rem; }
.title-wrapper.cc-sm { margin-bottom: .75rem; }
.title-wrapper.cc-relative { position: relative; }
.title-wrapper.cc-max-620 { max-width: 38.75rem; }
.title-wrapper.cc-max-420 { max-width: 26.25rem; }
.title-wrapper.cc-top-48 { margin-top: 3rem; }
.text-wrapper.cc-max-720 { max-width: 45rem; }
.text-wrapper.cc-max-620 { max-width: 38.75rem; }
.text-wrapper.cc-max-500 { max-width: 29rem; margin-left: auto; margin-right: auto; }
.text-wrapper.cc-max-500.cc-about { color: var(--color-surface); margin-left: 0; margin-right: 0; }
.text-wrapper.cc-max-360 { max-width: 22.5rem; }
.text-wrapper.cc-max-320 { max-width: 20rem; }
.text-wrapper.cc-max-244 { max-width: 15.25rem; }
.text-wrapper.cc-align-center { display: flex; flex-direction: column; align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.text-wrapper.cc-top-14 { margin-top: .875rem; }
.text-wrapper.cc-top-16 { margin-top: 1rem; }
.text-wrapper.cc-top-20 { margin-top: 1.25rem; }
.text-wrapper.cc-top-24 { margin-top: 1.5rem; }
.text-wrapper.cc-top-32 { margin-top: 2rem; }
.text-wrapper.cc-top-40 { margin-top: 2.5rem; }
.text-wrapper.cc-top-96 { margin-top: 6rem; }
.text-wrapper.cc-gap-2 { display: flex; gap: .25rem; }
.text-wrapper.cc-gap-8 { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.text-wrapper.cc-pricing { display: flex; align-items: flex-end; justify-content: flex-start; gap: .5rem; }

/* --- image helpers ------------------------------------------------ */
.image { object-fit: cover; width: 100%; height: auto; }
.image.cc-contain { object-fit: contain; }
.image-wrapper { align-self: flex-start; width: 100%; position: relative; overflow: hidden; }
.image-wrapper.cc-1x1 { aspect-ratio: 1; border-radius: var(--radius-image); }
.image-wrapper.cc-4x3 { aspect-ratio: 4/3; }
.image-wrapper.cc-16x9 { aspect-ratio: 16/9; }
.image-wrapper.cc-top-32 { margin-top: 2rem; }
.image-wrapper.cc-radius-8 { border-radius: var(--radius-sm); }
.image-wrapper.cc-3col { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); }

/* --- buttons ------------------------------------------------------ */
.button {
  display: inline-block;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-btn);
  background-color: var(--btn-bg);
  color: var(--btn-text);
  font-size: var(--text-sm);
  line-height: var(--text-sm-lh);
  font-weight: 600;
  text-align: center;
  background-image: url("../img/btn-ellipse.svg");
  background-position: 0 -15%;
  background-repeat: no-repeat;
  background-size: auto;
  text-decoration: none;
  transition: color .5s, background-position 1s;
}
.button:hover { color: var(--btn-hover-text); background-position: 20%; }
.button.cc-secondary {
  border: 1px solid var(--btn-secondary-border);
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  align-items: center;
}
.button.cc-secondary:hover {
  /* the dark ellipse graphic slides in behind the label on hover, so the
     text must flip light here; this rule outranks .button:hover by order */
  color: var(--btn-hover-text);
  border-color: var(--btn-secondary-border);
  background-color: var(--btn-secondary-hover-bg);
}
.button.cc-dark {
  background-color: var(--green-forest);
  color: var(--color-surface);
  background-image: url("../img/btn-ellipse-light.svg");
}
.button.cc-dark:hover { color: var(--color-accent); }
.button.cc-small { padding: var(--btn-pad-y-sm) var(--btn-pad-x-sm); }
.button.cc-footer { background-color: var(--green-bright); }
.button.cc-width-full { width: 100%; margin-top: 1rem; }
.button.cc-top-40 { margin-top: 2.5rem; }
/* wide submit: the small buttons' 600px circle-slide can't cover this width,
   so the wipe is rebuilt as an elliptical crest rising from the bottom edge
   (same circle motif, transform-only) */
.button.cc-top-40 {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background-image: none;
  transition: color .25s ease .1s;
}
.button.cc-top-40::before {
  content: '';
  position: absolute;
  left: -25%;
  bottom: 0;
  width: 150%;
  height: 300%;
  border-radius: 50%;
  background-color: var(--green-forest);
  transform: translateY(101%);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
  z-index: -1;
}
.button.cc-top-40:hover,
.button.cc-top-40:focus-visible { color: var(--color-surface); }
.button.cc-top-40:hover::before,
.button.cc-top-40:focus-visible::before { transform: translateY(28%); }
@media (prefers-reduced-motion: reduce) {
  .button.cc-top-40, .button.cc-top-40::before { transition: none; }
}

.cta-wrapper { column-gap: .5rem; row-gap: .5rem; }
.cta-wrapper.cc-center { justify-content: center; }
.cta-wrapper.cc-full-width { display: flex; flex-flow: column; gap: 0; }
.cta-wrapper.cc-gap-16 { display: flex; gap: 1rem; }
.cta-wrapper.cc-gap-16.cc-top-24 { margin-top: 1.5rem; }
.cta-wrapper.cc-top-20 { margin-top: 1.25rem; }
.cta-wrapper.cc-top-24 { margin-top: 1.5rem; }
.cta-wrapper.cc-top-40 { margin-top: 2.5rem; }

.icon { width: var(--icon-md); height: var(--icon-md); }
.icon.cc-sm { width: var(--icon-sm); height: var(--icon-sm); }
.icon.cc-lg { width: var(--icon-lg); height: var(--icon-lg); }
.icon.cc-star { color: var(--green-bright); }

/* --- navbar ------------------------------------------------------- */
.navbar {
  /* subtle glass at rest via translucency alone (Sten, 2026-07-04). No
     backdrop-filter HERE: it would become the backdrop root and kill the
     blur on ::before (scroll glass) and .nav-menu (mobile frosted panel). */
  background-color: color-mix(in srgb, var(--color-surface) 86%, transparent);
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  transition: background-color .35s;
}
.navbar.cc-transparent {
  background-color: transparent;
  position: fixed;
  inset: 0% 0% auto;
}
/* glass state on scroll (backdrop-filter can't transition, so the glass
   layer lives on ::before and fades in via opacity) */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .35s;
  background-color: color-mix(in srgb, var(--color-surface) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 -1px 0 rgb(5 45 36 / .08);
}
.navbar.cc-transparent::before {
  background-color: color-mix(in srgb, var(--green-dark) 65%, transparent);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / .08);
}
.navbar.is-scrolled { background-color: transparent; }
.navbar.is-scrolled::before { opacity: 1; }
.nav-wrapper {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 0;
}
.brand { display: inline-flex; justify-content: flex-start; align-items: center; }
.nav-logo { max-width: 12rem; color: var(--green-dark); }
.navbar.cc-transparent .nav-logo { color: var(--color-surface); }
.nav-menu { justify-self: center; }
.nav-list {
  display: flex; flex-flow: row;
  gap: 2rem;
  padding-left: 0;
  list-style: none;
}
.nav-link {
  display: inline-block;
  border-radius: var(--radius-lg);
  color: var(--btn-text);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: .25rem .75rem;
  transition: background-color .35s, color .3s;
}
.nav-link:hover { background-color: var(--color-surface-2); }
.nav-link.is-current { background-color: var(--color-surface-2); color: var(--color-accent); }
.navbar.cc-transparent .nav-link { background-color: transparent; color: var(--color-surface); transition: color .3s; }
.navbar.cc-transparent .nav-link:hover { background-color: transparent; color: var(--green-bright); }
.navbar.cc-transparent .nav-link.is-current { background-color: transparent; color: var(--btn-bg); }
.nav-button { justify-self: end; }
.nav-menu-button { display: none; padding: 0; }
/* bare "signal" hamburger: uneven bars, no frame; GSAP morphs it to an X and
   the widths equalize via aria-expanded so the X reads symmetric */
.nav-icon-wrap {
  display: flex; flex-flow: column;
  align-items: flex-start;
  gap: 5px;
  transition: transform .2s ease;
}
.nav-menu-button:active .nav-icon-wrap { transform: scale(.92); }
.nav-icon {
  display: block;
  background-color: var(--color-text);
  width: 22px; height: 2px;
  border-radius: 2px;
  transition: width .3s ease;
}
.nav-icon[data-nav-icon-mid] { width: 13px; }
.nav-icon[data-nav-icon-bottom] { width: 18px; }
.nav-menu-button[aria-expanded="true"] .nav-icon { width: 22px; }
.navbar.cc-transparent .nav-icon { background-color: var(--color-surface); }

/* --- hero ---------------------------------------------------------- */
.header-image {
  pointer-events: none;
  height: auto;
  margin-left: auto; margin-right: auto;
  position: absolute;
  inset: auto 11% 0% 0%;
}
.header-icon {
  max-width: 6.25rem;
  color: var(--color-surface);
  position: absolute;
  inset: 0% 0% auto auto;
}

/* --- logo marquee --------------------------------------------------- */
/* static clip window; the track inside is what GSAP translates. Clipping on
   the track itself made the visible window travel with it, emptying the strip
   for most of each loop (Sten, 2026-07-04) */
.logo-marquee-viewport { overflow: hidden; }
.company-logo-wrap { display: flex; gap: 6rem; width: max-content; }
.logo-wrap {
  display: flex; flex-flow: column;
  justify-content: space-between; align-items: center;
  gap: 8rem;
}
/* index numbers above client logos: quiet, small (Sten, 2026-07-04) */
.logo-wrap .text-lg { font-size: var(--text-xs, .75rem); opacity: .35; }
/* hashtag lines under service/project intros: metadata, not body copy */
.tags-line { font-size: var(--text-xs); opacity: .55; }
/* prev/next article navigation at the bottom of a post */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--btn-secondary-border);
}
.post-nav-link { display: flex; flex-flow: column; gap: .25rem; }
.post-nav-link.cc-next { text-align: right; align-items: flex-end; }
.post-nav-link .text-lg { transition: color .2s ease; }
.post-nav-link:hover .text-lg { color: var(--green-forest); }
.post-nav-label { font-size: var(--text-xs); opacity: .55; }
.compan-logo { min-width: 13.125rem; height: auto; opacity: .75; user-select: none; }
/* subtle marquee arrows, bottom-right of the strip */
.logo-marquee-nav { display: flex; gap: .375rem; justify-content: flex-end; margin-top: 1.25rem; }
.logo-marquee-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; padding: 0; border-radius: 50%;
  background: transparent; color: var(--color-text-muted);
  opacity: .35; transition: opacity .2s ease;
}
.logo-marquee-arrow:hover, .logo-marquee-arrow:focus-visible { opacity: .9; }

/* --- about teaser ---------------------------------------------------- */
.about-sm-card { display: inline-flex; flex-flow: column; gap: .5rem; }
.number-wrap { height: 5rem; display: flex; overflow: hidden; }
.about-img { }

/* --- services --------------------------------------------------------- */
.services-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,.25fr);
  gap: 16px;
  background-color: var(--color-accent);
  border: 1px solid var(--border-on-dark);
  position: sticky;
  top: 18rem;
}
.services-img { }
/* vertical variant (about page) */
.services-card.cc-vertical { border-style: none; grid-template-columns: minmax(0,1fr); position: static; }
.services-img.cc-full { width: 100%; }
.column-mid.cc-service.cc-vertical { border-left-style: none; border-right-style: none; padding-top: 0; padding-bottom: 0; }
/* stacked avatar row (about hero) */
.user { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-surface); margin-left: -.5rem; }
.user.cc-left-0 { margin-left: 0; }
.column-right.cc-max-360.u-place-end { max-width: 22.5rem; }

/* --- projects (work spotlight + archive) ------------------------------- */
.project-collection { }
.project-coll-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.project-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 4rem;
  position: relative;
}
.project-card:nth-child(2n) { display: flex; flex-flow: row-reverse; gap: 0; }
.project-image { transform-origin: center; }
.project-cms-link { position: absolute; inset: 0%; }
.project-cate-list { display: inline-flex; gap: .5rem; }
.project-categorie-link {
  opacity: .8;
  color: var(--gray-muted); /* original #aba9a9, not the dark body-muted token */
  font-weight: 400; /* original 600 reads heavy in Poppins; Sten wants it quiet */
  transition: opacity .3s, color .3s;
}
.project-categorie-link:hover, .project-categorie-link.is-current { opacity: 1; color: var(--color-text); font-weight: 500; }
.project-pagination { margin-top: 4rem; }

/* --- pricing ------------------------------------------------------------ */
.pricing-card {
  display: flex; flex-flow: column;
  gap: 2rem;
  background-color: #063329;
  padding: 1rem;
  position: relative;
}
/* secondary button sits on a dark card here: light text + hover wash */
.pricing-card .button.cc-secondary { color: var(--color-surface); border-color: var(--border-on-dark); }
.pricing-card .button.cc-secondary:hover { background-color: #ffffff1a; border-color: var(--color-surface); }
.pricing-list { display: flex; flex-direction: column; gap: 1rem; padding-left: 0; list-style: none; }
.pricing-list-item { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; color: var(--color-surface); }
.text-wrapper.cc-popular {
  display: none;
  border-radius: var(--radius-xl);
  background-color: var(--btn-bg);
  color: var(--btn-hover-bg);
  font-size: var(--text-xs);
  padding: .25rem .75rem;
  position: absolute;
  inset: 1% 0% auto auto;
}
.pricing-card.is-popular .text-wrapper.cc-popular {
  display: inline-flex;
  margin-top: 1rem; margin-right: 1rem;
}

/* --- FAQ ------------------------------------------------------------------ */
.faq-accordion { border: 1px solid var(--color-surface-2); border-radius: var(--radius-sm); }
.faq-question {
  display: flex;
  justify-content: space-between; align-items: center;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
  padding: 1rem;
  transition: padding-left .35s ease;
}
.faq-question:hover { padding-left: 1.5rem; }
.faq-icon-wrap {
  display: flex; flex-flow: column;
  justify-content: center; align-items: center;
  width: 1.25rem; height: 1.25rem;
  position: relative;
}
.faq-icon { background-color: var(--color-text); width: .75rem; height: 2px; position: absolute; transform: rotate(90deg); }
.faq-icon1 { background-color: var(--color-text); width: .75rem; height: 2px; }
.faq-answer-wrap { padding-left: 1rem; padding-right: 1rem; overflow: hidden; height: 0; }
.faq-answer.cc-max-500 { max-width: 31.25rem; padding-bottom: 1rem; }

/* --- blog ------------------------------------------------------------------- */
.blog-collection { }
.blog-coll-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.blog-coll-item { }
.blog-cms-link { display: inline-flex; flex-flow: column; gap: 1rem; }
.blog-image { transform-origin: center; }

/* --- forms -------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; row-gap: 0; }
.form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; flex-wrap: wrap; }
.form-group.cc-top-40 { margin-top: 2.5rem; }
.form-group.cc-gap-12 { display: flex; flex-flow: row; gap: .75rem; }
.form-wrapper { margin-top: 3.5rem; }
.form-wrapper.cc-top-40 { margin-top: 2.5rem; margin-bottom: 0; }
.input {
  display: block; width: 100%;
  border-style: none none solid;
  border-width: 1px;
  border-color: black black var(--color-surface-2);
  background-color: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  margin-bottom: 0;
  padding: 0 0 1rem;
}
.input:focus { border-bottom-color: var(--color-accent); outline: 0; }
.input::placeholder { color: var(--color-text-muted); }
.input.cc-text-area { min-height: 10rem; }
.input.cc-select {
  color: var(--color-text-muted);
  background-image: url("../img/chevron-down.svg");
  background-position: 98%;
  background-repeat: no-repeat;
  appearance: none;
}
.input.cc-footer {
  border-style: solid;
  border-color: var(--green-dark);
  background-color: var(--green-forest);
  height: 3.5rem;
  color: var(--color-surface);
  border-radius: .25rem;
  padding: .75rem 1.5rem;
}
.input.cc-footer:focus { border-color: var(--btn-bg); }
.input.cc-footer::placeholder { color: var(--white-700); }
.input.cc-footer.cc-top-12 { margin-top: .75rem; }
.input-field { display: flex; flex-direction: column; row-gap: .25rem; }
.input-field.cc-top-40 { margin-top: 2.5rem; }
.form-done, .form-fail { margin-top: 1rem; color: var(--color-surface); }

/* --- footer ---------------------------------------------------------------------- */
.footer-list { display: flex; flex-direction: column; gap: .875rem; padding-left: 0; list-style: none; }
.footer-link { display: inline-block; color: var(--color-surface); font-weight: 500; text-transform: uppercase; transition: color .3s; }
.footer-link:hover, .footer-link.is-current { color: var(--btn-bg); }
.footer-right {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1.25fr);
  gap: 3.5rem;
  max-width: 29.375rem;
}
.social-link { display: inline-block; height: 1.25rem; color: var(--color-surface); transition: color .3s; }
.social-link:hover { color: var(--green-bright); }
.social-icon { aspect-ratio: 1; object-fit: cover; width: 1.25rem; }
.footer-text { color: var(--white-500); margin-top: 7rem; display: flex; }

/* --- decorative section borders ----------------------------------------------------- */
.border-global {
  z-index: -1;
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  margin-left: auto; margin-right: auto;
  position: absolute;
  inset: 0%;
}
.border-global.cc-light { z-index: 0; }
.border { background-color: var(--color-surface-2); width: 1px; height: 100%; }
.border-global.cc-light .border { background-color: var(--border-on-dark); }

/* --- cards / misc ---------------------------------------------------------------------- */
.card {
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-cards);
  background-color: var(--color-surface-2);
  padding: 1.5rem;
}
/* Body copy headings use an editorial scale, not the display tokens:
   a 6rem h2 next to 18px paragraphs overwhelms longform pages. */
/* Readable measure: ~80 chars max per line (Sten, 2026-07-04); the Webflow
   original runs full-width, this is a deliberate readability improvement. */
.rich-text { max-width: 72ch; }
.rich-text h1 { font-size: var(--h3-size); line-height: var(--h3-lh); margin-top: 2rem; margin-bottom: 1.5rem; }
.rich-text h2 { font-size: var(--h4-size); line-height: var(--h4-lh); margin-top: 2rem; margin-bottom: 1rem; }
.rich-text h3 { font-size: var(--h5-size); line-height: var(--h5-lh); margin-top: 1.5rem; margin-bottom: 1rem; }
.rich-text h4 { font-size: var(--h6-size); line-height: var(--h6-lh); margin-top: 2rem; margin-bottom: 1rem; }
.rich-text h5 { font-size: var(--text-xl); line-height: 1.3; margin-top: 1.5rem; margin-bottom: 1rem; }
.rich-text h6 { font-size: var(--text-lg); line-height: 1.3; margin-top: 1rem; margin-bottom: 1rem; }
.rich-text p { margin-bottom: 1rem; }
.rich-text ul { color: var(--color-text-muted); font-size: var(--text-md); margin-bottom: 1rem; }
.rich-text ol { color: var(--color-text-muted); }
.rich-text blockquote { color: var(--color-text-muted); margin-top: 2rem; margin-bottom: 2rem; }
.rich-text img { margin-top: 1.5rem; }
.rich-text figure { margin-bottom: 1.5rem; }
.contact-info { display: flex; flex-flow: column; gap: 1rem; }
.link { display: flex; align-items: center; column-gap: .25rem; color: var(--color-text); font-weight: 500; transition: color .35s; }
.link:hover { color: var(--green-bright); }
.award-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0fr;
  grid-gap: 4rem;
  align-items: center;
  border: 1px solid var(--color-surface-2);
  color: var(--color-text);
  cursor: pointer;
  padding: 1.5rem;
  transition: all .5s ease;
}
.award-card.cc-active {
  background-color: var(--color-accent);
  color: var(--color-surface);
  grid-template-columns: 1.2fr 1fr 1fr;
}
.award-image-wrap { overflow: hidden; }
.award-image-wrap.cc-gap-6 { display: flex; gap: .375rem; }
.award-image { height: 8.75rem; }
.team-card { display: flex; flex-flow: column; gap: .75rem; }
.team-contact { display: flex; flex-flow: column; gap: .375rem; margin-top: .125rem; }
.team-mail {
  font-size: .8125rem; line-height: 1.4;
  color: var(--color-text-muted); text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}
.team-mail:hover { color: var(--green-forest); text-decoration: underline; text-underline-offset: 2px; }
.team-socials { display: flex; align-items: center; gap: .625rem; }
.team-social { color: var(--color-text-muted); display: inline-flex; transition: color .2s ease; }
.team-social:hover { color: var(--green-forest); }
.icon.cc-social { width: 1.125rem; height: 1.125rem; }
.team-social-note {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .8125rem; line-height: 1.4; color: var(--color-text-muted);
}
.image-coll-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.image-coll-item:first-child { grid-column: span 2; }
.brand-text {
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 1px solid var(--green-forest);
  color: var(--color-surface);
  padding-top: 1.125rem; padding-bottom: 1.125rem;
  transition: color .3s;
}
.error-wrap { display: flex; justify-content: center; align-items: center; margin-left: auto; margin-right: auto; }
.error-icon { margin-top: 8rem; }

/* ============================================================
   Breakpoints: component-level changes (token shifts live in tokens.css)
   ============================================================ */
@media screen and (max-width: 991px) {
  .grid-cols.cc-3col { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .grid-cols.cc-header { gap: clamp(2rem, 1.5rem + 1.6vw, 3rem); grid-template-columns: minmax(0,1fr); }
  /* stacked hero, 7-person team photo: sides must NOT crop (Sten, 2026-07-04:
     Allan was cut off). The image leaves the absolute overlay and flows below
     the text at full width, so everyone stays visible on every phone. */
  .section.cc-header { height: auto; min-height: 100svh; max-height: none; padding-top: 6rem; padding-bottom: 0; }
  /* on viewports taller than the content, flex-end dumped all the slack
     between the navbar and the eyebrow; auto margins split it evenly above
     and below the text block instead (Sten, 2026-07-04) */
  .section.cc-header .container { margin-top: auto; margin-bottom: auto; }
  /* 124%: crops the photo's empty side margins so the group runs edge to
     edge; hands may clip, faces stay well inside (Sten, 2026-07-04) */
  .header-image { position: static; width: 124%; height: auto; max-width: none; inset: auto; margin: 2.5rem 0 0 -12%; }
  /* the photo has ~14% empty backdrop above the tallest head; pull it up by
     that amount (14% of height = 17% of viewport at 124% width) and fade the
     top in with a mask so the backdrop dissolves into the section bg instead
     of ending in a hard clip line. The fade completes at 14% (the head tops)
     so faces are never ghosted; the near-transparent part sits under the
     tagline's descenders, so text stays readable (Sten, 2026-07-04) */
  @supports (mask-image: linear-gradient(#000, transparent)) {
    .header-image {
      margin-top: calc(.75rem - 17%);
      -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 14%);
      mask-image: linear-gradient(to bottom, transparent 8%, #000 14%);
    }
  }
  .grid-cols.cc-1col { gap: 2.5rem; }
  .grid-cols.cc-1col.cc-gap-120 { gap: 3rem; }
  .grid-cols.cc-left-sm, .grid-cols.cc-footer { gap: 3rem; grid-template-columns: minmax(0,1fr); }
  .grid-cols.cc-contact { gap: 2rem; grid-template-columns: minmax(0,1fr); }
  .title-wrapper.cc-max-420 { max-width: none; }
  .text-wrapper.cc-max-320, .text-wrapper.cc-max-244, .text-wrapper.cc-max-360 { max-width: none; }
  .text-wrapper.cc-top-32 { margin-top: 1.5rem; }
  .text-wrapper.cc-top-40.u-text-right { margin-top: 1rem; }
  .text-wrapper.cc-top-96 { margin-top: 4rem; }
  .text-lg.cc-header-right { text-align: left; }
  .u-self-end, .u-place-end { justify-self: auto; place-self: auto; }
  .nav-wrapper { grid-template-columns: minmax(0,1fr) auto; }
  .nav-menu {
    display: none;
    /* frosted panel, Apple-ish but restrained (Sten, 2026-07-04) */
    background-color: color-mix(in srgb, var(--color-surface-2) 78%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    text-align: left;
    padding: 2rem;
    position: absolute;
    top: 100%; left: 0; right: 0;
    justify-self: stretch; /* desktop centers the grid item; stretched here so the abspos panel spans full width */
  }
  .nav-menu.is-open { display: block; }
  .navbar.cc-transparent .nav-menu {
    background-color: color-mix(in srgb, var(--color-accent) 82%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
  }
  .nav-menu-button { display: block; }
  .nav-button { display: none; }
  .nav-list { flex-flow: column; gap: 1.5rem; }
  .column-right.cc-max-360, .column-right.cc-about { max-width: none; }
  .column-left.cc-project { max-width: none; padding-left: 0; padding-right: 0; }
  .header-icon { max-width: 4rem; }
  .header-col.cc-2col { gap: 2rem; grid-template-columns: minmax(0,1fr); }
  .header-col.cc-2col.cc-right-sm { grid-template-columns: minmax(0,1fr); }
  .header-col.cc-2col.cc-sticky { gap: 1.5rem; top: 4rem; }
  .header-col.cc-4col { gap: 1rem; grid-template-columns: minmax(0,1fr) 1fr 1fr; }
  .content-col.cc-2col.cc-right-sm { gap: 3rem; grid-template-columns: minmax(0,1fr); }
  .content-col.cc-gap-120 { gap: 3rem; }
  .content-col.cc-3col { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .content-col.cc-team { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr 1fr; }
  .company-logo-wrap { gap: 2rem; }
  .about-img { width: 100%; height: auto; }
  .services-card { top: 13rem; }
  .column-mid.cc-2col { gap: 2rem; grid-template-columns: 1fr; }
  .project-coll-list { gap: 2.5rem; }
  .project-card { gap: 2.5rem; grid-template-columns: minmax(0,1fr); }
  .project-card:nth-child(2n) { display: grid; gap: 2.5rem; grid-template-columns: minmax(0,1fr); }
  .footer-right { max-width: none; }
  .footer-text { margin-top: 2rem; }
  .award-card, .award-card.cc-active { grid-gap: 1rem; grid-template-columns: 1fr; }
  .award-image-wrap.cc-gap-6 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr 1fr; }
  .award-image { flex: 1; width: 100%; height: 100%; }
  .project-pagination { margin-top: 3rem; }
  .number-wrap { height: 3.5rem; }
  .error-icon { margin-top: 2rem; }
}

@media screen and (max-width: 767px) {
  .grid-cols { gap: 2rem; grid-template-columns: minmax(0,1fr); }
  .grid-cols.cc-3col { grid-template-columns: minmax(0,1fr); }
  .text-wrapper.cc-top-96, .button.cc-top-40 { margin-top: 2rem; }
  .column-right.cc-about { row-gap: 2rem; }
  .column-left.cc-sticky { position: static; }
  .header-icon { max-width: 3rem; }
  .content-col.cc-gap-120 { gap: 2.5rem; }
  .content-col.cc-gap-16 { gap: 2rem; }
  .logo-wrap { gap: 4rem; }
  .compan-logo { min-width: 8rem; }
  .bottom-wrap.cc-3col { gap: 1rem; }
  .bottom-wrap.cc-gap-104 { gap: 3rem; }
  .services-card { top: 12rem; }
  .form-wrapper { margin-top: 1.5rem; }
  .award-card { padding: 1rem; }
  .project-pagination { margin-top: 2rem; }
  .image-coll-list { gap: 1rem; }
}

@media screen and (max-width: 479px) {
  .image-wrapper.cc-top-32 { margin-top: 1rem; }
  .grid-cols.cc-1col, .grid-cols.cc-footer { gap: 2rem; }
  .title-wrapper.cc-top-48 { margin-top: 1.5rem; }
  .text-wrapper.cc-max-320.cc-top-16 { margin-top: .5rem; }
  .text-wrapper.cc-top-32 { margin-top: 1rem; }
  .text-wrapper.cc-top-96, .text-wrapper.cc-top-40 { margin-top: 1.5rem; }
  .text-wrapper.cc-top-24 { margin-top: 12px; }
  .button.cc-top-40 { margin-top: 1.5rem; }
  .input { padding-bottom: .5rem; }
  .input.cc-text-area { min-height: 6rem; }
  .input.cc-footer { height: 3rem; padding-left: 1rem; padding-right: 1rem; }
  .input-field.cc-top-40 { margin-top: 1.5rem; }
  .form-group { gap: 1rem; grid-template-columns: 1fr; }
  .form-group.cc-top-40 { margin-top: 1.5rem; }
  .form-group.cc-gap-12 { flex-flow: column; gap: .5rem; }
  .nav-menu { height: 100svh; padding: 1.5rem 1.5rem 1.5rem 1rem; }
  .nav-list { gap: 1rem; }
  .column-left.cc-gap-auto { gap: 1.5rem; }
  .header-icon { max-width: 2.5rem; }
  .header-col.cc-2col { gap: 1rem; }
  .header-col.cc-4col { grid-template-columns: minmax(0,.4fr) minmax(0,1fr); }
  .content-col.cc-2col.cc-right-sm { gap: 2.5rem; }
  .content-col.cc-3col { grid-template-columns: minmax(0,1fr); }
  .content-col.cc-gap-16 { gap: 1rem; }
  .content-col.cc-team { grid-template-columns: 1fr; }
  .logo-wrap { gap: 2rem; }
  .compan-logo { min-width: 6rem; }
  .company-logo-wrap { gap: 1.5rem; }
  .bottom-wrap.cc-3col { flex-flow: wrap; }
  .bottom-wrap.cc-gap-104 { gap: 1.5rem; grid-template-columns: minmax(0,1fr); }
  .about-sm-card { gap: .25rem; }
  .services-card { grid-template-columns: minmax(0,1fr); top: 11rem; }
  .column-mid.cc-2col { gap: 1.5rem; }
  .column-mid.cc-gap-8 { padding-bottom: .5rem; overflow: auto; }
  .project-card { gap: 1rem; }
  .pricing-card { gap: 1.5rem; }
  .pricing-list { gap: .75rem; }
  .faq-icon-wrap { min-width: 1.25rem; }
  .form-wrapper.cc-top-40 { margin-top: 1.5rem; }
  .footer-list { gap: .75rem; }
  .footer-right { gap: 1.5rem; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); }
  .footer-text { margin-top: 1.5rem; }
  .project-pagination { margin-top: 1.5rem; }
  .contact-info { gap: .5rem; }
  .blog-coll-list { gap: 2.5rem; grid-template-columns: 1fr; }
  .blog-cms-link { gap: .75rem; }
  .project-categorie-link { white-space: nowrap; }
  .number-wrap { height: 2.5rem; }
  .brand-text { gap: .75rem; padding-top: .75rem; padding-bottom: .75rem; }
}
