/* ==============================================
   WebSolutions — Premium Design System v3
   ============================================== */

/* ---- Design Tokens ---- */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --c-ink:         #120900;
  --c-ink-2:       #4A2C10;
  --c-ink-3:       #8A6840;
  --c-surface:     #F5F0E8;
  --c-surface-off: #EDE4D0;
  --c-surface-warm:#DED0B0;
  --c-navy:        #1A0A00;
  --c-navy-deep:   #0D0500;
  --c-accent:      #C47020;
  --c-accent-dark: #9A5008;
  --c-green:       #3A6820;
  --c-border:      rgba(120, 70, 20, 0.13);
  --c-border-mid:  rgba(120, 70, 20, 0.24);

  --section-pad: 8rem;
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  18px;
  --r-xl:  24px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  {
  font-family: var(--font-sans);
  background: var(--c-surface);
  color: var(--c-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--c-accent);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section          { padding: var(--section-pad) 0; }
.section--off     { background-color: var(--c-surface-off); }
.section--warm    { background-color: var(--c-surface-warm); }
.section--navy    { background-color: black;}
.section--deep    { background-color: var(--c-navy-deep); }

/* ---- Typography ---- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}

.section-header { margin-bottom: 4rem; }
.section-header--center { text-align: center; }
.section-header--center .section-header__sub { margin: 0 auto; }

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-header h2 em { font-style: italic; color: var(--c-accent); }
.section-header--navy h2 { color: white; }
.section-header--navy .section-header__sub { color: rgba(255,255,255,0.6); }

.section-header__sub {
  font-size: 1.0625rem;
  color: var(--c-ink-2);
  max-width: 520px;
  line-height: 1.7;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(253, 250, 244, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  transition: padding var(--t-base), box-shadow var(--t-base);
}
.nav.is-scrolled {
  padding: 0.85rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  transition: opacity var(--t-fast);
  display: flex;
  align-items: center;
}
.nav__logo:hover { opacity: 0.7; }

/* ---- Logo image in nav ---- */
.nav__logo-img {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity var(--t-fast);
}

/* ---- Hero brand underlayer ---- */
.hero__brand-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* Soft warm radial light — the "lighter colour" behind the dragon */
.hero__brand-layer::before {
  content: '';
  position: absolute;
  width: 740px; height: 500px;
  background: radial-gradient(ellipse, rgba(196, 112, 32, 0.085) 0%, rgba(196, 112, 32, 0.02) 50%, transparent 72%);
  border-radius: 50%;
  filter: blur(40px);
}
/* Dragon watermark */
.hero__brand-logo-bg {
  width: min(620px, 74vw);
  max-width: 620px;
  opacity: 0.075;
  filter: saturate(0.6) brightness(0.9);
  position: relative;
  z-index: 1;
  animation: floatUp 9s ease-in-out infinite;
  /* Show only the icon portion (left side) of the logo for the watermark */
  object-fit: none;
  object-position: left center;
}

@media (max-width: 1024px) {
  .hero__brand-logo-bg { width: min(460px, 78vw); opacity: 0.06; }
}
@media (max-width: 600px) {
  .hero__brand-logo-bg { width: min(340px, 88vw); opacity: 0.055; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ink-2);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width var(--t-base);
}
.nav__link:hover          { color: var(--c-ink); }
.nav__link:hover::after   { width: 100%; }
.nav__link--active        { color: var(--c-ink); }
.nav__link--active::after { width: 100%; }

.nav__cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: white;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav__cta:hover {
  background: var(--c-navy);
  transform: perspective(800px) rotateX(-5deg) translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 26, 9, 0.22);
}
.nav__hamburger {
  display: none;
  background: none;
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-sm);
  padding: 0.4rem;
  color: var(--c-ink);
  line-height: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.625rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  line-height: 1;
  position: relative;
  will-change: transform;
}
.btn:active { transform: perspective(800px) rotateX(3deg) scale(0.97) translateY(2px) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.14) !important; }

.btn--primary { background: var(--c-accent); color: white; }
.btn--primary:hover {
  background: var(--c-accent-dark);
  transform: perspective(800px) rotateX(-6deg) translateY(-4px);
  box-shadow: 0 18px 40px rgba(184, 117, 43, 0.40), 0 6px 14px rgba(184, 117, 43, 0.22);
}
.btn--dark { background: var(--c-ink); color: white; }
.btn--dark:hover {
  background: var(--c-navy);
  transform: perspective(800px) rotateX(-6deg) translateY(-4px);
  box-shadow: 0 18px 40px rgba(44, 26, 9, 0.32), 0 6px 14px rgba(44, 26, 9, 0.18);
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-border-mid);
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  background: rgba(184, 117, 43, 0.06);
  transform: perspective(800px) rotateX(-5deg) translateY(-3px);
  box-shadow: 0 12px 30px rgba(44, 26, 9, 0.10);
}
.btn--ghost-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  transform: perspective(800px) rotateX(-4deg) translateY(-3px);
}

