/* ==========================================================================
   Fractional Role — Benjamin  |  Landing page styles
   Recreation inspired by the "Gelbero Wilson" editorial portfolio layout.
   Original, self-contained CSS. Display = Aspekta, Body = Inter.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Fonts
---------------------------------------------------------------------------- */
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-300.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-550.ttf") format("truetype"); font-weight: 550; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Aspekta"; src: url("../assets/fonts/Aspekta-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }

/* ----------------------------------------------------------------------------
   2. Design tokens
---------------------------------------------------------------------------- */
:root {
  /* color */
  --bg: #f4f4f4;
  --bg-2: #f0f0f0;
  --surface: #ffffff;
  --black: #0c0407;
  --ink: #000000;
  --ink-2: #4c4c4c;
  --ink-3: #858585;
  --stroke: #dbdbdb;
  --stroke-2: #dfdfdf;
  --stroke-3: #e7e7e7;
  --accent: #c8773d;

  /* type */
  --font-display: "Aspekta", "Arial", sans-serif;
  --font-body: "Inter", "Arial", sans-serif;

  /* fluid display sizes */
  --fs-hero: clamp(2.5rem, 6.6vw, 5rem);     /* hero h1 / section titles */
  --fs-h2:   clamp(2.25rem, 5.4vw, 4.5rem);
  --fs-h3:   clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-stat: clamp(2.25rem, 3.2vw, 2.75rem);
  --fs-lead: clamp(1.25rem, 2.1vw, 1.75rem);
  --fs-body: 1rem;
  --fs-sm: .875rem;

  --tracking-display: -0.03em;

  /* layout */
  --maxw: 1490px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 99px;

  /* spacing rhythm */
  --section-y: clamp(5rem, 10vw, 11.25rem);
  --section-y-sm: clamp(3.5rem, 7vw, 7.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------------------------
   3. Reset & base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) so ScrollTrigger pinning still works */
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  color: var(--ink);
}

/* ----------------------------------------------------------------------------
   4. Layout helpers
---------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-sm); }
.eyebrow-gap { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* pill tag */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 7px 14px 7px 12px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); display: inline-block;
}

/* section heading block */
.heading { max-width: 620px; }
.heading--center { margin-inline: auto; text-align: center; }
.heading__title { font-size: var(--fs-h2); margin: 22px 0 18px; }
.heading__text { color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 52ch; }
.heading--center .heading__text { margin-inline: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  font-weight: 500; font-size: var(--fs-sm);
  transition: transform .4s var(--ease), background .3s ease;
}
.btn:hover { transform: translateY(-2px); background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--stroke); }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translate(3px,-3px); }

.muted { color: var(--ink-2); }

/* ----------------------------------------------------------------------------
   5. Navigation
---------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding-block: 14px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-color: var(--stroke); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 26px; }
.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 9px 14px; font-size: var(--fs-sm); font-weight: 500;
  border-radius: var(--radius-pill); transition: background .25s ease, color .25s ease;
}
.nav__link:hover { background: rgba(0,0,0,.05); }
.nav__dropdown { position: relative; }
.nav__dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav__dropdown-toggle .chev { transition: transform .3s var(--ease); }
.nav__dropdown.is-open .chev { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 8px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
  box-shadow: 0 18px 40px rgba(0,0,0,.10); z-index: 5;
}
.nav__dropdown.is-open .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown-menu a { padding: 9px 12px; border-radius: 9px; font-size: var(--fs-sm); }
.nav__dropdown-menu a:hover { background: var(--bg-2); }
.nav__cta { margin-left: 6px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-pill); align-items: center; justify-content: center; }
.nav__burger span { position: relative; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.nav__burger span::before, .nav__burger span::after { content:""; position:absolute; left:0; width:20px; height:2px; background: var(--ink); transition:.3s; }
.nav__burger span::before { top:-6px; } .nav__burger span::after { top:6px; }

/* ----------------------------------------------------------------------------
   6. Hero
---------------------------------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: 0; }
.hero__top {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start;
}
.hero__col { display: flex; flex-direction: column; gap: clamp(2.5rem, 8vw, 7rem); max-width: 280px; }
.hero__col--right { margin-left: auto; align-items: flex-start; text-align: left; }
.hero__socials { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__social { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--stroke); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.hero__social:hover { background: var(--black); color: #fff; border-color: var(--black); }
.hero__social svg { width: 17px; height: 17px; }
.hero__small { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; max-width: 30ch; }
.hero__cats { display: grid; gap: 6px; font-size: var(--fs-sm); }
.hero__cat { color: var(--ink); }
.hero__portrait {
  width: clamp(220px, 24vw, 320px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--bg-2);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__titles {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(1rem, 1vw, 2rem); flex-wrap: wrap;
}
.hero__title { font-size: var(--fs-hero); line-height: 0.98; }
.hero__title--right { text-align: right; margin-left: auto; }

/* shared word-reveal mask used by split text */
.reveal-line { display: block; overflow: hidden; }
.reveal-word { display: inline-block; }

