/*
Theme Name: ZAID NIPPON
Theme URI: https://zaid-nippon.example/
Author: ZAID NIPPON
Description: ZAID NIPPON classic WordPress theme.
Version: 1.2.2
Text Domain: zaid-nippon
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");

:root {
  --gray-950: #111111;
  --gray-900: #1f1f1f;
  --gray-800: #2f2f2f;
  --gray-700: #444444;
  --gray-600: #666666;
  --gray-500: #888888;
  --gray-400: #aaaaaa;
  --gray-300: #cccccc;
  --gray-200: #dedede;
  --gray-150: #ececec;
  --gray-100: #f4f4f4;
  --gray-050: #fafafa;
  --white: #ffffff;
  --max: 1180px;
  --radius: 4px;
  --space: 10px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: var(--gray-100);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(0, 0, 0, 0.035) calc(100% - 1px)),
    linear-gradient(0deg, transparent 0, transparent calc(100% - 1px), rgba(0, 0, 0, 0.035) calc(100% - 1px));
  background-size: 40px 40px;
}

.mobile-break {
  display: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--gray-300);
  background: rgba(244, 244, 244, 0.96);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(160px, 230px) 1fr auto;
  align-items: center;
  gap: calc(var(--space) * 2);
  min-height: 78px;
}

.logo {
  display: grid;
  gap: 4px;
}

.logo-mark {
  display: inline-grid;
  width: 160px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--gray-800);
  background: var(--white);
  color: var(--gray-900);
  font-family: Hind, "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  padding: 7px 9px;
  color: var(--gray-700);
  font-size: 13px;
}

.nav a[aria-current="page"],
.nav a:hover {
  border-color: var(--gray-400);
  background: var(--white);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.header-actions .btn-dark {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-900);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--gray-600);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--white);
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.btn:hover {
  background: var(--gray-150);
}

.btn-dark {
  border-color: var(--gray-900);
  background: var(--gray-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gray-700);
}

.btn-muted {
  border-color: var(--gray-400);
  background: var(--gray-200);
}

.btn-wide {
  width: 100%;
}

.page-main {
  padding-bottom: 0;
}

.hero,
.page-title {
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-200);
}

.hero {
  min-height: min(720px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  padding: 58px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-family: Hind, "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--gray-950);
  font-family: Hind, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  line-break: anywhere;
  overflow-wrap: anywhere;
}

h1 {
  font-size: 46px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 19px;
}

p {
  margin: 0;
  line-break: anywhere;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions,
.cta-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.decision-strip {
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-050);
  padding: 28px 0;
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.decision-grid h2 {
  font-size: 26px;
}

.decision-grid p {
  color: var(--gray-700);
}

.micro-copy {
  margin-top: 10px;
  color: var(--gray-600);
  font-size: 13px;
}

.hero-media {
  min-height: 430px;
  border: 2px solid var(--gray-600);
  background: var(--white);
  padding: 18px;
}

.placeholder {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--gray-400) 50%, transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), var(--gray-400) 50%, transparent calc(50% + 1px)),
    var(--gray-200);
}

.placeholder::after {
  position: absolute;
  left: 16px;
  bottom: 12px;
  padding: 4px 8px;
  border: 1px solid var(--gray-500);
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-700);
  content: "";
  font-size: 12px;
  font-weight: 700;
}

.hero-media .placeholder {
  min-height: 394px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-300);
}

.section-muted {
  background: var(--gray-150);
}

.section-dark {
  background: var(--gray-800);
  color: var(--gray-100);
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--white);
}

.section-dark .lead {
  color: var(--gray-200);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.42fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--gray-700);
}

.section-dark .section-head p {
  color: var(--gray-200);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card,
.panel {
  border: 1px solid var(--gray-400);
  border-radius: var(--radius);
  background: var(--white);
}

.card {
  padding: 24px;
}

.panel {
  padding: 30px;
}

.card h3,
.panel h3 {
  margin-bottom: 10px;
}

.card p,
.panel p {
  color: var(--gray-700);
}

.number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--gray-500);
  background: var(--gray-200);
  color: var(--gray-900);
  font-family: Hind, sans-serif;
  font-weight: 700;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--gray-400);
  background: var(--white);
}

.table th,
.table td {
  border-bottom: 1px solid var(--gray-300);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 32%;
  background: var(--gray-150);
  color: var(--gray-900);
  font-weight: 700;
}

.tag-list,
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  padding: 5px 10px;
  background: var(--gray-150);
  color: var(--gray-800);
  font-size: 13px;
  font-weight: 700;
}

button.tag {
  cursor: pointer;
  font-family: inherit;
}

.stock-filter .tag.is-active {
  border-color: var(--gray-950);
  background: var(--gray-950);
  color: var(--white);
}

.stock-filter-block {
  display: grid;
  gap: 10px;
  margin: -8px 0 24px;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 16px 0;
}

.vehicle-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  background: var(--white);
}

.vehicle-card .placeholder {
  min-height: 220px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.vehicle-body {
  padding: 20px;
}

.vehicle-headline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vehicle-meta {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
  color: var(--gray-700);
  font-size: 13px;
}

.price {
  color: var(--gray-950);
  font-family: Hind, "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.sold {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  border: 2px solid var(--gray-950);
  background: var(--gray-950);
  color: var(--white);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.sold-overlay {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 3px solid var(--white);
  background: var(--gray-950);
  color: var(--white);
  padding: 10px 16px;
  font-family: Hind, "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
  box-shadow: 0 0 0 2px var(--gray-950);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.58fr);
  gap: 26px;
  align-items: start;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  min-height: 460px;
}

.gallery-main-wrap {
  position: relative;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-thumbs .placeholder {
  min-height: 110px;
}

.gallery-thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumb-grid .placeholder {
  min-height: 88px;
}

.note-box {
  min-height: 120px;
  border: 1px solid var(--gray-300);
  background: var(--gray-050);
  padding: 14px;
}

.vehicle-type {
  overflow: hidden;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  background: var(--white);
}

.vehicle-type .placeholder {
  min-height: 170px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.vehicle-type h3,
.vehicle-type p {
  padding-inline: 18px;
}

.vehicle-type h3 {
  margin-top: 18px;
}

.vehicle-type p {
  padding-bottom: 18px;
}

.vehicle-type-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 33, 57, 0.1);
  background: #f7f9fb;
}

.vehicle-type-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-type-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(15, 33, 57, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-navy);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
}

.vehicle-photo-dump img,
.vehicle-photo-truck img,
.vehicle-photo-machinery img,
.vehicle-photo-other img,
.vehicle-photo-immobile img,
.vehicle-photo-accident img {
  object-position: center center;
}

.map-placeholder {
  min-height: 330px;
}

.stack {
  display: grid;
  gap: 18px;
}

.page-title {
  padding: 56px 0;
}

.breadcrumb {
  margin-bottom: 12px;
  color: var(--gray-600);
  font-size: 13px;
}

.cta-band {
  border-top: 1px solid var(--gray-400);
  border-bottom: 1px solid var(--gray-400);
  background: var(--gray-800);
  color: var(--white);
  padding: 54px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reassurance-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.reassurance-item {
  border: 1px solid var(--gray-400);
  background: var(--gray-050);
  padding: 14px 16px;
}

.form-support {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr);
  gap: 24px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--gray-900);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  background: var(--gray-050);
  padding: 10px 12px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox {
  min-height: 46px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--gray-400);
  background: var(--gray-150);
  padding: 12px;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
}

.policy-body {
  display: grid;
  gap: 16px;
}

.policy-item {
  border-left: 6px solid var(--gray-500);
  background: var(--white);
  padding: 22px;
}

.footer {
  border-top: 1px solid var(--gray-400);
  background: var(--gray-900);
  color: var(--gray-100);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) minmax(220px, 0.65fr);
  gap: 30px;
}

.footer a {
  color: var(--gray-100);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.social-links a {
  border: 1px solid var(--gray-500);
  border-radius: var(--radius);
  padding: 6px 9px;
}

.footer-small {
  margin-top: 36px;
  border-top: 1px solid var(--gray-700);
  padding-top: 20px;
  color: var(--gray-300);
  font-size: 12px;
}

.board-hero {
  padding: 54px 0 30px;
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-200);
}

.blueprint-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-050);
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.blueprint-card {
  border: 1px solid var(--gray-400);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
}

.blueprint-card h2,
.blueprint-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.blueprint-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--gray-700);
}

.blueprint-list li {
  border-top: 1px solid var(--gray-300);
  padding-top: 8px;
}

.component-map {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 50px 0;
}

.wire-page {
  overflow: hidden;
  border: 2px solid var(--gray-700);
  border-radius: var(--radius);
  background: var(--white);
}

.wire-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--gray-400);
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 16px;
}

.wire-page-head h2 {
  color: var(--white);
  font-size: 20px;
}

.wire-page-head a {
  border: 1px solid var(--gray-300);
  padding: 5px 9px;
  font-size: 12px;
}

.wire-canvas {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--gray-100);
}

.wire-row,
.wire-block,
.wire-card {
  border: 1px solid var(--gray-400);
  background: var(--white);
}

.wire-row {
  height: 42px;
}

.wire-block {
  min-height: 94px;
}

.wire-hero {
  min-height: 160px;
  border: 1px solid var(--gray-500);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--gray-400) 50%, transparent calc(50% + 1px)),
    var(--gray-200);
}

.wire-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wire-columns.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wire-card {
  min-height: 82px;
}

.wire-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wire-form div {
  height: 34px;
  border: 1px solid var(--gray-400);
  background: var(--white);
}

.wire-form .wide {
  grid-column: 1 / -1;
  height: 86px;
}

.error-layout {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.error-code {
  color: var(--gray-950);
  font-family: Hind, sans-serif;
  font-size: 150px;
  font-weight: 700;
  line-height: 0.9;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: minmax(160px, 210px) auto;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: flex-start;
    border-top: 1px solid var(--gray-300);
    padding: 12px 0 18px;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn-muted {
    display: none;
  }

  .header-actions .btn-dark {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .section-head,
  .detail-layout,
  .cta-grid,
  .footer-grid,
  .decision-grid,
  .form-support,
  .component-map {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media .placeholder,
  .gallery-main {
    min-height: 320px;
  }

  .grid-4,
  .grid-3,
  .contact-options,
  .board-grid,
  .blueprint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta-grid {
    align-items: start;
  }

  .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
    grid-template-columns: minmax(130px, 1fr) auto;
  }

  .logo-mark {
    width: 136px;
    height: 32px;
    font-size: 12px;
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  .page-title {
    padding: 42px 0;
  }

  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 24px;
  }

  .error-code {
    font-size: 82px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions,
  .cta-actions,
  .action-row {
    display: grid;
  }

  .decision-strip {
    padding: 22px 0;
  }

  .mobile-break {
    display: block;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .contact-options,
  .blueprint-grid,
  .form-grid,
  .board-grid,
  .wire-columns,
  .wire-columns.two,
  .wire-form {
    grid-template-columns: 1fr;
  }

  .card,
  .panel {
    padding: 20px;
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table th {
    border-bottom: 0;
    padding-bottom: 8px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sold-overlay {
    top: 14px;
    right: 14px;
    padding: 8px 12px;
    font-size: 18px;
  }
}

/* Brand design layer for ZAID NIPPON design preview */
:root {
  --brand-navy: #0f2139;
  --brand-navy-2: #172d49;
  --cta-blue: #00439B;
  --cta-blue-dark: #003373;
  --accent-red: #d80400;
  --ink: #151719;
  --text: #222222;
  --muted: #666666;
  --line: #dfe7ee;
  --line-strong: #c7d2dc;
  --surface: #ffffff;
  --surface-soft: #f7f9fb;
  --surface-blue: #eef7fd;
  --surface-warm: #f4f4f4;
  --shadow-soft: 0 18px 45px rgba(15, 33, 57, 0.08);
  --shadow-card: 0 12px 30px rgba(15, 33, 57, 0.08);
  --radius: 18px;
  --radius-lg: 20px;
  --max: 1200px;
  --space: 12px;
}

