/* =========================================================
   Dreamtek — static homepage replica
   Rebuilt from the live WordPress/Divi site (Sept 2026).
   Design tokens taken from the original computed styles.
   ========================================================= */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #03a9f4;          /* accent — headings, buttons */
  --navy: #0f4972;          /* deep blue kicker text */
  --navy-900: #081627;      /* hero background, darkest */
  --navy-800: #0d2340;
  --hero-blue: #1f6fcc;     /* hero geometric shapes */
  --hero-blue-lt: #3d8ae0;
  --body: #666666;          /* body copy */
  --white: #ffffff;
  --grey-bg: #f7f7f7;
  --rule: rgba(255, 255, 255, 0.22);

  --font-head: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Karla', Helvetica, Arial, sans-serif;
  --font-ui: 'Manrope', Helvetica, Arial, sans-serif;

  --maxw: 1080px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.8;
  color: var(--body);
  background: var(--white);
  /* The announcement modal is always open: the page behind never scrolls. */
  overflow: hidden;
}

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

/* The rebuilt page is decorative only — nothing behind the modal is reachable.
   No <a> elements are used in the backdrop, but this is a belt-and-braces guard. */
.site-backdrop { pointer-events: none; user-select: none; }

/* =========================================================
   Backdrop: the replicated homepage
   ========================================================= */
.site-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */
/* Transparent, sitting over the dark hero — the logo and nav are white. */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  max-width: 1280px;
}
.site-logo { width: 278px; }

.site-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 860px;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 45%, #12406e 100%);
  overflow: hidden;
  padding-top: 64px;
}

/* Blue angular shapes behind the photo, as on the original */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.hero::before {
  top: -10%;
  right: -5%;
  width: 70%;
  height: 120%;
  background: linear-gradient(160deg, var(--hero-blue) 0%, var(--hero-blue-lt) 100%);
  clip-path: polygon(38% 0, 100% 0, 100% 78%, 62% 100%, 0 46%);
  opacity: 0.95;
}
.hero::after {
  top: 8%;
  right: 26%;
  width: 46%;
  height: 74%;
  background: rgba(8, 22, 39, 0.55);
  clip-path: polygon(46% 0, 100% 34%, 72% 100%, 0 62%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 92px var(--gutter) 0;
}

/* --- Slides: pure-CSS crossfade, 5 slides x 6s --- */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: slideFade 30s infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide:nth-child(5) { animation-delay: 24s; }

@keyframes slideFade {
  0%      { opacity: 0; }
  3%, 20% { opacity: 1; }
  23%     { opacity: 0; }
  100%    { opacity: 0; }
}

/* The ellipse-masked photograph on the right of each slide */
.slide-photo {
  position: absolute;
  top: 46%;
  right: -6%;
  width: 62%;
  transform: translateY(-50%);
  z-index: 2;
}

.slide-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.kicker {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 14px;
}

.slide-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.04;
  color: var(--white);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}

/* Outline pill buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border: 2px solid var(--blue);
  border-radius: 50px;
  padding: 16px 30px;
  margin: 0 0 18px;
  width: max-content;
  max-width: 100%;
}
.pill + .pill { display: flex; }
.pill svg { width: 13px; height: 13px; fill: currentColor; flex: none; }

/* Prev / next markers, bottom right of the hero */
.hero-nav {
  position: absolute;
  right: 6%;
  top: 56%;
  z-index: 4;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}
.hero-nav span { display: block; padding: 8px 0; }
.hero-nav span + span { border-top: 1px solid var(--rule); }

/* ---------- Info band overlapping the hero ---------- */
.info-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.info-band .container {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 40px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.info-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
}
.info-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
}
.socials { display: flex; gap: 22px; align-items: center; }
.socials svg { width: 18px; height: 18px; fill: var(--white); opacity: 0.9; }

