/* ==========================================================================
   THE VIBE CO. - FULLY RESPONSIVE MODERN STYLESHEET
   ========================================================================== */

/* 1. DESIGN TOKENS & RESET
   ========================================================================== */
:root {
  --red: #D55439;
  --red-hover: #e23b20;
  --black: #101924;
  --dark-bg: #0b0f15;
  --header-bg: #0d141e;
  --paper: #F7F5F0;
  --paper-card: #e9e6df;
  --muted: #667080;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: #c8c8c8;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--black);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* 2. GLOBAL COMPONENTS & UTILITIES
   ========================================================================== */
.loading {
  padding: 15vh 5vw;
  font: 700 clamp(24px, 5vw, 36px) 'Space Grotesk', sans-serif;
  letter-spacing: -1.5px;
  text-align: center;
}
.loading span {
  color: var(--red);
}

.topline {
  height: 5px;
  background: var(--red);
  width: 100%;
}

.eyebrow {
  font-size: clamp(9px, 1.2vw, 11px);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  height: 2px;
  width: 24px;
  background: var(--red);
  flex-shrink: 0;
}

h1, h2, h3, p {
  margin-top: 0;
}

.body-copy {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.85;
  color: #555;
  max-width: 580px;
}

.btn, .nav-cta {
  background: var(--red);
  color: #ffffff;
  padding: 13px 22px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn:hover, .nav-cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.text-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid currentColor;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--red);
}

/* 3. HEADER & RESPONSIVE NAVIGATION
   ========================================================================== */
header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 60px);
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  transition: height 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 14px);
  color: #ffffff;
  font: 700 clamp(14px, 1.8vw, 17px) 'Space Grotesk', sans-serif;
  letter-spacing: -0.7px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: clamp(38px, 4.5vw, 50px);
  max-width: 130px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: none;
}

.brand div {
  display: flex;
  flex-direction: column;
}

.brand span {
  display: block;
  font: 500 8.5px 'DM Sans', sans-serif;
  letter-spacing: 2px;
  color: #94a3b8;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav a {
  color: #cbd5e1;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #ffffff;
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
}

/* Mobile Drawer */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--header-bg);
  padding: 20px clamp(16px, 5vw, 40px) 28px;
  display: none;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
  animation: slideDown 0.22s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--red);
}

.mobile-menu a[href="contact.html"]:last-child {
  background: var(--red);
  color: #ffffff;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 4px;
  border-bottom: none;
  margin-top: 6px;
}

/* 4. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  position: relative;
  background: var(--dark-bg);
  color: #ffffff;
  padding: clamp(30px, 5vw, 60px) clamp(16px, 5vw, 60px);
  gap: clamp(24px, 4vw, 50px);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.brand-hero-title {
  font: 700 clamp(44px, 8vw, 112px)/0.88 'Space Grotesk', sans-serif;
  letter-spacing: -0.075em;
  margin: 18px 0 22px;
  text-transform: uppercase;
  word-break: break-word;
}

.brand-hero-title em {
  font-style: normal;
  color: var(--red);
}

.hero-copy p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: #d2d2d2;
  max-width: 500px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-art:after {
  display: none !important;
  content: none !important;
}

.hero-stamp {
  display: none !important;
}

.hero-art img {
  width: 100%;
  max-width: 680px;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  display: block;
}

/* 5. TICKER
   ========================================================================== */
.ticker {
  overflow: hidden;
  background: var(--red);
  color: #ffffff;
  padding: 14px 0;
  white-space: nowrap;
  font: 700 clamp(12px, 2vw, 15px) 'Space Grotesk', sans-serif;
  letter-spacing: 2px;
}

