:root {
  --home-photo-radius: 16px;
  --home-photo-border: 1px solid rgba(0, 0, 0, .08);
  --home-photo-grade: saturate(.94) contrast(1.035);
  --home-photo-cool: rgba(36, 82, 114, .065);
}

.hero-visual, .application-card, .home-supply-photo {
  border: var(--home-photo-border);
  border-radius: var(--home-photo-radius);
  overflow: hidden;
}

.hero-visual img, .application-card img, .home-supply-photo img {
  filter: var(--home-photo-grade);
}

.hero-visual {
  align-self: center;
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.hero-visual img { opacity: 1; object-position: 60% center; }
.hero-visual::after {
  background: linear-gradient(0deg, rgba(16, 33, 30, .62), transparent 40%), var(--home-photo-cool);
}
.application-card::after {
  background: linear-gradient(0deg, rgba(10, 25, 21, .72), transparent 60%), var(--home-photo-cool);
}

.home-supply-photo {
  min-width: 0;
  margin: 14px 0;
  position: relative;
}
.home-supply-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: center;
}
.home-supply-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--home-photo-cool);
  pointer-events: none;
}

.product-card .platform-group {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 1px solid #a5b8a9;
  border-radius: 5px;
  color: #244c3a;
  font: 700 1rem/1.3 ui-monospace, Consolas, monospace;
}
.product-card-dark .platform-group { border-color: #69836d; color: var(--acid); }
.product-section .note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.home-grade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
}
.home-grade-comparison { min-width: 0; }
.home-grade-scroll { margin-top: 0; }
.home-grade-scroll table {
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
}
.home-grade-scroll :is(th, td) { padding: 11px 10px; }
.home-grade-scroll th[scope="row"] { width: 170px; }
.home-grade-name {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: baseline;
  gap: 7px;
}
.home-grade-swatch {
  align-self: start;
  width: 11px;
  height: 11px;
  margin-top: .36em;
  border: 1px solid rgba(16, 33, 30, .34);
  border-radius: 50%;
  background: var(--swatch);
}
.swatch-cyan { --swatch: #00a9d8; }
.swatch-magenta { --swatch: #ce3c83; }
.swatch-yellow { --swatch: #f3ce2d; }
.swatch-black { --swatch: #162325; }
.swatch-white { --swatch: #fff; }
.home-grade-scroll th[scope="row"] small { margin-left: 19px; }
.home-grade-comparison .home-grade-note { color: var(--ink-soft); }
.home-psd-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 3px 9px;
  border: 1px solid #b5c8ba;
  border-radius: 5px;
  background: #e9f1ea;
  color: #183e37;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.home-psd-link::after { content: "↗" / ""; }
.home-psd-link:hover { background: #dbeadb; }
.home-table-hint {
  display: none;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 700;
}
.home-table-hint span { font-size: 1rem; }
.home-psd-figure {
  width: 100%;
  max-width: 530px;
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid #d5e0d9;
  border-radius: 14px;
  background: #fff;
}
.home-psd-figure h3 { margin: 0 0 6px; font: 500 1.25rem/1.2 var(--serif); }
.home-psd-figure img { display: block; width: 100%; height: auto; }
.home-psd-figure figcaption { margin-top: 7px; }
.home-psd-figure figcaption p { margin: 0 0 8px; color: var(--ink-soft); font-size: .8rem; }

#technology { row-gap: 28px; }
.home-grafting-figure {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 900px;
  margin: 0;
  scroll-margin-top: 94px;
}
.home-grafting-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d5e0d9;
  border-radius: 14px;
}
.home-grafting-figure figcaption {
  max-width: 78ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: .87rem;
  line-height: 1.5;
}

.home-trust.section { padding-block: 38px; }
.home-trust h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.3rem); }
.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-trust-grid a {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 17px;
  border: 1px solid #d5e0d9;
  border-radius: 12px;
  background: #edf2ee;
}
.home-trust-grid a:hover { background: #e2ece3; }
.home-trust-grid svg { width: 23px; height: 23px; color: #3e6251; }
.home-trust-grid strong { color: var(--ink); font-size: 1rem; }
.home-trust-grid span { color: var(--ink-soft); font-size: .82rem; line-height: 1.45; }
:is(.home-trust-grid a, .home-psd-link):focus-visible {
  outline: 2px solid #4f6b44;
  outline-offset: 2px;
}

@media (min-width: 1060px) {
  .home-grade-layout { grid-template-columns: minmax(0, 1fr) minmax(236px, 29%); align-items: start; }
}

@media (max-width: 760px) {
  .hero-visual img { object-position: 62% center; }
  .home-supply-photo { order: 2; margin: 0 20px 20px; }
  .home-supply-photo img { height: 215px; min-height: 0; }
  .home-table-hint { display: flex; align-items: center; gap: 8px; }
  .home-grade-scroll table thead th:first-child,
  .home-grade-scroll table th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: clamp(126px, 40vw, 160px);
    min-width: clamp(126px, 40vw, 160px);
    max-width: clamp(126px, 40vw, 160px);
    overflow-wrap: anywhere;
    box-shadow: 4px 0 7px -6px #17342b;
  }
  .home-grade-scroll tbody tr:nth-child(odd) th[scope="row"] { background: var(--paper); }
  .home-grade-scroll tbody tr:nth-child(even) th[scope="row"] { background: #f0f3ee; }
  .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-trust-grid a { padding: 12px; }
}
