/* JZ brand homepage. Product selection continues in the existing catalogue. */
.brand-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1d1d1f;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-navigation a:hover { color: #751526; }
body.home-mode { background: #fff; }
.home-mode .site-header {
  height: auto;
  min-height: 60px;
  padding-block: 4px;
}
.home-mode #mobileBar { display: none; }
body.home-mode #main {
  max-width: 1240px;
  padding: 0 36px;
}
.home-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 64px;
  padding: 80px 0 56px;
}
.home-intro h1 {
  margin: 0;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.22;
  color: #1d1d1f;
}
.home-intro-copy { padding-bottom: 6px; }
.home-intro-copy p {
  max-width: 28ch;
  margin: 0 0 20px;
  color: #515154;
  font-size: 18px;
  line-height: 1.7;
}
.home-intro-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.home-intro-copy a,
.home-intro-copy .link-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #751526;
  text-decoration: none;
  font-size: 15px;
}
.home-mode svg { width: 20px; height: 20px; flex-shrink: 0; }
.home-intro-links svg,
.home-product .btn svg,
.home-mode #footer svg { transform: scaleX(-1); }
html[dir=rtl] .home-intro-links svg,
html[dir=rtl] .home-product .btn svg,
html[dir=rtl] .home-mode #footer svg { transform: none; }
.home-products {
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.home-product {
  min-width: 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  padding: 36px;
}
.home-screen { background: #f5f5f7; }
.home-product-copy { position: relative; z-index: 1; flex: 1; min-width: 0; }
.home-product h2 {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.home-product-copy p {
  max-width: 22ch;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.8;
  color: #515154;
}
.home-product .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 14px;
}
.home-screen-photo {
  flex: 0 1 48%;
  min-width: 0;
  margin: 0;
  text-align: center;
}
.home-screen-photo img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.home-screen-photo figcaption { margin-top: 8px; font-size: 11px; color: #616166; }
.home-battery { position: relative; background: #751526; color: #fff; }
.home-battery .home-product-copy p { color: #f1dfe3; max-width: 24ch; }
.home-battery .btn { color: #751526; background: #fff; }
.home-battery .btn:hover { background: #f1dfe3; color: #54101b; }
.home-battery-symbol { flex: 0 1 30%; color: #e1bfc7; }
.home-battery-symbol svg { display: block; width: 100%; height: 176px; }
.home-about { padding: 64px 0; min-height: calc(100dvh - 160px); }
.home-section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
.home-section-heading h1 {
  margin: 0;
  color: #1d1d1f;
  font-size: 48px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.home-section-heading > p { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.8; color: #616166; }
.home-about-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.home-about-placeholder {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: #f5f5f7;
  border-radius: 12px;
}
.home-about-placeholder h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; color: #515154; }
.home-about-placeholder p { margin: 0; font-size: 13px; color: #616166; }
body.home-mode #footer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  max-width: 1168px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid #dedee2;
  color: #515154;
  font-size: 13px;
}
.home-mode #footer .link-button { display: inline-flex; align-items: center; gap: 8px; color: #1d1d1f; }
@media (min-width: 1000px) {
  .home-mode #mobileBar { display: none; }
  body.home-mode #footer { margin-bottom: 0; }
}
@media (max-width: 1100px) {
  .home-mode .site-header { flex-wrap: wrap; gap: 8px 16px; }
  .brand-navigation { gap: 16px; }
  .home-intro { gap: 36px; padding-top: 64px; }
  .home-product { padding: 28px; }
  .home-product h2 { font-size: 26px; }
  .home-products { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 850px) {
  .home-contact { width:44px; min-width:44px; padding:10px; }
  .home-contact span { display:none; }
  .home-mode .brand-navigation { order: 3; width: 100%; justify-content: center; gap: 36px; border-top: 1px solid #ededee; }
  body.home-mode #main { padding-inline: 24px; }
  .home-intro { gap: 24px; padding: 48px 0 36px; }
  .home-intro h1 { font-size: 44px; }
  .home-intro-copy p { font-size: 16px; }
  .home-products { grid-template-columns: 1fr; }
  .home-product { min-height: 260px; }
  .home-screen-photo { flex-basis: 44%; }
  .home-screen-photo img { height: 220px; }
  .home-battery-symbol { flex-basis: 25%; }
  .home-about { padding: 64px 0; }
  .home-section-heading { gap: 24px; }
  .home-about-gallery { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .home-about-placeholder { padding: 20px; min-height: 160px; }
  body.home-mode #footer { margin-inline: 24px; }
}
@media (max-width: 520px) {
  body.home-mode #main { padding-inline: 20px; }
  .home-mode .brand-navigation { gap: 28px; }
  .home-mode .brand-navigation a { font-size: 13px; }
  .home-intro { grid-template-columns: 1fr; gap: 20px; padding: 36px 0 28px; }
  .home-intro h1 { font-size: 38px; }
  .home-intro-copy { padding: 0; }
  .home-intro-copy p { font-size: 15px; margin-bottom: 6px; max-width: 28ch; }
  .home-products { gap: 16px; }
  .home-product { min-height: 240px; padding: 24px; gap: 12px; }
  .home-product h2 { font-size: 25px; }
  .home-product-copy p { font-size: 13px; margin-bottom: 20px; }
  .home-product .btn { gap: 6px; font-size: 12px; padding: 10px 12px; }
  .home-screen-photo { flex-basis: 40%; }
  .home-screen-photo img { height: 170px; }
  .home-screen-photo figcaption { font-size: 9px; }
  .home-battery-symbol svg { height: 140px; }
  .home-section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .home-section-heading h1 { font-size: 38px; }
  .home-section-heading > p { font-size: 14px; }
  .home-about-gallery { grid-template-columns: 1fr; gap: 12px; }
  .home-about-placeholder { min-height: 140px; }
  body.home-mode #footer { margin-inline: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-intro, .home-products { animation: home-appear .5s ease-out both; }
  @keyframes home-appear { from { opacity: .6; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

.brand-navigation a[aria-current="page"] { color: #751526; }

/* The homepage fills a desktop viewport with useful category and model entry points. */
body.home-mode { min-height:100dvh; display:flex; flex-direction:column; }
.home-mode .site-header { width:100%; max-width:1480px; padding-inline:32px; min-height:68px; }
body.home-mode #main { flex:1; width:100%; max-width:1480px; padding:24px 32px; display:flex; flex-direction:column; justify-content:center; gap:20px; }
.home-products { padding:0; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:20px; }
.home-product { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(160px,1fr) auto; align-items:stretch; gap:18px; min-height:clamp(440px,calc(100dvh - 242px),680px); padding:32px; border-radius:18px; }
.home-product-copy { flex:none; }
.home-product h2 { font-size:clamp(32px,3.1vw,46px); margin-bottom:12px; }
.home-product-copy p { margin:0; max-width:40ch; line-height:1.7; text-wrap:pretty; }
.home-screen-photo { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:none; width:100%; margin:0; }
.home-screen-photo img { height:clamp(210px,29vh,340px); width:100%; max-width:440px; }
.home-screen-photo figcaption { margin-top:6px; font-size:10px; }
.home-product-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; padding-top:18px; border-top:1px solid #dcdce1; }
.home-battery .home-product-actions { border-color:#b46d7e; }
.home-inline-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#751526; font-size:13px; text-decoration:none; }
.home-inline-link:hover { text-decoration:underline; }
.home-battery-symbol { display:flex; justify-content:center; align-items:center; flex:none; }
.home-battery-symbol svg { width:126px; height:190px; }
.home-model-shortcuts { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:0 0 4px; }
.home-model-shortcuts > span { color:#515154; font-size:13px; margin-inline-end:8px; }
.home-model-shortcuts a { display:flex; align-items:center; justify-content:space-between; gap:24px; flex:1; min-width:80px; min-height:44px; padding:10px 16px; border:1px solid #dedee2; border-radius:10px; color:#1d1d1f; text-decoration:none; font-size:14px; }
.home-model-shortcuts a:hover { border-color:#751526; color:#751526; background:#fbf5f6; }
.home-model-shortcuts svg { width:14px; height:14px; }
.home-inline-link svg,.home-model-shortcuts svg { transform:scaleX(-1); }
html[dir=rtl] .home-inline-link svg,html[dir=rtl] .home-model-shortcuts svg { transform:none; }
body.home-mode #footer { width:calc(100% - 64px); max-width:1416px; margin:0 auto; padding:18px 0; font-size:11px; }
@media(max-width:1100px) {
  .home-mode .site-header { padding-inline:24px; }
  body.home-mode #main { padding-inline:24px; }
  .home-products { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); }
  .home-product { padding:24px; }
  .home-product h2 { font-size:32px; }
  .home-model-shortcuts { gap:8px; }
  .home-model-shortcuts > span { flex-basis:100%; }
  body.home-mode #footer { width:calc(100% - 48px); }
}
@media(max-width:700px) {
  .home-mode .site-header { padding-inline:18px; gap:6px 8px; }
  .home-mode .site-header .brand-wordmark { width:92px; }
  .home-mode .header-actions { gap:2px; }
  .home-mode .header-actions .account-button { padding-inline:6px; }
  .home-mode .language { gap:4px; }
  body.home-mode #main { padding:20px 18px; gap:18px; }
  .home-products { grid-template-columns:minmax(0,1fr); gap:16px; }
  .home-product { grid-template-columns:minmax(0,1fr) minmax(90px,38%); grid-template-rows:auto auto; padding:22px; min-height:260px; gap:16px 10px; }
  .home-product-copy { grid-column:1; grid-row:1; }
  .home-product h2 { font-size:26px; }
  .home-product-copy p { font-size:13px; }
  .home-screen-photo,.home-battery-symbol { grid-column:2; grid-row:1/3; align-self:center; }
  .home-screen-photo img { height:170px; }
  .home-screen-photo figcaption { font-size:8px; }
  .home-battery-symbol svg { width:90px; height:150px; }
  .home-product-actions { grid-column:1; grid-row:2; padding:0; border:0; gap:4px; align-content:start; }
  .home-product-actions .btn { padding:10px 12px; font-size:12px; }
  .home-inline-link { font-size:12px; }
  .home-model-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-model-shortcuts > span { grid-column:1/-1; margin-bottom:2px; }
  .home-model-shortcuts a { min-width:0; gap:8px; padding:10px 12px; }
  body.home-mode #footer { width:calc(100% - 36px); margin-inline:auto; line-height:1.6; }
}
