/* ─────────────────────────────────────────────
   SERVICES page — additional layout
   ───────────────────────────────────────────── */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(336px, 38vw, 528px);
  padding: calc(clamp(56px, 7vw, 96px) + 63px) var(--pad-x) clamp(56px, 7vw, 96px);
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: url("../img/vi.jpg") center/cover no-repeat;
}
.page-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,11,9,0.78) 0%, rgba(12,11,9,0.58) 45%, rgba(12,11,9,0.30) 100%);
}
.page-hero__dummy {
  position: absolute;
  left: 50%; top: calc(50% + 31px);
  transform: translate(-50%, -50%);
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,.96);
  padding: 12px 22px;
  background: rgba(0,0,0,.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}
.page-hero .container { width: 100%; max-width: var(--container); margin: 0 auto; position: relative; z-index: 2; }
.page-hero__row {
  display: flex; align-items: center; justify-content: center; text-align: center; gap: 32px;
  flex-wrap: wrap;
  width: 100%;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: #ffffff;
  display: flex; flex-direction: column; align-items: center; gap: clamp(4px, 0.5vw, 7px);
}
.page-hero__title .ja {
  display: block;
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 46px);
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.1;
}
.page-hero__title .en {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
}

/* ─────────────────────────────────────────────
   Services detail
   ───────────────────────────────────────────── */
.services-detail.section { padding-block: var(--rhythm); }
.services-detail__head { margin-bottom: clamp(28px, 4vw, 48px); }
.services-detail__head .section-title { margin-top: 8px; }
.services-detail__lead {
  margin-top: clamp(14px, 1.8vw, 20px);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  max-width: 640px;
}

.svc-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
}

.svc {
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.svc__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.svc__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(92%);
}
.svc__body {
  display: flex; flex-direction: column;
  padding-top: clamp(16px, 1.8vw, 22px);
}
.svc__en {
  font-family: var(--display); font-style: italic;
  color: var(--accent);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.svc__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 23px);
  letter-spacing: 0.1em;
  line-height: 1.4;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(10px, 1.2vw, 14px);
}
.svc__title .sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mid);
}
.svc__list-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-top: clamp(20px, 2.4vw, 28px);
  margin-bottom: 0;
}
.svc__points {
  list-style: none;
  display: flex; flex-direction: column; gap: 9px;
  margin-top: clamp(14px, 1.6vw, 18px);
  padding-top: clamp(14px, 1.6vw, 18px);
  border-top: 1px solid var(--hair-2);
}
.svc__list-label + .svc__points {
  margin-top: 8px;
  padding-top: 8px;
}
.svc__points li {
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.svc--feature .svc__media { aspect-ratio: 16 / 6; }
.svc--feature .svc__title { font-size: clamp(22px, 2.4vw, 30px); }
.svc--feature .svc__points { max-width: none; }

.svc-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

/* ─────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .page-hero { padding-top: calc(clamp(44px, 8vw, 72px) + 63px); padding-bottom: clamp(44px, 8vw, 72px); }
  .page-hero__row { flex-direction: column; align-items: center; gap: 20px; }

  .svc-group { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }
  .svc--feature .svc__media { aspect-ratio: 16 / 9; }
  .svc--feature .svc__points { max-width: none; }
}
