/* ============================================
   GEV DESIGN — Portfolio CSS
   Matching Squarespace layout & proportions
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: 700;
}


/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
  transition: color 0.2s;
  padding: 8px 0;
}

.nav-links > li > a:hover {
  color: #000;
}

/* Dropdown */
.nav-dropdown-toggle {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
  cursor: pointer;
  padding: 8px 0;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover {
  color: #000;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  min-width: 340px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.dropdown-parent:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 24px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #333;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: #fdf0e0;
  color: #1a1a1a;
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 0; }

.nav-hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}


/* ============================================
   HOMEPAGE HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #fff;
  overflow: hidden;
  margin-top: 0;
}

/* Interactive hero — pencil cursor scoped to hero only */
.hero--interactive {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='translate(2 2)'%3E%3Cpath d='M20.5 1.5l6 6-16 16-6 1 1-6z' fill='%23f0a030' stroke='%231a1a1a' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M18 4l6 6' stroke='%231a1a1a' stroke-width='1.5'/%3E%3Cpath d='M4.5 24.5l3-1-2-2z' fill='%231a1a1a'/%3E%3C/g%3E%3C/svg%3E") 2 30, auto;
}

.hero--interactive a,
.hero--interactive button {
  cursor: pointer;
}

.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* UX Designer badge — top right, with padding so it clears the nav */
.hero-badge {
  position: absolute;
  z-index: 3;
  top: 120px;
  right: 48px;
  background: #fff;
  padding: 16px 28px;
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  animation: heroBadgeFloat 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-badge span:first-child {
  font-size: 1.7rem;
  font-weight: 700;
  color: #3aadd1;
}

.hero-badge span:last-child {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

@keyframes heroBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Content above particle canvas handled in .hero-content rule below */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 580px;
  padding: 80px 24px 0;
  margin-right: auto;
  margin-left: max(80px, calc(50% - 520px));
}

.hero-content h1 {
  color: #fff;
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #E07D19, #f0a030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 4px 4px 0;
  display: inline-block;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 16px 42px;
  background: #fff;
  color: #1a1a1a;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
}

.btn-blue {
  background: #3aadd1;
  color: #fff;
  border: 2px solid #3aadd1;
  border-radius: 4px;
}

.btn-blue:hover {
  background: #2e97b8;
  border-color: #2e97b8;
  color: #fff;
}

.btn-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-large {
  padding: 18px 52px;
  font-size: 1.15rem;
}


/* ============================================
   HOMEPAGE — MY WORK SECTIONS
   Squarespace-style: full-width rows,
   side-by-side image + text, alternating
   ============================================ */
.my-work-heading {
  text-align: left;
  padding: 0 24px 32px;
  font-size: 3.2rem;
  font-weight: 400;
  color: #3aadd1;
  margin: 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Scroll Arrow --- */
.scroll-arrow {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  margin: -60px 0 0;
  padding-right: calc(50% - 500px);
  animation: bounceArrow 2s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 80px;
  height: auto;
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(16px);
  }
}

/* --- Sections Wrap — page background behind cards --- */
.sections-wrap {
  background: #f0f0f0;
  padding: 60px 24px 24px;
}

/* --- Card Sections — rounded containers --- */
.card-section {
  max-width: 1400px;
  margin: 0 auto 24px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08), 0 12px 80px rgba(0, 0, 0, 0.06);
}

.card-section--dark {
  background: #1a1a2e;
}

.card-section--white {
  background: #fff;
}

.card-section--cta {
  background: #1a1a2e;
}

/* Reset work-section inside cards */
.card-section .work-section {
  min-height: 624px;
}

/* Reset humanize inside card */
.card-section .humanize-section {
  margin: 0 auto;
  padding: 100px 40px;
}

/* Reset bottom-cta inside card */
.card-section .bottom-cta {
  margin-top: 0;
  background: transparent;
  padding: 80px 24px;
}

.work-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 624px;
  position: relative;
  overflow: hidden;
}

/* Direction classes — explicit control via HTML order */
.work-section--img-left {
  flex-direction: row;
}

.work-section--img-right {
  flex-direction: row;
}

.work-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.work-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for sections with bg images */
.work-section--dark .work-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.work-section-image {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  max-width: 680px;
}

.work-section-image img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
}

