*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:#ffffff;color:#172033;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
img{max-width:100%;display:block;}
a{color:inherit;}
button,a{-webkit-tap-highlight-color:transparent;}

:root{
  --primary:#159A7A;
  --primary-dark:#0F765F;
  --primary-light:#EAF8F3;

  --blue:#1683C4;
  --blue-light:#EEF7FC;

  --orange:#F28C28;
  --orange-light:#FFF3E8;

  --accent-soft-blue:#F1F8FC;
  --accent-soft-orange:#FFF7EE;

  --text:#172033;
  --text-light:#5F6B7A;
  --muted:#7A8492;

  --background:#ffffff;
  --surface:#F6F8F9;
  --surface-green:#F0FAF6;
  --surface-blue:#F3F8FB;

  --border:#E3E8EB;
  --border-strong:#D5DDE1;

  --shadow:0 18px 50px rgba(23,32,51,0.07);
  --shadow-soft:0 8px 28px rgba(23,32,51,0.05);

  --radius:20px;
  --radius-large:28px;

  --container:1120px;
}

.container{
  width:min(calc(100% - 40px),var(--container));
  margin-inline:auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.96);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand{
  display:inline-flex;
  align-items:center;
  color:var(--text);
  text-decoration:none;
}

.brand-logo{
  display:block;
  width:118px;
  height:auto;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:28px;
}

.main-nav a{
  color:var(--text-light);
  text-decoration:none;
  font-size:0.94rem;
  font-weight:650;
  transition:color 0.2s ease;
}

.main-nav a:hover{
  color:var(--primary);
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding:105px 0 115px;
  background:
    radial-gradient(
      circle at 86% 20%,
      rgba(21,154,120,0.10),
      transparent 31%
    ),
    radial-gradient(
      circle at 14% 40%,
      rgba(8,125,184,0.05),
      transparent 28%
    ),
    #ffffff;
}

.hero-inner{
  display:flex;
  align-items:center;
}

.hero-content{
  max-width:850px;
}

.eyebrow{
  margin:0 0 16px;
  color:var(--primary);
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.14em;
  text-transform:uppercase;
}

.hero h1{
  margin:0;
  max-width:900px;
  color:var(--text);
  font-size:clamp(2.8rem,7vw,5.3rem);
  line-height:1.02;
  letter-spacing:-0.055em;
  font-weight:800;
}

.hero h1 span{
  display:block;
  position:relative;
  width:fit-content;
  color:var(--primary);
}

/* Orange accent under the main brand statement */
.hero h1 span::after{
  content:"";
  display:block;
  width:58px;
  height:5px;
  margin-top:12px;
  border-radius:999px;
  background:var(--orange);
}

.hero-description{
  max-width:700px;
  margin:30px 0 0;
  color:var(--text-light);
  font-size:clamp(1.05rem,2vw,1.25rem);
  line-height:1.75;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:36px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:12px;
  text-decoration:none;
  font-size:0.95rem;
  font-weight:700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover{
  transform:translateY(-2px);
}

.button-primary{
  color:#ffffff;
  background:var(--primary);
  box-shadow:0 10px 25px rgba(21,154,120,0.18);
}

.button-primary:hover{
  background:var(--primary-dark);
  box-shadow:0 13px 30px rgba(21,154,120,0.22);
}

.button-secondary{
  color:var(--primary);
  background:#ffffff;
  border:1px solid rgba(21,154,120,0.35);
}

.button-secondary:hover{
  color:var(--primary-dark);
  border-color:rgba(21,154,120,0.60);
  box-shadow:0 8px 20px rgba(21,154,120,0.08);
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading{
  max-width:720px;
  margin-bottom:50px;
}

.section-heading h2{
  margin:0;
  color:var(--text);
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.1;
  letter-spacing:-0.04em;
  font-weight:800;
}

.section-heading>p:last-child{
  margin:18px 0 0;
  color:var(--text-light);
  font-size:1.08rem;
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects-section{
  padding:105px 0 120px;
  background:var(--surface);
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

/* =========================================================
   PROJECT CARD
   ========================================================= */

.project-card{
  position:relative;
  overflow:hidden;
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 8px 30px rgba(23,32,51,0.035);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-card::before{
  content:"";
  position:absolute;
  top:0;
  left:24px;
  right:24px;
  height:2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(21,154,120,0.45),
      transparent
    );
  opacity:0;
  transition:opacity 0.25s ease;
}

.project-card:hover::before{
  opacity:1;
}

.project-card:hover{
  transform:translateY(-5px);
  border-color:#D8E5E1;
  box-shadow:var(--shadow);
}

/* =========================================================
   PROJECT COLOR ACCENTS
   ========================================================= */

/* 01 — FitSpend */
.project-card:nth-child(1) .project-category,
.project-card:nth-child(1) .project-link{
  color:var(--primary);
}

.project-card:nth-child(1)::before{
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(21,154,122,0.55),
      transparent
    );
}

/* 02 — 20words */
.project-card:nth-child(2) .project-category,
.project-card:nth-child(2) .project-link{
  color:var(--blue);
}

.project-card:nth-child(2)::before{
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(22,131,196,0.60),
      transparent
    );
}

.project-card:nth-child(2) .project-link:hover{
  color:#0F6FA8;
}

/* 03 — Content Project */
.project-card:nth-child(3) .project-category,
.project-card:nth-child(3) .project-link{
  color:var(--orange);
}

.project-card:nth-child(3)::before{
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(242,140,40,0.60),
      transparent
    );
}

.project-card:nth-child(3) .project-link:hover{
  color:#D86F12;
}

/* 04 — Ibtikary Store */
.project-card:nth-child(4) .project-category,
.project-card:nth-child(4) .project-link{
  color:var(--primary);
}

.project-card:nth-child(4)::before{
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(21,154,122,0.55),
      transparent
    );
}