.ticker-track {
  display: inline-block;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* 6. CONTENT SECTIONS
   ========================================================================== */
.section {
  padding: clamp(48px, 7vw, 95px) clamp(16px, 5vw, 60px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 40px);
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section h2, .page-intro h1 {
  font: 700 clamp(32px, 5.5vw, 68px)/0.98 'Space Grotesk', sans-serif;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  margin: 14px 0;
  word-break: break-word;
}

.section-head p {
  max-width: 400px;
  line-height: 1.7;
  color: #666;
  font-size: clamp(13.5px, 1.5vw, 15px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.image-panel {
  height: clamp(280px, 40vw, 500px);
  position: relative;
  background: #222;
  overflow: hidden;
  border-radius: 6px;
  width: 100%;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-panel .red-box {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--red);
  color: #ffffff;
  padding: clamp(14px, 2.5vw, 24px) clamp(18px, 3.5vw, 32px);
  font: 700 clamp(16px, 2.8vw, 24px) 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
}

/* 7. SERVICE GRID (01 - 09)
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.service-card {
  min-height: 240px;
  padding: clamp(18px, 2.5vw, 28px);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.25s ease, color 0.25s ease;
  background: var(--paper);
}

.service-card:hover {
  background: var(--red);
  color: #ffffff;
}

.card-num {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
}

.service-card:hover .card-num {
  color: #ffffff;
}

.service-card h3 {
  font: 600 clamp(18px, 2.2vw, 22px)/1.15 'Space Grotesk', sans-serif;
  letter-spacing: -0.8px;
  margin: 20px 0 10px;
}

.service-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #666;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.card-arrow {
  align-self: flex-end;
  font-size: 24px;
}

.capability-list {
  margin-top: 38px;
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px 24px;
  align-items: start;
}

.capability-list .eyebrow {
  margin-top: 4px;
}

.capability-list p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 18px;
}

/* 8. DARK BAND & STATEMENTS
   ========================================================================== */
.dark-band {
  background: var(--black);
  color: #ffffff;
  padding: clamp(60px, 8vw, 90px) clamp(16px, 5vw, 60px);
}

.dark-band .body-copy {
  color: #bbb;
}

.dark-band h2 {
  font: 700 clamp(30px, 5.5vw, 68px)/0.98 'Space Grotesk', sans-serif;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

/* 9. STEPS (THE WAY WE WORK)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #555;
  margin-top: 45px;
}

.step {
  padding: 25px 22px 15px 0;
}

.step b {
  font: 700 clamp(28px, 4vw, 38px) 'Space Grotesk', sans-serif;
  color: var(--red);
}

.step h3 {
  font: 700 clamp(16px, 2vw, 18px) 'Space Grotesk', sans-serif;
  margin: 16px 0 10px;
}

.step p {
  font-size: 13px;
  line-height: 1.7;
  color: #777;
}

/* 10. PAGE INTRO (SUBPAGES)
   ========================================================================== */
.page-intro {
  padding: clamp(60px, 9vw, 100px) clamp(16px, 5vw, 60px) clamp(40px, 7vw, 70px);
  background: var(--black);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-intro:after {
  content: 'V';
  position: absolute;
  font: 700 clamp(180px, 35vw, 450px)/0.8 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, 0.03);
  right: -2vw;
  bottom: -6vw;
  pointer-events: none;
}

.page-intro .inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.breadcrumb {
  font-size: 10px;
  letter-spacing: 2px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.page-intro h1 {
  font-size: clamp(38px, 7vw, 100px);
  max-width: 1000px;
  line-height: 0.95;
}

.page-intro p {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  max-width: 620px;
  color: #c9c9c9;
}

/* 11. CONTENT GRID & VALUES
   ========================================================================== */
.content-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(24px, 6vw, 70px);
}

.content-grid h2 {
  font: 700 clamp(30px, 4.5vw, 54px)/1 'Space Grotesk', sans-serif;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.content-grid p {
  line-height: 1.85;
  color: #555;
  font-size: 15px;
}

.vision-quote {
  font: 700 clamp(24px, 4.5vw, 60px)/1.08 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
  max-width: 1000px;
  margin-top: 20px;
}

.vision-quote span {
  color: var(--red);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 35px;
}

.value {
  background: var(--paper-card);
  padding: clamp(20px, 3vw, 28px);
  min-height: 150px;
  border-radius: 4px;
}

.value .num {
  color: var(--red);
  font-weight: 700;
  font-size: 11px;
}

.value h3 {
  font: 700 clamp(17px, 2.2vw, 20px) 'Space Grotesk', sans-serif;
  margin: 20px 0 10px;
}

.value p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: #555;
}

/* Concept Cards */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.concept {
  background: var(--paper-card);
  padding: clamp(22px, 3vw, 30px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}

.concept .label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--red);
  font-weight: 700;
}

.concept h3 {
  font: 700 clamp(22px, 3vw, 28px)/1 'Space Grotesk', sans-serif;
  letter-spacing: -1.2px;
  margin: 36px 0 15px;
  text-transform: uppercase;
}

.concept p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #666;
}

.concept small {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
}

/* 12. CONTACT FORM & DETAILS
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 70px);
}

.contact-details {
  border-top: 1px solid #ccc;
  margin-top: 25px;
  padding-top: 20px;
  line-height: 2;
  font-size: 14.5px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.field input, .field textarea, .field select {
  border: 1px solid #ccc;
  background: transparent;
  padding: 14px 16px;
  outline: none;
  border-radius: 2px;
  font-size: 15px;
  width: 100%;
  color: var(--black);
  transition: border-color 0.2s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.notice {
  font-size: 12.5px;
  color: #777;
  line-height: 1.6;
}

/* 13. FOOTER
   ========================================================================== */
.footer {
  background: #0d1218;
  color: #ffffff;
  padding: clamp(50px, 8vw, 80px) clamp(16px, 5vw, 60px) 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 50px;
  flex-wrap: wrap;
}

.footer h2 {
  font: 700 clamp(32px, 6vw, 80px)/0.92 'Space Grotesk', sans-serif;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  max-width: 720px;
  margin: 15px 0 28px;
}

.footer h2 em {
  font-style: normal;
  color: var(--red);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px clamp(16px, 3vw, 36px);
  font-size: 12.5px;
  color: #bbb;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #888;
  font-size: 10.5px;
  letter-spacing: 1px;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #16834a;
  color: #fff;
  padding: 13px 20px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #199554;
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Tablets & Medium Screens (<= 1100px) */
@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .concept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets & Mobile Navigation Switch (<= 960px) */
@media (max-width: 960px) {
  header {
    height: 74px;
  }
  .nav {
    display: none !important;
  }
  .menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px clamp(16px, 5vw, 40px);
    gap: 36px;
    min-height: auto;
  }
  .hero-copy {
    max-width: 100%;
    padding: 0;
  }
  .hero-art {
    padding: 0 !important;
    justify-content: center;
  }
  .hero-art img {
    max-height: 480px;
  }
  .split, .content-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .capability-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  header {
    height: 66px;
    padding: 0 16px;
  }
  .brand img {
    height: 38px;
  }
  .brand div {
    font-size: 14px;
  }
  .brand span {
    font-size: 7.5px;
    letter-spacing: 1.5px;
  }
  .mobile-menu {
    padding: 20px 16px 26px;
  }
  .hero {
    padding: 30px 16px 36px;
    gap: 28px;
  }
  .brand-hero-title {
    font-size: clamp(38px, 11vw, 54px);
    margin: 14px 0 18px;
  }
  .hero-copy p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions .text-link {
    text-align: center;
    justify-content: center;
  }
  .hero-art img {
    max-height: 360px;
  }
  .section {
    padding: 46px 16px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: 1px solid var(--border-light);
  }
  .service-card {
    min-height: 190px;
    padding: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .values {
    grid-template-columns: 1fr;
  }
  .concept-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .image-panel {
    height: 280px;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 11px 16px;
    font-size: 11.5px;
  }
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
