/* Brotherz brand concept redesign: 2026-08-31 */

.hero .brand-hero-title {
  max-width: 8.7em;
  font-size: clamp(3rem, 4.7vw, 4.45rem);
  line-height: 1.12;
}

.hero .brand-hero-title > span {
  display: block;
}

.hero .hero-lead {
  max-width: 29em;
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
  font-weight: 700;
  line-height: 1.7;
}

.hero .hero-copy {
  max-width: 35em;
  font-weight: 400;
  line-height: 1.95;
}

.value-bar .value-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home .mission-strip-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.home .mission-strip h2 {
  max-width: 12em;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.4;
}

.brand-principles {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.brand-principles::before {
  position: absolute;
  top: -160px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 72px solid rgba(0, 158, 87, 0.14);
  transform: rotate(18deg);
  content: "";
  pointer-events: none;
}

.brand-principles::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 8px;
  background: var(--yellow);
  content: "";
}

.brand-principles-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.brand-principles .eyebrow,
.brand-principles .section-title {
  color: #fff;
}

.brand-principles .section-text {
  max-width: 34em;
  color: rgba(255, 255, 255, 0.7);
}

.brand-principle-cards {
  display: grid;
  gap: 18px;
}

.brand-principle-card {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.brand-principle-card.is-mission {
  margin-left: clamp(0px, 4vw, 54px);
  border-color: rgba(247, 181, 0, 0.38);
}

.brand-principle-card::after {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border: 24px solid rgba(0, 158, 87, 0.16);
  border-radius: 50%;
  content: "";
}

.brand-principle-card.is-mission::after {
  border-color: rgba(247, 181, 0, 0.14);
}

.brand-principle-index {
  display: block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-principle-card h3 {
  position: relative;
  z-index: 1;
  max-width: 16em;
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
  line-height: 1.5;
}

.brand-principle-card p {
  position: relative;
  z-index: 1;
  max-width: 39em;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
}

.service-grid-7 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.service-grid-7 .service-card {
  grid-column: span 3;
  min-width: 0;
  min-height: 100%;
}

.service-grid-7 .service-card:nth-child(n + 5) {
  grid-column: span 4;
}

.why-home {
  position: relative;
  overflow: hidden;
}

.why-home::after {
  position: absolute;
  left: -80px;
  bottom: 8%;
  width: 250px;
  height: 250px;
  border: 44px solid rgba(247, 181, 0, 0.09);
  transform: rotate(-14deg);
  content: "";
  pointer-events: none;
}

.why-home-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 6.5vw, 92px);
  align-items: center;
}

.why-home-photo {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(6% 0, 100% 0, 92% 94%, 0 100%);
  filter: drop-shadow(0 26px 38px rgba(8, 17, 38, 0.16));
}

.why-home-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.why-home-photo figcaption,
.company-message-photo figcaption {
  position: absolute;
  left: 28px;
  bottom: 34px;
  max-width: calc(100% - 56px);
  padding: 14px 18px;
  border-left: 4px solid var(--yellow);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  background: rgba(8, 17, 38, 0.9);
}

.why-home-photo figcaption span,
.company-message-photo figcaption span {
  display: block;
  margin-bottom: 3px;
  color: var(--yellow);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.why-home-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin-top: 34px;
}

.why-home-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.why-home-item .line-icon {
  width: 44px;
  height: 44px;
}

.why-home-item span:not(.line-icon) {
  display: block;
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 900;
}

.why-home-item h3 {
  margin: 3px 0 7px;
  font-size: 1.02rem;
  line-height: 1.5;
}

.why-home-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.philosophy-page .brand-mvv-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-mvv-grid .mvv-card {
  min-height: 330px;
  padding: clamp(30px, 4vw, 52px);
}

.brand-mvv-grid .mvv-card:nth-child(2) {
  transform: translateY(28px);
}

.brand-mvv-grid .mvv-card h3 {
  max-width: 15em;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.55;
}

.philosophy-page .values-list {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.philosophy-page .value-card {
  grid-column: span 2;
}

.philosophy-page .value-card > span {
  display: block;
  margin-bottom: 12px;
  color: #c88900;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.philosophy-page .value-card strong {
  line-height: 1.5;
}

.company-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(46px, 7vw, 98px);
  align-items: center;
}

.company-message-copy {
  max-width: 490px;
}

.company-message-quote {
  margin: 30px 0;
  color: var(--green-dark);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 900;
  line-height: 1.65;
}

.company-message-photo {
  position: relative;
  min-height: 480px;
  margin: 0;
}

.company-message-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.company-business-section .card {
  border-top: 4px solid var(--green);
}

.company-business-section .card:nth-child(2) {
  border-top-color: var(--yellow);
}

.company-business-section .line-icon {
  margin-bottom: 18px;
}

.services-page .service-detail.is-food-service {
  background: #fffaf0;
}

@media (max-width: 1060px) {
  .service-grid-7 .service-card,
  .service-grid-7 .service-card:nth-child(n + 5) {
    grid-column: span 6;
  }

  .brand-principles-grid,
  .why-home-grid,
  .company-message-grid {
    grid-template-columns: 1fr;
  }

  .brand-principles-intro,
  .company-message-copy {
    max-width: 680px;
  }

  .why-home-photo,
  .why-home-photo img {
    min-height: 480px;
  }

  .philosophy-page .values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .philosophy-page .value-card {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .hero .brand-hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 9.3vw, 2.58rem) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .hero .brand-hero-title > span {
    display: block !important;
    white-space: normal !important;
  }

  .hero .hero-lead {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .hero .hero-copy {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  .home .mission-strip-inner,
  .brand-principles-grid {
    grid-template-columns: 1fr;
  }

  .brand-principles-grid {
    gap: 30px;
  }

  .brand-principle-card,
  .brand-principle-card.is-mission {
    margin-left: 0;
    padding: 26px 20px;
  }

  .brand-principle-card h3 {
    font-size: 1.25rem;
    line-height: 1.55;
  }

  .service-grid-7 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-grid-7 .service-card,
  .service-grid-7 .service-card:nth-child(n + 5) {
    grid-column: auto;
  }

  .why-home-grid {
    gap: 32px;
  }

  .why-home-photo,
  .why-home-photo img {
    min-height: 340px;
  }

  .why-home-list {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .why-home-item {
    padding: 20px 0;
  }

  .philosophy-page .brand-mvv-grid,
  .philosophy-page .values-list {
    grid-template-columns: 1fr;
  }

  .brand-mvv-grid .mvv-card,
  .brand-mvv-grid .mvv-card:nth-child(2) {
    min-height: 0;
    transform: none;
  }

  .philosophy-page .page-hero h1 .heading-line,
  .company-page .company-message-title .heading-line {
    display: block;
  }

  .philosophy-page .page-hero h1 .heading-line + .heading-line::before,
  .company-page .company-message-title .heading-line + .heading-line::before {
    content: none;
  }

  .company-message-photo,
  .company-message-photo img {
    min-height: 330px;
  }

  .why-home-photo figcaption,
  .company-message-photo figcaption {
    left: 18px;
    bottom: 22px;
    max-width: calc(100% - 36px);
  }
}