/* =========================================================
   PROJECT VISUAL
   ========================================================= */

.project-visual{
  height:165px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.project-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255,255,255,0.62),
      transparent 55%
    );
  pointer-events:none;
}

/* =========================================================
   PROJECT LOGOS
   ========================================================= */

.project-logo{
  position:relative;
  z-index:1;
  display:block;
  width:auto;
  max-width:48%;
  max-height:82px;
  object-fit:contain;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.project-card:hover .project-logo{
  transform:scale(1.025);
}

/* =========================================================
   FITSPEND
   ========================================================= */

.fitspend-visual{
  background:
    linear-gradient(
      135deg,
      #EEF9F5,
      #E3F4EE
    );
}

.project-logo-fitspend{
  max-width:44%;
  max-height:82px;
}

/* =========================================================
   20WORDS
   ========================================================= */

.words-visual{
  background:
    linear-gradient(
      135deg,
      #F0F8FB,
      #E8F4F8
    );
}

.project-logo-20words{
  max-width:42%;
  max-height:82px;
}

/* =========================================================
   CONTENT PROJECT
   ========================================================= */

.content-visual{
  background:
    linear-gradient(
      135deg,
      #F0FAF6,
      #EAF7F2
    );
}

.project-logo-content{
  max-width:46%;
  max-height:82px;
}

/* =========================================================
   IBTIKARY STORE
   ========================================================= */

.store-visual{
  background:
    linear-gradient(
      135deg,
      #FFF7EE,
      #F8F5F0
    );
}

.project-logo-store{
  max-width:48%;
  max-height:82px;
}

/* =========================================================
   PROJECT CONTENT
   ========================================================= */

.project-content{
  padding:30px;
}

.project-category{
  margin:0 0 9px;
  color:var(--primary);
  font-size:0.76rem;
  font-weight:800;
  letter-spacing:0.11em;
  text-transform:uppercase;
}

.project-content h3{
  margin:0;
  color:var(--text);
  font-size:1.65rem;
  line-height:1.2;
  letter-spacing:-0.025em;
}

.project-content>p:not(.project-category){
  margin:15px 0 24px;
  color:var(--text-light);
  font-size:0.98rem;
  line-height:1.75;
}

.project-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--primary);
  text-decoration:none;
  font-size:0.94rem;
  font-weight:750;
  transition:color 0.2s ease;
}

.project-link span{
  transition:transform 0.2s ease;
}

.project-link:hover span{
  transform:translateX(4px);
}

.project-link:hover{
  color:var(--primary-dark);
  text-decoration:underline;
  text-underline-offset:4px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section{
  padding:120px 0;
  background:#ffffff;
}

.about-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:90px;
  align-items:start;
}

.about-heading h2{
  margin:0;
  color:var(--text);
  font-size:clamp(2.1rem,4vw,3.5rem);
  line-height:1.08;
  letter-spacing:-0.045em;
}

.about-content{
  max-width:650px;
}

.about-content p{
  margin:0 0 24px;
  color:var(--text-light);
  font-size:1.05rem;
  line-height:1.8;
}

.about-content .large-text{
  color:var(--text);
  font-size:1.4rem;
  line-height:1.65;
  font-weight:600;
}

/* =========================================================
   WHAT WE BUILD
   ========================================================= */

.build-section{
  padding:110px 0;
  background:var(--surface);
}

.build-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--border);
}

.build-item{
  padding:35px 30px 15px;
  border-right:1px solid var(--border);
}

.build-item:first-child{
  padding-left:0;
}

.build-item:last-child{
  border-right:0;
}

.build-number{
  display:block;
  margin-bottom:24px;
  color:var(--primary);
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.12em;
}

.build-item:nth-child(2) .build-number{
  color:var(--blue);
}

.build-item:nth-child(3) .build-number{
  color:var(--orange);
}

.build-item h3{
  margin:0;
  color:var(--text);
  font-size:1.35rem;
}

