/* ISO STUDIO — subpages styling */

/* ======================================================
   ABOUT — morph intro (WE IMAGINE / PRODUCE / DELIVER)
   ====================================================== */
.morph {
  position: relative;
  min-height: 100vh;
  background: #ececea;
  color: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 4vw 80px;
  overflow: hidden;
  isolation: isolate;
}
.morph-dot {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a0a0a;
}
.morph-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 42vh;
  min-height: 320px;
}
.morph-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display, "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif);
  font-weight: 900;
  font-size: clamp(72px, 13vw, 220px);
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
  color: #0a0a0a;
  white-space: nowrap;
  /* base state: hidden + slightly blurred + red halo */
  opacity: 0;
  filter: blur(32px);
  transform: scale(1.05);
  text-shadow:
    0 0 18px rgba(255, 30, 70, 0.95),
    0 0 38px rgba(230, 20, 60, 0.85),
    0 0 80px rgba(220, 15, 55, 0.6),
    0 0 140px rgba(220, 15, 55, 0.35);
  will-change: filter, opacity, transform;
  transition:
    opacity 720ms cubic-bezier(.2,.7,.2,1),
    filter  900ms cubic-bezier(.2,.7,.2,1),
    transform 900ms cubic-bezier(.2,.7,.2,1);
}
.morph-word.is-active {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
  animation: morph-breathe 2.6s ease-in-out 700ms infinite;
}
.morph-word.is-leaving {
  opacity: 0;
  filter: blur(34px);
  transform: scale(0.985);
}
@keyframes morph-breathe {
  0%, 100% {
    filter: blur(0px);
    text-shadow:
      0 0 16px rgba(255, 30, 70, 0.9),
      0 0 38px rgba(230, 20, 60, 0.8),
      0 0 90px rgba(220, 15, 55, 0.55);
  }
  50% {
    filter: blur(0.8px);
    text-shadow:
      0 0 24px rgba(255, 40, 80, 1),
      0 0 60px rgba(235, 25, 65, 0.95),
      0 0 130px rgba(220, 15, 55, 0.7),
      0 0 200px rgba(220, 15, 55, 0.4);
  }
}

.morph-copy {
  margin-top: 8vh;
  text-align: center;
  font-family: var(--display, "Archivo", sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 720px;
  opacity: 0;
  transform: translateY(8px);
  animation: morph-copy-in 900ms ease-out 600ms forwards;
}
.morph-copy p { margin: 0; }
.morph-copy .pitch {
  margin-top: 26px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
@keyframes morph-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

.morph-progress {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.morph-progress span {
  width: 28px;
  height: 2px;
  background: rgba(10,10,10,0.15);
  display: block;
  position: relative;
  overflow: hidden;
}
.morph-progress span.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  transform-origin: left;
  animation: morph-bar 3.4s linear forwards;
}
@keyframes morph-bar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .morph-word, .morph-copy { transition: none; animation: none; }
  .morph-word.is-active { opacity: 1; filter: none; }
}

/* About page */
.page-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 6vw 80px;
  background: var(--bg);
  overflow: hidden;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(100px, 16vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 100%;
}
.page-hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--ink-soft);
}
.page-hero .lede {
  margin-top: 60px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.about-cols {
  background: var(--bg);
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}
.about-cols h2 {
  font-weight: 800;
  font-size: clamp(40px, 4vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}
.about-cols .body p {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.about-cols .body p strong { color: var(--ink); font-weight: 700; }

.stats {
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stat .num {
  font-weight: 800;
  font-size: clamp(72px, 8vw, 140px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: 14px;
  text-transform: uppercase;
  color: #c4c0b8;
}

.values {
  background: var(--bg);
  padding: 120px 6vw;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.value {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.value .v-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.value h4 {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.value p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* Contact page */
.contact-page {
  min-height: 100vh;
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 180px 6vw 100px;
}
.contact-page h1 {
  font-weight: 800;
  font-size: clamp(100px, 16vw, 280px);
  letter-spacing: -0.045em;
  line-height: 0.86;
  text-transform: uppercase;
  margin-bottom: 80px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.field {
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 12px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c4c0b8;
  margin-bottom: 14px;
}
.field input, .field textarea {
  background: transparent;
  border: 0;
  color: #f4f2ec;
  font-family: var(--display);
  font-size: 22px;
  width: 100%;
  outline: none;
  resize: none;
}
.field textarea { min-height: 100px; line-height: 1.4; }
.send-btn {
  display: inline-flex; align-items: center; gap: 18px;
  background: transparent;
  border: 1px solid #f4f2ec;
  color: #f4f2ec;
  padding: 18px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-top: 20px;
}
.send-btn:hover { background: #f4f2ec; color: #0a0a0a; }
.contact-side h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #c4c0b8;
}
.contact-side .big {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.contact-side a {
  color: #f4f2ec;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
}

/* Work detail */
.detail-hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: #f4f2ec;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 200px 6vw 80px;
  overflow: hidden;
}
.detail-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, #d49060 0%, #6a4828 30%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 30%, #c81030 0%, #4a0a18 35%, transparent 70%),
    linear-gradient(180deg, #1a1010 0%, #0a0606 100%);
  z-index: 0;
}
.detail-hero > * { position: relative; z-index: 2; }
.detail-meta {
  display: flex; gap: 80px;
  margin-bottom: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4c0b8;
}
.detail-hero h1 {
  font-weight: 800;
  font-size: clamp(120px, 18vw, 320px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.detail-tags {
  display: flex; gap: 40px;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.detail-tags span { padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.4); }

.detail-summary {
  background: var(--bg);
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.detail-summary h3 {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.detail-summary p { font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.detail-summary p + p { margin-top: 18px; }

.detail-frame {
  width: 100%;
  height: 80vh;
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
}
.detail-frame .ph-fill { position: absolute; inset: 0; }
.detail-frame.full {
  height: 100vh;
}
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-dark);
}
.detail-row .detail-frame { height: 60vh; }

.detail-credits {
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.detail-credits h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4c0b8;
}
.credit-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 16px;
}
.credit-row .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #c4c0b8;
  text-transform: uppercase;
}

.next-project {
  background: var(--bg-dark);
  color: #f4f2ec;
  padding: 100px 6vw 160px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.next-project .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-bottom: 24px;
  color: #c4c0b8;
}
.next-project a {
  color: #f4f2ec;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(80px, 12vw, 200px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 32px;
}
.next-project a:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .about-cols, .form-grid, .detail-summary, .detail-credits { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; }
}
