/* ============================================================
   DESIGN THAT — recreation stylesheet
   Font: PP Neue Montreal · Tokens lifted from original Webflow build
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "PP Neue Montreal";
  src: url("https://cdn.prod.website-files.com/68d5c01d2001f8f153bdab1e/68d5dad289a7876c1b046632_ppneuemontreal-bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("https://cdn.prod.website-files.com/68d5c01d2001f8f153bdab1e/68d5dad2a378ee1c8adc0cb2_ppneuemontreal-medium.otf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("https://cdn.prod.website-files.com/68d5c01d2001f8f153bdab1e/68d5dad2307581f7a24ea87a_ppneuemontreal-book.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  src: url("https://cdn.prod.website-files.com/68d5c01d2001f8f153bdab1e/68d5dad2f986bef5989f4e1c_ppneuemontreal-thin.otf") format("opentype");
  font-weight: 100; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --black: #121212;
  --white: #ffffff;
  --grey: #c2c2c2;
  --grey-dark: #717171;
  --grey-light: gainsboro;
  --neutral: #f4f4f4;

  --purple: #a459ff;
  --green: #74d497;
  --green-dark: #40b96c;
  --blue: #7ea2ad;
  --blue-light: #6d919c;

  --text-primary: var(--black);
  --text-secondary: var(--grey-dark);

  --radius-round: 50rem;
  --radius-large: 1rem;
  --radius-medium: .75rem;
  --radius-small: .5rem;

  --container: 80rem;
  --global-padding: 2.5rem;

  --sp-tiny: .125rem;
  --sp-xxsmall: .25rem;
  --sp-xsmall: .5rem;
  --sp-small: 1rem;
  --sp-regular: 1rem;
  --sp-medium: 2rem;
  --sp-large: 3rem;
  --sp-xlarge: 4rem;
  --sp-xxlarge: 5rem;
  --sp-huge: 6rem;

  --pad-sec-small: 3rem;
  --pad-sec-medium: 5rem;
  --pad-sec-large: 8rem;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PP Neue Montreal", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--text-secondary); text-decoration: none; }
::selection { background: rgba(0,115,230,.3); }

/* ---------- Typography ---------- */
h1 { font-size: 4.75rem; line-height: 1.05; font-weight: 700; letter-spacing: -.1rem; text-wrap: balance; }
h2 { font-size: 3.5rem; line-height: 1.08; font-weight: 700; letter-spacing: -1px; text-wrap: balance; }
h3 { font-size: 1.5rem; line-height: 1.1; font-weight: 500; }
h4, .heading-style-h4 { font-size: 1.25rem; line-height: 1.1; font-weight: 500; }
p { line-height: 1.35; }

.text-color-secondary { color: var(--text-secondary); }
.text-color-primary { color: var(--text-primary); }
.text-size-small { font-size: .875rem; }
.text-align-center { text-align: center; }
.text-style-link { color: var(--text-primary); text-decoration: underline; }
.text-style-link:hover { text-decoration: none; }

/* ---------- Layout helpers ---------- */
.padding-global { padding-left: var(--global-padding); padding-right: var(--global-padding); }
.container-large { max-width: var(--container); width: 100%; margin: 0 auto; }
.section { position: relative; }
.padding-section-small  { padding-top: var(--pad-sec-small);  padding-bottom: var(--pad-sec-small); }
.padding-section-medium { padding-top: var(--pad-sec-medium); padding-bottom: var(--pad-sec-medium); }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-index-1 { position: relative; z-index: 1; }
.z-index-2 { position: relative; z-index: 2; }

.flex-vertical { display: flex; flex-direction: column; }
.flex-vertical.is-ct { align-items: center; text-align: center; }
.flex-vertical.is-lt { align-items: flex-start; }
.flex-horizontal { display: flex; flex-direction: row; }
.flex-horizontal.is-lc { align-items: center; }
.gap-tiny { gap: .25rem; }
.gap-xsmall { gap: .5rem; }
.gap-small { gap: .75rem; }
.gap-regular { gap: 1rem; }
.gap-large { gap: 2rem; }
.gap-xlarge { gap: 3rem; }

.spacer-tiny   { height: .125rem; }
.spacer-xsmall { height: .5rem; }
.spacer-small  { height: 1rem; }
.spacer-regular{ height: 1rem; }
.spacer-medium { height: 2rem; }
.spacer-large  { height: 3rem; }
.spacer-xlarge { height: 4rem; }
.spacer-xxlarge{ height: 5rem; }

.max-width-17-6 { max-width: 17.6rem; }
.max-width-19 { max-width: 19rem; }
.max-width-25 { max-width: 25rem; }
.max-width-31 { max-width: 31rem; }
.max-width-36 { max-width: 36rem; }
.max-width-44 { max-width: 44rem; }
.max-width-50 { max-width: 50rem; }
.max-width-medium { max-width: 32rem; }
.max-width-small { max-width: 20rem; }
.max-width-xsmall { max-width: 16rem; }

