/* ==========================================================================
   BRAGIN — brand overrides on top of the base template (app.css)
   Loaded after app.css so these rules win. Keep edits minimal & reversible.
   ========================================================================== */

/* --- Logo (temporary BR monogram) --- */
.br-logo {
  height: 46px;
  width: auto;
  display: inline-block;
}
@media (max-width: 992px) {
  .br-logo { height: 40px; }
}

/* --- Mobile: reveal the Directions submenu inline (no hover on touch) --- */
@media (max-width: 991px) {
  .header-2 .menu-item-has-children .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 8px 30px;
    background: transparent;
  }
  .header-2 .menu-item-has-children .submenu li {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
  .header-2 .menu-item-has-children .submenu li a {
    font-size: 16px;
    padding: 6px 0;
    margin-left: 0;
  }
}

/* --- Hero: text on the left, founder photo on the right --- */
.hero-banner-2 .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  height: auto;
  min-height: 760px;
  padding-top: 170px;
  padding-bottom: 90px;
}
.hero-banner-2 .hero-text {
  max-width: 640px;
}
.hero-label {
  display: inline-block;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.hero-quote {
  font-size: clamp(19px, 1.5vw, 27px);
  line-height: 1.85;
  color: #262626;
  margin-top: 28px;
}
.hero-banner-2 .founder-hero {
  flex: 0 0 auto;
  text-align: center;
}
.founder-hero-img {
  width: clamp(280px, 34vw, 460px);
  height: auto;
  /* Soft fade on every edge so the rectangular studio photo melts into the white
     background while the face and torso stay crisp (no oval cameo, arms not clipped). */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 991px) {
  .hero-banner-2 .content {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: 150px;
  }
  .hero-banner-2 .hero-text { max-width: 100%; }
  .hero-quote br { display: inline; }
  .founder-hero-img { width: clamp(240px, 70vw, 360px); margin-top: 24px; }
}

/* --- Ecosystem (conceptual card grid) --- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 991px) { .ecosystem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ecosystem-grid { grid-template-columns: 1fr; } }
.eco-card {
  display: block;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: #F7FFFC;
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.12);
}
.eco-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.eco-card .eco-label {
  display: block;
  padding: 22px 26px;
  font-family: "Givonic-bold";
  font-size: 24px;
  color: #262626;
}
.eco-card .eco-label small {
  display: block;
  font-family: "Givonic";
  font-size: 15px;
  color: #9a9a9a;
  margin-top: 4px;
}

/* --- Timeline (honest milestones) --- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 767px) { .timeline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .timeline-grid { grid-template-columns: 1fr; } }
.timeline-item {
  padding: 34px 28px;
  border-radius: 25px;
  background: #F7FFFC;
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.06);
  border-top: 2px solid #1A1A1A;
}
.timeline-item .year {
  font-family: "Givonic-bold";
  font-size: 31px;
  color: #262626;
  margin-bottom: 8px;
  display: block;
}
.timeline-item p { margin: 0; }

/* --- Founder block --- */
.founder-photo {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.1);
}

/* --- Principles --- */
.principles-list { list-style: none; padding: 0; margin: 0; }
.principles-list li {
  font-family: "Givonic-bold";
  font-size: clamp(26px, 3vw, 53px);
  color: #262626;
  padding: 26px 0;
  border-bottom: 1px solid #E6E6E6;
  display: flex;
  align-items: baseline;
  gap: 22px;
}
.principles-list li:last-child { border-bottom: none; }
.principles-list li .num {
  font-size: 20px;
  color: #9a9a9a;
  font-family: "Givonic";
  min-width: 42px;
}

/* --- Direction detail pages --- */
.direction-intro { max-width: 820px; }
.direction-block {
  padding: 34px 0;
  border-top: 1px solid #E6E6E6;
}
.direction-block h2 { margin-bottom: 14px; }

/* --- Static contact form note --- */
.form-note {
  font-size: 15px;
  color: #9a9a9a;
  margin-top: 16px;
}
