/*
Theme Name: Duo Media
Theme URI: https://duomedia.ca
Author: Duo Media
Description: Custom theme replicating the Duo Media React site design.
Version: 1.0
Text Domain: duomedia
*/

/* ---------- Tokens ---------- */
:root{
  --orange: #f7911f;
  --orange-dark: #dd7e10;
  --dark: #1c1817;
  --dark-2: #262220;
  --gray-bg: #fafafa;
  --border: #ececea;
  --text: #1c1817;
  --text-muted: #6f6a68;
  --text-light-muted: #b9b3b0;
  --white: #ffffff;
  --sidebar-w: 260px;
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-head); margin:0; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; border:none; background:none; }
input,textarea{ font-family: inherit; font-size: 0.95rem; }

/* ---------- Accessibility: skip link ---------- */
.skip-link{
  position:absolute; top:-48px; left:12px; z-index:200;
  background: var(--dark); color:#fff; padding:12px 20px; border-radius:8px;
  font-size:0.9rem; font-weight:600; transition: top .2s ease;
}
.skip-link:focus{ top:12px; }

/* ---------- Accessibility: focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible{ outline-offset: 3px; }
.form__field input:focus-visible,
.form__field textarea:focus-visible,
.newsletter-form input:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track{ animation: none; }
  .work-card:hover img{ transform: none; }
}

/* ---------- Scroll reveal (JS-driven; no-JS/reduced-motion users always see content) ---------- */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

