/* =========================
   Hero Section
========================= */
:root {
  --blue: #2f6bff;
  --text: #0f172a;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}


.hero {
  position: relative;
  min-height: min(100vh, 650px);
  padding-top: clamp(72px, 8vh, 110px);
  padding-bottom: clamp(80px, 12vh, 160px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}


/* Force full width inside SWELL main content */
.hero--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


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

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

/* Stitch-style darkening */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,15,15,0.95),
    rgba(15,15,15,0.7),
    rgba(15,15,15,0.4)
  );
}

.hero-dark {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  margin: 0 auto;
  width: 80rem;
  max-width: 80rem;
}


.hero-eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #2b7bb9;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(43,123,185,1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: white;
  margin-bottom: 48px;
}

.hero .accent {
  color: #2b7bb9;
}

.hero-lead {
  max-width: 600px;
  font-size: 18px;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #2b7bb9;
  color: #fff;
  padding: 18px 40px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(43, 123, 185, 0.25);
  text-decoration: none;
}

.btn-primary:hover {
  background: #ffffff;
  color: #0f0f0f;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-stat span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-stats {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-left: 0;
    padding-top: 20px;
  }
}




/* =========================
   End Hero Section
========================= */


/* ===== Services Section ===== */

.services {
  padding: 160px 24px;
  background: #ffffff;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.services-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 80px;
}

.services-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #2b7bb9;
}

.services-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

/* Card */
.service-card {
  border: 1px solid #eeeeee;
  padding: 48px;
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

/* Icon */
.service-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  background: #f2f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

/* Title */
.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Text */
.service-description {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 32px;
}

/* List */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
  position: relative;
  padding-left: 12px;
}

.service-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #2b7bb9;
  position: absolute;
  left: 0;
  top: 7px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services {
    padding: 120px 20px;
  }

  .services-title {
    font-size: 34px;
  }
}
/* ===== End Services Section ===== */


/* ===== Proven Stack Section ===== */

.stack {
  padding: 120px 24px;
  background: rgba(242, 244, 247, 0.6);
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

/* Force full width inside SWELL main content */
.stack--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


.stack-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.stack-header {
  text-align: center;
  margin-bottom: 64px;
}

.stack-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #2b7bb9;
  display: block;
  margin-bottom: 16px;
}

.stack-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Grid */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
  align-items: center;
}

/* Item */
.stack-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stack-item:hover {
  transform: translateY(-4px);
}

/* Icon Container */
.stack-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.stack-item:hover .stack-icon {
  border-color: rgba(43, 123, 185, 0.3);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* Icon image */
.stack-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.stack-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}


/* Label */
.stack-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
}

@media (max-width: 900px) {
  .stack-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 500px) {
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stack {
    padding: 80px 16px;
  }
}

/* ===== End Proven Stack Section ===== */



/* ===== Works / Case Studies ===== */

.works {
  padding: 140px 24px;
  background: #ffffff;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 24px;
}

.works-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #2b7bb9;
  display: block;
  margin-bottom: 12px;
}

.works-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.works-meta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  padding-bottom: 8px;
  border-bottom: 1px solid #eaeaea;
}

/* Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

/* Card */
.work-card {
  transition: transform 0.4s ease;
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}


.work-card:hover {
  transform: translateY(-6px);
}

/* Image */
.work-media {
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 24px;
}

.work-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.work-card:hover img {
  transform: scale(1.05);
}

/* Info */
.work-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.work-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.work-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2b7bb9;
  border: 1px solid rgba(43, 123, 185, 0.25);
  padding: 4px 8px;
}

/* Description */
.work-desc {
  font-size: 12px;
  color: #777;
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 1000px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .works {
    padding: 96px 16px;
  }

  .works-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ===== End Works / Case Studies ===== */



/* ===== Philosophy ===== */

.philosophy {
  padding: 160px 24px;
  background: #ffffff;
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

/* Image side */
.philosophy-image {
  position: relative;
}

.philosophy-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
  z-index: 2;
}

.philosophy-image-frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

/* Decorative blocks */
.philosophy-image-deco-top {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 96px;
  height: 96px;
  background: rgba(43, 123, 185, 0.06);
  z-index: 1;
}

.philosophy-image-deco-bottom {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  border-bottom: 2px solid rgba(43, 123, 185, 0.3);
  border-right: 2px solid rgba(43, 123, 185, 0.3);
  z-index: 1;
}

/* Text side */
.philosophy-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #2b7bb9;
  display: block;
  margin-bottom: 32px;
}

.philosophy-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.philosophy-sub {
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
}

/* Paragraphs */
.philosophy-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 28px;
  font-weight: 300;
}

.philosophy-text strong {
  color: #111;
  font-weight: 700;
}

/* Values */
.philosophy-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  border-top: 1px solid #eee;
  margin-top: 56px;
  padding-top: 40px;
}

.philosophy-number {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.philosophy-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #999;
  font-weight: 800;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .philosophy-image-frame img {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .philosophy {
    padding: 120px 16px;
  }

  .philosophy-title {
    font-size: 32px;
  }

  .philosophy-sub {
    font-size: 26px;
  }

  .philosophy-text p {
    font-size: 15px;
  }

  .philosophy-values {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== End Philosophy ===== */


/* ===== Contact CTA ===== */

.contact-cta {
  position: relative;
  padding: 200px 24px;
  background: #0f0f0f;
  color: #ffffff;
  overflow: hidden;
}

.cta-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Diagonal accent */
.contact-bg-shape {
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: rgba(43, 123, 185, 0.08);
  transform: skewX(-12deg);
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.contact-title {
  font-size: 64px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
}

.contact-title span {
  color: #2b7bb9;
}

/* Lead */
.contact-lead {
  max-width: 720px;
  margin: 0 auto 80px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #bbbbbb;
}

/* Actions */
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Buttons */
.contact-btn {
  display: inline-block;
  padding: 22px 56px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-btn.primary {
  background: #2b7bb9;
  color: #ffffff;
}

.contact-btn.primary:hover {
  background: #ffffff;
  color: #0f0f0f;
}

.contact-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.contact-btn.secondary:hover {
  border-color: #ffffff;
}

@media (max-width: 900px) {
  .contact-title {
    font-size: 48px;
  }

  .contact-lead {
    font-size: 16px;
    margin-bottom: 64px;
  }
}

@media (max-width: 600px) {
  .contact-cta {
    padding: 140px 16px;
  }

  .contact-title {
    font-size: 36px;
  }

  .contact-btn {
    padding: 18px 40px;
    letter-spacing: 0.2em;
  }
}




/*  ===== End Contact CTA ===== */




/* ===== Work Details Page ===== */

.work-custom-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.work-custom-title {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.work-custom-thumb img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 40px;
}

.work-custom-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 50px;
  opacity: 0.85;
}

/* ===== End Work Details Page ===== */