.build-item p{
  max-width:300px;
  margin:13px 0 0;
  color:var(--text-light);
  font-size:0.96rem;
  line-height:1.7;
}

/* =========================================================
   APPROACH
   ========================================================= */

.approach-section{
  padding:120px 0;
  background:#ffffff;
}

.approach-card{
  padding:55px;
  border-radius:var(--radius-large);
  background:
    linear-gradient(
      135deg,
      #EFFAF6,
      #F7FBF9
    );
  border:1px solid #DCEDE7;
}

.approach-intro{
  max-width:720px;
}

.approach-intro h2{
  margin:0;
  color:var(--text);
  font-size:clamp(2.1rem,4vw,3.4rem);
  line-height:1.08;
  letter-spacing:-0.045em;
}

.approach-intro>p:last-child{
  max-width:650px;
  margin:20px 0 0;
  color:var(--text-light);
  font-size:1.08rem;
  line-height:1.75;
}

.approach-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-top:55px;
  padding-top:30px;
  border-top:1px solid rgba(21,154,120,0.16);
}

.approach-step span{
  display:block;
  margin-bottom:18px;
  color:var(--primary);
  font-size:0.76rem;
  font-weight:800;
  letter-spacing:0.1em;
}

/* Approach colors */
.approach-step:nth-child(2) span{
  color:var(--blue);
}

.approach-step:nth-child(3) span{
  color:var(--orange);
}

.approach-step:nth-child(4) span{
  color:var(--primary);
}

.approach-step strong{
  display:block;
  color:var(--text);
  font-size:1.05rem;
}

.approach-step p{
  margin:8px 0 0;
  color:var(--text-light);
  font-size:0.9rem;
  line-height:1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  padding:55px 0 30px;
  background:#F0FAF6;
  color:var(--text);
  border-top:1px solid #DCEDE7;
}

.footer-inner{
  display:grid;
  grid-template-columns:1fr auto;
  gap:35px;
}

.footer-brand strong{
  color:var(--primary);
  font-size:1.3rem;
  letter-spacing:-0.02em;
}

.footer-brand p{
  margin:8px 0 0;
  color:var(--text-light);
  font-size:0.94rem;
}

.footer-links{
  display:flex;
  align-items:flex-start;
  gap:24px;
}

.footer-links a{
  color:var(--primary-dark);
  text-decoration:none;
  font-size:0.9rem;
  font-weight:700;
  transition:color 0.2s ease;
}

.footer-links a:hover{
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:4px;
}

.footer-links a:last-child:hover{
  color:var(--orange);
}

.footer-bottom{
  grid-column:1 / -1;
  padding-top:25px;
  border-top:1px solid rgba(21,154,120,0.18);
}

.footer-bottom p{
  margin:0;
  color:#687581;
  font-size:0.82rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:900px){

  .hero{
    padding:80px 0 90px;
  }

  .projects-grid{
    grid-template-columns:1fr;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:35px;
  }

  .build-grid{
    grid-template-columns:1fr;
  }

  .build-item,
  .build-item:first-child{
    padding:28px 0;
    border-right:0;
    border-bottom:1px solid var(--border);
  }

  .build-item:last-child{
    border-bottom:0;
  }

  .approach-steps{
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:35px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:650px){

  .container{
    width:min(
      calc(100% - 32px),
      var(--container)
    );
  }

  .header-inner{
    min-height:68px;
  }

  .brand-logo{
    width:78px;
  }

  .main-nav{
    gap:16px;
  }

  .main-nav a{
    font-size:0.82rem;
  }

  .hero{
    padding:70px 0 75px;
  }

  .hero h1{
    font-size:clamp(2.5rem,13vw,4rem);
  }

  .hero-description{
    font-size:1rem;
  }

  .hero-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .button{
    width:100%;
  }

  .projects-section,
  .about-section,
  .build-section,
  .approach-section{
    padding:80px 0;
  }

  .project-visual{
    height:135px;
  }

  .project-logo{
    max-width:42%;
    max-height:68px;
  }

  .project-logo-fitspend{
    max-width:42%;
    max-height:68px;
  }

  .project-logo-20words{
    max-width:40%;
    max-height:68px;
  }

  .project-logo-content{
    max-width:44%;
    max-height:68px;
  }

  .project-logo-store{
    max-width:46%;
    max-height:68px;
  }

  .project-content{
    padding:25px;
  }

  .project-content h3{
    font-size:1.5rem;
  }

  .section-heading{
    margin-bottom:35px;
  }

  .approach-card{
    padding:32px 24px;
  }

  .approach-steps{
    grid-template-columns:1fr;
    gap:28px;
    margin-top:40px;
  }

  .footer-inner{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer-links{
    flex-wrap:wrap;
    gap:14px 20px;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible{
  outline:3px solid rgba(21,154,120,0.35);
  outline-offset:4px;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    transition:none !important;
  }
}