/* ---- Hero ---- */
.hero {
  padding: 11rem 0 8rem;
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0 0 0 55%;
  background: var(--c-surface-off);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-ink-2);
  background: white;
  border: 1px solid var(--c-border-mid);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; color: var(--c-accent); }

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--c-ink-2);
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero__visual { position: relative; }

/* ---- Browser Mockup ---- */
.mockup {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border-mid);
  box-shadow: 0 24px 64px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}
.mockup__bar {
  background: var(--c-surface-off);
  border-bottom: 1px solid var(--c-border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mockup__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.mockup__dot:nth-child(1) { background: #FF5F57; }
.mockup__dot:nth-child(2) { background: #FFBD2E; }
.mockup__dot:nth-child(3) { background: #28C840; }
.mockup__url {
  flex: 1;
  height: 20px;
  background: var(--c-border);
  border-radius: 4px;
  margin: 0 0.5rem;
  opacity: 0.6;
}
.mockup__body { padding: 1.5rem; }
.mockup__line {
  height: 9px;
  background: var(--c-surface-off);
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
.mockup__line--accent { background: rgba(184,117,43,0.22); width: 45%; }
.mockup__line--short  { width: 65%; }
.mockup__line--wide   { width: 88%; }
.mockup__line--full   { width: 100%; }
.mockup__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.mockup__card {
  height: 64px;
  background: var(--c-surface-off);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}
.mockup__btn {
  margin-top: 1.25rem;
  height: 32px;
  width: 45%;
  background: rgba(184,117,43,0.18);
  border-radius: var(--r-sm);
}

/* ---- Hero Stats ---- */
.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--c-border-mid);
}
.stat__num {
  display: block;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--c-ink-3);
}

/* ---- Social Proof Bar ---- */
.proof-bar {
  background: var(--c-surface-off);
  border-bottom: 1px solid var(--c-border);
  padding: 1.875rem 0;
}
.proof-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-item__num {
  display: block;
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.proof-item__label {
  display: block;
  font-size: 0.78rem;
  color: var(--c-ink-3);
  font-weight: 500;
}
.proof-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--c-border-mid);
}

/* ---- Client Logo Strip ---- */
.logo-strip {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--c-border);
}
.logo-strip__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 2rem;
}
.logo-strip__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-ink-3);
  letter-spacing: -0.01em;
  opacity: 0.5;
  transition: opacity var(--t-fast);
}
.logo-pill:hover { opacity: 0.9; }
.logo-pill__mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--c-surface-warm);
  border: 1px solid var(--c-border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--c-ink-2);
}

/* ---- Services List ---- */
.services-list { border-top: 1px solid var(--c-border); }

.service-row {
  display: grid;
  grid-template-columns: 4rem 1fr 28px;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: background var(--t-fast), padding var(--t-fast);
}
.service-row:hover {
  background: var(--c-surface-off);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  border-color: transparent;
}
.service-row__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  padding-top: 0.25rem;
}
.service-row h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.service-row p {
  font-size: 0.9375rem;
  color: var(--c-ink-2);
  line-height: 1.65;
}
.service-row__arrow {
  color: var(--c-ink-3);
  padding-top: 0.25rem;
  transition: color var(--t-fast), transform var(--t-base);
}
.service-row:hover .service-row__arrow {
  color: var(--c-accent);
  transform: translate(3px, -3px);
}

