/* ==========================================================================
   BRANDS page — editorial partner index
   ========================================================================== */

/* ---------- Hero ---------- */
.bh__line2 { padding-left: 8.4vw; }
:lang(tr) .bh__title { font-size: clamp(44px, 7.6vw, 140px); }
.bh .page-hero__lede { grid-column: 1 / span 6; }
.bh .page-hero__tags { grid-column: 7 / span 6; }

.collage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: start; margin-top: clamp(56px, 7vw, 112px);
}
.collage figure { position: relative; }
.collage .media { position: relative; }
.collage__par { position: absolute; inset: 0; }
.collage__par img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; }
.collage__a { grid-column: 1 / span 6; }
.collage__a .media { aspect-ratio: 6 / 5; max-width: 1200px; }
.collage__b .media { max-width: 449px; }
.collage__b { grid-column: 7 / span 3; margin-top: clamp(80px, 13vw, 240px); }
.collage__b .media { aspect-ratio: 3 / 4; }
.collage__c { grid-column: 10 / span 3; margin-top: clamp(24px, 3vw, 56px); }
.collage__c .media { aspect-ratio: 4 / 5; }
.collage figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--muted); }

/* ---------- Logo wall ---------- */
.wall { padding-block: clamp(88px, 10vw, 168px) clamp(72px, 8vw, 140px); }
.wall__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.wall__grid {
  --ls: 1;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border-block: 1px solid var(--rule-strong);
}
.wall__grid > li { background: var(--bg); min-width: 0; }
.wall__cell {
  position: relative; display: grid; place-items: center; height: clamp(150px, 12.5vw, 210px);
  overflow: hidden; isolation: isolate; padding: 16px;
}
.wall__cell { transition: background-color .6s var(--ease); }
.wall__logo {
  height: calc(var(--h) * var(--ls) * 1px); width: auto; max-width: 78%; object-fit: contain;
  filter: brightness(0); opacity: .86; transition: filter .5s var(--ease), opacity .5s var(--ease), transform .8s var(--ease);
}
.wall__since { position: absolute; left: 14px; bottom: 12px; font-size: 10.5px; color: var(--muted); transition: color .5s var(--ease); }
@media (hover: hover) {
  .wall__cell:hover { background-color: var(--linen); }
  .wall__cell:hover .wall__logo { opacity: 1; transform: scale(1.04); }
  .wall__cell:hover .wall__since { color: var(--madder); }
}
.wall__cell:focus-visible { outline-offset: -4px; }

/* ---------- Houses (signature) ---------- */
.houses { position: relative; overflow-x: clip; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 100px); }
.houses > .wrap { position: relative; z-index: 2; }
.houses__head { margin-bottom: clamp(24px, 4vw, 64px); }

.house {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center; padding-block: clamp(64px, 7.5vw, 136px);
  border-top: 1px solid var(--rule); scroll-margin-top: 24px;
}
.house__plate { grid-column: 1 / span 6; grid-row: 1; position: relative; background: var(--linen); }
.house__body { grid-column: 8 / span 5; grid-row: 1; }
.house--flip .house__plate { grid-column: 7 / span 6; }
.house--flip .house__body { grid-column: 1 / span 5; }

/* Photo-free entry: the label as a plate — big logo on linen inside a hairline frame */
.plate-logo { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: clamp(28px, 4vw, 64px); }
.plate-logo::before { content: ""; position: absolute; inset: clamp(10px, 1.1vw, 16px); border: 1px solid var(--rule); pointer-events: none; }
.plate-logo__img { width: min(var(--pw), 68%); height: auto; max-height: 46%; object-fit: contain; filter: brightness(0); opacity: .88; }
.plate-logo__corner { position: absolute; font-size: 10.5px; color: var(--muted); }
.plate-logo__corner--tl { top: clamp(22px, 2.2vw, 32px); left: clamp(24px, 2.4vw, 36px); text-transform: none; letter-spacing: .06em; }
.plate-logo__corner--br { bottom: clamp(22px, 2.2vw, 32px); right: clamp(24px, 2.4vw, 36px); }

/* Photo entry: real samples, shown no larger than their native size */
.plate-photo { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 2.4vw, 40px); padding: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 56px) clamp(24px, 3vw, 44px); }
.plate-photo__fig { margin: 0; min-width: 0; }
.plate-photo__media { overflow: hidden; background: var(--stone); }
.plate-photo__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate-photo__fig figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 10.5px; }
.plate-photo__fig--kl { flex: 1.5 1 0; max-width: 420px; }
.plate-photo__fig--kl .plate-photo__media { aspect-ratio: 9 / 10; }
.plate-photo__fig--kl img { object-position: 50% 0; }
.plate-photo__fig--kl2 { flex: 1 1 0; max-width: 262px; }
.plate-photo__fig--kl2 .plate-photo__media { aspect-ratio: 262 / 492; }
.plate-photo__fig--whistles { width: 220px; max-width: 100%; }
.plate-photo__fig--whistles .plate-photo__media { aspect-ratio: 220 / 579; }
.plate-photo__fig--sd { width: 400px; max-width: 100%; }
.plate-photo__fig--sd .plate-photo__media { aspect-ratio: 768 / 1024; }

