/* ============================================================
   FrostBit Studio — Restored 2019 Design
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --topbar:  #1a2533;
  --header:  #253447;
  --nav:     #1e2c3b;
  --dark:    #222;
  --accent:  #d4a017;
  --accent2: #3ab8e0;
  --light:   #f5f5f5;
  --white:   #ffffff;
  --mid:     #888;
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: var(--white);
}

a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Container ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-hero {
  display: inline-block;
  padding: 11px 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn-primary:hover, .btn-hero:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}
.contact-form button.btn-primary { border-color: var(--accent2); color: var(--accent2); }
.contact-form button.btn-primary:hover { background: var(--accent2); color: var(--white); }

/* ---------- Section Titles ---------- */
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent2);
  margin: 12px auto 0;
}
.section-title.light { color: var(--white); }
.section-title.light::after { background: var(--accent); }

.section-intro {
  text-align: center;
  max-width: 760px;
  margin: -20px auto 40px;
  color: #555;
  font-size: 14.5px;
}
.section-intro.light { color: rgba(255,255,255,0.8); }
.section-cta { text-align: center; margin-top: 36px; }

/* ---------- Social Links ---------- */
.social-links { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white); font-size: 13px;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--accent); color: var(--dark); }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
#top-bar {
  background: var(--topbar);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.top-bar-inner a { color: rgba(255,255,255,0.6); }
.top-bar-inner a:hover { color: var(--accent); }
.top-social { display: flex; gap: 12px; }
.top-social a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  transition: color 0.2s;
}
.top-social a:hover { color: var(--accent); }

/* ============================================================
   SITE HEADER (centered logo)
   ============================================================ */
#site-header {
  background: var(--header);
  text-align: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-logo {
  max-height: 110px;
  max-width: 200px;
  width: auto;
  margin: 0 auto;
  display: block;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  background: var(--nav);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 100;
}
#site-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 0;
}
.nav-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 16px 20px;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: url('/uploads/2015/05/sliderbackground.jpg') center / cover no-repeat;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  text-align: center;
  padding: 12px;
  width: 100%;
}
.hero-img {
  max-width: 420px;
  width: 55%;
  margin: 0 auto;
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

/* ============================================================
   PILLARS (Who / What / Values)
   ============================================================ */
.pillars { padding: 48px 0; background: var(--white); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pillar { text-align: center; }
.pillar-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #2c3e50;
  background: #2c3e50;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pillar-icon img { width: 60px; height: 60px; object-fit: contain; }
.pillar h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--dark);
}
.pillar p { font-size: 13.5px; color: #555; margin-bottom: 10px; }
.pillar a { color: var(--accent2); }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-section { padding: 80px 0; background: #141e26; }
.founder-section .section-title { color: #f2f2f2; }
.founder-section .section-title::after { background: var(--accent2); }
.founder-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
.founder-photo { text-align: center; }
.founder-photo img {
  width: 220px; height: 220px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 16px;
  border: 4px solid var(--accent2);
}
.founder-photo h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #f2f2f2; }
.founder-role { font-size: 12px; color: #f2f2f2; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.founder-photo .social-links a { background: #ccc; color: var(--dark); }
.founder-photo .social-links a:hover { background: var(--accent2); color: var(--white); }

.founder-bio p { font-size: 14.5px; color: #f2f2f2; margin-bottom: 18px; }
.founder-bio blockquote {
  border-left: 4px solid var(--accent2);
  padding: 14px 20px; margin: 24px 0 0;
  background: rgba(0,0,0,0.04);
  font-style: italic; color: #555; font-size: 14px;
}
.founder-bio blockquote cite {
  display: block; margin-top: 10px;
  font-style: normal; font-weight: 600; font-size: 13px; color: var(--mid);
}

/* ============================================================
   CHIP SPEAKS
   ============================================================ */
.chip-speaks { padding: 80px 0; background: var(--header); text-align: center; }
.btn-contact {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid #cedff2;
  color: #cedff2;
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  text-decoration: none;
}
.btn-contact:hover, .btn-contact:focus, .btn-contact:active {
  background: #cedff2;
  border-color: #141e26;
  color: #141e26;
}
.speaks-inner { max-width: 760px; margin: 0 auto; }
.speaks-inner p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 32px; }
.speaks-inner a { color: var(--accent2); }
.speaks-inner a:hover { color: var(--accent); }

/* ============================================================
   TEAM
   ============================================================ */
.team-section { padding: 80px 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card {
  text-align: center; background: var(--light);
  border: 1px solid #e0e0e0; padding: 30px 20px; border-radius: 4px;
}
.team-card img {
  width: 140px; height: 140px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 14px;
  border: 3px solid var(--accent2);
}
.team-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: 11px; color: var(--mid); letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 8px; }
.team-card p { font-size: 13.5px; color: #555; margin-top: 14px; }
.team-card .social-links a { background: #ddd; color: var(--dark); }
.team-card .social-links a:hover { background: var(--accent2); color: var(--white); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-section { padding: 80px 0; background: var(--light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.blog-card img { width: 100%; height: 200px; object-fit: contain; background: #000; transition: opacity 0.2s; }
.blog-card:hover img { opacity: 0.85; }
.blog-card-body { padding: 18px; }
.blog-card-body h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.blog-card-body h4 a { color: var(--dark); }
.blog-card-body h4 a:hover { color: var(--accent2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 80px 0; background: var(--nav); color: var(--white); }
.contact-form { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-family: var(--font-body); font-size: 14px;
  border-radius: 2px; outline: none; transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent2); }
.contact-form button { align-self: center; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: #111820; color: rgba(255,255,255,0.6); font-size: 13.5px; }
.footer-widgets {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  padding: 56px 24px 40px; max-width: 1100px; margin: 0 auto;
}
.footer-col h5 {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.footer-col p { line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a { color: rgba(255,255,255,0.6); }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  max-width: 1100px; margin: 0 auto;
}
.footer-bottom p { font-size: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .social-links a { width: 30px; height: 30px; font-size: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pillars-grid, .team-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { margin-bottom: 24px; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pillars-grid, .team-grid, .blog-grid, .footer-widgets { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Hero */
  .hero { min-height: 140px; }
  .hero-inner { padding: 16px 12px; }
  .hero-img { width: 85%; max-width: 85%; }

  /* Founder */
  .founder-section { padding: 48px 0; }
  .founder-photo img { width: 160px; height: 160px; }
  .founder-bio p { font-size: 14px; }

  /* General */
  .section-title { font-size: 1.3rem; }
  .header-logo { max-height: 80px; }
  .pillars { padding: 48px 0; }
  .chip-speaks { padding: 48px 0; }
  .blog-section { padding: 48px 0; }
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #1a1a1a;
  --darker:  #111111;
  --darkest: #0d0d0d;
  --accent:  #d4a017;        /* gold/orange accent */
  --accent2: #3ab8e0;        /* ice-blue accent */
  --light:   #f5f5f5;
  --mid:     #888;
  --white:   #ffffff;
  --font-head: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