/* ---------- Client logos ---------- */
.logos {
  background: var(--white);
  padding: 30px 0;
}
.logos .strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 30px;
}
.logos img {
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
}

/* ---------- CTA: "Have an innovative project…" ---------- */
.cta {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  background: var(--white);
}
.cta-copy { padding: 70px 60px 70px 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }

.h-lg {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 46px;
  color: var(--blue);
  margin: 0 0 22px;
}
.h-kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.8;
  color: var(--navy);
  margin: 0;
}
.h-xl {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 60px;
  line-height: 1.1;
  color: var(--blue);
  margin: 0 0 18px;
}
.body-text { margin: 0 0 26px; }

.btn-outline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 3px;
  padding: 9px 24px;
}

/* ---------- Two-column text + image collage ---------- */
.band { background: var(--white); }
.band.alt { background: var(--grey-bg); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px var(--gutter);
}
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px;
  gap: 14px;
}
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .tall { grid-row: span 2; }

/* ---------- Service rows ---------- */
.service {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.service.reverse .service-media { order: -1; }
.service-media img { width: 100%; object-fit: cover; }

/* ---------- #Dreamteam band ---------- */
.team-band {
  position: relative;
  min-height: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/Team.jpg') center / cover no-repeat;
}
.team-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.17), rgba(0, 0, 0, 0));
}
.team-band h2 {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 60px;
  color: var(--white);
  margin: 0;
}

/* =========================================================
   Announcement modal — always open, cannot be dismissed
   ========================================================= */
.announce-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.announce-card {
  display: block;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 44px 56px 48px;
  background: var(--white) url('../img/Copy-of-Copy-of-Copy-of-Spring-into-Production-820-x-460-px-23.png') center / cover no-repeat;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  text-decoration: none;
  color: #000;
}

.announce-logo { width: 340px; max-width: 78%; margin: 0 auto 6px; }
.announce-lockup { width: 420px; max-width: 88%; margin: 0 auto 22px; }

.announce-card p {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: #000;
  margin: 0 0 16px;
}
.announce-card p strong { font-weight: 700; }

.announce-btn {
  width: 420px;
  max-width: 92%;
  margin: 26px auto 0;
  transition: transform 0.18s ease;
}
.announce-card:hover .announce-btn { transform: translateY(-2px) scale(1.02); }
.announce-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero { min-height: 760px; }
  .slide-photo { width: 72%; right: -14%; opacity: 0.75; }
  .cta { grid-template-columns: 1fr; }
  .cta-copy { padding: 56px var(--gutter); }
  .split, .service { grid-template-columns: 1fr; gap: 36px; padding: 56px var(--gutter); }
  .service.reverse .service-media { order: 0; }
  .info-band .container { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-nav { display: none; }
  .announce-card { padding: 36px 32px 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .site-logo { width: 175px; }
  .hero { min-height: 680px; }
  .hero-inner { padding-top: 64px; }
  .slide-photo { width: 100%; right: -20%; opacity: 0.5; }
  .h-xl { font-size: 42px; }
  .h-lg { font-size: 32px; line-height: 40px; }
  .info-band { position: static; }
  .info-band .container { grid-template-columns: 1fr; }
  .logos .strip { flex-wrap: wrap; justify-content: center; }
  .collage { grid-auto-rows: 110px; }
  .team-band h2 { font-size: 38px; }

  .announce-overlay { padding: 14px; align-items: flex-start; }
  .announce-card { padding: 28px 20px 32px; border-radius: 18px; }
  .announce-card p { font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
  .announce-logo { width: 240px; }
  .announce-lockup { width: 300px; }
  .announce-btn { width: 300px; margin-top: 20px; }
}

/* Respect users who ask for reduced motion: hold the first slide. */
@media (prefers-reduced-motion: reduce) {
  .slide { animation: none; opacity: 0; }
  .slide:nth-child(1) { opacity: 1; }
  .announce-card:hover .announce-btn { transform: none; }
}
