/*
Theme Name: Twin Bayonets
Theme URI: https://twinbayonets.com
Author: Adrienne Sabilia
Description: Custom theme for Twin Bayonets fractional marketing consultancy
Version: 1.0
Text Domain: twin-bayonets
*/

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --tb-teal:        #1a4f63;
  --tb-teal-mid:    #0e2e3d;
  --tb-teal-deep:   #091e28;
  --tb-cream:       #f5f0e8;
  --tb-cream-dark:  #ede8de;
  --tb-amber:       #c4813a;
  --tb-amber-dark:  #a36828;
  --tb-text:        #2d4a54;
  --tb-muted:       #6d8a94;
  --tb-light-muted: #90c0cc;
  --tb-border:      #d8d2c6;
  --tb-banner-url:  url('https://twinbayonets.com/wp-content/uploads/2026/05/tb-banner-services.jpg');
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--tb-cream);
  color: var(--tb-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Belleza', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--tb-teal);
}
a { color: var(--tb-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--tb-amber); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─── Utility ───────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--tb-amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary  { background: var(--tb-teal); color: var(--tb-cream); border: 2px solid var(--tb-teal); }
.btn-primary:hover { background: var(--tb-teal-mid); border-color: var(--tb-teal-mid); color: var(--tb-cream); }
.btn-outline  { background: transparent; color: var(--tb-teal); border: 2px solid var(--tb-teal); }
.btn-outline:hover { background: var(--tb-teal); color: var(--tb-cream); }
.btn-amber    { background: var(--tb-amber); color: #fff8f0; border: 2px solid var(--tb-amber); }
.btn-amber:hover { background: var(--tb-amber-dark); border-color: var(--tb-amber-dark); color: #fff8f0; }
.btn-outline-light { background: transparent; color: var(--tb-cream); border: 2px solid rgba(245,240,232,0.5); }
.btn-outline-light:hover { border-color: var(--tb-cream); color: var(--tb-cream); }

/* ─── Dark Textured Sections ────────────────────────────────── */
/* The banner image sits as ::before, a dark overlay as ::after,
   all direct children receive z-index:1 to float above both.   */
.tb-dark {
  position: relative;
  overflow: hidden;
}
.tb-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--tb-banner-url);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.tb-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 46, 0.70);
  z-index: 1;
}
.tb-dark > * { position: relative; z-index: 2; }

/* Variant opacities */
.tb-dark-light::after  { background: rgba(14, 42, 56, 0.62); }
.tb-dark-deeper::after { background: rgba(6, 18, 26, 0.80); }

