/* ==========================================================================
   HAWK MEDIA — UNIFIED COMPONENT SYSTEM (COMPONENTS.CSS)
   Apple-Standard Black & Gold Elegance Component Library
   Strict Palette: #000000 | #14213D | #FCA311 | #E5E5E5 | #FFFFFF
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: var(--space-4);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  pointer-events: none;
}

.nav-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 64px;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-subtle);
  pointer-events: auto;
  transition: border-color var(--dur-medium) var(--ease-apple), box-shadow var(--dur-medium) var(--ease-apple);
}

.nav-bar:hover {
  border-color: var(--c-navy);
  box-shadow: var(--shadow-card);
}

/* --- Universal Anchor Scroll Margins (Protects Against Fixed Header Overlap) --- */
section[id],
article[id],
.portfolio-dual-card[id],
.portfolio-editorial-row[id],
[id="hero"],
[id="why-us"],
[id="services"],
[id="work"],
[id="process"],
[id="pricing"],
[id="faq"],
[id="contact"],
[id="pain-points"],
[id="investment"] {
  scroll-margin-top: calc(var(--space-4) + 64px + var(--space-5));
}

@media (max-width: 768px) {
  section[id],
  article[id],
  .portfolio-dual-card[id],
  .portfolio-editorial-row[id],
  [id="hero"],
  [id="why-us"],
  [id="services"],
  [id="work"],
  [id="process"],
  [id="pricing"],
  [id="faq"],
  [id="contact"],
  [id="pain-points"],
  [id="investment"] {
    scroll-margin-top: calc(var(--space-4) + 58px + var(--space-4));
  }
}

/* Precise clearance for #work section so heading lands with natural ~20-24px visual spacing below navigation */
#work,
[id="work"] {
  scroll-margin-top: 4px !important;
}

@media (max-width: 768px) {
  #work,
  [id="work"] {
    scroll-margin-top: 28px !important;
  }
}

/* --- Brand Logo --- */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-black);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.88;
}

.brand:hover .brand-emblem {
  transform: translateY(-1px);
}

.brand-emblem {
  width: auto;
  height: 32px;
  max-height: 34px;
  aspect-ratio: 1356 / 1784;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: brandEmblemReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes brandEmblemReveal {
  from {
    opacity: 0;
    transform: translateY(-2px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-emblem {
    animation: none !important;
  }
}

.brand-text {
  display: inline-block;
  line-height: 1;
}

/* Footer brand sizing */
.footer-brand .brand {
  margin-bottom: var(--space-4);
}
.footer-brand .brand-emblem {
  height: 36px;
  max-height: 40px;
}

/* Legacy fallback if brand-mark is referenced */
.brand-mark {
  display: none;
}

/* --- Navigation Links (Desktop) --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--c-black);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-apple);
  position: relative;
  padding: var(--space-2) var(--space-1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-link:hover, 
.nav-link.active,
.nav-item.has-dropdown:hover > .nav-link,
.nav-item.has-dropdown:focus-within > .nav-link {
  color: var(--c-navy);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-amber);
  border-radius: var(--radius-pill);
}

.dropdown-chevron {
  transition: transform var(--dur-fast) var(--ease-apple);
  color: currentColor;
}

.nav-item.has-dropdown:hover .dropdown-chevron,
.nav-item.has-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--c-amber);
}

/* --- Dropdown Menu (Desktop) --- */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 440px;
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: var(--space-4);
  z-index: 1100;
  transition: opacity var(--dur-medium) var(--ease-apple), transform var(--dur-medium) var(--ease-apple), visibility var(--dur-medium);
}

.nav-item.has-dropdown:hover .nav-dropdown-menu,
.nav-item.has-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  padding: var(--space-2) var(--space-3) var(--space-3) var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-2);
}

.dropdown-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-navy);
}

.dropdown-subtext {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--c-black);
  transition: background-color var(--dur-fast) var(--ease-apple), color var(--dur-fast) var(--ease-apple);
}

.dropdown-link:hover {
  background-color: var(--c-silver);
}

.dropdown-link-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 2px;
}

.dropdown-link-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.dropdown-arrow {
  color: var(--c-amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--dur-fast) var(--ease-apple);
}

.dropdown-link:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Nav Actions & Mobile Toggle --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--c-black);
}

.menu-icon-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-icon-bars .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-black);
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-apple);
}