/* ----------------------------------------------------------------------------
   7. Showcase marquee (scroll-linked horizontal strip)
---------------------------------------------------------------------------- */
.showcase { padding-block: clamp(3rem, 6vw, 7rem); overflow: hidden; }
.showcase__track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.showcase__item {
  width: clamp(180px, 16vw, 240px); aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-2); flex: 0 0 auto;
}
.showcase__item img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------------------
   8. About + counters
---------------------------------------------------------------------------- */
.about__layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.about__media { margin-top: 48px; }
.about__video {
  position: relative; width: clamp(180px, 16vw, 230px); aspect-ratio: 16/12; border-radius: var(--radius);
  overflow: hidden; background: var(--bg-2);
}
.about__video img { width: 100%; height: 100%; object-fit: cover; }
.about__play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .35s var(--ease);
}
.about__video:hover .about__play { transform: scale(1.08); }
.about__play svg { width: 16px; height: 16px; margin-left: 2px; }
.about__caption { margin-top: 14px; font-size: var(--fs-sm); font-weight: 500; }
.about__statement { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-lead); line-height: 1.28; letter-spacing: -0.01em; max-width: 30ch; }

/* ----------------------------------------------------------------------------
   9. Selected works (horizontal pinned gallery)
---------------------------------------------------------------------------- */
.works { overflow: hidden; }
.works__heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.works__viewport { position: relative; }
.works__track { display: flex; gap: clamp(1.25rem, 2vw, 2rem); width: max-content; will-change: transform; padding-inline: var(--gutter); }
.work {
  flex: 0 0 auto; width: clamp(300px, 32vw, 460px); cursor: pointer;
}
.work__media { aspect-ratio: 4/3.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__caption { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.work__eyebrow { font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.work__title { font-size: var(--fs-h3); line-height: 1.1; }
.work__desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.work__meta { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.work__q { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--stroke-2); font-style: italic; color: var(--ink); font-size: var(--fs-sm); line-height: 1.45; }

/* closing card — inverted */
.work--close .work__caption { background: var(--black); color: #fff; border-radius: var(--radius-lg); padding: 22px 24px 24px; margin-top: 16px; gap: 8px; }
.work--close .work__eyebrow { color: rgba(255,255,255,.55); }
.work--close .work__desc { color: rgba(255,255,255,.78); }
.work--close .work__meta { color: #fff; }
.work--close .work__q { color: #fff; border-top-color: rgba(255,255,255,.22); }

.works__hint { display: flex; justify-content: center; gap: 10px; align-items: center; margin-top: clamp(2rem,4vw,3rem); font-size: var(--fs-sm); color: var(--ink-2); }

/* ----------------------------------------------------------------------------
   10. Services
---------------------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.service {
  background: var(--surface); border: 1px solid var(--stroke-2); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.07); }
.service__media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__title { font-size: var(--fs-h3); }
.service__when { font-weight: 400; color: var(--ink-3); font-size: .8em; }
.service__text { font-size: var(--fs-sm); color: var(--ink-2); }
.services__note { margin-top: clamp(2rem, 4vw, 3.25rem); max-width: 72ch; font-size: clamp(1.0625rem, 1.45vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); }
.services__note strong { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------------------
   11. Benefits
---------------------------------------------------------------------------- */
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.benefit { display: flex; flex-direction: column; gap: 18px; }
.benefit__media { aspect-ratio: 16/11; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.benefit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.benefit:hover .benefit__media img { transform: scale(1.05); }
.benefit__title { font-size: var(--fs-h3); }
.benefit__text { font-size: var(--fs-sm); color: var(--ink-2); }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--stroke-2); }
.outcome__value { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-stat); letter-spacing: -0.02em; line-height: 1; }
.outcome__value span { font-size: .5em; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.outcome__label { margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-2); }
.outcomes__note { margin-top: 16px; font-size: var(--fs-sm); color: var(--ink-3); }

/* ----------------------------------------------------------------------------
   12. Brands marquee
---------------------------------------------------------------------------- */
.brands { padding-block: var(--section-y-sm); }
.brands__label { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.125rem, 1.6vw, 1.5rem); color: var(--ink); margin-bottom: clamp(2rem, 4vw, 3rem); }
.brands__marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands__track { display: flex; gap: clamp(2.5rem, 5vw, 5rem); width: max-content; animation: brand-scroll 32s linear infinite; }
.brands__track img { height: clamp(26px, 3vw, 38px); width: auto; opacity: .55; transition: opacity .3s; filter: grayscale(1); }
.brands__track img:hover { opacity: 1; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------------------
   13. Testimonials (sticky heading + stacking cards)
---------------------------------------------------------------------------- */
.testimonials__layout { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.testimonials__sticky { position: sticky; top: 120px; }
.testimonials__cards { display: flex; flex-direction: column; gap: clamp(1.25rem, 2vw, 1.75rem); }
.tcard {
  background: var(--surface); border: 1px solid var(--stroke-2); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.tcard__stat { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-stat); letter-spacing: -0.02em; line-height: 1; }
.tcard__stat-label { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 10px; }
.tcard__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tcard__cat { font-size: 12px; padding: 6px 11px; border: 1px solid var(--stroke); border-radius: var(--radius-pill); color: var(--ink-2); }
.tcard__quote-icon { width: 34px; opacity: .85; }
.tcard__text { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.5; margin-top: 18px; }
.tcard__author { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.tcard__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.tcard__author-name { font-weight: 600; font-family: var(--font-display); }
.tcard__author-role { font-size: var(--fs-sm); color: var(--ink-2); }

/* ----------------------------------------------------------------------------
   14. FAQ
---------------------------------------------------------------------------- */
.faq__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; text-align: left; }
.faq__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.25rem); letter-spacing: -0.01em; }
.faq__icon { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); inset: 0; margin: auto; transition: transform .35s var(--ease), opacity .35s; }
.faq__icon::before { width: 100%; height: 2px; }
.faq__icon::after { width: 2px; height: 100%; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__body { overflow: hidden; height: 0; }
.faq__body-inner { padding: 0 24px 24px; color: var(--ink-2); max-width: 60ch; }

/* ----------------------------------------------------------------------------
   15. Insights (blog)
---------------------------------------------------------------------------- */
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.post { display: flex; flex-direction: column; gap: 18px; cursor: pointer; }
.post__media { aspect-ratio: 16/11; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__cat { align-self: flex-start; font-size: 12px; padding: 6px 12px; border: 1px solid var(--stroke); border-radius: var(--radius-pill); color: var(--ink-2); }
.post__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.2; }

/* ----------------------------------------------------------------------------
   16. Footer
---------------------------------------------------------------------------- */
.footer { background: var(--black); color: #fff; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; margin-top: clamp(3rem,6vw,6rem); }
.footer .tag { background: rgba(255,255,255,.08); color: #fff; }
.footer .tag::before { background: #fff; }
.footer__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(3.5rem, 6vw, 6rem); }
.footer__title { font-size: var(--fs-h2); color: #fff; margin: 20px 0 18px; }
.footer__text { color: rgba(255,255,255,.65); max-width: 42ch; margin-bottom: 32px; }
.footer__features { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.footer__feature { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.footer__feature img { width: 22px; height: 22px; filter: invert(1); opacity: .9; }
.footer__right { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 4vw, 4rem); }
.footer__widget-title { font-weight: 600; font-family: var(--font-display); color: #fff; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: rgba(255,255,255,.6); font-size: var(--fs-sm); transition: color .25s; }
.footer__links a:hover { color: #fff; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.footer__social { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.footer__social:hover { background: rgba(255,255,255,.1); }
.footer__social svg { width: 16px; height: 16px; }
.footer__news-text { color: rgba(255,255,255,.6); font-size: var(--fs-sm); margin: 8px 0 16px; max-width: 34ch; }
.footer__form { display: flex; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-pill); padding: 6px 6px 6px 18px; max-width: 360px; }
.footer__form input { flex: 1; background: none; border: none; color: #fff; outline: none; font-size: var(--fs-sm); }
.footer__form input::placeholder { color: rgba(255,255,255,.5); }
.footer__form button { background: #fff; color: var(--black); border-radius: var(--radius-pill); padding: 10px 18px; font-weight: 500; font-size: var(--fs-sm); white-space: nowrap; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-sm); color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: #fff; }

/* ----------------------------------------------------------------------------
   17. Scroll-reveal animation states (JS adds .is-in)
---------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0% 0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: none !important; }
}

/* ----------------------------------------------------------------------------
   18. Responsive
---------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* backdrop-filter would trap the fixed menu panel inside the nav box, so disable it here */
  .nav { backdrop-filter: none; background: color-mix(in srgb, var(--bg) 92%, transparent); }
  .nav__menu { position: fixed; inset: 0 0 0 auto; height: 100vh; height: 100dvh; width: min(82vw, 340px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; background: var(--surface); padding: 92px 24px 24px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.12); overflow-y: auto; }
  .nav.is-menu-open .nav__menu { transform: translateX(0); }
  .nav__burger { display: flex; z-index: 101; }
  .nav.is-menu-open .nav__burger span { background: transparent; }
  .nav.is-menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
  .nav.is-menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
  .nav__cta { margin-left: 0; }
  .nav__dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 12px; display: none; }
  .nav__dropdown.is-open .nav__dropdown-menu { display: grid; }

  .about__layout { grid-template-columns: 1fr; }
  .testimonials__layout { grid-template-columns: 1fr; }
  .testimonials__sticky { position: static; }
  .faq__layout { grid-template-columns: 1fr; }
  .footer__layout { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero__top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .hero__col { max-width: none; align-items: center; gap: 18px; }
  .hero__col--right { margin-left: 0; align-items: center; }
  .hero__portrait { order: -1; }
  .hero__cats { justify-items: center; }
  .hero__titles { flex-direction: column; align-items: center; text-align: center; }
  .hero__title, .hero__title--right { text-align: center; margin: 0; }
  .benefits__grid { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; gap: 1.5rem; }
  .services__grid { grid-template-columns: 1fr; }
  .insights__grid { grid-template-columns: 1fr; }
  .tcard { grid-template-columns: 1fr; }
  .footer__right { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 479px) {
  :root { --gutter: 1.25rem; }
  .work { width: 78vw; }
}

/* ----------------------------------------------------------------------------
   19. Benjamin theme — content-specific components
---------------------------------------------------------------------------- */
/* text wordmark logo */
.nav__wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }

/* company-name marquee */
.brands__track--text { gap: 0; align-items: center; }
.brands__name { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; color: var(--ink-3); white-space: nowrap; padding-inline: clamp(1.5rem, 3vw, 3rem); }
.brands__name::after { content: "·"; margin-left: clamp(1.5rem, 3vw, 3rem); color: var(--stroke); }

/* statement emphasis */
.about__statement em { font-style: italic; color: var(--ink); }

/* alternatives — comparison cards (reuses testimonials layout) */
.tcard.compare { grid-template-columns: 0.5fr 1fr; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.compare__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.01em; }
.compare__price { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-2); }
.compare__body { color: var(--ink-2); font-size: clamp(0.95rem, 1.2vw, 1.06rem); line-height: 1.5; }
.tcard.compare.is-best { background: var(--black); border-color: var(--black); }
.tcard.compare.is-best .compare__name, .tcard.compare.is-best .compare__body { color: #fff; }
.tcard.compare.is-best .compare__price { color: rgba(255,255,255,.7); }

/* scenario cards (reuses insights/blog layout) */
.insights .post__title { font-size: clamp(1.02rem, 1.45vw, 1.28rem); font-weight: 550; line-height: 1.3; }
.post__text { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }

/* where to start — problem → solution matchup table */
.matchup { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--stroke-2); }
.matchup__head { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 4rem); padding: 16px 0; border-bottom: 1px solid var(--stroke-2); }
.matchup__h { font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.matchup__row { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.5rem, 2.6vw, 2.1rem) 0; border-bottom: 1px solid var(--stroke-2); align-items: start; }
.matchup__problem { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.38; letter-spacing: -0.01em; color: var(--ink); max-width: 38ch; }
.matchup__tag { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); letter-spacing: -0.01em; color: var(--ink); }
.matchup__desc { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; max-width: 52ch; }

/* latest projects (static 3-up, work-card visual style) */
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.project { display: flex; flex-direction: column; }
.project__media { aspect-ratio: 4/3.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__eyebrow { font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); margin-top: 22px; }
.project__title { font-size: var(--fs-h3); line-height: 1.1; margin-top: 10px; }
.project__desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; margin-top: 12px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.project.is-open .project__desc { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.project__desc strong { color: var(--ink); font-weight: 600; }
.project__more { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); transition: color .25s; }
.project__more:hover { color: var(--accent); }
.project__more-icon { position: relative; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--stroke); transition: border-color .25s; }
.project__more:hover .project__more-icon { border-color: var(--accent); }
.project__more-icon::before, .project__more-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.project__more-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.project.is-open .project__more-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* pricing (reuses testimonials two-column sticky layout) */
.pricing__reassure { margin-top: 24px; max-width: 520px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pcard { background: var(--surface); border: 1px solid var(--stroke-2); border-radius: var(--radius-lg); padding: clamp(1.75rem, 2.6vw, 2.25rem); display: flex; flex-direction: column; }
.pcard--hero { background: var(--black); border-color: var(--black); }
.pcard__label { font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.pcard__label--muted { color: var(--ink-3); }
.pcard__title { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 700; margin-top: 14px; }
.pcard--hero .pcard__title { color: #fff; }
.pcard__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3vw, 2.375rem); letter-spacing: -0.02em; margin-top: 12px; }
.pcard__price span { font-size: .47em; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.pcard--hero .pcard__price { color: #fff; }
.pcard--hero .pcard__price span { color: rgba(255,255,255,.55); }
.pcard__body { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 16px; }
.pcard--hero .pcard__body { color: rgba(255,255,255,.72); }

.pricing__compare-intro { margin-top: clamp(2.5rem, 5vw, 3.5rem); font-size: 15px; color: var(--ink-2); }
.pricing__compare { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid var(--stroke-2); }
.pcompare { padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem); border-left: 1px solid var(--stroke-2); }
.pcompare:first-child { border-left: none; padding-left: 0; }
.pcompare__label { font-size: var(--fs-sm); color: var(--ink-2); }
.pcompare__figure { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; margin-top: 8px; }
.pcompare__note { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.45; margin-top: 10px; }
.pricing__close { font-style: italic; font-size: 1.0625rem; color: var(--ink); max-width: 720px; margin-top: 28px; line-height: 1.5; }

/* current project — Enerfluid case (reuses testimonials two-column sticky layout) */
.currentproj__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: var(--fs-sm); color: var(--ink-2); }
.currentproj__meta b { color: var(--ink); font-weight: 600; }

.cslider { position: relative; }
.cslider__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.cslider__track { display: flex; align-items: flex-start; transition: transform .55s var(--ease); }
.cslide { flex: 0 0 100%; min-width: 100%; }
.cslide__frame { display: flex; align-items: center; justify-content: center; width: 100%; height: clamp(320px, 44vh, 500px); position: relative; background: var(--black); border: none; padding: 14px; border-radius: var(--radius-lg); cursor: zoom-in; overflow: hidden; box-shadow: 0 26px 60px -28px rgba(0,0,0,.45); }
.cslide__frame img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 10px; transition: transform 1s var(--ease); }
.cslide__frame:hover img { transform: scale(1.07); }
.cslide__zoom { position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; opacity: 0; transition: opacity .3s; }
.cslide__frame:hover .cslide__zoom { opacity: 1; }
.cslide__ph { display: none; }
.cslide__frame.is-empty { cursor: default; }
.cslide__frame.is-empty img { display: none; }
.cslide__frame.is-empty .cslide__zoom { display: none; }
.cslide__frame.is-empty .cslide__ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.45); font-size: 13.5px; text-align: center; padding: 20px; }
.cslide__frame.is-empty .cslide__ph code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; color: rgba(255,255,255,.7); font-size: 12.5px; }
.cslide__cap { padding-top: 24px; }
.cslide__enum { font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace; font-size: .75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.cslide__title { font-size: var(--fs-h3); line-height: 1.1; margin-top: 10px; }
.cslide__ital { font-style: italic; color: var(--accent); font-size: 1.0625rem; margin-top: 6px; }
.cslide__text { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; margin-top: 12px; }
.cslide__tag { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); margin-top: 14px; }
.cslider__bar { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.cslider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stroke-2); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.cslider__btn:hover { background: var(--black); color: #fff; border-color: var(--black); }
.cslider__count { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; color: var(--ink-2); margin-left: 6px; }
.cslider__dots { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cslider__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stroke); border: none; padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.cslider__dot.is-active { background: var(--ink); width: 22px; border-radius: 5px; }

.currentproj__scope { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--surface); border: 1px solid var(--stroke-2); border-radius: var(--radius-lg); overflow: hidden; }
.cscope { padding: 24px 26px; border-right: 1px solid var(--stroke-2); }
.cscope:last-child { border-right: none; }
.cscope__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1; }
.cscope__n--a { color: var(--accent); }
.cscope__l { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 8px; line-height: 1.35; }
.currentproj__scopeline { margin-top: 18px; font-size: 1rem; color: var(--ink-2); max-width: 820px; line-height: 1.5; }
.currentproj__scopeline b { color: var(--ink); font-weight: 600; }
.currentproj__close { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--black); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.25rem); color: #f4f1ec; font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.currentproj__close b { color: var(--accent); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.lightbox__close { position: fixed; top: 18px; right: 26px; color: #fff; font-size: 34px; line-height: 1; background: none; border: none; cursor: pointer; }

