/* =============================================================
   BRICKS, BUSINESS & BYTES — stylesheet
   -------------------------------------------------------------
   HOW TO EDIT (quick guide):
   1. COLORS   — change the variables in the ":root" block below.
   2. FONTS    — change the two families loaded in index.html
                 (search for fonts.googleapis.com there).
   3. CONTENT  — all text lives in index.html, clearly marked
                 with comment banners per section.
   No build tools, no frameworks. Upload as-is to cPanel.
   ============================================================= */

/* ---------- 1. DESIGN TOKENS (edit these first) ---------- */
:root {
  /* Colors */
  --navy:        #0d1b2e;   /* page background (deep navy)   */
  --deep:        #0a1524;   /* darker band background        */
  --card:        #142640;   /* card / panel background       */
  --card-2:      #18304e;   /* hover / secondary surface     */
  --ink:         #f2f7fb;   /* main text                     */
  --soft:        #a9bdcd;   /* muted text                    */
  --line:        rgba(255, 255, 255, 0.10); /* borders */
  --teal:        #2fc3f0;   /* primary accent (BYTES / CTA)  */
  --teal-dark:   #1287b4;   /* darker teal for gradients     */
  --brick:       #d4593b;   /* red brick accent (BRICKS)     */
  --silver:      #cdd8e2;   /* silver accent (BUSINESS)      */

  /* Type */
  --font-head: "Space Grotesk", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;

  /* Shape */
  --radius: 16px;
}

/* ---------- 2. RESET / BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.band {
  background: var(--deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-title {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.center {
  text-align: center;
}

/* ---------- 3. TOP BAR ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 27, 46, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand .amp {
  color: var(--teal);
}

.brand img {
  width: 32px;
  height: 32px;
}

/* Social icon buttons (shared) */
.socials {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  color: var(--teal);
  border-color: rgba(47, 195, 240, 0.55);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- 4. HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 0 84px;
}

/* Soft teal glow behind the logo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 50% at 50% 0%,
    rgba(47, 195, 240, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(41, 196, 246, 0.18));
}

@media (max-width: 640px) {
  .hero-logo {
    width: 168px;
    height: 168px;
  }
}

.hero h1 {
  margin-top: 32px;
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 .amp {
  color: var(--teal);
}

.hero .tagline {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero p.lede {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--soft);
  font-size: 17px;
}

.hero .goal {
  margin-top: 26px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--card);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(47, 195, 240, 0.55);
  color: var(--teal);
}

/* ---------- 5. PILLAR CARDS (BRICKS / BUSINESS / BYTES) ---------- */
.pillars {
  padding: 88px 0;
}

.pillar-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar-bar {
  height: 4px;
  width: 100%;
}

/* Per-card accent colors */
.accent-brick .pillar-bar   { background: var(--brick); }
.accent-silver .pillar-bar  { background: var(--silver); }
.accent-teal .pillar-bar    { background: var(--teal); }

.accent-brick .pillar-name,
.accent-brick .pillar-icon svg   { color: var(--brick); }

.accent-silver .pillar-name,
.accent-silver .pillar-icon svg  { color: var(--silver); }

.accent-teal .pillar-name,
.accent-teal .pillar-icon svg    { color: var(--teal); }

.accent-brick .pillar-dot   { background: var(--brick); }
.accent-silver .pillar-dot  { background: var(--silver); }
.accent-teal .pillar-dot    { background: var(--teal); }

.pillar-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-name {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pillar-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}

.pillar-intro {
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(242, 247, 251, 0.92);
}

.topics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 14px;
  font-size: 13.5px;
  color: var(--soft);
}

@media (max-width: 420px) {
  .topics {
    grid-template-columns: 1fr;
  }
}

.topics li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pillar-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 8px;
  flex-shrink: 0;
}

.pillar-closing {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--soft);
}

/* ---------- 6. APPROACH ---------- */
.approach {
  padding: 88px 0;
}

.approach-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 960px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

.approach-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.approach-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

.approach-card h3 {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}

.approach-card p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--soft);
}

/* ---------- 7. WATCH / YOUTUBE ---------- */
.watch {
  padding: 88px 0;
}

.channel-banner {
  position: relative;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.channel-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .channel-banner img {
    height: 200px;
  }
}

/* Text overlay at the bottom of the banner */
.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 40px;
  /* Darkens the left side and bottom so text stays readable
     over the bright buildings in the banner image. */
  background:
    linear-gradient(90deg, rgba(10, 21, 36, 0.82) 0%, transparent 60%),
    linear-gradient(
      to top,
      rgba(10, 21, 36, 0.95) 0%,
      rgba(10, 21, 36, 0.4) 55%,
      transparent 100%
    );
}

.banner-overlay .new {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
}

.banner-overlay h3 {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.banner-overlay p {
  margin-top: 8px;
  max-width: 540px;
  font-size: 15px;
  color: var(--soft);
}

.banner-overlay .btn {
  margin-top: 20px;
}

/* Social link cards under the banner */
.social-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 960px) {
  .social-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .social-cards {
    grid-template-columns: 1fr;
  }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.social-card:hover {
  border-color: rgba(47, 195, 240, 0.55);
}

.social-card .pillar-icon {
  color: var(--teal);
}

.social-card b {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
}

.social-card span.handle {
  display: block;
  font-size: 12px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 8. NEWSLETTER ---------- */
.newsletter {
  padding: 88px 0;
  text-align: center;
}

.newsletter p.lede {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--soft);
}

.newsletter-form {
  margin: 32px auto 0;
  max-width: 480px;
  display: flex;
  gap: 10px;
}

@media (max-width: 540px) {
  .newsletter-form {
    flex-direction: column;
  }
}

.newsletter-form input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(169, 189, 205, 0.6);
}

.newsletter-form input:focus {
  border-color: rgba(47, 195, 240, 0.6);
}

.newsletter-form button {
  height: 50px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Confirmation message shown after subscribing */
.newsletter-note {
  display: none;
  margin-top: 18px;
  font-size: 14px;
  color: var(--teal);
}

.no-spam {
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ---------- 9. FOOTER ---------- */
footer {
  padding: 64px 0 40px;
  text-align: center;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
}

.footer-tagline {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
}

.footer-copy {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--soft);
}

footer .socials {
  justify-content: center;
  margin-top: 26px;
}

.footer-domain {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
}

.disclaimer {
  max-width: 760px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(169, 189, 205, 0.8);
}

.copyright {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(169, 189, 205, 0.55);
}
