/* ABMCDC site-wide visual system, matched to the product slider demo. */
:root {
  --navy: #142c3c;
  --navy-2: #1d3a4e;
  --navy-3: #294253;
  --ink: #142c3c;
  --muted: #566e7e;
  --faint: #718592;
  --bg: #f3f6f8;
  --card: #fff;
  --line: #dce5ea;
  --amber: #d98248;
  --amber-deep: #b56535;
  --amber-soft: #f8eade;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(20, 44, 60, .07);
  color-scheme: light;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

html,
body {
  background: #f3f6f8;
  color: #142c3c;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
}

body,
button,
input,
select,
textarea {
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif !important;
}

body {
  color: #142c3c;
  background: #f3f6f8;
}

main {
  max-width: 1280px;
}

.site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

main:not(.site-main) {
  width: min(92vw, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 0 88px;
}

body > header:has(> nav) {
  min-height: 74px;
  padding: 12px max(4vw, 24px);
  gap: 24px;
}

body > header:has(> nav) > a:not(.btn) {
  flex: 0 0 auto;
  color: #142c3c;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

body > header:has(> nav) > a:not(.btn)::before {
  content: "A";
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-right: 9px;
  place-items: center;
  border-radius: 8px;
  background: #d98248;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  vertical-align: middle;
}

body > header:has(> nav) > nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
}

body > header:has(> nav) > nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #294253;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

body > header:has(> nav) > nav a:hover,
body > header:has(> nav) > nav a[aria-current="page"] {
  color: #b56535;
  background: #f8eade;
}

.container {
  width: min(92vw, 1320px);
  max-width: 1320px;
  padding-left: 0;
  padding-right: 0;
}

.nav.container {
  width: min(94vw, 1580px);
  max-width: none;
  height: 74px;
  padding: 0;
  gap: clamp(12px, 1.5vw, 24px);
}

.brand {
  flex: 0 0 auto;
  gap: 9px;
  color: #142c3c;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand svg rect:first-child {
  fill: #d98248;
}

.brand span {
  color: #718592 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a {
  padding: 9px clamp(5px, .7vw, 11px);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.lang-switch {
  flex: 0 0 auto;
  margin-left: 0;
}

.nav-cta {
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #142c3c;
  letter-spacing: -.025em;
}

p,
li,
dd {
  color: inherit;
}

a {
  color: #294253;
}

a:hover {
  color: #b56535;
}

body > header,
header {
  background: #fff;
  color: #142c3c;
  border-bottom: 1px solid #dce5ea;
  box-shadow: none;
  backdrop-filter: none;
}

header a,
header strong,
header .brand,
header nav a,
header label {
  color: #294253;
}

header nav a:hover,
header nav a.active {
  color: #b56535;
  background: #f8eade;
}

footer {
  background: #142c3c;
  color: #e7eef2;
}

footer p,
footer a,
footer li,
footer h2,
footer h3 {
  color: #e7eef2;
}

.hero,
.page-hero,
.tech,
.pd-profile,
.model-profile {
  background: linear-gradient(120deg, #f7f9fa 0%, #edf2f5 58%, #e3ebf0 100%);
  color: #142c3c;
}

#view-home > .hero {
  display: none;
}

.hero h1,
.page-hero h1,
.tech h1,
.pd-profile h1,
.model-profile h1,
.hero h2,
.page-hero h2,
.tech h2,
.pd-profile h2,
.model-profile h2,
.hero h3,
.page-hero h3,
.tech h3,
.pd-profile h3,
.model-profile h3 {
  color: #142c3c;
}

.hero p,
.page-hero p,
.tech p,
.pd-profile p,
.model-profile p {
  color: #566e7e;
}

main:not(.site-main) > .hero {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid #dce5ea;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(20, 44, 60, .05);
}

main:not(.site-main) > .hero .hero-photo,
main:not(.site-main) > .hero .product-photo {
  border: 1px solid #dce5ea;
  border-radius: 16px;
  background: #fff;
}

main:not(.site-main) > .hero .product-photo {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

main:not(.site-main) > section,
main:not(.site-main) > .section {
  margin-top: 68px;
}

main:not(.site-main) > section > h2,
main:not(.site-main) > .section > h2 {
  margin-bottom: 16px;
}

main:not(.site-main) .crumb {
  margin-bottom: 26px;
  color: #718592;
}

main:not(.site-main) .detail-art img,
main:not(.site-main) .proof img {
  border: 1px solid #dce5ea;
  border-radius: 16px;
  background: #fff;
}

main:not(.site-main) .quote-list li {
  padding: 22px;
  border: 1px solid #dce5ea;
  border-radius: 14px;
  background: #fff;
}

main:not(.site-main) .related a {
  padding: 10px 14px;
  border: 1px solid #dce5ea;
  border-radius: 999px;
  background: #fff;
  color: #294253;
}

main:not(.site-main) .related a:hover {
  border-color: #d98248;
  background: #f8eade;
  color: #b56535;
}

.model-profile .profile-data {
  color: #142c3c;
}

.model-profile .profile-data h3,
.model-profile .profile-data dd {
  color: #142c3c;
}

.model-profile .profile-data dt,
.model-profile .profile-data p {
  color: #566e7e;
}

.model-profile .profile-data dl div {
  border-color: #dce5ea;
}

.btn,
.cta,
button.btn,
.nav-cta,
.contact .btn,
.actions .btn:not(.secondary):not(.ghost) {
  background: #d98248;
  color: #fff;
  border-color: #d98248;
}

.btn:hover,
.cta:hover,
button.btn:hover,
.nav-cta:hover,
.contact .btn:hover {
  background: #b56535;
  color: #fff;
  border-color: #b56535;
}

.btn.secondary,
.btn.ghost,
.actions .btn.secondary,
.actions .btn.ghost {
  background: #fff;
  color: #142c3c;
  border: 1px solid #c9d5dc;
}

.btn.secondary:hover,
.btn.ghost:hover,
.actions .btn.secondary:hover,
.actions .btn.ghost:hover {
  background: #edf2f5;
  color: #142c3c;
  border-color: #aebfc9;
}

.card,
.fact,
.detail-card,
.media-card,
.proof,
.photo-pending,
.product-photo {
  background-color: #fff;
  border-color: #dce5ea;
}

.sec {
  padding: 84px 0;
}

.sec-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.card,
.detail-card,
.fact,
.faq details,
.pd-buy,
.proof {
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(20, 44, 60, .045);
}

.card:hover {
  box-shadow: 0 12px 28px rgba(20, 44, 60, .10);
}

.tech .ttech,
.model-profile .profile-data,
.pd-profile .pd-profile-data {
  background: #fff;
  color: #142c3c;
  border: 1px solid #dce5ea;
}

.tech .ttech b,
.pd-profile .pd-profile-data h3,
.model-profile .profile-data h3 {
  color: #142c3c;
}

.tech .ttech span,
.pd-profile .pd-profile-data dt,
.pd-profile .pd-profile-data p {
  color: #566e7e;
}

.pd-profile .pd-profile-data dd {
  color: #142c3c;
}

.pd-profile .pd-profile-data dl div {
  border-color: #dce5ea;
}

#view-home .tech .sec-head > p {
  color: #566e7e !important;
}

th {
  color: #142c3c;
  background: #eaf0f3;
}

.pd-long-detail .detail-panel,
.jump {
  background: #edf2f5;
}

.eyebrow,
.model,
.profile-model,
.detail-card span {
  color: #b56535;
}

.model,
.cta,
.jump,
.news {
  background-color: #f8eade;
}

.contact {
  background-color: #edf2f5;
}

.homepage-product-slider {
  min-height: 680px;
  height: min(82vh, 840px);
}

.hp-slide {
  grid-template-columns: minmax(380px, 36%) minmax(0, 64%);
  gap: 2.4vw;
  padding: 38px 4.5vw 82px;
}

.hp-stage {
  min-height: 570px;
  padding: 22px 3% 30px;
}

.hp-product-group img {
  width: 32%;
}

.hp-product-group img:first-child {
  height: 62%;
}

.hp-product-group img:nth-child(2) {
  height: 98%;
}

.hp-product-group img:nth-child(3) {
  height: 84%;
}

.hp-single-product {
  height: 100%;
  max-width: 92%;
}

input,
select,
textarea {
  color: #142c3c;
  border-color: #dce5ea;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 130, 72, .45);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .nav.container {
    width: 96vw;
    gap: 10px;
  }

  .nav-links a {
    padding-inline: 5px;
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .container {
    width: 88vw;
  }

  .sec {
    padding: 58px 0;
  }

  .homepage-product-slider {
    min-height: 820px;
    height: auto;
  }

  .hp-slide {
    grid-template-columns: 1fr;
    padding: 42px 6vw 90px;
  }

  .hp-stage {
    min-height: 440px;
  }

  main:not(.site-main) {
    width: 90vw;
    padding: 34px 0 64px;
  }

  body > header:has(> nav) {
    align-items: stretch;
    padding: 14px 5vw;
    gap: 12px;
  }

  body > header:has(> nav) > nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  main:not(.site-main) > .hero {
    padding: 20px;
  }
}

/* Homepage refresh: product-led, readable, and photo-forward. */
.homepage-product-slider {
  width: 100%;
  min-height: 640px;
  height: min(78vh, 780px);
  background: #edf2f5;
}

.hp-slide {
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 68px);
  padding: 38px clamp(28px, 6vw, 100px) 84px;
}

.hp-copy { max-width: 550px; }
.hp-copy h1 { font-size: clamp(42px, 4.4vw, 66px); }
.hp-stage { min-height: 520px; }
.hp-product-group img { width: 33%; }

.trustbar { background: #fff; }
.trust-inner { max-width: 1320px; }

.home-filament-feature {
  padding: 56px 0;
  background: #fff;
}

.filament-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  background: #142c3c;
}

.filament-feature-copy {
  align-self: center;
  padding: clamp(32px, 5vw, 68px);
  color: #fff;
}

.filament-feature-kicker {
  color: #efaa72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.filament-feature-copy h2 {
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.filament-feature-copy p {
  max-width: 470px;
  color: #d6e1e7;
  font-size: 16px;
  line-height: 1.75;
}

.filament-feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}

.filament-feature-points span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  color: #e8eef1;
  font-size: 12px;
}

.filament-feature-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #e9e8e8;
}

