/* ══════════════════════════════
   HOME PAGE
   ══════════════════════════════ */

main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  gap: 3.5rem;
}

/* ── Ambient floating decorations ── */
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.float-star,
.float-dot {
  position: absolute;
  color: var(--color-gold);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.45;
  animation: float-sway 7s ease-in-out infinite;
}

.float-star.small {
  font-size: 0.7rem;
  opacity: 0.3;
}

.float-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-rose);
  font-size: 0;
  color: transparent;
}

.float-dot.small {
  width: 4px;
  height: 4px;
  background: var(--color-sage);
}

@keyframes float-sway {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(6deg); }
  66%       { transform: translateY(7px)  rotate(-4deg); }
}

/* ── Hero content ── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-pre {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pre-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-rose);
}

.ornament {
  font-size: 0.55rem;
  color: var(--color-gold);
}

.artist-name {
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  gap: 0;
}

.name-first {
  font-size: clamp(4.5rem, 13vw, 10.5rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--color-ink);
}

.name-last {
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-top: 0.2em;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
  margin: 0.4rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.divider-gem {
  font-size: 0.5rem;
  color: var(--color-gold);
}

.hero-disciplines {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.55;
}

/* ── Portal cards ── */
.portals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

/* Wrapper is the flex child; sets the fixed arch dimensions */
.portal-wrapper {
  position: relative;
  width: 150px;
  height: 210px;
  perspective: 1000px;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ── Image / color shown behind the door ── */
.portal-back {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--color-gold);
  border-radius: 75px 75px 8px 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  transition: border-color 0.3s ease;
}

.portal-wrapper:hover .portal-back { border-color: var(--color-rose); }

/* Per-section background colors (replaced by <img> once images are ready) */
.portal-back--gallery  { background: linear-gradient(160deg, #D4929F, #C4788A); }
.portal-back--statement{ background: linear-gradient(160deg, #92B494, #7D9E80); }
.portal-back--resume   { background: linear-gradient(160deg, #D4AE6A, #C4943A); }
.portal-back--about    { background: linear-gradient(160deg, #B8AED4, #9B8EC4); }
.portal-back--contact  { background: linear-gradient(160deg, #B4ACA4, #9E9490); }

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

/* Placeholder shown until real image is added */
.portal-back-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.32);
  font-size: 2rem;
  height: 100%;
}

.portal-back-hint span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ── The door ── */
.portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem 1rem 1.5rem;

  background: var(--color-cream);
  border: 1.5px solid var(--color-gold);
  border-radius: 75px 75px 8px 8px;

  text-decoration: none;
  color: var(--color-ink);
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;

  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.2, 1), border-color 0.3s ease;
  backface-visibility: hidden;
  will-change: transform;
}

.portal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(232, 196, 106, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Door swings open on wrapper hover */
.portal-wrapper:hover .portal {
  transform: rotateY(-78deg);
  border-color: var(--color-rose);
}

.portal-wrapper:hover .portal::before { opacity: 1; }

.portal-icon {
  color: var(--color-gold);
  transition: color 0.3s ease, transform 0.3s ease;
}

.portal-wrapper:hover .portal-icon {
  color: var(--color-rose);
  transform: translateY(-3px);
}

.portal-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.portal-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: 0.45;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { gap: 2.5rem; padding: 6rem 1.5rem 4rem; }
  .portal-wrapper { width: 132px; height: 192px; }
  .portal { padding: 1.6rem 0.8rem 1.2rem; }
  .portal-back { border-radius: 66px 66px 8px 8px; }
  .portal { border-radius: 66px 66px 8px 8px; }
}

@media (max-width: 480px) {
  .hero { gap: 2rem; }
  .portals { gap: 0.8rem; }
  .portal-wrapper { width: 118px; height: 178px; }
  .portal-back { border-radius: 59px 59px 8px 8px; }
  .portal { border-radius: 59px 59px 8px 8px; }
  .hero-disciplines { font-size: 0.65rem; letter-spacing: 0.14em; }
}
