:root {
  color-scheme: light;
  --ink: #151718;
  --muted: #59615f;
  --soft: #f4f2ed;
  --paper: #fbfaf6;
  --line: rgba(21, 23, 24, 0.12);
  --deep: #1e2a27;
  --deep-2: #2f3c38;
  --copper: #b68a55;
  --sage: #8aa099;
  --aqua: #8dbfc5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 28, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
}

body::selection {
  background: rgba(141, 191, 197, 0.28);
}

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

img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(22, 28, 27, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(216, 181, 124, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  color: #e3c28f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark-image {
  overflow: hidden;
  padding: 2px;
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

.brand strong,
.brand em {
  display: block;
  overflow: hidden;
  max-width: 48vw;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
}

.brand em {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: min(16vh, 138px) clamp(20px, 6vw, 84px) clamp(34px, 5.6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 19, 18, 0.88), rgba(12, 19, 18, 0.45) 44%, rgba(12, 19, 18, 0.16)),
    url("./assets/hero-residence.jpg") center 55% / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 19, 18, 0.46), transparent 30%),
    linear-gradient(0deg, rgba(12, 19, 18, 0.72), transparent 48%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(980px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 6.4vw, 80px);
}

.nowrap {
  white-space: nowrap;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.6vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: #d8b57c;
  color: #111614;
}

.button.primary:hover {
  background: #ecc98d;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.14);
}

.hero-systems {
  max-width: 1060px;
  margin-top: 36px;
}

.hero-systems > p {
  margin: 0 0 12px;
  color: #e3c28f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-systems > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-systems a {
  display: grid;
  min-height: 82px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07)),
    rgba(9, 16, 15, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.hero-systems a:hover {
  border-color: rgba(227, 194, 143, 0.68);
  background:
    linear-gradient(180deg, rgba(227, 194, 143, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(9, 16, 15, 0.28);
  transform: translateY(-2px);
}

.hero-systems span {
  color: #e3c28f;
  font-size: 11px;
  font-weight: 800;
}

.hero-systems strong,
.hero-systems em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-systems strong {
  margin-top: 5px;
  color: var(--white);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.2;
}

.hero-systems em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-style: normal;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #ece8df;
}

.signal-strip div {
  min-height: 112px;
  padding: 26px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--copper);
  font-size: 13px;
}

.signal-strip span {
  margin-top: 10px;
  color: #303734;
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: clamp(68px, 9vw, 124px) clamp(20px, 6vw, 84px);
  scroll-margin-top: 96px;
}

.process-band {
  background: var(--paper);
}

.intro-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(21, 23, 24, 0.08);
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.96), rgba(242, 248, 247, 0.88)),
    linear-gradient(rgba(47, 60, 56, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 60, 56, 0.055) 1px, transparent 1px),
    #f5f3ed;
  background-size:
    auto,
    44px 44px,
    44px 44px,
    auto;
}

.intro-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(182, 138, 85, 0.14) 58% 58.18%, transparent 58.18%),
    linear-gradient(115deg, transparent 0 72%, rgba(138, 160, 153, 0.2) 72% 72.18%, transparent 72.18%);
  opacity: 0.9;
  pointer-events: none;
}

.intro-band::after {
  position: absolute;
  right: clamp(20px, 7vw, 96px);
  bottom: clamp(26px, 4vw, 56px);
  width: min(420px, 42vw);
  height: 120px;
  border: 1px solid rgba(182, 138, 85, 0.28);
  border-radius: 8px;
  content: "";
  background:
    linear-gradient(90deg, rgba(182, 138, 85, 0.16), transparent),
    repeating-linear-gradient(90deg, rgba(30, 42, 39, 0.16) 0 1px, transparent 1px 42px);
  opacity: 0.38;
  pointer-events: none;
}

.intro-band .section-kicker,
.intro-grid {
  position: relative;
  z-index: 1;
}

#systems {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 244, 238, 0.96)),
    radial-gradient(circle at 16% 8%, rgba(141, 191, 197, 0.2), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(182, 138, 85, 0.14), transparent 28%),
    var(--paper);
}