html {
  background: var(--surface);
}

body {
  color: var(--text);
  background: var(--surface);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

body::selection {
  background: rgba(0, 67, 155, 0.18);
}

.site-shell {
  background: var(--surface);
}

.container {
  width: min(100% - 48px, var(--max));
}

.header {
  border-bottom: 1px solid rgba(15, 33, 57, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 33, 57, 0.06);
}

.header-inner {
  grid-template-columns: minmax(210px, 270px) 1fr auto;
  min-height: 86px;
}

.logo {
  align-items: start;
  gap: 7px;
}

.logo-panel {
  display: inline-flex;
  width: min(252px, 100%);
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 33, 57, 0.12);
  border-radius: 14px;
  background: var(--surface);
  padding: 8px 12px;
  box-shadow: 0 8px 18px rgba(15, 33, 57, 0.07);
}

.logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-mark {
  border: 0;
  background: transparent;
  color: var(--brand-navy);
}

.nav {
  gap: 4px;
}

.nav a {
  min-height: 42px;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--brand-navy);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.22s cubic-bezier(0.32, 0.72, 0, 1), color 0.22s cubic-bezier(0.32, 0.72, 0, 1), transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav a[aria-current="page"],
.nav a:hover {
  border-color: transparent;
  background: var(--brand-navy);
  color: var(--surface);
}