/* Full-bleed image variant (Unified Viking) — image to halfway */
.work-section--fullbleed .work-section-image {
  flex: 0 0 50%;
  padding: 0;
  max-width: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
}

.work-section--fullbleed .work-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.work-section--fullbleed .work-section-text {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 48px 60px 48px;
}

.work-section-text {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  max-width: 560px;
}

.work-section-text h3 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.work-section-text h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 32px;
}

.work-section-text .btn-view-project {
  display: inline-block;
  padding: 16px 42px;
  background: #3aadd1;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s;
}

.work-section-text .btn-view-project:hover {
  background: #2e97b8;
}

/* Dark section text colors */
.work-section--dark .work-section-text h3 {
  color: #fff;
}

.work-section--dark .work-section-text h4 {
  color: rgba(255, 255, 255, 0.85);
}

/* Viking — same treatment as other dark sections */
.work-section--viking {
  background: transparent;
}

/* Dark section fallback bg colors — handled by card-section */
.work-section--strategic {
  background: transparent;
}

.work-section--widget {
  background: transparent;
}

.work-section--hilton {
  background: transparent;
}


/* ============================================
   HOMEPAGE — HUMANIZE / BOTTOM SECTIONS
   ============================================ */
.humanize-section {
  text-align: center;
  padding: 120px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.humanize-section h2 {
  font-size: 3.6rem;
  margin-bottom: 32px;
}

.humanize-section h2 em {
  background: linear-gradient(135deg, #E07D19, #f0a030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.humanize-section p {
  font-size: 1.45rem;
  max-width: 900px;
  margin: 0 auto 28px;
  line-height: 1.85;
}

.humanize-section img {
  max-width: 100%;
  width: 1125px;
  margin: 40px auto;
}

.humanize-section .process-mobile {
  display: none;
}

.humanize-section .process-desktop {
  display: block;
}

.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: #f7f7f7;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}


/* ============================================
   CASE STUDY PAGES — HERO
   ============================================ */
.case-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  margin-top: 80px;
  background: #7ea9cf;
}

.case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Per-page hero background colors (match each hero image edge) */
.case-hero--viking { background: #7ea9cf; }
.case-hero--strategic { background: #C2E6F7; }
.case-hero--widget { background: #5BB6E9; }
.case-hero--hilton { background: #F9F4DA; }


/* ============================================
   CASE STUDY PAGES — CONTENT
   ============================================ */
.case-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.case-content h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.case-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3aadd1;
  margin-bottom: 16px;
}

.case-subtitle {
  font-size: 1.15rem;
  color: #777;
  margin-bottom: 32px;
  font-style: italic;
}

.case-meta {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e5e5;
}

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

.case-meta-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
}

.case-meta-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1a1a1a;
}

.case-content h2 {
  font-size: 1.8rem;
  margin-top: 56px;
  margin-bottom: 16px;
}

.case-content h3 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.case-content h4 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.case-content p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.case-content ul {
  margin: 12px 0 20px 24px;
  list-style: disc;
}

.case-content ul li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 8px;
}

.case-content hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 48px 0;
}


/* --- Case Study Images --- */
.case-image {
  margin: 32px 0;
}

.case-image img {
  width: 100%;
  border-radius: 4px;
}

/* Image in a container/card block (keep this nice look from GitHub version) */
.case-image-block {
  margin: 32px 0;
  background: #fafafa;
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-bleed image — breaks out of case-content max-width */
.case-image-fullbleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  margin-top: 48px;
  margin-bottom: 48px;
}

.case-image-fullbleed img {
  width: 100%;
  height: auto;
  display: block;
}

.case-image-block img {
  max-width: 100%;
  border-radius: 4px;
}

/* Full-width image (no container) */
.case-image-full {
  margin: 32px 0;
}

.case-image-full img {
  width: 100%;
  border-radius: 4px;
}


/* --- Side by side images (Existing Designs, etc.) --- */
.image-row {
  display: flex;
  gap: 24px;
  margin: 32px 0;
  align-items: stretch;
}

.image-row .image-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.image-row .image-col .image-block {
  background: #fafafa;
  border-radius: 8px;
  padding: 24px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-row .image-col .image-block img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.image-row .image-col .image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
  font-weight: 500;
}

/* Equal-height image row — forces all images to match height */
.image-row--equal {
  align-items: stretch;
}