#systems::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(30, 42, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 39, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), transparent 86%);
  pointer-events: none;
}

#systems .section-heading,
#systems .systems-grid,
#systems .system-showcase {
  position: relative;
  z-index: 1;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.contact-panel h2 {
  font-size: clamp(30px, 4.2vw, 56px);
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
}

.intro-copy p {
  margin: 0 0 18px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(24px, 5vw, 82px);
  align-items: end;
  margin-bottom: clamp(34px, 5.5vw, 72px);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading.light h2,
.section-heading.light > p {
  color: var(--white);
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.68);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
}

.system-card {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(21, 23, 24, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 20px 56px rgba(30, 42, 39, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.system-card:hover {
  border-color: rgba(182, 138, 85, 0.36);
  box-shadow: 0 26px 70px rgba(30, 42, 39, 0.13);
  transform: translateY(-2px);
}

.system-card span,
.craft-card span,
.plan-card p,
.process-list span,
.contact-details dt {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.system-card h3,
.plan-card h3,
.craft-card h3 {
  margin: 22px 0 10px;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.2;
}

.system-card p,
.plan-card li,
.craft-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.55fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-top: clamp(42px, 5.5vw, 76px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(21, 23, 24, 0.1);
}

.showcase-heading span {
  grid-column: 1 / -1;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-heading h3 {
  margin: 0;
  color: #17211f;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
}

.showcase-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.system-showcase {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 48px);
}

.system-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgba(21, 23, 24, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 72px rgba(30, 42, 39, 0.08);
}

.system-feature.reverse {
  grid-template-columns: minmax(420px, 1.1fr) minmax(280px, 0.9fr);
}

.system-feature.reverse .feature-copy {
  order: 2;
}

.system-feature.reverse .feature-photos {
  order: 1;
}

.feature-copy {
  display: grid;
  align-content: center;
}

.feature-copy > span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 16px 0 14px;
  color: #17211f;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.feature-copy p {
  margin: 0;
  color: #46524e;
  font-size: clamp(15px, 1.25vw, 17px);
}

.feature-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 18px;
  color: #27302d;
  font-size: 14px;
  font-weight: 700;
}

.feature-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--copper);
  content: "";
}

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

.photo-slot {
  position: relative;
  display: grid;
  align-content: end;
  min-height: clamp(300px, 30vw, 410px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 24, 0.18);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, transparent 52%, rgba(19, 28, 26, 0.86)),
    linear-gradient(135deg, rgba(238, 241, 236, 0.98), rgba(221, 229, 225, 0.96)),
    repeating-linear-gradient(135deg, rgba(30, 42, 39, 0.1) 0 1px, transparent 1px 18px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 18px 44px rgba(30, 42, 39, 0.1);
}

.photo-slot::before {
  position: absolute;
  inset: 18px 18px 76px;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(30, 42, 39, 0.34);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.2);
  color: rgba(30, 42, 39, 0.62);
  content: "+  工地实拍上传位";
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.photo-slot::after {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 56px;
  height: 44px;
  border: 1px solid rgba(30, 42, 39, 0.2);
  border-radius: 6px;
  background:
    radial-gradient(circle at 66% 36%, rgba(182, 138, 85, 0.58) 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 48%, rgba(30, 42, 39, 0.24) 49% 52%, transparent 53%),
    rgba(255, 255, 255, 0.34);
  content: "";
  opacity: 0.9;
}

.photo-slot.has-photo {
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  background: #17211f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 18px 44px rgba(30, 42, 39, 0.14);
}

.photo-slot.has-photo::before {
  content: none;
}

.photo-slot.has-photo::after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(12, 20, 19, 0) 42%, rgba(12, 20, 19, 0.7) 76%, rgba(12, 20, 19, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 20, 19, 0.2), transparent 46%);
  opacity: 1;
}

.photo-slot.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-slot.has-photo img.photo-focus-high {
  object-position: center 34%;
}

.photo-slot span,
.photo-slot em {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--white);
}

.photo-slot span {
  font-size: 13px;
  font-weight: 700;
}