.nav a:active,
.btn:active,
.menu-toggle:active {
  transform: translateY(1px);
}

.btn {
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-navy);
  padding: 12px 20px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(15, 33, 57, 0.06);
  transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.22s cubic-bezier(0.32, 0.72, 0, 1), background 0.22s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.22s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn:hover {
  border-color: rgba(0, 67, 155, 0.45);
  box-shadow: 0 12px 26px rgba(15, 33, 57, 0.12);
  transform: translateY(-1px);
}

.btn-dark {
  border-color: var(--cta-blue);
  background: var(--cta-blue);
  color: var(--surface);
}

.btn-dark:hover {
  border-color: var(--cta-blue-dark);
  background: var(--cta-blue-dark);
}

.btn-muted {
  border-color: rgba(15, 33, 57, 0.18);
  background: var(--surface-soft);
  color: var(--brand-navy);
}

.btn-wide {
  width: 100%;
}

.menu-toggle {
  border-color: rgba(15, 33, 57, 0.22);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-navy);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(0, 67, 155, 0.1);
  color: var(--cta-blue-dark);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

h1,
h2,
h3 {
  color: var(--brand-navy);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.28;
}

h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.34;
}

h3 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.9;
}

.page-title {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 67, 155, 0.1), transparent 42%),
    var(--surface-soft);
  padding: 76px 0 68px;
}

.breadcrumb {
  color: var(--cta-blue-dark);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  border-bottom: 0;
  background:
    linear-gradient(115deg, rgba(15, 33, 57, 0.97) 0%, rgba(15, 33, 57, 0.92) 48%, rgba(0, 67, 155, 0.13) 48.2%, rgba(247, 249, 251, 1) 100%);
  color: var(--surface);
  padding: 88px 0;
}

.hero h1,
.hero .lead,
.hero .eyebrow {
  color: var(--surface);
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.13);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.84);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 52px;
}

.hero-media {
  min-height: 440px;
  border: 1px solid rgba(15, 33, 57, 0.12);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.hero-media .placeholder {
  min-height: 410px;
}

.section {
  border-bottom: 0;
  background: var(--surface);
  padding: 92px 0;
}

.section-muted {
  background: var(--surface-soft);
}

.section-head {
  align-items: end;
  margin-bottom: 34px;
}

.section-head > p {
  color: var(--muted);
  max-width: 40rem;
}

.grid {
  gap: 24px;
}

.card,
.panel,
.blueprint-card,
.wire-page {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.card,
.panel {
  padding: 28px;
}

.card h3,
.panel h2,
.panel h3 {
  color: var(--brand-navy);
}

.card p,
.panel p,
.vehicle-meta,
.micro-copy {
  color: var(--muted);
}

.number {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-navy);
  color: var(--surface);
}

.placeholder {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(15, 33, 57, 0.18) 50%, transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(15, 33, 57, 0.18) 50%, transparent calc(50% + 1px)),
    linear-gradient(180deg, #eef3f7, #dfe8ef);
}

.placeholder::after {
  left: 18px;
  bottom: 16px;
  border: 1px solid rgba(15, 33, 57, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-navy);
  padding: 6px 11px;
}

.tag {
  min-width: 44px;
  min-height: 44px;
  border-color: rgba(15, 33, 57, 0.12);
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--brand-navy);
  padding: 7px 12px;
}

.stock-filter-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.stock-filter .tag {
  min-height: 44px;
  background: var(--surface);
}

.stock-filter .tag.is-active {
  border-color: var(--cta-blue);
  background: var(--cta-blue);
  color: var(--surface);
}

.vehicle-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.vehicle-card .placeholder {
  min-height: 230px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.vehicle-body {
  padding: 24px;
}

.vehicle-headline {
  margin-bottom: 14px;
}

.price {
  color: var(--brand-navy);
  font-size: 24px;
  line-height: 1.3;
}

.sold-overlay {
  border-color: var(--surface);
  background: var(--accent-red);
  box-shadow: 0 0 0 2px var(--accent-red), 0 8px 18px rgba(216, 4, 0, 0.18);
}

.detail-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.62fr);
  gap: 32px;
}

.gallery-main-wrap,
.gallery {
  min-width: 0;
}

.gallery-main {
  min-height: 520px;
}

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

.gallery-thumb-grid .placeholder {
  min-height: 92px;
}