/* ---- Why Us ---- */
.why-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-us__left h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.why-us__left p {
  font-size: 1.0625rem;
  color: var(--c-ink-2);
  line-height: 1.75;
}
.why-feature {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--c-border);
}
.why-feature:first-child { border-top: 1px solid var(--c-border); }
.why-feature__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.why-feature__icon {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: rgba(184,117,43,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.why-feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
}
.why-feature p {
  font-size: 0.9rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  padding-left: calc(34px + 0.75rem);
}

/* ---- Bento Portfolio ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 260px;
  gap: 1.125rem;
}
.bento__item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--c-surface-off);
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.bento__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.11);
}
.bento__item--lg   { grid-column: span 7; grid-row: span 2; }
.bento__item--md   { grid-column: span 5; }
.bento__item--sm   { grid-column: span 4; }
.bento__item--wide { grid-column: span 8; }

.bento__visual {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--c-ink-3);
}
.bento__visual--1 { background: linear-gradient(140deg, #EEF2FF 0%, #C7D2FE 100%); }
.bento__visual--2 { background: linear-gradient(140deg, #F0FDF4 0%, #A7F3D0 100%); }
.bento__visual--3 { background: linear-gradient(140deg, #FFF7ED 0%, #FED7AA 100%); }
.bento__visual--4 { background: linear-gradient(140deg, #F0F9FF 0%, #BAE6FD 100%); }
.bento__visual--5 { background: linear-gradient(140deg, #FDF4FF 0%, #E9D5FF 100%); }

.bento__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-ink-2);
  opacity: 0.6;
}

.bento__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(9,10,18,0.82) 0%, transparent 100%);
  color: white;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
}
.bento__item:hover .bento__overlay { opacity: 1; transform: translateY(0); }
.bento__overlay h3 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.2rem;
}
.bento__overlay p { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
.bento__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.5rem;
}

/* ---- Pull-Quote ---- */
.pullquote { text-align: center; max-width: 840px; margin: 0 auto; }
.pullquote__mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0.5;
  color: rgba(184,117,43,0.30);
  display: block;
  margin-bottom: 1rem;
}
.pullquote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  line-height: 1.45;
  color: white;
  margin-bottom: 2.25rem;
}
.pullquote__attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}
.pullquote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.pullquote__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-align: left;
}
.pullquote__role { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* ---- Process Steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 1.375rem;
  left: 12%; right: 12%;
  height: 1px;
  background: var(--c-border-mid);
}
.process-step { text-align: center; padding: 0 0.75rem; position: relative; }
.process-step__num {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
.section--off .process-step__num { background: var(--c-surface-off); }
.section--warm .process-step__num { background: var(--c-surface-warm); }
.process-step__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 0.4rem;
}
.process-step__desc { font-size: 0.8rem; color: var(--c-ink-3); line-height: 1.6; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
.pricing-card {
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.pricing-card--popular {
  background: var(--c-navy);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(44,26,9,0.35);
  transform: scale(1.03);
}
.pricing-card--popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--c-accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.pricing-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 0.4rem;
}
.pricing-card--popular .pricing-tier { color: rgba(255,255,255,0.45); }
.pricing-amount {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-card--popular .pricing-amount { color: white; }
.pricing-note {
  font-size: 0.85rem;
  color: var(--c-ink-3);
  margin-bottom: 1.75rem;
}
.pricing-card--popular .pricing-note { color: rgba(255,255,255,0.4); }
.pricing-divider {
  height: 1px;
  background: var(--c-border);
  margin: 1.5rem 0;
}
.pricing-card--popular .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8875rem;
  color: var(--c-ink-2);
  line-height: 1.5;
}
.pricing-card--popular .pricing-feature { color: rgba(255,255,255,0.75); }
.pricing-feature__check {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(184,117,43,0.12);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}
.pricing-card--popular .pricing-feature__check {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.375rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9875rem;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq__question:hover { color: var(--c-accent); }
.faq__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border-mid);
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--c-ink-3);
  transition: all var(--t-base);
}
.faq__item.is-open .faq__icon {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: white;
  transform: rotate(45deg);
}
.faq__answer {
  font-size: 0.9375rem;
  color: var(--c-ink-2);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq__answer p { padding-bottom: 1.5rem; }
.faq__item.is-open .faq__answer { max-height: 500px; }

/* ---- CTA Banner ---- */
.cta-banner { text-align: center; padding: 8rem 0; background: var(--c-navy); }
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 680px;
  margin: 0 auto 1.25rem;
}
.cta-banner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 9.5rem 0 5.5rem;
  background: var(--c-surface-off);
  border-bottom: 1px solid var(--c-border);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  margin-bottom: 1rem;
  max-width: 680px;
}
.page-hero p {
  font-size: 1.125rem;
  color: var(--c-ink-2);
  max-width: 540px;
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info-item:first-child { border-top: 1px solid var(--c-border); }
.contact-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--c-surface-off);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-accent);
}
.contact-info-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 0.2rem;
}
.contact-info-item a,
.contact-info-item p { font-size: 0.9375rem; color: var(--c-ink-2); }
.map-placeholder {
  margin-top: 2rem;
  background: var(--c-surface-off);
  border-radius: var(--r-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--c-ink-3);
  border: 1px dashed var(--c-border-mid);
}