.image-row--equal .image-block {
  height: 100%;
}

/* Three-column image row */
.image-row--three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.image-row--three .image-col {
  display: flex;
  flex-direction: column;
}

.image-row--three .image-col .image-block {
  background: #fafafa;
  border-radius: 8px;
  padding: 24px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-row--three .image-col .image-block img {
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.image-row--three .image-col .image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
  font-weight: 500;
}


/* --- Problem section side by side --- */
.problem-row {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  align-items: flex-start;
}

.problem-text {
  flex: 1;
}

.problem-text p:last-child {
  margin-bottom: 0;
}

.problem-image {
  flex: 0 0 42%;
  max-width: 42%;
  background: #fafafa;
  border-radius: 8px;
  padding: 20px;
}

.problem-image img {
  width: 100%;
  border-radius: 4px;
  display: block;
}


/* --- Desktop + Mobile side by side (Existing Designs) --- */
/* All three blocks share one fixed height; mobile screenshots match desktop */
.existing-designs-row {
  display: flex;
  gap: 20px;
  margin: 32px 0;
  align-items: stretch;
  height: 720px;
}

.existing-designs-row .design-block {
  background: #fafafa;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.existing-designs-row .design-block--desktop {
  flex: 1.4;
}

.existing-designs-row .design-block--mobile {
  flex: 1;
}

.existing-designs-row .design-block img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  border-radius: 4px;
}



/* --- High-Fidelity Mock grids --- */
.mock-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 40px 0 16px;
}

.mock-grid {
  display: grid;
  gap: 24px;
  margin: 0 0 24px;
  background: #fafafa;
  border-radius: 8px;
  padding: 32px;
}

.mock-grid--two {
  grid-template-columns: 1fr 1fr;
}

.mock-grid--single {
  grid-template-columns: 1fr;
}

.mock-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.mock-cell img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}


/* --- Inspiration row — all in one container --- */
.inspiration-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 32px 0;
  background: #fafafa;
  border-radius: 8px;
  padding: 32px;
}

.inspiration-item {
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.inspiration-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.inspiration-item figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 14px;
  font-weight: 500;
}


/* --- Process Steps --- */
.process-step {
  margin: 48px 0;
}

.process-step h4 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}


/* --- Data Points / Stats --- */
.stats-row {
  display: flex;
  gap: 32px;
  margin: 40px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: #777;
  margin-top: 4px;
}


/* --- Prototype Link --- */
.prototype-link {
  display: block;
  width: fit-content;
  margin: 24px auto;
  padding: 16px 42px;
  background: #3aadd1;
  border: 2px solid #3aadd1;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.prototype-link:hover {
  background: #2e97b8;
  border-color: #2e97b8;
  color: #fff;
}


/* ============================================
   ABOUT PAGE — dimensional creative layout
   ============================================ */
.about-hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 48px 100px;
  background: linear-gradient(135deg, #fafaf7 0%, #f0f4f7 100%);
  overflow: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='translate(2 2)'%3E%3Cpath d='M20.5 1.5l6 6-16 16-6 1 1-6z' fill='%23f0a030' stroke='%231a1a1a' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M18 4l6 6' stroke='%231a1a1a' stroke-width='1.5'/%3E%3Cpath d='M4.5 24.5l3-1-2-2z' fill='%231a1a1a'/%3E%3C/g%3E%3C/svg%3E") 2 30, auto;
}

.about-hero a,
.about-hero button {
  cursor: pointer;
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
  pointer-events: none;
}

.about-hero-inner > * {
  pointer-events: auto;
}

/* Image with layered dimension */
.about-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 20%;
}

/* Decorative floating shapes behind image */
.about-image-deco {
  position: absolute;
  border-radius: 12px;
  z-index: 1;
}

.about-image-deco--1 {
  top: -24px;
  left: -24px;
  width: 140px;
  height: 140px;
  background: #3aadd1;
  opacity: 0.9;
  animation: floatDeco1 6s ease-in-out infinite;
}

.about-image-deco--2 {
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #E07D19, #f0a030);
  opacity: 0.85;
  animation: floatDeco2 7s ease-in-out infinite;
}

@keyframes floatDeco1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10px, 12px) rotate(-6deg); }
}

@keyframes floatDeco2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(12px, -14px) rotate(8deg); }
}