/* --- Mobile Navigation Drawer --- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--c-white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--dur-medium) var(--ease-apple), visibility var(--dur-medium);
  overflow-y: auto;
  padding: var(--space-6);
}

.mobile-drawer:not(.is-open) {
  display: none !important;
}

.mobile-drawer.is-open {
  display: flex !important;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: var(--c-silver);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-black);
}

.mobile-drawer-body {
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-black);
  display: block;
  padding: var(--space-2) 0;
}

.mobile-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-sub-list {
  list-style: none;
  padding-left: var(--space-4);
  margin-top: var(--space-2);
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  border-left: 2px solid var(--c-amber);
}

.mobile-sub-list.is-open {
  display: flex;
}

.mobile-sub-link {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--c-navy);
  display: block;
  padding: var(--space-1) 0;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .site-header {
    top: var(--space-2);
  }
  .nav-bar {
    height: 58px;
    padding: 0 var(--space-4);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation Header: Crown-and-HM emblem + "HAWK MEDIA" side-by-side horizontally */
  .site-header .nav-bar .brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .site-header .nav-bar .brand-emblem {
    height: 28px;
    max-height: 28px;
    width: auto;
    aspect-ratio: 1356 / 1784;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
  }
  .site-header .nav-bar .brand-text {
    display: inline-block !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-black);
    line-height: 1;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 var(--space-2);
  }
  .nav-bar {
    padding: 0 var(--space-3);
  }
  .nav-actions .btn {
    display: none;
  }
  .site-header .nav-bar .brand {
    gap: 7px;
  }
  .site-header .nav-bar .brand-emblem {
    height: 26px;
    max-height: 26px;
  }
  .site-header .nav-bar .brand-text {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding: 0 4px;
  }
  .nav-bar {
    padding: 0 10px;
  }
  .site-header .nav-bar .brand {
    gap: 6px;
  }
  .site-header .nav-bar .brand-emblem {
    height: 24px;
    max-height: 24px;
  }
  .site-header .nav-bar .brand-text {
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    font-weight: 850;
  }
}

/* --------------------------------------------------------------------------
   2. REFINED HOMEPAGE HERO (55/45 FULL-WIDTH STAGE)
   -------------------------------------------------------------------------- */
.hero-stage {
  padding-top: clamp(5.5rem, 9.0vw, 7.5rem);
  padding-bottom: clamp(2.5rem, 5.0vw, 4.5rem);
  background-color: var(--bg-page);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: 520px;
  gap: var(--space-6);
}

.hero-editorial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

@keyframes heroLineReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroContentFadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(3.35rem, 6.2vw, 5.15rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #000000;
  margin-bottom: var(--space-4);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-headline .title-block {
  display: block;
  overflow: hidden;
  padding-bottom: 2px;
}

.hero-headline .anim-line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: heroLineReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform, filter;
}

.hero-headline .anim-line-1 {
  animation-delay: 0.05s;
}

.hero-headline .anim-line-2 {
  animation-delay: 0.28s;
}

.hero-headline .anim-line-3 {
  animation-delay: 0.52s;
}

.hero-headline em {
  font-style: normal;
  color: #FCA311;
  font-weight: 800;
}

.hero-lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-loose);
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroContentFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.72s forwards;
}

.hero-services-nav {
  opacity: 0;
  animation: heroContentFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.84s forwards;
}

.hero-services-mobile {
  opacity: 0;
  animation: heroContentFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.84s forwards;
}

.hero-actions {
  opacity: 0;
  animation: heroContentFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.94s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline .anim-line,
  .hero-lead,
  .hero-services-nav,
  .hero-services-mobile,
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* --- Hero Service Labels (Editorial Presentation) --- */
.hero-services-mobile {
  display: none !important;
}

.hero-services-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-6);
  margin-bottom: var(--space-8);
  max-width: 580px;
}

.hero-service-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--c-navy);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--c-silver);
  border: 1px solid rgba(20, 33, 61, 0.08);
  transition: all var(--dur-fast) var(--ease-apple);
}

.hero-service-item:hover {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
  transform: translateY(-2px);
}

.hero-service-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-service-arrow {
  color: var(--c-amber);
  margin-left: 6px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-apple);
}

.hero-service-item:hover .hero-service-arrow {
  transform: translateX(3px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --- Right Column Visual Portrait --- */
.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 100%;
}

.hero-person-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translate3d(var(--person-shift-x, 0px), var(--person-shift-y, 0px), 0);
  transition: transform var(--dur-fast) var(--ease-apple);
}

.hero-person-ambient {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at bottom, rgba(252, 163, 17, 0.22) 0%, rgba(20, 33, 61, 0.12) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hero-person-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 896 / 1200;
  max-height: 590px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 36px rgba(20, 33, 61, 0.16));
}

