/* =============================================
   UNRAVEL DIGITAL MEDIA — Bold Signal Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Tokens ---- */
:root {
  --cream:        #f6f4ee;
  --black:        #161613;
  --orange:       #F5A330;
  --orange-dark:  #C97D0D;
  --orange-tint:  #fff8ed;
  --orange-border:#fde8bf;
  --white:        #ffffff;
  --grey-mid:     #737373;
  --grey-light:   #e8e5dc;
  --grey-subtle:  #f0ede5;
  --blue:         #2d40ea;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card:  0 2px 8px rgba(22,22,19,.06), 0 1px 2px rgba(22,22,19,.04);
  --shadow-hover: 0 8px 28px rgba(22,22,19,.10), 0 2px 6px rgba(22,22,19,.06);

  --max-w:       1160px;
  --section-gap: 6rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  font-size: 1rem;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utility ---- */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: var(--section-gap) 0; }
.section--dark   { background: var(--black); color: var(--cream); }
.section--white  { background: var(--white); }
.section--orange { background: var(--orange); color: var(--black); }
.section--cream  { background: var(--cream); }

.label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: .75rem;
  display: block;
}
.label--light { opacity: .6; color: var(--cream); }
.label--orange { opacity: 1; color: var(--orange); }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p  { font-size: 1rem; line-height: 1.75; color: var(--grey-mid); }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--grey-mid); max-width: 640px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  padding: .85rem 2rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--black);
  color: var(--cream);
  border-color: var(--black);
}
.btn--primary:hover { background: #2a2926; }
.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--cream); }
.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246,244,238,.4);
}
.btn--outline-light:hover { background: rgba(246,244,238,.1); }
.btn--orange {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
}
.btn--orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
/* Orange-hero context: black primary button */
.hero--orange .btn--primary {
  background: var(--black);
  color: var(--cream);
  border-color: var(--black);
}
.hero--orange .btn--outline {
  border-color: rgba(22,22,19,.3);
  color: var(--black);
}
.hero--orange .btn--outline:hover { background: var(--black); color: var(--cream); }