/* ---- Forms ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.125rem;
}
.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-ink-2);
  letter-spacing: 0.01em;
}
.form-input {
  padding: 0.725rem 0.95rem;
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--c-ink);
  background: var(--c-surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input::placeholder { color: var(--c-ink-3); }
.form-input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(0,112,243,0.1);
}
.form-input.is-error { border-color: #EF4444; }
textarea.form-input { resize: vertical; min-height: 130px; font-family: var(--font-sans); }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-hint { font-size: 0.75rem; color: var(--c-ink-3); min-height: 1rem; }
.form-hint.is-error { color: #EF4444; }
.form-submit {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.9875rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--t-base);
  letter-spacing: 0.01em;
}
.form-submit:hover {
  background: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,25,47,0.25);
}
.form-submit:active { transform: scale(0.99); }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.form-submit.is-success { background: var(--c-green); }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.testi-card {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  border: 1px solid var(--c-border);
  transition: box-shadow var(--t-base);
}
.testi-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.07); }
.testi-card--featured {
  grid-column: span 2;
  background: var(--c-surface-off);
  border-color: var(--c-border-mid);
}
.testi-stars { display: flex; gap: 3px; color: #F59E0B; margin-bottom: 1.25rem; }
.testi-text { font-size: 0.9375rem; color: var(--c-ink-2); line-height: 1.75; margin-bottom: 1.5rem; }
.testi-card--featured .testi-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--c-ink);
}
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-surface-warm);
  border: 2px solid var(--c-border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-ink-2);
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 600; color: var(--c-ink); }
.testi-role { font-size: 0.8125rem; color: var(--c-ink-3); }

/* ---- Portfolio ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.portfolio-item {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.09);
}
.portfolio-item__visual {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-3);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--c-border);
  flex-direction: column;
  gap: 0.5rem;
}
.portfolio-item__visual--1 { background: linear-gradient(140deg, #EEF2FF, #C7D2FE); }
.portfolio-item__visual--2 { background: linear-gradient(140deg, #F0FDF4, #A7F3D0); }
.portfolio-item__visual--3 { background: linear-gradient(140deg, #FFF7ED, #FED7AA); }
.portfolio-item__visual--4 { background: linear-gradient(140deg, #F0F9FF, #BAE6FD); }
.portfolio-item__body { padding: 1.75rem; }
.portfolio-item__tech {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.4rem;
}
.portfolio-item__title { font-size: 1.25rem; font-weight: 600; color: var(--c-ink); margin-bottom: 0.5rem; }
.portfolio-item__desc { font-size: 0.9rem; color: var(--c-ink-2); line-height: 1.65; margin-bottom: 1.25rem; }
.outcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-green);
  background: rgba(92,122,50,0.10);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
}

/* ---- Split Layout (Services / About) ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-section--reverse .split-visual { order: -1; }
.split-visual {
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--c-ink-3);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.split-visual--1 { background: linear-gradient(140deg, #EEF2FF, #E0E7FF); }
.split-visual--2 { background: linear-gradient(140deg, #F0FDF4, #D1FAE5); }
.split-visual--3 { background: linear-gradient(140deg, #FFF7ED, #FEE2E2); }
.split-visual--4 { background: linear-gradient(140deg, #F0F9FF, #BAE6FD); }
.split-visual--5 { background: linear-gradient(140deg, #FDF4FF, #F3E8FF); }
.split-content h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.split-content p {
  font-size: 1rem;
  color: var(--c-ink-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--c-ink-2);
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: rgba(0,112,243,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B8752B'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}

/* ---- Footer ---- */
.footer { background: var(--c-navy-deep); padding: 5.5rem 0 2.5rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer__logo {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: white;
  display: block;
  margin-bottom: 1rem;
}
.footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.5rem;
}
.footer__socials {
  display: flex;
  gap: 0.625rem;
}
.footer__social {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--t-fast);
}
.footer__social:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  transition: color var(--t-fast);
}
.footer__link:hover { color: white; }
.footer__contact-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 0.6rem;
  display: block;
  transition: color var(--t-fast);
}
.footer__contact-item:hover { color: white; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

/* ---- 404 ---- */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
}
.error-page__code {
  font-family: var(--font-serif);
  font-size: 9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--c-surface-off);
  line-height: 1;
  margin-bottom: 1.5rem;
  -webkit-text-stroke: 2px var(--c-border-mid);
}
.error-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.error-page p {
  font-size: 1.0625rem;
  color: var(--c-ink-2);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root { --section-pad: 6rem; }
  .hero::after { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { display: none; }
  .bento__item--lg { grid-column: span 12; grid-row: span 1; }
  .bento__item--md, .bento__item--sm { grid-column: span 6; }
  .bento__item--wide { grid-column: span 12; }
}

@media (max-width: 800px) {
  :root { --section-pad: 4.5rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--c-border);
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    z-index: 99;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  }
  .hero { padding: 8rem 0 4rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 1.75rem; flex-wrap: wrap; }
  .proof-bar__inner { gap: 1.75rem; }
  .proof-divider { display: none; }
  .logo-strip__logos { gap: 2rem; }
  .why-us,
  .split-section,
  .contact-layout,
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section--reverse .split-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--popular { transform: none; }
  .portfolio-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .testi-card--featured { grid-column: span 1; }
  .bento { grid-auto-rows: 200px; }
  .bento__item--lg, .bento__item--md, .bento__item--sm, .bento__item--wide { grid-column: span 12; grid-row: span 1; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 540px) {
  .container { padding: 0 1.25rem; }
  .process-steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .error-page__code { font-size: 5.5rem; }
}

@media print {
  .nav, .cta-banner, footer, .nav__hamburger { display: none !important; }
  body { color: black; background: white; font-size: 12pt; }
  .section { padding: 2rem 0; break-inside: avoid; }
  .hero { padding: 2rem 0; }
  .hero::after { display: none; }
  a { color: black; }
}

/* ---- Page fade transition ---- */
body {
  animation: pageFadeIn 0.35s ease both;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Hero entrance animations ---- */
.hero__badge {
  animation: heroUp 0.65s var(--ease) 0.05s both;
}
.hero__title {
  animation: heroUp 0.7s var(--ease) 0.15s both;
}
.hero__sub {
  animation: heroUp 0.7s var(--ease) 0.25s both;
}
.hero__actions {
  animation: heroUp 0.7s var(--ease) 0.35s both;
}
.hero__stats {
  animation: heroUp 0.7s var(--ease) 0.45s both;
}
.hero__visual {
  animation: heroUp 0.8s var(--ease) 0.2s both;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Page hero entrance ---- */
.page-hero h1 {
  animation: heroUp 0.7s var(--ease) 0.1s both;
}
.page-hero .eyebrow {
  animation: heroUp 0.6s var(--ease) 0.0s both;
}
.page-hero p {
  animation: heroUp 0.7s var(--ease) 0.2s both;
}

/* ---- Number counter shimmer on proof bar ---- */
.proof-item__num {
  position: relative;
}

/* ---- Bento label polish ---- */
.bento__label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 0 1.5rem;
  line-height: 1.5;
}

/* ---- Tooltip / micro-copy on pricing ---- */
.pricing-cta-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-ink-3);
  margin-top: 0.875rem;
  line-height: 1.5;
}