/* --- Hero Tablet Refinements (768px - 1024px): Balanced Side-by-Side --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-services-mobile {
    display: none !important;
  }
  .hero-services-desktop {
    display: grid !important;
  }
  .hero-stage {
    padding-top: clamp(4.75rem, 7vw, 6.0rem);
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  }
  .hero-grid {
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: var(--space-4);
  }
  .hero-editorial {
    order: 1;
    text-align: left;
    align-items: flex-start;
  }
  .hero-headline {
    font-size: clamp(2.2rem, 4.2vw, 2.75rem);
    line-height: 1.05;
  }
  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: var(--space-4);
  }
  .hero-services-nav {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: var(--space-3);
  }
  .hero-visual-col {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-height: 480px;
  }
  .hero-person-wrapper {
    max-width: 360px;
  }
  .hero-person-img {
    max-height: 480px;
  }
}

/* --- Hero Mobile Refinements (max-width: 767px): Refined Variant A (Editorial Compact) --- */
@media (max-width: 767px) {
  .hero-services-desktop {
    display: none !important;
  }
  .hero-services-mobile {
    display: grid !important;
  }

  /* Content-driven stage with full top clearance below fixed header (66px) */
  .hero-stage {
    padding-top: clamp(5.25rem, 12vw, 6.25rem) !important;
    padding-bottom: clamp(1.75rem, 5vw, 2.5rem);
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    overflow-x: clip !important;
  }
  .hero-container {
    padding-left: clamp(1.0rem, 4vw, 1.25rem);
    padding-right: clamp(1.0rem, 4vw, 1.25rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto !important;
    height: auto !important;
  }

  /* 1. Editorial Section First (Eyebrow -> Headline -> Lead -> CTAs -> Services) */
  .hero-editorial {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    order: 1;
    min-height: auto;
    height: auto;
  }
  .hero-editorial .eyebrow {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: clamp(0.70rem, 2.6vw, 0.78rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-navy);
    margin-bottom: 0.65rem;
    line-height: 1.2;
    max-width: 100%;
  }
  .hero-editorial .eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-amber);
    flex-shrink: 0;
  }
  .hero-editorial .hero-headline {
    order: 1;
    font-size: clamp(2.35rem, 9.6vw, 3.25rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--c-black);
    margin-bottom: clamp(0.75rem, 2.5vw, 1.15rem);
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero-editorial .hero-headline .title-block {
    display: block;
    max-width: 100%;
  }
  .hero-editorial .hero-headline em {
    font-style: normal;
    color: #FCA311;
    font-weight: 800;
    display: block;
  }
  .hero-editorial .hero-lead {
    order: 2;
    font-size: clamp(0.88rem, 2.8vw, 0.95rem);
    line-height: 1.5;
    color: var(--c-navy);
    opacity: 0.88;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.1rem;
    padding: 0 0.25rem;
  }

  /* 2. Primary & Secondary CTAs Ahead of Navigation */
  .hero-editorial .hero-actions {
    order: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.625rem;
    margin: 0 auto 1.1rem;
  }
  .hero-editorial .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* 3. Mobile 2-Column Compact Grid (All 5 Services Visible Simultaneously) */
  .hero-services-mobile.hero-services-grid {
    order: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 1.35rem;
    box-sizing: border-box;
  }
  .hero-service-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(20, 33, 61, 0.10);
    box-shadow: 0 1px 3px rgba(20, 33, 61, 0.04);
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .hero-service-chip:hover,
  .hero-service-chip:focus-visible {
    background: #FFFFFF;
    border-color: var(--c-amber);
    box-shadow: 0 4px 12px rgba(252, 163, 17, 0.15);
    outline: none;
    transform: translateY(-1px);
  }
  .hero-service-chip:active {
    transform: scale(0.98);
    background: #F8FAFC;
  }
  .hero-chip-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(252, 163, 17, 0.12);
    color: var(--c-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
  }
  .hero-service-chip:hover .hero-chip-icon,
  .hero-service-chip:focus-visible .hero-chip-icon {
    background: var(--c-amber);
    color: var(--c-black);
  }
  .hero-chip-label {
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.22;
    color: var(--c-navy);
    text-align: left;
    word-break: normal;
    overflow-wrap: break-word;
    flex: 1;
  }
  /* The 5th service spans both columns, centered for perfect balance */
  .hero-service-chip.hero-service-chip-span {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 48px;
    padding: 8px 16px;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-service-chip.hero-service-chip-span .hero-chip-label {
    flex: 0 1 auto;
    text-align: center;
  }
  .hero-chip-arrow {
    color: var(--c-navy);
    opacity: 0.45;
    flex-shrink: 0;
    margin-left: 2px;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .hero-service-chip:hover .hero-chip-arrow {
    opacity: 1;
    transform: translateX(2px);
    color: var(--c-amber);
  }

  /* 4. Elegant Supporting Portrait Visual (Content-Driven Flow, Fully Unclipped) */
  .hero-visual-col {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    max-width: 320px;
    margin: 0.25rem auto 0;
    position: relative;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .hero-person-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .hero-person-ambient {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40%;
    background: radial-gradient(ellipse at bottom, rgba(20, 33, 61, 0.14) 0%, rgba(252, 163, 17, 0.10) 45%, transparent 75%);
    border-radius: 50%;
    filter: blur(18px);
    z-index: 1;
    pointer-events: none;
    opacity: 1;
  }
  .hero-person-img {
    width: 100%;
    height: auto;
    aspect-ratio: 896 / 1200;
    max-width: 290px;
    max-height: clamp(280px, 58vw, 380px);
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 10px 22px rgba(20, 33, 61, 0.11));
    position: relative;
    z-index: 2;
    display: block;
    animation: heroPortraitSettle 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  }
}

/* One-time entrance animation: settles once and remains completely stationary */
@keyframes heroPortraitSettle {
  from {
    opacity: 0;
    transform: scale(0.96) translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-person-img,
  .hero-person-wrapper {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* --- Compact Mobile Devices (max-width: 360px): Extra safety for narrow screens --- */
@media (max-width: 360px) {
  .hero-editorial .hero-headline {
    font-size: clamp(1.95rem, 8.8vw, 2.25rem) !important;
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 850;
  }
  .hero-services-mobile.hero-services-grid {
    gap: 6px;
  }
  .hero-service-chip {
    padding: 8px 8px;
    gap: 6px;
    min-height: 48px;
    border-radius: 10px;
  }
  .hero-chip-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }
  .hero-chip-icon svg {
    width: 13px;
    height: 13px;
  }
  .hero-chip-label {
    font-size: 0.71rem;
    line-height: 1.2;
  }
  .hero-service-chip.hero-service-chip-span {
    max-width: 100%;
    min-height: 48px;
    padding: 8px 12px;
  }
  .hero-person-img {
    max-width: 240px;
    max-height: clamp(240px, 72vw, 290px);
  }
  .brand {
    gap: 6px;
    font-size: 0.85rem;
  }
  .brand-emblem {
    height: 25px;
    max-height: 26px;
  }
}

/* --------------------------------------------------------------------------
   3. BUTTON COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-apple);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
.btn-amber {
  background-color: var(--c-amber);
  color: var(--c-black);
  border-color: var(--c-amber);
  box-shadow: 0 4px 14px rgba(252, 163, 17, 0.35);
}

.btn-primary:hover,
.btn-amber:hover {
  background-color: #f79600;
  border-color: #f79600;
  box-shadow: 0 6px 20px rgba(252, 163, 17, 0.5);
  transform: translateY(-2px);
  color: var(--c-black);
}

.btn-secondary,
.btn-navy {
  background-color: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

.btn-secondary:hover,
.btn-navy:hover {
  background-color: var(--c-black);
  border-color: var(--c-black);
  transform: translateY(-2px);
  color: var(--c-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}

.btn-outline:hover {
  background-color: var(--c-navy);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
  transform: translateY(-2px);
}

.btn-silver {
  background-color: var(--c-silver);
  color: var(--c-black);
  border-color: rgba(20, 33, 61, 0.1);
}

.btn-silver:hover {
  background-color: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

@media (max-width: 520px) {
  .btn,
  .btn-lg {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    word-break: break-word;
    box-sizing: border-box;
    padding: 12px 20px;
  }
}

/* --------------------------------------------------------------------------
   4. CARD COMPONENTS
   -------------------------------------------------------------------------- */
.card {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.0vw, 2.5rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-medium) var(--ease-apple);
  position: relative;
  width: 100%;
}

.card:hover {
  border-color: var(--c-navy);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-dark {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.0vw, 2.5rem);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-medium) var(--ease-apple);
  position: relative;
  width: 100%;
}

.card-dark:hover {
  border-color: var(--border-dark-amber);
  transform: translateY(-4px);
}

.card-dark h2,
.card-dark h3,
.card-dark h4 {
  color: var(--c-white);
}

.card-dark p {
  color: var(--text-muted-dark);
}

.card-featured {
  border: 2px solid var(--c-amber) !important;
  box-shadow: 0 12px 36px rgba(252, 163, 17, 0.2);
}

.card-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-amber);
  color: var(--c-black);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   5. FORM COMPONENTS
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  width: 100%;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-label-dark {
  color: var(--c-white);
}

.form-control,
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  background: var(--c-white);
  color: var(--c-black);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-apple), box-shadow var(--dur-fast) var(--ease-apple);
}