/* ─── Navigation ────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; }
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 68px;
}
.site-logo {
  font-family: 'Belleza', Georgia, serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--tb-cream);
  text-decoration: none;
}
.site-logo:hover { color: var(--tb-cream); opacity: 0.85; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: 13px;
  color: rgba(245,240,232,0.82);
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--tb-cream); }
.nav-menu .nav-cta {
  background: var(--tb-amber);
  color: #fff8f0 !important;
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 13px;
}
.nav-menu .nav-cta:hover { background: var(--tb-amber-dark); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--tb-teal-mid);
  min-width: 220px;
  border-top: 2px solid var(--tb-amber);
  padding: 8px 0;
  z-index: 200;
}
.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  color: rgba(245,240,232,0.8) !important;
  white-space: nowrap;
}
.nav-dropdown a:hover { color: var(--tb-cream) !important; background: rgba(255,255,255,0.05); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
}
.hero-content {
  background: var(--tb-cream);
  padding: 80px 60px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content h1 {
  font-size: 44px;
  line-height: 1.2;
  color: var(--tb-teal);
  margin-bottom: 24px;
  max-width: 500px;
}
.hero-content p {
  font-size: 15px;
  color: var(--tb-muted);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: var(--tb-cream);
}
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--tb-cream) 0%, transparent 8%);
  z-index: 1;
}

/* ─── Credential Bar ────────────────────────────────────────── */
.credential-bar { padding: 18px 0; }
.credential-bar .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.credential-item {
  font-size: 11px;
  color: #8cc4d0;
  letter-spacing: 2px;
  text-transform: uppercase;
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.credential-divider {
  color: var(--tb-amber);
  opacity: 0.5;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

/* ─── Services Section ──────────────────────────────────────── */
/* ─── Services Section ──────────────────────────────────── */
.services-section { padding: 80px 0; background: var(--tb-cream); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 32px; color: var(--tb-teal); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-top: 3px solid var(--tb-amber);
  padding: 40px 36px 36px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(26,79,99,0.12);
  transform: translateY(-2px);
}
.service-number {
  font-family: 'Belleza', Georgia, serif;
  font-size: 11px;
  color: var(--tb-amber);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.service-card h3 {
  font-size: 22px;
  color: var(--tb-teal);
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-card p {
  font-size: 16px;
  color: var(--tb-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}
.service-card a.learn-more {
  font-size: 13px;
  color: var(--tb-amber);
  border-bottom: 1px solid var(--tb-amber);
  padding-bottom: 1px;
  text-decoration: none;
  transition: color 0.2s;
  align-self: flex-start;
}
.service-card a.learn-more:hover { color: var(--tb-amber-dark); border-color: var(--tb-amber-dark); }

/* ─── About Section ─────────────────────────────────────────── */
.about-section { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-content h2 { font-size: 32px; color: var(--tb-cream); margin-bottom: 20px; }
.about-content p { font-size: 16px; color: var(--tb-light-muted); line-height: 1.85; margin-bottom: 16px; }
.about-link {
  color: var(--tb-amber);
  font-size: 14px;
  border-bottom: 1px solid var(--tb-amber);
  padding-bottom: 2px;
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
  transition: color 0.2s;
}
.about-link:hover { color: #e09a50; border-color: #e09a50; }

/* About brand image */
.about-visual-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}
.about-brand-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 8px;
}

/* Photo slot */
.about-photo-slot {
  background: rgba(5, 18, 26, 0.5);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(196, 129, 58, 0.4);
}
.about-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-photo-placeholder {
  text-align: center;
  color: rgba(196, 129, 58, 0.6);
  font-size: 13px;
  padding: 24px;
  font-style: italic;
}

/* Industries panel */
.industries-panel {
  background: rgba(5, 18, 26, 0.50);
  border-radius: 8px;
  padding: 32px;
  border-left: 3px solid var(--tb-amber);
}
.industries-panel .panel-label {
  font-size: 10px;
  color: #6da4b4;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.industries-panel .panel-sub {
  font-size: 11px;
  color: #3d7a8a;
  margin-bottom: 24px;
}
.industry-list { display: flex; flex-direction: column; gap: 14px; }
.industry-item { display: flex; align-items: center; gap: 12px; }
.industry-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tb-amber);
  flex-shrink: 0;
}
.industry-item span { font-size: 13px; color: #c8dfe6; }

/* ─── Testimonial ───────────────────────────────────────────── */
.testimonial-section {
  background: var(--tb-cream);
  padding: 80px 0;
  border-top: 3px solid var(--tb-amber);
  text-align: center;
}
.testimonial-section blockquote {
  font-family: 'Belleza', Georgia, serif;
  font-size: 26px;
  color: var(--tb-teal);
  font-style: italic;
  line-height: 1.55;
  max-width: 780px;
  margin: 0 auto 24px;
}
.testimonial-attribution {
  font-size: 11px;
  color: var(--tb-muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 34px; color: var(--tb-cream); margin-bottom: 16px; }
.cta-section p {
  font-size: 17px;
  color: var(--tb-light-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer { padding: 28px 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Belleza', Georgia, serif;
  color: #6da4b4;
  font-size: 15px;
  letter-spacing: 1px;
}
.footer-copy { font-size: 11px; color: #3d6070; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: #6da4b4; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--tb-cream); }

/* ─── Inner Page Hero ───────────────────────────────────────── */
.page-hero { padding: 72px 0; }
.page-hero h1 { font-size: 48px; color: var(--tb-cream); }
.page-hero .eyebrow { margin-bottom: 10px; }

/* ─── Inner Page Content ────────────────────────────────────── */
.page-content-wrap { padding: 64px 0 80px; }
.page-content-wrap h2 { font-size: 30px; margin-bottom: 16px; margin-top: 40px; }
.page-content-wrap h2:first-child { margin-top: 0; }
.page-content-wrap h3 { font-size: 22px; margin-bottom: 12px; margin-top: 32px; color: var(--tb-teal); }
.page-content-wrap p { font-size: 17px; line-height: 1.8; color: var(--tb-text); margin-bottom: 20px; }
.page-content-wrap ul, .page-content-wrap ol {
  margin: 0 0 20px 24px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--tb-text);
  list-style: disc;
}
.page-content-wrap a { color: var(--tb-amber); border-bottom: 1px solid currentColor; }
.page-content-wrap a:hover { color: var(--tb-amber-dark); }


/* ─── About Page Layout ─────────────────────────────────── */
.tb-about-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}
.tb-about-photo img {
  width: 100%;
  border-radius: 8px;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}
.tb-about-body > h2 {
  font-family: 'Belleza', Georgia, serif;
  font-size: 30px;
  color: var(--tb-teal);
  margin-bottom: 20px;
  line-height: 1.25;
}
.tb-about-body > p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--tb-text);
  margin-bottom: 18px;
}
.tb-edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 32px 0;
}
.tb-edu-item {
  border-left: 3px solid var(--tb-amber);
  padding-left: 18px;
}
.tb-edu-item .edu-year {
  font-size: 12px;
  color: var(--tb-amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tb-edu-item .edu-school {
  font-family: 'Belleza', Georgia, serif;
  font-size: 18px;
  color: var(--tb-teal);
  margin-bottom: 4px;
}
.tb-edu-item .edu-degree {
  font-size: 14px;
  color: var(--tb-text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.tb-edu-item .edu-location {
  font-size: 12px;
  color: var(--tb-muted);
}
.tb-name-callout {
  background: var(--tb-teal);
  border-radius: 8px;
  padding: 36px 40px;
  margin-top: 48px;
}
.tb-name-callout h3 {
  font-family: 'Belleza', Georgia, serif;
  font-size: 22px;
  color: var(--tb-cream);
  margin-bottom: 14px;
}
.tb-name-callout p {
  font-size: 16px;
  color: var(--tb-light-muted);
  line-height: 1.8;
}
@media (max-width: 960px) {
  .tb-about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .tb-edu-grid { grid-template-columns: 1fr; }
}


/* ─── Service Page Content ───────────────────────────────── */
.service-lede {
  font-size: 20px;
  line-height: 1.7;
  color: var(--tb-teal);
  font-family: 'Belleza', Georgia, serif;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--tb-border);
}
.service-includes {
  list-style: none !important;
  margin: 16px 0 32px !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 40px;
}
.service-includes li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--tb-text);
  padding-left: 22px;
  position: relative;
}
.service-includes li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--tb-amber);
  font-size: 13px;
  top: 3px;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 280px; }
  .hero-image::after { background: linear-gradient(to bottom, var(--tb-cream) 0%, transparent 20%); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .credential-item { font-size: 10px; letter-spacing: 1px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .site-nav { padding: 0 20px; }
  .hero-content { padding: 56px 20px; }
  .hero-content h1 { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-section blockquote { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .credential-bar .inner { flex-direction: column; gap: 12px; }
  .credential-divider { display: none; }
  .nav-menu { gap: 16px; }
}
