:root {
  --cream:  #F3EFE7;
  --ink:    #22201B;
  --teal:   #1E4E5A;
  --teal-deep: #14343D;
  --dark:   #232E2C;
  --sage:   #D9E3DF;
  --sand:   #BE9358;
  --sand-soft: #E9DFCE;
  --sky:    #6FA6C1;
  --white:  #FFFFFF;
  --line:   rgba(34,32,27,.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
::selection { background: var(--teal); color: #fff; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: "Poppins", sans-serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }
.kicker { font-family: "Poppins", sans-serif; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }

.reveal { opacity: 0; transform: translateX(-70px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,.84,.3,1); }
.reveal.in { opacity: 1; transform: none; }

.pill { display: inline-flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 16px; padding: 13px 26px; border-radius: 999px; transition: transform .15s, background .2s, color .2s; }
.pill .d { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; }
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--dark); color: #fff; }
.pill-dark:hover { background: #0f1917; }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: var(--sand-soft); }
.pill-outline { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.65); backdrop-filter: blur(4px); }
.pill-outline:hover { background: rgba(255,255,255,.18); }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: stretch; gap: 12px; padding: 22px 40px 0; transition: transform .45s cubic-bezier(.16,.84,.3,1); }
.nav.nav-hidden { transform: translateY(-135%); }
.logo { display: flex; align-items: center; padding: 0 26px; background: linear-gradient(135deg, #AFD6E2 0%, #6FA6C1 100%); color: #113038; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 20px; border-radius: 14px; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(74,124,150,.34), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .2s ease, box-shadow .3s ease; }
.logo:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(74,124,150,.46), inset 0 1px 0 rgba(255,255,255,.55); }
.navbar { flex: 1; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 12px 12px 30px; }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a { position: relative; font-size: 15.5px; color: #2c2a24; transition: color .2s; }
.navlinks a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16,.84,.3,1); }
.navlinks a:hover { color: var(--teal); }
.navlinks a:hover::after { transform: scaleX(1); }
.nav-phone { font-family: "Poppins", sans-serif; font-size: 15px; color: #2c2a24; margin-right: 4px; }
.nav-phone:hover { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta { font-size: 15px; font-weight: 500; font-family: "Poppins", sans-serif; background: var(--dark); color: #fff; border-radius: 999px; padding: 11px 22px; transition: background .25s ease, transform .25s ease; }
.nav-cta:hover { background: #0f1917; transform: translateY(-1px); }

.nav-dd { position: relative; display: inline-flex; align-items: center; }
.dd-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.caret { font-size: 10px; transition: transform .25s ease; }
.nav-dd:hover .caret, .nav-dd:focus-within .caret { transform: rotate(180deg); }
.dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 16px; opacity: 0; visibility: hidden; transition: opacity .22s ease; z-index: 20; }
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { opacity: 1; visibility: visible; }
.dd-menu-inner { background: #fff; border-radius: 12px; padding: 7px; min-width: 230px; box-shadow: 0 16px 44px rgba(20,32,30,.20); transform: translateY(-6px); transition: transform .24s cubic-bezier(.16,.84,.3,1); }
.nav-dd:hover .dd-menu-inner, .nav-dd:focus-within .dd-menu-inner { transform: translateY(0); }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 15px; color: #2c2a24; transition: background .18s, color .18s; }
.dd-menu a::after { content: none; }
.dd-menu a:hover { background: var(--sage); color: var(--teal); }
@media (max-width: 980px) { .navlinks, .nav-phone { display: none; } }

/* Mobile menu. <details> so it works with JavaScript off, which matters because
   below 980px the inline links are hidden and this is the only route through. */
.mmenu { display: none; position: relative; }
.mmenu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(34,32,27,.22); }
.mmenu > summary::-webkit-details-marker { display: none; }
.mmenu > summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.bars, .bars::before, .bars::after { display: block; width: 19px; height: 2px; background: var(--teal); transition: transform .22s ease, background .22s ease, top .22s ease; }
.bars { position: relative; }
.bars::before { content: ""; position: absolute; top: -6px; }
.bars::after  { content: ""; position: absolute; top: 6px; }
.mmenu[open] .bars { background: transparent; }
.mmenu[open] .bars::before { top: 0; transform: rotate(45deg); }
.mmenu[open] .bars::after  { top: 0; transform: rotate(-45deg); }
.mmenu-panel { position: absolute; right: 0; top: calc(100% + 12px); min-width: 218px; background: #fff; border-radius: 12px; box-shadow: 0 18px 44px rgba(20,52,61,.2); padding: 6px; z-index: 60; }
.mmenu-panel a { display: block; font-family: "Poppins", sans-serif; font-size: 16px; color: var(--teal); padding: 13px 16px; border-radius: 8px; }
.mmenu-panel a:hover, .mmenu-panel a:focus-visible { background: var(--sage); }
@media (max-width: 980px) { .mmenu { display: block; } }
@media (max-width: 420px) { .nav-cta { padding: 11px 15px; font-size: 14px; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; background: url("hero.jpg") center 30%/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,26,30,.55) 0%, rgba(16,26,30,.18) 32%, rgba(16,26,30,.42) 66%, rgba(14,22,26,.88) 100%); pointer-events: none; }
.hero-body { position: relative; z-index: 4; padding: 0 44px 42px; }
.hero-label { color: rgba(255,255,255,.85); font-family: "Poppins", sans-serif; font-weight: 500; font-size: clamp(14px, 1.3vw, 16px); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-title { color: #fff; font-family: "Poppins", sans-serif; font-weight: 500; font-size: clamp(44px, 7.6vw, 104px); line-height: 1; letter-spacing: -.03em; max-width: 16ch; text-shadow: 0 6px 40px rgba(0,0,0,.4); }
.hero-sub { margin-top: 24px; color: rgba(255,255,255,.9); font-size: clamp(17px, 1.8vw, 20px); max-width: 58ch; line-height: 1.6; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-strip { position: relative; z-index: 4; border-top: 1px solid rgba(255,255,255,.22); background: rgba(12,20,24,.42); backdrop-filter: blur(8px); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 44px; }
.strip-item { color: rgba(255,255,255,.9); font-family: "Poppins", sans-serif; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.strip-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); flex: none; }
@media (max-width: 900px) { .strip-grid { grid-template-columns: 1fr 1fr; padding: 20px 22px; } }
@media (max-width: 640px) { .hero-body { padding: 0 22px 34px; } .strip-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- WHO WE WORK WITH ---------- */
.who { background: var(--cream); padding: 84px 0 76px; }
.who h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; max-width: 24ch; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } }
.who-item { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 26px; background: var(--white); }
.who-item h3 { font-size: 18px; font-weight: 500; }
.who-item p { margin-top: 8px; font-size: 14.5px; color: #55524a; line-height: 1.6; }

/* ---------- IT SERVICES (primary) ---------- */
.services { background: var(--dark); padding: 110px 0 120px; }
.services h2 { font-size: clamp(46px, 8vw, 100px); color: #fff; margin-top: 12px; }
.services .intro { margin-top: 20px; font-family: "Poppins", sans-serif; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.74); max-width: 56ch; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; padding: 34px 34px 38px; min-height: 420px; transition: transform .35s cubic-bezier(.16,.84,.3,1), box-shadow .35s ease; }
.svc > *:not(.svc-photo) { position: relative; z-index: 2; }
.svc-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .55s ease, transform 1s cubic-bezier(.16,.84,.3,1); }
/* wash in the card's own colour: keeps the card identity and holds text contrast over the photo */
/* light overall tint ties the photo back to the card colour */
.svc::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity .55s ease;
  background: rgba(var(--card), .20); }
/* the text carries its own backdrop, so it stays legible however long the copy runs */
.svc-body { position: relative; z-index: 2; }
.svc-body::before { content: ""; position: absolute; left: -34px; right: -34px; top: -34px; bottom: -30px; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .55s ease;
  background: linear-gradient(180deg, rgba(var(--card), .97) 0%, rgba(var(--card), .96) 84%, rgba(var(--card), .66) 93%, rgba(var(--card), 0) 100%); }
@media (max-width: 640px) { .svc-body::before { left: -24px; right: -24px; top: -28px; } }
@media (hover: hover) {
  .svc:hover .svc-photo { opacity: 1; transform: none; }
  .svc:hover::after,
  .svc:hover .svc-body::before { opacity: 1; }
  .svc:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(0,0,0,.34); }
}
/* touch devices have no hover, so show the photo rather than hiding it from phones */
@media (hover: none) {
  .svc-photo { opacity: 1; transform: none; }
  .svc::after, .svc-body::before { opacity: 1; }
  .svc { min-height: 430px; }
}
.svc-teal  { background: var(--teal); color: #fff; --card: 30,78,90; }
.svc-cream { background: var(--cream); color: var(--ink); --card: 243,239,231; }
.svc-sand  { background: var(--sand); color: #23201B; --card: 190,147,88; }
.svc-sage  { background: var(--sage); color: var(--ink); --card: 217,227,223; }
.svc .n { font-family: "Poppins", sans-serif; font-size: 14px; letter-spacing: .1em; opacity: .55; }
.svc h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 500; margin-top: 10px; }
.svc > p { margin-top: 14px; font-size: 16px; line-height: 1.65; opacity: .9; max-width: 46ch; }

/* ---------- PROCESS ---------- */
.process { background: var(--sage); padding: 96px 0 106px; }
.process h2 { font-size: clamp(42px, 7vw, 92px); color: var(--ink); margin-top: 12px; }
.process .intro { margin-top: 18px; font-family: "Poppins", sans-serif; font-size: clamp(17px, 2vw, 20px); color: #45423a; max-width: 54ch; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 30px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step .num { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 42px; line-height: 1; color: var(--teal); }
.step .bar { height: 2px; background: var(--line); margin: 18px 0 16px; }
.step h3 { font-size: 21px; font-weight: 500; color: var(--ink); }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #45423a; }

/* ---------- BEYOND IT (secondary) ---------- */
.beyond { background: var(--cream); padding: 90px 0 96px; }
.beyond h2 { font-size: clamp(30px, 4vw, 46px); color: var(--ink); margin-top: 10px; max-width: 24ch; }
.beyond .lede { margin-top: 16px; font-size: 17px; color: #55524a; max-width: 64ch; }
.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 42px; }
@media (max-width: 780px) { .beyond-grid { grid-template-columns: 1fr; } }
.beyond-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px 28px; }
.beyond-item h3 { font-size: 21px; font-weight: 500; }
.beyond-item p { margin-top: 10px; font-size: 15.5px; color: #45423a; line-height: 1.65; }
.beyond-item .link { display: inline-block; margin-top: 16px; font-family: "Poppins", sans-serif; font-size: 15px; color: var(--teal); border-bottom: 1px solid rgba(30,78,90,.4); }
.beyond-item .link:hover { border-bottom-color: var(--teal); }

/* ---------- PROOF / PRODUCT ---------- */
.proof { background: var(--teal-deep); color: #fff; padding: 90px 0 96px; }
.proof-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; gap: 28px; } }
.proof h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 12px; }
.proof p { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.7; max-width: 60ch; }
.proof .pill { margin-top: 28px; }
.proof-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 30px 32px 34px; }
.proof-card .name { font-family: "Poppins", sans-serif; font-size: 24px; font-weight: 500; }
.proof-card .role { font-size: 14px; color: var(--sand-soft); margin-top: 4px; }
.proof-card ul { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.proof-card li { font-size: 15.5px; color: rgba(255,255,255,.86); padding-left: 22px; position: relative; }
.proof-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

/* ---------- ABOUT ---------- */
.about { background: var(--white); padding: 96px 0 90px; }
.about h2 { font-size: clamp(42px, 7vw, 88px); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; margin-top: 40px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } }
.about .label { font-size: 17px; color: var(--sand); font-family: "Poppins", sans-serif; margin-bottom: 14px; }
.about p { font-size: clamp(19px, 2.2vw, 25px); color: #34312A; max-width: 26ch; line-height: 1.45; font-family: "Poppins", sans-serif; font-weight: 400; letter-spacing: -.01em; }
.about .pill { margin-top: 44px; }
.about-media { display: block; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; margin-left: auto; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 50px rgba(30,78,90,.22); }
@media (max-width: 860px) { .about-media { max-width: 300px; margin-left: 0; } }

/* ---------- WHY ---------- */
.why { background: var(--cream); padding: 96px 0 106px; }
.why-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.why h2 { font-size: clamp(42px, 7vw, 88px); color: var(--ink); }
.rows { margin-top: 66px; }
.row { display: grid; grid-template-columns: 1fr 1.1fr 40px; gap: 30px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; color: var(--ink); }
.row p { font-size: 16px; color: #45423a; }
.row .badge { margin-left: auto; width: 22px; height: 22px; background: var(--dark); clip-path: polygon(30% 2%,70% 2%,98% 30%,98% 70%,70% 98%,30% 98%,2% 70%,2% 30%); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 8px; } .row .badge { display: none; } }

/* ---------- FAQ ---------- */
.faq { background: var(--sage); padding: 90px 0 100px; }
.faq h2 { font-size: clamp(34px, 5vw, 58px); margin-top: 12px; }
.faq-list { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 46px; }
@media (max-width: 820px) { .faq-list { grid-template-columns: 1fr; gap: 28px; } }
.faq-item h3 { font-size: 19px; font-weight: 500; color: var(--ink); }
.faq-item p { margin-top: 10px; font-size: 15.5px; color: #45423a; line-height: 1.7; }

/* ---------- CONTACT ---------- */
.contact { background: var(--teal); color: #fff; padding: 116px 0; text-align: center; }
.contact h2 { font-size: clamp(42px, 7.5vw, 96px); }
.contact p { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 54ch; margin-left: auto; margin-right: auto; }
.contact-lines { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact .mail { font-family: "Poppins", sans-serif; font-weight: 500; font-size: clamp(20px, 3vw, 30px); color: #fff; border-bottom: 2px solid var(--sand); padding-bottom: 4px; transition: color .2s; }
.contact .mail:hover { color: var(--sand-soft); }
.contact .phone { font-family: "Poppins", sans-serif; font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.88); transition: color .2s; }
.contact .phone:hover { color: var(--sand-soft); }

footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 30px 0; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.foot a:hover { color: #fff; }

/* ---------- SHARED ADDITIONS ---------- */
.who-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.who-link { display: block; transition: border-color .2s, transform .2s; }
.who-link:hover { border-color: var(--teal); transform: translateY(-2px); }
.who-link .more { display: block; margin-top: 8px; font-family: "Poppins", sans-serif; color: var(--teal); }
.svc-link { display: inline-block; margin-top: 20px; font-family: "Poppins", sans-serif; font-size: 15px; border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent); transition: border-color .2s; }
.svc-link:hover { border-bottom-color: currentColor; }
.foot-links { display: flex; gap: 22px; }
.navlinks a.active { color: var(--teal); }
.navlinks a.active::after { transform: scaleX(1); }

/* ---------- PROCESS STEPS: slide in from the left, one after another ---------- */
/* shorter throw than the page-level .reveal so a step does not sweep across its neighbour */
.steps .reveal { transform: translateX(-44px); }
.steps .reveal.in { transform: none; }
.steps .reveal:nth-child(1) { transition-delay: 0ms; }
.steps .reveal:nth-child(2) { transition-delay: 120ms; }
.steps .reveal:nth-child(3) { transition-delay: 240ms; }
.steps .reveal:nth-child(4) { transition-delay: 360ms; }
/* the rule under each number draws itself left to right, just behind its step */
.step .bar { transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.16,.84,.3,1); }
.step.in .bar { transform: scaleX(1); }
.steps .reveal:nth-child(1) .bar { transition-delay: 170ms; }
.steps .reveal:nth-child(2) .bar { transition-delay: 290ms; }
.steps .reveal:nth-child(3) .bar { transition-delay: 410ms; }
.steps .reveal:nth-child(4) .bar { transition-delay: 530ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .step .bar { opacity: 1 !important; transform: none !important; transition: none !important; }
  .svc-photo { transition: opacity .01ms !important; transform: none !important; }
}

@media (max-width: 640px) { .svc { padding: 28px 24px 32px; } }