.form-control:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.25);
}

.form-control-dark,
.form-input-dark,
.form-textarea-dark {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--c-white);
}

.form-control-dark:focus,
.form-input-dark:focus,
.form-textarea-dark:focus {
  border-color: var(--c-amber);
  background: rgba(0, 0, 0, 0.55);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   6. GLOBAL FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--c-black);
  color: var(--c-white);
  padding-top: clamp(4.0rem, 7.0vw, 6.0rem);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.90rem;
  line-height: 1.6;
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-white);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: 0.90rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease-apple);
}

.footer-links a:hover {
  color: var(--c-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--c-white);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   7. MODAL DIALOG
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--container-pad);
}

.modal-backdrop.is-active {
  display: flex;
}

.modal-card {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: var(--space-8);
  box-shadow: var(--shadow-hover);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--c-silver);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: var(--c-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background-color var(--dur-fast) var(--ease-apple), transform var(--dur-fast) var(--ease-apple);
}

@media (max-width: 480px) {
  .modal-backdrop {
    padding: 12px 10px;
  }
  .modal-card {
    padding: var(--space-5) var(--space-4);
    border-radius: var(--radius-lg);
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
}

.modal-close:hover {
  background: rgba(20, 33, 61, 0.15);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   8. UNBOXED EDITORIAL STANDARDS RIBBON
   -------------------------------------------------------------------------- */
.standards-ribbon,
.trust-strip {
  background: var(--c-white);
  border-top: 1px solid rgba(20, 33, 61, 0.08);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  padding: clamp(1.75rem, 3.0vw, 2.35rem) 0;
  position: relative;
  width: 100%;
}

.standards-ribbon-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.standards-ribbon-item,
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding: 0 var(--space-4);
  text-align: left;
}

.standards-ribbon-item:not(:last-child)::after,
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(20, 33, 61, 0.1);
}