.table {
  overflow: hidden;
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.table th {
  background: var(--surface-blue);
  color: var(--brand-navy);
}

.table th,
.table td {
  border-bottom-color: var(--line);
  padding: 16px 18px;
}

.note-box,
.reassurance-item {
  border-color: var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.vehicle-type {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.vehicle-type .placeholder {
  min-height: 190px;
}

.form-support {
  gap: 30px;
}

.field label {
  color: var(--brand-navy);
  font-weight: 800;
}

input,
select,
textarea {
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  padding: 13px 15px;
}

textarea {
  min-height: 180px;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
.nav a:focus-visible,
.social-links a:focus-visible,
.stock-filter .tag:focus-visible {
  outline: 3px solid rgba(0, 67, 155, 0.25);
  outline-offset: 2px;
}

.checkbox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 14px 16px;
}

.cta-band {
  border: 0;
  background: var(--brand-navy);
  color: var(--surface);
  padding: 68px 0;
}

.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface);
}

.cta-band h2,
.cta-band p {
  color: var(--surface);
}

.cta-band .btn {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--surface);
  color: var(--brand-navy);
}

.cta-band .btn-dark {
  border-color: var(--cta-blue);
  background: var(--cta-blue);
  color: var(--surface);
}

.footer {
  border-top: 0;
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.84);
  padding: 64px 0 32px;
}

.footer-grid {
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  max-width: 260px;
  border-radius: 16px;
  background: var(--surface);
  padding: 10px 14px;
}

.footer-logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-nav a,
.social-links a {
  border-radius: 999px;
}

