@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap');

:root {
  --navy: #12395d;
  --navy-dark: #0d2a45;
  --navy-light: #1a4a73;
  --orange: #fb6412;
  --orange-light: #ff7e3a;
  --orange-dark: #e55a0e;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #e0e0e0;
  --text-gray: #666666;
  --text-dark: #333333;
  --font-heading: 'Comfortaa', cursive;
  --font-body: Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--orange-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--navy);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.transparent {
  position: fixed;
  width: 100%;
  background: transparent;
  box-shadow: none;
}

.site-header.transparent.scrolled {
  background: rgba(18, 57, 93, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.site-logo .logo-accent {
  color: var(--orange);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

.nav-mobile-ctas {
  display: none;
}

.nav-mobile-header {
  display: none;
}

.nav-mobile-hr {
  display: none;
}

.nav-links {
  display: contents;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero Home */
.hero-home {
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(180,60,0,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(255,160,80,0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 120%, rgba(200,70,0,0.2) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='12' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='8' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3Ccircle cx='80' cy='80' r='8' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #ff9040 0%, #fb6412 25%, #e55a0e 50%, #c44400 75%, #a03500 100%);
  color: var(--white);
  padding: 0 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,70,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-email-form {
  max-width: 520px;
  margin: 0 auto 16px;
}

.hero-email-form input[type="email"] {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
}

.hero-email-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.hero-email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255,255,255,0.2);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.hero-trust svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.9);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--orange-dark);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-hero-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-hero-outline:hover {
  background: var(--white);
  color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Tagline Banner */
.tagline-banner {
  background: var(--navy);
  padding: 50px 0;
}

.tagline-content {
  text-align: center;
}

.tagline-text {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tagline-text span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.tagline-services {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 2px;
}

/* Section Shared */
.section-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 40px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.center-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 12px 32px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

/* Section 2: Services */
.section-services {
  padding: 80px 0;
  background: var(--white);
}

.services-header {
  margin-bottom: 40px;
}

.services-header h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

.services-intro p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.services-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}

.services-summary {
  background: var(--orange);
  padding: 35px;
  border-radius: 12px;
  position: sticky;
  top: 100px;
}

.services-summary p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--white);
}

.services-summary .btn-primary {
  background: var(--white);
  color: var(--orange-dark);
}

.services-summary .btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Section 3: Academic */
.section-academic {
  padding: 80px 0;
  background: var(--navy);
}

.section-academic .section-title {
  color: var(--white);
}

.section-academic .section-subtitle {
  color: rgba(255,255,255,0.6);
}

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

.academic-item {
  background: rgba(255,255,255,0.08);
  padding: 24px;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.academic-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
  color: var(--white);
}

.pub-logo {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.academic-item h4 {
  font-size: 0.92rem;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.4;
}

.academic-item .publisher {
  font-size: 0.78rem;
  color: var(--orange-light);
}

/* Section 4: TM Stories */
.section-stories {
  padding: 80px 0;
  background: var(--light-gray);
}

.stories-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.story-item {
  background: var(--white);
  padding: 24px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.story-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-bottom-color: var(--orange);
}

.story-item h4 {
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.45;
  flex: 1;
}

.story-item:hover h4 {
  color: var(--orange);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-logo {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.story-source-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section: Clients */
.section-clients {
  padding: 80px 0;
  background: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}

.client-item {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all 0.3s;
  border: 1px solid var(--gray);
}

.client-item:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.client-placeholder {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section 5: FAQ */
.section-faq {
  padding: 80px 0;
  background: linear-gradient(160deg, #ff9040 0%, #fb6412 30%, #e55a0e 60%, #c44400 100%);
}

.section-faq .section-title {
  color: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion summary {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-accordion[open] summary::after {
  content: '\2212';
}

.faq-accordion summary:hover {
  background: rgba(0,0,0,0.02);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-gray);
}

.section-faq .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.section-faq .btn-outline:hover {
  background: var(--white);
  color: var(--orange);
}

/* Section 6: Contact */
.section-contact {
  padding: 80px 0;
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-desc {
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail strong {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail span,
.contact-detail a {
  color: var(--white);
  font-size: 1rem;
}

.contact-form-home {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form-home input,
.contact-form-home textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.contact-form-home input::placeholder,
.contact-form-home textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form-home input:focus,
.contact-form-home textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.contact-form-home textarea {
  height: 140px;
  resize: vertical;
}

.contact-form-home input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.contact-form-home input[type="tel"]::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form-home input[type="tel"]:focus {
  outline: none;
  border-color: var(--orange);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-consent span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

.form-consent a {
  color: var(--orange);
  text-decoration: underline;
}

.contact-form-home button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
}

.contact-form-home button:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

/* Main Content Layout */
.main-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-area {
  min-width: 0;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 25px;
  border-top: 3px solid var(--orange);
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

.contact-form button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.contact-form button:hover {
  background: var(--orange-dark);
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-cloud a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.78rem;
  border-radius: 20px;
  border: 1px solid var(--gray);
  transition: all 0.3s ease;
  font-family: var(--font-heading);
}

.tags-cloud a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* Popular Posts */
.popular-post {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray);
}

.popular-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.popular-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.popular-post .post-info h4 {
  font-size: 0.82rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.popular-post .post-info .date {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* Blog Post Cards */
.post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.post-card .post-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card .post-body {
  padding: 25px;
}

.post-card .post-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.post-card .post-title a {
  color: var(--navy);
}

.post-card .post-title a:hover {
  color: var(--orange);
}

.post-card .post-meta {
  font-size: 0.82rem;
  color: var(--text-gray);
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.post-card .post-excerpt {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Single Post */
.single-post {
  background: var(--white);
  border-radius: 10px;
  padding: 35px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.single-post h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--navy);
}

.single-post .post-meta {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.single-post .post-content {
  font-size: 1rem;
  line-height: 1.8;
}

.single-post .post-content p {
  margin-bottom: 18px;
}

.single-post .post-content h2 {
  margin: 30px 0 15px;
}

.single-post .post-content h3 {
  margin: 25px 0 12px;
}

.single-post .post-content img {
  border-radius: 8px;
  margin: 20px 0;
}

.single-post .post-content ul,
.single-post .post-content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.single-post .post-content li {
  margin-bottom: 8px;
}

.single-post .post-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 15px 20px;
  margin: 20px 0;
  background: var(--light-gray);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.single-post .post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--gray);
}

.single-post .post-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light-gray);
  color: var(--navy);
  font-size: 0.78rem;
  border-radius: 20px;
  margin: 4px;
  font-family: var(--font-heading);
  transition: all 0.3s;
}

.single-post .post-tags a:hover {
  background: var(--orange);
  color: var(--white);
}

/* Static Page Content */
.page-content {
  background: var(--white);
  border-radius: 10px;
  padding: 35px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.page-content h1 {
  margin-bottom: 25px;
  color: var(--navy);
}

.page-content h2 {
  margin: 25px 0 12px;
  color: var(--navy);
}

.page-content h3 {
  margin: 20px 0 10px;
}

.page-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.page-content li {
  margin-bottom: 8px;
}

/* FAQ */
.faq-item {
  margin-bottom: 25px;
  padding: 25px;
  background: var(--light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}

.faq-item h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.faq-item p {
  margin-bottom: 10px;
}

/* About - Team */
.team-member {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  padding: 25px;
  background: var(--light-gray);
  border-radius: 8px;
}

.team-member .member-info h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.team-member .member-info p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Contact Page */
.contact-page-form input,
.contact-page-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 15px;
  border: 1px solid var(--gray);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-page-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-page-form button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
}

.contact-page-form button:hover {
  background: var(--orange-dark);
}

.contact-info-box {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.contact-info-box h3 {
  color: var(--orange);
  margin-bottom: 15px;
}

.contact-info-box p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-info-box a {
  color: var(--orange);
}

/* TM Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.story-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-3px);
}

.story-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.story-card .story-body {
  padding: 20px;
}

.story-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.story-card h4 a {
  color: var(--navy);
}

.story-card h4 a:hover {
  color: var(--orange);
}

.story-card .story-source {
  font-size: 0.78rem;
  color: var(--text-gray);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  margin-top: 0;
}

/* Footer Top Bar */
.footer-top {
  background: var(--navy);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-phones {
  display: flex;
  gap: 12px;
}

.phone-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.phone-btn:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white) !important;
}

/* Footer Main */
.footer-main {
  padding: 50px 0;
}

.footer-practice {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-practice h4 {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-practice p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 700px;
  margin-bottom: 16px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-section h4 {
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.6);
}

.footer-section a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--orange);
}

/* Footer Legal */
.footer-legal {
  background: rgba(0,0,0,0.15);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-legal h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-policies a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: all 0.3s;
}

.footer-policies a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Footer Disclaimer */
.footer-disclaimer {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-disclaimer p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  font-style: italic;
}

.footer-disclaimer a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom p {
  margin: 0;
}

/* Academic Section */
.academic-section {
  margin-top: 30px;
}

.academic-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 3px solid var(--orange);
}

.academic-card img {
  width: 80px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.academic-card h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.academic-card p {
  font-size: 0.82rem;
  color: var(--text-gray);
}

/* Cookie Consent Bar */
.cookie-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: var(--navy-dark);
  border-top: 3px solid var(--orange);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}

.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}

.cookie-bar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-logo {
  height: 28px;
  width: auto;
}

.cookie-bar-header h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
  margin: 0;
}

.cookie-bar-content p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.cookie-bar-content a {
  color: var(--orange);
  text-decoration: underline;
}

.cookie-options {
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}

.cookie-toggle:last-child {
  border-bottom: none;
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.cookie-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-label strong {
  font-size: 0.85rem;
  color: var(--white);
}

.cookie-label small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn-settings {
  padding: 10px 20px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-btn-settings:hover {
  border-color: var(--white);
  color: var(--white);
}

.cookie-btn-reject {
  padding: 10px 20px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-btn-reject:hover {
  border-color: var(--white);
  color: var(--white);
}

.cookie-btn-accept {
  padding: 10px 24px;
  background: var(--orange);
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: auto;
}

.cookie-btn-accept:hover {
  background: var(--orange-light);
}

/* Responsive */
@media (max-width: 1100px) {
  .stories-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .academic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-summary {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--navy-dark);
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding: 0;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }

  .nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
  }

  .nav-close:hover {
    opacity: 1;
  }

  .nav-mobile-logo {
    height: 40px;
    width: auto;
  }

  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 24px 60px;
    margin-top: 0;
  }

  .nav-cta-primary {
    display: block;
    background: var(--orange);
    color: var(--white) !important;
    padding: 13px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: none !important;
  }

  .nav-cta-outline {
    display: block;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white) !important;
    padding: 13px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: none !important;
  }

  .nav-mobile-hr {
    display: block;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
    width: 100%;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
    text-align: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .main-nav a {
    /* reset for nav-links children */
  }

  .hero-home {
    padding: 0 0 40px;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: flex-end;
  }

  .hero-h1 {
    font-size: 1.7rem;
    margin-bottom: 16px;
  }

  .hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-email-form {
    max-width: 100%;
  }

  .hero-email-form input[type="email"] {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    padding: 14px 24px;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-trust li {
    font-size: 0.78rem;
  }

  .tagline-text {
    flex-direction: column;
    gap: 4px;
  }

  .tagline-text span {
    font-size: 1.3rem;
  }

  .tagline-banner {
    padding: 35px 0;
  }

  .single-post {
    padding: 20px;
  }

  .page-content {
    padding: 20px;
  }

  .team-member {
    flex-direction: column;
  }

  .stories-grid-home {
    grid-template-columns: 1fr;
  }

  .academic-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-services,
  .section-academic,
  .section-stories,
  .section-faq,
  .section-contact,
  .section-clients {
    padding: 50px 0;
  }

  .services-header h2 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .contact-grid {
    gap: 30px;
  }

  .footer-top-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .footer-phones {
    flex-direction: column;
    width: 100%;
  }

  .phone-btn {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-policies {
    justify-content: center;
  }

  .footer-disclaimer {
    text-align: center;
  }

  .cookie-bar-inner {
    padding: 20px 16px;
  }

  .cookie-bar-actions {
    flex-direction: column;
  }

  .cookie-btn-accept {
    margin-left: 0;
    text-align: center;
  }

  .cookie-btn-settings,
  .cookie-btn-reject {
    text-align: center;
  }
}