.house__title { margin: 0; }
.house__name { margin: 0; line-height: 0; }
.house__name img { height: calc(var(--h) * 1.6px); width: auto; max-width: 100%; object-fit: contain; object-position: left; filter: brightness(0); }
.house__since { display: grid; gap: 10px; margin-top: clamp(32px, 3.4vw, 56px); }
.house__year { font-family: var(--f-display); font-size: clamp(64px, 6.6vw, 124px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.house__year em { font-size: .28em; letter-spacing: 0; font-style: italic; color: var(--muted); white-space: nowrap; }
.house__desc { font-family: var(--f-display); font-size: clamp(21px, 1.7vw, 27px); line-height: 1.3; margin-top: clamp(22px, 2.2vw, 34px); max-width: 30ch; }
.house__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(28px, 2.8vw, 44px); }
.house__facts > div { border-top: 1px solid var(--rule); padding: 12px 0 18px; }
.house__facts .house__wide { grid-column: 1 / -1; }
.house__facts dt { margin-bottom: 6px; }
.house__facts dd { font-size: 15.5px; line-height: 1.5; }
.dots span + span::before { content: "·"; margin: 0 .45em; color: var(--muted); }
.dots > span { display: inline; }
.house__link { margin-top: 18px; }
.house__link .ext { width: 10px; height: 10px; flex: none; transition: transform .5s var(--ease); }
.house__link:hover .ext { transform: translate(2px, -2px); }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.why__cell {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.6vw, 40px) clamp(16px, 2vw, 32px) clamp(32px, 3.4vw, 52px);
  border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.why__cell:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.why__cell dt { color: var(--fg); }
.why__v { font-family: var(--f-display); font-size: clamp(56px, 6vw, 108px); line-height: .9; letter-spacing: -.03em; margin-top: clamp(16px, 2.4vw, 40px); font-variant-numeric: lining-nums; }
.why__v small { font-size: .38em; letter-spacing: 0; margin-left: .08em; }
.why__v small[data-i18n] { font-size: .3em; font-style: italic; margin-left: .25em; }
.why__d { font-size: 15.5px; line-height: 1.5; max-width: 32ch; }

/* ---------- CTA ---------- */
.bcta .h2 { max-width: 18ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .wall__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .bh .page-hero__lede, .bh .page-hero__tags { grid-column: 1 / -1; }
  .house { align-items: start; }
  .house__plate, .house--flip .house__plate { grid-column: 1 / -1; grid-row: 1; }
  .plate-logo { aspect-ratio: 16 / 9; }
  .house__body, .house--flip .house__body { grid-column: 1 / -1; grid-row: 2; padding: 0; margin-top: 36px; }
  .house__since { margin-top: 28px; }
  .house__desc { max-width: 36ch; }
  .house__facts { max-width: 640px; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__cell:nth-child(3n + 1) { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); }
  .why__cell:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  .bh__line2 { padding-left: 0; }
  :lang(tr) .bh__title { font-size: clamp(40px, 11vw, 64px); }
  .collage { row-gap: 0; }
  .collage__a { grid-column: 1 / -1; }
  .collage__a .media { aspect-ratio: 4 / 3; }
  .collage__b { grid-column: 1 / span 6; margin-top: 40px; }
  .collage__c { grid-column: 7 / span 6; margin-top: 96px; }
  .collage figcaption { flex-direction: column; gap: 4px; font-size: 10.5px; }
  .wall__grid { --ls: .82; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall__cell { height: 120px; }
  .wall__since { left: 10px; bottom: 8px; font-size: 9.5px; }
  .house { padding-block: 64px 72px; }
  .plate-logo { aspect-ratio: 4 / 3; }
  .plate-logo__img { width: min(var(--pw), 72%); }
  .plate-photo { gap: 14px; }
  .plate-photo__fig--whistles { width: 168px; }
  .plate-photo__fig--sd { width: 300px; }
  .house__body, .house--flip .house__body { margin-top: 28px; }
  .house__name img { height: calc(var(--h) * 1.3px); }
  .house__facts { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__cell, .why__cell:nth-child(3n + 1), .why__cell:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .why__v { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .wall__cell, .wall__logo { transition: none; }
}

