.hero-section {
  position: relative;
  padding: 0;
  overflow: clip;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/fv_back.webp") center center / cover no-repeat;
  pointer-events: none;
}

.hero-section__inner {
  position: relative;
  z-index: 1;
  width: var(--container-wide);
  min-height: min(68vw, 720px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(20px, 3.8vw, 58px);
  align-items: center;
  padding: clamp(34px, 4.2vw, 58px) 0 0;
}

.hero-section__inner::before {
  content: "";
  position: absolute;
  left: -6%;
  bottom: -10%;
  width: 42%;
  height: 46%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.72), transparent 48%),
    linear-gradient(112deg, rgba(var(--color-accent-soft-rgb), 0.22), rgba(255, 255, 255, 0));
  filter: blur(22px);
  pointer-events: none;
}

.hero-section__inner::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -18%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 36% 64% 42% 58% / 46% 34% 66% 54%;
  background: linear-gradient(180deg, rgba(var(--color-accent-soft-rgb), 0.34), rgba(var(--color-accent-rgb), 0.14));
  pointer-events: none;
}

.hero-section__content,
.hero-section__visual {
  position: relative;
  z-index: 1;
}

.hero-section__content {
  max-width: 670px;
  padding: 16px 0 54px 32px;
}

.hero-section__script,
.cta-section__script,
.page-hero__script {
  margin: 0 0 22px;
}

.hero-section__script {
  color: rgba(var(--color-accent-rgb), 0.56);
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 6vw, 5.3rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.01em;
}

.hero-section__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18em;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.hero-section__title span {
  display: block;
  white-space: nowrap;
}

.hero-section__title em {
  color: var(--color-gold-dark);
  font-style: normal;
}

.hero-section__lead {
  margin: 34px 0 0;
  color: #43362b;
  font-size: clamp(1rem, 1.34vw, 1.16rem);
  line-height: 1.9;
}

.hero-section__cta-group {
  margin-top: 42px;
}

.hero-section__cta {
  gap: 18px;
  padding-right: 0;
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  letter-spacing: 0.01em;
}

.hero-section__visual {
  min-height: 700px;
}

.hero-section__profile-bg {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(36vw, 520px);
  aspect-ratio: 0.94;
  --hero-profile-inset-top: 0%;
  --hero-profile-inset-side: 7%;
  --hero-profile-object-y: 6%;
  --hero-profile-scale: 2;
  background: url("../../images/profile_bg.webp") center center / contain no-repeat;
  overflow: hidden;
}

.hero-section__image {
  position: absolute;
  inset: var(--hero-profile-inset-top) var(--hero-profile-inset-side) 0;
  z-index: 1;
}

.hero-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--hero-profile-object-y);
  filter: drop-shadow(0 18px 28px rgba(55, 43, 49, 0.12));
  transform: scale(var(--hero-profile-scale));
  transform-origin: center top;
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-section__profile-bg.is-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.95), rgba(252, 250, 247, 0.92) 40%, rgba(247, 243, 237, 0.86) 72%, rgba(243, 236, 226, 0.8) 100%);
}

.hero-section__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  color: rgba(17, 17, 17, 0.65);
  text-align: center;
}

.hero-section__placeholder span {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
}

.hero-section__signature-block {
  position: absolute;
  right: 4.8%;
  top: 15%;
  display: block;
  width: clamp(54px, 4vw, 68px);
  height: clamp(284px, 25vw, 360px);
}

.hero-section__signature {
  position: absolute;
  left: 50%;
  top: 0;
  margin: 0;
  color: rgba(var(--color-accent-rgb), 0.56);
  font-family: var(--font-signature);
  font-size: clamp(2.1rem, 2.2vw, 2.55rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center center;
}

.hero-section__role {
  position: absolute;
  left: 50%;
  top: 54%;
  margin: 0;
  color: rgba(92, 76, 52, 0.82);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: translateX(-50%);
}

.hero-section__script,
.hero-section__title span,
.hero-section__lead,
.hero-section__cta-group,
.hero-section__signature-block,
.hero-section__profile-bg {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-section__script {
  transition-delay: 0.08s;
}

.hero-section__title span:first-child {
  transition-delay: 0.18s;
}

.hero-section__title span:last-child {
  transition-delay: 0.3s;
}

.hero-section__lead {
  transition-delay: 0.42s;
}

.hero-section__cta-group {
  transition-delay: 0.54s;
}

.hero-section__profile-bg {
  transition-delay: 0.4s;
}

.hero-section__signature-block {
  transition-delay: 0.66s;
}

.page-is-loaded .hero-section__script,
.page-is-loaded .hero-section__title span,
.page-is-loaded .hero-section__lead,
.page-is-loaded .hero-section__cta-group,
.page-is-loaded .hero-section__signature-block,
.page-is-loaded .hero-section__profile-bg {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-is-loaded .hero-section__image img {
  transform: scale(calc(var(--hero-profile-scale) - 0.04));
}

.cta-section__script,
.page-hero__script {
  color: rgba(var(--color-accent-rgb), 0.34);
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.page-hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(28px, 4vw, 42px);
}

.page-hero--compact {
  padding-bottom: 8px;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero__lead {
  margin: 14px 0 0;
  max-width: 640px;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .hero-section__script,
  .hero-section__title span,
  .hero-section__lead,
  .hero-section__cta-group,
  .hero-section__signature-block,
  .hero-section__profile-bg {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-section__image img {
    transition: none;
    transform: scale(calc(var(--hero-profile-scale) - 0.04));
  }
}