/* ---- SVG Icon Container ---- */
.icon-box {
  width: 44px;
  height: 44px;
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-box--lg {
  width: 52px;
  height: 52px;
}
.icon-box--lg svg { width: 24px; height: 24px; }

/* Dark section icon box variant */
.section--dark .icon-box {
  background: rgba(245,163,48,.12);
  border-color: rgba(245,163,48,.25);
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid var(--grey-light);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo img { height: 32px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links > li { position: relative; }
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--black);
  opacity: .7;
  transition: opacity .15s;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.nav__links a:hover, .nav__links a.active { opacity: 1; }

/* Nav Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: .5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  transform: translateX(-50%) translateY(-4px);
  z-index: 300;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--white);
  border-left: 1px solid var(--grey-light);
  border-top: 1px solid var(--grey-light);
  transform: translateX(-50%) rotate(45deg);
}
.nav__links > li:hover .nav__dropdown,
.nav__links > li:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  opacity: 1;
  color: var(--black);
  transition: background .15s;
  white-space: nowrap;
}
.nav__dropdown a:hover { background: var(--grey-subtle); }
.nav__dropdown a .nav__dd-icon {
  width: 28px;
  height: 28px;
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__dropdown a .nav__dd-icon svg {
  width: 13px;
  height: 13px;
  stroke: var(--orange);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav__dropdown-section {
  padding: .35rem .85rem .2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.nav__dropdown hr {
  border: none;
  border-top: 1px solid var(--grey-light);
  margin: .35rem 0;
}
.nav__caret {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .6;
}
.nav__cta  { margin-left: 1rem; }
.nav__hamburger { display: none; cursor: pointer; }

/* ---- Hero — Bold Signal (full-bleed orange) ---- */
.hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--orange);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* Concentric arc depth — right side visual */
.hero__arc-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}
.hero__arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero__arc--1 { width: 75%;  height: 75%; }
.hero__arc--2 { width: 90%;  height: 90%; border-color: rgba(255,255,255,.14); }
.hero__arc--3 { width: 105%; height: 105%; border-color: rgba(255,255,255,.08); }
.hero__arc--4 { width: 120%; height: 120%; border-color: rgba(255,255,255,.05); }
.hero__arc-center {
  position: relative;
  z-index: 2;
  width: 58%;
  aspect-ratio: 1;
  background: rgba(22,22,19,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.3);
}
.hero__arc-center svg {
  width: 45%;
  height: 45%;
  stroke: rgba(22,22,19,.5);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Hero text */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(22,22,19,.12);
  border: 1px solid rgba(22,22,19,.2);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: var(--black);
}
.hero__headline {
  color: var(--black);
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(22,22,19,.65);
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__wa {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(22,22,19,.7);
  border: 1px solid rgba(22,22,19,.25);
  border-radius: 100px;
  padding: .85rem 1.5rem;
  transition: border-color .2s, color .2s;
}
.hero__wa:hover { border-color: var(--black); color: var(--black); }

/* Hero bottom credibility bar */
.hero__credibility {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(22,22,19,.15);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__cred-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(22,22,19,.65);
}
.hero__cred-item svg {
  width: 14px;
  height: 14px;
  stroke: rgba(22,22,19,.5);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--grey-light);
  background: var(--cream);
}
.page-hero--orange {
  background: var(--orange);
  border-bottom: none;
  padding: 4.5rem 0 4rem;
}
.page-hero--orange h1 { color: var(--black); }
.page-hero--orange .lead { color: rgba(22,22,19,.65); }
.page-hero--orange .label { color: rgba(22,22,19,.55); opacity: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { margin-bottom: 0; }

/* ---- Solutions / Channels grid (homepage sections) ---- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--grey-light);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.solution-card {
  background: var(--cream);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: background .2s, box-shadow .2s;
  position: relative;
}
.solution-card:hover {
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
.solution-card__num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.solution-card h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.solution-card p { font-size: .9rem; line-height: 1.65; flex: 1; }
.solution-card__channels {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.25rem;
}
.solution-card__tag {
  font-size: .72rem;
  font-weight: 600;
  background: var(--grey-subtle);
  border: 1px solid var(--grey-light);
  border-radius: 100px;
  padding: .2rem .65rem;
  color: var(--grey-mid);
  transition: background .15s, color .15s;
}
.solution-card:hover .solution-card__tag {
  background: var(--orange-tint);
  border-color: var(--orange-border);
  color: var(--orange-dark);
}
.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 1.5rem;
  opacity: .45;
  transition: opacity .15s;
}
.solution-card:hover .solution-card__link { opacity: 1; }

/* ---- Channels strip ---- */
.channels-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.channel-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.channel-card h4 { font-size: .95rem; margin: 0; }
.channel-card p  { font-size: .82rem; line-height: 1.55; flex: 1; }
.channel-card__link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--black);
  opacity: .45;
  transition: opacity .15s;
}
.channel-card:hover .channel-card__link { opacity: 1; }

/* ---- Services grid (legacy / service cards) ---- */
.services__intro { max-width: 540px; margin-bottom: 3rem; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--grey-light);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background .2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: var(--white); }
.service-card h3 { margin-bottom: .75rem; font-size: 1.15rem; }
.service-card p { font-size: .9rem; line-height: 1.65; flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--black);
  margin-top: 1.25rem;
  opacity: .5;
  transition: opacity .15s;
}
.service-card:hover .service-card__link { opacity: 1; }

/* ---- Marquee / Clients ---- */
.clients { overflow: hidden; }
.clients__label { text-align: center; margin-bottom: 2rem; }
.marquee-wrap {
  display: flex;
  gap: 3rem;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 22s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  opacity: .3;
  white-space: nowrap;
  transition: opacity .2s;
  letter-spacing: .02em;
}
.client-name:hover { opacity: .8; }

/* ---- Testimonials ---- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.testi-card__quote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--black);
  flex: 1;
  margin-bottom: 1.5rem;
  position: relative;
}
.testi-card__quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: .7;
  color: var(--orange);
  display: block;
  margin-bottom: .5rem;
}
.testi-card__author { display: flex; align-items: center; gap: .75rem; }
.testi-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey-subtle);
  border: 1.5px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.testi-card__name  { font-weight: 600; font-size: .9rem; }
.testi-card__title { font-size: .8rem; color: var(--grey-mid); margin-top: .1rem; }

/* ---- Blog cards ---- */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.blog-card__thumb {
  height: 160px;
  background: var(--grey-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card__thumb-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0ede5 0%, #e8e4d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--orange);
  color: var(--black);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: .78rem; color: var(--grey-mid); margin-bottom: .5rem; }
.blog-card h4 { font-size: 1rem; margin-bottom: .6rem; line-height: 1.4; }
.blog-card p  { font-size: .85rem; line-height: 1.6; flex: 1; }
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--black);
}