/* ---- Active nav indicator fix ---- */
.nav__link--active::after {
  width: 100%;
  background: var(--c-accent);
}

/* ---- Smooth image/visual placeholder shimmer ---- */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ---- Form required asterisk ---- */
.form-required {
  color: var(--c-accent);
  font-size: 0.75rem;
  margin-left: 0.1rem;
}

/* ---- Thank-you page ---- */
.thankyou-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
}

.thankyou-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(92, 122, 50, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--c-green);
  animation: popIn 0.5s var(--ease) both;
}

@keyframes popIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.thankyou-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  animation: heroUp 0.7s var(--ease) 0.15s both;
}

.thankyou-page p {
  font-size: 1.0625rem;
  color: var(--c-ink-2);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: heroUp 0.7s var(--ease) 0.25s both;
}

.thankyou-page .btn {
  animation: heroUp 0.7s var(--ease) 0.35s both;
}

/* ---- Subtle focus ring on cards/interactive ---- */
.bento__item:focus-visible,
.portfolio-item:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* ---- Responsive 3-col values grid ---- */
@media (max-width: 800px) {
  .about-values-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   Design Enhancement Pass v2
   ============================================ */

/* ---- Additional accent colour ---- */
:root {
  --c-accent-2:       #3A6B9E;
  --c-accent-2-dark:  #2D5480;
  --c-accent-2-light: rgba(58, 107, 158, 0.08);
}

/* ---- Hero: richer gradient background ---- */
.hero {
  background: linear-gradient(158deg, var(--c-surface) 50%, var(--c-surface-off) 100%);
}

/* ---- Section backgrounds with subtle radial depth ---- */
.section--off {
  background-image: radial-gradient(ellipse 65% 55% at 12% 48%, rgba(184,117,43,0.048) 0%, transparent 65%);
}
.section--warm {
  background-image: radial-gradient(ellipse 65% 55% at 88% 52%, rgba(184,117,43,0.06) 0%, transparent 65%);
}

/* ---- CTA banner: richer gradient ---- */
.cta-banner {
  background: linear-gradient(140deg, var(--c-navy) 0%, #3A2010 55%, #2C1A08 100%);
}

/* ---- Card depth: subtle shadows + accent borders ---- */
.pricing-card:not(.pricing-card--popular) {
  border-top: 2.5px solid var(--c-border-mid);
  box-shadow: 0 2px 16px rgba(44,26,9,0.055), 0 0 0 1px rgba(160,110,56,0.06);
}
.pricing-card--popular {
  border-top: 2.5px solid var(--c-accent);
}
.testi-card {
  box-shadow: 0 2px 14px rgba(44,26,9,0.055);
}
.testi-card--featured {
  box-shadow: 0 4px 24px rgba(44,26,9,0.08);
}
.bento__item {
  box-shadow: 0 2px 10px rgba(44,26,9,0.045);
}
.portfolio-item {
  box-shadow: 0 2px 14px rgba(44,26,9,0.055);
}

/* ---- Logo pill hover: clean card effect ---- */
.logo-pill {
  padding: 0.375rem 0.85rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease);
}
.logo-pill:hover {
  background: var(--c-surface);
  border-color: var(--c-border-mid);
  opacity: 1;
  box-shadow: 0 3px 10px rgba(44,26,9,0.06);
}

/* ---- Form: amber focus ring ---- */
.form-input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(184,117,43,0.12);
}