.filament-feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.07) contrast(1.04);
}

.filament-visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-left: 3px solid #d98248;
  background: rgba(20,44,60,.92);
  color: #fff;
  font-size: 13px;
}

#view-home .usecase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#view-home .uc {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  min-height: 360px;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  background: #fff;
  color: #142c3c;
}

#view-home .uc img {
  position: static;
  flex: 1 1 auto;
  width: 100%;
  height: 250px;
  min-height: 250px;
  padding: 20px;
  object-fit: contain;
  background: #f6f8f9;
  transition: transform .25s ease;
}

#view-home .uc:hover img { transform: scale(1.025); }

#view-home .uc .ov {
  position: static;
  padding: 18px 20px 20px;
  background: #fff;
  color: #142c3c;
}

#view-home .uc h3 { color: #142c3c; font-size: 19px; }
#view-home .uc p { color: #566e7e; opacity: 1; }
#view-home .uc .ov > span { color: #b56535 !important; }

#view-home .sec { padding-block: 70px; }
#view-home .sec-head { margin-bottom: 30px; }
#view-home .sec-head h2 { max-width: 780px; font-size: clamp(30px, 3.2vw, 42px); }
#view-home .sec-head p { max-width: 660px; font-size: 16px; line-height: 1.7; }
#view-home .card .ph { aspect-ratio: 4 / 3.6; }
#view-home .card .ph img { padding: 18px; }