/* ---- Blog list (blog.html) ---- */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-hero-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.blog-hero-card__thumb {
  background: var(--grey-subtle);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.blog-hero-card__body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-hero-card__body h3 { font-size: 1.6rem; margin-bottom: .75rem; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--black);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-band p  { color: rgba(246,244,238,.55); margin: 0 auto 2.5rem; max-width: 500px; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--black);
  color: var(--cream);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(246,244,238,.08);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(246,244,238,.08);
}
.footer__brand p { font-size: .9rem; color: rgba(246,244,238,.5); margin-top: 1rem; max-width: 280px; line-height: 1.65; }
.footer__logo { margin-bottom: .5rem; filter: brightness(0) invert(1); height: 28px; }
.footer__col h5 { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(246,244,238,.4); margin-bottom: 1.25rem; }
.footer__col ul li { margin-bottom: .6rem; }
.footer__col ul li a { font-size: .9rem; color: rgba(246,244,238,.65); transition: color .15s; }
.footer__col ul li a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(246,244,238,.3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__socials { display: flex; gap: 1rem; }
.footer__socials a { color: rgba(246,244,238,.4); transition: color .15s; font-size: .85rem; }
.footer__socials a:hover { color: var(--cream); }

/* ---- About page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-grid__visual {
  background: var(--grey-subtle);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.value-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.value-card__icon { margin-bottom: .75rem; }
.value-card h4 { margin-bottom: .5rem; font-size: 1rem; }
.value-card p  { font-size: .88rem; }

/* ---- Services detail page ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.service-detail:last-child { border-bottom: none; }
.service-detail--flip { direction: rtl; }
.service-detail--flip > * { direction: ltr; }
.service-detail__content h2 { margin-bottom: 1rem; font-size: 2.2rem; }
.service-detail__content p  { margin-bottom: 1.25rem; }
.service-detail__list { margin-top: 1.25rem; }
.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .5rem 0;
  font-size: .92rem;
  color: var(--black);
  border-bottom: 1px solid var(--grey-light);
}
.service-detail__list li:last-child { border-bottom: none; }
.service-detail__list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.service-detail__visual {
  background: var(--grey-subtle);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ---- Solution/Channel detail pages ---- */
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
}
.detail-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--grey-mid);
  margin-bottom: 1.25rem;
}
.detail-hero__breadcrumb a { color: var(--grey-mid); transition: color .15s; }
.detail-hero__breadcrumb a:hover { color: var(--black); }
.detail-hero__breadcrumb span { opacity: .4; }
.detail-hero h1 { margin-bottom: 1.25rem; }
.detail-hero .lead { margin-bottom: 2rem; }
.detail-visual {
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-xl);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.detail-visual svg {
  width: 40%;
  height: 40%;
  stroke: var(--orange);
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-visual__arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--orange-border);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.detail-visual__arc--1 { width: 68%; height: 68%; }
.detail-visual__arc--2 { width: 88%; height: 88%; border-color: rgba(245,163,48,.2); }
.detail-visual__arc--3 { width: 108%; height: 108%; border-color: rgba(245,163,48,.1); }

/* What's included grid */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.included-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.included-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.included-card h4 { font-size: .95rem; margin: 0; }
.included-card p  { font-size: .85rem; line-height: 1.6; }

/* Channels linked from solution page */
.linked-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.linked-channel-card {
  background: var(--cream);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: border-color .2s, background .2s;
}
.linked-channel-card:hover {
  border-color: var(--orange);
  background: var(--orange-tint);
}
.linked-channel-card h4 { font-size: .95rem; }
.linked-channel-card p  { font-size: .82rem; line-height: 1.55; flex: 1; }
.linked-channel-card__link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--black);
  opacity: .45;
  transition: opacity .15s;
}
.linked-channel-card:hover .linked-channel-card__link { opacity: 1; }