/* Floating badge */
.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: -40px;
  z-index: 3;
  background: #fff;
  padding: 16px 28px;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  animation: floatBadge 5s ease-in-out infinite;
}

.about-image-badge span:first-child {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3aadd1;
}

.about-image-badge span:last-child {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Text side */
.about-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3aadd1;
  margin-bottom: 20px;
}

.about-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  color: #1a1a1a;
}

.about-text h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #E07D19, #f0a030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wave {
  display: inline-block;
  animation: wave 2.5s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(14deg); }
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
  font-weight: 500;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

.about-email {
  color: #3aadd1;
  font-weight: 600;
  border-bottom: 1px solid #3aadd1;
  transition: opacity 0.2s;
}

.about-email:hover {
  opacity: 0.7;
}

.about-signoff {
  font-size: 1.15rem !important;
  font-weight: 600;
  color: #1a1a1a !important;
  margin-top: 8px;
}


/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  max-width: 800px;
  margin: 160px auto 80px;
  padding: 0 40px;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.contact-section a {
  color: #1a1a1a;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.2s;
}

.contact-section a:hover {
  border-color: #1a1a1a;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: left;
}

.contact-form .form-row {
  display: flex;
  gap: 20px;
}

.contact-form .form-row .form-field {
  flex: 1;
}

.contact-form .form-field {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3aadd1;
  background: #fff;
}

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