.standards-metric,
.trust-metric {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.standards-label,
.trust-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .standards-ribbon-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-6);
  }
  .standards-ribbon-item:nth-child(2)::after,
  .trust-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 540px) {
  .standards-ribbon-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    row-gap: var(--space-4);
  }
  .standards-ribbon-item,
  .trust-item {
    padding: 0;
  }
  .standards-ribbon-item::after,
  .trust-item::after {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   9. "WHY CHOOSE HAWK MEDIA" — ASYMMETRIC 1+3 ARCHITECTURE
   -------------------------------------------------------------------------- */
.asymmetric-layout {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: var(--space-8);
  align-items: stretch;
}

.cornerstone-story-card {
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.18);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cornerstone-headline {
  color: var(--c-white);
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.cornerstone-lead {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.cornerstone-pledges {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  font-size: 0.90rem;
  color: var(--c-white);
}

.cornerstone-pledges li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.pledge-check {
  color: var(--c-amber);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.principles-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: space-between;
}

.principle-card {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-apple), box-shadow var(--dur-fast) var(--ease-apple), border-color var(--dur-fast) var(--ease-apple);
}

.principle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(252, 163, 17, 0.4);
}

.principle-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(20, 33, 61, 0.06);
  color: var(--c-navy);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.principle-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-black);
  margin: 0;
  line-height: 1.3;
}

.principle-desc {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 960px) {
  .asymmetric-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* --------------------------------------------------------------------------
   10. STRATEGIC CAPABILITIES — EDITORIAL SPLIT-VIEW
   -------------------------------------------------------------------------- */
.services-split-view {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-8);
  align-items: stretch;
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 20px 40px -15px rgba(20, 33, 61, 0.08);
}

.services-tabs-rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-right: 1px solid rgba(20, 33, 61, 0.08);
  padding-right: var(--space-6);
}

.service-tab-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all var(--dur-fast) var(--ease-apple);
  color: var(--c-navy);
  width: 100%;
  min-height: 48px;
}

.service-tab-btn:hover {
  background: var(--c-silver);
  transform: translateX(4px);
}

.service-tab-btn.is-active {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
  box-shadow: 0 8px 20px -6px rgba(20, 33, 61, 0.3);
}

.service-tab-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-amber);
  opacity: 0.95;
  width: 24px;
}

.service-tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-tab-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-tab-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.service-tab-btn.is-active .service-tab-sub {
  color: var(--text-muted-dark);
}

.service-tab-arrow {
  color: var(--c-amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--dur-fast) var(--ease-apple);
}

.service-tab-btn.is-active .service-tab-arrow {
  opacity: 1;
  transform: translateX(0);
}

.services-panels-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-showcase-panel {
  display: none;
  flex-direction: column;
  gap: var(--space-5);
  animation: fadeInPanel 0.3s var(--ease-apple);
}

.service-showcase-panel.is-active {
  display: flex;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-panel-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-panel-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-amber);
  background: rgba(20, 33, 61, 0.04);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  letter-spacing: 0.06em;
}

.service-panel-title {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: var(--c-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.service-panel-desc {
  font-size: 1.0rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.service-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.service-pillar-card {
  background: #f8fafc;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.service-pillar-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-navy);
  margin: 0 0 var(--space-3) 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-pillar-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-amber);
  border-radius: 2px;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-checklist li {
  font-size: 0.88rem;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.service-checklist .check-icon {
  color: #059669;
  font-weight: 800;
  line-height: 1;
}

.service-approach-callout {
  background: #fffbeb;
  border-left: 3px solid var(--c-amber);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-approach-callout .callout-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #92400e;
}

.service-approach-callout .callout-text {
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.55;
  margin: 0;
}

.service-panel-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

@media (max-width: 960px) {
  .services-split-view {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .services-tabs-rail {
    border-right: none;
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
    padding-right: 0;
    padding-bottom: var(--space-4);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
  .service-tab-btn:last-child {
    grid-column: span 2;
  }
  .service-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-split-view {
    padding: var(--space-4) var(--space-3);
    border-radius: var(--radius-lg);
  }
  .services-tabs-rail {
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .service-tab-btn:last-child {
    grid-column: span 1;
  }
  .service-tab-btn {
    max-width: 100%;
    box-sizing: border-box;
    padding: var(--space-3) var(--space-3);
    min-height: 48px;
  }
  .service-tab-btn:hover {
    transform: none;
  }
  .service-panel-actions {
    flex-direction: column;
    width: 100%;
  }
  .service-panel-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* --------------------------------------------------------------------------
   11. SLEEK CSS BROWSER & DEVICE BEZELS
   -------------------------------------------------------------------------- */
.browser-bezel {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-apple), box-shadow var(--dur-fast) var(--ease-apple), border-color var(--dur-fast) var(--ease-apple);
}

.browser-bezel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(252, 163, 17, 0.35);
}

.browser-header {
  background: #f0f2f5;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
}

.browser-url-pill {
  flex: 1;
  background: var(--c-white);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-screen {
  position: relative;
  overflow: hidden;
  background: var(--c-navy);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-apple);
}

.browser-bezel:hover .browser-screen img {
  transform: scale(1.03);
}

.browser-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   12. WORKING METHODOLOGY — LIGHTWEIGHT PROGRESSIVE TIMELINE
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  margin-top: var(--space-10);
}

.timeline-steps-grid,
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

.timeline-rail {
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(20, 33, 61, 0.12);
  z-index: 1;
}

.timeline-step,
.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-apple), border-color var(--dur-fast) var(--ease-apple);
}

.timeline-step:hover,
.process-step:hover {
  transform: translateY(-3px);
  border-color: var(--c-amber);
}

.timeline-marker,
.process-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(20, 33, 61, 0.15);
  transition: all var(--dur-fast) var(--ease-apple);
  position: relative;
  z-index: 3;
}

.timeline-step:hover .timeline-marker,
.process-step:hover .process-step-num {
  background: var(--c-amber);
  color: var(--c-black);
  transform: scale(1.08);
}

.timeline-step-title,
.process-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.3;
  margin: 0;
}

.timeline-step-desc,
.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .timeline-rail {
    display: none;
  }
  .timeline-steps-grid,
  .process-track {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   13. EXECUTIVE ACCORDION FAQ SYSTEM
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 820px;
  margin: var(--space-8) auto 0 auto;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-apple);
}