#view-home .tech {
  background: #eaf0f3;
  color: #142c3c;
}

#view-home .tech h2,
#view-home .tech .sec-head p { color: #142c3c !important; }

#view-home .tech .ttech {
  min-height: 142px;
  border: 1px solid #d5e0e6;
  border-top: 3px solid #d98248;
  border-radius: 8px;
  box-shadow: none;
}

#view-home .tech .ttech span { color: #566e7e; }

#view-home .home-contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 14px;
  background: #142c3c;
  color: #fff;
}

#view-home .home-contact-band h2 { margin: 10px 0; color: #fff; }
#view-home .home-contact-band p { max-width: 670px; color: #d6e1e7; line-height: 1.7; }
#view-home .home-contact-band .eyebrow { color: #efaa72; }
#view-home .home-contact-button { flex: 0 0 auto; }

@media (max-width: 900px) {
  .homepage-product-slider { min-height: 920px; height: auto; }
  .hp-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 30px 6vw 88px;
    text-align: center;
  }
  .hp-copy { margin: 0 auto; max-width: 620px; }
  .hp-copy h1 { font-size: clamp(38px, 7vw, 52px); }
  .hp-copy p { max-width: 600px; margin-inline: auto; }
  .hp-stage { min-height: 420px; }
  .hp-product-group { height: 100%; }
  .hp-product-group img { width: 34%; }
  .hp-single-product { max-width: 86%; }
  .hp-slider-controls { left: 50%; transform: translateX(-50%); }
  .filament-feature-inner { grid-template-columns: 1fr; }
  .filament-feature-visual { height: auto; min-height: 0; }
  .filament-feature-visual img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }
}