.section-label { color: var(--text-secondary); letter-spacing: .02em; white-space: nowrap; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar_wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.navbar_wrap.is-scrolled {
  padding-top: .85rem; padding-bottom: .85rem;
}
.navbar { position: relative; display: flex; align-items: center; justify-content: center; }
.logo-wrap.is-nav { position: absolute; left: 0; display: inline-flex; align-items: center; }
.logo { height: 1.75rem; width: auto; }

/* ── Logo: "f." → expands to "farooqhoti.com" on hover ── */
.logo-morph {
  font-family: 'Geist', 'PP Neue Montreal', system-ui, sans-serif;
  display: inline-flex; align-items: baseline;
  font-weight: 600; font-size: 1.55rem; letter-spacing: -.045em;
  line-height: 1; color: var(--black); white-space: nowrap;
}
.logo-expand {
  display: inline-block; max-width: 0; opacity: 0; overflow: hidden;
  white-space: nowrap; vertical-align: baseline;
  transition: max-width .5s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.logo-wrap:hover .logo-expand,
.logo-wrap:focus-visible .logo-expand { max-width: 8em; opacity: 1; }
.logo-morph .logo-dot { color: var(--purple, #7c3aed); }
.menu_wrap {
  display: flex; align-items: center; gap: .15rem;
  padding: .35rem; border: 1px solid var(--grey-light); border-radius: var(--radius-round);
  background: rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.menu_btn-link {
  position: relative; padding: .5rem 1rem; color: var(--text-secondary);
  font-weight: 500; font-size: 1rem; display: inline-flex; flex-direction: column; align-items: center;
  transition: color .2s ease;
}
.menu_btn-link .menu_text { transition: opacity .2s ease; }
.menu_btn-link:hover { color: var(--text-primary); }
.line-h { height: 1px; width: 0; background: var(--black); transition: width .25s ease; margin-top: 2px; }
.menu_btn-link:hover .line-h { width: 100%; }

/* ---------- Buttons ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .75rem; height: 2.5rem; padding-left: 1.125rem; padding-right: .5rem;
  border-radius: var(--radius-round); background: var(--black); color: var(--white);
  font-weight: 500; overflow: hidden; border: 1px solid var(--black);
  transition: transform .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button > div:first-child { position: relative; z-index: 2; white-space: nowrap; }
.button.is-nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.button.is-nav:hover { transform: translateY(-50%) translateY(-1px); }
.button.is-secondary {
  background: rgba(255,255,255,.1); color: var(--text-primary);
  border: 1px solid var(--grey); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.button.is-secondary:hover { border-color: var(--grey-dark); }
.button.is-align-left { justify-content: space-between; padding-left: 1.125rem; }

.btn-dot-wrap { position: relative; z-index: 2; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; }
.btn-pip { width: .5rem; height: .5rem; border-radius: 50%; background: var(--white); transition: transform .25s ease; }
.btn-pip.is-dark { background: var(--black); }
.button:hover .btn-pip { transform: scale(1.5); }
.btn-dot {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; transition: transform .25s ease;
}
.btn-dot.is-dark { background: var(--black); }
.btn-dot.is-open { background: var(--white); }
.btn-arrow { width: .85rem; height: .85rem; }
.btn-arrow.is-open { width: 1rem; height: 1rem; }
.button:hover .btn-dot { transform: rotate(-45deg); }
.button.is-align-left:hover .btn-dot { transform: none; }

.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.button-group.is-centered-mobile { justify-content: center; }
.button-group.is-pricing { margin-top: auto; }

/* ============================================================
   HERO
   ============================================================ */
.section-hero { position: relative; padding-top: 7.5rem; padding-bottom: 4rem; overflow: hidden; }
.hero-wrap { display: flex; flex-direction: column; align-items: center; position: relative; }
.tag_wrap {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem .35rem .4rem; border: 1px solid var(--grey-light);
  border-radius: var(--radius-round); background: var(--white); font-weight: 500;
  white-space: nowrap;
}
.tag_icon-wrap {
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--neutral);
  display: grid; place-items: center; flex: none;
}
.tag_icon-wrap.is-neutral { background: var(--neutral); border-radius: .55rem; }
.tag_icon { width: .85rem; height: .85rem; }
.hero_heading-wrap { margin-top: 1.5rem; }
.section-hero h1 { max-width: 16ch; }
.button-group.is-hero { margin-top: 2.5rem; }

.hero_blocks-wrap {
  display: flex; justify-content: center; align-items: flex-end; gap: 1.5rem;
  margin-top: 4rem; width: 100%; perspective: 1200px;
}
.hero_block {
  border-radius: var(--radius-large); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(18,18,18,.25);
  flex: 1 1 0; max-width: 24rem; padding: 1.5rem;
  border: 1px solid rgba(18,18,18,.06);
}
.hero_block.is-green  { background: linear-gradient(180deg, #e9f7ee, #f3fbf6); }
.hero_block.is-neutral{ background: linear-gradient(180deg, #eef0f2, #f6f7f8); }
.hero_block.is-purple { background: linear-gradient(180deg, #f1eafe, #f8f4ff); }
.skel_topbar { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.skel_avatar { width: 1.6rem; height: 1.6rem; border-radius: .4rem; background: rgba(18,18,18,.07); flex: none; }
.skel_pill { height: 1.2rem; flex: 1; border-radius: 50rem; background: rgba(18,18,18,.05); max-width: 8rem; }
.skel_pill.is-wide { max-width: 12rem; }
.skel_body { display: flex; gap: 1rem; }
.skel_square { width: 5rem; height: 5rem; border-radius: .6rem; background: rgba(18,18,18,.06); flex: none; }
.skel_lines { flex: 1; display: flex; flex-direction: column; gap: .7rem; padding-top: .3rem; }
.skel_line { height: .9rem; border-radius: 50rem; background: rgba(18,18,18,.06); width: 100%; }
.skel_line.is-80 { width: 80%; }
.skel_line.is-60 { width: 60%; }
.hero_block.is-left  { transform: translateY(2rem) rotate(-3deg); }
.hero_block.is-right { transform: translateY(2rem) rotate(3deg); }
.hero_block.is-center{ transform: translateY(-1rem); z-index: 2; }
.hero_block-img { width: 100%; display: block; }
.hero_fader {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
  pointer-events: none; z-index: 3;
}

/* ============================================================
   TRUSTMONIAL (inline quote band)
   ============================================================ */
.section_trustmonial { padding: 4rem 0; }
.section_trustmonial.is-reversed-gap { padding: 4rem 0; }
.trustmonial_wrap {
  position: relative; max-width: 46rem; margin: 0 auto; padding: 0 var(--global-padding);
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.trustmonial_block { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.trustmonial_block .flex-horizontal { gap: .15rem; }
.rating-star { width: 1.15rem; height: 1.15rem; }
.testimonial_image { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.trustmonial_block p { max-width: 42rem; line-height: 1.4; }

.trustmonial_line-wrap { position: relative; width: 1px; height: 3rem; background: linear-gradient(var(--grey-light), transparent); }
.trustmonial_line-wrap.is-left { background: linear-gradient(transparent, var(--grey-light)); }
.pulsing-dot_wrap { position: absolute; left: 50%; top: 0; transform: translate(-50%,-50%); width: 1rem; height: 1rem; display: grid; place-items: center; }
.pulsing-dot_wrap.is-left { top: auto; bottom: 0; transform: translate(-50%,50%); }
.pulsing-dot_main { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green-dark); }
.pulsing-dot_inner { position: absolute; width: .5rem; height: .5rem; border-radius: 50%; background: var(--green-dark); opacity: .5; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(3); opacity: 0; } }

/* ============================================================
   BENEFITS
   ============================================================ */
.section-intro { padding-top: 6rem; padding-bottom: 2rem; }
.grid-2-col.is-intro-text {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start;
}
.grid-2-col.is-intro-text h2 { max-width: 18ch; }

.section_benefits { position: relative; padding-bottom: 2rem; }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-3-col.gap-xlarge { gap: 3rem; }
.card {
  display: flex; flex-direction: column; gap: 2rem;
  background: var(--white); border: 1px solid var(--grey-light);
  border-radius: var(--radius-large); padding: 1.75rem; overflow: hidden;
}
.card_illustration { width: 100%; border-radius: var(--radius-medium); background: var(--neutral); display: block; }
.card_content-wrap { display: flex; flex-direction: column; gap: .75rem; }
.card_content-wrap h3 { font-weight: 500; }
.max-width-small, .max-width-xsmall { width: 100%; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-panel {
  width: 100%; display: grid; grid-template-columns: 20rem 1fr;
  border: 1px solid var(--grey-light); border-radius: var(--radius-large);
  overflow: hidden; background: var(--white); text-align: left;
}
/* --- left sidebar tabs --- */
.services-sidebar { display: flex; flex-direction: column; border-right: 1px solid var(--grey-light); }
.services-tab {
  display: flex; align-items: center; gap: .9rem; cursor: pointer;
  padding: 2rem 1.75rem; flex: 1; transition: background .25s ease;
  border-bottom: 1px solid var(--grey-light);
}
.services-tab:last-child { border-bottom: none; }
.services-tab_ico {
  width: 1.9rem; height: 1.9rem; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--neutral);
}
.services-tab_ico .tag_icon { width: .95rem; height: .95rem; }
.services-tab_ico.is-green { background: #eaf6ee; }
.services-tab_ico.is-purple { background: #f3eafe; }
.services-tab_name { font-size: 1.4rem; font-weight: 500; color: var(--text-secondary); transition: color .25s ease; }
.services-tab:hover .services-tab_name { color: var(--text-primary); }
.services-tab.is-active { background: linear-gradient(180deg, #f3f7f8, #ffffff); }
.services-tab.is-active .services-tab_name { color: var(--blue-light); }
/* --- right content --- */
.services-main { position: relative; min-width: 0; overflow: hidden; }
.services-pane { display: none; }
.services-pane.is-active { display: flex; flex-direction: column; height: 100%; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.services-pane_top { padding: 2.5rem 2.5rem 0; }
.services-pane_head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; }
.services-pane_head h3 { font-size: 1.9rem; font-weight: 500; letter-spacing: -.02em; }
.services-pane_badge { display: inline-flex; align-items: center; gap: .5rem; flex: none; white-space: nowrap; }
.services-badge_ico { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #4353ff; display: grid; place-items: center; flex: none; }
.services-badge_ico img { width: 1rem; height: 1rem; }
.services-pane_top .tag_wrap { margin-top: 1.5rem; }
/* --- animated device gallery --- */
.services-gallery {
  position: relative; margin-top: 2rem; flex: 1; min-height: 20rem;
  overflow: hidden; perspective: 2200px;
}
.services-gallery_track {
  position: absolute; left: 0; bottom: -1px; display: flex; gap: 1.5rem;
  padding: 0 2.5rem; width: max-content; will-change: transform;
}
.services-device {
  flex: 0 0 27rem; border-radius: 14px 14px 0 0; overflow: hidden;
  box-shadow: 0 24px 50px -22px rgba(18,18,18,.4);
  border: 1px solid rgba(18,18,18,.08); border-bottom: none; background: var(--white);
  transform: perspective(1500px) rotateY(-20deg) rotate(-1deg);
  transform-origin: center bottom;
}
.services-device.is-brand { aspect-ratio: 1216 / 720; }
.services-device.is-brand img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.services-device img { width: 100%; height: auto; display: block; }
.webflow-icon { width: 1.1rem; height: 1.1rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.grid-5-col.is-process {
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center;
  max-width: 60rem; width: 100%; margin: 0 auto;
}
.process_icon-outer-wrap { display: grid; place-items: center; }
.process_icon-wrap {
  width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--neutral);
  display: grid; place-items: center; padding: .4rem;
}
.process_icon-wrap.is-2 { background: #eaf6ee; }
.process_icon-wrap.is-3 { background: #f3eafe; }
.process_icon-inner { width: 100%; height: 100%; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--grey-light); }
.process_icon { width: 1.6rem; height: 1.6rem; }
.process_line { height: 1px; background: repeating-linear-gradient(to right, var(--grey) 0 6px, transparent 6px 12px); width: 100%; }
.grid-3-col.is-stretch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.grid-3-col.is-stretch h3 { font-weight: 500; }
.process-tablet { display: none; }

/* ============================================================
   WORK (parallax columns — static layout for now)
   ============================================================ */
.work_wrap {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 64rem; margin: 3rem auto 0; height: 42rem; overflow: hidden;
}
.work_column { display: flex; flex-direction: column; gap: 1.5rem; }
.work_column.is-1 { padding-top: 0; }
.work_column.is-2 { padding-top: 0; }
.work_column { will-change: transform; }
.work_placeholder { display: none; }
.work_image-wrap { position: relative; border-radius: var(--radius-large); overflow: hidden; border: 1px solid var(--grey-light); background: var(--neutral); }
.work_image { width: 100%; display: block; }
.tag_wrap.is-work { position: absolute; top: .9rem; left: .9rem; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: .3rem .75rem .3rem .35rem; }
.line-v { display: none; }
.work-fader { position: absolute; left: 0; right: 0; top: 0; height: 3.5rem; background: linear-gradient(to bottom, var(--white), transparent); pointer-events: none; z-index: 3; }
.work-fader.is-bottom { top: auto; bottom: 0; background: linear-gradient(to top, var(--white), transparent); }
.hide-desktop { display: none !important; }

/* ---------- Selection cursor (design-tool style) ---------- */
.selection_target {
  position: relative; border-radius: 3px;
  transition: background-color .45s ease, box-shadow .45s ease;
}
.selection_target.is-selected {
  background-color: rgba(0,115,230,.13);
  box-shadow: 0 0 0 3px rgba(0,115,230,.13);
}
.selection_wrap {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  pointer-events: none; opacity: 0; z-index: 6;
  transition: opacity .3s ease;
}
.selection_wrap.is-visible { opacity: 1; }
.selection_box {
  position: absolute; inset: 0; border: 1.5px solid rgba(0,115,230,.85);
  border-radius: 2px; opacity: 0; transform: scale(.97);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.selection_wrap.is-visible .selection_box { opacity: 1; transform: scale(1); }
.selection_corner, .selection_cursor { display: none !important; }
.selection_corner {
  position: absolute; width: 9px; height: 9px; background: #fff;
  border: 2px solid #0073e6; border-radius: 2px;
  transform: translate(-50%,-50%) scale(0);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.selection_wrap.is-visible .selection_corner { transform: translate(-50%,-50%) scale(1); }
.selection_corner.is-tl { left: 0;    top: 0; }
.selection_corner.is-tr { left: 100%; top: 0; }
.selection_corner.is-bl { left: 0;    top: 100%; }
.selection_corner.is-br { left: 100%; top: 100%; }
.selection_cursor {
  position: absolute; left: 100%; top: 100%; width: 26px; height: auto;
  transform: translate(-4px,-4px) scale(.5); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  transition-delay: .12s;
}
.selection_wrap.is-visible .selection_cursor { transform: translate(8px,9px) scale(1); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .selection_box, .selection_corner, .selection_cursor, .selection_target { transition: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.grid-2-col.is-testimonials { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; }
.testi_arrows { display: flex; gap: .75rem; justify-content: flex-end; }
.testi_arrow {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--grey);
  background: var(--white); cursor: pointer; display: grid; place-items: center;
  transition: all .2s ease; font-size: 1.1rem; color: var(--text-primary);
}
.testi_arrow:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.testi_viewport { overflow: hidden; }
.testi_track { display: flex; gap: 1.5rem; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.testimonial_card {
  flex: 0 0 calc((100% - 1.5rem) / 2); min-width: 0;
  display: flex; flex-direction: column; gap: 2rem;
  background: var(--neutral); border-radius: var(--radius-large); padding: 2.5rem;
}
.testimonial_card .flex-horizontal { gap: .15rem; }
.testimonial_card p { line-height: 1.45; }

/* ============================================================
   PRICING
   ============================================================ */
.grid-3-col.is-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; align-items: stretch; }
.pricing_card {
  display: flex; flex-direction: column;
  background: transparent;
}
/* Colored price panel */
.pricing_price-wrap {
  background: #dde3e8; padding: 1.4rem; border-radius: var(--radius-large);
  --price-accent: #7e8d9b; --frame-border: rgba(126,141,155,.32);
}
.pricing_price-wrap.is-green  { background: #d4efdd; --price-accent: #34b86a; --frame-border: rgba(52,184,106,.3); }
.pricing_price-wrap.is-purple { background: #ebdcfb; --price-accent: #9760ec; --frame-border: rgba(151,96,236,.3); }
/* Inner framed box */
.pricing_price-inner-wrap {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: 13rem; padding: 1.4rem;
  border: 1px solid var(--frame-border); border-radius: var(--radius-medium);
  background: rgba(255,255,255,.28);
}
.tag_wrap.is-white { background: var(--white); align-self: flex-start; }
.flex-horizontal.is-pricing { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; min-width: 0; overflow: hidden; }
.pricing_price { font-size: 3.25rem; font-weight: 700; letter-spacing: -2px; line-height: .9; color: var(--price-accent); }
.text-height-xlarge { color: var(--price-accent); font-weight: 500; flex-shrink: 0; white-space: nowrap; }
.pricing_description-wrap { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.6rem .25rem 0; flex: 1; text-align: left; }
.line-h.is-divider { height: 1px; width: 100%; background: var(--grey-light); }
.pricing_features { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.button-group.is-pricing { flex-wrap: nowrap; }
/* Calendly icon reveal on "Start in 24h" hover */
.btn-cal-icon { position: absolute; width: 1.15rem; height: 1.15rem; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; }
.button:hover .btn-cal-icon { opacity: 1; transform: scale(1); }
.button.has-cal:hover .btn-pip { opacity: 0; }

/* ── Calendly buttons ─────────────────────────────────────── */
.calendly-icon { display: inline-block; flex-shrink: 0; }

/* ── Initial avatars (reviews, comments — no client photos) ── */
.avatar-initial {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1;
  user-select: none;
}
.avatar-initial.is-sm { width: 1.75rem; height: 1.75rem; font-size: .8rem; }

/* ── Testimonial case-study link (auto-wired by cms.js) ───── */
.testi_case-link {
  display: inline-block; margin-top: .25rem;
  font-size: .9rem; font-weight: 600; color: var(--text-primary, #111);
  text-decoration: underline; text-underline-offset: 3px;
  transition: opacity .2s ease;
}
.testi_case-link:hover { opacity: .65; }
.testi_case-link[hidden] { display: none; }

/* ── About (after hero) — qaisar-style two-column ─────────── */
.about-me { padding-top: 4rem; padding-bottom: 4rem; }
.about_grid {
  display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 36rem);
  gap: 4rem; justify-content: center; align-items: start;
  max-width: 60rem; margin: 0 auto;
}
.about_skills-label { font-weight: 600; font-size: 1rem; margin-bottom: 1.75rem; }
.about_skills-list { list-style: none; padding: 0; margin: 0; }
.about_skills-list li {
  font-size: 1.15rem; line-height: 2.1; color: var(--text-primary, #111);
  letter-spacing: -.01em;
}
.about_skills-list li:last-child { color: var(--text-secondary); }
.about_copy { display: flex; flex-direction: column; gap: 1.35rem; }
.about_copy p { font-size: 1.1rem; line-height: 1.65; text-wrap: pretty; }
.about_id { margin-bottom: .25rem; }
.about_hello { font-weight: 600; color: var(--text-primary, #111); font-size: 1.15rem; }
.about_scroll-hint { opacity: .7; }

/* ── Final CTA — inspiration layout ───────────────────────── */
.final-cta { overflow: hidden; padding-top: 6rem; padding-bottom: 0; position: relative; }
.final-cta_grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem; align-items: center;
  padding-bottom: 7rem;
}
.final-cta_kicker { font-size: 1.15rem; max-width: 26rem; }
.final-cta_title {
  font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.05;
  letter-spacing: -.035em; text-wrap: balance;
}
.final-cta_sub { font-size: 1.1rem; color: var(--text-secondary); }
.final-cta_right {
  display: flex; align-items: center; gap: 1.75rem; justify-content: flex-end;
}
.final-cta_chevrons { display: inline-flex; animation: chev-nudge 1.4s ease-in-out infinite; }
.final-cta_line-arrow {
  font-size: 2rem; line-height: 1; color: var(--black);
  animation: chev-nudge 1.4s ease-in-out infinite; animation-delay: .2s;
}
.final-cta_line-arrow.is-2 { animation-delay: .4s; }
@keyframes chev-nudge {
  0%, 100% { translate: 0 0; }
  50%      { translate: 8px 0; }
}
.final-cta_circle {
  width: 11.5rem; height: 11.5rem; border-radius: 50%; flex-shrink: 0;
  background: #006BFF; color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  box-shadow: 0 16px 48px rgba(0,107,255,.32);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .25s ease;
}
.final-cta_circle:hover {
  background: #0057d6; transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 22px 64px rgba(0,107,255,.42);
}
.final-cta_circle-label { font-size: .95rem; font-weight: 600; letter-spacing: .01em; }

/* Wave into dark footer */
.footer-wave { display: block; line-height: 0; margin-top: -1px; }
.footer-wave svg { width: 100%; height: clamp(60px, 9vw, 130px); display: block; }

@media (prefers-reduced-motion: reduce) {
  .final-cta_chevrons, .final-cta_line-arrow { animation: none; }
}
@media (max-width: 991px) {
  .about_grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .final-cta_grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .final-cta_right { justify-content: center; }
}
@media (max-width: 560px) {
  .final-cta_circle { width: 8.5rem; height: 8.5rem; }
  .final-cta_circle-icon { width: 38px; height: 38px; }
  .final-cta_chevrons svg { width: 48px; height: 24px; }
  .final-cta_line-arrow { font-size: 1.4rem; }
  .final-cta_right { gap: 1rem; }
}

/* ── Footer credit ────────────────────────────────────────── */
.footer_credit { margin-top: 1.5rem; font-size: .9rem; }
.footer_credit .text-color-secondary { color: rgba(255,255,255,.55); }
.footer_heart {
  display: inline-block; color: #e0245e; margin: 0 .15rem;
  animation: heart-beat 1.5s ease-in-out infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.25); }
  24%      { transform: scale(1); }
  36%      { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) { .footer_heart { animation: none; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq_title { font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; letter-spacing: -.03em; line-height: .95; }
.faq_title-grey { color: var(--grey); }
.faq_grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5rem; row-gap: 0; width: 100%; }
.faq_item { border-bottom: 1px solid var(--grey-light); }
.faq_question {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0; cursor: pointer; width: 100%; background: none; border: none;
  text-align: left; font-family: inherit; font-size: 1.125rem; font-weight: 500; color: var(--text-primary);
}
.faq_icon {
  flex: none; width: 2.25rem; height: 2.25rem; position: relative;
  border: 1px solid var(--grey-light); border-radius: 8px;
  transition: background .2s ease, border-color .2s ease;
}
.faq_icon::before, .faq_icon::after { content: ""; position: absolute; background: var(--text-secondary); border-radius: 2px; }
.faq_icon::before { top: 50%; left: 50%; width: .85rem; height: 2px; transform: translate(-50%, -50%); }
.faq_icon::after { top: 50%; left: 50%; width: 2px; height: .85rem; transform: translate(-50%, -50%); transition: opacity .3s ease; }
.faq_item.is-open .faq_icon::after { opacity: 0; }
.faq_item.is-open .faq_icon { background: var(--black); border-color: var(--black); }
.faq_item.is-open .faq_icon::before { background: var(--white); }
.faq_answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq_answer-inner { padding-bottom: 1.5rem; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================
   BLOG / PROJECTS PAGE
   ============================================================ */
.blog-hero { padding-top: 9rem; }
.blog-hero_grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end;
}
.blog-hero_title { font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.04em; line-height: .92; }
.blog-hero_lead { color: var(--text-secondary); max-width: 32ch; line-height: 1.5; padding-bottom: .75rem; }

.blog-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap; padding: 2.5rem 0 1.25rem; border-bottom: 1px solid var(--grey-light);
}
.blog-filters { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.blog-filter {
  background: none; border: none; font-family: inherit; cursor: pointer;
  font-size: 1.0625rem; font-weight: 500; color: var(--text-secondary);
  padding: .25rem 0; position: relative; transition: color .2s ease;
}
.blog-filter:hover { color: var(--text-primary); }
.blog-filter.is-active { color: var(--text-primary); }
.blog-filter.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1.3rem; height: 2px; background: var(--black);
}
.blog-search {
  display: flex; align-items: center; gap: .6rem; min-width: 16rem;
  border: 1px solid var(--grey-light); border-radius: var(--radius-round);
  padding: .55rem 1.1rem; transition: border-color .2s ease;
}
.blog-search:focus-within { border-color: var(--black); }
.blog-search svg { flex: none; width: 1rem; height: 1rem; color: var(--text-secondary); }
.blog-search input {
  border: none; outline: none; background: none; font-family: inherit;
  font-size: 1rem; color: var(--text-primary); width: 100%;
}
.blog-search input::placeholder { color: var(--grey-dark); }

.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.5rem 2.5rem;
  padding-top: 3rem;
}
.blog-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; cursor: pointer; }
.blog-card_media {
  position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-medium); background: var(--neutral);
}
.blog-card_media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.blog-card:hover .blog-card_media img { transform: scale(1.04); }
.blog-card_corner {
  position: absolute; top: 1rem; right: 1rem; width: 14px; height: 14px;
  border-top: 2px solid var(--purple); border-right: 2px solid var(--purple);
}
.blog-card_badge {
  position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; gap: .4rem;
  background: var(--white); border-radius: var(--radius-round);
  padding: .4rem .8rem; font-size: .8rem; font-weight: 500; box-shadow: 0 6px 18px -8px rgba(0,0,0,.25);
}
.blog-card_title { font-size: 1.4rem; font-weight: 600; margin-top: 1.4rem; letter-spacing: -.01em; }
.blog-card_desc { color: var(--text-secondary); margin-top: .5rem; line-height: 1.5; }
.blog-card_tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.blog-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-secondary); border: 1px solid var(--grey-light);
  border-radius: var(--radius-round); padding: .4rem .85rem;
}
.blog-empty { display: none; padding: 4rem 0; text-align: center; color: var(--text-secondary); font-size: 1.25rem; }
.blog-empty.is-visible { display: block; }

@media (max-width: 991px) {
  .blog-hero { padding-top: 7.5rem; }
  .blog-hero_grid { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
  .blog-hero_lead { padding-bottom: 0; }
  .blog-controls { padding-top: 2rem; }
  .blog-grid { gap: 2.75rem 2rem; }
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-controls { flex-direction: column; align-items: stretch; }
  .blog-search { min-width: 0; }
  .blog-filters { gap: 1.25rem; }
  .blog-filter.is-active::after { bottom: -.4rem; }
}

/* ============================================================
   ARTICLE / BLOG POST
   ============================================================ */
.article { padding-top: 8.5rem; padding-bottom: 5rem; position: relative; }
.article_head { max-width: 44rem; margin: 0 auto; text-align: center; }
.article_date {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-secondary);
}
.article_title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 500; letter-spacing: -.025em;
  line-height: 1.1; margin-top: 1.5rem; text-wrap: balance;
}
.article_lead {
  font-size: 1.2rem; color: var(--text-secondary); line-height: 1.6;
  margin-top: 1.5rem; max-width: 40rem; margin-left: auto; margin-right: auto; text-wrap: pretty;
}
.article_meta-row {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.75rem; font-size: .9rem; color: var(--text-secondary);
}
.article_meta-sep { opacity: .4; }
.article_meta-row time { color: var(--text-secondary); }
.article_author { display: inline-flex; align-items: center; gap: .75rem; margin-top: 2rem; }
.article_author img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.article_author-name { font-weight: 600; font-size: .95rem; text-align: left; }
.article_author-role { font-size: .85rem; color: var(--text-secondary); text-align: left; }

.article_hero-media {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-large);
  margin: 3.5rem auto 0; max-width: 64rem; background: var(--neutral);
}
.article_hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article_body {
  max-width: 44rem; margin: 3.5rem auto 0; font-size: 1.15rem; line-height: 1.75; color: #2a2a2a;
}
.article_body > p { margin-bottom: 1.5rem; text-wrap: pretty; }
.article_body > p:first-of-type::first-letter {
  float: left; font-size: 3.6rem; line-height: .8; font-weight: 700; color: var(--black);
  padding: .35rem .55rem .1rem 0;
}
.article_body h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin: 3rem 0 1.1rem; color: var(--black); }
.article_body h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; margin: 2.25rem 0 .9rem; color: var(--black); }
.article_body h4 { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--black); }
.article_body a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--grey); }
.article_body a:hover { text-decoration-color: var(--black); }
.article_body ul,
.article_body ol  { margin: 0 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.article_body ol  { list-style: decimal; }
.article_body ul  { list-style: disc; }
.article_body li  { line-height: 1.6; }
.article_body blockquote {
  font-size: 1.35rem; font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: var(--black);
  border-left: 3px solid var(--black); padding-left: 1.5rem; margin: 2.5rem 0; font-style: italic;
}
.article_body pre {
  background: #f4f4f4; border-radius: .5rem; padding: 1.25rem 1.5rem;
  overflow-x: auto; margin: 2rem 0; font-size: .9rem; line-height: 1.6;
}
.article_body code {
  font-family: 'Fira Code', 'Cascadia Code', ui-monospace, monospace; font-size: .88em;
  background: #f4f4f4; padding: .2em .45em; border-radius: .25rem;
}
.article_body pre code { background: none; padding: 0; font-size: inherit; }
.article_body img {
  width: 100%; border-radius: .75rem; margin: 2rem 0; display: block; max-height: 32rem; object-fit: cover;
}
.article_body hr { border: none; border-top: 1px solid var(--grey-light); margin: 3rem 0; }
.article_body strong { font-weight: 700; color: var(--black); }
.article_body em { font-style: italic; }
.article_figure { margin: 2.5rem 0; }
.article_figure-media {
  width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-medium); background: var(--neutral);
}
.article_figure-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article_figure figcaption { font-size: .85rem; color: var(--text-secondary); margin-top: .75rem; text-align: center; }
.article_quote {
  font-size: 1.5rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--black);
  border-left: 3px solid var(--black); padding-left: 1.5rem; margin: 2.5rem 0;
}

/* Sticky share rail (desktop) */
.share-rail {
  position: fixed; left: 2.5rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1rem; z-index: 9;
}
.share-rail_label {
  writing-mode: vertical-rl; font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-secondary); margin-bottom: .5rem;
}
.share-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--grey-light);
  display: grid; place-items: center; background: var(--white); color: var(--text-primary);
  cursor: pointer; transition: all .2s ease;
}
.share-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.share-btn svg { width: 1rem; height: 1rem; }

/* Engagement bar */
.article_engage {
  max-width: 44rem; margin: 3.5rem auto 0; padding: 1.5rem 0; border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.engage-btn {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--grey-light);
  border-radius: var(--radius-round); padding: .55rem 1.1rem; font-family: inherit; font-size: .95rem;
  font-weight: 500; color: var(--text-primary); cursor: pointer; transition: all .2s ease;
}
.engage-btn:hover { border-color: var(--black); }
.engage-btn svg { width: 1.1rem; height: 1.1rem; }
.engage-btn.is-liked { background: #ffeef0; border-color: #ffced6; color: #e0245e; }
.engage-btn.is-liked svg { fill: #e0245e; stroke: #e0245e; }
.engage-spacer { flex: 1; }
.engage-share { display: flex; gap: .5rem; }

/* Comments */
.comments { max-width: 44rem; margin: 3rem auto 0; }
.comments_title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.75rem; }
.comment { display: flex; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--grey-light); }
.comment_avatar { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: var(--neutral); }
.comment_meta { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.comment_name { font-weight: 600; font-size: .95rem; }
.comment_time { font-size: .8rem; color: var(--text-secondary); }
.comment_text { margin-top: .4rem; line-height: 1.55; color: #2a2a2a; }
.comment-form { display: flex; gap: 1rem; margin-top: 2rem; align-items: flex-start; }
.comment-form_avatar { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.comment-form_body { flex: 1; }
.comment-form textarea {
  width: 100%; min-height: 4.5rem; resize: vertical; font-family: inherit; font-size: 1rem;
  padding: .9rem 1.1rem; border: 1px solid var(--grey-light); border-radius: var(--radius-medium);
  outline: none; transition: border-color .2s ease; color: var(--text-primary);
}
.comment-form textarea:focus { border-color: var(--black); }
.comment-form_actions { display: flex; justify-content: flex-end; margin-top: .75rem; }

@media (max-width: 991px) {
  .share-rail { display: none; }
  .article { padding-top: 7rem; }
}

/* ============================================================
   FOOTER — dark band the CTA wave flows into
   ============================================================ */
.footer { padding: 2.5rem 0 3rem; background: #0a0a0a; color: rgba(255,255,255,.85); margin-top: -1px; }
.footer_row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.footer_logo-circle {
  flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--white);
  color: var(--black); display: grid; place-items: center; font-weight: 700; font-size: 1rem;
}
.footer_pill {
  height: 3rem; display: flex; align-items: center; gap: 2rem;
  padding: 0 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  color: rgba(255,255,255,.85); white-space: nowrap; transition: all .2s ease;
}
.footer_pill .text-color-secondary { color: rgba(255,255,255,.5); }
.footer_pill-main { flex: 1 1 auto; justify-content: space-between; }
.footer_pill-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer_pill-icon { width: 3rem; padding: 0; justify-content: center; font-weight: 600; }
.footer_pill-icon:hover { background: var(--white); color: var(--black); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  :root { --global-padding: 1.5rem; }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
  .menu_wrap { display: none; }
  .grid-2-col.is-intro-text { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3-col, .grid-3-col.gap-xlarge { grid-template-columns: 1fr; }
  .service-tabs_menu { grid-template-columns: 1fr; max-width: 30rem; }
  .service-tabs_pane-inner { grid-template-columns: 1fr; padding: 1.75rem; }
  .services-panel { grid-template-columns: 1fr; }
  .services-sidebar { flex-direction: row; border-right: none; border-bottom: 1px solid var(--grey-light); }
  .services-tab { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.25rem 1rem; border-bottom: none; border-right: 1px solid var(--grey-light); }
  .services-tab:last-child { border-right: none; }
  .services-tab_name { font-size: 1.05rem; }
  .services-pane_top { padding: 1.75rem 1.75rem 0; }
  .services-pane_head { flex-direction: column; }
  .services-pane_head h3 { font-size: 1.5rem; }
  .services-device { flex-basis: 20rem; }
  .services-gallery { min-height: 15rem; }
  .grid-3-col.is-stretch { grid-template-columns: 1fr; }
  .grid-5-col.is-process { display: none; }
  .process-tablet { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 30rem; margin: 0 auto; }
  .work_wrap { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .work_column.is-2 { padding-top: 0; }
  .hide-desktop { display: block !important; }
  .work-fader { display: none; }
  .grid-2-col.is-testimonials { grid-template-columns: 1fr; align-items: start; }
  .testi_arrows { justify-content: flex-start; }
  .testimonial_card { flex-basis: 100%; }
  .grid-3-col.is-pricing { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .hero_blocks-wrap { gap: .75rem; }
}
@media (max-width: 560px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section-hero { padding-top: 6.5rem; }
  .button.is-nav { position: static; transform: none; }
  .hero_blocks-wrap { flex-direction: column; align-items: center; }
  .hero_block { transform: none !important; max-width: 20rem; }
  .footer_inner { flex-direction: column; align-items: flex-start; }
  .faq_grid { grid-template-columns: 1fr; column-gap: 0; }
  .footer_pill-main { flex-direction: column; align-items: flex-start; gap: .25rem; height: auto; padding: 1rem 1.5rem; }
}

/* burger (mobile menu trigger) */
.menu_burger-btn { display: none; }
.button.is-burger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 991px) {
  .button.is-burger { display: inline-flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.5rem; padding: 0; align-items: center; justify-content: center; }
  .menu_burger-btn { display: flex; flex-direction: column; gap: .28rem; width: 1.1rem; }
  .menu_burger-line { height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .button.is-burger.is-open .menu_burger-line:nth-child(1) { transform: translateY(5px) rotate(0deg); opacity: 0; }
  .button.is-burger.is-open .menu_burger-line:nth-child(3) { transform: translateY(-5px) rotate(0deg); opacity: 0; }

  .mobile-menu {
    display: flex; flex-direction: column; align-items: flex-end; gap: .35rem;
    position: absolute; top: calc(100% + .85rem); right: 0;
    min-width: 13rem; padding: 1.5rem 1.75rem;
    background: var(--white); border: 1px solid var(--grey-light);
    border-radius: var(--radius-large);
    box-shadow: 0 24px 50px -22px rgba(18,18,18,.25);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .mobile-menu_link {
    color: var(--text-secondary); font-weight: 500; font-size: 1.5rem;
    padding: .35rem 0; transition: color .2s ease;
  }
  .mobile-menu_link:hover { color: var(--text-primary); }
}

/* ============================================================
   BLOG CARD — author row
   ============================================================ */
.blog-card_author {
  display: flex; align-items: center; gap: .55rem; margin-top: 1rem;
}
.blog-card_author-img {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; object-fit: cover; flex: none;
}
.blog-card_author-info {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.blog-card_author-name { font-size: .8rem; font-weight: 600; color: var(--text-primary); }
.blog-card_author-date { font-size: .8rem; color: var(--text-secondary); }
.blog-card_author-name::after { content: "·"; margin-left: .4rem; color: var(--grey); }

/* ============================================================
   FEATURED POST (hero card on blog listing page)
   ============================================================ */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 2.5rem; border: 1px solid var(--grey-light); border-radius: var(--radius-large);
  margin: 2.5rem 0 0; text-decoration: none; color: inherit;
  transition: box-shadow .25s ease; background: var(--white);
}
.blog-featured:hover { box-shadow: 0 16px 40px -16px rgba(18,18,18,.12); }
.blog-featured_media {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
  border-radius: var(--radius-medium); background: var(--neutral);
}
.blog-featured_media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.blog-featured:hover .blog-featured_media img { transform: scale(1.03); }
.blog-featured_label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: .75rem;
}
.blog-featured_title {
  font-size: 2rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.1;
  text-wrap: balance; color: var(--text-primary);
}
.blog-featured_desc {
  color: var(--text-secondary); line-height: 1.55; margin-top: .85rem;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .blog-featured_title { font-size: 1.5rem; }
}

/* ============================================================
   BREADCRUMB (article pages)
   ============================================================ */
.article-breadcrumb { padding-top: 5.5rem; padding-bottom: 0; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.breadcrumb-item {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none; transition: color .2s ease;
}
.breadcrumb-item:hover { color: var(--text-primary); }
.breadcrumb-item.is-current { color: var(--text-primary); cursor: default; }
.breadcrumb-sep { color: var(--grey); font-size: .7rem; }
/* When breadcrumb is present, reduce article's own top padding */
.article-breadcrumb + .section.article { padding-top: 2rem; }
@media (max-width: 991px) {
  .article-breadcrumb { padding-top: 4.5rem; }
}

/* ============================================================
   AUTHOR BIO (below article body)
   ============================================================ */
.author-bio {
  max-width: 44rem; margin: 3rem auto 0;
  padding: 2rem; border: 1px solid var(--grey-light); border-radius: var(--radius-large);
  display: flex; gap: 1.5rem; align-items: flex-start; background: var(--neutral);
}
.author-bio_img {
  width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; flex: none;
}
.author-bio_name { font-weight: 700; font-size: 1.05rem; }
.author-bio_role { font-size: .875rem; color: var(--text-secondary); margin-top: .15rem; }
.author-bio_text {
  color: var(--text-secondary); line-height: 1.6; margin-top: .65rem; font-size: .95rem;
}
.author-bio_links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.author-bio_link {
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text-primary); border: 1px solid var(--grey-light); border-radius: var(--radius-round);
  padding: .35rem .85rem; text-decoration: none; transition: all .2s ease;
}
.author-bio_link:hover {
  border-color: var(--black); background: var(--black); color: var(--white);
}
@media (max-width: 600px) {
  .author-bio { flex-direction: column; }
}

/* ============================================================
   RELATED POSTS (below article + author bio)
   ============================================================ */
.related-posts {
  margin-top: 4rem; padding-top: 3.5rem; border-top: 1px solid var(--grey-light);
  padding-bottom: 3rem;
}
.related-posts_title {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 2rem;
}
.related-posts_grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
@media (max-width: 768px) {
  .related-posts_grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   WRITING PREVIEW section on index — reuses .blog-card
   text-align fix for left-aligned cards inside centered section
   ============================================================ */
#writing .blog-card_title { font-size: 1.25rem; }
#writing .blog-card { text-decoration: none; color: inherit; }

/* ============================================================
   CONTACT / PRICING cards — fixes
   ============================================================ */

/* Responsive font so long words like "Advisory" never wrap */
.pricing_price {
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  letter-spacing: clamp(-1px, -0.04em, -2px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}

/* Stack CTA buttons vertically, full-width, bottom-anchored */
.button-group.is-pricing {
  flex-direction: column;
  align-items: stretch;
  gap: .6rem;
  flex-wrap: nowrap;
}
.button-group.is-pricing .button {
  width: 100%;
  justify-content: space-between;
}

/* Cards equal height with button group always at bottom */
.grid-3-col.is-pricing { align-items: start; }
.pricing_card { height: 100%; }
.pricing_description-wrap { height: 100%; }

/* ============================================================
   WORK SECTION — 2-column stagger kept on all screen sizes
   ============================================================ */
@media (max-width: 991px) {
  /* Override the single-column collapse — keep 2 columns */
  .work_wrap {
    grid-template-columns: 1fr 1fr !important;
    height: 30rem;
    overflow: hidden;
    gap: .75rem;
  }
  /* Restore stagger: col 2 starts lower */
  .work_column.is-1 { padding-top: 0; }
  .work_column.is-2 { padding-top: 3rem; }
  /* Restore the faders for clean crop — kept subtle on mobile */
  .work-fader       { display: block; height: 2rem; }
  .work-fader.is-bottom { display: block; height: 2rem; }
  /* Ensure images fill column width */
  .work_image { width: 100%; height: auto; display: block; }
}

@media (max-width: 560px) {
  .work_wrap { height: 22rem !important; gap: .5rem; }
  .work_column.is-2 { padding-top: 2rem; }
}

/* ============================================================
   RESPONSIVE — new components
   ============================================================ */
@media (max-width: 991px) {
  #writing .grid-3-col { grid-template-columns: 1fr; }
  .related-posts_grid  { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  /* Single-column pricing on very small screens */
  .grid-3-col.is-pricing { max-width: 100%; }
  .pricing_price { font-size: clamp(1.75rem, 9vw, 2.5rem); }
}