/* ---- Why-feature icon: accent-2 variant ---- */
.why-feature:nth-child(2) .why-feature__icon,
.why-feature:nth-child(4) .why-feature__icon {
  background: var(--c-accent-2-light);
  color: var(--c-accent-2);
}

/* ---- Service row: left accent on hover ---- */
.service-row {
  border-left: 2.5px solid transparent;
  transition: background var(--t-fast), padding var(--t-fast), border-color var(--t-fast);
}
.service-row:hover {
  border-left-color: var(--c-accent);
}

/* ---- Eyebrow: accent-2 on alternating sections ---- */
.section--warm .eyebrow,
.section--navy .eyebrow {
  color: var(--c-accent);
}

/* ====================================================
   Realistic Browser Mockup (replaces skeleton bars)
   ==================================================== */

.mockup__body--site {
  padding: 0;
  overflow: hidden;
}

/* Mini navigation bar */
.mockup__sitenav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--c-ink);
  padding: 0.55rem 0.9rem;
}
.mockup__sitenav-logo {
  width: 46px; height: 8px;
  background: rgba(255,255,255,0.82);
  border-radius: 2px;
}
.mockup__sitenav-links {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}
.mockup__sitenav-link {
  width: 20px; height: 5px;
  background: rgba(255,255,255,0.28);
  border-radius: 2px;
}
.mockup__sitenav-btn {
  width: 34px; height: 13px;
  background: var(--c-accent);
  border-radius: 3px;
  margin-left: 0.35rem;
}

/* Mini hero layout */
.mockup__sitehero {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 0.75rem;
  padding: 0.9rem;
  background: linear-gradient(138deg, var(--c-surface-off) 52%, var(--c-surface-warm) 100%);
  align-items: end;
  min-height: 108px;
}

.mockup__eyebrow-pill {
  width: 52px; height: 6px;
  background: var(--c-accent);
  border-radius: 100px;
  margin-bottom: 0.5rem;
  opacity: 0.65;
}
.mockup__site-h1 {
  height: 11px;
  background: var(--c-ink);
  border-radius: 3px;
  margin-bottom: 0.3rem;
}
.mockup__site-h1--full { width: 100%; }
.mockup__site-h1--short { width: 74%; opacity: 0.72; margin-bottom: 0.58rem; }
.mockup__site-sub {
  height: 5px;
  background: var(--c-ink-3);
  border-radius: 2px;
  margin-bottom: 0.3rem;
}
.mockup__site-sub--full { width: 100%; }
.mockup__site-sub--short { width: 80%; margin-bottom: 0.7rem; }
.mockup__site-cta {
  width: 60px; height: 17px;
  background: var(--c-accent);
  border-radius: 4px;
}

/* Bar chart */
.mockup__chart-wrap {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 86px;
  padding: 0.45rem 0.45rem 0;
  background: white;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.mockup__bar-col {
  flex: 1;
  background: rgba(184,117,43,0.22);
  border-radius: 2px 2px 0 0;
}
.mockup__bar-col--hi  { background: var(--c-accent); }
.mockup__bar-col--blu { background: rgba(58,107,158,0.38); }

/* Stats strip */
.mockup__stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}
.mockup__stat-cell {
  padding: 0.44rem 0.7rem;
  border-right: 1px solid var(--c-border);
}
.mockup__stat-cell:last-child { border-right: none; }
.mockup__stat-cell--hi { background: rgba(184,117,43,0.05); }
.mockup__stat-n {
  width: 36px; height: 8px;
  background: var(--c-ink);
  border-radius: 2px;
  margin-bottom: 0.22rem;
}
.mockup__stat-l {
  width: 26px; height: 4px;
  background: var(--c-ink-3);
  border-radius: 2px;
}

