/* ─── OMNIFLO CONSULTING — SHARED STYLESHEET ─── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Space+Grotesk:wght@300;400;500;700;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: #050505; color: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ─── LAYOUT ─── */
.page { width: 100%; max-width: 1280px; margin: 0 auto; }

/* ─── NAV ─── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  border-bottom: 1px solid #161616;
  position: sticky;
  top: 0;
  z-index: 300;
  background: #050505;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
}

.nav-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #fff;
  text-transform: uppercase;
}

/* ─── HAMBURGER ─── */
.hamburger {
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 400;
  background: none;
  border: none;
  padding: 6px;
  touch-action: manipulation;
}

.hb-line { background: #1A7A8A; height: 1px; transition: all 0.35s ease; }
.hb-line:nth-child(1) { width: 22px; }
.hb-line:nth-child(2) { width: 14px; }
.hb-line:nth-child(3) { width: 18px; }
.hamburger.open .hb-line:nth-child(1) { width: 20px; transform: translateY(6px) rotate(45deg); background: #fff; }
.hamburger.open .hb-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .hb-line:nth-child(3) { width: 20px; transform: translateY(-6px) rotate(-45deg); background: #fff; }

/* ─── DROPDOWN MENU ─── */
.dropdown {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #060606;
  border-left: 1px solid #161616;
  padding: 90px 52px 60px;
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.dropdown.open { transform: translateX(0); }

.dropdown-label {
  font-size: 10px;
  letter-spacing: 5px;
  color: #1A7A8A;
  text-transform: uppercase;
  margin-bottom: 44px;
}

.dropdown a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #e0e0e0;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid #0e0e0e;
  transition: color 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.dropdown a:hover, .dropdown a:active { color: #fff; }

.dropdown-cta {
  display: block;
  margin-top: 48px;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 16px 0;
  background: #fff;
  color: #000 !important;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  border-bottom: none !important;
}

.dropdown-cta:hover { background: #e0e0e0 !important; color: #000 !important; }

/* ─── DROPDOWN PARENT LINK (navigates + shows sub) ─── */
.dropdown-parent-link {
  color: inherit !important;
  text-decoration: none;
  display: inline !important;
  padding: 0 !important;
  border-bottom: none !important;
  flex: 1;
  font-size: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  text-transform: inherit;
  transition: color 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.dropdown-parent-link:hover { color: #fff !important; }

/* ─── DROPDOWN SUBMENU ─── */
.dropdown-has-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #e0e0e0;
  text-transform: uppercase;
  padding: 18px 0;
  border-bottom: 1px solid #0e0e0e;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s;
}
.dropdown-has-sub:hover { color: #fff; }
.dropdown-arrow {
  font-size: 11px;
  color: #1A7A8A;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.dropdown-has-sub.open .dropdown-arrow { transform: rotate(90deg); color: #e0e0e0; }
.dropdown-sub {
  display: none;
  padding: 4px 0 4px 20px;
  border-left: 1px solid #1e1e1e;
  margin-bottom: 4px;
}
.dropdown-sub.open { display: block; }
.dropdown-sub a {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: #c0c0c0;
  padding: 12px 0;
  border-bottom: 1px solid #0a0a0a;
}
.dropdown-sub a:hover { color: #fff; }
.dropdown-sub a:last-child { border-bottom: none; }

/* ─── OVERLAY ─── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 140;
}
.overlay.active { display: block; }

/* ─── PAGE HERO (INNER PAGES) ─── */
.page-hero {
  padding: 110px 64px 90px;
  border-bottom: 1px solid #161616;
  position: relative;
  overflow: hidden;
}

.page-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 6px;
  color: #1A7A8A;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.page-hero-title {
  font-size: 90px;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -4px;
  color: #fff;
  margin-bottom: 48px;
}

.page-hero-title .dim { color: #1A7A8A; }

.page-hero-sub {
  font-size: 18px;
  color: #e0e0e0;
  max-width: 580px;
  line-height: 2;
  font-weight: 300;
}

.page-hero-rule {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #c0c0c0;
  opacity: 0.2;
}

/* ─── SECTION UTILITIES ─── */
.section-tag {
  font-size: 10px;
  letter-spacing: 6px;
  color: #1A7A8A;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.section-pad { padding: 100px 64px; border-bottom: 1px solid #161616; }
.section-pad-alt { padding: 100px 64px; border-bottom: 1px solid #161616; background: #030303; }

/* ─── TWO COLUMN ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.col-left { padding-right: 80px; border-right: 1px solid #161616; }
.col-right { padding-left: 80px; }

/* ─── BUTTONS ─── */
.btn-primary {
  font-size: 11px;
  letter-spacing: 4px;
  padding: 17px 28px;
  background: #fff;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: background 0.2s, color 0.2s;
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: #e8e8e8; }

.btn-secondary {
  font-size: 11px;
  letter-spacing: 4px;
  padding: 17px 20px;
  border: 1px solid #222;
  color: #e0e0e0;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.25s, color 0.25s;
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { border-color: #e0e0e0; color: #e0e0e0; }

.arrow-link {
  font-size: 11px;
  letter-spacing: 3px;
  color: #1A7A8A;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}
.arrow-link:hover { color: #e0e0e0; }

/* ─── SERVICE CARD GRID ─── */
.service-grid {
  display: grid;
  border-top: 1px solid #161616;
}
.service-grid-2 { grid-template-columns: 1fr 1fr; }
.service-grid-3 { grid-template-columns: 1fr 1fr 1fr; }

.service-card {
  padding: 60px 48px;
  border-right: 1px solid #161616;
  border-bottom: 1px solid #161616;
  transition: background 0.3s;
  position: relative;
}
.service-card:hover { background: #080808; }
.service-card:last-child { border-right: none; }
.service-card-link-wrap {
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card-link-wrap:hover .service-card { background: #080808; }

.service-num {
  font-size: 10px;
  letter-spacing: 4px;
  color: #1A7A8A;
  margin-bottom: 28px;
}

.service-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #eeeeee;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.service-card-body {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 2.1;
  font-weight: 300;
  margin-bottom: 28px;
}

.service-card-cta {
  font-size: 10px;
  letter-spacing: 3px;
  color: #1A7A8A;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.service-card:hover .service-card-cta { color: #e0e0e0; }

/* ─── CONTENT SECTIONS ─── */
.content-headline {
  font-size: 58px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -2.5px;
  color: #fff;
  margin-bottom: 40px;
}
.content-headline .dim { color: #1A7A8A; }

.content-body {
  font-size: 17px;
  color: #d0d0d0;
  line-height: 2.2;
  font-weight: 300;
  margin-bottom: 24px;
}

.serif-pull {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-weight: 300;
  font-style: italic;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 36px;
}
.serif-pull em { font-style: normal; color: #e0e0e0; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.pill {
  font-size: 10px;
  letter-spacing: 4px;
  color: #1A7A8A;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid #2e2e2e;
  transition: border-color 0.2s, color 0.2s;
}
.pill:hover { border-color: #333; color: #e0e0e0; }

/* ─── STATS BAR ─── */
.stats-bar {
  padding: 80px 64px;
  border-bottom: 1px solid #161616;
  display: flex;
  gap: 0;
}

.stat-item {
  flex: 1;
  border-right: 1px solid #161616;
  padding: 0 48px;
  text-align: center;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }

.stat-number {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  display: block;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: #1A7A8A;
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.9;
}

/* ─── CALLOUT BANNER ─── */
.callout-banner {
  padding: 80px 64px;
  border-bottom: 1px solid #161616;
  background: #030303;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.callout-text {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1.1;
  flex: 1;
}
.callout-text .dim { color: #1A7A8A; }

/* ─── CONTACT FORM ─── */
.contact-form-section {
  padding: 100px 64px;
  background: #030303;
  border-top: 1px solid #161616;
}

.contact-form-eyebrow {
  font-size: 10px;
  letter-spacing: 6px;
  color: #1A7A8A;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.contact-form-headline {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 64px;
}

form.omniflo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; }
.form-group-full { grid-column: 1 / -1; }

.form-input, .form-textarea {
  background: #080808;
  border: 1px solid #181818;
  color: #e0e0e0;
  padding: 18px 20px;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: #2e2e2e; color: #eeeeee; }
.form-input::placeholder, .form-textarea::placeholder { color: #555; }

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

.form-submit {
  margin-top: 8px;
  align-self: flex-start;
}

/* ─── FOOTER ─── */
footer {
  padding: 36px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #0e0e0e;
}

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

.footer-logo-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
}

.footer-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #e0e0e0;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 3px;
  color: #e0e0e0;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: #e0e0e0; }

.footer-copy {
  font-size: 10px;
  color: #1A7A8A;
  letter-spacing: 1px;
}

/* ─── DIM TEXT UTILITY ─── */
.dim-text { color: #1A7A8A; }

/* ─── BOARDROOM SPLIT SECTION ─── */
.boardroom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #161616;
  min-height: 420px;
}

.boardroom-photo {
  overflow: hidden;
  line-height: 0;
  border-right: 1px solid #161616;
}

.boardroom-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.85);
}

.boardroom-text {
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #030303;
}

.boardroom-headline {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 32px;
}

.boardroom-body {
  font-size: 17px;
  color: #e0e0e0;
  line-height: 2.2;
  font-weight: 300;
  max-width: 380px;
}

/* ─── THREAT LANDSCAPE SECTION ─── */
.threat-section {
  padding: 100px 64px;
  border-bottom: 1px solid #161616;
}

.threat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.threat-left {
  padding-right: 80px;
  border-right: 1px solid #161616;
}

.threat-headline {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 36px;
}

.threat-body {
  font-size: 17px;
  color: #e0e0e0;
  line-height: 2.3;
  font-weight: 300;
  margin-bottom: 20px;
}

.threat-right {
  padding-left: 80px;
}

.threat-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.threat-stat {
  padding: 40px;
}

.threat-stat.top-left { padding-left: 0; border-right: 1px solid #161616; border-bottom: 1px solid #161616; }
.threat-stat.top-right { padding-right: 0; border-bottom: 1px solid #161616; }
.threat-stat.bottom-left { padding-left: 0; border-right: 1px solid #161616; padding-bottom: 0; }
.threat-stat.bottom-right { padding-right: 0; padding-bottom: 0; }

.threat-stat-num {
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -3px;
  color: #fff;
  line-height: 1;
}

.threat-stat-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: #e0e0e0;
  text-transform: uppercase;
  margin-top: 12px;
  line-height: 1.9;
}

/* ─── SPINNING LOGO (3D globe) ─── */
@keyframes globeSpin3D {
  from { transform: perspective(700px) rotateY(0deg); }
  to   { transform: perspective(700px) rotateY(-360deg); }
}
.logo-spin {
  animation: globeSpin3D 14s linear infinite;
  will-change: transform;
  transform-origin: center center;
}

/* ─── SITE PHOTOS ─── */
.site-photo-strip {
  width: 100%;
  border-bottom: 1px solid #161616;
  overflow: hidden;
  line-height: 0;
}
.site-photo-strip img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.85);
}
.site-photo-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #161616;
  overflow: hidden;
  line-height: 0;
}
.site-photo-2col img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.85);
}
.site-photo-2col img:first-child {
  border-right: 1px solid #161616;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 16px 24px; }
  .page-hero { padding: 72px 32px 56px; }
  .page-hero-title { font-size: 64px; letter-spacing: -3px; }
  .section-pad, .section-pad-alt { padding: 72px 32px; }
  .two-col { grid-template-columns: 1fr; }
  .col-left { padding-right: 0; border-right: none; border-bottom: 1px solid #161616; padding-bottom: 56px; margin-bottom: 0; }
  .col-right { padding-left: 0; padding-top: 56px; }
  .service-grid-2, .service-grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-direction: column; gap: 0; padding: 56px 32px; }
  .stat-item { border-right: none; border-bottom: 1px solid #161616; padding: 32px 0; text-align: left; }
  .stat-item:last-child { border-bottom: none; }
  .callout-banner { padding: 56px 32px; flex-direction: column; gap: 32px; }
  .contact-form-section { padding: 72px 32px; }
  .contact-form-headline { font-size: 44px; }
  footer { padding: 28px 32px; flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  /* Dropdown full-width on mobile */
  .dropdown { width: min(360px, 100vw); border-left: none; padding: 80px 32px 60px; }
  /* Boardroom section */
  .boardroom-split { grid-template-columns: 1fr; min-height: auto; }
  .boardroom-photo { border-right: none; border-bottom: 1px solid #161616; }
  .boardroom-photo img { min-height: 320px; height: 320px; }
  .boardroom-text { padding: 56px 32px; }
  /* Threat section */
  .threat-section { padding: 72px 32px; }
  .threat-grid { grid-template-columns: 1fr; }
  .threat-left { padding-right: 0; border-right: none; border-bottom: 1px solid #161616; padding-bottom: 56px; }
  .threat-right { padding-left: 0; padding-top: 56px; }
}

@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  .nav-name { display: none; }
  .page-hero { padding: 56px 20px 44px; }
  .page-hero-title { font-size: 46px; letter-spacing: -1.5px; }
  .page-hero-sub { font-size: 16px; }
  .section-pad, .section-pad-alt { padding: 60px 20px; }
  .content-headline { font-size: 40px; letter-spacing: -1.5px; }
  .service-grid-2, .service-grid-3 { grid-template-columns: 1fr; }
  .service-card { border-right: none; padding: 40px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-section { padding: 56px 20px; }
  .contact-form-headline { font-size: 34px; letter-spacing: -1px; }
  footer { padding: 24px 20px; }
  /* Full-width dropdown on small phones */
  .dropdown { width: 100vw; padding: 80px 24px 60px; }
  .dropdown-sub a { padding: 14px 0; }
  /* Boardroom section */
  .boardroom-split { grid-template-columns: 1fr; min-height: auto; }
  .boardroom-photo { border-right: none; border-bottom: 1px solid #161616; }
  .boardroom-photo img { min-height: 240px; height: 240px; }
  .boardroom-text { padding: 44px 20px; }
  .boardroom-headline { font-size: 34px; }
  /* Threat section */
  .threat-section { padding: 56px 20px; }
  .threat-grid { grid-template-columns: 1fr; }
  .threat-left { padding-right: 0; border-right: none; border-bottom: 1px solid #161616; padding-bottom: 48px; }
  .threat-right { padding-left: 0; padding-top: 48px; }
  .threat-headline { font-size: 36px; }
  .threat-stat { padding: 24px; }
  .threat-stat-num { font-size: 44px; }
}
