/* ─────────────────────────────────────────────
   Add Inc. — Top page (index.html) styles
   ───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   Hero — full-bleed background image with overlay copy
   ───────────────────────────────────────────── */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
  background: #6b1a67;
}

/* Sections after the hero scroll up over the sticky hero */
.scroll-band,
.section,
.contact-band,
footer {
  position: relative;
  z-index: 2;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 0 clamp(28px, 6vw, 96px);
  max-width: 920px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

/*
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 18, 16, .82) 0%, rgba(20, 18, 16, .82) 22%, rgba(20, 18, 16, .7) 38%, rgba(20, 18, 16, .45) 52%, rgba(20, 18, 16, .22) 65%, rgba(20, 18, 16, .08) 76%, rgba(20, 18, 16, 0) 88%);
  z-index: 1;
  pointer-events: none;
}
*/

.hero__copy::before {
  display: none;
}

.hero__eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--accent-2);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent-2);
  display: inline-block;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
  white-space: nowrap;
}

.hero__title .dot {
  color: #fff;
}

.hero__lede {
  margin-top: 20px;
  max-width: 760px;
  font-size: 13.5px;
  line-height: 2;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.hero__lede .tagline {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 12px;
}

.hero__ctas {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 70%;
  max-width: 660px;
}

.cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: #fff;
  transition: color .3s ease, border-color .3s ease, padding .35s ease;
}

.cta-link .ja {
  font-size: 14px;
  letter-spacing: 0.16em;
  transition: color .3s ease;
}

.cta-link .en {
  font-family: var(--latin);
  font-size: 10px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 0.3em;
  display: block;
  margin-top: 4px;
  transition: color .3s ease;
}

.cta-link__arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 11px;
  color: rgba(255, 255, 255, .85);
  letter-spacing: 0.2em;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), color .3s;
}

.cta-link__arrow svg {
  width: 32px;
  height: 8px;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.cta-link:hover .cta-link__arrow svg {
  transform: translateX(8px);
}

/* SCROLL indicator now overlays the hero (transparent band). */
.scroll-band {
  background: transparent;
  padding: 0 0 30px;
  margin-top: -190px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.scroll-band>* {
  pointer-events: auto;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--mid);
  text-transform: uppercase;
  transition: opacity .3s ease;
}

.hero__scroll:hover {
  opacity: 0.7;
}

.hero__scroll span {
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55), 0 0 6px rgba(0, 0, 0, 0.4);
}

.hero__scroll svg {
  width: 12px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
  animation: scrollNudge 2.2s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes scrollNudge {
  0% {
    transform: translateY(0);
    opacity: .55;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: .55;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}

.hero__media img {
  position: absolute;
  bottom: 74px;
  left: 66%;
  transform: translateX(-50%);
  width: auto;
  height: 70%;
}

.hero__media .stamp {
  position: absolute;
  left: 32px;
  bottom: 32px;
  font-family: var(--display);
  font-style: italic;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.hero__media .stamp small {
  display: block;
  font-family: var(--latin);
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.35em;
  margin-top: 8px;
  opacity: .85;
}

.hero__media .badge {
  position: absolute;
  right: 32px;
  top: 32px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, .85);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Vertical side label */
.side-label {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--mid-2);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   Section backgrounds & decorations (top page)
   ───────────────────────────────────────────── */
.services {
  background: var(--paper-2);
}

.message {
  background: var(--paper);
}

.works {
  background: var(--paper-2);
}

.about {
  background: var(--paper-2);
}

.news {
  background: var(--paper);
}

/* Faded logo decoration baked into specific sections */
.services::after,
.works::after,
.about::after {
  content: "";
  position: absolute;
  bottom: 0;
  background-image: url("../common/img/logo-mark.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 55%;
  height: 55%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.services::after {
  right: -2%;
  background-position: bottom right;
}

.works::after {
  left: -2%;
  background-position: bottom left;
}

.about::after {
  left: -2%;
  background-position: bottom left;
}

/* ─────────────────────────────────────────────
   Services — 1列構成（ワイヤーフレーム準拠）
   ───────────────────────────────────────────── */
.services .stack {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.s-row {
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.s-row__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}

.s-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(92%);
}

.s-row__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
}

.s-row__num {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.s-row__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 18px);
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-top: 2px;
}

.s-row__en {
  font-family: var(--display);
  font-style: italic;
  color: var(--mid);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* 横一杯フィーチャー */
.s-row--feature .s-row__media {
  aspect-ratio: 16 / 6;
}

.s-row--feature .s-row__title {
  font-size: clamp(16px, 1.7vw, 22px);
}

/* 3列均等の下グループ */
.s-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.s-group .s-row__media {
  aspect-ratio: 4 / 3;
}

/* ─────────────────────────────────────────────
   Message
   ───────────────────────────────────────────── */
.message .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.message__photo {
  aspect-ratio: 8 / 7;
  background: var(--paper-2) center/cover;
  position: relative;
  overflow: hidden;
}

.message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(88%);
}

.message__photo .caption {
  position: absolute;
  left: 0;
  bottom: -28px;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--mid);
  letter-spacing: 0.18em;
}

.message__body {
  padding-top: 0;
}

.message__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.message__title .em {
  color: inherit;
}

.message__text {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.message__sign {
  margin-top: 44px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}

.message__sign .role {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mid);
  text-transform: uppercase;
}

.message__sign .name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.message .section-label,
.about .section-label {
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

/* ─────────────────────────────────────────────
   Works
   ───────────────────────────────────────────── */
.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.works .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.work {
  display: block;
  position: relative;
  cursor: default;
}

.work__media {
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}

.work--wide .work__media {
  aspect-ratio: 5 / 3;
}

.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(94%);
}

.work__media .work__num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--display);
  font-style: italic;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.work__media .work__tag {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, .95);
  padding: 6px 12px;
  background: rgba(0, 0, 0, .32);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}