.contact-form .btn-primary {
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

/* Honeypot — visually hidden but present in DOM for bots */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Status message */
.form-status {
  margin-top: 20px !important;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 1.2em;
}

.form-status--pending { color: #888; }
.form-status--success { color: #2e9e5b; }
.form-status--error { color: #d64545; }

/* Alt contact methods below form */
.contact-alt {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}

.contact-alt p {
  font-size: 1rem !important;
  color: #666;
  margin-bottom: 8px !important;
}

.contact-email-link {
  color: #3aadd1 !important;
  border-bottom-color: #3aadd1 !important;
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #2a6f8a;
  padding: 56px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.52rem;
}

.footer-contact a {
  color: #fff;
  transition: opacity 0.2s;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-contact .divider {
  color: rgba(255, 255, 255, 0.4);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s;
}

.footer-linkedin:hover {
  opacity: 0.8;
}

.footer-linkedin svg {
  width: 30px;
  height: 30px;
}

.footer-copyright {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}


/* ============================================
   CTA BOTTOM SECTION (shared across pages)
   ============================================ */
.bottom-cta {
  text-align: center;
  padding: 100px 24px;
  background: #f7f7f7;
  margin-top: 48px;
}

/* Full-bleed CTA — solid dark fill (replaces old banner image) */
.bottom-cta--fullbleed {
  background: #f0f4f7;
  margin-top: 0;
}

.bottom-cta--fullbleed h2 {
  color: #1a1a1a;
}

.bottom-cta--fullbleed h2 strong {
  color: #3aadd1;
}

.bottom-cta h2 {
  font-size: 3.6rem;
  margin-bottom: 32px;
}

/* White text/button when inside orange CTA card */
.card-section--cta .bottom-cta {
  background: transparent;
  position: relative;
}

.card-section--cta .bottom-cta .work-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.card-section--cta .bottom-cta h2 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.card-section--cta .bottom-cta h2 strong {
  color: #fff;
}

.card-section--cta .bottom-cta .btn-blue {
  background: #3aadd1;
  color: #fff;
  border-color: #3aadd1;
  position: relative;
  z-index: 1;
}

.card-section--cta .bottom-cta .btn-blue:hover {
  background: #2e97b8;
  border-color: #2e97b8;
  color: #fff;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  /* Hide hero badge on mobile — would crowd the text */
  .hero-badge { display: none; }

  /* Sections wrap */
  .sections-wrap {
    padding: 40px 16px 16px;
  }

  /* Contact form stacks on mobile */
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .card-section {
    border-radius: 20px;
    margin-bottom: 16px;
  }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
    gap: 0;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: block;
    z-index: 10000;
  }

  .nav-links > li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links > li > a,
  .nav-dropdown-toggle {
    display: block;
    padding: 20px 0;
    font-size: 1.1rem;
    width: 100%;
  }

  .dropdown-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 12px;
    min-width: auto;
    text-align: center;
    background: #fafafa;
    border-radius: 0;
    width: 100%;
  }

  .nav-dropdown a {
    padding: 14px 0;
    font-size: 0.95rem;
    color: #555;
  }

  /* Hero */
  .hero {
    justify-content: flex-start;
    text-align: left;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  .hero-content {
    padding: 80px 24px 0;
    margin-left: 24px;
    max-width: none;
    z-index: 2;
  }

  .hero-content h1 br {
    display: none;
  }

  .hero-buttons {
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero-buttons .btn-primary {
    width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  /* Scroll arrow centered on mobile */
  .scroll-arrow {
    justify-content: center;
    padding-right: 0;
  }

  /* Work sections */
  .work-section,
  .work-section--img-left,
  .work-section--img-right {
    flex-direction: column;
    min-height: auto;
  }

  /* Force image on top, text below — regardless of HTML order */
  .work-section .work-section-image {
    order: 1;
  }

  .work-section .work-section-bg {
    order: 0;
  }

  .work-section .work-section-text {
    order: 2;
  }

  .work-section-image {
    padding: 40px 24px 20px;
    max-width: 100%;
  }

  .work-section--fullbleed .work-section-image {
    padding: 24px 24px 0;
    max-width: 100%;
    flex: none;
    overflow: hidden;
    align-self: auto;
  }

  .work-section--fullbleed .work-section-image img {
    width: 100%;
    height: auto;
    min-height: auto;
    object-position: center;
  }

  .work-section--fullbleed .work-section-text {
    max-width: 100%;
    flex: none;
    padding: 24px;
  }

  .work-section-text {
    padding: 20px 24px 40px;
    text-align: center;
    max-width: 100%;
  }

  /* Full-width buttons inside card sections */
  .card-section .btn-view-project,
  .card-section .btn-primary {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Case content */
  .case-content {
    padding: 40px 24px 60px;
  }

  /* Image rows */
  .image-row {
    flex-direction: column;
  }

  .image-row--three {
    grid-template-columns: 1fr;
  }

  /* Inspiration stacks on mobile */
  .inspiration-row {
    flex-direction: column;
    gap: 28px;
    padding: 24px;
  }

  /* Mock grids stack on mobile */
  .mock-grid--two {
    grid-template-columns: 1fr;
  }

  /* Problem section stacks on mobile */
  .problem-row {
    flex-direction: column;
    gap: 24px;
  }

  .problem-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  /* Existing designs stack, mobile screens side by side */
  .existing-designs-row {
    flex-direction: column;
    height: auto;
  }

  .existing-designs-row .design-block--desktop {
    height: 300px;
  }

  .existing-designs-row .design-block--mobile {
    height: 400px;
  }

  /* Humanize section mobile */
  .humanize-section {
    padding: 40px 24px;
  }

  .humanize-section h2 {
    font-size: 1.8rem;
  }

  .bottom-cta h2 {
    font-size: 1.8rem;
  }

  .humanize-section p {
    font-size: 1.05rem;
  }

  .humanize-section .process-desktop {
    display: none;
  }

  .humanize-section .process-mobile {
    display: block;
    width: 270px;
    max-width: 80%;
    margin: 32px auto;
  }

  /* About */
  .about-hero {
    padding: 120px 24px 80px;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 500px;
  }

  .about-image-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .about-text h1 {
    font-size: 2.2rem;
  }

  .about-lead {
    font-size: 1.1rem;
  }

  /* Stats */
  .stats-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .hero-content h1 { font-size: 1.8rem; }
  .my-work-heading { font-size: 1.8rem; }
  
  .work-section-text h3 { font-size: 1.4rem; }
  
  .nav-inner { padding: 0 20px; }
  .case-content { padding: 32px 20px 48px; }
}


/* ============================================
   ANIMATIONS — Apple-style staggered reveals
   ============================================ */

/* Base hidden state for all animated elements */
.anim {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children inside card sections */
.anim-delay-1 {
  transition-delay: 0.15s;
}

.anim-delay-2 {
  transition-delay: 0.3s;
}

.anim-delay-3 {
  transition-delay: 0.45s;
}

/* Hero entrance animations (play on load, not scroll) */
.hero-anim-1 {
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s forwards;
}

.hero-anim-2 {
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s forwards;
}

.hero-anim-3 {
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.7s forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav scrolled state */
.nav-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