.faq-item.is-open {
  border-color: rgba(252, 163, 17, 0.45);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: var(--space-5) var(--space-6);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  transition: color var(--dur-fast) var(--ease-apple);
}

.faq-trigger:hover {
  color: var(--c-black);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-apple), background-color var(--dur-fast) var(--ease-apple);
  color: var(--c-navy);
  font-weight: 700;
  font-size: 0.85rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--c-amber);
  color: var(--c-black);
}

.faq-content {
  display: none;
  padding: 0 var(--space-6) var(--space-6) var(--space-6);
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-item.is-open .faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   14. GUIDED PROJECT ENQUIRY MULTI-STEP WIZARD
   -------------------------------------------------------------------------- */
.wizard-progress {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.wizard-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--c-silver);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--c-amber);
  transition: width 0.3s var(--ease-apple);
}

.wizard-progress-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.wizard-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

@media (max-width: 480px) {
  .wizard-card-grid {
    grid-template-columns: 1fr;
  }
  .wizard-card-grid .wizard-option-card[style*="grid-column"] {
    grid-column: span 1 !important;
  }
}

.wizard-option-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--c-white);
  transition: all var(--dur-fast) var(--ease-apple);
}

.wizard-option-card:hover {
  border-color: rgba(20, 33, 61, 0.4);
  background: #fbfbfb;
}

.wizard-option-card.is-selected {
  border-color: var(--c-amber);
  background: rgba(252, 163, 17, 0.08);
}

.wizard-option-card:focus-within {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
  border-color: var(--c-navy);
}

.wizard-card-title {
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--c-black);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   PHASE 8: LEAD GENERATION & CONTACT PILLS
   -------------------------------------------------------------------------- */
.contact-service-pill {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-apple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.contact-service-pill:hover {
  border-color: var(--c-navy);
  color: var(--c-black);
  background: #fafafa;
}

.contact-service-pill.is-selected {
  background: rgba(252, 163, 17, 0.12);
  border-color: var(--c-amber);
  color: var(--c-black);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--c-amber);
}

.contact-service-pill:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
}

.wizard-inline-error {
  animation: fadeInDown 0.25s var(--ease-apple);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }
  .modal-card {
    max-height: 94vh;
    padding: 1.25rem 1rem 1rem 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-card form {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .wizard-step {
    flex-direction: column;
  }
  .wizard-step.is-active {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .wizard-step h2,
  .wizard-step h3 {
    font-size: 1.18rem !important;
    margin-bottom: 4px !important;
  }
  .wizard-step p {
    font-size: 0.80rem !important;
    margin-bottom: 0.65rem !important;
  }
  .wizard-actions {
    margin-top: auto;
    padding-top: 0.65rem;
    position: sticky;
    bottom: 0;
    background: var(--c-white);
    z-index: 5;
  }
  .wizard-actions .btn {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
  }
  .contact-service-pill {
    min-height: 40px;
    font-size: 0.80rem;
    padding: 6px 14px;
  }
}


/* --------------------------------------------------------------------------
   15. PORTFOLIO FILTER BAR
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-btn {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-apple);
}

.filter-btn:hover {
  border-color: var(--c-navy);
  color: var(--c-black);
}

.filter-btn.is-active {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}

/* --------------------------------------------------------------------------
   16. DUAL-VIEWPORT PORTFOLIO PRESENTATION COMPONENT
   -------------------------------------------------------------------------- */
.portfolio-dual-card {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform var(--dur-base) var(--ease-apple), box-shadow var(--dur-base) var(--ease-apple);
}

.portfolio-dual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 33, 61, 0.10);
  border-color: rgba(252, 163, 17, 0.4);
}

.portfolio-card-topbar {
  background: var(--c-navy);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-card-topbar .browser-url-pill {
  flex: 1;
  max-width: 180px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.viewport-toggle-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
  border-radius: var(--radius-pill);
  gap: 2px;
}

.viewport-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all var(--dur-fast) var(--ease-apple);
}

.viewport-btn:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.12);
}

.viewport-btn.is-active {
  background: var(--c-amber);
  color: var(--c-black);
  font-weight: 800;
}

/* Dual-Viewport Stage */
.portfolio-dual-stage {
  height: 250px;
  background: linear-gradient(135deg, #0b1120 0%, #14213D 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.viewport-desktop-frame {
  width: 86%;
  height: 180px;
  background: #111827;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  transition: all var(--dur-base) var(--ease-apple);
}

.viewport-desktop-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0f172a;
}

.viewport-mobile-frame {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 95px;
  height: 175px;
  z-index: 2;
  transition: all var(--dur-base) var(--ease-apple);
}