.work__info {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work__category {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--mid);
  text-transform: uppercase;
}

.work__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.work__meta {
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.08em;
}

/* Grid placement: 3 equal items */
.works .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.work--a,
.work--b,
.work--c {
  grid-column: auto;
  margin-top: 0;
}

.work--b .work__media {
  aspect-ratio: 4 / 3;
}

/* ─────────────────────────────────────────────
   About
   ───────────────────────────────────────────── */
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.about__media {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  position: relative;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media .frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .6);
  pointer-events: none;
}

.about__body {
  padding: 8px 0;
}

.about__statement {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin: 32px 0;
}

.about__statement .em {
  color: inherit;
}

.about__sub {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.about__profile {
  margin-top: 32px;
  border-top: 1px solid var(--hair-2);
}

.about__profile dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--hair-2);
}

.about__profile dt {
  padding: 18px 0;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--mid);
  text-transform: uppercase;
  align-self: center;
}

.about__profile dd {
  padding: 18px 0;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

/* ─────────────────────────────────────────────
   News
   ───────────────────────────────────────────── */
.news .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.news__head {
  position: relative;
}

.news__list {
  border-top: 1px solid var(--hair-2);
}

.news__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair-2);
  transition: padding-left .35s cubic-bezier(.2, .7, .2, 1), color .3s;
}

.news__item:hover {
  padding-left: 12px;
  color: var(--accent);
}

.news__date {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--mid);
}

.news__cat {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.news__title {
  font-size: 14.5px;
  letter-spacing: 0.06em;
}

.news__arrow {
  font-family: var(--latin);
  font-size: 14px;
  color: var(--mid);
  transition: transform .3s;
}

.news__item:hover .news__arrow {
  transform: translateX(6px);
  color: var(--accent);
}

/* ─────────────────────────────────────────────
   About — compact (top page overrides)
   ───────────────────────────────────────────── */
.about.section {
  padding-block: clamp(48px, 7vw, 88px);
}

.about .grid {
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.about__media {
  aspect-ratio: 4 / 3;
}

.about__statement {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin: 18px 0 24px;
}

.about__profile dl {
  grid-template-columns: 110px 1fr;
}

.about__profile dt,
.about__profile dd {
  padding: 10px 0;
  font-size: 12px;
  line-height: 1.7;
}

.about__profile dt {
  font-size: 9.5px;
  letter-spacing: 0.28em;
}

/* ニュースアイテム—非リンク化 */
.news__item.is-static {
  cursor: default;
}

.news__item.is-static:hover {
  padding-left: 0;
  color: inherit;
}

/* ─────────────────────────────────────────────
   CTA band (トップページ明示)
   ───────────────────────────────────────────── */
#contact.contact-band {
  background: #6B1A66 !important;
  color: #FAF8F4 !important;
}

/* ─────────────────────────────────────────────
   Responsive (top page)
   ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    min-height: unset;
  }

  .hero__title {
    font-size: clamp(22px, 6.4vw, 34px);
    white-space: normal;
  }

  .hero__copy {
    max-width: 100%;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
    padding-bottom: 0;
  }

  .hero__ctas {
    width: 80%;
  }

  .message__sign {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .message__sign .name {
    flex-basis: 100%;
  }

  .services .grid,
  .message .grid,
  .about .grid,
  .news .grid {
    grid-template-columns: 1fr;
  }

  .works .grid {
    grid-template-columns: 1fr;
  }

  .s-group {
    grid-template-columns: 1fr;
  }

  .s-row--feature .s-row__media {
    aspect-ratio: 16 / 9;
  }

  .work--a,
  .work--b,
  .work--c {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .news__item {
    grid-template-columns: 100px 1fr;
  }

  .message__title,
  .about__statement {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero__ctas,
  .scroll-band {
    display: none;
  }

  .hero__lede br {
    display: none;
  }

  .hero__media img {
    width: 95%;
    height: auto;
    bottom: 0;
  }
}