.photo-slot.has-photo span {
  margin: 0 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.photo-slot em {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-style: normal;
}

.photo-slot.has-photo em {
  margin: 5px 22px 22px;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.integration-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 243, 237, 0.96), rgba(250, 249, 245, 0.98)),
    linear-gradient(90deg, rgba(30, 42, 39, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(30, 42, 39, 0.045) 1px, transparent 1px),
    var(--soft);
  background-size:
    auto,
    54px 54px,
    54px 54px,
    auto;
}

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

.integration-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.integration-copy {
  padding: clamp(28px, 4vw, 46px);
}

.integration-copy > span {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.integration-copy h3 {
  margin: 18px 0 16px;
  color: #17211f;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
}

.integration-copy p {
  margin: 0;
  color: #46524e;
  font-size: clamp(15px, 1.25vw, 17px);
}

.integration-copy ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.integration-copy li {
  position: relative;
  padding-left: 18px;
  color: #27302d;
  font-size: 14px;
  font-weight: 700;
}

.integration-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--copper);
  content: "";
}

.integration-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 210px;
  border-top: 1px solid rgba(21, 23, 24, 0.1);
  background:
    linear-gradient(135deg, rgba(30, 42, 39, 0.94), rgba(47, 60, 56, 0.92)),
    var(--deep);
}

.integration-panel span {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.integration-panel span:last-child {
  border-right: 0;
}

.integration-panel .integration-photo-tile {
  position: relative;
  overflow: hidden;
  place-items: stretch;
  padding: 0;
  isolation: isolate;
}

.integration-panel .integration-photo-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.integration-panel .integration-photo-tile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 22, 19, 0) 32%, rgba(12, 22, 19, 0.24) 100%);
  content: "";
}

.integration-panel .appliance-photo-tile:nth-child(1) img {
  object-position: 45% center;
}

.integration-panel .appliance-photo-tile:nth-child(2) img {
  object-position: center 44%;
}

.integration-panel .appliance-photo-tile:nth-child(3) img {
  object-position: center 54%;
}

.integration-panel .appliance-photo-tile:nth-child(4) img {
  object-position: center 48%;
}

.pipe-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 210px;
  border-top: 1px solid rgba(21, 23, 24, 0.1);
  background:
    linear-gradient(135deg, rgba(226, 236, 232, 0.94), rgba(245, 243, 237, 0.96)),
    var(--soft);
}

.pipe-specs div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-right: 1px solid rgba(21, 23, 24, 0.1);
}

.pipe-specs div:last-child {
  border-right: 0;
}

.pipe-specs strong {
  color: #17211f;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
}

.pipe-specs span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.pipe-specs .pipe-photo {
  position: relative;
  overflow: hidden;
  place-items: end start;
  align-content: end;
  padding: 24px;
  isolation: isolate;
}

.pipe-specs .pipe-photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pipe-specs .pipe-photo::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 23, 20, 0.04) 20%, rgba(13, 23, 20, 0.72) 100%),
    linear-gradient(90deg, rgba(13, 23, 20, 0.38), rgba(13, 23, 20, 0.08));
  content: "";
}

.pipe-specs .pipe-photo.is-316 img {
  object-position: 36% center;
}

.pipe-specs .pipe-photo.is-pe img {
  object-position: center;
}