.mobile-device-chassis {
  width: 100%;
  height: 100%;
  background: #030712;
  border: 2px solid rgba(252, 163, 17, 0.45);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
  padding: 5px 3px 5px 3px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mobile-speaker-island {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  margin: 0 auto 3px auto;
}

.viewport-mobile-inner {
  flex: 1;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewport-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Interactive Viewport States */
.portfolio-dual-stage.view-mode-desktop .viewport-desktop-frame {
  width: 96%;
  transform: scale(1.02);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

.portfolio-dual-stage.view-mode-desktop .viewport-mobile-frame {
  transform: translateX(120%) scale(0.8);
  opacity: 0;
  pointer-events: none;
}

.portfolio-dual-stage.view-mode-mobile .viewport-desktop-frame {
  transform: scale(0.92);
  opacity: 0.25;
  filter: blur(1px);
}

.portfolio-dual-stage.view-mode-mobile .viewport-mobile-frame {
  right: calc(50% - 60px);
  width: 120px;
  height: 215px;
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  border-color: var(--c-amber);
}

@media (max-width: 768px) {
  .portfolio-card-topbar {
    padding: 6px 12px;
    min-height: 52px;
  }
  .portfolio-card-topbar .browser-url-pill {
    display: none;
  }
  .viewport-toggle-pills {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px;
    border-radius: var(--radius-pill);
    gap: 2px;
  }
  .viewport-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    touch-action: manipulation;
    cursor: pointer;
    border-radius: var(--radius-pill);
  }
}

@media (max-width: 520px) {
  .portfolio-card-topbar {
    padding: 6px 10px;
    min-height: 52px;
  }
  .portfolio-card-topbar .browser-url-pill {
    display: none;
  }
  .viewport-toggle-pills {
    padding: 2px;
    gap: 2px;
  }
  .viewport-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0 8px;
    font-size: 0.70rem;
    gap: 3px;
  }
  .portfolio-dual-stage {
    height: 220px;
    padding: var(--space-3);
  }
  .viewport-desktop-frame {
    width: 90%;
    height: 155px;
  }
  .viewport-mobile-frame {
    right: 12px;
    bottom: 8px;
    width: 82px;
    height: 150px;
  }
  .portfolio-dual-stage.view-mode-mobile .viewport-mobile-frame {
    right: calc(50% - 50px);
    width: 100px;
    height: 190px;
  }
}

@media (max-width: 360px) {
  .portfolio-card-topbar {
    padding: 4px 6px;
    min-height: 50px;
  }
  .viewport-toggle-pills {
    padding: 2px;
    gap: 1px;
  }
  .viewport-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0 5px;
    font-size: 0.66rem;
    gap: 2px;
  }
}

/* Demonstration Wireframes */
.demo-screen-wireframe {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  position: relative;
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
}

.wireframe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wireframe-logo-bar {
  width: 38px;
  height: 6px;
  background: var(--c-amber);
  border-radius: 2px;
}

.wireframe-nav-links {
  display: flex;
  gap: 4px;
}

.wireframe-nav-links span {
  width: 16px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.wireframe-hero {
  margin-bottom: 8px;
}

.wireframe-badge {
  width: 30px;
  height: 4px;
  background: rgba(252, 163, 17, 0.4);
  border-radius: 2px;
  margin-bottom: 5px;
}

.wireframe-h1 {
  width: 80%;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  margin-bottom: 5px;
}

.wireframe-p {
  width: 60%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin-bottom: 6px;
}

.wireframe-btn {
  width: 32px;
  height: 8px;
  background: var(--c-amber);
  border-radius: 2px;
}

.wireframe-cards-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.wireframe-mini-card {
  flex: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.demo-watermark-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(1px);
  text-align: center;
  padding: 8px;
  gap: 4px;
}

.watermark-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-amber);
  letter-spacing: 0.1em;
}

.watermark-sub {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Mobile Wireframe */
.mobile-wireframe {
  padding: 6px;
}

.wireframe-mobile-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.m-dot {
  width: 8px;
  height: 5px;
  background: var(--c-amber);
  border-radius: 2px;
}

.m-bar {
  width: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.wireframe-mobile-hero .m-h1 {
  width: 85%;
  height: 6px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  margin-bottom: 4px;
}

.wireframe-mobile-hero .m-p {
  width: 65%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin-bottom: 5px;
}

.wireframe-mobile-hero .m-btn {
  width: 26px;
  height: 6px;
  background: var(--c-amber);
  border-radius: 2px;
  margin-bottom: 6px;
}

.wireframe-mobile-card {
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-bottom: 4px;
}

/* Card Body & Metadata */
.portfolio-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-meta-tags {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.portfolio-industry-pill {
  font-size: 0.70rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-navy);
  background: rgba(20, 33, 61, 0.08);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.portfolio-badge-demo {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-amber);
  background: var(--c-navy);
  padding: 2px 7px;
  border-radius: 4px;
}

.portfolio-item-title {
  font-size: 1.20rem;
  font-weight: 800;
  color: var(--c-black);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.3;
}

.portfolio-item-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 var(--space-4) 0;
}

.portfolio-capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: var(--space-5);
}

.capability-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--c-silver);
  color: var(--c-navy);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(20, 33, 61, 0.06);
}

