/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 110px 48px 80px;
  position: relative; overflow: hidden;
  text-align: center;
}

.hero-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(130px, 19vw, 280px);
  color: rgba(26,20,16,0.042);
  white-space: nowrap; pointer-events: none; user-select: none;
  line-height: 1; z-index: 0; letter-spacing: -0.02em;
}

.hero-content { position: relative; z-index: 2; max-width: 860px; width: 100%; }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 6.5vw, 92px);
  line-height: 1.06; font-weight: 400;
  margin-bottom: 40px;
}

.iword {
  display: inline;
  cursor: none;
  font-style: normal;
  transition: color 0.2s ease, font-style 0.15s ease;
}
.iword:hover { font-style: italic; }

.iword-designer { color: var(--terracota); }
.iword-ai       { color: var(--blue); }
.iword-human    { color: var(--pink); }

.hero-sub-wrap {
  min-height: 56px;
  display: flex; justify-content: center; align-items: flex-start;
  margin-bottom: 44px;
}
.hero-sub {
  font-size: 15px; color: var(--muted);
  max-width: 480px; line-height: 1.7; font-style: italic;
}
.typing-cursor {
  display: inline-block;
  width: 1.5px; height: 1em;
  background: var(--muted);
  margin-left: 1px; vertical-align: text-bottom;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden; padding: 13px 0;
  background: var(--ink);
  position: relative; z-index: 2;
}
.marquee-track { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245,240,232,0.65); padding: 0 34px;
}
.marquee-star { color: var(--terracota); font-size: 13px; }
@keyframes marquee { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

/* ── WORK — HORIZONTAL CARD FAN ── */
.work-section { padding: 120px 48px; position: relative; z-index: 2; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 400; line-height: 1.12; margin-bottom: 72px;
}

.card-deck {
  position: relative;
  height: 520px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  position: absolute;
  top: 0;
  width: 370px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  cursor: none;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(.34,1.15,.64,1), box-shadow 0.5s ease;
  box-shadow: 0 6px 40px rgba(26,20,16,0.12);
}

.project-card:nth-child(1) {
  left: 0px;
  z-index: 1;
  transform: rotate(-3deg) translateY(18px);
}
.project-card:nth-child(2) {
  left: 50%;
  transform: translateX(-50%) rotate(1deg) translateY(8px);
  z-index: 2;
}
.project-card:nth-child(3) {
  right: 0px;
  z-index: 1;
  transform: rotate(2.5deg) translateY(14px);
}

.project-card:hover {
  transform: rotate(0deg) translateY(-24px) !important;
  z-index: 10 !important;
  box-shadow: 0 28px 72px rgba(26,20,16,0.22);
}
.project-card:nth-child(2):hover {
  transform: translateX(-50%) rotate(0deg) translateY(-24px) !important;
}

.card-read-hint {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--terracota); margin-top: 10px;
  display: flex; align-items: center; gap: 6px;
  opacity: 0;
  transition: opacity 0.25s;
}
.project-card.is-link:hover .card-read-hint { opacity: 1; }

.card-img {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.card-img-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.6s ease;
}

.project-card:hover .card-img-overlay {
  transform: translate(-50%, -52%) scale(1.03);
}

.card-img-1 { background: linear-gradient(145deg, #1c1510 0%, #3d2015 45%, #d4522a 100%); }
.card-img-2 { background: linear-gradient(145deg, #0f1e30 0%, #1e3d5c 45%, #3b6fa0 100%); }
.card-img-3 { background: linear-gradient(145deg, #2a1020 0%, #5c2035 45%, #c9637a 100%); }

.card-img::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.card-img-caption {
  position: absolute; bottom: 18px; left: 22px;
  font-family: var(--serif); font-size: 12px; font-style: italic;
  color: rgba(255,255,255,0.45);
}

.card-body { padding: 22px 26px 26px; }
.card-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.card-title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.15; margin-bottom: 3px; }
.card-subtitle { font-size: 12px; font-style: italic; color: var(--muted); margin-bottom: 10px; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

.deck-hint {
  text-align: center; margin-top: 28px;
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); opacity: 0.5;
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--ink); color: var(--bg);
  padding: 100px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  position: relative; z-index: 2;
}
.about-title { font-family: var(--serif); font-size: clamp(38px, 4.8vw, 68px); line-height: 1.1; }
.about-title em { font-style: italic; }
.at-t { color: var(--terracota); }
.at-b { color: var(--blue); }

.about-bio {
  font-size: 15px; color: rgba(245,240,232,0.62);
  line-height: 1.85; margin-bottom: 34px;
}
.about-bio strong { color: rgba(245,240,232,0.92); font-weight: 500; }

.about-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.about-tag {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 100px;
  border: 1px solid rgba(245,240,232,0.14);
  color: rgba(245,240,232,0.58);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: none;
}
.about-tag:hover { background: var(--terracota); color: var(--bg); border-color: var(--terracota); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .card-deck { height: 560px; }
  .project-card { width: 300px; }
  .deck-hint { margin-top: 580px; }
}
@media (max-width: 768px) {
  .hero { padding:100px 20px 60px; }
  .work-section { padding:80px 20px; }
  .card-deck { height: auto; display: flex; flex-direction: column; gap: 20px; max-width: 100%; }
  .project-card { position: static; width: 100%; transform: none !important; }
  .project-card:hover { transform: translateY(-8px) !important; }
  .deck-hint { margin-top: 20px; }
  .about-strip { grid-template-columns:1fr; padding:60px 20px; gap:36px; }
}