.pipe-specs .pipe-photo strong {
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.pipe-specs .pipe-photo span {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.plans-band {
  background:
    linear-gradient(135deg, rgba(30, 42, 39, 0.94), rgba(47, 60, 56, 0.98)),
    var(--deep);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  min-height: 360px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.plan-card.featured {
  background:
    linear-gradient(180deg, rgba(216, 181, 124, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.plan-card h3 {
  margin-top: 18px;
}

.plan-card ul {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.plan-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--aqua);
  content: "";
}

.brands-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.96), rgba(239, 236, 229, 0.94)),
    var(--paper);
}

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

.brand-card {
  display: grid;
  align-content: center;
  min-height: 130px;
  padding: 22px;
  border: 1px solid rgba(21, 23, 24, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(30, 42, 39, 0.07);
}

.brand-card strong,
.brand-card span {
  display: block;
  overflow-wrap: anywhere;
}

.brand-card.has-logo {
  gap: 14px;
  justify-items: start;
}

.brand-card img {
  width: min(100%, 210px);
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.brand-card img.logo-wide {
  width: min(100%, 280px);
}

.brand-card img.logo-huikeji {
  width: min(100%, 300px);
  max-height: 86px;
}

.brand-card img.logo-hitachi {
  width: min(100%, 165px);
  max-height: 96px;
}

.brand-card strong {
  color: #17211f;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand-card span {
  margin-top: 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
}

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

.craft-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.craft-card.wide {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}

.craft-card img {
  height: 340px;
  object-fit: cover;
}

.craft-card.wide img {
  height: 100%;
  min-height: 360px;
}

.craft-card div {
  padding: clamp(22px, 3vw, 34px);
}

.craft-card h3 {
  margin-top: 16px;
}

.process-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ebe7df;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px minmax(120px, 220px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.process-list strong {
  font-size: 18px;
}

.process-list em {
  color: var(--muted);
  font-style: normal;
}

.contact-section {
  background:
    linear-gradient(rgba(251, 250, 246, 0.88), rgba(251, 250, 246, 0.92)),
    url("./assets/hero-residence.jpg") center / cover;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(21, 23, 24, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-panel p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.contact-details dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt,
.contact-details dd {
  margin: 0;
}

.contact-details dd {
  color: #27302d;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 84px);
  background: #151918;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand strong,
  .brand em {
    max-width: 74vw;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 84svh;
    background-position: center top;
  }

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

  .signal-strip,
  .systems-grid,
  .integration-grid,
  .plans-grid,
  .brand-grid,
  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .section-heading,
  .system-feature,
  .system-feature.reverse,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .system-feature.reverse .feature-copy,
  .system-feature.reverse .feature-photos {
    order: initial;
  }

  .craft-card.wide {
    grid-template-columns: 1fr;
  }

  .craft-card.wide img {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 13px 18px;
  }

  .brand-mark {
    flex-basis: 42px;
    width: 42px;
    height: 34px;
    font-size: 12px;
  }

  .brand strong {
    font-size: 13px;
  }

  .nav-links {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 82svh;
    padding: 98px 20px 36px;
    background-position: 55% top;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .hero-systems {
    margin-top: 28px;
  }

  .hero-systems > div {
    gap: 8px;
  }

  .hero-systems a {
    min-height: 70px;
    padding: 11px 12px;
  }

  .hero-systems strong {
    font-size: 14px;
  }

  .hero-systems em {
    font-size: 11px;
  }

  .section {
    padding: 58px 20px;
  }

  .signal-strip,
  .systems-grid,
  .integration-grid,
  .plans-grid,
  .feature-photos,
  .craft-grid {
    grid-template-columns: 1fr;
  }

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

  .brand-card {
    min-height: 118px;
    padding: 16px;
  }

  .brand-card img {
    width: min(100%, 160px);
    max-height: 54px;
  }

  .brand-card img.logo-wide {
    width: min(100%, 180px);
  }

  .brand-card img.logo-huikeji {
    width: min(100%, 190px);
    max-height: 62px;
  }

  .brand-card img.logo-hitachi {
    width: min(100%, 128px);
    max-height: 76px;
  }

  .signal-strip div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .system-card,
  .plan-card,
  .system-feature,
  .integration-card {
    min-height: auto;
  }

  .system-feature {
    padding: 22px;
  }

  .integration-copy {
    padding: 24px;
  }

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

  .integration-panel span:nth-child(2) {
    border-right: 0;
  }

  .integration-panel span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .pipe-specs {
    grid-template-columns: 1fr;
  }

  .pipe-specs div {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid rgba(21, 23, 24, 0.1);
  }

  .pipe-specs div:last-child {
    border-bottom: 0;
  }

  .photo-slot {
    min-height: 230px;
  }

  .craft-card img {
    height: 250px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 10px 16px;
    align-items: start;
    padding: 18px 0;
  }

  .process-list em {
    grid-column: 2;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}