.section{ padding: 90px 64px; max-width: 1180px; margin: 0 auto; }
.section-full{ width:100%; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:0.76rem; font-weight:800; color: var(--dark);
  margin-bottom:18px; text-transform: uppercase; letter-spacing:.06em;
  background:#fff; border:2px solid var(--dark); border-radius:999px; padding:7px 14px 7px 10px;
}
.eyebrow--light{ color:#fff; background:transparent; border-color: rgba(255,255,255,0.35); }
.eyebrow__dot{ width:7px; height:7px; border-radius:50%; background: var(--orange); display:inline-block; flex-shrink:0; }
.section-title{ font-size: 2.1rem; font-weight:800; letter-spacing:-0.02em; margin-bottom:14px; }
.section-title--light{ color:#fff; }
.section-sub{ color: var(--text-muted); max-width: 620px; line-height:1.6; margin-bottom:40px; }
.section-sub--light{ color: var(--text-light-muted); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight:700; font-size:0.92rem;
  border: 2.5px solid var(--dark);
  box-shadow: 4px 4px 0 var(--dark);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover{ transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--dark); }
.btn:active{ transform: translate(1px,1px); box-shadow: 2px 2px 0 var(--dark); }
.btn--primary{
  background: var(--orange); color:#fff;
}
.btn--primary:hover{ background: var(--orange-dark); }
.btn--block{ width:100%; }
.btn .arrow{ transition: transform .2s ease; }
.btn:hover .arrow{ transform: translateX(3px); }

.link-arrow{ font-size:0.9rem; font-weight:700; color: var(--text); white-space:nowrap; }
.link-arrow:hover{ color: var(--orange); }

/* ---------- Mobile top bar ---------- */
.mobile-bar{
  display:none;
  position: fixed; top:0; left:0; right:0; height:64px; z-index:60;
  align-items:center; justify-content:space-between;
  padding: 0 20px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.mobile-bar__logo img{ height:34px; }
.mobile-bar__toggle{
  width:38px; height:38px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.mobile-bar__toggle span{
  width:20px; height:2px; background: var(--dark); border-radius:2px; transition: transform .25s ease, opacity .25s ease;
}
.mobile-bar__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.mobile-bar__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.mobile-bar__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-overlay{
  display:none; position: fixed; inset:0; background: rgba(0,0,0,0.4); z-index:55;
  opacity:0; pointer-events:none; transition: opacity .25s ease;
}
.nav-overlay.is-open{ opacity:1; pointer-events:auto; }

/* ---------- Sidebar ---------- */
.sidebar{
  position: fixed; top:0; left:0; bottom:0; width: var(--sidebar-w);
  background:#fff; border-right:1px solid var(--border);
  display:flex; flex-direction:column; justify-content:space-between;
  padding: 32px 28px; z-index:60;
}
.sidebar__logo img{ height:42px; margin-bottom:40px; }
.sidebar__nav ul{ display:flex; flex-direction:column; gap:6px; }
.nav-link{
  display:flex; align-items:center; gap:11px; padding:13px 12px; border-radius:8px;
  font-size:0.95rem; font-weight:500; color: var(--text-muted);
  border-left:4px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-link:hover{ color: var(--text); background: var(--gray-bg); }
.nav-link.is-active{
  color:#fff; background: var(--dark); font-weight:700;
  border-left-color: var(--orange); padding-left:8px;
}
.nav-icon{ width:18px; height:18px; flex-shrink:0; opacity:0.85; }
.nav-link.is-active .nav-icon{ opacity:1; }

.sidebar__cta{
  background: var(--gray-bg); border:1px solid var(--border); border-radius: var(--radius);
  padding:18px;
}
.sidebar__cta-title{ font-size:0.88rem; font-weight:600; color: var(--text); }
.sidebar__cta-sub{ font-size:0.85rem; color: var(--text-muted); margin-bottom:14px; }

/* ---------- Main ---------- */
.main{ margin-left: var(--sidebar-w); }

/* ---------- Top bar (status + login) ---------- */
.topbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.topbar__status{ display:flex; align-items:center; gap:8px; font-size:0.82rem; color: var(--text-muted); }
.status-dot{ width:7px; height:7px; border-radius:50%; background:#2ecc71; display:inline-block; }
.status-sep{ color: var(--border); }
.topbar__login{
  position:fixed; top:26px; right:40px; z-index:65;
  display:inline-flex; align-items:center; gap:6px;
  font-size:0.85rem; font-weight:700; color: var(--text);
  padding:9px 16px; border-radius:999px; border:2px solid var(--dark);
  background: rgba(255,255,255,0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 3px 3px 0 var(--orange);
  transition: color .2s ease, background .2s ease, transform .15s ease, box-shadow .15s ease;
}
.topbar__login:hover{
  color: var(--orange); background: rgba(255,255,255,0.95);
  transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--orange);
}

/* ---------- Button icons ---------- */
.btn-icon{ width:16px; height:16px; flex-shrink:0; }

/* ---------- Hero ---------- */
.hero{ padding-top:70px; }
.hero__title{
  font-size: 3.2rem; line-height:1.14; font-weight:800; letter-spacing:-0.025em;
  max-width: 780px; margin-bottom:34px;
}

/* ---------- Featured Work ---------- */
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:26px; }
.section-head .eyebrow{ margin-bottom:0; }
.work__grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.work-card{
  position:relative; border:3px solid var(--dark); border-radius: var(--radius); overflow:hidden; aspect-ratio: 4/3;
  background: var(--dark);
}
.work-card img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.work-card:hover img{ transform: scale(1.05); }
.work-card__overlay{
  position:absolute; left:0; right:0; bottom:0; padding:22px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  color:#fff;
}
.work-card__overlay h3{ font-size:1.15rem; margin-bottom:6px; }
.work-card__overlay p{ font-size:0.85rem; color:#e9e5e3; }

/* ---------- Statement / About ---------- */
.statement{ background: var(--dark); color:#fff; padding: 80px 0 0; margin-top:60px; }
.statement__inner{ max-width:1180px; margin:0 auto; padding:0 64px 64px; }
.statement__text{ font-size:1.5rem; line-height:1.55; color:#d8d3d0; max-width:820px; }
.statement__text strong{ color:#fff; font-weight:700; }

.marquee{ border-top:1px solid rgba(255,255,255,0.12); overflow:hidden; padding:26px 0; }
.marquee__track{
  display:flex; align-items:center; gap:14px; white-space:nowrap; width:max-content;
  animation: marquee 28s linear infinite;
  font-size:0.88rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:#c2bcb8;
}
.marquee__track .dot{ color: var(--orange); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services{ padding-top:90px; }
.services__grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:30px; }
.service-card{
  border:2.5px solid var(--dark); border-radius: var(--radius); padding:24px;
  box-shadow: 5px 5px 0 var(--dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover{ transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--orange); }
.service-card__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; gap:12px; }
.service-card__head h3{ font-size:1.02rem; font-weight:700; }
.service-card__icon{
  width:32px; height:32px; min-width:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--gray-bg); color: var(--text); font-size:1rem; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.service-card:hover .service-card__icon{ background: var(--orange); color:#fff; transform: rotate(45deg); }
.service-card p{ color: var(--text-muted); font-size:0.9rem; line-height:1.6; }

/* ---------- Results ---------- */
.results{ background: var(--gray-bg); margin-top:20px; }
.results__inner{ padding-top:90px; padding-bottom:90px; }
.stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.stat-card{
  background:#fff; border:2.5px solid var(--dark); border-radius: var(--radius);
  padding:26px 22px; display:flex; flex-direction:column; gap:6px;
  box-shadow: 5px 5px 0 var(--dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.stat-card:hover{ transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--orange); }
.stat-card__num{
  font-family: var(--font-head); font-size:2.1rem; font-weight:800; letter-spacing:-0.01em;
  transition: color .2s ease;
}
.stat-card:hover .stat-card__num{ color: var(--orange); }
.stat-card__label{ font-size:0.85rem; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact{ background: var(--dark); color:#fff; }
.contact__inner{ padding-top:90px; padding-bottom:90px; display:grid; grid-template-columns: 1.3fr 1fr; gap:60px; }
.hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

.form{ display:flex; flex-direction:column; gap:16px; margin-top:20px; }
.form__field{ display:flex; flex-direction:column; gap:8px; }
.form__field label{ font-size:0.85rem; color:#c7c1be; }
.form__field input,.form__field textarea{
  background: var(--dark-2); border:1px solid rgba(255,255,255,0.12); border-radius:10px;
  padding:13px 14px; color:#fff; outline:none; resize:vertical;
  transition: border-color .2s ease;
}
.form__field input::placeholder,.form__field textarea::placeholder{ color:#79726f; }
.form__field input:focus,.form__field textarea:focus{ border-color: var(--orange); }
.form__status{ font-size:0.85rem; min-height:18px; color:#7ee08a; }
.form__status.is-error{ color:#ff8a8a; }

.details-card{
  background: var(--dark-2); border:1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  padding:28px; height:100%;
}
.details-list{ display:flex; flex-direction:column; gap:18px; margin:20px 0 26px; }
.details-list__label{ display:block; font-size:0.78rem; color:#8f8884; margin-bottom:4px; }
.details-list__value{ font-size:0.95rem; font-weight:600; color:#fff; }
a.details-list__value:hover{ color: var(--orange); }
.details-card__social p{ font-size:0.78rem; color:#8f8884; margin-bottom:10px; }
.social-links{ display:flex; gap:10px; flex-wrap:wrap; }
.social-links a{
  padding:8px 14px; border-radius:999px; background: rgba(255,255,255,0.06); font-size:0.82rem; font-weight:600;
  transition: background .2s ease;
}
.social-links a:hover{ background: var(--orange); }

/* ---------- Footer ---------- */
.footer{ background: var(--gray-bg); }
.footer__inner{
  padding-top:70px; padding-bottom:50px;
  display:grid; grid-template-columns: 1.4fr 1fr; gap:60px;
  border-bottom:1px solid var(--border);
}
.footer__newsletter h3{ font-size:1.3rem; margin-bottom:10px; }
.footer__newsletter p{ color: var(--text-muted); max-width:420px; margin-bottom:22px; line-height:1.6; }
.newsletter-form{ display:flex; gap:10px; max-width:440px; flex-wrap:wrap; }
.newsletter-form input{
  flex:1; min-width:200px; padding:13px 16px; border-radius:999px; border:1px solid var(--border);
  outline:none; background:#fff; transition: border-color .2s ease;
}
.newsletter-form input:focus{ border-color: var(--orange); }
.newsletter-form .btn{ flex-shrink:0; width:auto; padding:13px 24px; }
.newsletter-form .form__status{ flex-basis:100%; color:#1c9a4c; }

.footer__nav p{ font-weight:700; margin-bottom:16px; }
.footer__nav ul{ display:flex; flex-direction:column; gap:10px; }
.footer__nav a{ color: var(--text-muted); font-size:0.92rem; }
.footer__nav a:hover{ color: var(--orange); }

.footer__bottom{
  max-width:1180px; margin:0 auto; padding:26px 64px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer__logo{ height:28px; }
.footer__bottom p{ font-size:0.82rem; color: var(--text-muted); }

/* ---------- Page header (inner pages) ---------- */
.page-header{ padding-top:70px; position:relative; }
.page-header__title{
  font-size:2.7rem; line-height:1.14; font-weight:800; letter-spacing:-0.025em;
  max-width:720px; margin-bottom:16px;
}
.page-header .section-sub{ margin-bottom:0; }

/* ---------- CTA banner (inner pages, before footer) ---------- */
.cta-banner{ background: var(--dark); color:#fff; margin-top:20px; }
.cta-banner__inner{
  padding-top:80px; padding-bottom:80px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:18px; margin:0 auto;
}
.cta-banner__title{
  font-size:2.1rem; font-weight:800; letter-spacing:-0.02em; color:#fff; max-width:560px;
}
.cta-banner__sub{ color: var(--text-light-muted); max-width:480px; line-height:1.6; }
.cta-banner__actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:6px; }
.btn--ghost{
  background: rgba(255,255,255,0.06); color:#fff;
  border-color:#fff; box-shadow: 4px 4px 0 var(--orange);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.14); box-shadow: 6px 6px 0 var(--orange); }
.btn--ghost:active{ box-shadow: 2px 2px 0 var(--orange); }

/* ---------- Filter tabs (Work page) ---------- */
.filter-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px; }
.filter-tab{
  padding:13px 18px; border-radius:999px; border:2px solid var(--dark);
  font-size:0.85rem; font-weight:700; color: var(--dark);
  transition: background .2s ease, color .2s ease, box-shadow .15s ease, transform .15s ease;
}
.filter-tab:hover{ box-shadow: 3px 3px 0 var(--orange); transform: translate(-1px,-1px); }
.filter-tab.is-active{ background: var(--dark); border-color: var(--dark); color:#fff; box-shadow: 3px 3px 0 var(--orange); }

/* ---------- Full portfolio grid ---------- */
.work__grid--full{ grid-template-columns:repeat(3,1fr); }
.work-card.is-hidden{ display:none; }
.work-card--placeholder .work-card__bg{
  width:100%; height:100%;
  background: linear-gradient(135deg, var(--ph-a, #dcd7d3), var(--ph-b, #a49d97));
  display:flex; align-items:center; justify-content:center;
}
.work-card--placeholder .placeholder-icon{ width:34px; height:34px; opacity:0.55; }
.work-card__tag{
  position:absolute; top:14px; left:14px; z-index:2;
  background:#fff; color: var(--text); border:2px solid var(--dark);
  font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em;
  padding:4px 11px; border-radius:999px;
}

/* ---------- Team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:30px; }
.team-card{ text-align:left; }
.team-card__avatar{
  width:100%; aspect-ratio:1/1; border-radius: var(--radius); margin-bottom:14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--av-a, #f7911f), var(--av-b, #dd7e10));
  color:#fff; font-family: var(--font-head); font-weight:800; font-size:1.8rem;
}
.team-card__name{ font-weight:700; font-size:1rem; margin-bottom:2px; }
.team-card__role{ font-size:0.85rem; color: var(--text-muted); }

/* ---------- Timeline (About) ---------- */
.timeline{ display:flex; flex-direction:column; margin-top:30px; }
.timeline-item{
  display:grid; grid-template-columns:120px 1fr; gap:28px; padding:24px 0;
  border-top:1px solid var(--border);
}
.timeline-item:last-child{ border-bottom:1px solid var(--border); }
.timeline-item__year{ font-family: var(--font-head); font-weight:800; font-size:1.3rem; color: var(--orange); }
.timeline-item__title{ font-weight:700; margin-bottom:6px; }
.timeline-item__text{ color: var(--text-muted); font-size:0.92rem; line-height:1.6; max-width:560px; }

/* ---------- Services detail (Services page) ---------- */
.service-detail{
  display:grid; grid-template-columns:64px 1fr; gap:24px;
  padding:32px 0; border-top:1px solid var(--border);
}
.service-detail:last-child{ border-bottom:1px solid var(--border); }
.service-detail__num{ font-family: var(--font-head); font-weight:800; font-size:1.3rem; color: var(--text-light-muted); }
.service-detail__title{ font-size:1.3rem; margin-bottom:10px; }
.service-detail__text{ color: var(--text-muted); line-height:1.65; max-width:640px; margin-bottom:16px; }
.service-detail__tags{ display:flex; gap:8px; flex-wrap:wrap; }
.service-detail__tags span{
  font-size:0.8rem; font-weight:600; color: var(--text-muted);
  background: var(--gray-bg); border:1px solid var(--border); border-radius:999px; padding:6px 12px;
}

/* ---------- Process steps (Services page) ---------- */
.process__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:30px; }
.process-step__num{
  font-family: var(--font-head); font-weight:800; font-size:1.4rem; color: var(--orange); margin-bottom:14px;
}
.process-step__title{ font-weight:700; margin-bottom:8px; }
.process-step__text{ color: var(--text-muted); font-size:0.88rem; line-height:1.6; }

/* ---------- Resource cards ---------- */
.resource-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:30px; }
.resource-card{
  border:2.5px solid var(--dark); border-radius: var(--radius); padding:26px;
  display:flex; flex-direction:column; gap:14px;
  box-shadow: 5px 5px 0 var(--dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.resource-card:hover{ transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--orange); }
.resource-card__icon{
  width:44px; height:44px; border-radius:10px; background:#fff; border:2px solid var(--dark);
  display:flex; align-items:center; justify-content:center; color: var(--orange);
}
.resource-card__tag{ font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color: var(--orange); }
.resource-card__title{ font-weight:700; font-size:1.02rem; }
.resource-card__text{ color: var(--text-muted); font-size:0.88rem; line-height:1.6; flex:1; }
.resource-card__link{ font-size:0.88rem; font-weight:600; color: var(--text); display:inline-flex; align-items:center; gap:6px; }
.resource-card:hover .resource-card__link{ color: var(--orange); }

/* ---------- Insight / blog cards ---------- */
.insight-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:30px; }
.insight-card__media{
  aspect-ratio:16/10; border-radius: var(--radius); margin-bottom:16px;
  background: linear-gradient(135deg, var(--ph-a, #dcd7d3), var(--ph-b, #a49d97));
}
.insight-card__cat{ font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color: var(--orange); margin-bottom:8px; }
.insight-card__title{ font-weight:700; font-size:1.05rem; margin-bottom:8px; line-height:1.4; }
.insight-card__excerpt{ color: var(--text-muted); font-size:0.88rem; line-height:1.6; margin-bottom:14px; }
.insight-card__meta{ font-size:0.8rem; color: var(--text-light-muted); }

/* ================= Responsive ================= */
@media (max-width: 1024px){
  .section{ padding: 70px 40px; }
  .statement__inner{ padding:0 40px 56px; }
  .contact__inner{ grid-template-columns:1fr; gap:40px; }
  .footer__inner{ grid-template-columns:1fr; gap:36px; }
  .hero__title{ font-size:2.5rem; }
  .stats__grid{ grid-template-columns:repeat(2,1fr); }
  .page-header__title{ font-size:2.2rem; }
  .work__grid--full{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .resource-grid{ grid-template-columns:repeat(2,1fr); }
  .insight-grid{ grid-template-columns:repeat(2,1fr); }
  .process__grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 860px){
  :root{ --sidebar-w: 0px; }
  .mobile-bar{ display:flex; }
  .nav-overlay{ display:block; }
  .sidebar{
    top:0; bottom:0; left:0; width: 280px; max-width:82vw;
    transform: translateX(-100%); transition: transform .3s ease;
    box-shadow: 20px 0 40px rgba(0,0,0,0.15);
  }
  .sidebar.is-open{ transform: translateX(0); }
  .main{ margin-left:0; padding-top:64px; }
  .hero{ padding-top:56px; }
  .page-header{ padding-top:56px; }
  .topbar{ margin-bottom:24px; }
  .topbar__login{ top:13px; right:68px; padding:9px; }
  .topbar__login span{ display:none; }
  .work__grid{ grid-template-columns:1fr; }
  .work__grid--full{ grid-template-columns:1fr; }
  .services__grid{ grid-template-columns:1fr; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .team-grid{ grid-template-columns:1fr 1fr; }
  .timeline-item{ grid-template-columns:1fr; gap:8px; }
  .service-detail{ grid-template-columns:1fr; gap:10px; }
  .resource-grid{ grid-template-columns:1fr; }
  .insight-grid{ grid-template-columns:1fr; }
  .process__grid{ grid-template-columns:1fr 1fr; }
  .cta-banner__title{ font-size:1.6rem; }
}

@media (max-width: 560px){
  .section{ padding: 56px 22px; }
  .statement__inner{ padding:0 22px 48px; }
  .hero__title{ font-size:2rem; }
  .statement__text{ font-size:1.2rem; }
  .stats__grid{ grid-template-columns:1fr 1fr; }
  .footer__bottom{ padding:22px; flex-direction:column; text-align:center; }
  .newsletter-form{ flex-direction:column; }
  .newsletter-form .btn{ width:100%; }
  .page-header__title{ font-size:1.9rem; }
  .team-grid{ grid-template-columns:1fr; }
  .process__grid{ grid-template-columns:1fr; }
}