.portfolio-item-actions {
  margin-top: auto;
  padding-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   17. PHASE 7: EDITORIAL PORTFOLIO SHOWCASE & CASE STUDY BLUEPRINTS
   -------------------------------------------------------------------------- */
.portfolio-editorial-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-6);
}

.portfolio-editorial-row {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px -10px rgba(20, 33, 61, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  transition: transform var(--dur-base) var(--ease-apple), box-shadow var(--dur-base) var(--ease-apple), border-color var(--dur-base) var(--ease-apple);
}

.portfolio-editorial-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -15px rgba(20, 33, 61, 0.12);
  border-color: rgba(252, 163, 17, 0.45);
}

.portfolio-editorial-row.reverse {
  grid-template-columns: 1fr 1.25fr;
}

.portfolio-stage-column {
  background: #f1f5f9;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.portfolio-editorial-row.reverse .portfolio-stage-column {
  border-right: none;
  border-left: 1px solid var(--border-subtle);
  order: 2;
}

.portfolio-editorial-row.reverse .portfolio-info-column {
  order: 1;
}

/* Interactive macOS-Style Browser Bezel */
.editorial-browser-bezel {
  background: #ffffff;
  border: 1px solid rgba(20, 33, 61, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px -10px rgba(20, 33, 61, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.editorial-browser-topbar {
  background: #f8fafc;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.editorial-browser-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.editorial-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.editorial-url-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #64748b;
  background: #ffffff;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(20, 33, 61, 0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.editorial-viewport-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.editorial-browser-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e2e8f0;
  overflow: hidden;
}

.editorial-browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-editorial-row:hover .editorial-browser-screen img {
  transform: scale(1.025);
}

/* Info Column & Content Typography */
.portfolio-info-column {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--c-white);
}

.portfolio-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.portfolio-industry-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-navy);
  background: rgba(20, 33, 61, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.portfolio-demo-pill {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid rgba(252, 163, 17, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.portfolio-editorial-title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: var(--c-black);
  line-height: 1.25;
  margin: 0 0 var(--space-3) 0;
  letter-spacing: -0.02em;
}

.portfolio-editorial-summary {
  font-size: 1.0rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 var(--space-5) 0;
}

.portfolio-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portfolio-highlights-list li {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.portfolio-highlights-list .highlight-check {
  color: var(--c-amber);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

.portfolio-editorial-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(20, 33, 61, 0.08);
}

/* Detail Case Study Specific Styles */
.case-study-hero {
  padding-top: clamp(6.0rem, 10vw, 8.0rem);
  padding-bottom: clamp(2.5rem, 4vw, 4.0rem);
}

.case-study-dual-stage {
  position: relative;
  background: linear-gradient(135deg, #0b1120 0%, #14213d 100%);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: var(--space-8);
  box-shadow: 0 24px 50px -15px rgba(20, 33, 61, 0.25);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-study-desktop-frame {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1e293b;
}

.case-study-mobile-peek {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  width: clamp(110px, 16vw, 170px);
  aspect-ratio: 9 / 19;
  background: #030712;
  border: 3px solid rgba(252, 163, 17, 0.7);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.case-study-mobile-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  display: block;
}

.case-study-blueprint-card {
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.case-study-blueprint-card .eyebrow {
  margin-bottom: var(--space-2);
}

.case-study-tech-spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin-top: var(--space-5);
}

.case-study-tech-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-study-tech-label {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.case-study-tech-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-navy);
}

/* Sector Navigator Pill Bar (Replaces redundant 4-tab filter for 3 projects) */
.portfolio-sector-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: 0 auto var(--space-8) auto;
  padding: 6px 14px;
  background: var(--c-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  max-width: fit-content;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sector-nav-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-right: 4px;
}

.sector-nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(20, 33, 61, 0.04);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-apple);
  display: inline-flex;
  align-items: center;
}

.sector-nav-link:hover {
  background: var(--c-amber);
  color: var(--c-navy);
  transform: translateY(-1px);
}

/* Responsive Rules for Editorial Portfolio */
@media (max-width: 960px) {
  .portfolio-editorial-row,
  .portfolio-editorial-row.reverse {
    grid-template-columns: 1fr;
  }

  .portfolio-stage-column,
  .portfolio-editorial-row.reverse .portfolio-stage-column {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--border-subtle);
    order: 1;
    padding: clamp(1.25rem, 3vw, 2rem);
  }

  .portfolio-info-column,
  .portfolio-editorial-row.reverse .portfolio-info-column {
    order: 2;
    padding: clamp(1.25rem, 3vw, 2rem);
  }

  /* Safe, non-overlapping responsive dual stage layout */
  .case-study-dual-stage {
    padding: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .case-study-desktop-frame {
    width: 100%;
    max-width: 100%;
  }

  .case-study-mobile-peek {
    position: static;
    width: clamp(130px, 35vw, 160px);
    margin: var(--space-2) auto 0 auto;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  }
}

@media (max-width: 600px) {
  .editorial-browser-topbar {
    padding: 8px 12px;
  }

  .editorial-url-pill {
    max-width: 180px;
    font-size: 0.65rem;
  }

  .editorial-viewport-badge {
    display: none;
  }

  .portfolio-sector-nav {
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .portfolio-editorial-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .portfolio-editorial-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}