/* footer CTA helper note */
.footer__cta-note { margin-top: 14px; font-size: var(--fs-sm); color: rgba(255,255,255,.55); max-width: 32ch; }

/* footer direct email link */
.footer__email-link { display: inline-block; margin-top: 4px; color: #fff; font-weight: 500; font-size: var(--fs-sm); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: border-color .25s; }
.footer__email-link:hover { border-color: #fff; }

@media (max-width: 767px) {
  .tcard.compare { grid-template-columns: 1fr; gap: 10px; }
  .pricing__compare { grid-template-columns: 1fr; }
  .pcompare { border-left: none; border-top: 1px solid var(--stroke-2); padding-left: 0; padding-right: 0; }
  .pcompare:first-child { border-top: none; padding-top: 0; }
  .matchup__head { display: none; }
  .matchup__row { grid-template-columns: 1fr; gap: 12px; }
}

/* projects: stack on tablet/mobile (placed after base rule so it wins the cascade) */
@media (max-width: 991px) {
  .projects__grid { grid-template-columns: 1fr; max-width: 640px; }
  .currentproj__scope { grid-template-columns: 1fr 1fr; }
  .cscope:nth-child(2) { border-right: none; }
  .cscope:nth-child(1), .cscope:nth-child(2) { border-bottom: 1px solid var(--stroke-2); }
}
@media (max-width: 479px) {
  .currentproj__scope { grid-template-columns: 1fr; }
  .cscope { border-right: none; border-bottom: 1px solid var(--stroke-2); }
  .cscope:last-child { border-bottom: none; }
}