/* ---- Responsive overrides ---- */
@media (max-width: 800px) {
  .service-row { border-left: none; }
}

/* ============================================
   Work Showcase Section (replaces bento grid)
   ============================================ */
.work-showcase {
  padding: var(--section-pad) 0;
  background: var(--c-navy-deep);
  position: relative;
  overflow: hidden;
}
.work-showcase::before {
  content: '';
  position: absolute;
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(196,112,32,0.09) 0%, transparent 65%);
  top: -250px; right: -200px;
  border-radius: 50%;
  pointer-events: none;
}
.work-showcase::after {
  content: '';
  position: absolute;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(58,107,158,0.06) 0%, transparent 65%);
  bottom: -150px; left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.work-showcase__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.work-showcase__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.875rem;
}
.work-showcase__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.work-showcase__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.46);
  margin-top: 0.5rem;
  max-width: 380px;
  line-height: 1.6;
}

/* Work cards grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.work-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
  will-change: transform;
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.38), 0 0 0 1px rgba(196,112,32,0.28);
  border-color: rgba(196,112,32,0.22);
}

.work-card__preview {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.work-card__preview svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-card__preview svg {
  transform: scale(1.04);
}

.work-card__info {
  padding: 1.375rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.work-card__cat {
  display: inline-block;
  font-size: 0.695rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(196,112,32,0.12);
  border: 1px solid rgba(196,112,32,0.22);
  border-radius: 100px;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.625rem;
}
.work-card__name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.work-card__desc {
  font-size: 0.8375rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.62;
  margin-bottom: 1.125rem;
}
.work-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 0.875rem;
  gap: 0;
}
.work-card__metric { text-align: center; }
.work-card__metric:first-child { text-align: left; }
.work-card__metric:last-child  { text-align: right; }
.work-card__metric + .work-card__metric {
  border-left: 1px solid rgba(255,255,255,0.07);
  padding-left: 0.5rem;
}
.work-card__metric-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1;
  margin-bottom: 0.22rem;
}
.work-card__metric-label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card__preview { height: 195px; }
}

/* ============================================
   Stripe Integration
   ============================================ */

/* Stripe block inside pricing cards */
.stripe-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
}
.pricing-card--popular .stripe-block {
  border-top-color: rgba(255,255,255,0.12);
}
.stripe-block__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-ink-3);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.pricing-card--popular .stripe-block__label {
  color: rgba(255,255,255,0.40);
}
.stripe-block stripe-buy-button {
  display: block;
  width: 100%;
}

/* Stripe deposit grid on contact page */
.stripe-deposit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.stripe-deposit-card {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  padding: 1.75rem;
  position: relative;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.stripe-deposit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(44, 26, 9, 0.09);
}
.stripe-deposit-card--featured {
  background: var(--c-navy);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(44, 26, 9, 0.24);
  transform: scale(1.03);
}
.stripe-deposit-card--featured:hover {
  transform: scale(1.03) translateY(-3px);
  box-shadow: 0 20px 48px rgba(44, 26, 9, 0.30);
}
.stripe-deposit-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--c-accent);
  color: white;
  padding: 0.22rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}
.stripe-deposit-card__header {
  margin-bottom: 1.25rem;
}
.stripe-deposit-card__tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.35rem;
}
.stripe-deposit-card--featured .stripe-deposit-card__tier {
  color: rgba(255,255,255,0.45);
}
.stripe-deposit-card__amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.stripe-deposit-card__amount span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-ink-3);
}
.stripe-deposit-card--featured .stripe-deposit-card__amount { color: white; }
.stripe-deposit-card--featured .stripe-deposit-card__amount span { color: rgba(255,255,255,0.42); }
.stripe-deposit-card__note {
  font-size: 0.78rem;
  color: var(--c-ink-3);
  line-height: 1.5;
}
.stripe-deposit-card--featured .stripe-deposit-card__note { color: rgba(255,255,255,0.35); }
.stripe-deposit-card stripe-buy-button {
  display: block;
  width: 100%;
}

@media (max-width: 800px) {
  .stripe-deposit-grid {
    grid-template-columns: 1fr;
  }
  .stripe-deposit-card--featured { transform: none; }
  .stripe-deposit-card--featured:hover { transform: translateY(-3px); }
}