/* Solutions overview page grid */
.solutions-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.solution-overview-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.solution-overview-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.solution-overview-card__num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
}
.solution-overview-card h3 { font-size: 1.4rem; }
.solution-overview-card p  { font-size: .9rem; flex: 1; }
.solution-overview-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.solution-overview-card__tags span {
  font-size: .72rem;
  font-weight: 600;
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  border-radius: 100px;
  padding: .2rem .65rem;
  color: var(--orange-dark);
}

/* Channels overview page grid */
.channels-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.channel-overview-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.channel-overview-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.channel-overview-card h4 { font-size: .95rem; margin: 0; }
.channel-overview-card p  { font-size: .82rem; line-height: 1.55; flex: 1; }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
}
.contact-info h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-mid); margin-bottom: .25rem; }
.contact-info__value { font-size: .95rem; font-weight: 500; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--black);
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---- Stats strip (kept for legacy; hidden in new pages) ---- */
.stats {
  padding: 2.5rem 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat__number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--black); line-height: 1; }
.stat__label  { font-size: .8rem; color: var(--grey-mid); margin-top: .35rem; font-weight: 500; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__arc-wrap { display: none; }
  .detail-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-visual { max-width: 360px; margin: 0 auto; }
  .channels-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__top     { grid-template-columns: 1fr 1fr; }
  .about-grid      { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail  { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail--flip { direction: ltr; }
  .blog-hero-card  { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .stats__grid     { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .blog-list       { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid  { grid-template-columns: 1fr; }
  .channels-strip  { grid-template-columns: repeat(2, 1fr); }
  .included-grid   { grid-template-columns: repeat(2, 1fr); }
  .linked-channels { grid-template-columns: repeat(2, 1fr); }
  .solutions-overview { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --section-gap: 4rem; }
  .services__grid  { grid-template-columns: 1fr; }
  .blog__grid, .blog-list { grid-template-columns: 1fr; }
  .footer__top     { grid-template-columns: 1fr; gap: 2rem; }
  /* Mobile nav */
  .nav__links      { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream);
    padding: 2rem 1.5rem;
    gap: 0;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.open > li { border-bottom: 1px solid var(--grey-light); }
  .nav__links.open > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 0;
    font-size: 1.05rem;
  }
  /* Touch dropdown: visible only when li has .dd-open */
  .nav__links.open .nav__dropdown {
    display: none;
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--grey-light);
    padding: .5rem 0 1rem 1rem;
    min-width: 0;
    background: transparent;
  }
  .nav__links.open li.dd-open .nav__dropdown { display: block; }
  .nav__links.open .nav__dropdown::before { display: none; }
  /* Hamburger */
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
  }
  .nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .2s, opacity .2s; }
  /* Animated X state */
  .nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__hamburger.open span:nth-child(2) { opacity: 0; }
  .nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__caret { pointer-events: none; }
  .nav__cta    { display: none; }
  /* Hero */
  .hero__inner { padding: 3.5rem 1.5rem 4rem; }
  .hero__credibility {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hero__cred-item { font-size: .8rem; }
  /* Detail visual hidden on very small screens */
  .detail-visual { display: none; }
  /* Forms & layout */
  .form-row        { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: column; align-items: center; }
  .stats__grid     { grid-template-columns: repeat(2, 1fr); }
  .channels-strip  { grid-template-columns: 1fr; }
  .included-grid   { grid-template-columns: 1fr; }
  .linked-channels { grid-template-columns: 1fr; }
  .channels-overview { grid-template-columns: 1fr; }
  /* Typography tightening */
  .section-label { font-size: .7rem; }
}

/* ---- Nav scroll shadow ---- */
.nav--scrolled {
  box-shadow: 0 2px 16px rgba(22,22,19,.08);
  background: rgba(246,244,238,.97);
  backdrop-filter: blur(12px);
}

/* ---- Scroll fade-in animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children */
.fade-up-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.fade-up-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .08s; }
.fade-up-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .16s; }
.fade-up-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .24s; }
.fade-up-stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .32s; }
.fade-up-stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .40s; }
.fade-up-stagger.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: .48s; }

/* ---- Back-to-top button ---- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--orange-dark); }
#back-to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