/* Shared subpage rhythm and product presentation. */
main:not(.site-main) {
  padding-top: 40px;
}

main:not(.site-main) > .hero {
  border-radius: 12px;
  box-shadow: none;
}

main:not(.site-main) > .hero h1 { max-width: 850px; }
main:not(.site-main) > .hero p { max-width: 720px; line-height: 1.75; }
main:not(.site-main) > section,
main:not(.site-main) > .section { margin-top: 54px; }

main:not(.site-main) .grid,
main:not(.site-main) .products-grid,
main:not(.site-main) .product-grid { gap: 20px; }

main:not(.site-main) .card,
main:not(.site-main) .product-card,
main:not(.site-main) .model-card {
  border: 1px solid #dce5ea;
  border-radius: 10px;
  box-shadow: none;
}

main:not(.site-main) .card .ph img,
main:not(.site-main) .product-card img,
main:not(.site-main) .model-card img { object-fit: contain; }

main:not(.site-main) table { border-color: #dce5ea; }
main:not(.site-main) td,
main:not(.site-main) th { padding: 12px 14px; }

@media (max-width: 760px) {
  .homepage-product-slider { min-height: 790px; height: auto; }
  .hp-slide { grid-template-columns: 1fr; padding: 32px 5vw 86px; gap: 16px; }
  .hp-copy h1 { font-size: clamp(38px, 10vw, 52px); }
  .hp-stage { min-height: 400px; }
  .home-filament-feature { padding: 34px 0; }
  .filament-feature-inner { grid-template-columns: 1fr; }
  .filament-feature-copy { padding: 32px 26px; }
  .filament-feature-visual,
  .filament-feature-visual img { min-height: 0; height: auto; }
  #view-home .usecase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #view-home .uc { min-height: 300px; }
  #view-home .uc img { height: 190px; min-height: 190px; padding: 12px; }
  #view-home .uc .ov { padding: 14px; }
  #view-home .uc h3 { font-size: 16px; }
  #view-home .uc p { font-size: 13px; }
  #view-home .home-contact-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  #view-home .usecase { grid-template-columns: 1fr; }
  #view-home .uc { min-height: 320px; }
  #view-home .uc img { height: 220px; min-height: 220px; }
}

@media (max-width: 900px) {
  main:not(.site-main) > .hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }

  main:not(.site-main) > .hero .hero-photo {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  main:not(.site-main) > .hero .hero-photo img,
  main:not(.site-main) > .hero .product-photo {
    width: 100%;
    height: clamp(380px, 62vw, 600px);
    aspect-ratio: auto;
    object-fit: contain;
  }

  main:not(.site-main) .model-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  main:not(.site-main) .profile-visual img {
    height: clamp(320px, 56vw, 460px);
  }

  main:not(.site-main) .detail-grid,
  main:not(.site-main) .quote-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  main:not(.site-main) > .hero .hero-photo img,
  main:not(.site-main) > .hero .product-photo {
    height: clamp(300px, 90vw, 440px);
  }

  main:not(.site-main) .detail-grid,
  main:not(.site-main) .quote-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
