/* ============================================
   The Media CTO — style.css
   ============================================ */

/* montserrat-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/montserrat-v31-latin-600.woff2') format('woff2');
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/montserrat-v31-latin-700.woff2') format('woff2');
}
/* montserrat-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('/fonts/montserrat-v31-latin-800.woff2') format('woff2');
}
/* dm-sans-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/dm-sans-v17-latin-300.woff2') format('woff2');
}
/* dm-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/dm-sans-v17-latin-500.woff2') format('woff2');
}

:root {
	--accent:    #ff4114;
	--black:     #000000;
	--white:     #ffffff;
	--mid:       #cccccc;
	--border: #3a3230;
	--font-head: 'Montserrat', sans-serif;
	--font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-links a,
.btn,
.footer-links a,
.proof-block a {
  text-decoration: none;
}

/* ---- Layout ---- */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Nav ---- */

nav {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.75rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

/* ---- Hero ---- */

.hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 52ch;
  color: var(--mid);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid #666666;
  color: var(--white);
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #000000;
}

.btn-accent:hover {
  background: #d93610;
  border-color: #d93610;
  color: #000000;
}

/* ---- Sections ---- */

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3rem;
}


 
 h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}


h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* ---- Pillars grid ---- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.pillar {
  padding: 2rem 2rem 2rem 0.5rem;
  border-right: 1px solid var(--border);
}

.pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.pillar-number {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ---- Proof block ---- */

.proof-block {
  background: #111111;
  border: 1px solid var(--border);
  padding: 3.5rem;
  margin-top: 3rem;
}

.proof-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 58ch;
  margin-bottom: 1.5rem;
  color: var(--mid);
}

.proof-block a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* Added Style Elements */

/* ---- Hero sub-paragraph ---- */

.hero-sub {
  font-size: 1rem;
  max-width: 52ch;
  color: var(--mid);
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ---- Symbiotic AI section ---- */

.symbiotic-section {
  background: #0a0a0a;
}

.symbiotic-body {
  max-width: 62ch;
  margin-top: 2rem;
}

.symbiotic-body p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.symbiotic-pull {
  font-family: var(--font-head);
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--white) !important;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 2rem 0 !important;
}

.symbiotic-body .btn {
  margin-top: 0.5rem;
}

/* ---- Stats section ---- */

.stats-section {
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.stat {
  padding: 2rem 2rem 2rem 0.5rem;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.4;
}

/* ---- CTA section ---- */

.cta-section {
  border-bottom: none;
}

.cta-section h2 {
  max-width: 28ch;
  margin-bottom: 2rem;
}


/* ---- About page ---- */

.about-intro {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.about-intro p {
  font-size: 1.125rem;
  max-width: 60ch;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.credential {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
}

.credential .role {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.credential .org {
  font-size: 0.85rem;
  color: var(--mid);
}

/* ---- Footer ---- */

footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-logo-link:hover .footer-logo {
  opacity: 1;
}

.footer-top {
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--mid);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
	.nav-links { gap: 1.75rem; }
  .credentials { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
  .pillar:last-child { border-bottom: none; }
  .proof-block { padding: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
  .stat:last-child { border-bottom: none; }
  .stat:nth-child(odd) { padding-right: 0; }
}

@media (max-width: 400px) {
  .nav-logo img { height: 28px; }
  .nav-links { gap: 0.75rem; }
}