.footer-nav a:hover,
.social-links a:hover {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.social-links a {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.footer-small {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.board-hero,
.blueprint-section {
  background: var(--surface-soft);
}

.wire-canvas {
  border-radius: 16px;
  background: var(--surface);
}

.wire-row,
.wire-block,
.wire-hero,
.wire-card,
.wire-form > div {
  border-color: rgba(15, 33, 57, 0.12);
  background: var(--surface-blue);
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: minmax(180px, 260px) auto;
  }

  .nav {
    border-top-color: var(--line);
    border-radius: 0 0 22px 22px;
    background: var(--surface);
  }
}

@media (max-width: 900px) {
  .hero {
    background: var(--brand-navy);
    padding: 64px 0;
  }

  .hero-grid,
  .detail-layout,
  .form-support {
    gap: 28px;
  }

  .hero-media,
  .hero-media .placeholder,
  .gallery-main {
    min-height: 340px;
  }

  .gallery-thumb-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .logo-panel {
    width: 172px;
    min-height: 36px;
    border-radius: 12px;
    padding: 7px 9px;
  }

  .header-actions .btn-dark {
    display: none;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .page-title {
    padding: 48px 0;
  }

  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 25px;
  }

  .btn,
  .hero-actions .btn,
  .cta-actions .btn,
  .action-row .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions,
  .action-row {
    gap: 10px;
  }

  .card,
  .panel,
  .vehicle-body {
    padding: 22px;
  }

  .vehicle-card .placeholder {
    min-height: 210px;
  }

  .gallery-thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-thumb-grid .placeholder {
    min-height: 74px;
  }

  .stock-filter-block {
    padding: 14px;
  }

  .sold-overlay {
    font-size: 17px;
  }

  .footer-brand {
    max-width: 220px;
  }
}

/* Requested UI refinements: flatten selected panels and simplify chrome */
:root {
  --radius: 20px;
  --radius-lg: 20px;
  --radius-card: 15px;
}

.card,
.panel,
.vehicle-card,
.vehicle-type,
.contact-options article,
.board-card,
.wire-card {
  border-radius: var(--radius-card);
}

.logo {
  gap: 0;
}

.logo-panel {
  width: min(214px, 42vw);
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.logo-img {
  width: 100%;
}

.header-actions .btn-muted {
  min-width: auto;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--brand-navy);
  padding: 0 4px;
}

.header-actions .btn-muted:hover {
  background: transparent;
  color: var(--cta-blue-dark);
}

.panel-flat,
.purchase-flat,
.greeting-flat,
.service-panel-flat,
.contact-note,
.policy-item,
.stock-filter-block {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.panel-flat:hover,
.purchase-flat:hover,
.greeting-flat:hover,
.service-panel-flat:hover,
.contact-note:hover,
.policy-item:hover {
  transform: none;
}

.purchase-flat .reassurance-list,
.contact-note .reassurance-list {
  margin-top: 22px;
}

.purchase-grid,
.company-grid,
.greeting-grid,
.buying-feature-grid {
  align-items: center;
}

.section-image {
  position: relative;
  align-self: stretch;
  min-height: clamp(300px, 30vw, 460px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 33, 57, 0.12);
  border-radius: var(--radius-card);
  background: #f7f9fb;
}

.section-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.section-image figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  max-width: calc(100% - 36px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 9px 12px;
}

.purchase-image img {
  object-position: center center;
}

.company-image img {
  object-position: center center;
}

.greeting-image img {
  object-position: center center;
}

.service-grid {
  align-items: center;
}

.service-image img {
  object-position: center center;
}

.service-image-purchase img {
  object-position: center center;
}

.service-image-export img {
  object-position: center center;
}

.buying-feature-image img {
  object-position: center center;
}

.map-embed {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(15, 33, 57, 0.12);
  border-radius: var(--radius-card);
  background: #f7f9fb;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

@media (max-width: 900px) {
  .purchase-grid,
  .company-grid,
  .greeting-grid,
  .buying-feature-grid,
  .service-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .purchase-grid .section-image,
  .company-grid .section-image,
  .greeting-grid .section-image,
  .buying-feature-grid .section-image,
  .service-grid .section-image {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .purchase-grid .section-image,
  .company-grid .section-image,
  .greeting-grid .section-image,
  .buying-feature-grid .section-image,
  .service-grid .section-image {
    min-height: 300px;
  }

  .map-embed {
    min-height: 300px;
  }
}

.service-panel-flat {
  align-self: center;
}

.stock-filter-block {
  margin-top: 26px;
}

.stock-filter-block .eyebrow {
  margin-bottom: 12px;
}

.table-flat {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.table-flat th,
.table-flat td {
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 16px 0;
}

.table-flat tr:last-child th,
.table-flat tr:last-child td {
  border-bottom: 0;
}

.company-info-table {
  max-width: 920px;
}

.policy-list {
  display: grid;
  max-width: 880px;
  gap: 0;
}

.policy-item {
  border-bottom: 1px solid var(--line);
  padding: 0 0 24px;
}

.policy-item + .policy-item {
  padding-top: 24px;
}

.policy-item:last-child {
  border-bottom: 0;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding-right: 22px;
}

.flow-step::after {
  position: absolute;
  top: 23px;
  right: 12px;
  left: 58px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.flow-step:last-child::after {
  display: none;
}

.flow-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cta-blue);
  border-radius: 50%;
  background: var(--surface);
  color: var(--cta-blue-dark);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.flow-step h3 {
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-size: 18px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand {
  max-width: 260px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.footer-logo-img {
  max-width: 240px;
}

.social-links {
  align-items: center;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0;
  font-size: 0;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
}

.social-links svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.social-links .icon-fill {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-layout,
  .form-support,
  .cta-grid,
  .footer-grid,
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1,
  .page-title h1 {
    max-width: 100%;
    text-wrap: balance;
    line-break: strict;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-step {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0 16px;
    padding: 0 0 28px;
  }

  .flow-step::after {
    top: 54px;
    bottom: 6px;
    left: 23px;
    width: 1px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .logo-panel {
    width: 174px;
  }

  .header-actions .btn-muted {
    display: none;
  }

  .panel-flat,
  .purchase-flat,
  .greeting-flat,
  .service-panel-flat,
  .contact-note,
  .policy-item,
  .stock-filter-block {
    padding: 0;
  }
}

/* Narrow viewport hardening */
html,
body,
.site-shell {
  max-width: 100%;
  overflow-x: hidden;
}

.page-main,
.container,
.hero-grid,
.grid,
.section-head,
.detail-layout,
.form-support,
.cta-grid,
.footer-grid,
.flow-list,
.flow-step,
.card,
.panel,
.vehicle-card,
.vehicle-type,
.vehicle-type-photo,
.section-image,
.placeholder,
.table,
.policy-list {
  min-width: 0;
}

p,
li,
dt,
dd,
th,
td,
.lead,
.section-head > p,
.reassurance-item,
.vehicle-meta,
.micro-copy,
.flow-step h3,
.flow-step p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  body {
    letter-spacing: 0;
  }

  .container {
    width: calc(100% - 64px);
    max-width: var(--max);
  }

  h2 {
    font-size: 23px;
  }

  .page-title .lead,
  .section-head > p,
  .lead {
    font-size: 15px;
    line-height: 1.9;
  }

  p,
  li,
  .lead,
  .section-head > p,
  .card p,
  .panel p,
  .vehicle-type p,
  .vehicle-body p,
  .reassurance-item,
  .flow-step p {
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .reassurance-item {
    padding-right: 14px;
    padding-left: 14px;
  }

  .stock-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stock-filter .tag {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .stock-filter .tag:first-child {
    grid-column: 1 / -1;
  }

  .gallery-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sold-overlay {
    top: 12px;
    right: auto;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 11px;
    font-size: 15px;
    transform: none;
  }
}

/* TOP first-view slideshow */
.hero--slideshow {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: calc(100svh - 86px);
  align-items: center;
  overflow: hidden;
  border-bottom: 0;
  background: var(--brand-navy);
  color: var(--surface);
  padding: 0;
}

.hero-slider,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  z-index: 0;
  background: var(--brand-navy);
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.32, 0.72, 0, 1);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  object-fit: cover;
}

.hero-slide--truck img {
  object-position: center center;
}

.hero-slide--machinery img {
  object-position: center center;
}

.hero-slide--car img {
  object-position: right center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(15, 33, 57, 0.82) 0%,
      rgba(15, 33, 57, 0.58) 44%,
      rgba(15, 33, 57, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(15, 33, 57, 0.28) 0%,
      rgba(15, 33, 57, 0.08) 42%,
      rgba(15, 33, 57, 0.36) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: inherit;
  align-items: center;
  padding-top: clamp(72px, 10vh, 126px);
  padding-bottom: clamp(72px, 11vh, 132px);
}

.hero-content > div {
  max-width: min(720px, 100%);
}

.hero--slideshow h1 {
  max-width: 12.5em;
  color: var(--surface);
  line-break: anywhere;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.hero--slideshow .lead {
  max-width: 45rem;
  color: rgba(255, 255, 255, 0.9);
  line-break: anywhere;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.34);
}

.hero--slideshow .hero-actions {
  margin-top: 34px;
}

.hero--slideshow .btn {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-navy);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.hero--slideshow .btn:hover {
  border-color: rgba(255, 255, 255, 0.96);
  background: var(--surface);
}

.hero--slideshow .btn-dark {
  border-color: var(--cta-blue);
  background: var(--cta-blue);
  color: var(--surface);
}

.hero--slideshow .btn-dark:hover {
  border-color: var(--cta-blue-dark);
  background: var(--cta-blue-dark);
}

@media (max-width: 900px) {
  .hero--slideshow {
    min-height: calc(100svh - 74px);
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 33, 57, 0.76) 0%,
        rgba(15, 33, 57, 0.66) 52%,
        rgba(15, 33, 57, 0.84) 100%
      );
  }

  .hero-slide--truck img,
  .hero-slide--machinery img,
  .hero-slide--car img {
    object-position: center center;
  }

  .hero-content {
    align-items: end;
    padding-top: clamp(72px, 12vh, 104px);
    padding-bottom: clamp(48px, 9vh, 82px);
  }

  .hero--slideshow h1 {
    max-width: 10.8em;
  }
}

@media (max-width: 640px) {
  .hero--slideshow {
    min-height: calc(100svh - 74px);
  }

  .hero-content {
    width: calc(100% - 64px);
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .hero--slideshow h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.27;
  }

  .hero--slideshow .lead {
    max-width: 38ch;
    font-size: 14px;
    line-height: 1.95;
    word-break: normal;
  }

  .hero--slideshow .hero-actions {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

/* Initial site loader */
html:not(.loader-skip) body:not(.is-loaded) .site-shell {
  opacity: 0;
}

body.is-loaded .site-shell,
html.loader-skip .site-shell {
  opacity: 1;
}

.site-shell {
  transition: none;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.52s cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0.52s cubic-bezier(0.32, 0.72, 0, 1);
}

.site-loader__inner {
  position: relative;
  display: grid;
  width: clamp(112px, 24vw, 148px);
  aspect-ratio: 1;
  place-items: center;
}

.site-loader__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, var(--cta-blue) 0deg 300deg, rgba(0, 67, 155, 0.08) 300deg 360deg);
  opacity: 1;
  transform: rotate(0deg);
  transition:
    opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  animation:
    loader-circle 0.96s cubic-bezier(0.32, 0.72, 0, 1) both,
    loader-circle-out 0.36s cubic-bezier(0.32, 0.72, 0, 1) 1s forwards;
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.site-loader__circle::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(15, 33, 57, 0.12);
  border-radius: 50%;
  content: "";
}

.site-loader__logo {
  width: clamp(70px, 15vw, 92px);
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.48s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.48s cubic-bezier(0.32, 0.72, 0, 1);
  animation: loader-logo-in 0.48s cubic-bezier(0.32, 0.72, 0, 1) 1.08s forwards;
}

.site-loader.has-logo .site-loader__circle {
  opacity: 0;
  transform: rotate(24deg) scale(1.08);
}

.site-loader.has-logo .site-loader__logo {
  opacity: 1;
  transform: scale(1);
}

.site-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.loader-skip .site-loader,
.site-loader[hidden] {
  display: none;
}

@keyframes loader-circle {
  0% {
    opacity: 0;
    transform: rotate(-72deg) scale(0.86);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
  }
}

@keyframes loader-circle-out {
  to {
    opacity: 0;
    transform: rotate(24deg) scale(1.08);
  }
}

@keyframes loader-logo-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .site-loader__inner {
    width: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.loader-skip) body:not(.is-loaded) .site-shell {
    opacity: 1;
  }

  .site-loader,
  .site-loader__circle,
  .site-loader__logo {
    animation: none;
    transition-duration: 0.12s;
  }

  .site-loader__circle {
    opacity: 0;
  }

  .site-loader__logo {
    opacity: 1;
    transform: scale(1);
  }
}

/* Project-wide refinement pass */
:root {
  --radius: 2px;
  --radius-lg: 2px;
  --radius-card: 15px;
  --shadow-soft: none;
  --shadow-card: none;
}

.card,
.panel,
.vehicle-card,
.vehicle-type,
.contact-options article,
.section-image,
.map-embed,
.table,
input,
select,
textarea,
.checkbox,
.gallery-main-wrap,
.gallery-thumb-grid .placeholder,
.placeholder {
  border-radius: var(--radius-card);
}

.card,
.panel,
.vehicle-card,
.vehicle-type,
.contact-options article,
.gallery-main-wrap,
.gallery-thumb-grid .placeholder,
.table,
.section-image,
.map-embed {
  box-shadow: none;
}

.tag,
button.tag,
.flow-number,
.social-links a,
.contact-icon {
  border-radius: 999px;
}

.section-image,
.vehicle-type-photo,
.stock-card-photo,
.map-embed {
  border: 0;
}

.vehicle-card .placeholder,
.vehicle-type .placeholder {
  border-width: 0;
}

.section-image figcaption,
.vehicle-type-photo figcaption,
.stock-card-photo figcaption {
  border: 0;
  border-radius: 2px;
  background: rgba(15, 33, 57, 0.68);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0;
}

.service-keywords {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.vehicle-status {
  margin: -2px 0 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.6;
}

.vehicle-status-inline {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
}

.vehicle-headline {
  margin-bottom: 10px;
}

.price {
  margin: 0 0 8px;
}

.sold,
.sold-overlay {
  transform: none;
  box-shadow: none;
}

.detail-layout .spec-block {
  min-width: 0;
}

.spec-block {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.spec-block h2 {
  margin-bottom: 18px;
}

.spec-table {
  border: 0;
  background: transparent;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 15px 0;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.company-info-wrap {
  width: min(100%, 800px);
  margin-inline: auto;
}

.company-info-table {
  max-width: none;
}

.company-info-head {
  display: block;
  margin-bottom: 26px;
  text-align: center;
}

.company-map {
  margin-top: 30px;
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-card-head h3 {
  margin: 0;
}

.contact-options article {
  display: flex;
  flex-direction: column;
}

.contact-options article .action-row {
  margin-top: auto;
  padding-top: 28px;
}

.contact-icon {
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 67, 155, 0.28);
  background: rgba(0, 67, 155, 0.08);
  color: var(--cta-blue-dark);
}

#form .field > label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#form .required-mark {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.contact-icon::before,
.social-links a::before {
  display: block;
  width: 1em;
  height: 1em;
  background-color: transparent;
  background-image: var(--icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  -webkit-mask: none;
  mask: none;
}

.contact-icon::before {
  font-size: 21px;
}

.icon-phone {
  --icon-url: url("assets/icons/phone-call-svgrepo-com.svg");
}

.icon-mail {
  --icon-url: url("assets/icons/mail-material-2-svgrepo-com.svg");
}

.icon-line {
  --icon-url: url("assets/icons/line-svgrepo-com.svg");
}

.social-links svg {
  display: none;
}

.social-links a::before {
  font-size: 19px;
  filter: invert(1);
  opacity: 0.96;
}

.social-links a[aria-label="Instagram"] {
  --icon-url: url("assets/icons/instagram-svgrepo-com.svg");
}

.social-links a[aria-label="TikTok"] {
  --icon-url: url("assets/icons/tiktok-fill-svgrepo-com.svg");
}

.social-links a[aria-label="LINE"] {
  --icon-url: url("assets/icons/line-svgrepo-com.svg");
}

.social-links a[aria-label="Facebook"] {
  --icon-url: url("assets/icons/facebook-svgrepo-com.svg");
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --cta-bg-image: none;
}

.cta-band::before,
.cta-band::after {
  position: absolute;
  inset: 0;
  content: "";
}

.cta-band::before {
  z-index: -2;
  background-image: var(--cta-bg-image);
  background-position: center;
  background-size: cover;
}

.cta-band::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 33, 57, 0.92), rgba(15, 33, 57, 0.78));
}

.cta-band .container {
  position: relative;
}

@media (max-width: 640px) {
  .contact-card-head {
    align-items: flex-start;
  }

  .company-info-wrap {
    width: 100%;
  }
}

/* TB/SP animated menu button */
.menu-toggle {
  position: relative;
  appearance: none;
  flex: 0 0 auto;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  border: 1px solid rgba(15, 33, 57, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-navy);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  line-height: 0;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(15, 33, 57, 0.34);
  background: #ffffff;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(0, 67, 155, 0.24);
  outline-offset: 2px;
}

.menu-toggle .menu-toggle__line {
  position: absolute;
  right: auto;
  bottom: auto;
  left: 10px;
  display: block;
  width: 26px;
  height: 2px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  will-change: transform;
}

.menu-toggle .menu-toggle__line::before,
.menu-toggle .menu-toggle__line::after {
  display: none !important;
  content: none !important;
}

.menu-toggle .menu-toggle__line:nth-child(1) {
  top: 17px;
}

.menu-toggle .menu-toggle__line:nth-child(2) {
  top: 27px;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
  animation: menu-line-01 0.52s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
  animation: menu-line-02 0.52s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.menu-toggle.has-interacted:not(.is-active) .menu-toggle__line:nth-child(1) {
  animation: menu-line-01-reverse 0.46s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.menu-toggle.has-interacted:not(.is-active) .menu-toggle__line:nth-child(2) {
  animation: menu-line-02-reverse 0.46s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
}

@keyframes menu-line-01 {
  0% {
    transform: translateY(0) rotate(0);
  }

  48% {
    transform: translateY(5px) rotate(0);
  }

  100% {
    transform: translateY(5px) rotate(45deg);
  }
}

@keyframes menu-line-02 {
  0% {
    transform: translateY(0) rotate(0);
  }

  48% {
    transform: translateY(-5px) rotate(0);
  }

  100% {
    transform: translateY(-5px) rotate(-45deg);
  }
}

@keyframes menu-line-01-reverse {
  0% {
    transform: translateY(5px) rotate(45deg);
  }

  48% {
    transform: translateY(5px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes menu-line-02-reverse {
  0% {
    transform: translateY(-5px) rotate(-45deg);
  }

  48% {
    transform: translateY(-5px) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@media (max-width: 1120px) {
  .header-inner {
    position: relative;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 19;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, min(520px, 100%));
    align-content: center;
    justify-content: center;
    gap: 10px;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
    max-height: none;
    overflow: hidden;
    overscroll-behavior: contain;
    border: 0;
    border-top: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.84);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
    backdrop-filter: blur(8px) saturate(1.05);
  }

  .nav.is-open {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    min-height: 46px;
    justify-content: center;
    border-color: transparent;
    background: transparent;
    color: var(--brand-navy);
    font-weight: 700;
  }

  .nav a[aria-current="page"],
  .nav a:hover {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.42);
    color: var(--brand-navy);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav {
    top: 74px;
    grid-template-columns: minmax(0, 100%);
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    max-height: none;
    padding: 28px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .menu-toggle__line,
  .nav {
    animation: none !important;
    transition: none !important;
  }

  .menu-toggle.is-active .menu-toggle__line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle.is-active .menu-toggle__line:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* Fixed header and open menu tone */
:root {
  --fixed-header-height: 86px;
}

.site-shell {
  padding-top: var(--fixed-header-height);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  width: 100%;
}

.header-inner {
  min-height: var(--fixed-header-height);
}

@media (max-width: 1120px) {
  :root {
    --fixed-header-height: 78px;
  }

  .nav {
    top: var(--fixed-header-height);
    height: calc(100vh - var(--fixed-header-height));
    height: calc(100dvh - var(--fixed-header-height));
    background: rgba(32, 58, 88, 0.76);
    backdrop-filter: blur(8px) saturate(1.05);
  }

  .nav a {
    min-height: 50px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 15px;
    letter-spacing: 0.01em;
  }

  .nav a[aria-current="page"],
  .nav a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }
}

@media (max-width: 640px) {
  :root {
    --fixed-header-height: 74px;
  }

  .nav {
    top: var(--fixed-header-height);
    height: calc(100vh - var(--fixed-header-height));
    height: calc(100dvh - var(--fixed-header-height));
  }
}

/* 2026-07 requested common refinements */
:root {
  --color-primary: #00439B;
  --color-accent: #00439B;
  --cta-blue: #00439B;
  --cta-blue-dark: #003373;
  --radius: 15px;
  --radius-lg: 15px;
  --radius-card: 15px;
}

body::selection {
  background: rgba(0, 67, 155, 0.18);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-primary);
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.section-label span {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.section-label p {
  margin: 0;
}

.section-head .section-label,
.cta-band .section-label {
  margin-bottom: 12px;
}

.card,
.panel,
.vehicle-card,
.vehicle-type,
.contact-options article,
.form-support .panel,
.policy-item,
.blueprint-card,
.wire-page,
.section-image,
.vehicle-type-photo,
.stock-card-photo,
.gallery-main-wrap,
.gallery-thumb-grid .placeholder,
.additional-photo-grid .placeholder,
.placeholder,
.map-embed,
.table {
  border-radius: var(--radius-card);
}

.section-image,
.vehicle-type-photo,
.stock-card-photo,
.gallery-main-wrap,
.map-embed {
  overflow: hidden;
}

.section-image figcaption,
.vehicle-type-photo figcaption,
.stock-card-photo figcaption,
.placeholder::after {
  display: none !important;
  content: none !important;
}

.btn-dark,
.tag.is-active,
button.tag.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.btn-dark:hover,
.tag.is-active:hover,
button.tag.is-active:hover {
  border-color: var(--cta-blue-dark);
  background: var(--cta-blue-dark);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cta-blue-dark);
}

.logo-panel {
  width: min(278px, 100%);
  min-height: 46px;
}

.footer-logo-img {
  width: min(286px, 100%);
}

.cta-band {
  padding: 144px 0;
}

.cta-band .section-label {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .section-label span {
  background: currentColor;
}

.cta-band .cta-actions {
  justify-content: flex-end;
}

.vehicle-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.vehicle-meta span + span {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(15, 33, 57, 0.12);
}

.contact-icon {
  border-color: rgba(0, 67, 155, 0.28);
  background: rgba(0, 67, 155, 0.08);
  color: var(--color-primary);
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--brand-navy);
}

.header-actions .btn-dark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.header-actions .btn-dark:hover {
  background: var(--cta-blue-dark);
  border-color: var(--cta-blue-dark);
}

@media (max-width: 768px) {
  .vehicle-meta {
    display: block;
  }

  .vehicle-meta span {
    display: block;
  }

  .vehicle-meta span + span {
    margin-top: 8px;
    margin-left: 0;
    padding-top: 8px;
    padding-left: 0;
    border-top: 1px solid rgba(15, 33, 57, 0.12);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .logo-panel {
    width: min(210px, 48vw);
    min-height: 42px;
  }

  .footer-grid > div:first-child {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    margin-inline: auto;
  }

  .footer-logo-img {
    width: min(250px, 70vw);
  }

  .cta-band {
    padding: 124px 0;
  }
}

/* Supplied photo replacements */
.hero-slide {
  background-position: center;
  background-size: cover;
}

.hero-slide--truck {
  background-image: url("assets/photos/088A9092.jpg");
  background-position: center 64%;
}

.hero-slide--machinery {
  background-image: url("assets/photos/088A9089.jpg");
  background-position: center center;
}

.hero-slide--car {
  background-image: url("assets/photos/088A9096.jpg");
  background-position: center center;
}

.hero-slide--truck img {
  object-position: center 64%;
}

.hero-slide--machinery img {
  object-position: center center;
}

.hero-slide--car img {
  object-position: center center;
}

.company-image img {
  object-position: center 68%;
}

.company-image {
  background-image: url("assets/photos/088A9246.jpg");
  background-position: center 68%;
  background-size: cover;
}

.greeting-image img {
  object-position: center 58%;
}

.greeting-image {
  background-image: url("assets/photos/088A9160.jpg");
  background-position: center 58%;
  background-size: cover;
}

.page-title-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-navy);
  color: var(--surface);
}

.page-title-photo::before,
.page-title-photo::after {
  position: absolute;
  inset: 0;
  content: "";
}

.page-title-photo::before {
  z-index: -2;
  background-image: var(--page-title-image);
  background-position: var(--page-title-position, center);
  background-size: cover;
}

.page-title-photo::after {
  z-index: -1;
  background: rgba(0, 67, 155, 0.5);
}

.page-title-photo h1,
.page-title-photo .lead,
.page-title-photo .breadcrumb,
.page-title-photo .breadcrumb a {
  color: var(--surface);
}

.page-title-photo .lead {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.page-title-photo .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.page-title-company {
  --page-title-image: url("assets/photos/088A9085.jpg");
  --page-title-position: center 58%;
}

.page-title-services {
  --page-title-image: url("assets/photos/088A9109.jpg");
  --page-title-position: center 62%;
}

.page-title-buying {
  --page-title-image: url("assets/photos/088A9211.jpg");
  --page-title-position: center 66%;
}

.page-title-stock {
  --page-title-image: url("assets/photos/088A9246.jpg");
  --page-title-position: center 66%;
}

.page-title-contact {
  --page-title-image: url("assets/photos/088A9224.jpg");
  --page-title-position: center 58%;
}

/* Keep lower-page FV content centered while adding 80px of height. */
.page-title {
  padding: 112px 0;
}

.cta-band {
  --cta-bg-image: url("assets/photos/088A9101.jpg");
}

.cta-band::before {
  background-position: center 58%;
}

.cta-band::after {
  background: rgba(0, 67, 155, 0.5);
}

.cta-band h2,
.cta-band p {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.24);
}

@media (max-width: 900px) {
  .hero-slide--truck img {
    object-position: center bottom;
  }

  .hero-slide--machinery img,
  .hero-slide--car img {
    object-position: center center;
  }
}

@media (max-width: 640px) {
  .page-title {
    padding: 88px 0;
  }

  .page-title-company {
    --page-title-position: 42% 58%;
  }

  .page-title-services {
    --page-title-position: center 64%;
  }

  .page-title-buying {
    --page-title-position: 52% 66%;
  }

  .page-title-stock {
    --page-title-position: 58% 66%;
  }

  .page-title-contact {
    --page-title-position: 52% 58%;
  }

  .company-image img {
    object-position: 56% 68%;
  }

  .greeting-image img {
    object-position: 56% 58%;
  }
}

/* WordPress-only accessibility and uploaded inventory image safeguards. */
.zaid-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.gallery-main-wrap {
  width: 100%;
  max-width: 100%;
  height: 520px;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.gallery-main-wrap .gallery-main {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.additional-photo-grid img {
  display: block;
  width: 100%;
  height: 92px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  background: var(--surface);
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .gallery-main-wrap {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .additional-photo-grid img {
    height: 74px;
  }
}
