/* Homepage — distinctive layout and motion */
.home-main { overflow-x: hidden; }

.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.home-hero-bgm {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-bgm .myatu_bgm_fs {
  position: absolute;
  overflow: hidden;
}

.home-hero-bgm .bgm-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(44, 44, 44, 0.92) 0%, rgba(44, 44, 44, 0.55) 48%, rgba(92, 79, 63, 0.45) 100%);
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 100px;
}

.home-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.home-hero-copy h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.12;
  font-weight: 400;
  max-width: 14ch;
  margin-bottom: 20px;
}

.home-lead {
  font-size: 17px;
  line-height: 1.65;
  max-width: 42ch;
  opacity: 0.92;
  margin-bottom: 28px;
}

.home-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.home-hero-panel {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  transform: translateY(12px);
  animation: home-float 6s ease-in-out infinite;
}

.home-hero-panel img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.home-hero-panel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(transparent, rgba(44, 44, 44, 0.88));
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.home-hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: home-pulse 2s ease-in-out infinite;
}

@keyframes home-float {
  0%, 100% { transform: translateY(12px); }
  50% { transform: translateY(0); }
}

@keyframes home-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.home-ticker {
  background: var(--brand-charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding: 14px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: home-ticker 40s linear infinite;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-ticker-track span::after {
  content: " ·";
  margin-left: 48px;
  opacity: 0.35;
}

@keyframes home-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.home-split h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 18px;
}

.home-split p {
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--brand-dark);
}

.home-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-pillars li {
  padding: 22px 24px;
  background: #fff;
  border-left: 3px solid var(--brand-accent);
  box-shadow: 0 8px 24px rgba(74, 74, 74, 0.08);
}

.home-pillars strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 8px;
}

.home-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 200px;
  gap: 16px;
}

.home-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  color: #fff;
}

.home-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.home-bento-card:hover img {
  transform: scale(1.06);
}

.home-bento-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(transparent, rgba(44, 44, 44, 0.9));
}

.home-bento-text h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
}

.home-bento-large {
  grid-row: span 2;
}

.home-bento-wide {
  grid-column: span 2;
}

.home-center-link {
  text-align: center;
  margin-top: 28px;
}

.home-project-track {
  display: flex;
  gap: 22px;
  padding: 8px 48px 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.home-project-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(74, 74, 74, 0.1);
  transition: transform 0.35s var(--ease);
}

.home-project-card:hover {
  transform: translateY(-6px);
}

.home-project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.home-project-card > div {
  padding: 18px 20px 22px;
}

.home-project-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 8px;
}

.home-project-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.home-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-insight-grid article {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(74, 74, 74, 0.08);
}

.home-insight-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.home-insight-grid h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  padding: 16px 18px 8px;
}

.home-insight-grid p {
  padding: 0 18px 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-dark);
}

.home-process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  list-style: none;
  counter-reset: none;
}

.home-process-line::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.home-process-line li {
  position: relative;
  z-index: 1;
  padding-top: 8px;
}

.home-process-line span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-charcoal);
  font-weight: 600;
  margin-bottom: 14px;
}

.home-process-line h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 8px;
}

.home-process-line h3 a:hover {
  color: var(--brand-cream);
}

.home-process-line p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.88;
}

.home-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-cta-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 48px rgba(74, 74, 74, 0.15);
}

.home-cta-grid h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 16px;
}

.home-cta-list {
  margin: 20px 0 24px;
  line-height: 1.8;
}

.home-cta-actions {
  display: flex;
  gap: 12px;
}

.btn-outline {
  border: 1px solid var(--brand-accent);
  color: var(--brand-accent);
  padding: 12px 24px;
  display: inline-block;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-outline:hover {
  background: var(--brand-accent);
  color: #fff;
}