/* ============================================
   Examples Page
   ============================================ */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.example-card {
  border-radius: var(--r-xl);
  overflow: visible;
  cursor: pointer;
  will-change: transform;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s var(--ease);
}
.example-card:hover {
  box-shadow: 0 36px 80px rgba(44, 26, 9, 0.22);
}
.example-card__inner {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: border-color 0.3s ease;
}
.example-card:hover .example-card__inner {
  border-color: transparent;
}
.example-card__visual {
  height: 232px;
  overflow: hidden;
  position: relative;
  background: var(--c-surface-off);
  display: block;
}
.example-card__visual svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.example-card:hover .example-card__visual svg {
  transform: scale(1.05);
}
.example-card__body {
  padding: 1.2rem 1.5rem 1.5rem;
  background: var(--c-surface);
}
.example-card__industry {
  font-size: 0.695rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.3rem;
  display: block;
}
.example-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 0.38rem;
  line-height: 1.3;
}
.example-card__desc {
  font-size: 0.8125rem;
  color: var(--c-ink-3);
  line-height: 1.58;
  margin-bottom: 1.125rem;
}
.example-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.example-card__pkg {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-ink-3);
  background: var(--c-surface-off);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 0.22rem 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.example-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.15s ease;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  white-space: nowrap;
}
.example-card__cta svg { transition: transform 0.2s ease; }
.example-card:hover .example-card__cta { gap: 0.6rem; color: var(--c-accent-dark); }
.example-card:hover .example-card__cta svg { transform: translateX(4px); }

/* Includes grid */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.include-item {
  padding: 1.75rem;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.include-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 26, 9, 0.09);
}
.include-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(184, 117, 43, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--c-accent);
}
.include-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 0.35rem;
}
.include-item__desc {
  font-size: 0.8125rem;
  color: var(--c-ink-3);
  line-height: 1.62;
}

/* Package Matcher */
.pkg-matcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.pkg-match-card {
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.pkg-match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(44, 26, 9, 0.11);
}
.pkg-match-card--popular {
  background: var(--c-navy);
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(44, 26, 9, 0.30);
  transform: scale(1.03);
}
.pkg-match-card--popular:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 26px 56px rgba(44, 26, 9, 0.36);
}
.pkg-match__label {
  font-size: 0.695rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
  display: block;
}
.pkg-match-card--popular .pkg-match__label { color: rgba(255,255,255,0.42); }
.pkg-match__price {
  font-size: 2.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 0.18rem;
}
.pkg-match-card--popular .pkg-match__price { color: white; }
.pkg-match__sub {
  font-size: 0.8rem;
  color: var(--c-ink-3);
  margin-bottom: 1.5rem;
}
.pkg-match-card--popular .pkg-match__sub { color: rgba(255,255,255,0.36); }
.pkg-match__divider {
  height: 1px;
  background: var(--c-border);
  margin-bottom: 1.25rem;
}
.pkg-match-card--popular .pkg-match__divider { background: rgba(255,255,255,0.10); }
.pkg-match__ideal-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 0.75rem;
}
.pkg-match-card--popular .pkg-match__ideal-label { color: rgba(255,255,255,0.35); }
.pkg-match__industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.pkg-match__tag {
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--c-surface-off);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 0.22rem 0.65rem;
  color: var(--c-ink-2);
}
.pkg-match-card--popular .pkg-match__tag {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.72);
}

/* Split-visual image support */
.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.split-visual:hover img { transform: scale(1.04); }

/* Touch / mobile polish */
* { -webkit-tap-highlight-color: transparent; }
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }

@media (hover: none) {
  .btn:hover,
  .btn--primary:hover,
  .btn--dark:hover,
  .btn--ghost:hover,
  .btn--ghost-white:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .example-card { transform: none !important; }
  .include-item:hover { transform: none; }
}

@media (max-width: 900px) {
  .examples-grid { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-matcher { grid-template-columns: 1fr; }
  .pkg-match-card--popular { transform: none; }
  .pkg-match-card--popular:hover { transform: translateY(-4px); }
}

@media (max-width: 560px) {
  .examples-grid { grid-template-columns: 1fr; }
  .example-card__visual { height: 200px; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat__num { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  :root { --section-pad: 3.5rem; }
  .hero { padding: 7rem 0 3rem; }
  .section-header { margin-bottom: 2.5rem; }
  .btn { padding: 0.7rem 1.25rem; font-size: 0.875rem; }
  .page-hero { padding: 8rem 0 3.5rem; }
  .page-hero h1 { font-size: clamp(1.875rem, 8vw, 2.75rem); }
  .proof-bar__inner { gap: 1.25rem; }
  .bento { grid-auto-rows: 155px; }
  .includes-grid { grid-template-columns: 1fr; }
}

